Re: [Python-talk] Python meeting - next week! 7:00 PM Thursday 22 September, Manchester

2005-09-17 Thread Fred
On Thursday 15 September 2005 15:39, Python wrote:
 One correction to Bill's announcement:
  Our guest speaker this month will be our own Lloyd Kvam, who knows
  something about Functional Programming.

 It's probably more accurate to same that I am interested in Functional
 Programming.  I wish I *really* knew more about it.

Functional Programming is *mega cool*, which, of course, is not telling you 
much substantively beyond the fact I like it.

During the time I was doing Python development, I made heavy use of the 
lambda function and wish I had the same in other languages I program in.  I 
could accomplish in one or two lines with the lambda function what would 
normally take me 10-20 lines procedurally. 

-Fred
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: [Python-talk] Python meeting - next week! 7:00 PM Thursday 22 September, Manchester

2005-09-17 Thread Bill Sconce
On Sat, 17 Sep 2005 02:41:31 -0400
Fred [EMAIL PROTECTED] wrote:

 I could accomplish in one or two lines with the lambda function
 what would normally take me 10-20 lines procedurally. 

Let's see now, that's clickety..clickety 10 to 1 or so.  10-20
lines are harder to read by about that much too.  (IF someone can
show us that lambda is easy to read as well as to write!)

That would be Fred, right?  HE could show us...   (*)

-Bill

(*) Hoping, of course, that Fred will come to the meeting!
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: [Python-talk] Python meeting - next week! 7:00 PM Thursday 22 September, Manchester

2005-09-17 Thread Michael ODonnell


 (IF someone can show us that lambda is easy to
 read as well as to write!)

 That would be Fred, right?  HE could show us...  (*)


If I were him I'd be afraid to show off my coding skills
because y'all might make fun of me in public, and I've never
really cared for roasted lambda chops.  ;-

 
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: [Python-talk] Python meeting - next week! 7:00 PM Thursday 22 September, Manchester

2005-09-17 Thread puissante

Michael ODonnell wrote:

(IF someone can show us that lambda is easy to
read as well as to write!)

That would be Fred, right?  HE could show us...  (*)


If I were him I'd be afraid to show off my coding skills
because y'all might make fun of me in public, and I've never
really cared for roasted lambda chops.  ;-


ROFL!

Actually, I am not afraid to show my programming skills, as I have done 
so in various programming courses I've taught in the past.


Alas, my Python prowess is *not* current, as I have not written much 
Python since the time series pattern sniffers I wrote during my 
day-trading days that would scour trading data for statistically 
significant recurring patterns. These Python scrips would run all night 
long looking for exploitable trading patterns in all the major 
securities and give me a report in the morning a few hours before the 
market opened.


It was truly a wonderful system, integrated with MySQL, Java, and C++ 
running on a cluster of 5 computers, and would -- on my custom-written 
real-time charts -- alert me when that pattern re-emerged and show it to 
me graphically *on the chart itself*.


Having the patterns that were, say, successful 70% of the time was one 
thing. Being able to execute the trades based on those patterns was 
quite something else. 70% success rate also meant a 30% failure rate, 
and knowing when a trade was failing or succeeding was pretty tough, 
especially when you have 10s of thousands of dollars on the line.


Anyway, enough of my rambling and reveling in the good old days. If I 
get back into Python anytime soon, I'll be more than happy to give a 
talk on it.


Actually I have a new language in mind I'd like to write, something 
highly experimental, that would basically put OOP on steroids. I hope to 
be able to do that soon. Functional Programming would definitely play a 
role, but that role would be minor in lieu of what I hope to accomplish.


Giving away my secrets; gotta stop doing that! :-)

-Fred
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: [Python-talk] Python meeting - next week! 7:00 PM Thursday 22 September, Manchester

2005-09-17 Thread Lloyd Kvam
Fred,

If you want to, feel free to bring some examples to talk about.


On Sat, 2005-09-17 at 13:34 -0400, Bill Sconce wrote:
 On Sat, 17 Sep 2005 02:41:31 -0400
 Fred [EMAIL PROTECTED] wrote:
 
  I could accomplish in one or two lines with the lambda function
  what would normally take me 10-20 lines procedurally. 
 
 Let's see now, that's clickety..clickety 10 to 1 or so.  10-20
 lines are harder to read by about that much too.  (IF someone can
 show us that lambda is easy to read as well as to write!)
 
 That would be Fred, right?  HE could show us...   (*)
 
 -Bill
 
 (*) Hoping, of course, that Fred will come to the meeting!
 ___
 Python-talk mailing list
 [EMAIL PROTECTED]
 http://dlslug.org/mailman/listinfo/python-talk
-- 
Lloyd Kvam
Venix Corp.
1 Court Street, Suite 378
Lebanon, NH 03766-1358

voice:  603-653-8139
fax:320-210-3409

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss


Re: [Python-talk] Python meeting - next week! 7:00 PM Thursday 22 September, Manchester

2005-09-15 Thread Python
One correction to Bill's announcement:

 Our guest speaker this month will be our own Lloyd Kvam, who knows
 something about Functional Programming.

It's probably more accurate to same that I am interested in Functional
Programming.  I wish I *really* knew more about it.

On Thu, 2005-09-15 at 15:22 -0400, Bill Sconce wrote:
 How time flies!  Leaves turning, school started... time for another
 PySIG meeting.

-- 
Lloyd Kvam
Venix Corp

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss