From brianhray at gmail.com Fri May 1 15:55:52 2015 From: brianhray at gmail.com (Brian Ray) Date: Fri, 1 May 2015 08:55:52 -0500 Subject: [Chicago] Join Deloitte's Enterprise Science Team Message-ID: Hey ChiPy: Looking for some super stars to join my team at Deloitte. I am the development lead (and creator) of an offering developed within the Enterprise Science group focused on Text Analytics / Machine Learning / NLP where I lead a development team in that space. We deploy our product in consulting arrangements cross industry: public sector, medical, legal, consumer goods. I am also the organizer of ChiPy for last 12+ years, as you may know. Here is an official job posting: https://careers.deloitte.com/jobs/eng-US/details/j/E15NATCSRCJA002-PE/enterprise-science-analytics-sr-consultant (send resume to me directly) I can elaborate a bit on top of this. We are looking for those heavy on the Data Science side and/or Engineering Side. The Enterprise Science team is doing all sorts of Cognitive work (ref http://dupress.com/articles/what-is-cognitive-technology/). The product you will be working is primarily written in Python. We do create an API/SDK so knowledge of things like Java, R, and matlab can be helpful. We have several openings; however, one task is to deploy on customer sites. For example, we have client would also like you to have (nice to have) experience in: * Django/Python/Postgres * 3+ working with Redhat, Centos, apache based.. * worked with Docker, Puppet, Jenkins * great communication skills * must be able to get gov security clearance: USA, Green Card +3 years You must be able/willing to travel for most positions. We have been within Forbes top 100 best places to work for the last 16 years. Feel free to chat with me about what it is like to work for one of the best international brand names in consulting. Send your resume to: brianhray at gmail.com ChiPy get's compensated ($$$) for your successful hire. Cheers, Brian -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lane at strapr.com Fri May 1 19:14:49 2015 From: lane at strapr.com (Lane Campbell) Date: Fri, 1 May 2015 12:14:49 -0500 Subject: [Chicago] Chicago Django Study Group is now officially SIG of ChiPy Message-ID: Everyone, Brian Ray told me to email the group that Chicago Django Study Group is now a SIG of ChiPy. Hope to see more folks turn out for it. Please RSVP using this link: https://www.eventbrite.com/e/chicago-django-study-group-tickets-16487108385 PLEASE USE MY NAME at the security desk of the building when you show up. Instructions are in the invite. Regards, Lane Campbell (312) 775-2632 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tathagatadg at gmail.com Sat May 2 15:49:22 2015 From: tathagatadg at gmail.com (Tathagata Dasgupta) Date: Sat, 2 May 2015 08:49:22 -0500 Subject: [Chicago] ChiPy Mentorship Midterm Coding Dojo Message-ID: Hello awesome friends of ChiPy, Just wanted to share some news about our Mentorship program. We had our Midterm last Thursday at Sprout Social! Does the word Midterm remind you of scary exams at school? This was anything but that ... Read more about it here ! Thanks a ton to Sprout, Molly & Lorena for taking care of everything and stuffing us with pizza and motivational beverages! We will have some more exciting updates coming soon! Till the, its beautiful weekend - have fun :) -- Cheers, T Sent from my iPhone -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Tue May 5 01:39:20 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Mon, 4 May 2015 18:39:20 -0500 Subject: [Chicago] A list comprehension??? Message-ID: Hi there, I'm reading this book, "Data Structures & Algorithms in Python" by Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does into detail about the Python language with various examples. Anyhow, one of the exercises is as follows: Demonstrate how to use Python's list comprehension syntax to produce the list: [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. I'm struggling with this! The best I can do is the following: A = [0] i = 2 while i <= 18: A.append(A[-1] + i) i+= 2 print(A) Well it does work! BUT it's not a list comprehension! Any suggestions? Thanks, Douglas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Tue May 5 01:58:42 2015 From: kirby.urner at gmail.com (kirby urner) Date: Mon, 4 May 2015 16:58:42 -0700 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: On Mon, May 4, 2015 at 4:39 PM, Lewit, Douglas wrote: > Hi there, > > I'm reading this book, "Data Structures & Algorithms in Python" by > Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does > into detail about the Python language with various examples. > > Anyhow, one of the exercises is as follows: > > Demonstrate how to use Python's list comprehension syntax to produce the > list: > [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. > > I'm struggling with this! > > The best I can do is the following: > > A = [0] > i = 2 > while i <= 18: > A.append(A[-1] + i) > i+= 2 > > print(A) > > Well it does work! BUT it's not a list comprehension! > > Any suggestions? > > Thanks, > > Douglas. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Tue May 5 01:58:28 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Mon, 4 May 2015 18:58:28 -0500 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: There is a different algorithm, one that doesn't refer to the previous item in the list, that produces those numbers. Think about what kind of algebraic function generally produces a series of numbers that get farther and farther apart. On Mon, May 4, 2015 at 6:39 PM, Lewit, Douglas wrote: > Hi there, > > I'm reading this book, "Data Structures & Algorithms in Python" by > Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does > into detail about the Python language with various examples. > > Anyhow, one of the exercises is as follows: > > Demonstrate how to use Python's list comprehension syntax to produce the > list: > [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. > > I'm struggling with this! > > The best I can do is the following: > > A = [0] > i = 2 > while i <= 18: > A.append(A[-1] + i) > i+= 2 > > print(A) > > Well it does work! BUT it's not a list comprehension! > > Any suggestions? > > Thanks, > > Douglas. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Tue May 5 01:59:47 2015 From: kirby.urner at gmail.com (kirby urner) Date: Mon, 4 May 2015 16:59:47 -0700 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: Sorry: [(4*n**2 + 4*n)//4 for n in range(10)] Source: On Mon, May 4, 2015 at 4:39 PM, Lewit, Douglas wrote: > Hi there, > > I'm reading this book, "Data Structures & Algorithms in Python" by > Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does > into detail about the Python language with various examples. > > Anyhow, one of the exercises is as follows: > > Demonstrate how to use Python's list comprehension syntax to produce the > list: > [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. > > I'm struggling with this! > > The best I can do is the following: > > A = [0] > i = 2 > while i <= 18: > A.append(A[-1] + i) > i+= 2 > > print(A) > > Well it does work! BUT it's not a list comprehension! > > Any suggestions? > > Thanks, > > Douglas. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Tue May 5 02:05:39 2015 From: kirby.urner at gmail.com (kirby urner) Date: Mon, 4 May 2015 17:05:39 -0700 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: On Mon, May 4, 2015 at 4:59 PM, kirby urner wrote: > Sorry: > > [(4*n**2 + 4*n)//4 for n in range(10)] > > > Source: > > > https://oeis.org/A002378 4*a(n)+1 are the odd squares A016754 (n). https://oeis.org/A016754 a(n) = 4*n*(n + 1) + 1 = 4*n^2 + 4*n + 1. - Artur Jasinski , Mar 27 2008 So I took: a(n) = 4*n*(n + 1) + 1 and went (a(n) -1 )// 4 PER A002378. Kirby -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Tue May 5 02:08:04 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Mon, 4 May 2015 19:08:04 -0500 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: I've been playing with this, and I think I've got it!!! Here's what I have: [sum([2*k for k in range(i)]) for i in range(1, 11)] I started with sum(2*k for k in range(10)) and noticed that gave me 90, and then when you substitute range(9) then you get 72, etc. So.... I think I got it! Am I a Python genius or what?! ;-) I'm guessing that list comprehensions, set comprehensions, generator comprehensions, etc, etc are used a lot in functional programming. I have this ebook on functional programming in Python. Some of it is really cool, and some of it is almost like rocket science to me.... but I'm learning. On Mon, May 4, 2015 at 6:58 PM, Adam Forsyth wrote: > There is a different algorithm, one that doesn't refer to the previous > item in the list, that produces those numbers. Think about what kind of > algebraic function generally produces a series of numbers that get farther > and farther apart. > > On Mon, May 4, 2015 at 6:39 PM, Lewit, Douglas wrote: > >> Hi there, >> >> I'm reading this book, "Data Structures & Algorithms in Python" by >> Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does >> into detail about the Python language with various examples. >> >> Anyhow, one of the exercises is as follows: >> >> Demonstrate how to use Python's list comprehension syntax to produce the >> list: >> [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. >> >> I'm struggling with this! >> >> The best I can do is the following: >> >> A = [0] >> i = 2 >> while i <= 18: >> A.append(A[-1] + i) >> i+= 2 >> >> print(A) >> >> Well it does work! BUT it's not a list comprehension! >> >> Any suggestions? >> >> Thanks, >> >> Douglas. >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcalahor at yahoo.com Sun May 3 17:22:09 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Sun, 3 May 2015 15:22:09 +0000 (UTC) Subject: [Chicago] Video sponsorship Message-ID: <655516036.536940.1430666529075.JavaMail.yahoo@mail.yahoo.com> Dear members we are looking for one or more company (s) that wants to be a video sponsor for next ChiPy Meeting. ?Sponsors get their logo on the title slide of the videos. All ChiPy videos are linked from PyVideo.org Topics for the next meeting include:?-?Conway's Game of Life: Programming in a non-language? - ?Swift? - ?As former C# developer the lessons I learned to become pythonic?? - ?Go: Concurrency is Built In? - ?Erlang? - ?Is True true? : A mini-venture into Python & Ruby truth testing For sponsorship details please contact me directly. Thanks,Jimmy Calahorrano -------------- next part -------------- An HTML attachment was scrubbed... URL: From sunhwanj at gmail.com Tue May 5 01:55:05 2015 From: sunhwanj at gmail.com (Sunhwan Jo) Date: Mon, 4 May 2015 18:55:05 -0500 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: <7B22B2BD-CEE9-4383-9672-208976E35CCF@gmail.com> I am newly subscribed to a mail list, so I?m not sure if posting question/answer to the list is encouraged. Let me know if not. But this would work.. > [(i-1)*i for i in range(1, 11)] > On May 4, 2015, at 6:39 PM, Lewit, Douglas wrote: > > Hi there, > > I'm reading this book, "Data Structures & Algorithms in Python" by Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does into detail about the Python language with various examples. > > Anyhow, one of the exercises is as follows: > > Demonstrate how to use Python's list comprehension syntax to produce the list: > [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. > > I'm struggling with this! > > The best I can do is the following: > > A = [0] > i = 2 > while i <= 18: > A.append(A[-1] + i) > i+= 2 > > print(A) > > Well it does work! BUT it's not a list comprehension! > > Any suggestions? > > Thanks, > > Douglas. > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From julianeden2 at gmail.com Tue May 5 01:57:28 2015 From: julianeden2 at gmail.com (Julian Eden) Date: Mon, 4 May 2015 18:57:28 -0500 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: That's a slightly challenging first list comprehension problem. List comprehensions are just a shorter syntax for creating lists. Here are some examples. The last one is the solution to your problem. Keep in mind that 'x' is an arbitrary variable name, you could use anything. x is just a variable used within the list comprehension. [ x for x in range(5) ] -> [0, 1, 2, 3, 4] [ x for x in 'cat' ] -> [ 'c', 'a', 't' ] [ 2 * x for x in range(3) ] -> [0, 2, 4] [ x * x for x in range(4) ] -> [0, 1, 4, 9] [ 'ladybug' for x in [4, 1, 5] ] -> ['ladybug', 'ladybug', 'ladybug'] # 3 times... [ 5 for x in range(6) ] -> [5, 5, 5, 5, 5, 5] [ x * (x + 1) for x in range(10) ] -> the one you asked about On Mon, May 4, 2015 at 6:39 PM, Lewit, Douglas wrote: > Hi there, > > I'm reading this book, "Data Structures & Algorithms in Python" by > Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does > into detail about the Python language with various examples. > > Anyhow, one of the exercises is as follows: > > Demonstrate how to use Python's list comprehension syntax to produce the > list: > [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. > > I'm struggling with this! > > The best I can do is the following: > > A = [0] > i = 2 > while i <= 18: > A.append(A[-1] + i) > i+= 2 > > print(A) > > Well it does work! BUT it's not a list comprehension! > > Any suggestions? > > Thanks, > > Douglas. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julianeden2 at gmail.com Tue May 5 02:02:19 2015 From: julianeden2 at gmail.com (Julian Eden) Date: Mon, 4 May 2015 19:02:19 -0500 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: Oh, maybe I misunderstood; I thought you were saying you didn't know list comprehension syntax. My mistake. Well there you have it anyway. On Mon, May 4, 2015 at 6:59 PM, kirby urner wrote: > Sorry: > > [(4*n**2 + 4*n)//4 for n in range(10)] > > > Source: > > > > > > On Mon, May 4, 2015 at 4:39 PM, Lewit, Douglas wrote: > >> Hi there, >> >> I'm reading this book, "Data Structures & Algorithms in Python" by >> Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does >> into detail about the Python language with various examples. >> >> Anyhow, one of the exercises is as follows: >> >> Demonstrate how to use Python's list comprehension syntax to produce the >> list: >> [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. >> >> I'm struggling with this! >> >> The best I can do is the following: >> >> A = [0] >> i = 2 >> while i <= 18: >> A.append(A[-1] + i) >> i+= 2 >> >> print(A) >> >> Well it does work! BUT it's not a list comprehension! >> >> Any suggestions? >> >> Thanks, >> >> Douglas. >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vpabani at hawk.iit.edu Tue May 5 02:02:17 2015 From: vpabani at hawk.iit.edu (Vivek Pabani) Date: Mon, 4 May 2015 19:02:17 -0500 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: This worked for me : [sum(xrange(0, 2*i, 2)) for i in xrange(1, 11)] On May 4, 2015 7:00 PM, "kirby urner" wrote: > Sorry: > > [(4*n**2 + 4*n)//4 for n in range(10)] > > > Source: > > > > > > On Mon, May 4, 2015 at 4:39 PM, Lewit, Douglas wrote: > >> Hi there, >> >> I'm reading this book, "Data Structures & Algorithms in Python" by >> Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does >> into detail about the Python language with various examples. >> >> Anyhow, one of the exercises is as follows: >> >> Demonstrate how to use Python's list comprehension syntax to produce the >> list: >> [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. >> >> I'm struggling with this! >> >> The best I can do is the following: >> >> A = [0] >> i = 2 >> while i <= 18: >> A.append(A[-1] + i) >> i+= 2 >> >> print(A) >> >> Well it does work! BUT it's not a list comprehension! >> >> Any suggestions? >> >> Thanks, >> >> Douglas. >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Tue May 5 02:23:37 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Mon, 4 May 2015 19:23:37 -0500 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: Your algorithm is equivalent to [i**2 - i for i in range(1, 11)] because the sum from 1 to n is equal n(n + 1) / 2 That is equivalent to [i**2 + i for i in range(10)] because (n + 1)**2 - (n + 1) is equal to n**2 + n. That's the simplest expression. If you simply cancel the 4s out of what Kirby posted, you get the same thing. On Mon, May 4, 2015 at 7:08 PM, Lewit, Douglas wrote: > I've been playing with this, and I think I've got it!!! > > Here's what I have: > > [sum([2*k for k in range(i)]) for i in range(1, 11)] > > I started with sum(2*k for k in range(10)) and noticed that gave me 90, > and then when you substitute range(9) then you get 72, etc. So.... I think > I got it! Am I a Python genius or what?! ;-) > > I'm guessing that list comprehensions, set comprehensions, generator > comprehensions, etc, etc are used a lot in functional programming. I have > this ebook on functional programming in Python. Some of it is really cool, > and some of it is almost like rocket science to me.... but I'm learning. > > On Mon, May 4, 2015 at 6:58 PM, Adam Forsyth wrote: > >> There is a different algorithm, one that doesn't refer to the previous >> item in the list, that produces those numbers. Think about what kind of >> algebraic function generally produces a series of numbers that get farther >> and farther apart. >> >> On Mon, May 4, 2015 at 6:39 PM, Lewit, Douglas wrote: >> >>> Hi there, >>> >>> I'm reading this book, "Data Structures & Algorithms in Python" by >>> Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does >>> into detail about the Python language with various examples. >>> >>> Anyhow, one of the exercises is as follows: >>> >>> Demonstrate how to use Python's list comprehension syntax to produce the >>> list: >>> [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. >>> >>> I'm struggling with this! >>> >>> The best I can do is the following: >>> >>> A = [0] >>> i = 2 >>> while i <= 18: >>> A.append(A[-1] + i) >>> i+= 2 >>> >>> print(A) >>> >>> Well it does work! BUT it's not a list comprehension! >>> >>> Any suggestions? >>> >>> Thanks, >>> >>> Douglas. >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Tue May 5 02:28:32 2015 From: kirby.urner at gmail.com (kirby urner) Date: Mon, 4 May 2015 17:28:32 -0700 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: Lets remember also about dict and set comprehensions. List comprehensions get all the press. On Mon, May 4, 2015 at 5:02 PM, Vivek Pabani wrote: > This worked for me : > > [sum(xrange(0, 2*i, 2)) for i in xrange(1, 11)] > > These are indeed giving the same lists: print([(4*n**2 + 4*n)//4 for n in range(50)]) print([sum(range(0, 2*i, 2)) for i in range(1, 50)]) [0, 2, 6, 12, 20, 30, 42, 56, 72, 90, 110, 132, 156, 182, 210, ...] [0, 2, 6, 12, 20, 30, 42, 56, 72, 90, 110, 132, 156, 182, 210, ...] Kirby -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Tue May 5 02:31:07 2015 From: kirby.urner at gmail.com (kirby urner) Date: Mon, 4 May 2015 17:31:07 -0700 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: On Mon, May 4, 2015 at 5:23 PM, Adam Forsyth wrote: > Your algorithm is equivalent to > > [i**2 - i for i in range(1, 11)] > Yep: (1) print([(4*n**2 + 4*n)//4 for n in range(50)]) (2) print([sum(range(0, 2*i, 2)) for i in range(1, 50)]) (3) print([i**2 - i for i in range(1, 50)]) > -------------- next part -------------- An HTML attachment was scrubbed... URL: From proba at allstate.com Wed May 6 00:54:20 2015 From: proba at allstate.com (Robare, Phillip (Randstant)) Date: Tue, 5 May 2015 22:54:20 +0000 Subject: [Chicago] A list comprehension??? In-Reply-To: References: Message-ID: <50869A74BA4F07468AD797C9BFF1FE3E0431D2D0@A0185-XPO1026-C.ad.allstate.com> I missed this thread yesterday, but here is my 2 cents on how you might go about solving the problem the author of your text gave. The problem does not state what the generator of the sequence is, which seems a bit unfair from a programming text. So the first problem is to find a mathematical expression that given an input (of a position) will output the value. A common form of many problems of this type is that the differences follow some pattern. So create a table of differences. 0 2 2 2 4 6 2 6 12 2 8 20 2 10 30 2 12 42 2 14 56 2 16 72 2 18 90 So we have a constant difference for the second difference. This can be expressed as the differential equation y?? = 2 If you want to exercise your calculus knowledge you can integrate this, or you can go to http://www.wolframalpha.com/ and input exactly that line. Either way you get the equation y = x^2 + C1*x + C2 Since the list in the exercise has y(0) = 0 then C2 is 0. y(1) in the list is 2 so we substitute into the equation and solve for C1 2 = 1^2 + C1 * 1 + 0 2 = 1 + C1 So C1 is 1 and our equation is y = x^2 + x or equivalently y = x * (x + 1) Now I bet if the book had asked you to create a list using list comprehensions for the first 10 natural numbers for this equation you would have not had any trouble. So the problem is not learning how to program, the program is how to parse the problem so that you understand that first you have to come up with an equation to stick in the proper place in the list comprehension. Even in elementary school I remember feeling that the math problems were not problems in math, but problems in determining what the author was thinking when they wrote the question. In real work the source of the sequence that I am manipulating is always known or there is someone who I can ask about it. I have never gotten a real world problem where the inputs and outputs were specified without any idea of the processing needed. So although this question created a nice discussion thread: I say, as a programming exercise, the statement of the problem is flawed. Phil Robare TEK Systems / Allstate QR&A 847-667-0431 D2D 82-O From: Chicago [mailto:chicago-bounces+proba=allstate.com at python.org] On Behalf Of Lewit, Douglas Sent: Monday, May 04, 2015 6:39 PM To: The Chicago Python Users Group Subject: [Chicago] A list comprehension??? Hi there, I'm reading this book, "Data Structures & Algorithms in Python" by Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does into detail about the Python language with various examples. Anyhow, one of the exercises is as follows: Demonstrate how to use Python's list comprehension syntax to produce the list: [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. I'm struggling with this! The best I can do is the following: A = [0] i = 2 while i <= 18: A.append(A[-1] + i) i+= 2 print(A) Well it does work! BUT it's not a list comprehension! Any suggestions? Thanks, Douglas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Wed May 6 06:32:22 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 5 May 2015 23:32:22 -0500 Subject: [Chicago] A list comprehension??? In-Reply-To: <50869A74BA4F07468AD797C9BFF1FE3E0431D2D0@A0185-XPO1026-C.ad.allstate.com> References: <50869A74BA4F07468AD797C9BFF1FE3E0431D2D0@A0185-XPO1026-C.ad.allstate.com> Message-ID: Hi Phillip, Thanks for the reply. It was a tricky problem for sure, and I agree with you. Often when you read a computer science textbook, mathematics textbook, physics textbook, etc, etc, you really have to be a little psychic and try to figure out what the author was really thinking. And of course authors will make many assumptions about what their readers already know, and sometimes those assumptions are not realistic. I love your approach! It's a really nice combination of math and computer programming. As long as you have two initial conditions, the differential equation y'' = 2 is extremely easy to solve. On a slightly different topic, I visited the Adler Planetarium on Saturday. Wow! A lot of fun. I chatted with this young lady who's currently working on her PhD. in Physics at UIC. She was the narrator for one of the sky shows. I asked her what software or programming language is currently very popular among physicists for simulations, problem solving, etc. Not surprisingly, she replied PYTHON! But Python is not alone in that grab bag. Physicists are also very fond of Fortran. She told me that most of the computer work in her department was done in Fortran, Python, Mathematica and Matlab, with Python picking up at least 50% of that. Interesting for sure. Thanks for the feedback. On Tue, May 5, 2015 at 5:54 PM, Robare, Phillip (Randstant) < proba at allstate.com> wrote: > I missed this thread yesterday, but here is my 2 cents on how you might > go about solving the problem the author of your text gave. > > > > The problem does not state what the generator of the sequence is, which > seems a bit unfair from a programming text. So the first problem is to find > a mathematical expression that given an input (of a position) will output > the value. > > > > A common form of many problems of this type is that the differences follow > some pattern. So create a table of differences. > > > > 0 > > 2 > > 2 2 > > 4 > > 6 2 > > 6 > > 12 2 > > 8 > > 20 2 > > 10 > > 30 2 > > 12 > > 42 2 > > 14 > > 56 2 > > 16 > > 72 2 > > 18 > > 90 > > > > So we have a constant difference for the second difference. This can be > expressed as the differential equation > > > > y?? = 2 > > > > If you want to exercise your calculus knowledge you can integrate this, or > you can go to http://www.wolframalpha.com/ and input exactly that line. > > > > Either way you get the equation > > > > y = x^2 + C1*x + C2 > > > > Since the list in the exercise has y(0) = 0 then C2 is 0. > > y(1) in the list is 2 so we substitute into the equation and solve for C1 > > > > 2 = 1^2 + C1 * 1 + 0 > > 2 = 1 + C1 > > > > So C1 is 1 and our equation is > > y = x^2 + x > > > > or equivalently > > y = x * (x + 1) > > > > Now I bet if the book had asked you to create a list using list > comprehensions for the first 10 natural numbers for this equation you > would have not had any trouble. So the problem is not learning how to > program, the program is how to parse the problem so that you understand > that first you have to come up with an equation to stick in the proper > place in the list comprehension. > > > > Even in elementary school I remember feeling that the math problems were > not problems in math, but problems in determining what the author was > thinking when they wrote the question. In real work the source of the > sequence that I am manipulating is always known or there is someone who I > can ask about it. I have never gotten a real world problem where the > inputs and outputs were specified without any idea of the processing needed. > > > > So although this question created a nice discussion thread: I say, as a > programming exercise, the statement of the problem is flawed. > > > > > > > > Phil Robare > > TEK Systems / Allstate QR&A > > 847-667-0431 > > D2D 82-O > > > > *From:* Chicago [mailto:chicago-bounces+proba=allstate.com at python.org] *On > Behalf Of *Lewit, Douglas > *Sent:* Monday, May 04, 2015 6:39 PM > *To:* The Chicago Python Users Group > *Subject:* [Chicago] A list comprehension??? > > > > Hi there, > > > > I'm reading this book, "Data Structures & Algorithms in Python" by > Goodrich, Tamassia, and Goldwasser. A pretty good book, it really does > into detail about the Python language with various examples. > > > > Anyhow, one of the exercises is as follows: > > > > Demonstrate how to use Python's list comprehension syntax to produce the > list: > > [0, 2, 6, 12, 20, 30, 42, 56, 72, 90]. > > > > I'm struggling with this! > > > > The best I can do is the following: > > > > A = [0] > > i = 2 > > while i <= 18: > > A.append(A[-1] + i) > > i+= 2 > > > > print(A) > > > > Well it does work! BUT it's not a list comprehension! > > > > Any suggestions? > > > > Thanks, > > > > Douglas. > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe.jasinski at gmail.com Fri May 8 05:30:47 2015 From: joe.jasinski at gmail.com (Joe Jasinski) Date: Thu, 7 May 2015 22:30:47 -0500 Subject: [Chicago] ChiPy May Meeting: Ultimate Language Shootout In-Reply-To: References: Message-ID: Hey All, The Ultimate Language Shootout is fast approaching. So far we have the following languages represented: C# Conway's Game of Life Erlang Go QML R Ruby Swift We are still looking for talk submissions, but would like to finalize them soon. We are all eager to learn about your favorite languages. So if you'd like to present, please refer to the email below and signup on the chipy.org website. Remember, presentations are 5 minutes long and presenters will have the chance to win prize money! All are welcome to attend. See you there! On Sun, Apr 19, 2015 at 7:26 PM, Joe Jasinski wrote: > ChiPy May Meeting: Ultimate Language Shootout > [image: Chipy Meeting: Ultimate Language Shootout] > Pick any programming language. Present and introduce the language at the > May 14th ChiPy meeting. Do at least one comparison to Python. Talks should > be approximately 5 minutes. Audience members will vote on their favorite > presentation and the winner takes home $100s cash, thanks to Chicago Python > User Group (http://chipy.org). > *Submit your talk proposal here:* > http://www.chipy.org/meetings/topics/propose > Put the language name in title and description. > *Want to Watch? * > Just RSVP on ChiPy's website: http://www.chipy.org > or via our Meetup group: http://www.meetup.com/_ChiPy_/events/221954090/ > It is FREE to watch. Food and drink will be provided. > *Event Summary: * > ChiPy's Ultimate Language Shootout > *When:* Thursday May 14th at 7pm > *Where: * > The Franklin Center (Compliments of Computer Futures) > 2nd floor (follow signs) > 227 West Monroe Street > Chicago IL 60606 > If you'd like to help sponsor this Meetup, please contact us at > http://www.chipy.org/contact/ or reach out to any of the organizers. > *About ChiPy:* > Visit our website at: http://www.chipy.org/ > ChiPy is Chicago's official Python Programming Language user group and is > responsible for holding well-attended monthly meetings, for running a very > successful Python mentorship program, and for driving numerous other > Python-related events. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Fri May 8 23:02:17 2015 From: brianhray at gmail.com (Brian Ray) Date: Fri, 8 May 2015 16:02:17 -0500 Subject: [Chicago] Entries so far for ULS next week Message-ID: RSVP here or here Add your talk here : - *R and Python for regression* (0:05:00 Minutes) By: Jerry Dumblauskas Let's compare our favorite language to an 'upstart' highly focused statistical language. - *QML vs. Python* (0:05:00 Minutes) By: Patrick K. O'Brien If you think Python is Pythonic, wait until you see QML from the point of view of an experienced Python developer. QML is the Qt Meta Language or Qt Modeling Language. http://en.wikipedia.org/wiki/QML - *Conway's Game of Life: Programming in a non-language* (0:05:00 Minutes) By: The Game of Life is Turing Complete. That means it can (theoretically) calculate anything that any computer can calculate. What does this mean in practice and how can you program a calculation when the total syntax is just flipping cells in a 2D bit field? - *Swift* By: Feihong Hsu - *as former C# developer the lessons I learned to become pythonic * By: JC LatinoTV language comparison in 5 minutes - *Go: Concurrency is Built In* (0:05:00 Minutes) By: Chris Foresman Discussing the pros and cons of Golang from a Python user's perspective, particularly focusing on its built-in support for concurrency and the advantages over asyncio. - *Erlang* By: Garrett Smith ULS Erlang entry - *Postscript. Yes, it's a programming language* (0:05:00 Minutes) By: Ken Schutte I'll describe Postscript - a interpreted, stack-based "page description language" used to produce vector graphics and documents. - *Is True true? : A mini-venture into Python & Ruby truth testing* (0:05:00 Minutes) By: Lorena Nicole Review of truth testing in Python and Ruby. If "Explicit is better than Implicit" then why does Python decide that values like empty sequences are "falsey"? How is it that Ruby only defines false and nil as false values, isn't this more explicit? Highlight how languages embed their own philosophies of what is correct and true with surprising overlaps and at times odd contradictions. -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at lorenamesa.com Mon May 11 17:30:06 2015 From: me at lorenamesa.com (Lorena Mesa) Date: Mon, 11 May 2015 10:30:06 -0500 Subject: [Chicago] We would love your help - be a DjangoGirls Mentor! Message-ID: Dearest ChiPy community, Chicago PyLadies is bringing DjangoGirls, an introductory workshop to Django, to Chicago on June 20th and we are still looking for more mentors for the workshop. Mentors act in a teaching assistant capacity for a group of three to five women for the daylong workshop on June 20th. There is an optional Installfest on June 19th as well that we're seeking help with too. To be a mentor please fill out the interest form - http://goo.gl/forms/bVj7SBNH0a. For an overview of the schedule please reference: djangogirls.org/chicago. Food is provided on June 20th (breakfast, lunch). Thanks! Lorena :D -- ___________________________________________________________________________________ Lorena Mesa *www.lorenamesa.com * "If you wish to make apple pie from scratch, you must first invent the universe," - Carl Sagan Please stop before printing this email unnecessarily, *think green*!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Mon May 11 23:00:26 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Mon, 11 May 2015 16:00:26 -0500 Subject: [Chicago] Video sponsorship In-Reply-To: <655516036.536940.1430666529075.JavaMail.yahoo@mail.yahoo.com> References: <655516036.536940.1430666529075.JavaMail.yahoo@mail.yahoo.com> Message-ID: Braintree (my employer) is a video sponsor as well as a general ChiPy sponsor. I encourage everyone to consider doing one or both. It's a great way to get your brand out there for recruiting & general awareness. Feel free to get in touch with me if you have any questions about sponsorship, it's my area of focus for the ChiPy board. Adam Forsyth ChiPy Organizer On Sun, May 3, 2015 at 10:22 AM, Jimmy Calahorrano via Chicago < chicago at python.org> wrote: > Dear members we are looking for one or more company (s) that wants to be a > video sponsor for next ChiPy Meeting. Sponsors get their logo on the title > slide of the videos. All ChiPy videos are linked from PyVideo.org > > Topics for the next meeting include: > - *Conway's Game of Life: Programming in a non-language* > * - **Swift* > * - A**s former C# developer the lessons I learned to become pythonic * > * - **Go: Concurrency is Built In* > * - Erlang* > > * - Is True true? : A mini-venture into Python & Ruby truth testing* > > For sponsorship details please contact me directly. > > Thanks, > Jimmy Calahorrano > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Tue May 12 23:30:57 2015 From: brianhray at gmail.com (Brian Ray) Date: Tue, 12 May 2015 16:30:57 -0500 Subject: [Chicago] Fwd: Ned Batchelder on organizing Boston Python In-Reply-To: References: <312b4055-5348-419d-81ab-baee659a1fb6@googlegroups.com> Message-ID: ChiPy mentorship mention at 22:30: http://podcastinit.com/episode-5-ned-batchelder.html ---------- Forwarded message ---------- From: Don Sheu Date: Tue, May 12, 2015 at 12:37 PM Subject: Fwd: Ned Batchelder on organizing Boston Python To: Brian Ray Ned mentions ChiPy in this podcast. ---------- Forwarded message ---------- From: Dusty Phillips Date: Tue, May 12, 2015 at 10:18 AM Subject: Ned Batchelder on organizing Boston Python To: puppy-organizers at googlegroups.com I think every PuPPy organizer needs to listen to this: http://podcastinit.com/episode-5-ned-batchelder.html Dusty -- You received this message because you are subscribed to the Google Groups "puppy Organizers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppy-organizers+unsubscribe at googlegroups.com. To post to this group, send email to puppy-organizers at googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppy-organizers/312b4055-5348-419d-81ab-baee659a1fb6%40googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- Don Sheu ??? (312) 880-9389 Join my Python user group, we meet every 2nd Wednesday http://www.meetup.com/PSPPython/ *CONFIDENTIALITY NOTICE*: *The information contained in this message may be protected trade secrets or protected by applicable intellectual property laws of the United States and International agreements. If you believe that it has been sent to you in error, do not read it. Please immediately reply to the sender that you have received the message in error. Then delete it. Thank you.* ? -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Tue May 12 23:47:21 2015 From: brianhray at gmail.com (Brian Ray) Date: Tue, 12 May 2015 16:47:21 -0500 Subject: [Chicago] [ANN] ULS Most amazing battle of the century, RSVP now Message-ID: Forget Mayfield vs Pacquiao, it was fixed. This will be the Ultimate Battle of the century. RSVP NOW before it gets *Sold Out* on Meetup.com or Chipy.org. Thank you Computer Futures, Braintree, Github, and Imaginary Landscape. Cash prices $200+ for first place... Pizza, Beer... fun. Invite everyone. Current entries (add yours here ): - *R and Python for regression* (0:05:00 Minutes) By: Jerry Dumblauskas Let's compare our favorite language to an 'upstart' highly focused statistical language. - *QML vs. Python* (0:05:00 Minutes) By: Patrick K. O'Brien If you think Python is Pythonic, wait until you see QML from the point of view of an experienced Python developer. QML is the Qt Meta Language or Qt Modeling Language. http://en.wikipedia.org/wiki/QML - *Conway's Game of Life: Programming in a non-language* (0:05:00 Minutes) By: The Game of Life is Turing Complete. That means it can (theoretically) calculate anything that any computer can calculate. What does this mean in practice and how can you program a calculation when the total syntax is just flipping cells in a 2D bit field? - *Swift* By: Feihong Hsu - *as former C# developer the lessons I learned to become pythonic * By: JC LatinoTV language comparison in 5 minutes - *Go: Concurrency is Built In* (0:05:00 Minutes) By: Chris Foresman Discussing the pros and cons of Golang from a Python user's perspective, particularly focusing on its built-in support for concurrency and the advantages over asyncio. - *Erlang* By: Garrett Smith ULS Erlang entry - *Postscript. Yes, it's a programming language* (0:05:00 Minutes) By: Ken Schutte I'll describe Postscript - a interpreted, stack-based "page description language" used to produce vector graphics and documents. - *Is True true? : A mini-venture into Python & Ruby truth testing* (0:05:00 Minutes) By: Lorena Nicole Review of truth testing in Python and Ruby. If "Explicit is better than Implicit" then why does Python decide that values like empty sequences are "falsey"? How is it that Ruby only defines false and nil as false values, isn't this more explicit? Highlight how languages embed their own philosophies of what is correct and true with surprising overlaps and at times odd contradictions. Location: The Franklin Center 227 West Monroe Street 2nd floor, Chicago, IL (map ) RSVP NOW before it gets *Sold Out* on Meetup.com or Chipy.org. Share this. -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From robkapteyn at gmail.com Thu May 14 23:33:05 2015 From: robkapteyn at gmail.com (Rob Kapteyn) Date: Thu, 14 May 2015 16:33:05 -0500 Subject: [Chicago] SpotHero down !? parking suggestions ? Message-ID: OMG. One of our favorite ChiPy affiliated websites -- spothero.com -- Has gone DOWN !? It must be the load created by our incredibly popular ChiPy meeting tonight ;) Somehow, before spothero, I could find good parking in the loop on my own, but I am having difficultly remembering how to do that. Any suggestions ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From lane at strapr.com Thu May 14 23:44:19 2015 From: lane at strapr.com (Lane Campbell) Date: Thu, 14 May 2015 16:44:19 -0500 Subject: [Chicago] SpotHero down !? parking suggestions ? In-Reply-To: References: Message-ID: Not exactly a replacement for SpotHero but Chicago's own ParkNav is able ot help you find street parking. http://www.parknav.com/ Regards, Lane Campbell (312) 775-2632 On Thu, May 14, 2015 at 4:33 PM, Rob Kapteyn wrote: > OMG. One of our favorite ChiPy affiliated websites -- > spothero.com -- > Has gone DOWN !? > > It must be the load created by our incredibly popular ChiPy meeting > tonight ;) > > Somehow, before spothero, I could find good parking in the loop on my own, > but I am having difficultly remembering how to do that. > > Any suggestions ? > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From emperorcezar at gmail.com Fri May 15 00:41:45 2015 From: emperorcezar at gmail.com (Adam "Cezar" Jenkins) Date: Thu, 14 May 2015 17:41:45 -0500 Subject: [Chicago] SpotHero down !? parking suggestions ? In-Reply-To: References: Message-ID: NO. SpotHero forever. Sorry, I broke it with an attempted Django upgrade :) It's back up and running fine now. Commence buying parking. ---------------------------------------------------------------------------------- Father, dabbling at being a Python developer specializing in Django, Cyclist, and home brewer. On Thu, May 14, 2015 at 4:44 PM, Lane Campbell wrote: > Not exactly a replacement for SpotHero but Chicago's own ParkNav is able > ot help you find street parking. > > http://www.parknav.com/ > > > Regards, > Lane Campbell > (312) 775-2632 > > On Thu, May 14, 2015 at 4:33 PM, Rob Kapteyn wrote: > >> OMG. One of our favorite ChiPy affiliated websites -- >> spothero.com -- >> Has gone DOWN !? >> >> It must be the load created by our incredibly popular ChiPy meeting >> tonight ;) >> >> Somehow, before spothero, I could find good parking in the loop on my own, >> but I am having difficultly remembering how to do that. >> >> Any suggestions ? >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Fri May 15 03:09:50 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Thu, 14 May 2015 20:09:50 -0500 Subject: [Chicago] SpotHero down !? parking suggestions ? In-Reply-To: References: Message-ID: 55 - 69 - 59 On Thu, May 14, 2015 at 4:33 PM, Rob Kapteyn wrote: > OMG. One of our favorite ChiPy affiliated websites -- > spothero.com -- > Has gone DOWN !? > > It must be the load created by our incredibly popular ChiPy meeting > tonight ;) > > Somehow, before spothero, I could find good parking in the loop on my own, > but I am having difficultly remembering how to do that. > > Any suggestions ? > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Fri May 15 00:53:54 2015 From: wirth.jason at gmail.com (Jason Wirth) Date: Thu, 14 May 2015 17:53:54 -0500 Subject: [Chicago] Chipy Directions Message-ID: Just want to let people know directions to the best meeting ever. Go up the escalators to the second floor and turn right. The gate is closed but security will let people in. -- -- Jason Wirth 213.986.5809 wirth.jason at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMG_0008.JPG Type: image/jpeg Size: 512631 bytes Desc: not available URL: From adam at adamforsyth.net Fri May 15 06:59:18 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Thu, 14 May 2015 23:59:18 -0500 Subject: [Chicago] Applause meter used for judging the talks tonight In-Reply-To: References: Message-ID: https://gist.github.com/agfor/8f71b25c798957c47b0a Exactly as I wrote it during the event, except with '\n' added so it splits correctly. Please don't think this is how code I normally write looks :) I first tried pyaudio on both osx and Ubuntu in a vm, but it didn't work, so I switched to alsaaudio on the Linux vm. I based the script on the one at http://ubuntuforums.org/showthread.php?t=500337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Fri May 15 15:28:03 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Fri, 15 May 2015 08:28:03 -0500 Subject: [Chicago] Applause meter used for judging the talks tonight In-Reply-To: References: Message-ID: Wondering if two exact systems place at different locations would produce different results and if so what array of sensors would work best. On Thu, May 14, 2015 at 11:59 PM, Adam Forsyth wrote: > https://gist.github.com/agfor/8f71b25c798957c47b0a > > Exactly as I wrote it during the event, except with '\n' added so it > splits correctly. Please don't think this is how code I normally write > looks :) > > I first tried pyaudio on both osx and Ubuntu in a vm, but it didn't work, > so I switched to alsaaudio on the Linux vm. I based the script on the one > at http://ubuntuforums.org/showthread.php?t=500337 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Fri May 15 16:28:29 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Fri, 15 May 2015 09:28:29 -0500 Subject: [Chicago] Applause meter used for judging the talks tonight In-Reply-To: References: Message-ID: The winner was ahead by enough I don't think the voting method would have made a difference. Second and third were very close, so it's possible that would have turned out a different way. I did my best by walking the length of the room during each sampling period. On May 15, 2015 08:28, "Randy Baxley" wrote: > Wondering if two exact systems place at different locations would produce > different results and if so what array of sensors would work best. > > On Thu, May 14, 2015 at 11:59 PM, Adam Forsyth > wrote: > >> https://gist.github.com/agfor/8f71b25c798957c47b0a >> >> Exactly as I wrote it during the event, except with '\n' added so it >> splits correctly. Please don't think this is how code I normally write >> looks :) >> >> I first tried pyaudio on both osx and Ubuntu in a vm, but it didn't work, >> so I switched to alsaaudio on the Linux vm. I based the script on the one >> at http://ubuntuforums.org/showthread.php?t=500337 >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Fri May 15 20:57:34 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Fri, 15 May 2015 13:57:34 -0500 Subject: [Chicago] Applause meter used for judging the talks tonight In-Reply-To: References: Message-ID: Cool so you were a mobile array. Way to go the extra mile. On Fri, May 15, 2015 at 9:28 AM, Adam Forsyth wrote: > The winner was ahead by enough I don't think the voting method would have > made a difference. Second and third were very close, so it's possible that > would have turned out a different way. I did my best by walking the length > of the room during each sampling period. > On May 15, 2015 08:28, "Randy Baxley" wrote: > >> Wondering if two exact systems place at different locations would produce >> different results and if so what array of sensors would work best. >> >> On Thu, May 14, 2015 at 11:59 PM, Adam Forsyth >> wrote: >> >>> https://gist.github.com/agfor/8f71b25c798957c47b0a >>> >>> Exactly as I wrote it during the event, except with '\n' added so it >>> splits correctly. Please don't think this is how code I normally write >>> looks :) >>> >>> I first tried pyaudio on both osx and Ubuntu in a vm, but it didn't >>> work, so I switched to alsaaudio on the Linux vm. I based the script on the >>> one at http://ubuntuforums.org/showthread.php?t=500337 >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcalahor at yahoo.com Fri May 15 16:32:49 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Fri, 15 May 2015 14:32:49 +0000 (UTC) Subject: [Chicago] Applause meter used for judging the talks tonight In-Reply-To: References: Message-ID: <330963803.1034141.1431700369923.JavaMail.yahoo@mail.yahoo.com> i agree with Adam, it was far higher than other, this was recorded also, i replayed and the sound is higher for him, ?let you know once the video is posted for further reference thxJimmy From: Adam Forsyth To: The Chicago Python Users Group Sent: Friday, May 15, 2015 9:28 AM Subject: Re: [Chicago] Applause meter used for judging the talks tonight The winner was ahead by enough I don't think the voting method would have made a difference. Second and third were very close, so it's possible that would have turned out a different way. I did my best by walking the length of the room during each sampling period. On May 15, 2015 08:28, "Randy Baxley" wrote: Wondering if two exact systems place at different locations would produce different results and if so what array of sensors would work best. On Thu, May 14, 2015 at 11:59 PM, Adam Forsyth wrote: https://gist.github.com/agfor/8f71b25c798957c47b0aExactly as I wrote it during the event, except with '\n' added so it splits correctly. Please don't think this is how code I normally write looks :) I first tried pyaudio on both osx and Ubuntu in a vm, but it didn't work, so I switched to alsaaudio on the Linux vm. I based the script on the one at http://ubuntuforums.org/showthread.php?t=500337 _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From foresmac at gmail.com Fri May 15 17:37:42 2015 From: foresmac at gmail.com (Chris Foresman) Date: Fri, 15 May 2015 10:37:42 -0500 Subject: [Chicago] Golang vs Python slides Message-ID: <589D732B-7575-4763-8F50-97E8E202271D@gmail.com> In case anyone would find them useful: -------------- next part -------------- A non-text attachment was scrubbed... Name: Golang preso.pdf Type: application/pdf Size: 4312389 bytes Desc: not available URL: -------------- next part -------------- Chris Foresman chris at chrisforesman.com From adam at adamforsyth.net Sat May 16 01:28:07 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Fri, 15 May 2015 18:28:07 -0500 Subject: [Chicago] Golang vs Python slides In-Reply-To: <589D732B-7575-4763-8F50-97E8E202271D@gmail.com> References: <589D732B-7575-4763-8F50-97E8E202271D@gmail.com> Message-ID: Thanks Chris! On May 15, 2015 6:26 PM, "Chris Foresman" wrote: > In case anyone would find them useful: > > > > > > Chris Foresman > chris at chrisforesman.com > > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Sat May 16 03:24:25 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Fri, 15 May 2015 20:24:25 -0500 Subject: [Chicago] Applause meter used for judging the talks tonight In-Reply-To: <330963803.1034141.1431700369923.JavaMail.yahoo@mail.yahoo.com> References: <330963803.1034141.1431700369923.JavaMail.yahoo@mail.yahoo.com> Message-ID: My interest is totally academic. Began my career in seismic processing and programming for Exxon Production Research and listening systems still interest me. One 3D geophones cost would supply all of ChiPy with computers for years so this is sort of amazing. On Fri, May 15, 2015 at 9:32 AM, Jimmy Calahorrano via Chicago < chicago at python.org> wrote: > i agree with Adam, it was far higher than other, this was recorded also, i > replayed and the sound is higher for him, let you know once the video is > posted for further reference > > thx > Jimmy > > > ------------------------------ > *From:* Adam Forsyth > *To:* The Chicago Python Users Group > *Sent:* Friday, May 15, 2015 9:28 AM > *Subject:* Re: [Chicago] Applause meter used for judging the talks tonight > > The winner was ahead by enough I don't think the voting method would have > made a difference. Second and third were very close, so it's possible that > would have turned out a different way. I did my best by walking the length > of the room during each sampling period. > > > On May 15, 2015 08:28, "Randy Baxley" wrote: > > Wondering if two exact systems place at different locations would produce > different results and if so what array of sensors would work best. > > On Thu, May 14, 2015 at 11:59 PM, Adam Forsyth > wrote: > > https://gist.github.com/agfor/8f71b25c798957c47b0a > Exactly as I wrote it during the event, except with '\n' added so it > splits correctly. Please don't think this is how code I normally write > looks :) > I first tried pyaudio on both osx and Ubuntu in a vm, but it didn't work, > so I switched to alsaaudio on the Linux vm. I based the script on the one > at http://ubuntuforums.org/showthread.php?t=500337 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Sat May 16 05:13:59 2015 From: kirby.urner at gmail.com (kirby urner) Date: Fri, 15 May 2015 20:13:59 -0700 Subject: [Chicago] Golang vs Python slides In-Reply-To: <589D732B-7575-4763-8F50-97E8E202271D@gmail.com> References: <589D732B-7575-4763-8F50-97E8E202271D@gmail.com> Message-ID: On Fri, May 15, 2015 at 8:37 AM, Chris Foresman wrote: > In case anyone would find them useful: > > > > > > Chris Foresman > chris at chrisforesman.com > > Just went through the slides, excellent and tasteful and worth going back to for more ideas. I've been tracking Go, including OSCON tutorials. Here's my question: if we divide the world into Agile and System languages this way: Agile: Python, Perl, PHP System: Java, C/C#/C++, Go with Agiles often *implemented* in System languages, then the question becomes: how about Python *implemented* in Go, what would that look like? Kirby > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From foresmac at gmail.com Sat May 16 18:09:51 2015 From: foresmac at gmail.com (Chris Foresman) Date: Sat, 16 May 2015 11:09:51 -0500 Subject: [Chicago] Golang vs Python slides In-Reply-To: References: <589D732B-7575-4763-8F50-97E8E202271D@gmail.com> Message-ID: It would probably look a lot like the existing C version. Though I suppose it would be easier to graft asynchronous execution if it was possible to program around the GIL. I?m not sure it would have significant performance improvement over the existing C Python; Go is fast, but it?s not necessarily faster than C. I think the primary advantage in Go is that it makes it relatively trivial to write concurrent systems, and such a system can be much faster than one that is not. It?s also typically much faster building binaries since the language is designed for optimal compilation. There might be optimizations that could be gained by building the runtime to use goroutines, but that is just wild speculation on my part; I don?t really know enough about the internals to say that?s true for sure. Maybe if it were a special version of Python that implemented a keyword to execute a function in a goroutine, and support for channels, might get you some kind of hybrid that maybe performs about the same at regular code but a big boost in asynchronous code. The more I think about it, the more I wish I had infinite free time to just re-write it in Go and see what happens :P Chris Foresman chris at chrisforesman.com > On May 15, 2015, at 10:13 PM, kirby urner wrote: > > how about Python *implemented* in Go, what would that look like? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Sat May 16 18:34:46 2015 From: kirby.urner at gmail.com (kirby urner) Date: Sat, 16 May 2015 09:34:46 -0700 Subject: [Chicago] Golang vs Python slides In-Reply-To: References: <589D732B-7575-4763-8F50-97E8E202271D@gmail.com> Message-ID: > The more I think about it, the more I wish I had infinite free time to > just re-write it in Go and see what happens :P > > Me too, and infinite brains to go with the time. :-D A followup question would be: Give we have ways to extend CPython in C++ etc. might we have a way to architect modules in Go that CPython could import? During execution, control would be handed over to Go, so concurrency problems might be solved even if the GIL is not actually bypassed. Even with GIL, a Go extension module might just be more intuitive and easier to maintain, yet Python coders get an API they can use directly? Just a thought. Python controls a Tk process written in tcl, and the wx process written in C++ (wxPython), so some kind of bridge to Go stuff seems in the cards. Kirby > > > Chris Foresman > chris at chrisforesman.com > > > > On May 15, 2015, at 10:13 PM, kirby urner wrote: > > how about Python *implemented* in Go, what would that look like? > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hundredpercentjuice at gmail.com Sat May 16 18:17:23 2015 From: hundredpercentjuice at gmail.com (JS Irick) Date: Sat, 16 May 2015 12:17:23 -0400 Subject: [Chicago] How did I never know thecodelesscode.org had hover text?? Message-ID: [image: Inline image 1] -- ==== JS Irick 312-307-8904 Consultant: truqua.com Coach: atlascrossfit.com Programmer: juicetux.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 214662 bytes Desc: not available URL: From matt at soulrobotic.com Sat May 16 19:13:34 2015 From: matt at soulrobotic.com (Matthew Erickson) Date: Sat, 16 May 2015 17:13:34 +0000 Subject: [Chicago] Golang vs Python slides In-Reply-To: References: <589D732B-7575-4763-8F50-97E8E202271D@gmail.com> , Message-ID: <835C2936-723C-4069-8D09-77E08C511DE9@soulrobotic.com> Go really doesn't like being an extension language; it's much happier and easier to work with it being the main() for the program. -- Matt On May 16, 2015, at 12:35, kirby urner > wrote: The more I think about it, the more I wish I had infinite free time to just re-write it in Go and see what happens :P Me too, and infinite brains to go with the time. :-D A followup question would be: Give we have ways to extend CPython in C++ etc. might we have a way to architect modules in Go that CPython could import? During execution, control would be handed over to Go, so concurrency problems might be solved even if the GIL is not actually bypassed. Even with GIL, a Go extension module might just be more intuitive and easier to maintain, yet Python coders get an API they can use directly? Just a thought. Python controls a Tk process written in tcl, and the wx process written in C++ (wxPython), so some kind of bridge to Go stuff seems in the cards. Kirby Chris Foresman chris at chrisforesman.com On May 15, 2015, at 10:13 PM, kirby urner > wrote: how about Python *implemented* in Go, what would that look like? _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.j.johnson at gmail.com Sat May 16 21:00:23 2015 From: thomas.j.johnson at gmail.com (Thomas Johnson) Date: Sat, 16 May 2015 19:00:23 +0000 Subject: [Chicago] Golang vs Python slides In-Reply-To: <835C2936-723C-4069-8D09-77E08C511DE9@soulrobotic.com> References: <589D732B-7575-4763-8F50-97E8E202271D@gmail.com> <835C2936-723C-4069-8D09-77E08C511DE9@soulrobotic.com> Message-ID: This stackoverflow post seems to indicate that it's not really possible to call go routines directly from python: http://stackoverflow.com/questions/12443203/writing-a-python-extension-in-go-golang The suggestion in the comments of using some kind of RPC as a workaround seems like a practical alternative. On Sat, May 16, 2015 at 1:46 PM Matthew Erickson wrote: > Go really doesn't like being an extension language; it's much happier > and easier to work with it being the main() for the program. > > -- Matt > > On May 16, 2015, at 12:35, kirby urner wrote: > > > The more I think about it, the more I wish I had infinite free time to >> just re-write it in Go and see what happens :P >> >> > Me too, and infinite brains to go with the time. :-D > > A followup question would be: > > Give we have ways to extend CPython in C++ etc. might we have a way to > architect modules in Go that CPython could import? > > During execution, control would be handed over to Go, so concurrency > problems might be solved even if the GIL is not actually bypassed. > > Even with GIL, a Go extension module might just be more intuitive and > easier to maintain, yet Python coders get an API they can use directly? > > Just a thought. > > Python controls a Tk process written in tcl, and the wx process written in > C++ (wxPython), so some kind of bridge to Go stuff seems in the cards. > > Kirby > > > >> >> >> Chris Foresman >> chris at chrisforesman.com >> >> >> >> On May 15, 2015, at 10:13 PM, kirby urner wrote: >> >> how about Python *implemented* in Go, what would that look like? >> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Sun May 17 12:45:17 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sun, 17 May 2015 05:45:17 -0500 Subject: [Chicago] Python for mortgages??? Message-ID: Hey there ladies and gents, I'm kind of proud of this, my latest little Python project. I know my Formatter class is very Java-like, but hey, why not? I've actually had more formal training in Java than in Python, so it makes sense that I bring a certain amount of the Java paradigm to my Python programming projects, which may not necessarily be a bad thing. In chatting with CS professors and others in the community, I still get the feeling that a lot of people still think of Java as a "grownup programming language" while Python is just good for newbies, kids, and amateur programmers. It's an attitude that I really don't like, and of course most of the people with that opinion have not really used Python that much anyhow! So I kind of enjoy exploring the OOP aspects of Python and other pretty heavy-duty aspects of Python, demonstrating that it is just as much a grownup programming language as Java. Unfortunately I have not yet explored the web page development capabilities of Python, but that is definitely on my to-do list for the near future. This program asks the question, "If I borrow some money to buy a house at a certain interest rate (expressed as a percentage) and if I pay a certain amount of money every month, then how many months will it take for me to pay off my mortgage?" Also, what's the total interest going to be? I really like the program, but if anyone can suggest something to make it even better, then hey, by all means let me know. But be polite! I devoted a lot of time to this, so please no replies like, "Doug, your program sucks!" And if you sell my program to some big real estate company, I want a percentage of those profits!!! (I suspect that most realtors use EXCEL to solve these exact same problems.) Enjoy the rest of your weekend and I'm looking forward to reading your feedback and criticisms. Cheers, Douglas Lewit P.S. I probably should have used Python 3 for this, but I went ahead with Python 2 for this project. Sorry guys, but if you run my script with Python 3 it definitely won't run! The print statement won't work and neither will the generators. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Mortgage.py Type: text/x-python Size: 3400 bytes Desc: not available URL: From ken at stox.org Sun May 17 17:06:17 2015 From: ken at stox.org (Kenneth Stox) Date: Sun, 17 May 2015 10:06:17 -0500 Subject: [Chicago] Entertaining Easter Egg in Ex Machina Message-ID: <1431875177.9746.0.camel@stox.org> http://moviecode.tumblr.com/post/119171520870/in-the-movie-ex-machina-which-is-really-great -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 213 bytes Desc: This is a digitally signed message part URL: From jcalahor at yahoo.com Sun May 17 15:27:48 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Sun, 17 May 2015 13:27:48 +0000 (UTC) Subject: [Chicago] Python for mortgages??? In-Reply-To: References: Message-ID: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> Doug, couple points on this. Have you actually talked to people working on Python for years already? If you just talked to Java/C# developers that have never used Python then they doesn't know what they are talking about. I was one of them (c# developer for about 10 years), i had the tendency to under value javascript for example, and little interest on learning python. Things changed years ago, and I cannot be more grateful for people and situations that ended me working in python. Regarding the mortage escrow calculator that you are talking about real state companies doesn't calculate them, it is the actual lending company that needs to calculate the escrow, on?middle size and big ones, they no longer use excel, since this is the most basic calculation that they should get done. I'd research to find out what features are missing on those systems, or if is something else that they need. thanks,Jimmy From: "Lewit, Douglas" To: The Chicago Python Users Group Sent: Sunday, May 17, 2015 5:45 AM Subject: [Chicago] Python for mortgages??? Hey there ladies and gents, I'm kind of proud of this, my latest little Python project.? I know my Formatter class is very Java-like, but hey, why not?? I've actually had more formal training in Java than in Python, so it makes sense that I bring a certain amount of the Java paradigm to my Python programming projects, which may not necessarily be a bad thing.? In chatting with CS professors and others in the community, I still get the feeling that a lot of people still think of Java as a "grownup programming language" while Python is just good for newbies, kids, and amateur programmers.? It's an attitude that I really don't like, and of course most of the people with that opinion have not really used Python that much anyhow!? So I kind of enjoy exploring the OOP aspects of Python and other pretty heavy-duty aspects of Python, demonstrating that it is just as much a grownup programming language as Java.? Unfortunately I have not yet explored the web page development capabilities of Python, but that is definitely on my to-do list for the near future. This program asks the question, "If I borrow some money to buy a house at a certain interest rate (expressed as a percentage) and if I pay a certain amount of money every month, then how many months will it take for me to pay off my mortgage?" ?Also, what's the total interest going to be? I really like the program, but if anyone can suggest something to make it even better, then hey, by all means let me know.? But be polite!? I devoted a lot of time to this, so please no replies like, "Doug, your program sucks!" ? And if you sell my program to some big real estate company, I want a percentage of those profits!!! ?(I suspect that most realtors use EXCEL to solve these exact same problems.) Enjoy the rest of your weekend and I'm looking forward to reading your feedback and criticisms. Cheers, Douglas Lewit P.S.? I probably should have used Python 3 for this, but I went ahead with Python 2 for this project.? Sorry guys, but if you run my script with Python 3 it definitely won't run!? The print statement won't work and neither will the generators. _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Sun May 17 19:16:27 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Sun, 17 May 2015 12:16:27 -0500 Subject: [Chicago] Python for mortgages??? In-Reply-To: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> References: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi Jimmy, Thanks for the feedback! Right now I mostly work with the Java crowd. Honestly, nobody in my department has anything positive to say about Python other than "it looks good on your resume". One young lady who used to be the graduate tutor in my department said, "Oh please, Python? You can learn Programming I in Python in just 30 minutes!!! But C, C++ and Java take work and study!" But she was an arrogant little know-it-all and -----. (I'll let you use your imagination to fill in the blank! ) Personally, I like the "feel" of the "weakly typed" or dynamic languages, such as Perl, Ruby and Python. They remind me a lot of Maple and Mathematica, which provided me with my first experiences in real computer programming. Java isn't bad, but I'm not thrilled with how people in my department teach Java. I want to flesh out the program a wee bit more. Add more info to the tuples, such as the amount of principal paid up to that point, the amount of interest paid up to that point (or month I mean), and.... I guess that's it! I haven't got a clue how this would work for a *variable* rate mortgage! That would get VERY complicated! With a fixed rate mortgage you know that your payment must be greater than (amount borrowed)*(1 + rate/1200) or you will never pay off your mortgage. Your debt would either remain the same or continue to accumulate more interest and actually get larger. On Sun, May 17, 2015 at 8:27 AM, Jimmy Calahorrano via Chicago < chicago at python.org> wrote: > Doug, > > couple points on this. Have you actually talked to people working on > Python for years already? If you just talked to Java/C# developers that > have never used Python then they doesn't know what they are talking about. > I was one of them (c# developer for about 10 years), i had the tendency to > under value javascript for example, and little interest on learning python. > Things changed years ago, and I cannot be more grateful for people and > situations that ended me working in python. > > Regarding the mortage escrow calculator that you are talking about real > state companies doesn't calculate them, it is the actual lending company > that needs to calculate the escrow, on middle size and big ones, they no > longer use excel, since this is the most basic calculation that they should > get done. I'd research to find out what features are missing on those > systems, or if is something else that they need. > > thanks, > Jimmy > > > > > > ------------------------------ > *From:* "Lewit, Douglas" > *To:* The Chicago Python Users Group > *Sent:* Sunday, May 17, 2015 5:45 AM > *Subject:* [Chicago] Python for mortgages??? > > Hey there ladies and gents, > > I'm kind of proud of this, my latest little Python project. I know my > Formatter class is very Java-like, but hey, why not? I've actually had > more formal training in Java than in Python, so it makes sense that I bring > a certain amount of the Java paradigm to my Python programming projects, > which may not necessarily be a bad thing. In chatting with CS professors > and others in the community, I still get the feeling that a lot of people > still think of Java as a "grownup programming language" while Python is > just good for newbies, kids, and amateur programmers. It's an attitude > that I really don't like, and of course most of the people with that > opinion have not really used Python that much anyhow! So I kind of enjoy > exploring the OOP aspects of Python and other pretty heavy-duty aspects of > Python, demonstrating that it is just as much a grownup programming > language as Java. Unfortunately I have not yet explored the web page > development capabilities of Python, but that is definitely on my to-do list > for the near future. > > This program asks the question, "If I borrow some money to buy a house at > a certain interest rate (expressed as a percentage) and if I pay a certain > amount of money every month, then how many months will it take for me to > pay off my mortgage?" Also, what's the total interest going to be? > > I really like the program, but if anyone can suggest something to make it > even better, then hey, by all means let me know. But be polite! I devoted > a lot of time to this, so please no replies like, "Doug, your program > sucks!" > > And if you sell my program to some big real estate company, I want a > percentage of those profits!!! (I suspect that most realtors use EXCEL to > solve these exact same problems.) > > Enjoy the rest of your weekend and I'm looking forward to reading your > feedback and criticisms. > > Cheers, > > Douglas Lewit > > P.S. I probably should have used Python 3 for this, but I went ahead with > Python 2 for this project. Sorry guys, but if you run my script with > Python 3 it definitely won't run! The print statement won't work and > neither will the generators. > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julianeden2 at gmail.com Sun May 17 19:56:26 2015 From: julianeden2 at gmail.com (Julian Eden) Date: Sun, 17 May 2015 12:56:26 -0500 Subject: [Chicago] Python for mortgages??? In-Reply-To: References: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> Message-ID: How can I unsubscribe from this? On Sun, May 17, 2015 at 12:16 PM, Lewit, Douglas wrote: > Hi Jimmy, > > Thanks for the feedback! Right now I mostly work with the Java crowd. > Honestly, nobody in my department has anything positive to say about Python > other than "it looks good on your resume". One young lady who used to be > the graduate tutor in my department said, "Oh please, Python? You can > learn Programming I in Python in just 30 minutes!!! But C, C++ and Java > take work and study!" But she was an arrogant little know-it-all and > -----. (I'll let you use your imagination to fill in the blank! ) > > Personally, I like the "feel" of the "weakly typed" or dynamic languages, > such as Perl, Ruby and Python. They remind me a lot of Maple and > Mathematica, which provided me with my first experiences in real computer > programming. Java isn't bad, but I'm not thrilled with how people in my > department teach Java. > > I want to flesh out the program a wee bit more. Add more info to the > tuples, such as the amount of principal paid up to that point, the amount > of interest paid up to that point (or month I mean), and.... I guess that's > it! I haven't got a clue how this would work for a *variable* rate > mortgage! That would get VERY complicated! With a fixed rate mortgage you > know that your payment must be greater than (amount borrowed)*(1 + > rate/1200) or you will never pay off your mortgage. Your debt would either > remain the same or continue to accumulate more interest and actually get > larger. > > > > On Sun, May 17, 2015 at 8:27 AM, Jimmy Calahorrano via Chicago < > chicago at python.org> wrote: > >> Doug, >> >> couple points on this. Have you actually talked to people working on >> Python for years already? If you just talked to Java/C# developers that >> have never used Python then they doesn't know what they are talking about. >> I was one of them (c# developer for about 10 years), i had the tendency to >> under value javascript for example, and little interest on learning python. >> Things changed years ago, and I cannot be more grateful for people and >> situations that ended me working in python. >> >> Regarding the mortage escrow calculator that you are talking about real >> state companies doesn't calculate them, it is the actual lending company >> that needs to calculate the escrow, on middle size and big ones, they no >> longer use excel, since this is the most basic calculation that they should >> get done. I'd research to find out what features are missing on those >> systems, or if is something else that they need. >> >> thanks, >> Jimmy >> >> >> >> >> >> ------------------------------ >> *From:* "Lewit, Douglas" >> *To:* The Chicago Python Users Group >> *Sent:* Sunday, May 17, 2015 5:45 AM >> *Subject:* [Chicago] Python for mortgages??? >> >> Hey there ladies and gents, >> >> I'm kind of proud of this, my latest little Python project. I know my >> Formatter class is very Java-like, but hey, why not? I've actually had >> more formal training in Java than in Python, so it makes sense that I bring >> a certain amount of the Java paradigm to my Python programming projects, >> which may not necessarily be a bad thing. In chatting with CS professors >> and others in the community, I still get the feeling that a lot of people >> still think of Java as a "grownup programming language" while Python is >> just good for newbies, kids, and amateur programmers. It's an attitude >> that I really don't like, and of course most of the people with that >> opinion have not really used Python that much anyhow! So I kind of enjoy >> exploring the OOP aspects of Python and other pretty heavy-duty aspects of >> Python, demonstrating that it is just as much a grownup programming >> language as Java. Unfortunately I have not yet explored the web page >> development capabilities of Python, but that is definitely on my to-do list >> for the near future. >> >> This program asks the question, "If I borrow some money to buy a house at >> a certain interest rate (expressed as a percentage) and if I pay a certain >> amount of money every month, then how many months will it take for me to >> pay off my mortgage?" Also, what's the total interest going to be? >> >> I really like the program, but if anyone can suggest something to make it >> even better, then hey, by all means let me know. But be polite! I devoted >> a lot of time to this, so please no replies like, "Doug, your program >> sucks!" >> >> And if you sell my program to some big real estate company, I want a >> percentage of those profits!!! (I suspect that most realtors use EXCEL to >> solve these exact same problems.) >> >> Enjoy the rest of your weekend and I'm looking forward to reading your >> feedback and criticisms. >> >> Cheers, >> >> Douglas Lewit >> >> P.S. I probably should have used Python 3 for this, but I went ahead >> with Python 2 for this project. Sorry guys, but if you run my script with >> Python 3 it definitely won't run! The print statement won't work and >> neither will the generators. >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Sun May 17 20:14:49 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Sun, 17 May 2015 13:14:49 -0500 Subject: [Chicago] Python for mortgages??? In-Reply-To: References: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi Julian, Click the link at the bottom of any email and you can use that page to unsubscribe. On Sun, May 17, 2015 at 12:56 PM, Julian Eden wrote: > How can I unsubscribe from this? > > On Sun, May 17, 2015 at 12:16 PM, Lewit, Douglas wrote: > >> Hi Jimmy, >> >> Thanks for the feedback! Right now I mostly work with the Java crowd. >> Honestly, nobody in my department has anything positive to say about Python >> other than "it looks good on your resume". One young lady who used to be >> the graduate tutor in my department said, "Oh please, Python? You can >> learn Programming I in Python in just 30 minutes!!! But C, C++ and Java >> take work and study!" But she was an arrogant little know-it-all and >> -----. (I'll let you use your imagination to fill in the blank! ) >> >> Personally, I like the "feel" of the "weakly typed" or dynamic languages, >> such as Perl, Ruby and Python. They remind me a lot of Maple and >> Mathematica, which provided me with my first experiences in real computer >> programming. Java isn't bad, but I'm not thrilled with how people in my >> department teach Java. >> >> I want to flesh out the program a wee bit more. Add more info to the >> tuples, such as the amount of principal paid up to that point, the amount >> of interest paid up to that point (or month I mean), and.... I guess that's >> it! I haven't got a clue how this would work for a *variable* rate >> mortgage! That would get VERY complicated! With a fixed rate mortgage you >> know that your payment must be greater than (amount borrowed)*(1 + >> rate/1200) or you will never pay off your mortgage. Your debt would either >> remain the same or continue to accumulate more interest and actually get >> larger. >> >> >> >> On Sun, May 17, 2015 at 8:27 AM, Jimmy Calahorrano via Chicago < >> chicago at python.org> wrote: >> >>> Doug, >>> >>> couple points on this. Have you actually talked to people working on >>> Python for years already? If you just talked to Java/C# developers that >>> have never used Python then they doesn't know what they are talking about. >>> I was one of them (c# developer for about 10 years), i had the tendency to >>> under value javascript for example, and little interest on learning python. >>> Things changed years ago, and I cannot be more grateful for people and >>> situations that ended me working in python. >>> >>> Regarding the mortage escrow calculator that you are talking about real >>> state companies doesn't calculate them, it is the actual lending company >>> that needs to calculate the escrow, on middle size and big ones, they >>> no longer use excel, since this is the most basic calculation that they >>> should get done. I'd research to find out what features are missing on >>> those systems, or if is something else that they need. >>> >>> thanks, >>> Jimmy >>> >>> >>> >>> >>> >>> ------------------------------ >>> *From:* "Lewit, Douglas" >>> *To:* The Chicago Python Users Group >>> *Sent:* Sunday, May 17, 2015 5:45 AM >>> *Subject:* [Chicago] Python for mortgages??? >>> >>> Hey there ladies and gents, >>> >>> I'm kind of proud of this, my latest little Python project. I know my >>> Formatter class is very Java-like, but hey, why not? I've actually had >>> more formal training in Java than in Python, so it makes sense that I bring >>> a certain amount of the Java paradigm to my Python programming projects, >>> which may not necessarily be a bad thing. In chatting with CS professors >>> and others in the community, I still get the feeling that a lot of people >>> still think of Java as a "grownup programming language" while Python is >>> just good for newbies, kids, and amateur programmers. It's an attitude >>> that I really don't like, and of course most of the people with that >>> opinion have not really used Python that much anyhow! So I kind of enjoy >>> exploring the OOP aspects of Python and other pretty heavy-duty aspects of >>> Python, demonstrating that it is just as much a grownup programming >>> language as Java. Unfortunately I have not yet explored the web page >>> development capabilities of Python, but that is definitely on my to-do list >>> for the near future. >>> >>> This program asks the question, "If I borrow some money to buy a house >>> at a certain interest rate (expressed as a percentage) and if I pay a >>> certain amount of money every month, then how many months will it take for >>> me to pay off my mortgage?" Also, what's the total interest going to be? >>> >>> I really like the program, but if anyone can suggest something to make >>> it even better, then hey, by all means let me know. But be polite! I >>> devoted a lot of time to this, so please no replies like, "Doug, your >>> program sucks!" >>> >>> And if you sell my program to some big real estate company, I want a >>> percentage of those profits!!! (I suspect that most realtors use EXCEL to >>> solve these exact same problems.) >>> >>> Enjoy the rest of your weekend and I'm looking forward to reading your >>> feedback and criticisms. >>> >>> Cheers, >>> >>> Douglas Lewit >>> >>> P.S. I probably should have used Python 3 for this, but I went ahead >>> with Python 2 for this project. Sorry guys, but if you run my script with >>> Python 3 it definitely won't run! The print statement won't work and >>> neither will the generators. >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcalahor at yahoo.com Mon May 18 06:44:17 2015 From: jcalahor at yahoo.com (Jimmy Calahorrano) Date: Mon, 18 May 2015 04:44:17 +0000 (UTC) Subject: [Chicago] Python for mortgages??? In-Reply-To: References: Message-ID: <553982974.777121.1431924258002.JavaMail.yahoo@mail.yahoo.com> for a former java/c# it will take weeks if no months to really get what list comprehensions, coroutines, generators, metaclasses, first class functions, class decorators are. these concepts are almost non existent on java/c#, people try to minimize things that they don't know, just recently a Microsoft MVP was trashing dynamic languages and the reasons reflected a limited knowledge around those languages. if you want to compare, you really need to know what you are talking about. don't know the details around those debt calculations, so i won't be able to comment any further Jimmy From: "Lewit, Douglas" To: Jimmy Calahorrano ; The Chicago Python Users Group Sent: Sunday, May 17, 2015 12:16 PM Subject: Re: [Chicago] Python for mortgages??? Hi Jimmy, Thanks for the feedback!? Right now I mostly work with the Java crowd.? Honestly, nobody in my department has anything positive to say about Python other than "it looks good on your resume".? One young lady who used to be the graduate tutor in my department said, "Oh please, Python?? You can learn Programming I in Python in just 30 minutes!!!? But C, C++ and Java take work and study!" ?But she was an arrogant little know-it-all and -----. ?(I'll let you use your imagination to fill in the blank! ) Personally, I like the "feel" of the "weakly typed" or dynamic languages, such as Perl, Ruby and Python.? They remind me a lot of Maple and Mathematica, which provided me with my first experiences in real computer programming.? Java isn't bad, but I'm not thrilled with how people in my department teach Java. I want to flesh out the program a wee bit more.? Add more info to the tuples, such as the amount of principal paid up to that point, the amount of interest paid up to that point (or month I mean), and.... I guess that's it!? I haven't got a clue how this would work for a variable rate mortgage!? That would get VERY complicated!? With a fixed rate mortgage you know that your payment must be greater than (amount borrowed)*(1 + rate/1200) or you will never pay off your mortgage.? Your debt would either remain the same or continue to accumulate more interest and actually get larger. ?? On Sun, May 17, 2015 at 8:27 AM, Jimmy Calahorrano via Chicago wrote: Doug, couple points on this. Have you actually talked to people working on Python for years already? If you just talked to Java/C# developers that have never used Python then they doesn't know what they are talking about. I was one of them (c# developer for about 10 years), i had the tendency to under value javascript for example, and little interest on learning python. Things changed years ago, and I cannot be more grateful for people and situations that ended me working in python. Regarding the mortage escrow calculator that you are talking about real state companies doesn't calculate them, it is the actual lending company that needs to calculate the escrow, on?middle size and big ones, they no longer use excel, since this is the most basic calculation that they should get done. I'd research to find out what features are missing on those systems, or if is something else that they need. thanks,Jimmy From: "Lewit, Douglas" To: The Chicago Python Users Group Sent: Sunday, May 17, 2015 5:45 AM Subject: [Chicago] Python for mortgages??? Hey there ladies and gents, I'm kind of proud of this, my latest little Python project.? I know my Formatter class is very Java-like, but hey, why not?? I've actually had more formal training in Java than in Python, so it makes sense that I bring a certain amount of the Java paradigm to my Python programming projects, which may not necessarily be a bad thing.? In chatting with CS professors and others in the community, I still get the feeling that a lot of people still think of Java as a "grownup programming language" while Python is just good for newbies, kids, and amateur programmers.? It's an attitude that I really don't like, and of course most of the people with that opinion have not really used Python that much anyhow!? So I kind of enjoy exploring the OOP aspects of Python and other pretty heavy-duty aspects of Python, demonstrating that it is just as much a grownup programming language as Java.? Unfortunately I have not yet explored the web page development capabilities of Python, but that is definitely on my to-do list for the near future. This program asks the question, "If I borrow some money to buy a house at a certain interest rate (expressed as a percentage) and if I pay a certain amount of money every month, then how many months will it take for me to pay off my mortgage?" ?Also, what's the total interest going to be? I really like the program, but if anyone can suggest something to make it even better, then hey, by all means let me know.? But be polite!? I devoted a lot of time to this, so please no replies like, "Doug, your program sucks!" ? And if you sell my program to some big real estate company, I want a percentage of those profits!!! ?(I suspect that most realtors use EXCEL to solve these exact same problems.) Enjoy the rest of your weekend and I'm looking forward to reading your feedback and criticisms. Cheers, Douglas Lewit P.S.? I probably should have used Python 3 for this, but I went ahead with Python 2 for this project.? Sorry guys, but if you run my script with Python 3 it definitely won't run!? The print statement won't work and neither will the generators. _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago _______________________________________________ Chicago mailing list Chicago at python.org https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From robkapteyn at gmail.com Mon May 18 16:08:50 2015 From: robkapteyn at gmail.com (Rob Kapteyn) Date: Mon, 18 May 2015 09:08:50 -0500 Subject: [Chicago] Python for mortgages??? In-Reply-To: References: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> Message-ID: Just a quick note on a common misconception about Python. You wrote: 'Personally, I like the "feel" of the "weakly typed" or dynamic languages, such as Perl, Ruby and Python.' Python is NOT "weakly typed". It is "strongly, dynamically typed". Once Python determines the type of an object -- it does not change. Weakly typed languages (like Perl) often create horrible bugs in production when real-world data gets cast into an unexpected type. This has given "weak typing" a (deservedly) bad reputation. These bugs never happen with Python. On Sun, May 17, 2015 at 12:16 PM, Lewit, Douglas wrote: > Hi Jimmy, > > Thanks for the feedback! Right now I mostly work with the Java crowd. > Honestly, nobody in my department has anything positive to say about Python > other than "it looks good on your resume". One young lady who used to be > the graduate tutor in my department said, "Oh please, Python? You can > learn Programming I in Python in just 30 minutes!!! But C, C++ and Java > take work and study!" But she was an arrogant little know-it-all and > -----. (I'll let you use your imagination to fill in the blank! ) > > Personally, I like the "feel" of the "weakly typed" or dynamic languages, > such as Perl, Ruby and Python. They remind me a lot of Maple and > Mathematica, which provided me with my first experiences in real computer > programming. Java isn't bad, but I'm not thrilled with how people in my > department teach Java. > > I want to flesh out the program a wee bit more. Add more info to the > tuples, such as the amount of principal paid up to that point, the amount > of interest paid up to that point (or month I mean), and.... I guess that's > it! I haven't got a clue how this would work for a *variable* rate > mortgage! That would get VERY complicated! With a fixed rate mortgage you > know that your payment must be greater than (amount borrowed)*(1 + > rate/1200) or you will never pay off your mortgage. Your debt would either > remain the same or continue to accumulate more interest and actually get > larger. > > > > On Sun, May 17, 2015 at 8:27 AM, Jimmy Calahorrano via Chicago < > chicago at python.org> wrote: > >> Doug, >> >> couple points on this. Have you actually talked to people working on >> Python for years already? If you just talked to Java/C# developers that >> have never used Python then they doesn't know what they are talking about. >> I was one of them (c# developer for about 10 years), i had the tendency to >> under value javascript for example, and little interest on learning python. >> Things changed years ago, and I cannot be more grateful for people and >> situations that ended me working in python. >> >> Regarding the mortage escrow calculator that you are talking about real >> state companies doesn't calculate them, it is the actual lending company >> that needs to calculate the escrow, on middle size and big ones, they no >> longer use excel, since this is the most basic calculation that they should >> get done. I'd research to find out what features are missing on those >> systems, or if is something else that they need. >> >> thanks, >> Jimmy >> >> >> >> >> >> ------------------------------ >> *From:* "Lewit, Douglas" >> *To:* The Chicago Python Users Group >> *Sent:* Sunday, May 17, 2015 5:45 AM >> *Subject:* [Chicago] Python for mortgages??? >> >> Hey there ladies and gents, >> >> I'm kind of proud of this, my latest little Python project. I know my >> Formatter class is very Java-like, but hey, why not? I've actually had >> more formal training in Java than in Python, so it makes sense that I bring >> a certain amount of the Java paradigm to my Python programming projects, >> which may not necessarily be a bad thing. In chatting with CS professors >> and others in the community, I still get the feeling that a lot of people >> still think of Java as a "grownup programming language" while Python is >> just good for newbies, kids, and amateur programmers. It's an attitude >> that I really don't like, and of course most of the people with that >> opinion have not really used Python that much anyhow! So I kind of enjoy >> exploring the OOP aspects of Python and other pretty heavy-duty aspects of >> Python, demonstrating that it is just as much a grownup programming >> language as Java. Unfortunately I have not yet explored the web page >> development capabilities of Python, but that is definitely on my to-do list >> for the near future. >> >> This program asks the question, "If I borrow some money to buy a house at >> a certain interest rate (expressed as a percentage) and if I pay a certain >> amount of money every month, then how many months will it take for me to >> pay off my mortgage?" Also, what's the total interest going to be? >> >> I really like the program, but if anyone can suggest something to make it >> even better, then hey, by all means let me know. But be polite! I devoted >> a lot of time to this, so please no replies like, "Doug, your program >> sucks!" >> >> And if you sell my program to some big real estate company, I want a >> percentage of those profits!!! (I suspect that most realtors use EXCEL to >> solve these exact same problems.) >> >> Enjoy the rest of your weekend and I'm looking forward to reading your >> feedback and criticisms. >> >> Cheers, >> >> Douglas Lewit >> >> P.S. I probably should have used Python 3 for this, but I went ahead >> with Python 2 for this project. Sorry guys, but if you run my script with >> Python 3 it definitely won't run! The print statement won't work and >> neither will the generators. >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip.montanaro at gmail.com Mon May 18 16:19:50 2015 From: skip.montanaro at gmail.com (Skip Montanaro) Date: Mon, 18 May 2015 09:19:50 -0500 Subject: [Chicago] Python for mortgages??? In-Reply-To: References: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> Message-ID: On Mon, May 18, 2015 at 9:08 AM, Rob Kapteyn wrote: > Python is NOT "weakly typed". > It is "strongly, dynamically typed". > Once Python determines the type of an object -- it does not change. > > Weakly typed languages (like Perl) often create horrible bugs in production > when real-world data gets > cast into an unexpected type. This has given "weak typing" a (deservedly) > bad reputation. > > These bugs never happen with Python. I will back this up with an example. I suspect I have outed it here at least once in the past. If you've seen this before, my apologies. Just hit 'D'... Way BITD, I wrote and maintained an online concert calendar. When I first started, the frontend and backend were both written in Python. Our technology was eventually bought by another small company whose frontend was written in Perl. Merging the two wasn't terribly difficult, as my frontend and backend communicated using XML-RPC. Problem was, I expected band/musician names to be represented as strings. Very early in the process, the Perl frontend coerced the band name "311 " to a number. Hilarity ensued in the backend. Initially, I had no control over the frontend software, so I wound up special-casing such issues at the interface of the backend. Skip -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Mon May 18 16:20:16 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Mon, 18 May 2015 09:20:16 -0500 Subject: [Chicago] Justification for calling Python weekly typed (was: Python for mortgages???) Message-ID: You're right about typing in Python, but you're wrong about that kind of error not happening. In Python 2, if you compare types that don't have a logical ordering, Python will often default to comparing by class name: http://stackoverflow.com/questions/7969552/why-does-4-3-return-true-in-python-2/7969617#7969617 That was fixed in Python 3, which will raise an exception. The problem can still occur when you use a boolean expression and you expect True or False but have another value, since ~all objects by default have __nonzero__ methods and so get coerced to True or False. On May 18, 2015 9:08 AM, "Rob Kapteyn" wrote: > Just a quick note on a common misconception about Python. > You wrote: > 'Personally, I like the "feel" of the "weakly typed" or dynamic languages, > such as Perl, Ruby and Python.' > > Python is NOT "weakly typed". > It is "strongly, dynamically typed". > Once Python determines the type of an object -- it does not change. > > Weakly typed languages (like Perl) often create horrible bugs in > production when real-world data gets > cast into an unexpected type. This has given "weak typing" a (deservedly) > bad reputation. > > These bugs never happen with Python. > > > > On Sun, May 17, 2015 at 12:16 PM, Lewit, Douglas wrote: > >> Hi Jimmy, >> >> Thanks for the feedback! Right now I mostly work with the Java crowd. >> Honestly, nobody in my department has anything positive to say about Python >> other than "it looks good on your resume". One young lady who used to be >> the graduate tutor in my department said, "Oh please, Python? You can >> learn Programming I in Python in just 30 minutes!!! But C, C++ and Java >> take work and study!" But she was an arrogant little know-it-all and >> -----. (I'll let you use your imagination to fill in the blank! ) >> >> Personally, I like the "feel" of the "weakly typed" or dynamic languages, >> such as Perl, Ruby and Python. They remind me a lot of Maple and >> Mathematica, which provided me with my first experiences in real computer >> programming. Java isn't bad, but I'm not thrilled with how people in my >> department teach Java. >> >> I want to flesh out the program a wee bit more. Add more info to the >> tuples, such as the amount of principal paid up to that point, the amount >> of interest paid up to that point (or month I mean), and.... I guess that's >> it! I haven't got a clue how this would work for a *variable* rate >> mortgage! That would get VERY complicated! With a fixed rate mortgage you >> know that your payment must be greater than (amount borrowed)*(1 + >> rate/1200) or you will never pay off your mortgage. Your debt would either >> remain the same or continue to accumulate more interest and actually get >> larger. >> >> >> >> On Sun, May 17, 2015 at 8:27 AM, Jimmy Calahorrano via Chicago < >> chicago at python.org> wrote: >> >>> Doug, >>> >>> couple points on this. Have you actually talked to people working on >>> Python for years already? If you just talked to Java/C# developers that >>> have never used Python then they doesn't know what they are talking about. >>> I was one of them (c# developer for about 10 years), i had the tendency to >>> under value javascript for example, and little interest on learning python. >>> Things changed years ago, and I cannot be more grateful for people and >>> situations that ended me working in python. >>> >>> Regarding the mortage escrow calculator that you are talking about real >>> state companies doesn't calculate them, it is the actual lending company >>> that needs to calculate the escrow, on middle size and big ones, they >>> no longer use excel, since this is the most basic calculation that they >>> should get done. I'd research to find out what features are missing on >>> those systems, or if is something else that they need. >>> >>> thanks, >>> Jimmy >>> >>> >>> >>> >>> >>> ------------------------------ >>> *From:* "Lewit, Douglas" >>> *To:* The Chicago Python Users Group >>> *Sent:* Sunday, May 17, 2015 5:45 AM >>> *Subject:* [Chicago] Python for mortgages??? >>> >>> Hey there ladies and gents, >>> >>> I'm kind of proud of this, my latest little Python project. I know my >>> Formatter class is very Java-like, but hey, why not? I've actually had >>> more formal training in Java than in Python, so it makes sense that I bring >>> a certain amount of the Java paradigm to my Python programming projects, >>> which may not necessarily be a bad thing. In chatting with CS professors >>> and others in the community, I still get the feeling that a lot of people >>> still think of Java as a "grownup programming language" while Python is >>> just good for newbies, kids, and amateur programmers. It's an attitude >>> that I really don't like, and of course most of the people with that >>> opinion have not really used Python that much anyhow! So I kind of enjoy >>> exploring the OOP aspects of Python and other pretty heavy-duty aspects of >>> Python, demonstrating that it is just as much a grownup programming >>> language as Java. Unfortunately I have not yet explored the web page >>> development capabilities of Python, but that is definitely on my to-do list >>> for the near future. >>> >>> This program asks the question, "If I borrow some money to buy a house >>> at a certain interest rate (expressed as a percentage) and if I pay a >>> certain amount of money every month, then how many months will it take for >>> me to pay off my mortgage?" Also, what's the total interest going to be? >>> >>> I really like the program, but if anyone can suggest something to make >>> it even better, then hey, by all means let me know. But be polite! I >>> devoted a lot of time to this, so please no replies like, "Doug, your >>> program sucks!" >>> >>> And if you sell my program to some big real estate company, I want a >>> percentage of those profits!!! (I suspect that most realtors use EXCEL to >>> solve these exact same problems.) >>> >>> Enjoy the rest of your weekend and I'm looking forward to reading your >>> feedback and criticisms. >>> >>> Cheers, >>> >>> Douglas Lewit >>> >>> P.S. I probably should have used Python 3 for this, but I went ahead >>> with Python 2 for this project. Sorry guys, but if you run my script with >>> Python 3 it definitely won't run! The print statement won't work and >>> neither will the generators. >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Mon May 18 18:09:07 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Mon, 18 May 2015 11:09:07 -0500 Subject: [Chicago] Python for mortgages??? In-Reply-To: References: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi Rob, But there's something that I don't understand. In Java (strongly typed) this is a big no-no: int x = 5; (Later on in the program): x = "Douglas" (Yes, I could do this: Object x = 5; x = "Douglas"; /* But I think that's cheating!!! */ But in Java once you declare 'x' to be an int, you can't just suddenly turn it into a String. But in Python you can! Which is so cool! You can do this: x = 5 (But later in the program.) x = "Douglas" No problem. I guess I'm a little confused by the difference between static vs. dynamic and weak vs. strong typing. Okay Rob, I need a lesson here! :-) By the way, what's new with Perl? Wasn't Perl sort of "the Python of the 90's"? I don't much about it except for playing around with it a couple times. Is it something that I should try to master or is it becoming a semi-obsolete language? Oh yeah.... with my Mortgage calculator in Python, I think my total interest is slightly off because the final payment is going to be less than (or possibly equal to) all the other payments. Ah well.... I think it's at least a B+ program! (It's not really for a grade. I just like working on these little financial projects. Fun and interesting. ) On Mon, May 18, 2015 at 9:08 AM, Rob Kapteyn wrote: > Just a quick note on a common misconception about Python. > You wrote: > 'Personally, I like the "feel" of the "weakly typed" or dynamic languages, > such as Perl, Ruby and Python.' > > Python is NOT "weakly typed". > It is "strongly, dynamically typed". > Once Python determines the type of an object -- it does not change. > > Weakly typed languages (like Perl) often create horrible bugs in > production when real-world data gets > cast into an unexpected type. This has given "weak typing" a (deservedly) > bad reputation. > > These bugs never happen with Python. > > > > On Sun, May 17, 2015 at 12:16 PM, Lewit, Douglas wrote: > >> Hi Jimmy, >> >> Thanks for the feedback! Right now I mostly work with the Java crowd. >> Honestly, nobody in my department has anything positive to say about Python >> other than "it looks good on your resume". One young lady who used to be >> the graduate tutor in my department said, "Oh please, Python? You can >> learn Programming I in Python in just 30 minutes!!! But C, C++ and Java >> take work and study!" But she was an arrogant little know-it-all and >> -----. (I'll let you use your imagination to fill in the blank! ) >> >> Personally, I like the "feel" of the "weakly typed" or dynamic languages, >> such as Perl, Ruby and Python. They remind me a lot of Maple and >> Mathematica, which provided me with my first experiences in real computer >> programming. Java isn't bad, but I'm not thrilled with how people in my >> department teach Java. >> >> I want to flesh out the program a wee bit more. Add more info to the >> tuples, such as the amount of principal paid up to that point, the amount >> of interest paid up to that point (or month I mean), and.... I guess that's >> it! I haven't got a clue how this would work for a *variable* rate >> mortgage! That would get VERY complicated! With a fixed rate mortgage you >> know that your payment must be greater than (amount borrowed)*(1 + >> rate/1200) or you will never pay off your mortgage. Your debt would either >> remain the same or continue to accumulate more interest and actually get >> larger. >> >> >> >> On Sun, May 17, 2015 at 8:27 AM, Jimmy Calahorrano via Chicago < >> chicago at python.org> wrote: >> >>> Doug, >>> >>> couple points on this. Have you actually talked to people working on >>> Python for years already? If you just talked to Java/C# developers that >>> have never used Python then they doesn't know what they are talking about. >>> I was one of them (c# developer for about 10 years), i had the tendency to >>> under value javascript for example, and little interest on learning python. >>> Things changed years ago, and I cannot be more grateful for people and >>> situations that ended me working in python. >>> >>> Regarding the mortage escrow calculator that you are talking about real >>> state companies doesn't calculate them, it is the actual lending company >>> that needs to calculate the escrow, on middle size and big ones, they >>> no longer use excel, since this is the most basic calculation that they >>> should get done. I'd research to find out what features are missing on >>> those systems, or if is something else that they need. >>> >>> thanks, >>> Jimmy >>> >>> >>> >>> >>> >>> ------------------------------ >>> *From:* "Lewit, Douglas" >>> *To:* The Chicago Python Users Group >>> *Sent:* Sunday, May 17, 2015 5:45 AM >>> *Subject:* [Chicago] Python for mortgages??? >>> >>> Hey there ladies and gents, >>> >>> I'm kind of proud of this, my latest little Python project. I know my >>> Formatter class is very Java-like, but hey, why not? I've actually had >>> more formal training in Java than in Python, so it makes sense that I bring >>> a certain amount of the Java paradigm to my Python programming projects, >>> which may not necessarily be a bad thing. In chatting with CS professors >>> and others in the community, I still get the feeling that a lot of people >>> still think of Java as a "grownup programming language" while Python is >>> just good for newbies, kids, and amateur programmers. It's an attitude >>> that I really don't like, and of course most of the people with that >>> opinion have not really used Python that much anyhow! So I kind of enjoy >>> exploring the OOP aspects of Python and other pretty heavy-duty aspects of >>> Python, demonstrating that it is just as much a grownup programming >>> language as Java. Unfortunately I have not yet explored the web page >>> development capabilities of Python, but that is definitely on my to-do list >>> for the near future. >>> >>> This program asks the question, "If I borrow some money to buy a house >>> at a certain interest rate (expressed as a percentage) and if I pay a >>> certain amount of money every month, then how many months will it take for >>> me to pay off my mortgage?" Also, what's the total interest going to be? >>> >>> I really like the program, but if anyone can suggest something to make >>> it even better, then hey, by all means let me know. But be polite! I >>> devoted a lot of time to this, so please no replies like, "Doug, your >>> program sucks!" >>> >>> And if you sell my program to some big real estate company, I want a >>> percentage of those profits!!! (I suspect that most realtors use EXCEL to >>> solve these exact same problems.) >>> >>> Enjoy the rest of your weekend and I'm looking forward to reading your >>> feedback and criticisms. >>> >>> Cheers, >>> >>> Douglas Lewit >>> >>> P.S. I probably should have used Python 3 for this, but I went ahead >>> with Python 2 for this project. Sorry guys, but if you run my script with >>> Python 3 it definitely won't run! The print statement won't work and >>> neither will the generators. >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From foresmac at gmail.com Tue May 19 00:54:01 2015 From: foresmac at gmail.com (Chris Foresman) Date: Mon, 18 May 2015 17:54:01 -0500 Subject: [Chicago] Python for mortgages??? In-Reply-To: References: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> Message-ID: <0CFD59A5-6C3A-42FA-97E9-96222CD62243@gmail.com> It might be helpful to think of ?x? in your example as a named reference to an object of type int with the value 5. Later, you tell the runtime to use ?x? as a named reference to an object of type str with the value ?Douglas?. When there are no longer any references to the object of type int with value 5, it will basically be garbage collected. There are some implementation details here that might be interesting. The ?id? of each object is unique, and in C Python is the address of the object in memory (pointer)[1]. Also, all integers up to 255 (IIRC, might be slightly different) have fixed memory locations as an optimization since they are so often used[2]. Check out this REPL output: ``` python Python 2.7.6 (default, Sep 9 2014, 15:04:36) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> x = 5 >>> type(x) >>> id(x) 140325469366472 >>> id(5) 140325469366472 >>> x = "Douglas" >>> type(x) >>> id(x) 4439541392 >>> id("Douglas") 4439541392 >>> del(x) >>> x Traceback (most recent call last): File "", line 1, in NameError: name 'x' is not defined >>> id("Douglas") 4439541392 >>> for i in range(10): ... print id(i) ... 140511741515904 140511741515880 140511741515856 140511741515832 140511741515808 140511741515784 140511741515760 140511741515736 140511741515712 140511741515688 ``` Note that even though I?ve ?deleted? x, the object it refers to is still in memory. It hasn?t been garbage collected and deallocated yet. Also note how the location of the object of type int with value 5 is the same as x when x = 5. Also note how memory locations for small ints are sequential (generated when starting the interpreter) and that the size of an int object in Python is 24 bytes. 1. https://docs.python.org/2/library/functions.html#id 2. https://jakevdp.github.io/blog/2014/05/09/why-python-is-slow/ Chris Foresman chris at chrisforesman.com > On May 18, 2015, at 11:09 AM, Lewit, Douglas wrote: > > But in Python you can! Which is so cool! You can do this: > > x = 5 > > (But later in the program.) > > x = "Douglas" > > No problem. > > I guess I'm a little confused by the difference between static vs. dynamic and weak vs. strong typing. Okay Rob, I need a lesson here! :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.j.johnson at gmail.com Tue May 19 01:23:13 2015 From: thomas.j.johnson at gmail.com (Thomas Johnson) Date: Mon, 18 May 2015 23:23:13 +0000 Subject: [Chicago] Python for mortgages??? In-Reply-To: <0CFD59A5-6C3A-42FA-97E9-96222CD62243@gmail.com> References: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> <0CFD59A5-6C3A-42FA-97E9-96222CD62243@gmail.com> Message-ID: Wikipedia might help clarify: - The object-oriented programming languages Smalltalk , Perl , JavaScript , Ruby , Python , and Self are all "strongly typed" in the sense that typing errors are prevented at runtime and they do little implicit type conversion , but these languages make no use of static type checking: the compiler does not check or enforce type constraint rules. The term duck typing is now used to describe the dynamic typing paradigm used by the languages in this group. (https://www.wikiwand.com/en/Strong_and_weak_typing) On Mon, May 18, 2015 at 5:54 PM Chris Foresman wrote: > It might be helpful to think of ?x? in your example as a named reference > to an object of type int with the value 5. Later, you tell the runtime to > use ?x? as a named reference to an object of type str with the value > ?Douglas?. When there are no longer any references to the object of type > int with value 5, it will basically be garbage collected. > > There are some implementation details here that might be interesting. The > ?id? of each object is unique, and in C Python is the address of the object > in memory (pointer)[1]. Also, all integers up to 255 (IIRC, might be > slightly different) have fixed memory locations as an optimization since > they are so often used[2]. > > Check out this REPL output: > > ``` python > Python 2.7.6 (default, Sep 9 2014, 15:04:36) > [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> x = 5 > >>> type(x) > > >>> id(x) > 140325469366472 > >>> id(5) > 140325469366472 > >>> x = "Douglas" > >>> type(x) > > >>> id(x) > 4439541392 > >>> id("Douglas") > 4439541392 > >>> del(x) > >>> x > Traceback (most recent call last): > File "", line 1, in > NameError: name 'x' is not defined > >>> id("Douglas") > 4439541392 > >>> for i in range(10): > ... print id(i) > ... > 140511741515904 > 140511741515880 > 140511741515856 > 140511741515832 > 140511741515808 > 140511741515784 > 140511741515760 > 140511741515736 > 140511741515712 > 140511741515688 > ``` > > Note that even though I?ve ?deleted? x, the object it refers to is still > in memory. It hasn?t been garbage collected and deallocated yet. Also note > how the location of the object of type int with value 5 is the same as x > when x = 5. Also note how memory locations for small ints are sequential > (generated when starting the interpreter) and that the size of an int > object in Python is 24 bytes. > > > 1. https://docs.python.org/2/library/functions.html#id > 2. https://jakevdp.github.io/blog/2014/05/09/why-python-is-slow/ > > > Chris Foresman > chris at chrisforesman.com > > > > On May 18, 2015, at 11:09 AM, Lewit, Douglas wrote: > > But in Python you can! Which is so cool! You can do this: > > x = 5 > > (But later in the program.) > > x = "Douglas" > > No problem. > > I guess I'm a little confused by the difference between static vs. dynamic > and weak vs. strong typing. Okay Rob, I need a lesson here! :-) > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.mcmillan at gmail.com Tue May 19 03:51:37 2015 From: jeremy.mcmillan at gmail.com (Jeremy McMillan) Date: Mon, 18 May 2015 20:51:37 -0500 Subject: [Chicago] Python for mortgages??? In-Reply-To: References: <354540058.454146.1431869268090.JavaMail.yahoo@mail.yahoo.com> Message-ID: Ruby is the new "more than one way to do it" Perl. On Mon, May 18, 2015 at 11:09 AM, Lewit, Douglas wrote: > > By the way, what's new with Perl? Wasn't Perl sort of "the Python of the > 90's"? I don't much about it except for playing around with it a couple > times. Is it something that I should try to master or is it becoming a > semi-obsolete language? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tanya at tickel.net Tue May 19 12:27:37 2015 From: tanya at tickel.net (Tanya Schlusser) Date: Tue, 19 May 2015 05:27:37 -0500 Subject: [Chicago] Perl v Python Message-ID: Colleagues in IT consulting still use Perl because despite its 'more than one way to do it' approach they have a single, stable package (DBI) for database interface that is installed on all of our clients' systems, even legacy solaris ones using Python 2.5. They swear it is the easiest database interface they've ever used. Python has at least a half dozen serious contenders, and a few hundred overall it looks like from pypi . And sometimes installation is nontrivial. People will pull data with Perl scripts, then switch to Python for manipulation. (and used to be then switch to R for analytics). Best, Tanya > > Ruby is the new "more than one way to do it" Perl. > > ----- > > >> By the way, what's new with Perl? Wasn't Perl sort of "the Python of > the > >> 90's"? I don't much about it except for playing around with it a couple > >> times. Is it something that I should try to master or is it becoming a > >> semi-obsolete language? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Tue May 19 15:54:39 2015 From: kirby.urner at gmail.com (kirby urner) Date: Tue, 19 May 2015 06:54:39 -0700 Subject: [Chicago] Perl v Python In-Reply-To: References: Message-ID: On Tue, May 19, 2015 at 3:27 AM, Tanya Schlusser wrote: > Colleagues in IT consulting still use Perl because despite its 'more than > one way to do it' approach they have a single, stable package (DBI) > for database interface that is installed on all of > our clients' systems, even legacy solaris ones using Python 2.5. They swear > it is the easiest database interface they've ever used. > > Python has at least a half dozen serious contenders, and a few hundred > overall it looks like from pypi > . > And sometimes installation is nontrivial. People will pull data with Perl > scripts, then switch to Python for manipulation. (and used to be then > switch to R for analytics). > > Best, > Tanya > > Perl will be popular as long as we have productive Perl programmers and from what I can tell from OSCON (used to be Perl Conference) the torch-passing is going well, i.e. Perl for the next 40 years is in good shape, whether it finally leaps to 6.x or no. Companies vested in Perl do not need to spend big bucks to convert to anything else necessarily. Stay put and be glad you're not using Visual Foxpro (discontinued this year by Microsoft). I find the Python DB API to be easy and stable, once you have one picked and installed. I connect to MySQL for my day job, to PostgreSQL and sqllite3 for hobby projects (sqllite3 is part of the standard library), and out there in server space a million Pythons serve from a million databases no problemo, via Django or whatever. The framework layer matters. A lot of developers do not use the low level DB API as much once they have a framework way of doing things. Through OSCON talks etc. we discover that many companies use hybrid SQL / noSQL meaning the DB API to the noSQL is just as important. I've used Pythons controller for Neo4j with some satisfaction but am still a newbie in that area. Kirby > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.costlow at gmail.com Tue May 19 16:08:20 2015 From: brian.costlow at gmail.com (Brian Costlow) Date: Tue, 19 May 2015 10:08:20 -0400 Subject: [Chicago] Perl v Python In-Reply-To: References: Message-ID: This is a little bit apples & oranges... The Perl DBI is installed, but it's the interface layer, you still need a driver, e.g. DBD::Pg, to access a particular database. And they're not all (or always) installed in a particular distro. I did some Perl work on Solaris w/ Python 2.5 in the early 2000s. Had a fun time (not) getting a newer version of DBD::mysql we needed compiled and installed. The Python equivalent is the db-api, https://www.python.org/dev/peps/pep-0249/ a standard for the API that database drivers should present in Python. Though not all database driver packages implement it. Last, a lot of the stuff that pops up when you search PyPI using the term 'database' aren't database drivers. There are ORMs, utilities for wrapping online services, db utilities, and other stuff in there. Cheers, Brian On Tue, May 19, 2015 at 6:27 AM, Tanya Schlusser wrote: > Colleagues in IT consulting still use Perl because despite its 'more than > one way to do it' approach they have a single, stable package (DBI) > for database interface that is installed on all of > our clients' systems, even legacy solaris ones using Python 2.5. They swear > it is the easiest database interface they've ever used. > > Python has at least a half dozen serious contenders, and a few hundred > overall it looks like from pypi > . > And sometimes installation is nontrivial. People will pull data with Perl > scripts, then switch to Python for manipulation. (and used to be then > switch to R for analytics). > > Best, > Tanya > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Thu May 21 15:28:13 2015 From: shekay at pobox.com (sheila miguez) Date: Thu, 21 May 2015 08:28:13 -0500 Subject: [Chicago] teaching intro programming to geoscience undergrads, via swc list Message-ID: I'm on the Software Carpentry discussion list, and this post and link to a paper looks interesting. It's a write up of experiences teaching programming using python to geoscientist undergrads. The swc list is focused on pedagogy for teaching best programming practices to >= grad students, but people are curious about other populations too. ---------- Forwarded message ---------- From: Gorman, Gerard J Date: Wed, May 20, 2015 at 11:50 PM Subject: [Discuss] teaching intro programming to undergrads To: Software Carpentry Discussion Hi We finally got around to writing up our experiences with teaching introductory programming programming using python. Our interest is teaching students outside of cs where there is already a busy curriculum. It basically tracks 5 years experience from teaching using a traditional lecture style (which was a disaster) to a software carpentry style (which the students *love*). Recently there was some discussion on the list about teaching undergraduates and literature supporting choice for first programming languages etc. We have tried to provide sufficient coverage of the literature to support these choices - hopefully any of you making the case in your own faculty might find these references useful. The preprint is here: http://arxiv.org/abs/1505.05425 We have just submitted it for review and so will have another round of editing before final publication. Please let me know if you have any comments, criticisms suggests, citations missed etc. Regards Gerard _______________________________________________ Discuss mailing list Discuss at lists.software-carpentry.org http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.mcmillan at gmail.com Thu May 21 16:41:19 2015 From: jeremy.mcmillan at gmail.com (Jeremy McMillan) Date: Thu, 21 May 2015 09:41:19 -0500 Subject: [Chicago] teaching intro programming to geoscience undergrads, via swc list In-Reply-To: References: Message-ID: Thanks Sheila! They appear to have some awesome curricula taking shape. We should consider conducting some workshops. I'd pitch in! I just did some exploratory data analysis to troubleshoot some performance issues for a client, and I used iPython notebook. Multiple coworkers have expressed interest in learning Python after I've shared similar work with them, so I've just started looking for some didactic material. I'm really excited to take a deeper look at Software Carpentry now. On Thu, May 21, 2015 at 8:28 AM, sheila miguez wrote: > I'm on the Software Carpentry discussion list, and this post and link to a > paper looks interesting. It's a write up of experiences teaching > programming using python to geoscientist undergrads. > > The swc list is focused on pedagogy for teaching best programming > practices to >= grad students, but people are curious about other > populations too. > > > ---------- Forwarded message ---------- > From: Gorman, Gerard J > Date: Wed, May 20, 2015 at 11:50 PM > Subject: [Discuss] teaching intro programming to undergrads > To: Software Carpentry Discussion > > > Hi > > We finally got around to writing up our experiences with teaching > introductory programming programming using python. Our interest is teaching > students outside of cs where there is already a busy curriculum. It > basically tracks 5 years experience from teaching using a traditional > lecture style (which was a disaster) to a software carpentry style (which > the students *love*). > > Recently there was some discussion on the list about teaching > undergraduates and literature supporting choice for first programming > languages etc. We have tried to provide sufficient coverage of the > literature to support these choices - hopefully any of you making the case > in your own faculty might find these references useful. > > The preprint is here: > http://arxiv.org/abs/1505.05425 > > We have just submitted it for review and so will have another round of > editing before final publication. Please let me know if you have any > comments, criticisms suggests, citations missed etc. > > Regards > Gerard > > _______________________________________________ > Discuss mailing list > Discuss at lists.software-carpentry.org > > http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org > > > > -- > shekay at pobox.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Thu May 21 17:31:29 2015 From: shekay at pobox.com (sheila miguez) Date: Thu, 21 May 2015 10:31:29 -0500 Subject: [Chicago] teaching intro programming to geoscience undergrads, via swc list In-Reply-To: References: Message-ID: On Thu, May 21, 2015 at 9:41 AM, Jeremy McMillan wrote: > after I've shared similar work with them, so I've just started looking for > some didactic material. I'm really excited to take a deeper look at > Software Carpentry now. I have much respect for them. http://software-carpentry.org/ and http://datacarpentry.org/ Following from http://swcarpentry.github.io/training-course/curriculum/ Despite not being a teacher, I've read How Learning Works: Seven Research-Based Principles for Smart Teaching and follow Mark Guzdial's blog, https://computinged.wordpress.com/ There are some good splicings and offshoots from swc and openhatch workshops, e.g. http://mako.cc/copyrighteous/community-data-science-workshops-2 and you can find curriculum by following mako's post. Aaron Shaw is a partner with mako, and he's a prof at Northwestern with some students interested in running a community data science workshop. I was talking with him about it a little bit, but I can't really run a new event this year because I'm all volunteered up with my hackerspace and other things. I told T about it because he mentioned that there is a huge demand for data science events. -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Thu May 21 19:30:15 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Thu, 21 May 2015 12:30:15 -0500 Subject: [Chicago] teaching intro programming to geoscience undergrads, via swc list In-Reply-To: References: Message-ID: This was really interesting. There are so many different philosophies about the right way to teach programming. I have met people who are very traditional and hard-core, and believe in the "pure" paper and pencil approach. Just write everything on paper, and then use the computer to test your programs when you get back home from the class. Personally, I hate that style of teaching! That's exactly the reason I'm not a math major anymore! I don't like the pure "paper and pencil" approach to programming. I want to develop stuff on my laptop and actually run my code to see if it works. I don't like CS teachers who believe that the best compiler is the one in your head cause that's usually not the case!!! I've also noticed a lot of CS professors focus almost exclusively on math problems. I mean that's okay up to a point. That stuff is really interesting. BUT.... it would be nice if some of these professors taught security testing, web page development, and the more hands-on "carpentry style" stuff, the meat and potatoes that you need to really work in the field as a professional developer. I'm kind of tired of all the theory and oh yes, let's figure out the Big-O for this particular algorithm! I mean.... if that's really what I wanted to learn, I would have stayed in the math department! Douglas. On Thu, May 21, 2015 at 8:28 AM, sheila miguez wrote: > I'm on the Software Carpentry discussion list, and this post and link to a > paper looks interesting. It's a write up of experiences teaching > programming using python to geoscientist undergrads. > > The swc list is focused on pedagogy for teaching best programming > practices to >= grad students, but people are curious about other > populations too. > > > ---------- Forwarded message ---------- > From: Gorman, Gerard J > Date: Wed, May 20, 2015 at 11:50 PM > Subject: [Discuss] teaching intro programming to undergrads > To: Software Carpentry Discussion > > > Hi > > We finally got around to writing up our experiences with teaching > introductory programming programming using python. Our interest is teaching > students outside of cs where there is already a busy curriculum. It > basically tracks 5 years experience from teaching using a traditional > lecture style (which was a disaster) to a software carpentry style (which > the students *love*). > > Recently there was some discussion on the list about teaching > undergraduates and literature supporting choice for first programming > languages etc. We have tried to provide sufficient coverage of the > literature to support these choices - hopefully any of you making the case > in your own faculty might find these references useful. > > The preprint is here: > http://arxiv.org/abs/1505.05425 > > We have just submitted it for review and so will have another round of > editing before final publication. Please let me know if you have any > comments, criticisms suggests, citations missed etc. > > Regards > Gerard > > _______________________________________________ > Discuss mailing list > Discuss at lists.software-carpentry.org > > http://lists.software-carpentry.org/mailman/listinfo/discuss_lists.software-carpentry.org > > > > -- > shekay at pobox.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Thu May 21 20:11:02 2015 From: shekay at pobox.com (sheila miguez) Date: Thu, 21 May 2015 13:11:02 -0500 Subject: [Chicago] teaching intro programming to geoscience undergrads, via swc list In-Reply-To: References: Message-ID: On Thu, May 21, 2015 at 12:30 PM, Lewit, Douglas wrote: > This was really interesting. There are so many different philosophies > about the right way to teach programming. I have met people who are very > traditional and hard-core, and believe in the "pure" paper and pencil > approach. Just write everything on paper, and then use the computer to > test your programs when you get back home from the class. Personally, I > hate that style of teaching! That's exactly the reason I'm not a math > major anymore! [...] > Different pedagogies can be applied to math education too, but not everyone uses them. One of the coolest classes I had for my CS degree was a combinatorics and graph theory class taught in the math department by a prof who was also in the education department. Cool things about the class: * He had people interact by doing combinations of students to work with each other on assignments. This caused small groups of students to interact and teach each other. He encouraged everyone to collaborate and talk things out. * He would intersperse lectures with demonstrations involving poker, math physibles, maps, etc. After that class I was pissed off that combinators and graph theory weren't taught in the k12 program I went through. Calculus etc are okay but there are so many different types of mathematics and the CS kind is really cool. I was double-degreeing CS and psych and another fun math-focused class I had was statistics for psychology students (I tool a stats for engineering students too). That one was fun because it talked about experimental methodology and the math required for it. It was pretty cool followed by a human factors class taught in the CS department where we had a class project to implement an interface to something followed by experiments with it. The other students in my team didn't know much about experimental design and statistical analysis of the data and I was able to help out a lot due the experience in the psyc department. (This was also the class where I learned tcl/tk and wrote a simple ZUI program that also measured reaction times). -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Thu May 21 20:19:57 2015 From: shekay at pobox.com (sheila miguez) Date: Thu, 21 May 2015 13:19:57 -0500 Subject: [Chicago] teaching intro programming to geoscience undergrads, via swc list In-Reply-To: References: Message-ID: On Thu, May 21, 2015 at 1:11 PM, sheila miguez wrote: > One of the coolest classes I had for my CS degree was a combinatorics and > graph theory class taught in the math department by a prof who was also in > the education department. Cool things about the class: > okay, now that I'm reminiscing, the other favorite class I had was advanced logic with an eccentric professor who didn't use any text book and handed out a photocopy from a Greek textbook so that everyone would be familiar with the Greek alphabet. He totally lectured and wrote the hell out of the chalkboard, but it was so kick ass and we were completely enthralled and scribbling. He also refused to give grades during hte semester. We kept a homework journal and would turn it in periodically. He'd return it back with feedback and we had to keep turning it in until we reached the quality he expected. He'd leave fake grades like "probably eventually pass" and "pass". I got a kick out of the photocopy because it was from a Greek textbook I had from when I took some classical Greek courses for a couple of semesters. This was in the math department and also counted towards a CS degree. Okay... and while I was there, I found a mathy class in the philosophy department that also concerned logic and took that too. excellent combo of classes. I had thought about adding philosophy as a major for cognitive science stuff but ended up adding psychology because it felt like experimental philosophy. -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdumblauskas at gmail.com Thu May 21 23:52:31 2015 From: jdumblauskas at gmail.com (Jerry Dumblauskas) Date: Thu, 21 May 2015 16:52:31 -0500 Subject: [Chicago] from Charlie, who sponsored last week's meeting Message-ID: Hello ChiPy, It was great having everyone at our building for the Ultimate Language Shootout. The event was awesome and a lot of fun! As I mentioned at the beginning of the evening, Computer Futures is a big supporter of Python and ChiPy. We have teams here that focus only on recruiting for Python roles. I have attached to this email three current openings we are working on. If you or someone you know is interested, or you would like to hear more, please let me know. All the best, Charlie Ginzburg Sthree Chicago ? Computer Futures Senior Team Manager 312 453 9099 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdumblauskas at gmail.com Fri May 22 00:20:16 2015 From: jdumblauskas at gmail.com (Jerry Dumblauskas) Date: Thu, 21 May 2015 17:20:16 -0500 Subject: [Chicago] and Charlie's attachments Message-ID: thx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SQLSever Python Developer - Computer Futures.pdf Type: application/pdf Size: 50380 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Computer Futures & ChiPy agreement draft.pdf Type: application/pdf Size: 48926 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Java Python Developer - Computer Futures.pdf Type: application/pdf Size: 49184 bytes Desc: not available URL: From d-lewit at neiu.edu Fri May 22 10:27:14 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Fri, 22 May 2015 03:27:14 -0500 Subject: [Chicago] teaching intro programming to geoscience undergrads, via swc list In-Reply-To: References: Message-ID: Sheila, Which university did you attend? Sounds like a great place!!! When I was working on my math degree I think my favorite classes were Calculus I (because the teacher was so cool and really friendly ), Linear Programming (not to be confused with computer programming ), Linear Algebra (great teacher and I think arrays and matrices are just really interesting) and also Maple programming. (Yeah I know, Maple isn't fashionable anymore, but it really is a nice software package for advanced mathematical analysis. It also comes out of Canada, and I love Canada! I may even retire there someday, but we'll see about that.) Every math department is a little different. Generally (but not necessarily) math department that call themselves "applied math" are going to emphasize a lot of programming. I spent a semester at IIT in the math department and I really didn't like it. For one thing, there seems to be a strong cultural conflict there. I felt that the professors treated the Chinese and American students differently, but maybe that was just how I perceived it. But also, the math department there claims to be "applied math", but I thought my courses were uber, super theoretical. Not much emphasis on programming or computer applications. That's why I didn't continue with the math program there. So now I'm working on my M.S. in CS at Northeastern. Northeastern may not be the best university around, but it's affordable and most of the people there are pretty open and friendly. The profs are usually willing to help students, and for the most part students communicate and cooperate with one another regardless of different cultural or racial backgrounds. Your Combinatorics class sounds really interesting! There certainly is a fair amount of overlap between math and computer science departments. A lot of math majors minor in CS and a lot of CS majors minor in math. So obviously the two disciplines are closely related, but again that doesn't mean that ALL mathematicians are programmers! NO WAY! I know a really good math prof at Northeastern who hates to program, and she will openly admit it. On the flip side of that you've got some pretty good programmers who really do not like discrete math, discrete structures, finite state machines, cellular automata, algorithms, etc. These people can usually turn out great code, but they're just not that good at or not interested in a lot of the purely academic or theoretical stuff. I think what got me into programming was really my course in Maple and also my Linear Algebra course. I thought Maple was really cool, and ever since Linear Algebra I've been really into all kinds of algorithms that work on arrays and matrices. (A good example would be the algorithm that applies the Gauss-Jordan reduction method to a matrix in order to solve a system of linear equations. It's actually not a trivial program to write. Never tried it in Python or Java, but I implemented the algorithm in Mathematica using the Wolfram Language. ) On Thu, May 21, 2015 at 1:19 PM, sheila miguez wrote: > > On Thu, May 21, 2015 at 1:11 PM, sheila miguez wrote: > >> One of the coolest classes I had for my CS degree was a combinatorics and >> graph theory class taught in the math department by a prof who was also in >> the education department. Cool things about the class: >> > > okay, now that I'm reminiscing, the other favorite class I had was > advanced logic with an eccentric professor who didn't use any text book and > handed out a photocopy from a Greek textbook so that everyone would be > familiar with the Greek alphabet. > > He totally lectured and wrote the hell out of the chalkboard, but it was > so kick ass and we were completely enthralled and scribbling. He also > refused to give grades during hte semester. We kept a homework journal and > would turn it in periodically. He'd return it back with feedback and we had > to keep turning it in until we reached the quality he expected. He'd leave > fake grades like "probably eventually pass" and "pass". > > I got a kick out of the photocopy because it was from a Greek textbook I > had from when I took some classical Greek courses for a couple of semesters. > > This was in the math department and also counted towards a CS degree. > > Okay... and while I was there, I found a mathy class in the philosophy > department that also concerned logic and took that too. excellent combo of > classes. I had thought about adding philosophy as a major for cognitive > science stuff but ended up adding psychology because it felt like > experimental philosophy. > > > -- > shekay at pobox.com > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eviljoel at linux.com Fri May 22 06:36:13 2015 From: eviljoel at linux.com (eviljoel) Date: Thu, 21 May 2015 23:36:13 -0500 Subject: [Chicago] William Binney to Speak in Chicago, June 2nd Message-ID: <555EB23D.1080606@linux.com> Hey All, William Binny is a former NSA employee who will speak early next month about the surveillance programs he helped to create as well as privacy today. Should be good. Details below. - eviljoel --- As a part of "Stand Up For Truth," a week-long international series of events in support of whistleblowers worldwide, Chicago Area Peace Action brings you: William Binney and Marcy Wheeler Tuesday, June 2 North Park University | Hamming Hall 3225 W. Foster Ave. | Chicago Free | Free Parking (details below) Host: Jerome McDonnell of WBEZ's "Worldview" *William Binney* had a 30-year career with the NSA, culminating as the Technical Leader for Intelligence. In that capacity he designed an information processing system named ThinThread, which was designed to sift through electronic communications while protecting the privacy of US citizens. This system was shelved (three weeks prior to 9/11) in favor of a more comprehensive system, TrailBlazer, that lacked privacy provisions. That program would grow to the massive worldwide eavesdropping system exposed by Edward Snowden. Binney resigned in protest at what he felt was a violation of the Constitutional rights of Americans. His story is told in some detail in James Risen's book Pay Any Price: Greed, Power and Endless War. *Marcy Wheeler* is an independent journalist who writes regularly on issues of national security, surveillance and civil liberties. She has written the blog Empty Wheel since 2011 and authored the book "Anatomy of Deceit: How the Bush Administration Used the Media to Sell the Iraq War and Out a Spy" ------ LINKS Chicago Area Peace Action: http://ChiPeaceAction.org/ Stand Up for Truth: http://standupfortruth.org/ CAPA Website Event Post: http://chipeaceaction.org/?p=3710 CAPA's General Event Page: http://chipeaceaction.org/new-upcoming-events Bill Binney: http://en.wikipedia.org/wiki/William_Binney_%28U.S._intelligence_official%29 Marcy Wheeler: http://en.wikipedia.org/wiki/Marcy_Wheeler Risen's Book: http://www.amazon.com/dp/0544341414/?tag=mh0b-20&hvadid=7000153633&hvqmt=e&hvbmt=be&hvdev=c&ref=pd_sl_5yae2v5b18_e Empty Wheel: http://emptywheel.firedoglake.com/ Facebook: https://www.facebook.com/events/879517152091562/ Recent article on Binney in TruthDig: http://www.truthdig.com/avbooth/item/nsa_whistleblower_william_binney_seeking_the_power_to_blackmail_20150515 - - - - - - TRANSPORTATION DETAILS - - - - - - - Free parking in North Park University lots at Kedzie / Foster, Kedzie / Carmen, and Kimball / Foster. CTA Buses: Foster #92, California #93 Kimball-Homan #82 The Kimball and Kedzie/Spaulding stations of the CTA Brown Line are within walking distance of the campus. Questions: Info at ChiPeaceAction.net Press: 571.259.4324 Chicago Area Peace Action (CAPA) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jeremy.mcmillan at gmail.com Fri May 22 16:16:45 2015 From: jeremy.mcmillan at gmail.com (Jeremy McMillan) Date: Fri, 22 May 2015 09:16:45 -0500 Subject: [Chicago] teaching intro programming to geoscience undergrads, via swc list In-Reply-To: References: Message-ID: I think there is a yin and yang to programming, and I really hate when people disparage one side of it because they feel like they've been neglected on the other. Let me tell you what my practical bread and butter is: *guessing* what the Big-O is for some pathologically broken opaquely complicated software+hardware construct after it's caused pain and suffering. Say what you will, but being able to get the meat and potatoes stuff on the same plate with the bread and butter is what qualifies a good programmer for a lucrative six figure hands on leadership role. So, while I think we need to meet people where they are at, which is why Software Carpentry is generating so much excitement, the goal is to get everyone to the point where they understand how to learn algorithms/architectures, evaluate their Big-O cost, choose the best (or at least good enough) combination for their problem, and get it done, skipping the traditional "oh crap it totally fails under production load" failure mode. On Thu, May 21, 2015 at 12:30 PM, Lewit, Douglas wrote: > I've also noticed a lot of CS professors focus almost exclusively on math > problems. I mean that's okay up to a point. That stuff is really > interesting. BUT.... it would be nice if some of these professors taught > security testing, web page development, and the more hands-on "carpentry > style" stuff, the meat and potatoes that you need to really work in the > field as a professional developer. I'm kind of tired of all the theory and > oh yes, let's figure out the Big-O for this particular algorithm! I > mean.... if that's really what I wanted to learn, I would have stayed in > the math department! > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ken at stox.org Fri May 22 16:27:46 2015 From: ken at stox.org (Kenneth Stox) Date: Fri, 22 May 2015 09:27:46 -0500 Subject: [Chicago] William Binney to Speak in Chicago, June 2nd In-Reply-To: <555EB23D.1080606@linux.com> References: <555EB23D.1080606@linux.com> Message-ID: <1432304866.8594.9.camel@stox.org> Bill has followed the official process of disclosure. If anyone ever asks you, "Why Edward Snowden didn't just follow the law?" Point them to Bill. If you read between the lines, Bill's disclosures are more horrifying than Edward's. Speaking of disclosures: I worked with Bill, and then Edward, at the last two H.O.P.E. conferences. -Ken Stox ken at stox.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 213 bytes Desc: This is a digitally signed message part URL: From skip.montanaro at gmail.com Fri May 22 17:00:58 2015 From: skip.montanaro at gmail.com (Skip Montanaro) Date: Fri, 22 May 2015 10:00:58 -0500 Subject: [Chicago] William Binney to Speak in Chicago, June 2nd In-Reply-To: <555EB23D.1080606@linux.com> References: <555EB23D.1080606@linux.com> Message-ID: On Thu, May 21, 2015 at 11:36 PM, eviljoel wrote: > William Binney > and > Marcy Wheeler > Tuesday, June 2 > North Park University | Hamming Hall > 3225 W. Foster Ave. | Chicago > Free | Free Parking (details below) Any idea what time this is at? I searched your message but didn't see it mentioned. Of course, my filters might have missed it. Perhaps I should ask the NSA for the time. :-) Also, is this being done in concert with World View? If so, we can probably hear part/all of it on Jerome McDonnell's program. Skip From eviljoel at linux.com Fri May 22 17:05:12 2015 From: eviljoel at linux.com (eviljoel) Date: Fri, 22 May 2015 10:05:12 -0500 Subject: [Chicago] William Binney to Speak in Chicago, June 2nd In-Reply-To: References: <555EB23D.1080606@linux.com> Message-ID: Yeah, sorry. It is at 7:00 PM to 9:00 PM (June 2nd). - eviljoel On Fri, May 22, 2015 at 10:00 AM, Skip Montanaro wrote: > On Thu, May 21, 2015 at 11:36 PM, eviljoel wrote: >> William Binney >> and >> Marcy Wheeler >> Tuesday, June 2 >> North Park University | Hamming Hall >> 3225 W. Foster Ave. | Chicago >> Free | Free Parking (details below) > > Any idea what time this is at? I searched your message but didn't see > it mentioned. Of course, my filters might have missed it. Perhaps I > should ask the NSA for the time. :-) Also, is this being done in > concert with World View? If so, we can probably hear part/all of it on > Jerome McDonnell's program. > > Skip From randy7771026 at gmail.com Fri May 22 17:39:01 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Fri, 22 May 2015 10:39:01 -0500 Subject: [Chicago] teaching intro programming to geoscience undergrads, via swc list In-Reply-To: References: Message-ID: Here, here, I am old enough that most coders today look like mokeys trying to type out Hamlet. My first program was on cards, then I did my Freshman chemistry lab equations on a Singer terminal with a TSO type interface and not knowing what computer I was on before moving on to write many large scale system with my arms folded. I used Mathematica in the 80s and recently began to work throw Ng's ML class in Python which has been a pain due to not knowing Linux as well as I need to so taking a Linux class. PyHou had a lightning talk on Conda and discussions after with folks on the relation between PyCharm, Python and Anaconda as well as a better understanding of Linux may eventually get me to where I want to be. We will not be diverse until we can all not need to worry about diversity or see diversity as something achieved by inserting x percentiage of any type of diversity. On Fri, May 22, 2015 at 9:16 AM, Jeremy McMillan wrote: > I think there is a yin and yang to programming, and I really hate when > people disparage one side of it because they feel like they've been > neglected on the other. Let me tell you what my practical bread and butter > is: *guessing* what the Big-O is for some pathologically broken opaquely > complicated software+hardware construct after it's caused pain and > suffering. Say what you will, but being able to get the meat and potatoes > stuff on the same plate with the bread and butter is what qualifies a good > programmer for a lucrative six figure hands on leadership role. > > So, while I think we need to meet people where they are at, which is why > Software Carpentry is generating so much excitement, the goal is to get > everyone to the point where they understand how to learn > algorithms/architectures, evaluate their Big-O cost, choose the best (or at > least good enough) combination for their problem, and get it done, skipping > the traditional "oh crap it totally fails under production load" failure > mode. > > On Thu, May 21, 2015 at 12:30 PM, Lewit, Douglas wrote: > >> I've also noticed a lot of CS professors focus almost exclusively on math >> problems. I mean that's okay up to a point. That stuff is really >> interesting. BUT.... it would be nice if some of these professors taught >> security testing, web page development, and the more hands-on "carpentry >> style" stuff, the meat and potatoes that you need to really work in the >> field as a professional developer. I'm kind of tired of all the theory and >> oh yes, let's figure out the Big-O for this particular algorithm! I >> mean.... if that's really what I wanted to learn, I would have stayed in >> the math department! >> >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Sat May 23 19:33:19 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Sat, 23 May 2015 12:33:19 -0500 Subject: [Chicago] Fwd: [python-14] PyTexas 2015 Call For Proposals In-Reply-To: <933715127.1432401509287.JavaMail.nobody@james1.pvt.meetup.com> References: <933715127.1432401509287.JavaMail.nobody@james1.pvt.meetup.com> Message-ID: Road trip anyone? ---------- Forwarded message ---------- From: Glen Zangirolami Date: Sat, May 23, 2015 at 12:18 PM Subject: [python-14] PyTexas 2015 Call For Proposals To: python-14-announce at meetup.com Hope everyone is having a great Memorial Day weekend! The PyTexas 2015 Call for Proposals is now open! Submit your talk proposals today. Hey, you have some extra time this Memorial Weekend, so eat an extra hamburger and before you fall into a food coma, submit an idea for a lightning talk (5 min), short talk (20 min), long talk (50 min), or tutorial (3 hrs). See our Call for Proposals for all the details about speaking at PyTexas. We love both experienced and first time speakers, so no matter what your age or background, summon your inner honey badger and submit your talk ideas. -- This message was sent by Glen Zangirolami (glenbot at gmail.com) from PyHou - Houston Python Enthusiasts! . To learn more about Glen Zangirolami, visit his/her member profile To report this message or block the sender, please click here To unsubscribe from special announcements from your Organizer(s), click here Meetup, POB 4668 #37895 NY NY USA 10163 <#14d81c88132d1e8f_> | support at meetup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From adam at adamforsyth.net Sat May 23 21:09:42 2015 From: adam at adamforsyth.net (Adam Forsyth) Date: Sat, 23 May 2015 14:09:42 -0500 Subject: [Chicago] Fwd: [python-14] PyTexas 2015 Call For Proposals In-Reply-To: References: <933715127.1432401509287.JavaMail.nobody@james1.pvt.meetup.com> Message-ID: Thanks Randy! PyOhio (closes June 1), PyGotham (closes June 14, I can't seem to visit it in Firefox), and PyConUK (closes June 19) are all also open! On Sat, May 23, 2015 at 12:33 PM, Randy Baxley wrote: > > Road trip anyone? > > ---------- Forwarded message ---------- > From: Glen Zangirolami > Date: Sat, May 23, 2015 at 12:18 PM > Subject: [python-14] PyTexas 2015 Call For Proposals > To: python-14-announce at meetup.com > > > Hope everyone is having a great Memorial Day weekend! > > The PyTexas 2015 Call for Proposals is now open! Submit your talk > proposals today. Hey, > you have some extra time this Memorial Weekend, so eat an extra hamburger > and before you fall into a food coma, submit an idea for a lightning talk > (5 min), short talk (20 min), long talk (50 min), or tutorial (3 hrs). See > our Call for Proposals > for all the > details about speaking at PyTexas. We love both experienced and first time > speakers, so no matter what your age or background, summon your inner honey > badger and submit your talk ideas. > > > > > -- > This message was sent by Glen Zangirolami (glenbot at gmail.com) from PyHou > - Houston Python Enthusiasts! . > To learn more about Glen Zangirolami, visit his/her member profile > > To report this message or block the sender, please click here > > To unsubscribe from special announcements from your Organizer(s), click > here > > > Meetup, POB 4668 #37895 NY NY USA 10163 > <#14d81d61c8ac65b4_14d81c88132d1e8f_> | support at meetup.com > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben at hackership.org Mon May 25 05:46:28 2015 From: ben at hackership.org (Benjamin Kampmann) Date: Sun, 24 May 2015 23:46:28 -0400 Subject: [Chicago] Join Hackership's learning retreat in Costa Rica - Discount inside! Message-ID: Hi Pythonistas of Chicago, In our fast-paced field, technologies and frameworks change faster than milk goes bad - Python is no exception. It's hard to find the time to keep up. Time to work on your own projects. And let's face it, even when you do have the time, and Netflix did not publish a new series, you may get stuck. And you may end up spending an hour, or a day, or even the entire weekend sifting through Stackoverflow answers (I've been there...). It's easy to get demotivated; you may even stop learning altogether. Here's an idea. Instead of learning on your own (or not at all), come learn with us, Hackership. And instead of learning in a badly ventilated room somewhere, do it *on a beach in Costa Rica*! Wait. Hang on. What is Hackership? Glad you asked. *Hackership is a 9-week, self-directed, learning retreat for software developers. * *Self-directed *means no classrooms and no exams. You decide what you want to learn and how you want to learn it. We provide a community of other hackers and developers, as well as* talented coaches* to help you and review your code. Next to that, our daily structure, planning sessions and *weekly demo's* will make sure you stay on track. It is our mission to create a *safe, distraction-free space* that allows you to explore and learn, faster than ever before. Sound good? *Join our autumn batch in Costa Rica* (right on the beach!): hackership.org/apply. And because you belong to Chicago Python community, we'll give you a *250 USD community discount* on the regular price for the Costa Rica batch of Hackership, if you apply with the code: ChiPy-HS. The discount expires at the end of the month, so hurry up! If you have any questions, feel free to email me. Happy Hacking! Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Mon May 25 10:15:54 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Mon, 25 May 2015 03:15:54 -0500 Subject: [Chicago] Fun at Pumping Station last Wednesday night. Message-ID: Hi guys, I just wanted to say that it was really nice to meet some of you at Pumping Station last week. Definitely a fun evening, and I appreciate the various suggestions on how to use Python. But I'm still confused why *next("name of generator")* is better than *"name of generator".__next__( )* I mean.... they do the same thing! What's the difference between the Pumping Station meetings and the meetings at Brain Tree? Similar setup or something different? I'm curious about membership dues and benefits at Pumping Station. * The workshop on the first floor is amazing!!!* But not much point to having access to the workshop without a teacher or mentor. Are there classes for members so that they can learn how to use the various machines in the workshop? This is totally off topic and not about Python at all, but if anyone is interested in arts and crafts or workshop classes, etc, etc, you should really check out the following site: www.folkschool.com or www.folkschool.org Wow! A really nice "folk school" in the western part of North Carolina that is dedicated to the preservation of 19th century Appalachian arts and crafts. I took some blacksmithing classes there when I was a bit younger, and I had the time of my life! (Not to mention that the scenery is really amazing, beautiful, peaceful and super inspirational.) The first floor of Pumping Station One brought back fond memories of the time I spent there. They offer these one-week classes and workshops, so it's not like you have to quit your job and move to North Carolina forever. I love that place. If you ever want to escape from all the madness of the 21st century and take a vacation in the 19th century (and also explore your inner artist or craftsman) then that's a great place to visit for one week. Highly recommended! Cheers, Douglas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.haugen at gmail.com Mon May 25 13:12:15 2015 From: bob.haugen at gmail.com (Bob Haugen) Date: Mon, 25 May 2015 06:12:15 -0500 Subject: [Chicago] Fun at Pumping Station last Wednesday night. In-Reply-To: References: Message-ID: On Mon, May 25, 2015 at 3:15 AM, Lewit, Douglas wrote: > www.folkschool.com or www.folkschool.org > > Wow! A really nice "folk school" in the western part of North Carolina that If you like that kind of thing, here's another, somewhat closer: http://driftlessfolkschool.org/ From randy7771026 at gmail.com Mon May 25 16:35:17 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Mon, 25 May 2015 09:35:17 -0500 Subject: [Chicago] Fun at Pumping Station last Wednesday night. In-Reply-To: References: Message-ID: The lines in the tech social environment are often like the invisible barrier in Monte Python's Time Bandits. I would say though just go to each meetup a few times and form your own definition of what each meetup is for you. For me though the Braintree thing is a time to hack among people hacking on the same types of things and with Python. The PS1 thing is Office Hours where the professor might be you one second and the next second you are the student. The problem for me with PS1 is that there are so many interesting things there in addition to the Office Hours. Membership, dues and such for them are questions to be answered by members there like Carl and Sheila, the PS1 web site and they have a tour which I think is on Sundays and then a board meeting where folks attend and learn more though some just go online and pull the trigger but the various meetups often do not require people attending to be members. On Mon, May 25, 2015 at 3:15 AM, Lewit, Douglas wrote: > Hi guys, > > I just wanted to say that it was really nice to meet some of you at > Pumping Station last week. Definitely a fun evening, and I appreciate the > various suggestions on how to use Python. But I'm still confused why *next("name > of generator")* is better than *"name of generator".__next__( )* I > mean.... they do the same thing! > > What's the difference between the Pumping Station meetings and the > meetings at Brain Tree? Similar setup or something different? > > I'm curious about membership dues and benefits at Pumping Station. * The > workshop on the first floor is amazing!!!* But not much point to having > access to the workshop without a teacher or mentor. Are there classes for > members so that they can learn how to use the various machines in the > workshop? > > This is totally off topic and not about Python at all, but if anyone is > interested in arts and crafts or workshop classes, etc, etc, you should > really check out the following site: > > www.folkschool.com or www.folkschool.org > > Wow! A really nice "folk school" in the western part of North Carolina > that is dedicated to the preservation of 19th century Appalachian arts and > crafts. I took some blacksmithing classes there when I was a bit younger, > and I had the time of my life! (Not to mention that the scenery is really > amazing, beautiful, peaceful and super inspirational.) The first floor of > Pumping Station One brought back fond memories of the time I spent there. > They offer these one-week classes and workshops, so it's not like you have > to quit your job and move to North Carolina forever. I love that place. > If you ever want to escape from all the madness of the 21st century and > take a vacation in the 19th century (and also explore your inner artist or > craftsman) then that's a great place to visit for one week. Highly > recommended! > > Cheers, > > Douglas. > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From djuber at gmail.com Mon May 25 19:37:33 2015 From: djuber at gmail.com (Daniel Uber) Date: Mon, 25 May 2015 12:37:33 -0500 Subject: [Chicago] Fun at Pumping Station last Wednesday night. In-Reply-To: References: Message-ID: <55635DDD.5020105@gmail.com> Hi Douglas, On 5/25/15 3:15 AM, Lewit, Douglas wrote:> Hi guys, > I'm still confused > why */next("name of generator")/* is better than */"name of > generator".__next__( )/* I mean.... they do the same thing! > I would say that in almost every case, functions that have the double underscore starting and ending their name are private, and generally support a public api with clearer names. Like integer.__add__() or list.__getitem__(). There are times when you might need to pass these as arguments, but it's probably bad style to use these directly instead of + and []. For generators, a similar supporting (function, language feature) pair exists. next(name of generator) is the language feature, like inline addition, and is preferred for reasons of style, although it is equivalent in function to the underlying __next__ function. Calling the private API directly is bad style (someone thought out how to represent this in the public api). But that might be my own misinterpretation of python culture. PEP8 says if it's documented, it's public, but that double underscore names are 'magic', and all examples given there exist to support language features. https://www.python.org/dev/peps/pep-0008/#public-and-internal-interfaces Documented interfaces are considered public, unless the documentation explicitly declares them to be provisional or internal interfaces exempt from the usual backwards compatibility guarantees. All undocumented interfaces should be assumed to be internal. https://www.python.org/dev/peps/pep-0008/#descriptive-naming-styles : __double_leading_and_trailing_underscore__ : "magic" objects or attributes that live in user-controlled namespaces. E.g. __init__ , __import__ or __file__ . Never invent such names; only use them as documented. From djuber at gmail.com Mon May 25 19:52:52 2015 From: djuber at gmail.com (Daniel Uber) Date: Mon, 25 May 2015 12:52:52 -0500 Subject: [Chicago] Fun at Pumping Station last Wednesday night. In-Reply-To: <55635DDD.5020105@gmail.com> References: <55635DDD.5020105@gmail.com> Message-ID: <55636174.2020100@gmail.com> Hi Douglas, About the magic methods, the short answer is that these are functions that python calls, not you. You might ask why to call next(mygenerator) instead of mygenerator.__next__.__call__(), also, since these again do the same thing. Does mygenerator.__next__.__call__.__call__() do the same thing (yes). Rafe Kettler had a good writeup on these at http://rafekettler.com/magicmethods.html or at http://www.rafekettler.com/magicmethods.pdf Which would you rather see in code when you were reading? Of course the 'natural' one that's built into the language. The situation with next and __next__ is completely parallel. >>> alist = [1,2,3] >>> alist[0] 1 >>> alist.__getitem__(0) 1 >>> alist.__getitem__.__call__(0) 1 >>> alist.__getitem__.__call__.__call__(0) 1 From brianhray at gmail.com Tue May 26 12:40:39 2015 From: brianhray at gmail.com (Brian Ray) Date: Tue, 26 May 2015 05:40:39 -0500 Subject: [Chicago] Topic proposal Message-ID: let me know if this sounds interesting: Big Shoulders Data Camp presents an ?Introduction to PySpark?. One of our top instructors and data scientists, Adam McElhinney, will be giving a talk on working with PySpark, and presenting a use case. Audience is encouraged to come prepared to take notes, ask questions, and get a high-level understanding on one of Python's many analytical libraries. -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.mcmillan at gmail.com Tue May 26 14:28:30 2015 From: jeremy.mcmillan at gmail.com (Jeremy McMillan) Date: Tue, 26 May 2015 07:28:30 -0500 Subject: [Chicago] Topic proposal In-Reply-To: References: Message-ID: Oyeah! On Tue, May 26, 2015 at 5:40 AM, Brian Ray wrote: > let me know if this sounds interesting: > > Big Shoulders Data Camp presents an ?Introduction to PySpark?. One of our > top instructors and data scientists, Adam McElhinney, will be giving a talk > on working with PySpark, and presenting a use case. Audience is encouraged > to come prepared to take notes, ask questions, and get a high-level > understanding on one of Python's many analytical libraries. > > > -- > Brian Ray > @brianray > (773) 669-7717 > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shekay at pobox.com Tue May 26 15:53:52 2015 From: shekay at pobox.com (sheila miguez) Date: Tue, 26 May 2015 08:53:52 -0500 Subject: [Chicago] Fun at Pumping Station last Wednesday night. In-Reply-To: References: Message-ID: Thanks Randy, nice answers. I will follow on your post with some links. It happens that we have some overlap with people here, but for ps1 questions folks can get better mileage from the ps1 urls and mailing list than from here, so I'll direct y'all to: http://pumpingstationone.org https://wiki.pumpingstationone.org/Main_Page https://groups.google.com/forum/#!forum/pumping-station-one-public There are weekly tours after the public meetings on Tuesday, check the events calendar for details. On Mon, May 25, 2015 at 9:35 AM, Randy Baxley wrote: > The lines in the tech social environment are often like the invisible > barrier in Monte Python's Time Bandits. > > I would say though just go to each meetup a few times and form your own > definition of what each meetup is for you. > > For me though the Braintree thing is a time to hack among people hacking > on the same types of things and with Python. > > The PS1 thing is Office Hours where the professor might be you one second > and the next second you are the student. > > The problem for me with PS1 is that there are so many interesting things > there in addition to the Office Hours. Membership, dues and such for them > are questions to be answered by members there like Carl and Sheila, the PS1 > web site and they have a tour which I think is on Sundays and then a board > meeting where folks attend and learn more though some just go online and > pull the trigger but the various meetups often do not require people > attending to be members. > > On Mon, May 25, 2015 at 3:15 AM, Lewit, Douglas wrote: > >> Hi guys, >> >> I just wanted to say that it was really nice to meet some of you at >> Pumping Station last week. Definitely a fun evening, and I appreciate the >> various suggestions on how to use Python. But I'm still confused why *next("name >> of generator")* is better than *"name of generator".__next__( )* I >> mean.... they do the same thing! >> >> What's the difference between the Pumping Station meetings and the >> meetings at Brain Tree? Similar setup or something different? >> >> I'm curious about membership dues and benefits at Pumping Station. * The >> workshop on the first floor is amazing!!!* But not much point to having >> access to the workshop without a teacher or mentor. Are there classes for >> members so that they can learn how to use the various machines in the >> workshop? >> >> This is totally off topic and not about Python at all, but if anyone is >> interested in arts and crafts or workshop classes, etc, etc, you should >> really check out the following site: >> >> www.folkschool.com or www.folkschool.org >> >> Wow! A really nice "folk school" in the western part of North Carolina >> that is dedicated to the preservation of 19th century Appalachian arts and >> crafts. I took some blacksmithing classes there when I was a bit younger, >> and I had the time of my life! (Not to mention that the scenery is really >> amazing, beautiful, peaceful and super inspirational.) The first floor of >> Pumping Station One brought back fond memories of the time I spent there. >> They offer these one-week classes and workshops, so it's not like you have >> to quit your job and move to North Carolina forever. I love that place. >> If you ever want to escape from all the madness of the 21st century and >> take a vacation in the 19th century (and also explore your inner artist or >> craftsman) then that's a great place to visit for one week. Highly >> recommended! >> >> Cheers, >> >> Douglas. >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- shekay at pobox.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdblischak at gmail.com Tue May 26 16:00:58 2015 From: jdblischak at gmail.com (John Blischak) Date: Tue, 26 May 2015 09:00:58 -0500 Subject: [Chicago] Topic proposal In-Reply-To: References: Message-ID: On Tue, May 26, 2015 at 5:40 AM, Brian Ray wrote: > let me know if this sounds interesting: > > Big Shoulders Data Camp presents an ?Introduction to PySpark?. +1 From wirth.jason at gmail.com Wed May 27 00:42:43 2015 From: wirth.jason at gmail.com (Jason Wirth) Date: Tue, 26 May 2015 22:42:43 +0000 Subject: [Chicago] History of programming Message-ID: Does anyone know resources for the history of programming? For example: function call vs function invocation. Why do we use these terms? More importantly, why use "invocation" when the simpler word "call" exists? This is one example. I'm sure there are many other interesting nuggets of history. -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Wed May 27 01:08:16 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Tue, 26 May 2015 18:08:16 -0500 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: https://www.google.com/search?client=ubuntu&channel=fs&q=history+of+computer+progamming+nomenclature&ie=utf-8&oe=utf-8 I would think Madam Z might call the spirits all night and never invoke them. Myself I just like to say instatiate. No correlation. Sorry Mr. Nash. On Tue, May 26, 2015 at 5:42 PM, Jason Wirth wrote: > Does anyone know resources for the history of programming? For example: > function call vs function invocation. > > Why do we use these terms? More importantly, why use "invocation" when the > simpler word "call" exists? > > This is one example. I'm sure there are many other interesting nuggets of > history. > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d-lewit at neiu.edu Wed May 27 02:08:21 2015 From: d-lewit at neiu.edu (Lewit, Douglas) Date: Tue, 26 May 2015 19:08:21 -0500 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: I agree with Randy! I love the word "invocation"! It sounds like I'm an apprentice sorcerer trying to invoke a certain god or goddess, or angel or demon to do my bidding! ***Evil laughter in the background!*** What's interesting is how programming languages rise to popularity for whatever reason, lose their popularity and almost fade away into obsolescence, and then eventually return like a Phoenix from the burning hot ashes! Last summer I took this seven-week numerical class at Oakton College. The class was divided into three groups, depending on which programming language you used. We C++ people, Java people, and finally Fortran people. Interestingly enough, there was ONLY one student using Java! (Poor kid didn't even really know what he was doing! ) The rest of the class was equally divided between C++ and Fortran, and yet.... in the "real world" (the world I try to avoid as much as possible ) Java is many times more popular than C++ and Fortran. The professor said that Fortran is making a comeback, and he believed that was partially because of Python. Although honestly I am not aware of any connection between Fortran and Python, other than both languages are very popular with engineers and physics majors. The thing about this that I personally find very frustrating is that it can take YEARS to fully master a programming language. Then when you're finally ready for a job in that language, people tell you, "Oh sorry, that language is now obsolete! We don't use that anymore. Why don't you learn Language X or Y or Z or whatever?" A good example of that would be the Pascal, Cobol and Perl programmers. Can you imagine spending 5 years of your life learning Pascal, Cobol and Perl..... and then your interviews tell you, "Oh sorry, those languages are now extinct. Come back in 5 years after you learned one of the more modern languages!" And of course to some degree I blame the professors in our various computer science departments. Shame on them for not keeping up with current trends in their industry! On Tue, May 26, 2015 at 6:08 PM, Randy Baxley wrote: > > https://www.google.com/search?client=ubuntu&channel=fs&q=history+of+computer+progamming+nomenclature&ie=utf-8&oe=utf-8 > > I would think Madam Z might call the spirits all night and never invoke > them. Myself I just like to say instatiate. No correlation. Sorry Mr. > Nash. > > On Tue, May 26, 2015 at 5:42 PM, Jason Wirth > wrote: > >> Does anyone know resources for the history of programming? For example: >> function call vs function invocation. >> >> Why do we use these terms? More importantly, why use "invocation" when >> the simpler word "call" exists? >> >> This is one example. I'm sure there are many other interesting nuggets of >> history. >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.mcmillan at gmail.com Wed May 27 06:01:47 2015 From: jeremy.mcmillan at gmail.com (Jeremy McMillan) Date: Tue, 26 May 2015 23:01:47 -0500 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: http://english.stackexchange.com/questions/59045/call-vs-invoke-informatics-context Notice this is in the wordsmith section of StackExchange... On Tue, May 26, 2015 at 7:08 PM, Lewit, Douglas wrote: > I agree with Randy! I love the word "invocation"! It sounds like I'm an > apprentice sorcerer trying to invoke a certain god or goddess, or angel or > demon to do my bidding! ***Evil laughter in the background!*** > > What's interesting is how programming languages rise to popularity for > whatever reason, lose their popularity and almost fade away into > obsolescence, and then eventually return like a Phoenix from the burning > hot ashes! > > Last summer I took this seven-week numerical class at Oakton College. The > class was divided into three groups, depending on which programming > language you used. We C++ people, Java people, and finally Fortran > people. Interestingly enough, there was ONLY one student using Java! > (Poor kid didn't even really know what he was doing! ) The rest of the > class was equally divided between C++ and Fortran, and yet.... in the "real > world" (the world I try to avoid as much as possible ) Java is many times > more popular than C++ and Fortran. The professor said that Fortran is > making a comeback, and he believed that was partially because of Python. > Although honestly I am not aware of any connection between Fortran and > Python, other than both languages are very popular with engineers and > physics majors. > > The thing about this that I personally find very frustrating is that it > can take YEARS to fully master a programming language. Then when you're > finally ready for a job in that language, people tell you, "Oh sorry, that > language is now obsolete! We don't use that anymore. Why don't you learn > Language X or Y or Z or whatever?" A good example of that would be the > Pascal, Cobol and Perl programmers. Can you imagine spending 5 years of > your life learning Pascal, Cobol and Perl..... and then your interviews > tell you, "Oh sorry, those languages are now extinct. Come back in 5 years > after you learned one of the more modern languages!" > > And of course to some degree I blame the professors in our various > computer science departments. Shame on them for not keeping up with > current trends in their industry! > > > On Tue, May 26, 2015 at 6:08 PM, Randy Baxley > wrote: > >> >> https://www.google.com/search?client=ubuntu&channel=fs&q=history+of+computer+progamming+nomenclature&ie=utf-8&oe=utf-8 >> >> I would think Madam Z might call the spirits all night and never invoke >> them. Myself I just like to say instatiate. No correlation. Sorry Mr. >> Nash. >> >> On Tue, May 26, 2015 at 5:42 PM, Jason Wirth >> wrote: >> >>> Does anyone know resources for the history of programming? For example: >>> function call vs function invocation. >>> >>> Why do we use these terms? More importantly, why use "invocation" when >>> the simpler word "call" exists? >>> >>> This is one example. I'm sure there are many other interesting nuggets >>> of history. >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Wed May 27 07:12:22 2015 From: kirby.urner at gmail.com (kirby urner) Date: Tue, 26 May 2015 22:12:22 -0700 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: On Tue, May 26, 2015 at 3:42 PM, Jason Wirth wrote: > Does anyone know resources for the history of programming? For example: > function call vs function invocation. > > Why do we use these terms? More importantly, why use "invocation" when the > simpler word "call" exists? > > This is one example. I'm sure there are many other interesting nuggets of > history. > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > I'd say the classic The Art of Computer Programming (TAOCP) by Knuth, multi-volume, is highly influential in giving computer science people a touchstone with a built-in namespace. He uses the shoptalk with confidence and with pith, basing all his algorithms in an invented assembly level language. You may well know if it, but not everyone does. http://www-cs-faculty.stanford.edu/~uno/taocp.html Other books of that stature. These are good questions, where our terms come from. Python has contributed simply in providing a relatively clear application for concepts of "binding", "namespace" and so on. Python has a clear notion of "callable" as "those objects which eat" i.e. "have a mouth" (how I start with beginners sometimes). Our callables aren't just functions, but types as well. In Python 3.x, range() and enumerate() are type calls, not function calls. It's an ongoing feedback loop, a continuing revelation if you wanna sound religious about it. ;-D Kirby (lurker in Portland, fan of Chipy) -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Wed May 27 07:17:04 2015 From: kirby.urner at gmail.com (kirby urner) Date: Tue, 26 May 2015 22:17:04 -0700 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: > > > Python has a clear notion of "callable" as "those objects which eat" i.e. > "have a mouth" (how I start with beginners sometimes). > > Our callables aren't just functions, but types as well. In Python 3.x, > range() and enumerate() are type calls, not function calls. > Of course a function is just another type e.g. FunctionType or . So in another sense callables are all types as everything is an object and all objects have type. Just next( ) and iter( ) are more the builtin functions whereas we also have a more general type object of type type. >>> type (int) >>> type (str) >>> def F(): pass >>> type(F) (using 3.4) Kirby -------------- next part -------------- An HTML attachment was scrubbed... URL: From wirth.jason at gmail.com Wed May 27 15:11:53 2015 From: wirth.jason at gmail.com (Jason Wirth) Date: Wed, 27 May 2015 13:11:53 +0000 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: Kirby that notion if eater is an interesting metaphor i haven't year heard to explain the concept. I'm fascinated by how the words we use highlight or hide certain aspects of the concepts we seek to explain. Likewise, language and metaphor play a huge role in teaching and learning. How many times have idea been circularly explained? Eg "A callable is something that can be called." Haha. PS you are in Portland? I suspect your couch, guest bedrooms, and all available floor space will be full in about 10 months from now. :) On Wed, May 27, 2015 at 12:17 AM kirby urner wrote: > >> Python has a clear notion of "callable" as "those objects which eat" i.e. >> "have a mouth" (how I start with beginners sometimes). >> >> Our callables aren't just functions, but types as well. In Python 3.x, >> range() and enumerate() are type calls, not function calls. >> > > Of course a function is just another type e.g. FunctionType or 'function'>. > > So in another sense callables are all types as everything is an object and > all objects have type. > > Just next( ) and iter( ) are more the builtin functions whereas we also > have a more general type object of type type. > > >>> type (int) > > >>> type (str) > > >>> def F(): pass > >>> type(F) > > > (using 3.4) > > Kirby > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy.mcmillan at gmail.com Wed May 27 15:32:55 2015 From: jeremy.mcmillan at gmail.com (Jeremy McMillan) Date: Wed, 27 May 2015 13:32:55 +0000 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: Forgive the C fugue.. Functions hide/abstract the operation of the stack memory structure underneath. It really means setting up the stack, and passing control to the routine. There's a kind of contact going on. You set up the stack with the function args, give up control to it, and then it is expected to pop the args and leave a resulting value on the stack in its place, and give control back to the passer. Maybe it's like calling on a friend for a favor. Invoke sounds like calling out something, giving voice to a symbol. That's less descriptive than calling on a friend. It smells naive or overly vague to me. Instantiate, to me, is an object oriented notion. A Platonic form (class) is reified, bound to actual values, which we call an object, an instance of the class. Platonic formalism is required to make "Instantiate" mean something. I only use that word for constructors. On Wed, May 27, 2015, 08:12 Jason Wirth wrote: > Kirby that notion if eater is an interesting metaphor i haven't year heard > to explain the concept. > > I'm fascinated by how the words we use highlight or hide certain aspects > of the concepts we seek to explain. > > Likewise, language and metaphor play a huge role in teaching and learning. > How many times have idea been circularly explained? Eg > "A callable is something that can be called." Haha. > > PS you are in Portland? I suspect your couch, guest bedrooms, and all > available floor space will be full in about 10 months from now. :) > On Wed, May 27, 2015 at 12:17 AM kirby urner > wrote: > >> >>> Python has a clear notion of "callable" as "those objects which eat" >>> i.e. "have a mouth" (how I start with beginners sometimes). >>> >>> Our callables aren't just functions, but types as well. In Python 3.x, >>> range() and enumerate() are type calls, not function calls. >>> >> >> Of course a function is just another type e.g. FunctionType or > 'function'>. >> >> So in another sense callables are all types as everything is an object >> and all objects have type. >> >> Just next( ) and iter( ) are more the builtin functions whereas we also >> have a more general type object of type type. >> >> >>> type (int) >> >> >>> type (str) >> >> >>> def F(): pass >> >>> type(F) >> >> >> (using 3.4) >> >> Kirby >> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Wed May 27 15:53:03 2015 From: kirby.urner at gmail.com (kirby urner) Date: Wed, 27 May 2015 06:53:03 -0700 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: On Wed, May 27, 2015 at 6:11 AM, Jason Wirth wrote: Kirby that notion if eater is an interesting metaphor i haven't year heard > to explain the concept. > Yeah, the () after obj() looks like the emoticon mouth. ;-() So I tell kids a callable "has a mouth" even if arguments are optional. () triggers __call__. That takes me to talking about __ribs__ (my word for special or magic names) as Pythons have lots of __ribs__ (mnemonic). A class definition may have a __rib__ cage as when lots of magic method behaviors get defined (__call__ included). In Python4 (class I teach), we have a Composable class such that even though type objects don't multiply, e.g. h = f * g makes no sense, out of the box, we go: >>> f = Composable(f) >>> g = Composable(g) >>> h = f * g and then h(x) == f(g(x)) i.e. to multiply is to compose. For an exercise, the students implement __pow__ such that (f ** 5)(x) == f(f(f(f(f(x))))). Identity function: Composable(lambda x: x) e.g. f ** 0. > I'm fascinated by how the words we use highlight or hide certain aspects > of the concepts we seek to explain. > > Likewise, language and metaphor play a huge role in teaching and learning. > How many times have idea been circularly explained? Eg > "A callable is something that can be called." Haha. > A callable implements __call__ would be better. > > PS you are in Portland? I suspect your couch, guest bedrooms, and all > available floor space will be full in about 10 months from now. :) > 10 weeks you mean right? Check with me closer to the time. I do have a housemate in Nepal right now who needs some R&R before returning in August. When she's away, her room is available as a guest room. Also my 86 year old mom lives here in summer months. Lets get together in any case and quaff a cold one or two. Kirby PS: I was born in Chicago if that matters (asserting my Chipy credentials) -- came to Djangocon in 2013, after which I made a short Youtube with more metaphors: http://worldgame.blogspot.com/2013/09/leveraging-python.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Wed May 27 16:18:30 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Wed, 27 May 2015 09:18:30 -0500 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: I like this. Especially the talk about being anal and refering to JAVA. Normal Wiki searches and the corporate rewrite of JAVA history will not get you the full story. JAVA was such a fun concept when it began. At that time I did scientific programming with reintrant ( calls / invocation ), ((( calls.invocation))), (calls, invocation) in all of the mentioned languages as well as PL/1, LISP, REDD, QUERY and a double entry language that I fail to remember at this time. There was no dynamic allocation of memory at that time so no variable length arrays. The CS/EE class for machine design prof thought he was having good fun when he asked us to design a LSI chip that would allow this. He was really ticked when I did it though of course still limited by one machine. No one else in the class did it so then it was my chance to be ticked that he still gave them A's. Those carrys are important. On Tue, May 26, 2015 at 11:01 PM, Jeremy McMillan wrote: > > http://english.stackexchange.com/questions/59045/call-vs-invoke-informatics-context > > Notice this is in the wordsmith section of StackExchange... > > On Tue, May 26, 2015 at 7:08 PM, Lewit, Douglas wrote: > >> I agree with Randy! I love the word "invocation"! It sounds like I'm an >> apprentice sorcerer trying to invoke a certain god or goddess, or angel or >> demon to do my bidding! ***Evil laughter in the background!*** >> >> What's interesting is how programming languages rise to popularity for >> whatever reason, lose their popularity and almost fade away into >> obsolescence, and then eventually return like a Phoenix from the burning >> hot ashes! >> >> Last summer I took this seven-week numerical class at Oakton College. >> The class was divided into three groups, depending on which programming >> language you used. We C++ people, Java people, and finally Fortran >> people. Interestingly enough, there was ONLY one student using Java! >> (Poor kid didn't even really know what he was doing! ) The rest of the >> class was equally divided between C++ and Fortran, and yet.... in the "real >> world" (the world I try to avoid as much as possible ) Java is many times >> more popular than C++ and Fortran. The professor said that Fortran is >> making a comeback, and he believed that was partially because of Python. >> Although honestly I am not aware of any connection between Fortran and >> Python, other than both languages are very popular with engineers and >> physics majors. >> >> The thing about this that I personally find very frustrating is that it >> can take YEARS to fully master a programming language. Then when you're >> finally ready for a job in that language, people tell you, "Oh sorry, that >> language is now obsolete! We don't use that anymore. Why don't you learn >> Language X or Y or Z or whatever?" A good example of that would be the >> Pascal, Cobol and Perl programmers. Can you imagine spending 5 years of >> your life learning Pascal, Cobol and Perl..... and then your interviews >> tell you, "Oh sorry, those languages are now extinct. Come back in 5 years >> after you learned one of the more modern languages!" >> >> And of course to some degree I blame the professors in our various >> computer science departments. Shame on them for not keeping up with >> current trends in their industry! >> >> >> On Tue, May 26, 2015 at 6:08 PM, Randy Baxley >> wrote: >> >>> >>> https://www.google.com/search?client=ubuntu&channel=fs&q=history+of+computer+progamming+nomenclature&ie=utf-8&oe=utf-8 >>> >>> I would think Madam Z might call the spirits all night and never invoke >>> them. Myself I just like to say instatiate. No correlation. Sorry Mr. >>> Nash. >>> >>> On Tue, May 26, 2015 at 5:42 PM, Jason Wirth >>> wrote: >>> >>>> Does anyone know resources for the history of programming? For example: >>>> function call vs function invocation. >>>> >>>> Why do we use these terms? More importantly, why use "invocation" when >>>> the simpler word "call" exists? >>>> >>>> This is one example. I'm sure there are many other interesting nuggets >>>> of history. >>>> _______________________________________________ >>>> Chicago mailing list >>>> Chicago at python.org >>>> https://mail.python.org/mailman/listinfo/chicago >>>> >>>> >>> >>> _______________________________________________ >>> Chicago mailing list >>> Chicago at python.org >>> https://mail.python.org/mailman/listinfo/chicago >>> >>> >> >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> https://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Wed May 27 16:32:54 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Wed, 27 May 2015 09:32:54 -0500 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: Very, very, nice Kirby. I have not pulled the trigger yet on PyTexas but 10 weeks kind of bumps up against it. What is in ten weeks? Sort of fits in with the discussion. If we allocate ( Beasley, urner, Cook, Severance ).Pyfoo On Wed, May 27, 2015 at 8:53 AM, kirby urner wrote: > > > On Wed, May 27, 2015 at 6:11 AM, Jason Wirth > wrote: > > > Kirby that notion if eater is an interesting metaphor i haven't year heard >> to explain the concept. >> > > Yeah, the () after obj() looks like the emoticon mouth. ;-() > > So I tell kids a callable "has a mouth" even if arguments are optional. > () triggers __call__. > > That takes me to talking about __ribs__ (my word for special or magic > names) as Pythons have lots of __ribs__ (mnemonic). > > A class definition may have a __rib__ cage as when lots of magic method > behaviors get defined (__call__ included). > > In Python4 (class I teach), we have a Composable class such that even > though type objects don't multiply, e.g. h = f * g makes > no sense, out of the box, we go: > > >>> f = Composable(f) > >>> g = Composable(g) > >>> h = f * g > > and then h(x) == f(g(x)) i.e. to multiply is to compose. For an exercise, > the students implement __pow__ such that (f ** 5)(x) == f(f(f(f(f(x))))). > > Identity function: Composable(lambda x: x) e.g. f ** 0. > > >> I'm fascinated by how the words we use highlight or hide certain aspects >> of the concepts we seek to explain. >> >> Likewise, language and metaphor play a huge role in teaching and >> learning. How many times have idea been circularly explained? Eg >> "A callable is something that can be called." Haha. >> > > A callable implements __call__ would be better. > > >> >> PS you are in Portland? I suspect your couch, guest bedrooms, and all >> available floor space will be full in about 10 months from now. :) >> > > 10 weeks you mean right? > > Check with me closer to the time. I do have a housemate in Nepal right > now who needs some R&R before returning in August. When she's away, her > room is available as a guest room. Also my 86 year old mom lives here in > summer months. > > Lets get together in any case and quaff a cold one or two. > > Kirby > > PS: I was born in Chicago if that matters (asserting my Chipy > credentials) -- came to Djangocon in 2013, after which I made a short > Youtube with more metaphors: > http://worldgame.blogspot.com/2013/09/leveraging-python.html > > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Wed May 27 17:02:39 2015 From: kirby.urner at gmail.com (kirby urner) Date: Wed, 27 May 2015 08:02:39 -0700 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: On Wed, May 27, 2015 at 7:32 AM, Randy Baxley wrote: > Very, very, nice Kirby. I have not pulled the trigger yet on PyTexas but > 10 weeks kind of bumps up against it. What is in ten weeks? Sort of fits > in with the discussion. If we allocate ( Beasley, urner, Cook, Severance > ).Pyfoo > > Sorry for my confusion. I thought he was talking OSCON as I'd been having a thread about offering hospitality around then (this July). I forgot all about Pycon! :-D Speaking of Pycon, our charter for cuba-python has been published to the Python.org Wiki and we're looking at some kind of PyEvent (could be a Pycon) in 2016 in Cuba. https://mail.python.org/pipermail/python-cuba/2015-May/000062.html Remember Pycons may run in parallel so Cuba's would not "conflict" with Portland's or whomever's. Indeed, Pycons running in parallel may wanna set up tele-links or whatever, for joint panels, shared lightning talks... even BOFs with some planning. I hope to make a PyTexas and a PyOhio one day. Both on my bucket list. Kirby -------------- next part -------------- An HTML attachment was scrubbed... URL: From kirby.urner at gmail.com Wed May 27 17:21:33 2015 From: kirby.urner at gmail.com (kirby urner) Date: Wed, 27 May 2015 08:21:33 -0700 Subject: [Chicago] History of programming In-Reply-To: References: Message-ID: On Wed, May 27, 2015 at 8:02 AM, kirby urner wrote: > > > On Wed, May 27, 2015 at 7:32 AM, Randy Baxley > wrote: > >> Very, very, nice Kirby. I have not pulled the trigger yet on PyTexas but >> 10 weeks kind of bumps up against it. What is in ten weeks? Sort of fits >> in with the discussion. If we allocate ( Beasley, urner, Cook, Severance >> ).Pyfoo >> >> > > Sorry for my confusion. I thought he was talking OSCON as > I'd been having a thread about offering hospitality around then > (this July). I forgot all about Pycon! :-D > > That hospitality thread was on the Portland User Group list FYI: https://mail.python.org/pipermail/portland/2015-May/001679.html Kirby -------------- next part -------------- An HTML attachment was scrubbed... URL: From tanya at tickel.net Wed May 27 17:30:03 2015 From: tanya at tickel.net (Tanya Schlusser) Date: Wed, 27 May 2015 10:30:03 -0500 Subject: [Chicago] Topic proposal Message-ID: Oh hecks yeah! Pretty please bring him Brian ! ps -- should we do a ChiPy outing to Spamalot ? let me know if this sounds interesting: > > Big Shoulders Data Camp presents an ?Introduction to PySpark?. One of our > top instructors and data scientists, Adam McElhinney, will be giving a talk > on working with PySpark, and presenting a use case. Audience is encouraged > to come prepared to take notes, ask questions, and get a high-level > understanding on one of Python's many analytical libraries > -------------- next part -------------- An HTML attachment was scrubbed... URL: From randy7771026 at gmail.com Wed May 27 17:30:23 2015 From: randy7771026 at gmail.com (Randy Baxley) Date: Wed, 27 May 2015 10:30:23 -0500 Subject: [Chicago] Morph to conferance definitions Message-ID: Sorry for my confusion. I thought he was talking OSCON as I'd been having a thread about offering hospitality around then (this July). I forgot all about Pycon! :-D The above is a copy and paste from another thread. Even that statement has many ops for confusion if your editor uses different languge and somehow someone might be confused by thread as well. English is a Twisted language. We, or at least I will continue to try to communicate in the limitations of English. I really like the Super PyCon Hangout idea even though I think I may have just invoked Google+. I was not really confused. I do love the way your brain works though. My own layers of fluids on the synapse often require many instances to layer in so I called through a request to reenter data on the Portland are conference. Good fun that all Pyfoo might be type PyCon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From don at drakeconsulting.com Wed May 27 18:03:49 2015 From: don at drakeconsulting.com (Don Drake) Date: Wed, 27 May 2015 11:03:49 -0500 Subject: [Chicago] Topic proposal In-Reply-To: References: Message-ID: <57425394-D571-4EAA-A8C4-5AA15639DB61@drakeconsulting.com> Hi Brian, Interesting timing on your talk proposal for Spark. I recently gave a talk at the Chicago Hadoop Users Group on Spark, ETL, and Fantasy Baseball (http://www.slideshare.net/DonDrake/spark-etl-techniques ). I was planning on sending a note to this group to see if there is interest on pyspark as well. I can talk about SparkSQL/DataFrames and other advanced features in pyspark at a meeting after the introductory talk if there is interest. Thanks. -Don -- Don Drake www.drakeconsulting.com www.maillaunder.com 312-560-1574 800-733-2143 > On May 26, 2015, at 5:40 AM, Brian Ray wrote: > > let me know if this sounds interesting: > > Big Shoulders Data Camp presents an ?Introduction to PySpark?. One of our top instructors and data scientists, Adam McElhinney, will be giving a talk on working with PySpark, and presenting a use case. Audience is encouraged to come prepared to take notes, ask questions, and get a high-level understanding on one of Python's many analytical libraries. > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago -------------- next part -------------- An HTML attachment was scrubbed... URL: From brianhray at gmail.com Wed May 27 18:53:17 2015 From: brianhray at gmail.com (Brian Ray) Date: Wed, 27 May 2015 12:53:17 -0400 Subject: [Chicago] Topic proposal In-Reply-To: <57425394-D571-4EAA-A8C4-5AA15639DB61@drakeconsulting.com> References: <57425394-D571-4EAA-A8C4-5AA15639DB61@drakeconsulting.com> Message-ID: Don: http://www.chipy.org/meetings/topics/propose On Wed, May 27, 2015 at 12:03 PM, Don Drake wrote: > Hi Brian, > > Interesting timing on your talk proposal for Spark. > > I recently gave a talk at the Chicago Hadoop Users Group on Spark, ETL, > and Fantasy Baseball ( > http://www.slideshare.net/DonDrake/spark-etl-techniques). > > I was planning on sending a note to this group to see if there is interest > on pyspark as well. I can talk about SparkSQL/DataFrames and other > advanced features in pyspark at a meeting after the introductory talk if > there is interest. > > Thanks. > > -Don > > -- > Don Drake > www.drakeconsulting.com > www.maillaunder.com > 312-560-1574 > 800-733-2143 > > On May 26, 2015, at 5:40 AM, Brian Ray wrote: > > let me know if this sounds interesting: > > Big Shoulders Data Camp presents an ?Introduction to PySpark?. One of our > top instructors and data scientists, Adam McElhinney, will be giving a talk > on working with PySpark, and presenting a use case. Audience is encouraged > to come prepared to take notes, ask questions, and get a high-level > understanding on one of Python's many analytical libraries. > > > -- > Brian Ray > @brianray > (773) 669-7717 > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > > > _______________________________________________ > Chicago mailing list > Chicago at python.org > https://mail.python.org/mailman/listinfo/chicago > > -- Brian Ray @brianray (773) 669-7717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From tathagatadg at gmail.com Thu May 28 04:20:32 2015 From: tathagatadg at gmail.com (Tathagata Dasgupta) Date: Wed, 27 May 2015 21:20:32 -0500 Subject: [Chicago] ChiPy @ DePy Message-ID: Hello folks, A number of you must be attending DePy on Friday and Saturday ... it has a fascinating talk lineup, and surely we will have a great hallway track as well. So we should meetup and drinkup after DePy ... feel free to suggest your favorite bar! http://mdp.cdm.depaul.edu/DePy2015/default/schedule -- Cheers, T Sent from my iPhone -------------- next part -------------- An HTML attachment was scrubbed... URL: