From aahz at pythoncraft.com Fri Apr 1 01:39:38 2011 From: aahz at pythoncraft.com (Aahz) Date: Thu, 31 Mar 2011 16:39:38 -0700 Subject: [Baypiggies] Job ads: text-only Message-ID: <20110331233938.GA25973@panix.com> Howdy, I believe I don't have admin rights to http://baypiggies.net/job-listings/job-listings could someone who does please update it to specify that job postings to the mailing list must be plain-text? Thanks! -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Beware of companies that claim to be like a family. They might not be lying." --Jill Lundquist From pindiproli at nutanix.com Fri Apr 1 07:04:01 2011 From: pindiproli at nutanix.com (Ravi Pindiproli) Date: Thu, 31 Mar 2011 22:04:01 -0700 Subject: [Baypiggies] Software Engineer with stealth mode startup Message-ID: <02c501cbf02a$3819aad0$a84d0070$@com> Hello Everybody, We are a stealth mode startup working on a Virtualization appliance for next generation cloud computing. We are seeking a Software Engineer with stellar Python skills to join our team. We are in Santa Clara, CA Nutanix has distributed systems professionals on our team who were part of the handful of people that built Google File System. Our Founders, having worked in organizations such as Oracle, Google as well as young startups like Aster Data Systems, are well rounded experienced Silicon Valley entrepreneurs. We have also raised a record Series A funding from Lightspeed Ventures. Please respond to me directly at pindiproli at nutanix.com Member of Technical Staff , Systems Management Responsibilities ? Design and develop software to make Nutanix's product manageable, serviceable, and diagnosable Skills ? Ability to design and develop applications for systems management of a large scale clustered system ? Strong software engineering skill sets and a passion for delivering enterprise-quality software ? Must be an excellent hands-on implementer with strong Python programming skills ? Prior development experience in file systems or distributed configuration management a big plus Qualifications and Experience ? Bachelors in Computer Sciences (preferred) ? A few years of industry experience or equivalent research experience Ravi Pindiproli Nutanix -------------- next part -------------- An HTML attachment was scrubbed... URL: From kpguy1975 at gmail.com Fri Apr 1 15:01:22 2011 From: kpguy1975 at gmail.com (Vikram K) Date: Fri, 1 Apr 2011 09:01:22 -0400 Subject: [Baypiggies] upper case, lower case, and....? Message-ID: I have this protein sequence (each character represents an amino acid): MAKFNTGSNPTEEAATSSRPFKVAGQSSPSGIQSRKNLFDNQGNASPPAGPSSMPKFGTTKPPLAAKPTYEEKPEKEP KPPFLKPTGGSPRFGTQPNSVSRDPEVKVGFLKPVSPKPTSLTKEDSKPVVLRPPGNKLHNLNQESDLKTPGPKPGPAP PVPENELKPGFSKVAGAKSKFMPAAQDTDSKPRFPRHTFGQKPSLSTEDSQEENTSKNVPVQKGSPVQLGAKSKGAPF KPPKEDPEDKDHGAPSSPFPGVVLKPAASRGSPGLSKNFEEKKEDRKTDLAKNIFLNKLNQEEPARFPKAPSKLTAGTPW GQSQEKEGDKNSATPKQKALPPLSVLGPPPPKPNRPPNVDLTRFRKADSANSATKSQTPYSTTSLPPPPPTHPASQPPLPASHP AHPPVPSLPPRNIKPPLDLKHPINDENQDGVMHSDGTGNLEEEQESEGETYEDIDSSKERDKKREKEEKKRLELERKEQKEREKK EQELKKKFKLTGPIQVIHHAKACCDVKGGKNELSFKQGEDIEIIRITDNPEGKWLGRTARGSYGYIKTTAVEIDYDSLKRKKNSLNAVP PRLVEDDQDVYDDVAEQDAPNSHGQSGSGGMFPPPPTDDEIYDGIEEEDDDDGSVPQVDEKTNAWSWGILKMLKGKDDRKKSIRE KPKVSESDNNEGSSLPSQHKQLDVGEEVYDDVDASDFPPPPAEMSQGMSVGRAKTEEKDPKKLKKQEKEEKDLRKKFKYDGEIRVL YSTKVASSLTSKKWGARDLQIKPGESLEVIQSTDDTKVLCRNEEGKYGYVLRSYLVDNDGEIYDDIADGCIYDND I identified the presence of the following peptide sequence in this protein: TTAVEIDYDsLKR The small s ('s') in the peptide sequence represents a phosphoyrlated serine (phospho serine) which is different from a normal serine which is represented by the big s ('S'). Now i replace the occurence of the peptide in the protein with small case to identify where the peptide is occuring in the protein: MAKFNTGSNPTEEAATSSRPFKVAGQSSPSGIQSRKNLFDNQGNASPPAGPSSMPKFGTTKPPLAAKPTYEEKPEKEPKPPFLKPT GGSPRFGTQPNSVSRDPEVKVGFLKPVSPKPTSLTKEDSKPVVLRPPGNKLHNLNQESDLKTPGPKPGPAPPVPENELKPGFSKVA GAKSKFMPAAQDTDSKPRFPRHTFGQKPSLSTEDSQEENTSKNVPVQKGSPVQLGAKSKGAPFKPPKEDPEDKDHGAPSSPFPGVVL KPAASRGSPGLSKNFEEKKEDRKTDLAKNIFLNKLNQEEPARFPKAPSKLTAGTPWGQSQEKEGDKNSATPKQKALPPLSVLGPPPPKP NRPPNVDLTRFRKADSANSATKSQTPYSTTSLPPPPPTHPASQPPLPASHPAHPPVPSLPPRNIKPPLDLKHPINDENQDGVMHSDGTGNL EEEQESEGETYEDIDSSKERDKKREKEEKKRLELERKEQKEREKKEQELKKKFKLTGPIQVIHHAKACCDVKGGKNELSFKQGEDIEIIRITDN PEGKWLGRTARGSYGYIKttaveidydslkrKKNSLNAVPPRLVEDDQDVYDDVAEQDAPNSHGQSGSGGMFPPPPTDDEIYDGIEEEDDDDGSV PQVDEKTNAWSWGILKMLKGKDDRKKSIREKPKVSESDNNEGSSLPSQHKQLDVGEEVYDDVDASDFPPPPAEMSQGMSVGRAKTEEKDP KKLKKQEKEEKDLRKKFKYDGEIRVLYSTKVASSLTSKKWGARDLQIKPGESLEVIQSTDDTKVLCRNEEGKYGYVLRSYLVDNDGEIYDDIADGCIYDND My problem is that i wish to distinguish the phospho serine character from the rest of the small case letters in the modified protein sequence shown above. Any suggestions? -------------- next part -------------- An HTML attachment was scrubbed... URL: From n8pease at gmail.com Fri Apr 1 18:49:05 2011 From: n8pease at gmail.com (Nathan Pease) Date: Fri, 1 Apr 2011 09:49:05 -0700 Subject: [Baypiggies] upper case, lower case, and....? In-Reply-To: References: Message-ID: <518D14EB-794A-4A47-B000-48822570A7C2@gmail.com> do you have to change the entire peptide to lower-case? Are you changing it only to visually identify the peptide? why not surround it by characters that don't already have meaning (brackets maybe)? If you have to user lower-case for the peptide you could also put some sort of escape char before the lower case 's' before converting the peptide, maybe a slash or a dash or something? nate On Apr 1, 2011, at 6:01 AM, Vikram K wrote: > I have this protein sequence (each character represents an amino acid): > > MAKFNTGSNPTEEAATSSRPFKVAGQSSPSGIQSRKNLFDNQGNASPPAGPSSMPKFGTTKPPLAAKPTYEEKPEKEP > KPPFLKPTGGSPRFGTQPNSVSRDPEVKVGFLKPVSPKPTSLTKEDSKPVVLRPPGNKLHNLNQESDLKTPGPKPGPAP > PVPENELKPGFSKVAGAKSKFMPAAQDTDSKPRFPRHTFGQKPSLSTEDSQEENTSKNVPVQKGSPVQLGAKSKGAPF > KPPKEDPEDKDHGAPSSPFPGVVLKPAASRGSPGLSKNFEEKKEDRKTDLAKNIFLNKLNQEEPARFPKAPSKLTAGTPW > GQSQEKEGDKNSATPKQKALPPLSVLGPPPPKPNRPPNVDLTRFRKADSANSATKSQTPYSTTSLPPPPPTHPASQPPLPASHP > AHPPVPSLPPRNIKPPLDLKHPINDENQDGVMHSDGTGNLEEEQESEGETYEDIDSSKERDKKREKEEKKRLELERKEQKEREKK > EQELKKKFKLTGPIQVIHHAKACCDVKGGKNELSFKQGEDIEIIRITDNPEGKWLGRTARGSYGYIKTTAVEIDYDSLKRKKNSLNAVP > PRLVEDDQDVYDDVAEQDAPNSHGQSGSGGMFPPPPTDDEIYDGIEEEDDDDGSVPQVDEKTNAWSWGILKMLKGKDDRKKSIRE > KPKVSESDNNEGSSLPSQHKQLDVGEEVYDDVDASDFPPPPAEMSQGMSVGRAKTEEKDPKKLKKQEKEEKDLRKKFKYDGEIRVL > YSTKVASSLTSKKWGARDLQIKPGESLEVIQSTDDTKVLCRNEEGKYGYVLRSYLVDNDGEIYDDIADGCIYDND > > I identified the presence of the following peptide sequence in this protein: > TTAVEIDYDsLKR > > The small s ('s') in the peptide sequence represents a phosphoyrlated serine (phospho serine) which is different from a normal serine which is represented by > the big s ('S'). > > Now i replace the occurence of the peptide in the protein with small case to identify where the peptide is occuring in the protein: > > MAKFNTGSNPTEEAATSSRPFKVAGQSSPSGIQSRKNLFDNQGNASPPAGPSSMPKFGTTKPPLAAKPTYEEKPEKEPKPPFLKPT > GGSPRFGTQPNSVSRDPEVKVGFLKPVSPKPTSLTKEDSKPVVLRPPGNKLHNLNQESDLKTPGPKPGPAPPVPENELKPGFSKVA > GAKSKFMPAAQDTDSKPRFPRHTFGQKPSLSTEDSQEENTSKNVPVQKGSPVQLGAKSKGAPFKPPKEDPEDKDHGAPSSPFPGVVL > KPAASRGSPGLSKNFEEKKEDRKTDLAKNIFLNKLNQEEPARFPKAPSKLTAGTPWGQSQEKEGDKNSATPKQKALPPLSVLGPPPPKP > NRPPNVDLTRFRKADSANSATKSQTPYSTTSLPPPPPTHPASQPPLPASHPAHPPVPSLPPRNIKPPLDLKHPINDENQDGVMHSDGTGNL > EEEQESEGETYEDIDSSKERDKKREKEEKKRLELERKEQKEREKKEQELKKKFKLTGPIQVIHHAKACCDVKGGKNELSFKQGEDIEIIRITDN > PEGKWLGRTARGSYGYIKttaveidydslkrKKNSLNAVPPRLVEDDQDVYDDVAEQDAPNSHGQSGSGGMFPPPPTDDEIYDGIEEEDDDDGSV > PQVDEKTNAWSWGILKMLKGKDDRKKSIREKPKVSESDNNEGSSLPSQHKQLDVGEEVYDDVDASDFPPPPAEMSQGMSVGRAKTEEKDP > KKLKKQEKEEKDLRKKFKYDGEIRVLYSTKVASSLTSKKWGARDLQIKPGESLEVIQSTDDTKVLCRNEEGKYGYVLRSYLVDNDGEIYDDIADGCIYDND > > My problem is that i wish to distinguish the phospho serine character from the rest of the small case letters in the modified protein sequence shown above. > Any suggestions? > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From dirk at otisbean.com Fri Apr 1 19:13:54 2011 From: dirk at otisbean.com (Dirk Bergstrom) Date: Fri, 01 Apr 2011 10:13:54 -0700 Subject: [Baypiggies] upper case, lower case, and....? In-Reply-To: References: Message-ID: <878vvtx5bh.wl%krid@otisbean.com> On 04/01/2011 06:01 AM, Vikram K wrote: > I have this protein sequence (each character represents an amino acid): > PEGKWLGRTARGSYGYIKttaveidydslkrKKNSLNAVPPRLVEDDQDVYDDVAEQDAPNSHGQSGSGGMFPPPPTDDEIYDGIEEEDDDDGSV > My problem is that i wish to distinguish the phospho serine character from > the rest of the small case letters in the modified protein sequence shown > above. > Any suggestions? *) Color Use ANSI escapes on the terminal, or css in html. This is, IMNSHO, the rightest solution, as it gives you many degrees of freedom and is easy to see (as long as you don't end up with "angry fruit salad"). See: http://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python *) Font weight Most terminals support bold via ANSI escapes. If you're in html/print you've also got italics, underlined and strikeout. Not as good as color, but usable in a B&W print article. *) Whitespace RGSYGYIK TTAVEIDYDsLKR KKNSLNAVPP *) Other characters RGSYGYIK|TTAVEIDYDsLKR|KKNSLNAVPP *) Depth On a 3D/holographic display, you can put the modified sequence above or below the rest of the protein. -- -------------------------------------- Dirk Bergstrom dirk at otisbean.com http://otisbean.com/ From nstinemates at gmail.com Fri Apr 1 20:19:58 2011 From: nstinemates at gmail.com (Nick Stinemates) Date: Fri, 1 Apr 2011 18:19:58 +0000 Subject: [Baypiggies] upper case, lower case, and....? In-Reply-To: <878vvtx5bh.wl%krid@otisbean.com> References: <878vvtx5bh.wl%krid@otisbean.com> Message-ID: My knowledge of chemistry is not very good, so please forgive my basic questions: Are protein sequences a pre-determined length? Are the sequences in a way which can be parsed easily? If so, you can basically create a parser for protein sequences, convert them to some data structure which you can iterate through, and do whatever you want with the sequences which contain a phospho serine character. Does that make sense? With some of the rules in place, I can give guidance on how to write it. Nick On Fri, Apr 1, 2011 at 5:13 PM, Dirk Bergstrom wrote: > On 04/01/2011 06:01 AM, Vikram K wrote: > > I have this protein sequence (each character represents an amino acid): > > > PEGKWLGRTARGSYGYIKttaveidydslkrKKNSLNAVPPRLVEDDQDVYDDVAEQDAPNSHGQSGSGGMFPPPPTDDEIYDGIEEEDDDDGSV > > My problem is that i wish to distinguish the phospho serine character > from > > the rest of the small case letters in the modified protein sequence shown > > above. > > Any suggestions? > > *) Color > Use ANSI escapes on the terminal, or css in html. This is, IMNSHO, the > rightest solution, as it gives you many degrees of freedom and is easy > to see (as long as you don't end up with "angry fruit salad"). See: > > http://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python > > *) Font weight > Most terminals support bold via ANSI escapes. If you're in html/print > you've also got italics, underlined and strikeout. Not as good as > color, but usable in a B&W print article. > > *) Whitespace > RGSYGYIK TTAVEIDYDsLKR KKNSLNAVPP > > *) Other characters > RGSYGYIK|TTAVEIDYDsLKR|KKNSLNAVPP > > *) Depth > On a 3D/holographic display, you can put the modified sequence above or > below the rest of the protein. > > -- > -------------------------------------- > Dirk Bergstrom dirk at otisbean.com > http://otisbean.com/ > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjinux at gmail.com Fri Apr 1 21:07:50 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Fri, 1 Apr 2011 12:07:50 -0700 Subject: [Baypiggies] Pycon 2011 presentations for the April Meeting In-Reply-To: References: Message-ID: On Sun, Mar 27, 2011 at 5:54 PM, Tony Cappellini wrote: > > Who would like to talk about their experiences from Pycon 2011 for the April > meeting? > Interested personnel: please post your topics and how long you think your > presentation(s) will be so we can start voting. I am currently trying to post all my PyCon notes to my blog: http://jjinux.blogspot.com/ I could present at the meeting, but it might be boring for me to just read my blog posts. -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From jjinux at gmail.com Fri Apr 1 21:15:58 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Fri, 1 Apr 2011 12:15:58 -0700 Subject: [Baypiggies] Rails for Django folks? In-Reply-To: References: <4D864B32.3070909@otisbean.com> Message-ID: On Sun, Mar 20, 2011 at 9:12 PM, Venkatraman S wrote: > On Mon, Mar 21, 2011 at 12:15 AM, Dirk Bergstrom wrote: >> >> I'm starting a new job next week and they have some existing Rails apps >> I'll need to support. ?From their descriptions[1] I'll probably end up >> rewriting them in Python/Django, but in the short run I'll need to do some >> fixes and small enhancements. ?Can anyone point me to a good resource on >> "Rails for Django programmers"? > > I have been meddling around with Python/Django for the past 3-4 years and > thought of getting in Rails/RoR recently. > I started with "Agile Web Development With Rails" and it has been pretty > good so far - pretty easy to get started and is lucid. > > -V > http://blizzardzblogs.blogspot.com/ I hate to admit this, but I prefer Rails over Django. Read "Agile Web Development With Rails" and don't bother porting. -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From dirk at otisbean.com Fri Apr 1 22:28:06 2011 From: dirk at otisbean.com (Dirk Bergstrom) Date: Fri, 01 Apr 2011 13:28:06 -0700 Subject: [Baypiggies] Rails for Django folks? In-Reply-To: References: <4D864B32.3070909@otisbean.com> Message-ID: <8762qxwwbt.wl%krid@otisbean.com> At Fri, 1 Apr 2011 12:15:58 -0700,Shannon -jj Behrens wrote: > >> I'm starting a new job next week and they have some existing Rails apps > >> I'll need to support. ?From their descriptions[1] I'll probably end up > >> rewriting them in Python/Django, > I hate to admit this, but I prefer Rails over Django. Read "Agile Web > Development With Rails" and don't bother porting. It's probably indicative of a crucial lack of seriousness as a programmer, but I'm just not excited about learning a new language ecosystem right now (and if I was, it'd be Clojure or Erlang, not Ruby). I've got enough on my plate trying to learn an entirely new industry. In the mean time, I'm 5/6 of the way through _Why's "Poignant Guide", having already gone through "Ruby in 20 Minutes". That should be enough to let me work with the existing code while I decide what to do with it. http://mislav.uniqpath.com/poignant-guide/book/ http://www.ruby-lang.org/en/documentation/quickstart/ -- -------------------------------------- Dirk Bergstrom krid at otisbean.com http://otisbean.com/ From aahz at pythoncraft.com Sat Apr 2 00:04:13 2011 From: aahz at pythoncraft.com (Aahz) Date: Fri, 1 Apr 2011 15:04:13 -0700 Subject: [Baypiggies] upper case, lower case, and....? In-Reply-To: <878vvtx5bh.wl%krid@otisbean.com> References: <878vvtx5bh.wl%krid@otisbean.com> Message-ID: <20110401220413.GA16221@panix.com> On Fri, Apr 01, 2011, Dirk Bergstrom wrote: > On 04/01/2011 06:01 AM, Vikram K wrote: >> I have this protein sequence (each character represents an amino acid): >> PEGKWLGRTARGSYGYIKttaveidydslkrKKNSLNAVPPRLVEDDQDVYDDVAEQDAPNSHGQSGSGGMFPPPPTDDEIYDGIEEEDDDDGSV >> My problem is that i wish to distinguish the phospho serine character from >> the rest of the small case letters in the modified protein sequence shown >> above. >> Any suggestions? > > *) Color > Use ANSI escapes on the terminal, or css in html. This is, IMNSHO, the > rightest solution, as it gives you many degrees of freedom and is easy > to see (as long as you don't end up with "angry fruit salad"). See: > http://stackoverflow.com/questions/287871/print-in-terminal-with-colors-using-python > > *) Font weight > Most terminals support bold via ANSI escapes. If you're in html/print > you've also got italics, underlined and strikeout. Not as good as > color, but usable in a B&W print article. > > *) Whitespace > RGSYGYIK TTAVEIDYDsLKR KKNSLNAVPP > > *) Other characters > RGSYGYIK|TTAVEIDYDsLKR|KKNSLNAVPP > > *) Depth > On a 3D/holographic display, you can put the modified sequence above or > below the rest of the protein. You beat me to the basic idea, but my suggestion was going to be Unicode. ;-) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Beware of companies that claim to be like a family. They might not be lying." --Jill Lundquist From mvoorhie at yahoo.com Sat Apr 2 05:58:57 2011 From: mvoorhie at yahoo.com (Mark Voorhies) Date: Fri, 1 Apr 2011 20:58:57 -0700 Subject: [Baypiggies] upper case, lower case, and....? In-Reply-To: References: Message-ID: <201104012058.58105.mvoorhie@yahoo.com> On Friday, April 01, 2011 06:01:22 am Vikram K wrote: > My problem is that i wish to distinguish the phospho serine character from > the rest of the small case letters in the modified protein sequence shown > above. > Any suggestions? > Is this a display question or a data management question? I.e., are you marking up the protein for internal tracking or for showing different features to a user? For data management, it would be better to track features in a separate data member (e.g., a vector of indices of phosphorylated positions, a vector of (start,stop) tuples to indicate features of interest, etc.). Good formats for serializing these annotations on disk are GFF (http://www.sanger.ac.uk/resources/software/gff/spec.html or Lincoln Stein's recent GFFv3 revision: http://www.sequenceontology.org/gff3.shtml) or the feature table format that GenBank uses, which can handle things like discontinuous features or features occurring between two residues (http://www.ebi.ac.uk/embl/Documentation/FT_definitions/feature_table.html). If you don't want to implement your own parsers/classes for these formats, you can use the existing code in BioPython. For display (if you are limited to fixed width text), it is useful to alternate sequence lines with annotation lines, e.g.: Phosphorylation P Peptide ************* Sequence PEGKWLGRTARGSYGYIKTTAVEIDYDSLKRKKNSLNAVPPRLVEDDQDVYDDVAEQ BLAST, HHMer, and CLUSTALW output are all good examples of this strategy. HTH, Mark From invite at eventbrite.com Mon Apr 4 15:34:12 2011 From: invite at eventbrite.com (PyStar) Date: Mon, 04 Apr 2011 08:34:12 -0500 Subject: [Baypiggies] Register for the first Bay Area PyStar - Introduction to Python Web... (Apr 29, 2011 - Apr 30, 2011) Message-ID: <1301924052.100149@eventbrite.com> ATTENDEES: Would you like to learn Python and Django in a non-alpha geek, friendly environment?? Come out to PyStar's first Bay Area workshop to get started learning this amazingly intuitive programming language. These workshops are modeled after... Read More Share this event on Facebook and Twitter We hope you can make it!Cheers,PyStar ------------------------------ Event Summary: ------------------------------ Event: Bay Area PyStar - Introduction to Python Web Programming for Women and their Friends Date: Friday, April 29, 2011 at 6:00 PM - Saturday, April 30, 2011 at 4:00 PM (PT) Location: Mozilla
650 Castro St
Second Floor
Mountain View, CA 94043
------------------------------ Event Details: ------------------------------

ATTENDEES:

Would you like to learn Python and Django in a non-alpha geek, friendly environment?? Come out to PyStar's first Bay Area workshop to get started learning this amazingly intuitive programming language.

These workshops are modeled after the RailsBridge "Ruby on Rails for Women" courses and are targeted at women who are new to programming, or new to Python.? All skill levels & interests welcome. The classes are led by volunteers and group size will depend on the amount of those we get.

Once you're signed up we'll get in touch to find out more about your current skill set in order to try and place you in a group of your peers for optimal learning.

This course is aimed at women so if you do not identify as such we ask that you try to find a woman to bring you as a guest.? Please feel free to get in touch if you have questions.

VOLUNTEERS:

If you are interested in volunteering please select the volunteer ticket type.? I will get in touch to set up a pre-workshop introdction of some sort and to get a sense of what you feel comfortable teaching or assisting with.

We'll need:

* Teachers who can explain basic Python & Django as well as git

* Assistants - if you're not sure that you are ready to teach, assisting students while they work through the curriculum is a good place to start

* Setup/Strike & General help: elevator greeters, help with getting groups in the right places, if you just want to be there and be helpful we want you - maybe you'll even feel up to trying the programming :)

Please feel free to get in touch if you have any questions.

http://pystar.org/

* This event is a collaboration with CodeChix -> http://groupspaces.com/codechix/

------------------------------ Register Online: ------------------------------ More information and online registration are available here: http://www.eventbrite.com/event/1525890981/?ref=enivte&invite=ODQ5OTY1L2JheXBpZ2dpZXNAcHl0aG9uLm9yZy8w%0A ---------------------------------------------------------------------- Collect event fees online with Eventbrite http://www.eventbrite.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gotszlin at gmail.com Mon Apr 4 19:11:21 2011 From: gotszlin at gmail.com (Luke Gotszling) Date: Mon, 4 Apr 2011 10:11:21 -0700 Subject: [Baypiggies] Software engineer position at about.me Message-ID: We're looking for a junior back-end engineer. If you're interested please reply off-list. * About.me:* At About.me, it?s all about you! We allow people to quickly and easily build a personal and dynamic splash page that pulls all your online social networking profiles into a single online identity. About.me is all about you on the web. We?re looking for motivated and passionate team members who will continue to move the product in new and exciting ways and maintain our high standards with consumer usability. Such dedication to making our product powerful, yet easy to use, is reflected in our runner-up award in the 2010 Techcrunch Best Design category. *Job Description:* Must be able to design, develop, troubleshoot, test, document, integrate, and analyze software applications. Candidate will be responsible for the development of new programs and sub-programs, as well as enhancements, modifications, and corrections to existing software. They must also integrate product functionality with internal APIs, tools, and technologies. *Responsibilities:* * Develops, troubleshoots, debugs and implements software for a component of the system. * Design and develop reliable and scalable code to integrate 3rd party APIs into platform * Assists senior developers in solving moderately complex problems * Is proficient in estimation methods, prioritizing, and scheduling. * Requirements:* * BS Computer Science or related experience * 2-4 years experience using Python * Working knowledge of Javascript/jQuery/AJAX/JSON * Strong teamwork and communication skills * 2-4 years of Linux development * Clean code, elegant, intelligent, and reusable high-level design techniques *Preferred:* * Exposure to high-availability and high-traffic web sites * Experience with Turbogears2 * Experience with CouchDB or MongoDB * Experience with wsgi based framework (Django, CherryPy, Pylons, etc) -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Mon Apr 4 19:19:04 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Mon, 4 Apr 2011 10:19:04 -0700 Subject: [Baypiggies] Baypiggies- background info needed Message-ID: Apress wants to put a small paragraph in their newsletter about Baypiggies. I need a little background information on the group. When was the group first formed? I remember going to the meetings at Stanford, I will assume those meetings were pretty close to the beginning. That was in 2005-2006. Does anybody know how many members were currently have? I'd speculate 100-200 even though we only see ~20 at the meetings. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From abhishek.vit at gmail.com Mon Apr 4 19:19:56 2011 From: abhishek.vit at gmail.com (Abhishek Pratap) Date: Mon, 4 Apr 2011 10:19:56 -0700 Subject: [Baypiggies] Interactive Visualization with Python Message-ID: Hi Guys I am just getting started with Python and coming from the perl background I am loving the neatness in the language. To give myself some incentive to learn py more quickly, I am wondering if there is a nice visualization toolkit I could use. My requirements are as follows. 1. Scalable to render very big datasets ( ~ 1-5 million rows) 2. If possible some interactivity with the plots would be wonderful 3. Could be put on web if needed. If you guys could suggest a nice library/toolkit in python that could help me with the above points, it would sure help me climb the learning ladder faster. Thanks a lot! -Abhi -------------- next part -------------- An HTML attachment was scrubbed... URL: From guido at python.org Mon Apr 4 19:30:27 2011 From: guido at python.org (Guido van Rossum) Date: Mon, 4 Apr 2011 10:30:27 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: Message-ID: On Mon, Apr 4, 2011 at 10:19 AM, Tony Cappellini wrote: > > Apress wants to put a small paragraph in their newsletter about Baypiggies. > > I need a little background information on the group. > > When was the group first formed? > I remember going to the meetings at Stanford, I will assume those meetings > were pretty close to the beginning. That was in 2005-2006. It's way older. The wayback machine has this as the earliest snapshot of baypiggies.net: http://replay.waybackmachine.org/20021116080721/http://www.baypiggies.net/ > Does anybody know how many members were currently have? The list has nearly 800 addresses. > I'd speculate 100-200 even though we only see ~20 at the meetings. What happened? When I last visited (3 years ago?) I recall it was more like 50-80. Even in the old Stanford years (run by Danny Yoo) I think I saw 30-50. -- --Guido van Rossum (python.org/~guido) From guido at python.org Mon Apr 4 19:33:22 2011 From: guido at python.org (Guido van Rossum) Date: Mon, 4 Apr 2011 10:33:22 -0700 Subject: [Baypiggies] Interactive Visualization with Python In-Reply-To: References: Message-ID: On Mon, Apr 4, 2011 at 10:19 AM, Abhishek Pratap wrote: > I am just getting started with Python and coming from the perl background I > am loving the neatness in the language. To give myself some incentive to > learn py more quickly, I am wondering if there is a nice visualization > toolkit I could use. ?My requirements are as follows. > 1. Scalable to render very big datasets ( ~ 1-5 million rows) > 2. If possible some interactivity with the plots would be wonderful > 3. Could be put on web if needed. > If you guys could suggest a nice library/toolkit in python that could help > me with the above points, it would sure help me climb the learning ladder > faster. Search for mumpy, scipy, matplotlib. -- --Guido van Rossum (python.org/~guido) From tony at tcapp.com Mon Apr 4 19:34:59 2011 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 4 Apr 2011 10:34:59 -0700 Subject: [Baypiggies] Interactive Visualization with Python In-Reply-To: References: Message-ID: Matplotlib, gnuplot are two popular packages You may want to see this book http://www.amazon.com/Beginning-Python-Visualization-Transformation-Professionals/dp/1430218436 On Mon, Apr 4, 2011 at 10:19 AM, Abhishek Pratap wrote: > Hi Guys > > I am just getting started with Python and coming from the perl background I > am loving the neatness in the language. To give myself some incentive to > learn py more quickly, I am wondering if there is a nice visualization > toolkit I could use. My requirements are as follows. > > 1. Scalable to render very big datasets ( ~ 1-5 million rows) > 2. If possible some interactivity with the plots would be wonderful > 3. Could be put on web if needed. > > If you guys could suggest a nice library/toolkit in python that could help > me with the above points, it would sure help me climb the learning ladder > faster. > > Thanks a lot! > -Abhi > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimmy at retzlaff.com Mon Apr 4 19:35:25 2011 From: jimmy at retzlaff.com (Jimmy Retzlaff) Date: Mon, 4 Apr 2011 10:35:25 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: Message-ID: I think I started attending regularly at Stanford in 2001 or 2002. But I remembered going once in the late 90s to a meeting small enough to fit around a table. It was somewhere down around 1st and Trimble in San Jose (I think I remember Aahz being there). I searched my email and the first mention I still have was in the 8/16/1999 edition of the Weekly Python-URL... * Local Python users groups are sprouting, and they seem to be called PIGgies!. The San Francisco Bay Area has one, as does the Washington DC area. Where will the next one crop up? http://www.baypiggies.org/ http://www.python.org/Events.html#dcpiggies Jimmy On Mon, Apr 4, 2011 at 10:19 AM, Tony Cappellini wrote: > > Apress wants to put a small paragraph in their newsletter about Baypiggies. > > I need a little background information on the group. > > When was the group first formed? > I remember going to the meetings at Stanford, I will assume those meetings > were pretty close to the beginning. That was in 2005-2006. > > Does anybody know how many members were currently have? > I'd speculate 100-200 even though we only see ~20 at the meetings. > > > Thanks > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From cappy2112 at gmail.com Mon Apr 4 19:39:53 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Mon, 4 Apr 2011 10:39:53 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: Message-ID: > > > >>What happened? When I last visited (3 years ago?) I recall it was more > >>like 50-80. It varies from meeting to meeting. Lately attendance has been close to what I quoted. If you give another presentation, I'm sure we would fill the room. (we do have openings for presentations for May-Dec too) ';-) > >>Even in the old Stanford years (run by Danny Yoo) I think > >>I saw 30-50. > I'm quoting statistics from what I can recollect, but I'm grateful for the more accurate input. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mvoorhie at yahoo.com Mon Apr 4 19:35:35 2011 From: mvoorhie at yahoo.com (Mark Voorhies) Date: Mon, 4 Apr 2011 10:35:35 -0700 Subject: [Baypiggies] Interactive Visualization with Python In-Reply-To: References: Message-ID: <201104041035.36244.mvoorhie@yahoo.com> On Monday, April 04, 2011 10:19:56 am Abhishek Pratap wrote: > Hi Guys > > I am just getting started with Python and coming from the perl background I > am loving the neatness in the language. To give myself some incentive to > learn py more quickly, I am wondering if there is a nice visualization > toolkit I could use. My requirements are as follows. > > 1. Scalable to render very big datasets ( ~ 1-5 million rows) > 2. If possible some interactivity with the plots would be wonderful > 3. Could be put on web if needed. > > If you guys could suggest a nice library/toolkit in python that could help > me with the above points, it would sure help me climb the learning ladder > faster. > > Thanks a lot! > -Abhi > Matplotlib (http://matplotlib.sourceforge.net/) scales well (I've tried it up to ~10^5 rows), allows interactive plots (e.g., attach callbacks to mouse events on plotted points, zoom and pan within a plot), and can export PNG and SVG for the web. --Mark From aahz at pythoncraft.com Mon Apr 4 19:43:59 2011 From: aahz at pythoncraft.com (Aahz) Date: Mon, 4 Apr 2011 10:43:59 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: Message-ID: <20110404174359.GA1268@panix.com> On Mon, Apr 04, 2011, Tony Cappellini wrote: > > When was the group first formed? > I remember going to the meetings at Stanford, I will assume those > meetings were pretty close to the beginning. That was in 2005-2006. Why would you assume that? You know what they say about "assume"? BayPIGgies was already meeting when I first started with Python in 1999. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Beware of companies that claim to be like a family. They might not be lying." --Jill Lundquist From jjinux at gmail.com Mon Apr 4 19:58:41 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Mon, 4 Apr 2011 10:58:41 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: <20110404174359.GA1268@panix.com> References: <20110404174359.GA1268@panix.com> Message-ID: http://replay.waybackmachine.org/20021116080721/http://www.baypiggies.net/ Seeing that BayPiggies was alive and well in 2002 is pretty cool, but seeing that the talk was by Drew Perttula blows my mind! Drew, you da man! -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From tony at tcapp.com Mon Apr 4 20:15:32 2011 From: tony at tcapp.com (Tony Cappellini) Date: Mon, 4 Apr 2011 11:15:32 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: <20110404174359.GA1268@panix.com> Message-ID: Egads- my memory is really bad. It doesn't seem that long ago-but who can argue with the Wayback machine? I was at this meeting. I remember he showed the video spoof of once of the scenes from the Matrix. On Mon, Apr 4, 2011 at 10:58 AM, Shannon -jj Behrens wrote: > http://replay.waybackmachine.org/20021116080721/http://www.baypiggies.net/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wescpy at gmail.com Mon Apr 4 20:19:29 2011 From: wescpy at gmail.com (wesley chun) Date: Mon, 4 Apr 2011 11:19:29 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: <20110404174359.GA1268@panix.com> References: <20110404174359.GA1268@panix.com> Message-ID: On Mon, Apr 4, 2011 at 10:43 AM, Aahz wrote: > On Mon, Apr 04, 2011, Tony Cappellini wrote: >> >> When was the group first formed? >> I remember going to the meetings at Stanford, I will assume those >> meetings were pretty close to the beginning. That was in 2005-2006. > > Why would you assume that? ?You know what they say about "assume"? > BayPIGgies was already meeting when I first started with Python in 1999. aahz is correct. the beginning came from deirdre who started it in 1999 as Aahz suggested: http://mail.python.org/pipermail/baypiggies/2005-December/000027.html i don't know how many people know this because there are only a few of us left from those days when we met at CoffeeNet off of Harrison in SF!!! (yes, the first set of BayPIGgies meetings was up in the city.) after all, it was the "BAY area Python Interest Group" hence where our name came from. my first meeting was also in 1999. here are details about the very *2nd* meeting at which Guido :-) spoke at: http://web.archiveorange.com/archive/v/DNC4aFZPuydu8Bj98g1W cheers, -wesley ps. thanks for the blast from the past!! wow, 12 years ago!! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Python Web Development with Django", Addison Wesley, (c) 2009 ? ? http://withdjango.com wesley.chun : wescpy-gmail.com : @wescpy python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com From jim at well.com Mon Apr 4 20:23:39 2011 From: jim at well.com (jim) Date: Mon, 04 Apr 2011 11:23:39 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: Message-ID: <1301941419.1606.89.camel@jim-LAPTOP> Moving the meeting out of the Google campus coincides with a decrease in meeting attendance. My guesses are * there's a luster to meeting at the Google campus that was lost. * the first two or three meetings not on the Google campus created some confusion and broke some people's habits. * at about the same time as the change of meeting place, a few python interest groups were established in San Franciso, and it's likely a few baypiggies attendees shifted their schedules to those groups. * the change to 3.0 highlights the maturity of the language, and it may be that some baypiggies attendees became sufficiently specialized that they could not justify the time commitment (topics are necessarily somewhat general and introductory, given the perceived need to be accessible to a wide range of attendee backgrounds). On Mon, 2011-04-04 at 10:30 -0700, Guido van Rossum wrote: > On Mon, Apr 4, 2011 at 10:19 AM, Tony Cappellini wrote: > > > > Apress wants to put a small paragraph in their newsletter about Baypiggies. > > > > I need a little background information on the group. > > > > When was the group first formed? > > I remember going to the meetings at Stanford, I will assume those meetings > > were pretty close to the beginning. That was in 2005-2006. > > It's way older. The wayback machine has this as the earliest snapshot > of baypiggies.net: > > http://replay.waybackmachine.org/20021116080721/http://www.baypiggies.net/ > > > Does anybody know how many members were currently have? > > The list has nearly 800 addresses. > > > I'd speculate 100-200 even though we only see ~20 at the meetings. > > What happened? When I last visited (3 years ago?) I recall it was more > like 50-80. Even in the old Stanford years (run by Danny Yoo) I think > I saw 30-50. > From wescpy at gmail.com Mon Apr 4 20:26:48 2011 From: wescpy at gmail.com (wesley chun) Date: Mon, 4 Apr 2011 11:26:48 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: <20110404174359.GA1268@panix.com> Message-ID: On Mon, Apr 4, 2011 at 11:19 AM, wesley chun wrote: > On Mon, Apr 4, 2011 at 10:43 AM, Aahz wrote: >> On Mon, Apr 04, 2011, Tony Cappellini wrote: >>> >>> When was the group first formed? >>> I remember going to the meetings at Stanford, I will assume those >>> meetings were pretty close to the beginning. That was in 2005-2006. >> >> Why would you assume that? ?You know what they say about "assume"? >> BayPIGgies was already meeting when I first started with Python in 1999. > > > aahz is correct. the beginning came from deirdre who started it in > 1999 as Aahz suggested: > http://mail.python.org/pipermail/baypiggies/2005-December/000027.html > > i don't know how many people know this because there are only a few of > us left from those days when we met at CoffeeNet off of Harrison in > SF!!! (yes, the first set of BayPIGgies meetings was up in the city.) > after all, it was the "BAY area Python Interest Group" hence where our > name came from. my first meeting was also in 1999. > > here are details about the very *2nd* meeting at which Guido :-) spoke at: > http://web.archiveorange.com/archive/v/DNC4aFZPuydu8Bj98g1W one more link... this is deirdre's announcement for the first BayPIGgies meeting *ever*: http://mail.python.org/pipermail/tutor/1999-May/000235.html @jim: her email address from that post hasn't changed since. :-) cheers, -- wesley - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "Core Python", Prentice Hall, (c)2007,2001 "Python Fundamentals", Prentice Hall, (c)2009 ? ? http://corepython.com wesley.chun : wescpy-gmail.com : @wescpy python training and technical consulting cyberweb.consulting : silicon valley, ca http://cyberwebconsulting.com From guido at python.org Mon Apr 4 20:28:39 2011 From: guido at python.org (Guido van Rossum) Date: Mon, 4 Apr 2011 11:28:39 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: <1301941419.1606.89.camel@jim-LAPTOP> References: <1301941419.1606.89.camel@jim-LAPTOP> Message-ID: On Mon, Apr 4, 2011 at 11:23 AM, jim wrote: [Sorry, jim who?] > * at about the same time as the change of meeting > ?place, a few python interest groups were established > ?in San Franciso, and it's likely a few baypiggies > ?attendees shifted their schedules to those groups. I'd be interested in knowing about those SF Python interest groups (I don't see them as competing, they would just seem to be more local). -- --Guido van Rossum (python.org/~guido) From jim at systemateka.com Mon Apr 4 20:24:41 2011 From: jim at systemateka.com (jim) Date: Mon, 04 Apr 2011 11:24:41 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: Message-ID: <1301941481.1606.90.camel@jim-LAPTOP> I believe Dierdre Moen was a founding member. Does anyone have her contact info? On Mon, 2011-04-04 at 10:19 -0700, Tony Cappellini wrote: > > Apress wants to put a small paragraph in their newsletter about > Baypiggies. > > I need a little background information on the group. > > When was the group first formed? > I remember going to the meetings at Stanford, I will assume those > meetings were pretty close to the beginning. That was in 2005-2006. > > Does anybody know how many members were currently have? > I'd speculate 100-200 even though we only see ~20 at the meetings. > > > Thanks > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From nad at acm.org Mon Apr 4 20:39:14 2011 From: nad at acm.org (Ned Deily) Date: Mon, 04 Apr 2011 11:39:14 -0700 Subject: [Baypiggies] Baypiggies- background info needed References: <1301941419.1606.89.camel@jim-LAPTOP> Message-ID: In article , Guido van Rossum wrote: > I'd be interested in knowing about those SF Python interest groups (I > don't see them as competing, they would just seem to be more local). One of the largest is this one, the SF Python Meetup Group: http://www.meetup.com/sfpython/events/past/ While there are currently ~1000 people signed up for the meeting list, 50 to 100+ people turn out for the irregularly scheduled talks; depending on venues, there are waiting lists sometimes. Grace Law has been one of the key behind-the-scenes figures organizing recent meetups. -- Ned Deily, nad at acm.org From simeonf at gmail.com Mon Apr 4 20:41:50 2011 From: simeonf at gmail.com (Simeon Franklin) Date: Mon, 4 Apr 2011 11:41:50 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: <1301941419.1606.89.camel@jim-LAPTOP> Message-ID: On Mon, Apr 4, 2011 at 11:28 AM, Guido van Rossum wrote: > * at about the same time as the change of meeting > > place, a few python interest groups were established > > in San Franciso, and it's likely a few baypiggies > > attendees shifted their schedules to those groups. > > I'd be interested in knowing about those SF Python interest groups (I > don't see them as competing, they would just seem to be more local). > There is an SF Python meetup that I believe Grace Law organizes ( http://www.meetup.com/sfpython/). Note that the review on the front page says: "[snip] ... Meetings are way easier to get to than the Google Meetups in Mountain View. " Which is perhaps a reference to Baypiggies? Also of interest to some is the San Francisco Django Meetup ( http://www.meetup.com/The-San-Francisco-Django-Meetup-Group/) which competes for me in the sense that I can only afford the time to drive to the Bay Area for a few events a month. If I go to the Django Meetup I probably skip Baypiggies... -regards Simeon Franklin -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at systemateka.com Mon Apr 4 20:49:13 2011 From: jim at systemateka.com (jim) Date: Mon, 04 Apr 2011 11:49:13 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: <1301941419.1606.89.camel@jim-LAPTOP> Message-ID: <1301942953.1606.111.camel@jim-LAPTOP> I don't know what happened with the SF Python groups that Grace Law was evangelizing; others may. The PyWeb and the PyGames groups were meeting monthly in the SF library; the regularity of these groups seems to have gotten wobbly lately. Noisebridge has a Python class each Monday evening. The PyPy road show came to Noisebridge a couple of months ago for a weekend-long sprint. Noisebridge also hosted a PyCon video event a couple of months after last year's PyCon. Noisebridge has hosted a few other one-offs in the last couple of years. On Mon, 2011-04-04 at 11:28 -0700, Guido van Rossum wrote: > On Mon, Apr 4, 2011 at 11:23 AM, jim wrote: > [Sorry, jim who?] > > * at about the same time as the change of meeting > > place, a few python interest groups were established > > in San Franciso, and it's likely a few baypiggies > > attendees shifted their schedules to those groups. > > I'd be interested in knowing about those SF Python interest groups (I > don't see them as competing, they would just seem to be more local). > From guido at python.org Mon Apr 4 20:49:38 2011 From: guido at python.org (Guido van Rossum) Date: Mon, 4 Apr 2011 11:49:38 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: <1301941481.1606.90.camel@jim-LAPTOP> References: <1301941481.1606.90.camel@jim-LAPTOP> Message-ID: @deirdresm On Mon, Apr 4, 2011 at 11:24 AM, jim wrote: > > ? ?I believe Dierdre Moen was a founding member. Does > anyone have her contact info? > > > On Mon, 2011-04-04 at 10:19 -0700, Tony Cappellini wrote: >> >> Apress wants to put a small paragraph in their newsletter about >> Baypiggies. >> >> I need a little background information on the group. >> >> When was the group first formed? >> I remember going to the meetings at Stanford, I will assume those >> meetings were pretty close to the beginning. That was in 2005-2006. >> >> Does anybody know how many members were currently have? >> I'd speculate 100-200 even though we only see ~20 at the meetings. >> >> >> Thanks >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- --Guido van Rossum (python.org/~guido) From hasan.diwan at gmail.com Mon Apr 4 23:11:36 2011 From: hasan.diwan at gmail.com (Hasan Diwan) Date: Mon, 4 Apr 2011 23:11:36 +0200 Subject: [Baypiggies] Interactive Visualization with Python In-Reply-To: <201104041035.36244.mvoorhie@yahoo.com> References: <201104041035.36244.mvoorhie@yahoo.com> Message-ID: On 4 April 2011 19:35, Mark Voorhies wrote: > > I am just getting started with Python and coming from the perl background > I > > am loving the neatness in the language. To give myself some incentive to > > learn py more quickly, I am wondering if there is a nice visualization > > toolkit I could use. My requirements are as follows. > > > > 1. Scalable to render very big datasets ( ~ 1-5 million rows) > > 2. If possible some interactivity with the plots would be wonderful > > 3. Could be put on web if needed. > > > > If you guys could suggest a nice library/toolkit in python that could > help > > me with the above points, it would sure help me climb the learning ladder > > faster. > > > There is also RSPython. We use straight R at work to generate plots and do statistical analysis on huge (multiple 30-year daily time series). Then we generate all sorts of visualisatons on the data and derive correlations and other statistical information. Check out the RSPython site at http://www.omegahat.org/RSPython/ and feel free to email me off-list if you have any questions. -- Sent from my mobile device Envoyait de mon telephone mobil -------------- next part -------------- An HTML attachment was scrubbed... URL: From dyoo at hkn.eecs.berkeley.edu Mon Apr 4 23:34:33 2011 From: dyoo at hkn.eecs.berkeley.edu (Danny Yoo) Date: Mon, 4 Apr 2011 17:34:33 -0400 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: Message-ID: On Mon, Apr 4, 2011 at 1:35 PM, Jimmy Retzlaff wrote: > I think I started attending regularly at Stanford in 2001 or 2002. Hi Jimmy, It's been a long time! According to my fragmented records, Wesley Chun and I restarted the group meetings in 2002. I remember the first in-person meet I had with Wesley: it was at the Borders in Palo Alto, and he didn't recognize me holding a Python book, and thought I was just another kid student. :) But after that meeting, I asked my boss for permission to host it at my workplace, and to my pleasant surprise, she said yes! We hosted it at the Carnegie Institution of Washington in Stanford until 2006, after which it relocated (and I went to grad school). From jjinux at gmail.com Tue Apr 5 02:35:45 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Mon, 4 Apr 2011 17:35:45 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: <1301942953.1606.111.camel@jim-LAPTOP> References: <1301941419.1606.89.camel@jim-LAPTOP> <1301942953.1606.111.camel@jim-LAPTOP> Message-ID: There's a huge difference between the SF Python Meetup and BayPiggies. At BayPiggies, everyone tends to be older, the crowd is smaller, and more people are looking for work. At the SF Python Meetup, everyone tends to be fairly young, the crowd is often fairly large, and lots of startups are hiring. A few months ago, there was a bidding war to see who would come up with the best referral bonuses. The SF Python Web meetup and the SF Python Game meetups have a bunch of the same people, and they're usually only about 10 people. (Although, it's 10 very nice people.) Despite the small turnout at BayPiggies, it's still my favorite users group among any that I attend (in Ruby, Scala, etc.). -jj On Mon, Apr 4, 2011 at 11:49 AM, jim wrote: > > > ? ?I don't know what happened with the SF Python groups > that Grace Law was evangelizing; others may. > ? ?The PyWeb and the PyGames groups were meeting > monthly in the SF library; the regularity of these > groups seems to have gotten wobbly lately. > ? ?Noisebridge has a Python class each Monday evening. > The PyPy road show came to Noisebridge a couple of > months ago for a weekend-long sprint. Noisebridge also > hosted a PyCon video event a couple of months after > last year's PyCon. Noisebridge has hosted a few other > one-offs in the last couple of years. > > > > On Mon, 2011-04-04 at 11:28 -0700, Guido van Rossum wrote: >> On Mon, Apr 4, 2011 at 11:23 AM, jim wrote: >> [Sorry, jim who?] >> > * at about the same time as the change of meeting >> > ?place, a few python interest groups were established >> > ?in San Franciso, and it's likely a few baypiggies >> > ?attendees shifted their schedules to those groups. >> >> I'd be interested in knowing about those SF Python interest groups (I >> don't see them as competing, they would just seem to be more local). >> > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From aahz at pythoncraft.com Tue Apr 5 07:30:54 2011 From: aahz at pythoncraft.com (Aahz) Date: Mon, 4 Apr 2011 22:30:54 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: Message-ID: <20110405053054.GB6752@panix.com> On Mon, Apr 04, 2011, Guido van Rossum wrote: > > What happened? When I last visited (3 years ago?) I recall it was more > like 50-80. Even in the old Stanford years (run by Danny Yoo) I think > I saw 30-50. Personally, I find the current location uncomfortable, but even without that, I was attending rarely enough that I'm not pushing to change location. (I like to arrive early to give myself a chance to settle in, and the few times I showed up at Symantec the doors were opened only a few minutes before 7:30.) -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Beware of companies that claim to be like a family. They might not be lying." --Jill Lundquist From aahz at pythoncraft.com Tue Apr 5 07:33:58 2011 From: aahz at pythoncraft.com (Aahz) Date: Mon, 4 Apr 2011 22:33:58 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: <1301941419.1606.89.camel@jim-LAPTOP> <1301942953.1606.111.camel@jim-LAPTOP> Message-ID: <20110405053358.GC6752@panix.com> On Mon, Apr 04, 2011, Shannon -jj Behrens wrote: > > At BayPiggies, everyone tends to be older, the crowd is smaller, and > more people are looking for work. Really? That's not the impression I get from responses to my job posts. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Beware of companies that claim to be like a family. They might not be lying." --Jill Lundquist From aahz at pythoncraft.com Tue Apr 5 07:35:55 2011 From: aahz at pythoncraft.com (Aahz) Date: Mon, 4 Apr 2011 22:35:55 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: <1301941481.1606.90.camel@jim-LAPTOP> References: <1301941481.1606.90.camel@jim-LAPTOP> Message-ID: <20110405053555.GD6752@panix.com> On Mon, Apr 04, 2011, jim wrote: > > I believe Dierdre Moen was a founding member. Does > anyone have her contact info? Using "deirdre" makes her easily googlable. ;-) She has mostly dropped out of the Python community. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Beware of companies that claim to be like a family. They might not be lying." --Jill Lundquist From emile at salesinq.com Mon Apr 4 20:55:28 2011 From: emile at salesinq.com (Emile van Sebille) Date: Mon, 04 Apr 2011 11:55:28 -0700 Subject: [Baypiggies] Baypiggies- background info needed In-Reply-To: References: Message-ID: <4D9A1420.3010702@salesinq.com> On 4/4/2011 10:30 AM Guido van Rossum said... > On Mon, Apr 4, 2011 at 10:19 AM, Tony Cappellini > wrote: >> When was the group first formed? >> I remember going to the meetings at Stanford, I will assume those >> meetings >> were pretty close to the beginning. That was in 2005-2006. > It's way older. The wayback machine has this as the earliest snapshot > of baypiggies.net: > > http://replay.waybackmachine.org/20021116080721/http://www.baypiggies.net/ > And this one of baypiggies.org from Nov 1999 http://replay.waybackmachine.org/19991217211416/http://www.baypiggies.org/ ... and here's the one that caught my attention where the attendees were '... hanging from the rafters...' to see Guido... http://replay.waybackmachine.org/20000303044540/http://baypiggies.org/ Emile -------------- next part -------------- An HTML attachment was scrubbed... URL: From kpguy1975 at gmail.com Tue Apr 5 22:25:44 2011 From: kpguy1975 at gmail.com (Vikram K) Date: Tue, 5 Apr 2011 16:25:44 -0400 Subject: [Baypiggies] string question Message-ID: Given a string and some indices, how do i change upper characters corresponding to some position(s) in the string to lower characters? I tried and failed. >>> x = 'EPSPVRYDNLSR' >>> z = [2, 6] >>> for i in z: print x[i] S Y >>> for i in z: print x[i].lower() s y >>> for i in z: x[i] = x[i].lower() Traceback (most recent call last): File "", line 2, in x[i] = x[i].lower() TypeError: 'str' object does not support item assignment -------------- next part -------------- An HTML attachment was scrubbed... URL: From abhishek.vit at gmail.com Tue Apr 5 22:27:30 2011 From: abhishek.vit at gmail.com (Abhishek Pratap) Date: Tue, 5 Apr 2011 13:27:30 -0700 Subject: [Baypiggies] Interactive Visualization with Python In-Reply-To: References: <201104041035.36244.mvoorhie@yahoo.com> Message-ID: Thanks a lot guys. -Abhi On Mon, Apr 4, 2011 at 2:11 PM, Hasan Diwan wrote: > > On 4 April 2011 19:35, Mark Voorhies wrote: > >> > I am just getting started with Python and coming from the perl >> background I >> > am loving the neatness in the language. To give myself some incentive to >> > learn py more quickly, I am wondering if there is a nice visualization >> > toolkit I could use. My requirements are as follows. >> > >> > 1. Scalable to render very big datasets ( ~ 1-5 million rows) >> > 2. If possible some interactivity with the plots would be wonderful >> > 3. Could be put on web if needed. >> > >> > If you guys could suggest a nice library/toolkit in python that could >> help >> > me with the above points, it would sure help me climb the learning >> ladder >> > faster. >> > >> > There is also RSPython. We use straight R at work to generate plots and do > statistical analysis on huge (multiple 30-year daily time series). Then we > generate all sorts of visualisatons on the data and derive correlations and > other statistical information. Check out the RSPython site at > http://www.omegahat.org/RSPython/ and feel free to email me off-list if > you have any questions. > -- > Sent from my mobile device > Envoyait de mon telephone mobil > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexandre.conrad at gmail.com Tue Apr 5 22:27:59 2011 From: alexandre.conrad at gmail.com (Alexandre Conrad) Date: Tue, 5 Apr 2011 13:27:59 -0700 Subject: [Baypiggies] string question In-Reply-To: References: Message-ID: String are immutable. Convert your string to a list, edit the list, and join back to a string. 2011/4/5 Vikram K : > Given a string and some indices, how do i change upper characters > corresponding to some position(s) in the string to lower characters? I tried > and failed. > >>>> x = 'EPSPVRYDNLSR' >>>> z = [2, 6] >>>> for i in z: > ??? print x[i] > > > S > Y >>>> for i in z: > ??? print x[i].lower() > > > s > y >>>> for i in z: > ??? x[i] = x[i].lower() > > > Traceback (most recent call last): > ? File "", line 2, in > ??? x[i] = x[i].lower() > TypeError: 'str' object does not support item assignment > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Alex | twitter.com/alexconrad From simeonf at gmail.com Tue Apr 5 22:39:07 2011 From: simeonf at gmail.com (Simeon Franklin) Date: Tue, 5 Apr 2011 13:39:07 -0700 Subject: [Baypiggies] string question In-Reply-To: References: Message-ID: On Tue, Apr 5, 2011 at 1:25 PM, Vikram K wrote: > Given a string and some indices, how do i change upper characters > corresponding to some position(s) in the string to lower characters? I tried > and failed. > > Copy'n'paste from my ipython console: In [1]: x = 'EPSPVRYDNLSR' In [2]: z = [2, 6] # Convert string to list to modify it In [3]: x = [i for i in x] In [4]: x Out[4]: ['E', 'P', 'S', 'P', 'V', 'R', 'Y', 'D', 'N', 'L', 'S', 'R'] In [5]: for i in z: ...: x[i] = x[i].lower() ...: In [6]: x = ''.join(x) In [7]: x Out[7]: 'EPsPVRyDNLSR' -regards Simeon Franklin -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexandre.conrad at gmail.com Tue Apr 5 22:50:35 2011 From: alexandre.conrad at gmail.com (Alexandre Conrad) Date: Tue, 5 Apr 2011 13:50:35 -0700 Subject: [Baypiggies] string question In-Reply-To: References: Message-ID: 2011/4/5 Simeon Franklin : > # Convert string to list to modify it > In [3]: x = [i for i in x] Or just: x = list(x) -- Alex | twitter.com/alexconrad From liyiou at gmail.com Wed Apr 6 00:32:10 2011 From: liyiou at gmail.com (Yiou Li) Date: Tue, 5 Apr 2011 15:32:10 -0700 Subject: [Baypiggies] Question about python read data table from a text file Message-ID: Hi all, I have a text file with numerical data, like this: data.txt 19 19 20 21 22 17 18 19 20 21 22 23 41 42 17 18 19 20 21 42 45 18 19 20 21 22 20 21 22 23 42 43 17 19 20 21 22 23 24 40 41 42 43 44 45 46 47 16 17 18 19 20 21 22 41 42 43 44 45 46 47 16 17 18 19 20 45 46 47 17 18 19 20 41 42 43 44 45 20 21 22 23 40 41 42 43 44 45 46 47 48 20 21 22 23 24 40 41 42 43 44 45 46 47 48 17 18 19 ... Could you please refer me a python function to read this file into the memory as a data table? the readlines() won't work because I need to access index the number of ith row, jth column like x[i, j]. Best, Leo From alexandre.conrad at gmail.com Wed Apr 6 00:42:08 2011 From: alexandre.conrad at gmail.com (Alexandre Conrad) Date: Tue, 5 Apr 2011 15:42:08 -0700 Subject: [Baypiggies] Question about python read data table from a text file In-Reply-To: References: Message-ID: Is that what you want? >>> with open("data.txt") as f: ... data = f.read().split() ... >>> data ['19', '19', '20', '21', '22', '17', '18', '19', '20', '21', '22', '23', '41', '42', '17', '18', '19', '20'] ?? 2011/4/5 Yiou Li : > Hi all, > > I have a text file with numerical data, like this: > > data.txt > > 19 ?19 ?20 ?21 ?22 ?17 ?18 ?19 ?20 ?21 ?22 ?23 ?41 ?42 ?17 ?18 ?19 ?20 > ?21 ?42 ?45 ?18 ?19 ?20 ?21 ?22 ?20 ?21 ?22 ?23 ?42 ?43 ?17 ?19 ?20 > 21 ?22 ?23 ?24 ?40 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?16 ?17 ?18 ?19 ?20 ?21 > ?22 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?16 ?17 ?18 ?19 ?20 ?45 ?46 ?47 ?17 > 18 ?19 ?20 ?41 ?42 ?43 ?44 ?45 ?20 ?21 ?22 ?23 ?40 ?41 ?42 ?43 ?44 ?45 > ?46 ?47 ?48 ?20 ?21 ?22 ?23 ?24 ?40 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?48 > 17 ?18 ?19 ?... > > Could you please refer me a python function to read this file into the > memory as a data table? > > the readlines() won't work because I need to access index the number > of ith row, jth column like x[i, j]. > > Best, > Leo > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Alex | twitter.com/alexconrad From tim at timhatch.com Wed Apr 6 00:46:57 2011 From: tim at timhatch.com (Tim Hatch) Date: Tue, 05 Apr 2011 15:46:57 -0700 Subject: [Baypiggies] Question about python read data table from a text file In-Reply-To: References: Message-ID: <4D9B9BE1.7080106@timhatch.com> > the readlines() won't work because I need to access index the number > of ith row, jth column like x[i, j]. I don't know if there's something stricter implied as "data table" (e.g. numpy), but how about something like: f = file('data.txt', 'rb') x = [map(int, line.split()) for line in f] f.close() Then you can print x[i][j] Tim From liyiou at gmail.com Wed Apr 6 00:47:38 2011 From: liyiou at gmail.com (Yiou Li) Date: Tue, 5 Apr 2011 15:47:38 -0700 Subject: [Baypiggies] Question about python read data table from a text file In-Reply-To: References: Message-ID: Hi Alexandre, I tried the following method and it seems the data is a long data vector, not a data array as stored in the text file. Best, Leo On Tue, Apr 5, 2011 at 3:42 PM, Alexandre Conrad wrote: > Is that what you want? > >>>> with open("data.txt") as f: > ... ? ? data = f.read().split() > ... >>>> data > ['19', '19', '20', '21', '22', '17', '18', '19', '20', '21', '22', > '23', '41', '42', '17', '18', '19', '20'] > > ?? > > 2011/4/5 Yiou Li : >> Hi all, >> >> I have a text file with numerical data, like this: >> >> data.txt >> >> 19 ?19 ?20 ?21 ?22 ?17 ?18 ?19 ?20 ?21 ?22 ?23 ?41 ?42 ?17 ?18 ?19 ?20 >> ?21 ?42 ?45 ?18 ?19 ?20 ?21 ?22 ?20 ?21 ?22 ?23 ?42 ?43 ?17 ?19 ?20 >> 21 ?22 ?23 ?24 ?40 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?16 ?17 ?18 ?19 ?20 ?21 >> ?22 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?16 ?17 ?18 ?19 ?20 ?45 ?46 ?47 ?17 >> 18 ?19 ?20 ?41 ?42 ?43 ?44 ?45 ?20 ?21 ?22 ?23 ?40 ?41 ?42 ?43 ?44 ?45 >> ?46 ?47 ?48 ?20 ?21 ?22 ?23 ?24 ?40 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?48 >> 17 ?18 ?19 ?... >> >> Could you please refer me a python function to read this file into the >> memory as a data table? >> >> the readlines() won't work because I need to access index the number >> of ith row, jth column like x[i, j]. >> >> Best, >> Leo >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > > > > -- > Alex | twitter.com/alexconrad > From jjinux at gmail.com Wed Apr 6 00:47:52 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Tue, 5 Apr 2011 15:47:52 -0700 Subject: [Baypiggies] Question about python read data table from a text file In-Reply-To: References: Message-ID: Perhaps something like: f = open("data.txt") matrix = [map(int, line.split()) for line in f] -jj On Tue, Apr 5, 2011 at 3:42 PM, Alexandre Conrad wrote: > Is that what you want? > >>>> with open("data.txt") as f: > ... ? ? data = f.read().split() > ... >>>> data > ['19', '19', '20', '21', '22', '17', '18', '19', '20', '21', '22', > '23', '41', '42', '17', '18', '19', '20'] > > ?? > > 2011/4/5 Yiou Li : >> Hi all, >> >> I have a text file with numerical data, like this: >> >> data.txt >> >> 19 ?19 ?20 ?21 ?22 ?17 ?18 ?19 ?20 ?21 ?22 ?23 ?41 ?42 ?17 ?18 ?19 ?20 >> ?21 ?42 ?45 ?18 ?19 ?20 ?21 ?22 ?20 ?21 ?22 ?23 ?42 ?43 ?17 ?19 ?20 >> 21 ?22 ?23 ?24 ?40 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?16 ?17 ?18 ?19 ?20 ?21 >> ?22 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?16 ?17 ?18 ?19 ?20 ?45 ?46 ?47 ?17 >> 18 ?19 ?20 ?41 ?42 ?43 ?44 ?45 ?20 ?21 ?22 ?23 ?40 ?41 ?42 ?43 ?44 ?45 >> ?46 ?47 ?48 ?20 ?21 ?22 ?23 ?24 ?40 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?48 >> 17 ?18 ?19 ?... >> >> Could you please refer me a python function to read this file into the >> memory as a data table? >> >> the readlines() won't work because I need to access index the number >> of ith row, jth column like x[i, j]. >> >> Best, >> Leo >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > > > > -- > Alex | twitter.com/alexconrad > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From tim at timhatch.com Wed Apr 6 00:54:21 2011 From: tim at timhatch.com (Tim Hatch) Date: Tue, 05 Apr 2011 15:54:21 -0700 Subject: [Baypiggies] string question In-Reply-To: References: Message-ID: <4D9B9D9D.4050200@timhatch.com> On 4/5/11 1:39 PM, Simeon Franklin wrote: > On Tue, Apr 5, 2011 at 1:25 PM, Vikram K > wrote: > > Given a string and some indices, how do i change upper characters > corresponding to some position(s) in the string to lower characters? > I tried and failed. Your way is reasonable. Depending on how sparse your modifications are, you could also build up the string another way using slicing -- the core of my suggestion is >>> x = 'EPSPVRYDNLSR' >>> x[:5]+x[5:7].lower()+x[7:] 'EPSPVryDNLSR' But you'd want to build it up in a list or use cStringIO, like >>> buf = [] >>> buf.append(x[:5]) >>> buf.append(x[5:7].lower()) >>> buf.append(x[7:]) >>> ''.join(buf) 'EPSPVryDNLSR' And adapting for your method of indexing might be interesting. If you have start-stop positions that are non-overlapping and half-open, this could be as easy as (completely untested): prev_end = 0 end = len(x) for start, end in index_pairs: if prev_end != start: buf.append(x[prev_end:start]) buf.append(x[start:end].lower()) prev_end = end buf.append(x[end:]) Tim From liyiou at gmail.com Wed Apr 6 01:07:50 2011 From: liyiou at gmail.com (Yiou Li) Date: Tue, 5 Apr 2011 16:07:50 -0700 Subject: [Baypiggies] Question about python read data table from a text file In-Reply-To: References: Message-ID: Thank you all. The split() thing works! Leo On Tue, Apr 5, 2011 at 4:03 PM, Patrick Thomas wrote: > Try this: > > data = [line.strip().split() for line in open("data.txt")] > > print data[0][0] #first row, first col > print data[1][0] #second row, first col > > ~PST > > On Tue, Apr 5, 2011 at 3:32 PM, Yiou Li wrote: >> Hi all, >> >> I have a text file with numerical data, like this: >> >> data.txt >> >> 19 ?19 ?20 ?21 ?22 ?17 ?18 ?19 ?20 ?21 ?22 ?23 ?41 ?42 ?17 ?18 ?19 ?20 >> ?21 ?42 ?45 ?18 ?19 ?20 ?21 ?22 ?20 ?21 ?22 ?23 ?42 ?43 ?17 ?19 ?20 >> 21 ?22 ?23 ?24 ?40 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?16 ?17 ?18 ?19 ?20 ?21 >> ?22 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?16 ?17 ?18 ?19 ?20 ?45 ?46 ?47 ?17 >> 18 ?19 ?20 ?41 ?42 ?43 ?44 ?45 ?20 ?21 ?22 ?23 ?40 ?41 ?42 ?43 ?44 ?45 >> ?46 ?47 ?48 ?20 ?21 ?22 ?23 ?24 ?40 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?48 >> 17 ?18 ?19 ?... >> >> Could you please refer me a python function to read this file into the >> memory as a data table? >> >> the readlines() won't work because I need to access index the number >> of ith row, jth column like x[i, j]. >> >> Best, >> Leo >> > From psthomas at gmail.com Wed Apr 6 01:03:06 2011 From: psthomas at gmail.com (Patrick Thomas) Date: Tue, 5 Apr 2011 16:03:06 -0700 Subject: [Baypiggies] Question about python read data table from a text file In-Reply-To: References: Message-ID: Try this: data = [line.strip().split() for line in open("data.txt")] print data[0][0] #first row, first col print data[1][0] #second row, first col ~PST On Tue, Apr 5, 2011 at 3:32 PM, Yiou Li wrote: > Hi all, > > I have a text file with numerical data, like this: > > data.txt > > 19 ?19 ?20 ?21 ?22 ?17 ?18 ?19 ?20 ?21 ?22 ?23 ?41 ?42 ?17 ?18 ?19 ?20 > ?21 ?42 ?45 ?18 ?19 ?20 ?21 ?22 ?20 ?21 ?22 ?23 ?42 ?43 ?17 ?19 ?20 > 21 ?22 ?23 ?24 ?40 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?16 ?17 ?18 ?19 ?20 ?21 > ?22 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?16 ?17 ?18 ?19 ?20 ?45 ?46 ?47 ?17 > 18 ?19 ?20 ?41 ?42 ?43 ?44 ?45 ?20 ?21 ?22 ?23 ?40 ?41 ?42 ?43 ?44 ?45 > ?46 ?47 ?48 ?20 ?21 ?22 ?23 ?24 ?40 ?41 ?42 ?43 ?44 ?45 ?46 ?47 ?48 > 17 ?18 ?19 ?... > > Could you please refer me a python function to read this file into the > memory as a data table? > > the readlines() won't work because I need to access index the number > of ith row, jth column like x[i, j]. > > Best, > Leo > From kpguy1975 at gmail.com Wed Apr 6 04:49:51 2011 From: kpguy1975 at gmail.com (Vikram K) Date: Tue, 5 Apr 2011 22:49:51 -0400 Subject: [Baypiggies] list question Message-ID: i have this list: x = ['cat','dog','dog'] i wish to identify the non-unique element in this list i.e. 'dog'. how do i do this? i did this: >>> y = list(set(x)) >>> y ['dog', 'cat'] but now i don't know to proceed further. have tried the following: >>> z = [i for i in x if i in y] >>> z ['cat', 'dog', 'dog'] >>> z = x - y Traceback (most recent call last): File "", line 1, in z = x - y TypeError: unsupported operand type(s) for -: 'list' and 'list' -------------- next part -------------- An HTML attachment was scrubbed... URL: From hasan.diwan at gmail.com Wed Apr 6 05:02:22 2011 From: hasan.diwan at gmail.com (Hasan Diwan) Date: Wed, 6 Apr 2011 05:02:22 +0200 Subject: [Baypiggies] list question In-Reply-To: References: Message-ID: On 6 April 2011 04:49, Vikram K wrote: > i have this list: > x = ['cat','dog','dog'] > > i wish to identify the non-unique element in this list i.e. 'dog'. how do i > do this? > > i did this: > > >>> y = list(set(x)) > >>> y > ['dog', 'cat'] > You are on the right track here. However, I would build a list and check for membership in it right after, e.g.: for animal in x: if animal not in unique: unique.append(animal( else: print animal for your list ['cat', 'dog', 'dog'] the above snippet gives 'dog' -- Sent from my mobile device Envoyait de mon telephone mobil -------------- next part -------------- An HTML attachment was scrubbed... URL: From tungwaiyip at yahoo.com Wed Apr 6 05:11:43 2011 From: tungwaiyip at yahoo.com (Tung Wai Yip) Date: Tue, 05 Apr 2011 20:11:43 -0700 Subject: [Baypiggies] list question In-Reply-To: References: Message-ID: Use collections.Counter. Pick those items with count > 1. http://docs.python.org/dev/library/collections.html#collections.Counter Wai Yip > i have this list: > x = ['cat','dog','dog'] > > i wish to identify the non-unique element in this list i.e. 'dog'. how > do i > do this? > > i did this: > >>>> y = list(set(x)) >>>> y > ['dog', 'cat'] > > but now i don't know to proceed further. have tried the following: > >>>> z = [i for i in x if i in y] >>>> z > ['cat', 'dog', 'dog'] > >>>> z = x - y > Traceback (most recent call last): > File "", line 1, in > z = x - y > TypeError: unsupported operand type(s) for -: 'list' and 'list' From tim at timhatch.com Wed Apr 6 05:36:38 2011 From: tim at timhatch.com (Tim Hatch) Date: Tue, 05 Apr 2011 20:36:38 -0700 Subject: [Baypiggies] list question In-Reply-To: References: Message-ID: <4D9BDFC6.5020308@timhatch.com> > On 4/5/11 8:02 PM, Hasan Diwan wrote: >> >> >> On 6 April 2011 04:49, Vikram K > > wrote: >> >> i have this list: >> x = ['cat','dog','dog'] >> >> i wish to identify the non-unique element in this list i.e. 'dog'. >> how do i do this? >> >> >> i did this: >> >> >>> y = list(set(x)) >> >>> y >> ['dog', 'cat'] > i did this: > >>>> y = list(set(x)) >>>> y > ['dog', 'cat'] > > but now i don't know to proceed further. The operation you're looking for here is list.remove, which only takes out the first one (but a tad slow). for i in y: x.remove(i) > You are on the right track here. However, I would build a list and check > for membership in it right after, e.g.: > for animal in x: > if animal not in unique: unique.append(animal( > else: print animal Agreed. Depending on how you intend to use it (i.e. do you need to count them, or just know what the repeated keys) and your python version requirements, I'd start with something much like Hasan's suggestion ("unique" should be a set in that case). This sort of thing has had some good suggestions on the python list in the past, especially if you care about how many times each is repeated: http://mail.python.org/pipermail/python-list/2005-July/934699.html http://mail.python.org/pipermail/python-list/2005-July/914100.html Tim From kpguy1975 at gmail.com Wed Apr 6 05:56:36 2011 From: kpguy1975 at gmail.com (Vikram K) Date: Tue, 5 Apr 2011 23:56:36 -0400 Subject: [Baypiggies] list question In-Reply-To: References: Message-ID: Thanks. I tried a different way (you need python 3 or python 2.7 for this): from collections import Counter ... ... print len(data_one) data_one_unique = list(set(data_one)) print len(data_one_unique) a = Counter(data_one) b = Counter(data_one_unique) c = a - b print list(c.elements()) ------------------ This was the output: 285 228 ['DKVTIADDySDPFDAK', 'GEPEALyAAVTK', 'QHSLPSSEHLGTDGALyQVPPQPR', 'THAVSVSETDDyAEIIDEEDTYTMPSTR', 'LIEDNEyTAR', 'YMEDSTYyK', 'VyENVGLMQQQR', 'AVCSTyLQSR', 'MNHTSQAFITAASGGQPPNyER', 'ERDyAEIQDFHR', 'RTEGDyLSYR', 'NTyNQTALDIVNQFTTSQASR', 'YMEDSTyYK', 'GEPNVSyICSR', 'GEPNVSyICSR', 'SAQPSPHYMAGPSSGQIyGPGPR', 'TACTNFMMTPyVVTR', 'SDNNySTLNER', 'TVCSTyLQSR', 'SLDNNySTLNER', 'GLCTSPAEHQYFMTEyVATR', 'GLCTSPAEHQYFMTEyVATR', 'TPYEAyDPIGK', 'NLSEGNNANYTEyVATR', 'ELFDDPSyVNIQNLDK', 'LVQSPNSyFMDVK', 'VADPDHDHTGFLtEyVATR', 'TADSVFCPHyEK', 'LWLEAMDGKEPIyTLPAIISK', 'VVQEYIDAFSDyANFK', 'VEKIGEGTyGVVYK', 'AGKGESAGyMEPYEAQR', 'YVDSEGHLyTVPIR', 'KIYNGDyYR', 'LSHSSGyAQLNTYSR', 'STTNyVDFYSTK', 'IEKIGEGtyGVVYK', 'TLEPVKPPTVPNDyMTSPAR', 'IEKIGEGTyGVVYK', 'VGQGYVYEAAQTEQDEyDTPR', 'TAGTSFMMTPyVVTR', 'TAGTSFMMTPyVVTR', 'NEEENIySVPHDSTQGK', 'LCDFGSASHVADNDITPyLVSR', 'LCDFGSASHVADNDITPyLVSR', 'GPLDGSPyAQVQR', 'GPLDGSPyAQVQR', 'FLEENSSDPTyTSSLGGKIPIR', 'HAAyGGYSTPEDR', 'VADPDHDHTGFLTEyVATR', 'HLLAPGPQDIyDVPPVR', 'LTDSKEDPIyDEPEGLAPAPPR', 'HTDDEMTGyVATR', 'HTDDEMTGyVATR', 'IYQyIQSR', 'IYQyIQSR', 'VLEDDPEATyTTSGGK'] ---------- I took the output list and made it equal to z and then subsequently i made this list unique: z = ['DKVTIADDySDPFDAK', 'GEPEALyAAVTK', 'QHSLPSSEHLGTDGALyQVPPQPR', 'THAVSVSETDDyAEIIDEEDTYTMPSTR', 'LIEDNEyTAR', 'YMEDSTYyK', 'VyENVGLMQQQR', 'AVCSTyLQSR', 'MNHTSQAFITAASGGQPPNyER', 'ERDyAEIQDFHR', 'RTEGDyLSYR', 'NTyNQTALDIVNQFTTSQASR', 'YMEDSTyYK', 'GEPNVSyICSR', 'GEPNVSyICSR', 'SAQPSPHYMAGPSSGQIyGPGPR', 'TACTNFMMTPyVVTR', 'SDNNySTLNER', 'TVCSTyLQSR', 'SLDNNySTLNER', 'GLCTSPAEHQYFMTEyVATR', 'GLCTSPAEHQYFMTEyVATR', 'TPYEAyDPIGK', 'NLSEGNNANYTEyVATR', 'ELFDDPSyVNIQNLDK', 'LVQSPNSyFMDVK', 'VADPDHDHTGFLtEyVATR', 'TADSVFCPHyEK', 'LWLEAMDGKEPIyTLPAIISK', 'VVQEYIDAFSDyANFK', 'VEKIGEGTyGVVYK', 'AGKGESAGyMEPYEAQR', 'YVDSEGHLyTVPIR', 'KIYNGDyYR', 'LSHSSGyAQLNTYSR', 'STTNyVDFYSTK', 'IEKIGEGtyGVVYK', 'TLEPVKPPTVPNDyMTSPAR', 'IEKIGEGTyGVVYK', 'VGQGYVYEAAQTEQDEyDTPR', 'TAGTSFMMTPyVVTR', 'TAGTSFMMTPyVVTR', 'NEEENIySVPHDSTQGK', 'LCDFGSASHVADNDITPyLVSR', 'LCDFGSASHVADNDITPyLVSR', 'GPLDGSPyAQVQR', 'GPLDGSPyAQVQR', 'FLEENSSDPTyTSSLGGKIPIR', 'HAAyGGYSTPEDR', 'VADPDHDHTGFLTEyVATR', 'HLLAPGPQDIyDVPPVR', 'LTDSKEDPIyDEPEGLAPAPPR', 'HTDDEMTGyVATR', 'HTDDEMTGyVATR', 'IYQyIQSR', 'IYQyIQSR', 'VLEDDPEATyTTSGGK'] >>> z_unique = list(set(z)) >>> len(z) 57 >>> len(z_unique) 50 >>> It appears that if the non-unique element occurs twice than you will have only one occurence in the output but if it occurs three times then the output (print list(c.elements()) ) will have the element written twice and so on. On Tue, Apr 5, 2011 at 11:01 PM, Brian Palmer wrote: > > On Tue, Apr 5, 2011 at 7:49 PM, Vikram K wrote: > >> i have this list: >> x = ['cat','dog','dog'] >> >> i wish to identify the non-unique element in this list i.e. 'dog'. how do >> i do this? >> > > This may not be suitable depending on how big your list is, but consider > > x = ['cat', 'dog', 'dog'] > x_count = defaultdict(lambda: 0) > for k in x: > x[k] = x[k] + 1 > unique_xs = [k for k in x if x[k] == 1] > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjinux at gmail.com Wed Apr 6 21:55:02 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Wed, 6 Apr 2011 12:55:02 -0700 Subject: [Baypiggies] list question In-Reply-To: References: Message-ID: On Tue, Apr 5, 2011 at 7:49 PM, Vikram K wrote: > i have this list: > x = ['cat','dog','dog'] > > i wish to identify the non-unique element in this list i.e. 'dog'. how do i > do this? > > i did this: > >>>> y = list(set(x)) >>>> y > ['dog', 'cat'] > > but now i don't know to proceed further. have tried the following: > >>>> z = [i for i in x if i in y] >>>> z > ['cat', 'dog', 'dog'] > >>>> z = x - y > Traceback (most recent call last): > ? File "", line 1, in > ??? z = x - y > TypeError: unsupported operand type(s) for -: 'list' and 'list' x = ['cat','dog','dog'] seen = set() for i in x: if i in seen: print "dup:", i else: seen.add(i) It's O(n). -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From pivanov314 at gmail.com Wed Apr 6 22:01:49 2011 From: pivanov314 at gmail.com (Paul Ivanov) Date: Wed, 6 Apr 2011 13:01:49 -0700 Subject: [Baypiggies] Interactive Visualization with Python In-Reply-To: References: Message-ID: <20110406200149.GF4627@ykcyc> Guido van Rossum, on 2011-04-04 10:33, wrote: > On Mon, Apr 4, 2011 at 10:19 AM, Abhishek Pratap wrote: > > I am just getting started with Python and coming from the perl background I > > am loving the neatness in the language. To give myself some incentive to > > learn py more quickly, I am wondering if there is a nice visualization > > toolkit I could use. ?My requirements are as follows. > > > 1. Scalable to render very big datasets ( ~ 1-5 million rows) > > 2. If possible some interactivity with the plots would be wonderful > > 3. Could be put on web if needed. > > > If you guys could suggest a nice library/toolkit in python that could help > > me with the above points, it would sure help me climb the learning ladder > > faster. > > Search for mumpy, scipy, matplotlib. That first package should have been numpy: As for putting things on the web - take a look at Sage: - it's a power pack of mathematical software (which bundles the three above, along with many, many others) - and provides a web-based notebook interface for interactive and collaborative work. best, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From cappy2112 at gmail.com Wed Apr 6 22:52:24 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Wed, 6 Apr 2011 13:52:24 -0700 Subject: [Baypiggies] Riak - open source, scalable, NoSQL database Message-ID: I didn't see this posted to the list already, so I'm forwarding this now. Wednesday, April 13, 2011 6:30 PM Lolapps 116 New Montgomery Street, #700 On April 13, we will learn more about Riak, another NoSQL database solutions. If you'd like to give a lightning talk, please let us know what you'd like to talk about when you RSVP and fill out the building security form. Agenda: 6:30p - Check-in and mingle, with Mexican Food and Beer thanks to our generous sponsor Lolapps 7.10p - Welcome and 3-4 Lightning Talks (5 minutes each) 8.00p - Featured Speaker (Andy Gross) 9.00p - Q & A and more Mingling, Ping pong/beer pong... 9:30p - Door close and moving the party to John Colins Featured Presentation: Riak is an open source, scalable, NoSQL database being used by organizations like Mozilla, Comcast, and MochiMedia to back production web applications. Riak scales up and down predictably and easily, features both Erlang and JavaScript Map/Reduce for advanced querying, and is made to simplify the lives of both developers and ops professionals everywhere. In this talk, Andy Gross (twitter.com/argv0), Basho's Principal Architect and veteran Python hacker, will give an overview of what Riak is all about and then take you through the awesomeness one can expect when working with the Riak and Python. For more information on Riak see: * wiki.basho.com * https://github.com/basho/riak * https://github.com/basho/riak-python-client * http://wiki.basho.com/The-Riak-Fast-Track.html From jjinux at gmail.com Wed Apr 6 23:21:44 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Wed, 6 Apr 2011 14:21:44 -0700 Subject: [Baypiggies] finished blogging about PyCon Message-ID: I finished blogging about all the talks I went to at PyCon. Whew, that took a while! http://jjinux.blogspot.com/search/label/pycon2011 Enjoy! -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From togo at of.net Thu Apr 7 22:57:52 2011 From: togo at of.net (Tony Godshall) Date: Thu, 7 Apr 2011 13:57:52 -0700 Subject: [Baypiggies] Bup creator to give present Apr 9 at 2:30 PM in SF In-Reply-To: References: Message-ID: Hi everyone Bup "it backs things up" is a new tool that does efficient sub-file deduplication and compression suitable for disk-to-disk or disk-to-remote-host backups. It's based python and git the rolling-checksum concept that makes rsync transfers so efficient. It does sub-file deduplication, even of large binaries. Bup has no user-friendly graphical UI yet- this will be more about the technology and the commandline interface. This is sure to be interesting, especially if you are familiar with git and hashes and data compression algorithms. Avery will be in town in about a week and has agreed to give a presentation, and we've scheduled it for Saturday April 9 at 2:30pm at my home in SF, a mile up the electric bus line from Embarcadero BART/Muni station. REF: http://apenwarr.ca/log/?m=201104#05 Those who RSVP will get the precise address and directions. If plan to come at that time, please RSVP togo at of.net or tony at godshall.org with subject "bup SF" and you'll receive the specific address and more details on how to get here. Please feel free to pass the details above to anyone you think might be interested. Best Regards Tony From hcarrinski at gmail.com Fri Apr 8 03:42:06 2011 From: hcarrinski at gmail.com (Hy Carrinski) Date: Thu, 7 Apr 2011 18:42:06 -0700 Subject: [Baypiggies] hello and returning unique elements Message-ID: Dear BayPIGgies, Thank you for providing exceptional reading material over the past year for an avid conversation follower and occasional meeting attendee. I would like to join the conversation and contribute to the community beginning with this post. I will attend our meeting this month, and look forward to meeting at Noisebridge or elsewhere to watch PyCon 2011 videos together. While thinking about unique lists in the context of Vikram's recent question, I came across a related blog post at http://www.peterbe.com/plog/uniqifiers-benchmark The post emphasizes speed and maintaining original list order when removing duplicates from a list. Although the post is several years old, I thought of a solution to the question it poses that is different from the ones proposed by BayPIGgies either in the blog's comments or at a previous discussion (before reversed, sorted, and set were introduced in Python 2.4) at http://code.activestate.com/recipes/52560/ I will be grateful for any comments on my ask forgiveness rather than permission implementation. It requires that all elements of the list be hashable and works for Python 2.x where x >= 4. def unique(seq): """Return unique list of hashable objects while preserving order.""" seen = {} for ix in reversed(xrange(len(seq))): seen[seq[ix]] = ix return sorted(seen,key=seen.__getitem__) For the case of hashable objects are there disadvantages to this implementation versus the ones referenced above? Is there a reason to prefer operator.itemgetter over __getitem__ in this limited context? Is there an advantage in clarity or performance to using collections.OrderedDict in Python 2.7 and above? For lists containing a great number of distinct objects the sort step will introduce a lower bound on speed for this implementation. I look forward to meeting more BayPIGgies in the coming months and years. Cheers, Hy From hcarrinski at gmail.com Fri Apr 8 06:00:30 2011 From: hcarrinski at gmail.com (Hy Carrinski) Date: Thu, 7 Apr 2011 21:00:30 -0700 Subject: [Baypiggies] hello and returning unique elements In-Reply-To: References: Message-ID: Erratum: the function I suggested is incomplete without this line following the docstring. if seq is None: return None On Thu, Apr 7, 2011 at 6:42 PM, Hy Carrinski wrote: > Dear BayPIGgies, > > Thank you for providing exceptional reading material over the past > year for an avid conversation follower and occasional meeting > attendee. > > I would like to join the conversation and contribute to the community > beginning with this post. I will attend our meeting this month, and > look forward to meeting at Noisebridge or elsewhere to watch PyCon > 2011 videos together. > > While thinking about unique lists in the context of Vikram's recent > question, I came across a related blog post at > http://www.peterbe.com/plog/uniqifiers-benchmark > > The post emphasizes speed and maintaining original list order when > removing duplicates from a list. > > Although the post is several years old, I thought of a solution to the > question it poses that is different from the ones proposed by > BayPIGgies either in the blog's comments or at a previous discussion > (before reversed, sorted, and set were introduced in Python 2.4) at > http://code.activestate.com/recipes/52560/ > > I will be grateful for any comments on my ask forgiveness rather than > permission implementation. It requires that all elements of the list > be hashable and works for Python 2.x where x >= 4. > > def unique(seq): > ? ?"""Return unique list of hashable objects while preserving order.""" > ? ?seen = {} > ? ?for ix in reversed(xrange(len(seq))): > ? ? ? ?seen[seq[ix]] = ix > ? ?return sorted(seen,key=seen.__getitem__) > > For the case of hashable objects are there disadvantages to this > implementation versus the ones referenced above? Is there a reason to > prefer operator.itemgetter over __getitem__ in this limited context? > Is there an advantage in clarity or performance to using > collections.OrderedDict in Python 2.7 and above? For lists containing > a great number of distinct objects the sort step will introduce a > lower bound on speed for this implementation. > > I look forward to meeting more BayPIGgies in the coming months and years. > > Cheers, > Hy > From tim at timhatch.com Fri Apr 8 19:49:23 2011 From: tim at timhatch.com (Tim Hatch) Date: Fri, 8 Apr 2011 10:49:23 -0700 Subject: [Baypiggies] hello and returning unique elements In-Reply-To: References: Message-ID: <79a5f965ef91d9799bd9d4ff38b175e5.squirrel@webmail.timhatch.com> By some quick experiments, it looks like you can double the speed from your version by not doing all the reversed/sorted stuff and just keeping track of it in a much less exciting way: def unique2(seq): seen = set() out = [] for i in seq: if i not in seen: out.append(i) seen.add(i) return out # yours $ python -m timeit -s 'from demo import unique' 'sum(unique([1, 1, 2, 3, 4]))' 100000 loops, best of 3: 5.07 usec per loop # mine $ python -m timeit -s 'from demo import unique2' 'sum(unique2([1, 1, 2, 3, 4]))' 100000 loops, best of 3: 2.65 usec per loop You can actually make it a smidge faster still by making it a generator, for at least this tiny case (as it becomes bigger, into the thousands of items, it's much more like unique2's timings): def unique3(seq): seen = set() for i in seq: if i not in seen: yield i seen.add(i) $ python -m timeit -s 'from demo import unique3' 'sum(unique3([1, 1, 2, 3, 4]))' 1000000 loops, best of 3: 1.99 usec per loop Tim > Erratum: the function I suggested is incomplete without this line > following the docstring. > > if seq is None: return None > > > On Thu, Apr 7, 2011 at 6:42 PM, Hy Carrinski wrote: >> Dear BayPIGgies, >> >> Thank you for providing exceptional reading material over the past >> year for an avid conversation follower and occasional meeting >> attendee. >> >> I would like to join the conversation and contribute to the community >> beginning with this post. I will attend our meeting this month, and >> look forward to meeting at Noisebridge or elsewhere to watch PyCon >> 2011 videos together. >> >> While thinking about unique lists in the context of Vikram's recent >> question, I came across a related blog post at >> http://www.peterbe.com/plog/uniqifiers-benchmark >> >> The post emphasizes speed and maintaining original list order when >> removing duplicates from a list. >> >> Although the post is several years old, I thought of a solution to the >> question it poses that is different from the ones proposed by >> BayPIGgies either in the blog's comments or at a previous discussion >> (before reversed, sorted, and set were introduced in Python 2.4) at >> http://code.activestate.com/recipes/52560/ >> >> I will be grateful for any comments on my ask forgiveness rather than >> permission implementation. It requires that all elements of the list >> be hashable and works for Python 2.x where x >= 4. >> >> def unique(seq): >> ?? ??"""Return unique list of hashable objects while preserving >> order.""" >> ?? ??seen = {} >> ?? ??for ix in reversed(xrange(len(seq))): >> ?? ?? ?? ??seen[seq[ix]] = ix >> ?? ??return sorted(seen,key=seen.__getitem__) >> >> For the case of hashable objects are there disadvantages to this >> implementation versus the ones referenced above? Is there a reason to >> prefer operator.itemgetter over __getitem__ in this limited context? >> Is there an advantage in clarity or performance to using >> collections.OrderedDict in Python 2.7 and above? For lists containing >> a great number of distinct objects the sort step will introduce a >> lower bound on speed for this implementation. >> >> I look forward to meeting more BayPIGgies in the coming months and >> years. >> >> Cheers, >> Hy >> > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From tungwaiyip at yahoo.com Fri Apr 8 20:16:58 2011 From: tungwaiyip at yahoo.com (Tung Wai Yip) Date: Fri, 08 Apr 2011 11:16:58 -0700 Subject: [Baypiggies] hello and returning unique elements In-Reply-To: <79a5f965ef91d9799bd9d4ff38b175e5.squirrel@webmail.timhatch.com> References: <79a5f965ef91d9799bd9d4ff38b175e5.squirrel@webmail.timhatch.com> Message-ID: I've put my previous suggestion into an example. It is similar to many other suggestions except it is 2 lines of code (by using a newer tool in the standard library). >>> countdict = collections.Counter('abcdeabcxyz') >>> [v for v,c in countdict.items() if c > 1] ['a', 'c', 'b'] This should be O(N). Wai Yip On Fri, 08 Apr 2011 10:49:23 -0700, Tim Hatch wrote: > By some quick experiments, it looks like you can double the speed from > your version by not doing all the reversed/sorted stuff and just keeping > track of it in a much less exciting way: > > def unique2(seq): > seen = set() > out = [] > for i in seq: > if i not in seen: > out.append(i) > seen.add(i) > return out > > # yours > $ python -m timeit -s 'from demo import unique' 'sum(unique([1, 1, 2, 3, > 4]))' > 100000 loops, best of 3: 5.07 usec per loop > # mine > $ python -m timeit -s 'from demo import unique2' 'sum(unique2([1, 1, 2, > 3, > 4]))' > 100000 loops, best of 3: 2.65 usec per loop > > You can actually make it a smidge faster still by making it a generator, > for at least this tiny case (as it becomes bigger, into the thousands of > items, it's much more like unique2's timings): > > def unique3(seq): > seen = set() > for i in seq: > if i not in seen: > yield i > seen.add(i) > > $ python -m timeit -s 'from demo import unique3' 'sum(unique3([1, 1, 2, > 3, > 4]))' > 1000000 loops, best of 3: 1.99 usec per loop > > Tim > >> Erratum: the function I suggested is incomplete without this line >> following the docstring. >> >> if seq is None: return None >> >> >> On Thu, Apr 7, 2011 at 6:42 PM, Hy Carrinski >> wrote: >>> Dear BayPIGgies, >>> >>> Thank you for providing exceptional reading material over the past >>> year for an avid conversation follower and occasional meeting >>> attendee. >>> >>> I would like to join the conversation and contribute to the community >>> beginning with this post. I will attend our meeting this month, and >>> look forward to meeting at Noisebridge or elsewhere to watch PyCon >>> 2011 videos together. >>> >>> While thinking about unique lists in the context of Vikram's recent >>> question, I came across a related blog post at >>> http://www.peterbe.com/plog/uniqifiers-benchmark >>> >>> The post emphasizes speed and maintaining original list order when >>> removing duplicates from a list. >>> >>> Although the post is several years old, I thought of a solution to the >>> question it poses that is different from the ones proposed by >>> BayPIGgies either in the blog's comments or at a previous discussion >>> (before reversed, sorted, and set were introduced in Python 2.4) at >>> http://code.activestate.com/recipes/52560/ >>> >>> I will be grateful for any comments on my ask forgiveness rather than >>> permission implementation. It requires that all elements of the list >>> be hashable and works for Python 2.x where x >= 4. >>> >>> def unique(seq): >>> ? ? """Return unique list of hashable objects while preserving >>> order.""" >>> ? ? seen = {} >>> ? ? for ix in reversed(xrange(len(seq))): >>> ? ? ? ? seen[seq[ix]] = ix >>> ? ? return sorted(seen,key=seen.__getitem__) >>> >>> For the case of hashable objects are there disadvantages to this >>> implementation versus the ones referenced above? Is there a reason to >>> prefer operator.itemgetter over __getitem__ in this limited context? >>> Is there an advantage in clarity or performance to using >>> collections.OrderedDict in Python 2.7 and above? For lists containing >>> a great number of distinct objects the sort step will introduce a >>> lower bound on speed for this implementation. >>> >>> I look forward to meeting more BayPIGgies in the coming months and >>> years. >>> >>> Cheers, >>> Hy >>> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From hcarrinski at gmail.com Fri Apr 8 22:10:04 2011 From: hcarrinski at gmail.com (Hy Carrinski) Date: Fri, 8 Apr 2011 13:10:04 -0700 Subject: [Baypiggies] hello and returning unique elements In-Reply-To: <79a5f965ef91d9799bd9d4ff38b175e5.squirrel@webmail.timhatch.com> References: <79a5f965ef91d9799bd9d4ff38b175e5.squirrel@webmail.timhatch.com> Message-ID: Thank you for demonstrating a simpler and faster solution. It is equivalent to a solution suggested by Andrew Dalke in the initially referenced blog's comments back in 2006. My performance comparisons had been only with even older solutions (designed prior to Python 2.4) based on dictionaries rather than sets. The advantages are now clear of storing a set of encountered objects, adding to a unique list in a preferred order, and better yet of making it a generator. Thanks, Hy On Fri, Apr 8, 2011 at 10:49 AM, Tim Hatch wrote: > By some quick experiments, it looks like you can double the speed from > your version by not doing all the reversed/sorted stuff and just keeping > track of it in a much less exciting way: > > def unique2(seq): > ?seen = set() > ?out = [] > ?for i in seq: > ? ?if i not in seen: > ? ? ?out.append(i) > ? ? ?seen.add(i) > ?return out > > # yours > $ python -m timeit -s 'from demo import unique' 'sum(unique([1, 1, 2, 3, > 4]))' > 100000 loops, best of 3: 5.07 usec per loop > # mine > $ python -m timeit -s 'from demo import unique2' 'sum(unique2([1, 1, 2, 3, > 4]))' > 100000 loops, best of 3: 2.65 usec per loop > > You can actually make it a smidge faster still by making it a generator, > for at least this tiny case (as it becomes bigger, into the thousands of > items, it's much more like unique2's timings): > > def unique3(seq): > ?seen = set() > ?for i in seq: > ? ?if i not in seen: > ? ? ?yield i > ? ? ?seen.add(i) > > $ python -m timeit -s 'from demo import unique3' 'sum(unique3([1, 1, 2, 3, > 4]))' > 1000000 loops, best of 3: 1.99 usec per loop > > Tim From cappy2112 at gmail.com Sat Apr 9 19:50:05 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Sat, 9 Apr 2011 10:50:05 -0700 Subject: [Baypiggies] Avery Pennarun's presentation on bup, sshutle, and redo, @ The Hacker Dojo April 12th, 7:30PM Message-ID: Avery Pennarun http://apenwarr.ca/index.html is giving the following presentation at the Hacker Dojo in Mountain View, on April 12th at 7:30 PM bup (a git-based backup tool), redo (a build tool like make only simpler *and* more powerful), and sshuttle (a poor man's VPN), all of which happen to be written in python. We will try to answer at least some of these questions: - If python really that slow? If so, how does bup process 80 megabytes/sec in an interpreted language? - Just how large of a file can you put into a git repository? And how can bup store files 100x larger than that? - If parallelism in python is so impossible, why does 'redo -j5' work better than 'make -j5' ? - How exactly does sshuttle make a connection if there's no sshuttle installed on the other side? (Hint: it's an internet worm.) - If you were to design a massively distributed peer-to-peer filesystem or database with negative latency, caching, and support for incremental updates of huge files, how should you do it and why would you call it "git-based backup software"? How many people are interested? (reply with +1) Hacker Dojo http://wiki.hackerdojo.com/w/page/25437/FrontPage 140A South Whisman Rd Mountain View, CA 94041 (650) 898-7925 Make sure you pay attention to the parking restrictions at the Dojo! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bryceverdier at gmail.com Sun Apr 10 01:49:36 2011 From: bryceverdier at gmail.com (Bryce Verdier) Date: Sat, 9 Apr 2011 16:49:36 -0700 Subject: [Baypiggies] Avery Pennarun's presentation on bup, sshutle, and redo, @ The Hacker Dojo April 12th, 7:30PM In-Reply-To: References: Message-ID: +1 On Apr 9, 2011 10:51 AM, "Tony Cappellini" wrote: Avery Pennarun http://apenwarr.ca/index.html is giving the following presentation at the Hacker Dojo in Mountain View, on April 12th at 7:30 PM bup (a git-based backup tool), redo (a build tool like make only simpler *and* more powerful), and sshuttle (a poor man's VPN), all of which happen to be written in python. We will try to answer at least some of these questions: - If python really that slow? If so, how does bup process 80 megabytes/sec in an interpreted language? - Just how large of a file can you put into a git repository? And how can bup store files 100x larger than that? - If parallelism in python is so impossible, why does 'redo -j5' work better than 'make -j5' ? - How exactly does sshuttle make a connection if there's no sshuttle installed on the other side? (Hint: it's an internet worm.) - If you were to design a massively distributed peer-to-peer filesystem or database with negative latency, caching, and support for incremental updates of huge files, how should you do it and why would you call it "git-based backup software"? How many people are interested? (reply with +1) Hacker Dojo http://wiki.hackerdojo.com/w/page/25437/FrontPage 140A South Whisman Rd Mountain View, CA 94041 (650) 898-7925 Make sure you pay attention to the parking restrictions at the Dojo! _______________________________________________ Baypiggies mailing list Baypiggies at python.org To change your subscription options or unsubscribe: http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From cschin at infoecho.net Sun Apr 10 03:19:41 2011 From: cschin at infoecho.net (Jason Chin) Date: Sat, 9 Apr 2011 18:19:41 -0700 Subject: [Baypiggies] Avery Pennarun's presentation on bup, sshutle, and redo, @ The Hacker Dojo April 12th, 7:30PM In-Reply-To: References: Message-ID: +1 --Jason Chin, sent from a mobile device On Apr 9, 2011, at 4:49 PM, Bryce Verdier wrote: > +1 > >> On Apr 9, 2011 10:51 AM, "Tony Cappellini" wrote: >> >> >> Avery Pennarun >> http://apenwarr.ca/index.html >> >> is giving the following presentation at the Hacker Dojo in Mountain View, >> on April 12th at 7:30 PM >> >> >> bup (a git-based backup tool), redo (a build tool like make only simpler *and* more >> powerful), and sshuttle (a poor man's VPN), all of which happen to be >> written in python. We will try to answer at least some of these >> questions: >> >> - If python really that slow? If so, how does bup process 80 >> megabytes/sec in an interpreted language? >> >> - Just how large of a file can you put into a git repository? And how >> can bup store files 100x larger than that? >> >> - If parallelism in python is so impossible, why does 'redo -j5' work >> better than 'make -j5' ? >> >> - How exactly does sshuttle make a connection if there's no sshuttle >> installed on the other side? (Hint: it's an internet worm.) >> >> - If you were to design a massively distributed peer-to-peer >> filesystem or database with negative latency, caching, and support for >> incremental updates of huge files, how should you do it and why would >> you call it "git-based backup software"? >> >> >> How many people are interested? (reply with +1) >> >> Hacker Dojo >> http://wiki.hackerdojo.com/w/page/25437/FrontPage >> >> 140A South Whisman Rd >> Mountain View, CA 94041 >> (650) 898-7925 >> >> Make sure you pay attention to the parking restrictions at the Dojo! >> >> >> >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies -------------- next part -------------- An HTML attachment was scrubbed... URL: From akwright at mac.com Sun Apr 10 06:43:21 2011 From: akwright at mac.com (Kevin Wright) Date: Sat, 09 Apr 2011 21:43:21 -0700 Subject: [Baypiggies] Avery Pennarun's presentation on bup, sshutle, and redo, @ The Hacker Dojo April 12th, 7:30PM In-Reply-To: References: Message-ID: <7217ED3B-80B8-4F25-939D-9B38266A3770@mac.com> +1 On Apr 9, 2011, at 10:50 AM, Tony Cappellini wrote: > > Avery Pennarun > http://apenwarr.ca/index.html > > is giving the following presentation at the Hacker Dojo in Mountain View, > on April 12th at 7:30 PM > > > bup (a git-based backup tool), redo (a build tool like make only simpler *and* more > powerful), and sshuttle (a poor man's VPN), all of which happen to be > written in python. We will try to answer at least some of these > questions: > > - If python really that slow? If so, how does bup process 80 > megabytes/sec in an interpreted language? > > - Just how large of a file can you put into a git repository? And how > can bup store files 100x larger than that? > > - If parallelism in python is so impossible, why does 'redo -j5' work > better than 'make -j5' ? > > - How exactly does sshuttle make a connection if there's no sshuttle > installed on the other side? (Hint: it's an internet worm.) > > - If you were to design a massively distributed peer-to-peer > filesystem or database with negative latency, caching, and support for > incremental updates of huge files, how should you do it and why would > you call it "git-based backup software"? > > > How many people are interested? (reply with +1) > > Hacker Dojo > http://wiki.hackerdojo.com/w/page/25437/FrontPage > > 140A South Whisman Rd > Mountain View, CA 94041 > (650) 898-7925 > > Make sure you pay attention to the parking restrictions at the Dojo! > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From cappy2112 at gmail.com Sun Apr 10 08:35:29 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Sat, 9 Apr 2011 23:35:29 -0700 Subject: [Baypiggies] Newbie Nugget for 4/28 Message-ID: Jeff Fischer wants to do a newbie nugget this month on one of the following topics - PyPi, what it is, how to use it, and how to submit your package - How to write command line utilities in Python Shall we take a vote on which topic? Reply with +1 As of now, we still don't have anyone committed to talk about Pycon 2011. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From Web at StevePiercy.com Sun Apr 10 10:41:02 2011 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Sun, 10 Apr 2011 01:41:02 -0700 Subject: [Baypiggies] Newbie Nugget for 4/28 In-Reply-To: Message-ID: On 4/9/11 at 11:35 PM, cappy2112 at gmail.com (Tony Cappellini) pronounced: > - PyPi, what it is, how to use it, and how to submit your package +1 --steve -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From alexandre.conrad at gmail.com Sun Apr 10 19:16:14 2011 From: alexandre.conrad at gmail.com (Alexandre Conrad) Date: Sun, 10 Apr 2011 10:16:14 -0700 Subject: [Baypiggies] Newbie Nugget for 4/28 In-Reply-To: References: Message-ID: > PyPi, what it is, how to use it, and how to submit your package +1 -- Alex | twitter.com/alexconrad From emile at salesinq.com Sun Apr 10 20:30:45 2011 From: emile at salesinq.com (Emile van Sebille) Date: Sun, 10 Apr 2011 11:30:45 -0700 Subject: [Baypiggies] Avery Pennarun's presentation on bup, sshutle, and redo, @ The Hacker Dojo April 12th, 7:30PM In-Reply-To: References: Message-ID: <4DA1F755.8060607@salesinq.com> On 4/9/2011 10:50 AM Tony Cappellini said... > How many people are interested? (reply with +1) +1 From nagappan at gmail.com Sun Apr 10 18:34:16 2011 From: nagappan at gmail.com (Nagappan Alagappan) Date: Sun, 10 Apr 2011 09:34:16 -0700 Subject: [Baypiggies] Avery Pennarun's presentation on bup, sshutle, and redo, @ The Hacker Dojo April 12th, 7:30PM In-Reply-To: References: Message-ID: +1 On Sat, Apr 9, 2011 at 10:50 AM, Tony Cappellini wrote: > > Avery Pennarun > http://apenwarr.ca/index.html > > is giving the following presentation at the Hacker Dojo in Mountain View, > on April 12th at 7:30 PM > > > bup (a git-based backup tool), redo (a build tool like make only simpler > *and* more > powerful), and sshuttle (a poor man's VPN), all of which happen to be > written in python. We will try to answer at least some of these > questions: > > - If python really that slow? If so, how does bup process 80 > megabytes/sec in an interpreted language? > > - Just how large of a file can you put into a git repository? And how > can bup store files 100x larger than that? > > - If parallelism in python is so impossible, why does 'redo -j5' work > better than 'make -j5' ? > > - How exactly does sshuttle make a connection if there's no sshuttle > installed on the other side? (Hint: it's an internet worm.) > > - If you were to design a massively distributed peer-to-peer > filesystem or database with negative latency, caching, and support for > incremental updates of huge files, how should you do it and why would > you call it "git-based backup software"? > > > How many people are interested? (reply with +1) > > Hacker Dojo > http://wiki.hackerdojo.com/w/page/25437/FrontPage > > 140A South Whisman Rd > Mountain View, CA 94041 > (650) 898-7925 > > Make sure you pay attention to the parking restrictions at the Dojo! > > > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Mon Apr 11 01:30:11 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Sun, 10 Apr 2011 16:30:11 -0700 Subject: [Baypiggies] Fwd: Avery Pennarun's presentation on bup, sshutle, and redo, @ The Hacker Dojo April 12th, 7:30PM In-Reply-To: <3e05d5ab07fc1c68fef31845a99b6519.squirrel@webmail.timhatch.com> References: <3e05d5ab07fc1c68fef31845a99b6519.squirrel@webmail.timhatch.com> Message-ID: ---------- Forwarded message ---------- From: Tim Hatch Date: Sun, Apr 10, 2011 at 3:42 PM Subject: Re: [Baypiggies] Avery Pennarun's presentation on bup, sshutle, and redo, @ The Hacker Dojo April 12th, 7:30PM To: cappy2112 at gmail.com > How many people are interested? (reply with +1) +1 (off-list) Tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at systemateka.com Mon Apr 11 03:11:45 2011 From: jim at systemateka.com (jim) Date: Sun, 10 Apr 2011 18:11:45 -0700 Subject: [Baypiggies] possibility of Dan Roberts speaking on PyPy for our May meeting Message-ID: <1302484305.1629.19.camel@jim-LAPTOP> The PyPy mini-sprint at Noisebridge in March yielded the possibility that Dan Roberts could talk about PyPy at the BayPIGgies May meeting. What's your interest? From jim at systemateka.com Mon Apr 11 03:41:23 2011 From: jim at systemateka.com (jim) Date: Sun, 10 Apr 2011 18:41:23 -0700 Subject: [Baypiggies] finished blogging about PyCon In-Reply-To: References: Message-ID: <1302486083.1629.24.camel@jim-LAPTOP> Thanks lots, JJ. I enjoyed and am still enjoying-- there's a lot to enjoy. Seems to me that there's some value-added possibility to you presenting to the group: * what did you like most and why? pick a few and role with 'em a bit. * got ideas about the near-term direction of Python? On Wed, 2011-04-06 at 14:21 -0700, Shannon -jj Behrens wrote: > I finished blogging about all the talks I went to at PyCon. Whew, > that took a while! > > http://jjinux.blogspot.com/search/label/pycon2011 > > Enjoy! > -jj > From Web at StevePiercy.com Mon Apr 11 06:04:12 2011 From: Web at StevePiercy.com (Steve Piercy - Web Site Builder) Date: Sun, 10 Apr 2011 21:04:12 -0700 Subject: [Baypiggies] possibility of Dan Roberts speaking on PyPy for our May meeting In-Reply-To: <1302484305.1629.19.camel@jim-LAPTOP> Message-ID: On 4/10/11 at 6:11 PM, jim at systemateka.com (jim) pronounced: > The PyPy mini-sprint at Noisebridge in March > yielded the possibility that Dan Roberts could talk > about PyPy at the BayPIGgies May meeting. > What's your interest? I'd be interested. --steve -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA From liyiou at gmail.com Mon Apr 11 23:24:13 2011 From: liyiou at gmail.com (Yiou Li) Date: Mon, 11 Apr 2011 14:24:13 -0700 Subject: [Baypiggies] Question about collecting lower/upper triangle elements from a python array Message-ID: Dear all, I have a N x N array and want to obtain the lower triangle half of the array elements and arrange them into a 1-dimensional data vector. I googled a bit and find the numpy.tril() function but it just zero out the upper triangle elements so it doesn't work for me. I also tried y = x(tril(x)!=0) but it gives me error. You advise is very much appreciated! Leo From jglouderback at gmail.com Tue Apr 12 00:04:01 2011 From: jglouderback at gmail.com (Joe Louderback) Date: Mon, 11 Apr 2011 15:04:01 -0700 Subject: [Baypiggies] Question about collecting lower/upper triangle elements from a python array In-Reply-To: References: Message-ID: The following gives a 1-d vector reading the lower triangular values by row. There may be more efficient ways to do this, especially if you are guaranteed there aren't any lower triangular elements equal to 0. import numpy as np def lowerTri(x): return np.concatenate([ x[i][:i+1] for i in xrange(x.shape[0]) ]) A = np.array([[2, 4, 6],[8, 10, 12], [14, 16, 18]]) lowerTri(A) array([ 2, 8, 10, 14, 16, 18 ]) -- Joe L. On Mon, Apr 11, 2011 at 2:24 PM, Yiou Li wrote: > Dear all, > > I have a N x N array and want to obtain the lower triangle half of the > array elements and arrange them into a 1-dimensional data vector. > > I googled a bit and find the numpy.tril() function but it just zero > out the upper triangle elements so it doesn't work for me. I also > tried y = x(tril(x)!=0) but it gives me error. > > You advise is very much appreciated! > > Leo > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jjinux at gmail.com Tue Apr 12 00:15:11 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Mon, 11 Apr 2011 15:15:11 -0700 Subject: [Baypiggies] possibility of Dan Roberts speaking on PyPy for our May meeting In-Reply-To: <1302484305.1629.19.camel@jim-LAPTOP> References: <1302484305.1629.19.camel@jim-LAPTOP> Message-ID: On Sun, Apr 10, 2011 at 6:11 PM, jim wrote: > ? ?The PyPy mini-sprint at Noisebridge in March > yielded the possibility that Dan Roberts could talk > about PyPy at the BayPIGgies May meeting. > ? ?What's your interest? I saw the talk at the SF Python Meetup, but I'm still +1 because I assume other people didn't. -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From jjinux at gmail.com Tue Apr 12 00:16:57 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Mon, 11 Apr 2011 15:16:57 -0700 Subject: [Baypiggies] finished blogging about PyCon In-Reply-To: <1302486083.1629.24.camel@jim-LAPTOP> References: <1302486083.1629.24.camel@jim-LAPTOP> Message-ID: On Sun, Apr 10, 2011 at 6:41 PM, jim wrote: > ? ?Thanks lots, JJ. I enjoyed and am still enjoying-- > there's a lot to enjoy. > ? ?Seems to me that there's some value-added possibility > to you presenting to the group: > * what did you like most and why? pick a few and role > ?with 'em a bit. > * got ideas about the near-term direction of Python? I'm happy to talk more if you guys are interested. However, it's probably more interesting if I talk about the ones that you guys are interested in rather than the ones I'm interested in. -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From jjinux at gmail.com Tue Apr 12 00:18:20 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Mon, 11 Apr 2011 15:18:20 -0700 Subject: [Baypiggies] Newbie Nugget for 4/28 In-Reply-To: References: Message-ID: On Sat, Apr 9, 2011 at 11:35 PM, Tony Cappellini wrote: > Jeff Fischer wants to do a newbie nugget this month on one of the following > topics > > PyPi, what it is, how to use it, and how to submit your package > How to write command line utilities in Python > > Shall we take a vote on which topic? > Reply with +1 > As of now, we still don't have anyone committed to talk about Pycon 2011. +1. Since newbie nuggets are so short, I don't even think it's all that important that we vote on them. -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From simeonf at gmail.com Tue Apr 12 00:26:38 2011 From: simeonf at gmail.com (Simeon Franklin) Date: Mon, 11 Apr 2011 15:26:38 -0700 Subject: [Baypiggies] Newbie Nugget for 4/28 In-Reply-To: References: Message-ID: On Mon, Apr 11, 2011 at 3:18 PM, Shannon -jj Behrens wrote: > +1. ?Since newbie nuggets are so short, I don't even think it's all > that important that we vote on them. I think the point was that you get to pick which one you want. Put me down for +1 on pypi. -regards Simeon Franklin From cappy2112 at gmail.com Tue Apr 12 01:32:05 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Mon, 11 Apr 2011 16:32:05 -0700 Subject: [Baypiggies] Newbie Nugget for 4/28 In-Reply-To: References: Message-ID: There was a choice of two nuggets, but the votes have all been for pypi. We still have no presenters scheduled for 4/28. Who wants to talk about Pycon? From jim at well.com Tue Apr 12 04:50:37 2011 From: jim at well.com (jim) Date: Mon, 11 Apr 2011 19:50:37 -0700 Subject: [Baypiggies] Newbie Nugget for 4/28 In-Reply-To: References: Message-ID: <1302576637.1629.83.camel@jim-LAPTOP> On Mon, 2011-04-11 at 15:18 -0700, Shannon -jj Behrens wrote: > +1. Since newbie nuggets are so short, I don't even think it's all > that important that we vote on them. this seems right to me. if we can get a newbie nuggeteer, sign 'em up, maybe map the n_nuggeteer to an appropriate main talk, maybe.... From ademan555 at gmail.com Tue Apr 12 05:28:40 2011 From: ademan555 at gmail.com (Dan Roberts) Date: Mon, 11 Apr 2011 20:28:40 -0700 Subject: [Baypiggies] possibility of Dan Roberts speaking on PyPy for our May meeting In-Reply-To: References: <1302484305.1629.19.camel@jim-LAPTOP> Message-ID: Hi Shannon, I can certainly try to cover different material, after the requisite introduction to PyPy of course. The JIT is definitely among the more exciting aspects of PyPy, but there are certainly other areas, like building other language interpreters, plugging in a new GC, maybe modifying Python semantics, or even CPyExt, the CPython API compatibility layer, which I've done a lot of work on (probably not the most generally interesting topic). I could focus on one particular JIT optimization, such as Antonio Cuni's work to make ctypes super fast (in progress), or H?kan Ardo's unrolling optimization. I'd love to present on the particular aspect of PyPy that makes people at Baypiggies excited :-) Currently I've been planning on presenting a basic introduction and talking about the JIT in general and touching on other language interpreters, since that doesn't seem to get much love in PyPy talks. Cheers, Dan On Mon, Apr 11, 2011 at 3:15 PM, Shannon -jj Behrens wrote: > On Sun, Apr 10, 2011 at 6:11 PM, jim wrote: >> ? ?The PyPy mini-sprint at Noisebridge in March >> yielded the possibility that Dan Roberts could talk >> about PyPy at the BayPIGgies May meeting. >> ? ?What's your interest? > > I saw the talk at the SF Python Meetup, but I'm still +1 because I > assume other people didn't. > > -jj > > -- > In this life we cannot do great things. We can only do small things > with great love. -- Mother Teresa > http://jjinux.blogspot.com/ > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From cappy2112 at gmail.com Tue Apr 12 06:26:59 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Mon, 11 Apr 2011 21:26:59 -0700 Subject: [Baypiggies] Newbie Nugget for 4/28 In-Reply-To: <1302576637.1629.83.camel@jim-LAPTOP> References: <1302576637.1629.83.camel@jim-LAPTOP> Message-ID: We already have one signed up On Mon, Apr 11, 2011 at 7:50 PM, jim wrote: > > > On Mon, 2011-04-11 at 15:18 -0700, Shannon -jj Behrens wrote: > > +1. Since newbie nuggets are so short, I don't even think it's all > > that important that we vote on them. > > this seems right to me. if we can get a newbie nuggeteer, > sign 'em up, maybe map the n_nuggeteer to an appropriate > main talk, maybe.... > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Tue Apr 12 21:21:24 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Tue, 12 Apr 2011 12:21:24 -0700 Subject: [Baypiggies] Unladen Swallow Retrospective Message-ID: http://lwn.net/Articles/435598/ https://lwn.net/Articles/435615/ From cappy2112 at gmail.com Tue Apr 12 21:59:07 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Tue, 12 Apr 2011 12:59:07 -0700 Subject: [Baypiggies] your PyCon talk In-Reply-To: References: Message-ID: Alex Do you want to do your presentation on 4/28 instead of May? On Tue, Apr 5, 2011 at 1:38 PM, Tony Cappellini wrote: > April is supposed to be the Pycon debrief/wrap up, but no one has committed > yet. > > I have a tentative for May, but he hasn't sent me the abstract so I can post > to the list. > > May-Dec are open at the moment, > > On Tue, Apr 5, 2011 at 1:31 PM, Shannon -jj Behrens > wrote: >> >> You may be able to give it next month.? Tony? >> >> On Apr 5, 2011 1:26 PM, "Alex Martelli" wrote: >> >> Hi JJ! ?No I haven't, but I'd like to. ?Do you know what months are >> available? ?(+CC Anna as she's the Keeper of our Calendar;-). >> >> >> Thanks, >> >> Alex >> >> On Tue, Apr 5, 2011 at 11:44 AM, Shannon -jj Behrens >> wrote: >> > Hey Alex, >> > >> > Have... > From cappy2112 at gmail.com Tue Apr 12 22:12:22 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Tue, 12 Apr 2011 13:12:22 -0700 Subject: [Baypiggies] your PyCon talk In-Reply-To: References: Message-ID: Thanks for the quick response Alex. We still have no presenters for April other than a newbie nugget, in spite of several requests. On Tue, Apr 12, 2011 at 1:04 PM, Alex Martelli wrote: > On Tue, Apr 12, 2011 at 12:59 PM, Tony Cappellini wrote: >> Alex >> >> Do you want to do your presentation on 4/28 instead of May? > > Hi Tony, > > not feasible, alas -- every Thu evening until the 4th Thu ?of May > excluded Anna and I are attending a community emergency response > training (CERT) class in Sunnyvale. ?But if there's other potential > speakers for May I'm happy to defer to them -- my talk won't spoil and > I can fill in for whatever month we'd otherwise lack a speaker for > (June and July might not work due to Europython and OSCON respectively > though - not 100% sure about the dates but the conflict does sound > likely - in which case it would have to be Aug at the earliest). From aleaxit at gmail.com Tue Apr 12 22:04:24 2011 From: aleaxit at gmail.com (Alex Martelli) Date: Tue, 12 Apr 2011 13:04:24 -0700 Subject: [Baypiggies] your PyCon talk In-Reply-To: References: Message-ID: On Tue, Apr 12, 2011 at 12:59 PM, Tony Cappellini wrote: > Alex > > Do you want to do your presentation on 4/28 instead of May? Hi Tony, not feasible, alas -- every Thu evening until the 4th Thu of May excluded Anna and I are attending a community emergency response training (CERT) class in Sunnyvale. But if there's other potential speakers for May I'm happy to defer to them -- my talk won't spoil and I can fill in for whatever month we'd otherwise lack a speaker for (June and July might not work due to Europython and OSCON respectively though - not 100% sure about the dates but the conflict does sound likely - in which case it would have to be Aug at the earliest). Thanks, Alex > > > > > > > > On Tue, Apr 5, 2011 at 1:38 PM, Tony Cappellini wrote: >> April is supposed to be the Pycon debrief/wrap up, but no one has committed >> yet. >> >> I have a tentative for May, but he hasn't sent me the abstract so I can post >> to the list. >> >> May-Dec are open at the moment, >> >> On Tue, Apr 5, 2011 at 1:31 PM, Shannon -jj Behrens >> wrote: >>> >>> You may be able to give it next month.? Tony? >>> >>> On Apr 5, 2011 1:26 PM, "Alex Martelli" wrote: >>> >>> Hi JJ! ?No I haven't, but I'd like to. ?Do you know what months are >>> available? ?(+CC Anna as she's the Keeper of our Calendar;-). >>> >>> >>> Thanks, >>> >>> Alex >>> >>> On Tue, Apr 5, 2011 at 11:44 AM, Shannon -jj Behrens >>> wrote: >>> > Hey Alex, >>> > >>> > Have... >> > From mamin at mbasciences.com Tue Apr 12 23:04:01 2011 From: mamin at mbasciences.com (Minesh B. Amin) Date: Tue, 12 Apr 2011 14:04:01 -0700 Subject: [Baypiggies] your PyCon talk In-Reply-To: References: Message-ID: <1302642241.16910.21.camel@lusaka> Hi Folks, If there is interest, I can sign up for a talk on "Parallel Management Patterns (PMPs)" (April 28). Summary: If understanding any parallel problem is key to determining the solution, PMPs are a framework for decomposing and authoring scalable, fault tolerant parallel capabilities that span the entire spectrum of parallel solutions from coarse grain on one end to fine-grain on the other. In this talk, we will cover six PMPs that can be leveraged to exploit parallelism across servers, cores and GPUs. The examples to be discussed will leverage: + OpenMPI + multi-processing module + PyCuda + SPM.Python (will be strictly technical in nature) As an aside, my original intention was to conduct an Open Space at PyCon on this topic; unfortunately, could not take care of the logistics in time. The Pycon proposal can be found @ http://us.pycon.org/2011/openspaces/ParallelManagementPatterns Please skip the section titled "The last 40 minutes or so" :) Regards, Minesh From dirk at otisbean.com Wed Apr 13 00:17:05 2011 From: dirk at otisbean.com (Dirk Bergstrom) Date: Tue, 12 Apr 2011 15:17:05 -0700 Subject: [Baypiggies] your PyCon talk In-Reply-To: <1302642241.16910.21.camel@lusaka> References: <1302642241.16910.21.camel@lusaka> Message-ID: <87mxjvqfmm.wl%krid@otisbean.com> At Tue, 12 Apr 2011 14:04:01 -0700, Minesh B Amin wrote: > If there is interest, I can sign up for a talk on > "Parallel Management Patterns (PMPs)" (April 28). I'm definitely interested. -- -------------------------------------- Dirk Bergstrom krid at otisbean.com http://otisbean.com/ From bryceverdier at gmail.com Wed Apr 13 00:28:13 2011 From: bryceverdier at gmail.com (Bryce Verdier) Date: Tue, 12 Apr 2011 15:28:13 -0700 Subject: [Baypiggies] your PyCon talk In-Reply-To: <87mxjvqfmm.wl%krid@otisbean.com> References: <1302642241.16910.21.camel@lusaka> <87mxjvqfmm.wl%krid@otisbean.com> Message-ID: <4DA4D1FD.6020601@gmail.com> On 04/12/2011 03:17 PM, Dirk Bergstrom wrote: > At Tue, 12 Apr 2011 14:04:01 -0700, Minesh B Amin wrote: >> If there is interest, I can sign up for a talk on >> "Parallel Management Patterns (PMPs)" (April 28). > I'm definitely interested. > +1 From ken at seehart.com Wed Apr 13 00:44:59 2011 From: ken at seehart.com (Ken Seehart) Date: Tue, 12 Apr 2011 16:44:59 -0600 Subject: [Baypiggies] your PyCon talk In-Reply-To: <4DA4D1FD.6020601@gmail.com> References: <1302642241.16910.21.camel@lusaka> <87mxjvqfmm.wl%krid@otisbean.com> <4DA4D1FD.6020601@gmail.com> Message-ID: <4DA4D5EB.3050801@seehart.com> On 4/12/2011 4:28 PM, Bryce Verdier wrote: > On 04/12/2011 03:17 PM, Dirk Bergstrom wrote: >> At Tue, 12 Apr 2011 14:04:01 -0700, Minesh B Amin wrote: >>> If there is interest, I can sign up for a talk on >>> "Parallel Management Patterns (PMPs)" (April 28). >> I'm definitely interested. >> > +1 > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > +1 Dirk on PMP Also, I'm working on somewhat related stuff with python and cuda. I did a poster at pycon: http://us.pycon.org/2011/schedule/presentations/269/ So if there is time, I could add a short presentation about how we are using python and cuda in air traffic management research. Or, another month I could give a more comprehensive talk. Ken From ken at seehart.com Wed Apr 13 00:48:00 2011 From: ken at seehart.com (Ken Seehart) Date: Tue, 12 Apr 2011 16:48:00 -0600 Subject: [Baypiggies] your PyCon talk In-Reply-To: <4DA4D5EB.3050801@seehart.com> References: <1302642241.16910.21.camel@lusaka> <87mxjvqfmm.wl%krid@otisbean.com> <4DA4D1FD.6020601@gmail.com> <4DA4D5EB.3050801@seehart.com> Message-ID: <4DA4D6A0.3070502@seehart.com> On 4/12/2011 4:44 PM, Ken Seehart wrote: > On 4/12/2011 4:28 PM, Bryce Verdier wrote: >> On 04/12/2011 03:17 PM, Dirk Bergstrom wrote: >>> At Tue, 12 Apr 2011 14:04:01 -0700, Minesh B Amin wrote: >>>> If there is interest, I can sign up for a talk on >>>> "Parallel Management Patterns (PMPs)" (April 28). >>> I'm definitely interested. >>> >> +1 >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > +1 Dirk on PMP > > Also, I'm working on somewhat related stuff with python and cuda. I > did a poster at pycon: > http://us.pycon.org/2011/schedule/presentations/269/ > So if there is time, I could add a short presentation about how we are > using python and cuda in air traffic management research. > Or, another month I could give a more comprehensive talk. > > Ken > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > Ooops! I mean: +1 Minesh on PMP Ken From liyiou at gmail.com Wed Apr 13 01:50:56 2011 From: liyiou at gmail.com (Yiou Li) Date: Tue, 12 Apr 2011 16:50:56 -0700 Subject: [Baypiggies] Question about collecting lower/upper triangle elements from a python array In-Reply-To: References: Message-ID: Hi Joe, Thanks for the code! That works for me pretty well. Best, Leo On Mon, Apr 11, 2011 at 3:04 PM, Joe Louderback wrote: > The following gives a 1-d vector reading the lower triangular values by row. > ?There may be more efficient ways to do this, especially if you are > guaranteed there aren't any lower triangular elements equal to 0. > import numpy as np > def lowerTri(x): > ?? ?return np.concatenate([ x[i][:i+1] for i in xrange(x.shape[0]) ]) > A = np.array([[2, ?4, ?6],[8, 10, 12], [14, 16, 18]]) > lowerTri(A) > array([ 2, 8, 10, 14, 16, 18 ]) > > -- Joe L. > On Mon, Apr 11, 2011 at 2:24 PM, Yiou Li wrote: >> >> Dear all, >> >> I have a N x N array and want to obtain the lower triangle half of the >> array elements and arrange them into a 1-dimensional data vector. >> >> I googled a bit and find the numpy.tril() function but it just zero >> out the upper triangle elements so it doesn't work for me. I also >> tried y = x(tril(x)!=0) but it gives me error. >> >> You advise is very much appreciated! >> >> Leo >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From pivanov314 at gmail.com Wed Apr 13 02:47:16 2011 From: pivanov314 at gmail.com (Paul Ivanov) Date: Tue, 12 Apr 2011 17:47:16 -0700 Subject: [Baypiggies] Question about collecting lower/upper triangle elements from a python array In-Reply-To: References: Message-ID: <20110413004716.GD29051@ykcyc> Another way, which is slower, but more flexible, depending on what you need to do (e.g. to be able to edit the triangular elements in place, or use a diagonal offset): np.tril_indices You can also use the np.tril_indices_from - which takes an array as it's first argument. Joe's example would be just: In [1]: A = np.array([[2,4,6],[8,10,12], [14,16,18]]) In [2]: A[np.tril_indices_from(A)] Out[2]: array([ 2, 8, 10, 14, 16, 18]) from the docstring: >>> il1 = np.tril_indices(4) Here is how they can be used with a sample array: >>> a = np.arange(16).reshape(4, 4) >>> a array([[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11], [12, 13, 14, 15]]) Both for indexing: >>> a[il1] array([ 0, 4, 5, 8, 9, 10, 12, 13, 14, 15]) And for assigning values: >>> a[il1] = -1 >>> a array([[-1, 1, 2, 3], [-1, -1, 6, 7], [-1, -1, -1, 11], [-1, -1, -1, -1]]) best, -- Paul Ivanov 314 address only used for lists, off-list direct email at: http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7 Yiou Li, on 2011-04-12 16:50, wrote: > Hi Joe, > > Thanks for the code! That works for me pretty well. > > Best, > Leo > > > On Mon, Apr 11, 2011 at 3:04 PM, Joe Louderback wrote: > > The following gives a 1-d vector reading the lower triangular values by row. > > ?There may be more efficient ways to do this, especially if you are > > guaranteed there aren't any lower triangular elements equal to 0. > > import numpy as np def lowerTri(x): ?? ?return np.concatenate([ x[i][:i+1] for i in xrange(x.shape[0]) ]) > > A = np.array([[2, ?4, ?6],[8, 10, 12], [14, 16, 18]]) > > lowerTri(A) > > array([ 2, 8, 10, 14, 16, 18 ]) > > > > -- Joe L. > > On Mon, Apr 11, 2011 at 2:24 PM, Yiou Li wrote: > >> > >> Dear all, > >> > >> I have a N x N array and want to obtain the lower triangle half of the > >> array elements and arrange them into a 1-dimensional data vector. > >> > >> I googled a bit and find the numpy.tril() function but it just zero > >> out the upper triangle elements so it doesn't work for me. I also > >> tried y = x(tril(x)!=0) but it gives me error. > >> > >> You advise is very much appreciated! > >> > >> Leo -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From cappy2112 at gmail.com Wed Apr 13 08:03:54 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Tue, 12 Apr 2011 23:03:54 -0700 Subject: [Baypiggies] Presentation at the Hacker Dojo Message-ID: Did anyone go to Avery's presentation at The Hacker Dojo tonight? How was the presentation? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mamin at mbasciences.com Wed Apr 13 08:54:15 2011 From: mamin at mbasciences.com (Minesh B. Amin) Date: Tue, 12 Apr 2011 23:54:15 -0700 Subject: [Baypiggies] Presentation at the Hacker Dojo In-Reply-To: References: Message-ID: <1302677655.2377.1.camel@lusaka> _Really good_. Minesh On Tue, 2011-04-12 at 23:03 -0700, Tony Cappellini wrote: > > Did anyone go to Avery's presentation at The Hacker Dojo tonight? > How was the presentation? > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From nagappan at gmail.com Wed Apr 13 20:39:57 2011 From: nagappan at gmail.com (Nagappan Alagappan) Date: Wed, 13 Apr 2011 11:39:57 -0700 Subject: [Baypiggies] Presentation at the Hacker Dojo In-Reply-To: References: Message-ID: Tony, Really awesome ! Thanks Nagappan On Tue, Apr 12, 2011 at 11:03 PM, Tony Cappellini wrote: > > Did anyone go to Avery's presentation at The Hacker Dojo tonight? > How was the presentation? > > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Wed Apr 13 21:01:21 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Wed, 13 Apr 2011 12:01:21 -0700 Subject: [Baypiggies] Presentation at the Hacker Dojo In-Reply-To: References: Message-ID: Glad to hear some found it interesting. I wasn't able to go :( On Wed, Apr 13, 2011 at 11:39 AM, Nagappan Alagappan wrote: > Tony, > Really awesome ! > Thanks > Nagappan > > On Tue, Apr 12, 2011 at 11:03 PM, Tony Cappellini > wrote: >> >> Did anyone go to Avery's presentation at The Hacker Dojo tonight? >> How was the presentation? >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > From jjinux at gmail.com Wed Apr 13 21:25:13 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Wed, 13 Apr 2011 12:25:13 -0700 Subject: [Baypiggies] your PyCon talk In-Reply-To: <4DA4D6A0.3070502@seehart.com> References: <1302642241.16910.21.camel@lusaka> <87mxjvqfmm.wl%krid@otisbean.com> <4DA4D1FD.6020601@gmail.com> <4DA4D5EB.3050801@seehart.com> <4DA4D6A0.3070502@seehart.com> Message-ID: +1 On Tue, Apr 12, 2011 at 3:48 PM, Ken Seehart wrote: > On 4/12/2011 4:44 PM, Ken Seehart wrote: >> >> On 4/12/2011 4:28 PM, Bryce Verdier wrote: >>> >>> On 04/12/2011 03:17 PM, Dirk Bergstrom wrote: >>>> >>>> At Tue, 12 Apr 2011 14:04:01 -0700, Minesh B Amin wrote: >>>>> >>>>> If there is interest, I can sign up for a talk on >>>>> "Parallel Management Patterns (PMPs)" (April 28). >>>> >>>> I'm definitely interested. >>>> >>> +1 >>> _______________________________________________ >>> Baypiggies mailing list >>> Baypiggies at python.org >>> To change your subscription options or unsubscribe: >>> http://mail.python.org/mailman/listinfo/baypiggies >>> >> +1 Dirk on PMP >> >> Also, I'm working on somewhat related stuff with python and cuda. ?I did a >> poster at pycon: http://us.pycon.org/2011/schedule/presentations/269/ >> So if there is time, I could add a short presentation about how we are >> using python and cuda in air traffic management research. >> Or, another month I could give a more comprehensive talk. >> >> Ken >> >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies >> > Ooops! ?I mean: ?+1 Minesh on PMP > Ken > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From ognen.duzlevski at gmail.com Thu Apr 14 05:26:02 2011 From: ognen.duzlevski at gmail.com (Ognen Duzlevski) Date: Wed, 13 Apr 2011 22:26:02 -0500 Subject: [Baypiggies] Looking for a website design/development company Message-ID: Hello, We are looking for a reliable and serious website design/development company to do some work on our company website. Please contact me at ognen.duzlevski at gmail.com Python obviously preferred :-) Thanks, Ognen -------------- next part -------------- An HTML attachment was scrubbed... URL: From cappy2112 at gmail.com Thu Apr 14 18:41:34 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Thu, 14 Apr 2011 09:41:34 -0700 Subject: [Baypiggies] Writing Titanium Desktop Applications with Python - for May Baypiggies meeting Message-ID: Alan DuBoff wants to give the following presentation at the May Baypiggies meeting. Vote +1 if you're interested. Abstract Writing Titanium Desktop Applications with Python Appcelerator's Titanium Desktop provides the developer a means to use Python code, callable from Javascript. It provides a desktop application that will run on OSX, Linux, or Windows. Much of the backend is also written in Python which creates the applications, bundling, packaging, etc...although our libraries which are callable through Javascript are written in C/C++/Objective-C. The source code is open source and is readily available from github. This environment provides another way to deliver applications and can be useful to Python programmers in general. The product offers much more, but I wanted to highlite the fact that it does allow Python, and explain how it provides a flexible web interface on your desktop. Bio Alan DuBoff Has been consulting and working at various large and small companies in the high tech industry, including Silicon Valley area for more than 15 years. ?Alan has been involved with user groups, having run at least 6 of them over the past 30 years, starting with the Tokyo PC User Group. ?He likes embedded devices. ?His past work before working on Titanium Desktop includes Sun Microsystems, Kerbango/3Com, VA Linux Systems, WebVan, Cisco, IBM, Oracle, and more. He supports, advocates, and uses open source software whenever possible. -- Alan DuBoff - Software Orchestration http://www.softorchestra.com:8080/roller/blog/ From brent.tubbs at gmail.com Thu Apr 14 19:53:29 2011 From: brent.tubbs at gmail.com (Brent Tubbs) Date: Thu, 14 Apr 2011 10:53:29 -0700 Subject: [Baypiggies] Writing Titanium Desktop Applications with Python - for May Baypiggies meeting In-Reply-To: References: Message-ID: +1 On Thu, Apr 14, 2011 at 9:41 AM, Tony Cappellini wrote: > Alan DuBoff wants to give the following presentation at the May > Baypiggies meeting. > Vote +1 if you're interested. > > > Abstract > Writing Titanium Desktop Applications with Python > > Appcelerator's Titanium Desktop provides the developer a means to use > Python code, callable from Javascript. It provides a desktop > application that will run on OSX, Linux, or Windows. Much of the > backend is also written in Python which creates the applications, > bundling, packaging, etc...although our libraries which are callable > through Javascript are written in C/C++/Objective-C. The source code > is open source and is readily available from github. This environment > provides another way to deliver applications and can be useful to > Python programmers in general. The product offers much more, but I > wanted to highlite the fact that it does allow Python, and explain how > it provides a flexible web interface on your desktop. > > Bio > > Alan DuBoff > > Has been consulting and working at various large and small companies > in the high tech industry, including Silicon Valley area for more than > 15 years. ?Alan has been involved with user groups, having run at > least 6 of them over the past 30 years, starting with the Tokyo PC > User Group. ?He likes embedded devices. ?His past work before working > on Titanium Desktop includes Sun Microsystems, Kerbango/3Com, VA Linux > Systems, WebVan, Cisco, IBM, Oracle, and more. He supports, advocates, > and uses open source software whenever possible. > > -- > > Alan DuBoff - Software Orchestration > http://www.softorchestra.com:8080/roller/blog/ > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From jim at systemateka.com Thu Apr 14 20:12:11 2011 From: jim at systemateka.com (jim) Date: Thu, 14 Apr 2011 11:12:11 -0700 Subject: [Baypiggies] Writing Titanium Desktop Applications with Python - for May Baypiggies meeting In-Reply-To: References: Message-ID: <1302804731.1629.192.camel@jim-LAPTOP> Dan Roberts has offered to speak on PyPy at the May meeting (per my earlier email to the list). I'd checked the google calendar and did not see anything scheduled for bayPIGgies at that time. What's the interest and how to resolve? On Thu, 2011-04-14 at 09:41 -0700, Tony Cappellini wrote: > Alan DuBoff wants to give the following presentation at the May > Baypiggies meeting. > Vote +1 if you're interested. > > > Abstract > Writing Titanium Desktop Applications with Python > > Appcelerator's Titanium Desktop provides the developer a means to use > Python code, callable from Javascript. It provides a desktop > application that will run on OSX, Linux, or Windows. Much of the > backend is also written in Python which creates the applications, > bundling, packaging, etc...although our libraries which are callable > through Javascript are written in C/C++/Objective-C. The source code > is open source and is readily available from github. This environment > provides another way to deliver applications and can be useful to > Python programmers in general. The product offers much more, but I > wanted to highlite the fact that it does allow Python, and explain how > it provides a flexible web interface on your desktop. > > Bio > > Alan DuBoff > > Has been consulting and working at various large and small companies > in the high tech industry, including Silicon Valley area for more than > 15 years. Alan has been involved with user groups, having run at > least 6 of them over the past 30 years, starting with the Tokyo PC > User Group. He likes embedded devices. His past work before working > on Titanium Desktop includes Sun Microsystems, Kerbango/3Com, VA Linux > Systems, WebVan, Cisco, IBM, Oracle, and more. He supports, advocates, > and uses open source software whenever possible. > > -- > > Alan DuBoff - Software Orchestration > http://www.softorchestra.com:8080/roller/blog/ > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From nagappan at gmail.com Thu Apr 14 20:47:16 2011 From: nagappan at gmail.com (Nagappan Alagappan) Date: Thu, 14 Apr 2011 11:47:16 -0700 Subject: [Baypiggies] Writing Titanium Desktop Applications with Python - for May Baypiggies meeting In-Reply-To: References: Message-ID: +1 On Thu, Apr 14, 2011 at 9:41 AM, Tony Cappellini wrote: > Alan DuBoff wants to give the following presentation at the May > Baypiggies meeting. > Vote +1 if you're interested. > > > Abstract > Writing Titanium Desktop Applications with Python > > Appcelerator's Titanium Desktop provides the developer a means to use > Python code, callable from Javascript. It provides a desktop > application that will run on OSX, Linux, or Windows. Much of the > backend is also written in Python which creates the applications, > bundling, packaging, etc...although our libraries which are callable > through Javascript are written in C/C++/Objective-C. The source code > is open source and is readily available from github. This environment > provides another way to deliver applications and can be useful to > Python programmers in general. The product offers much more, but I > wanted to highlite the fact that it does allow Python, and explain how > it provides a flexible web interface on your desktop. > > Bio > > Alan DuBoff > > Has been consulting and working at various large and small companies > in the high tech industry, including Silicon Valley area for more than > 15 years. Alan has been involved with user groups, having run at > least 6 of them over the past 30 years, starting with the Tokyo PC > User Group. He likes embedded devices. His past work before working > on Titanium Desktop includes Sun Microsystems, Kerbango/3Com, VA Linux > Systems, WebVan, Cisco, IBM, Oracle, and more. He supports, advocates, > and uses open source software whenever possible. > > -- > > Alan DuBoff - Software Orchestration > http://www.softorchestra.com:8080/roller/blog/ > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From alvin at cloudwizard.com Thu Apr 14 21:26:17 2011 From: alvin at cloudwizard.com (Alvin Wang) Date: Thu, 14 Apr 2011 12:26:17 -0700 Subject: [Baypiggies] Writing Titanium Desktop Applications with Python - for May Baypiggies meeting In-Reply-To: References: Message-ID: +1 Would that let me write compiled apps for all 3 environments with Python? Thanks Alvin On Thu, Apr 14, 2011 at 11:47 AM, Nagappan Alagappan wrote: > +1 > > On Thu, Apr 14, 2011 at 9:41 AM, Tony Cappellini > wrote: >> >> Alan DuBoff wants to give the following presentation at the May >> Baypiggies meeting. >> Vote +1 if you're interested. >> >> >> Abstract >> Writing Titanium Desktop Applications with Python >> >> Appcelerator's Titanium Desktop provides the developer a means to use >> Python code, callable from Javascript. It provides a desktop >> application that will run on OSX, Linux, or Windows. Much of the >> backend is also written in Python which creates the applications, >> bundling, packaging, etc...although our libraries which are callable >> through Javascript are written in C/C++/Objective-C. The source code >> is open source and is readily available from github. This environment >> provides another way to deliver applications and can be useful to >> Python programmers in general. The product offers much more, but I >> wanted to highlite the fact that it does allow Python, and explain how >> it provides a flexible web interface on your desktop. >> >> Bio >> >> Alan DuBoff >> >> Has been consulting and working at various large and small companies >> in the high tech industry, including Silicon Valley area for more than >> 15 years. ?Alan has been involved with user groups, having run at >> least 6 of them over the past 30 years, starting with the Tokyo PC >> User Group. ?He likes embedded devices. ?His past work before working >> on Titanium Desktop includes Sun Microsystems, Kerbango/3Com, VA Linux >> Systems, WebVan, Cisco, IBM, Oracle, and more. He supports, advocates, >> and uses open source software whenever possible. >> >> -- >> >> Alan DuBoff - Software Orchestration >> http://www.softorchestra.com:8080/roller/blog/ >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > > > > -- > Linux Desktop (GUI Application) Testing Project - > http://ldtp.freedesktop.org > http://nagappanal.blogspot.com > > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > From jjinux at gmail.com Fri Apr 15 02:32:16 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Thu, 14 Apr 2011 17:32:16 -0700 Subject: [Baypiggies] Writing Titanium Desktop Applications with Python - for May Baypiggies meeting In-Reply-To: References: Message-ID: On Thu, Apr 14, 2011 at 9:41 AM, Tony Cappellini wrote: > Alan DuBoff wants to give the following presentation at the May > Baypiggies meeting. > Vote +1 if you're interested. > > > Abstract > Writing Titanium Desktop Applications with Python > > Appcelerator's Titanium Desktop provides the developer a means to use > Python code, callable from Javascript. It provides a desktop > application that will run on OSX, Linux, or Windows. Much of the > backend is also written in Python which creates the applications, > bundling, packaging, etc...although our libraries which are callable > through Javascript are written in C/C++/Objective-C. The source code > is open source and is readily available from github. This environment > provides another way to deliver applications and can be useful to > Python programmers in general. The product offers much more, but I > wanted to highlite the fact that it does allow Python, and explain how > it provides a flexible web interface on your desktop. > > Bio > > Alan DuBoff > > Has been consulting and working at various large and small companies > in the high tech industry, including Silicon Valley area for more than > 15 years. ?Alan has been involved with user groups, having run at > least 6 of them over the past 30 years, starting with the Tokyo PC > User Group. ?He likes embedded devices. ?His past work before working > on Titanium Desktop includes Sun Microsystems, Kerbango/3Com, VA Linux > Systems, WebVan, Cisco, IBM, Oracle, and more. He supports, advocates, > and uses open source software whenever possible. I don't care who speaks in which month. Talks on Titanium and PyPy would both be awesome. -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From cappy2112 at gmail.com Fri Apr 15 02:52:53 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Thu, 14 Apr 2011 17:52:53 -0700 Subject: [Baypiggies] Writing Titanium Desktop Applications with Python - for May Baypiggies meeting In-Reply-To: References: Message-ID: > I don't care who speaks in which month. ?Talks on Titanium and PyPy > would both be awesome. I don't think we got an formal votes on the PyPy talk. We probably need to because we now have a conflict for May. Votes for the talk on PyPy, reply with +1. From nagappan at gmail.com Fri Apr 15 05:25:07 2011 From: nagappan at gmail.com (Nagappan Alagappan) Date: Thu, 14 Apr 2011 20:25:07 -0700 Subject: [Baypiggies] Writing Titanium Desktop Applications with Python - for May Baypiggies meeting In-Reply-To: References: Message-ID: On Thu, Apr 14, 2011 at 5:52 PM, Tony Cappellini wrote: > > I don't care who speaks in which month. Talks on Titanium and PyPy > > would both be awesome. > > I don't think we got an formal votes on the PyPy talk. > We probably need to because we now have a conflict for May. > > Votes for the talk on PyPy, reply with +1. > +1 > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies > -- Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org http://nagappanal.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From max at theslimmers.net Fri Apr 15 19:38:51 2011 From: max at theslimmers.net (Max Slimmer) Date: Fri, 15 Apr 2011 10:38:51 -0700 Subject: [Baypiggies] How to store versioned objects Message-ID: I have an application where the user creates and saves business objects in a database. The objects are like invoices, header and detail lines possibly some other attachments. When the object is saved I want to create a version, and then should the user make changes I would save these as a subsequent version such that when I retrieve the object I normally get the latest version (along with some version id). If the user desires he can get a specific previous version or see history of changes including by who and when they were made. Keep in mind that these objects are not very large, like an invoice :-). Do you know of any libraries that might help with this. I suppose I could use some version control system and a mechanism to name the object and possibly store some of the meta data in db. Thanks, max From tungwaiyip at yahoo.com Fri Apr 15 20:02:06 2011 From: tungwaiyip at yahoo.com (Tung Wai Yip) Date: Fri, 15 Apr 2011 11:02:06 -0700 Subject: [Baypiggies] How to store versioned objects In-Reply-To: References: Message-ID: Not having much experience myself but it sounds like you want to look at temporal database. http://en.wikipedia.org/wiki/Temporal_database Wai Yip On Fri, 15 Apr 2011 10:38:51 -0700, Max Slimmer wrote: > I have an application where the user creates and saves business > objects in a database. The objects are like invoices, header and > detail lines possibly some other attachments. When the object is saved > I want to create a version, and then should the user make changes I > would save these as a subsequent version such that when I retrieve the > object I normally get the latest version (along with some version id). > If the user desires he can get a specific previous version or see > history of changes including by who and when they were made. Keep in > mind that these objects are not very large, like an invoice :-). > > Do you know of any libraries that might help with this. I suppose I > could use some version control system and a mechanism to name the > object and possibly store some of the meta data in db. > > Thanks, > > max > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From jason at mischievous.org Fri Apr 15 20:19:21 2011 From: jason at mischievous.org (Jason Culverhouse) Date: Fri, 15 Apr 2011 11:19:21 -0700 Subject: [Baypiggies] How to store versioned objects In-Reply-To: References: Message-ID: On Apr 15, 2011, at 11:02 AM, Tung Wai Yip wrote: > Not having much experience myself but it sounds like you want to look at temporal database. > > http://en.wikipedia.org/wiki/Temporal_database > > > Wai Yip > > > On Fri, 15 Apr 2011 10:38:51 -0700, Max Slimmer wrote: > >> I have an application where the user creates and saves business >> objects in a database. The objects are like invoices, header and >> detail lines possibly some other attachments. When the object is saved >> I want to create a version, and then should the user make changes I >> would save these as a subsequent version such that when I retrieve the >> object I normally get the latest version (along with some version id). >> If the user desires he can get a specific previous version or see >> history of changes including by who and when they were made. Keep in >> mind that these objects are not very large, like an invoice :-). >> >> Do you know of any libraries that might help with this. I suppose I >> could use some version control system and a mechanism to name the >> object and possibly store some of the meta data in db. You may not be using Django but you might look at django-reversion https://github.com/etianen/django-reversion to get some ideas. It basically just pickles the row into JSON in a shadow table. This doesn't help you "query" old data but it does protect you from schema migration which could get quite complicated if you alter the tables that you are versioning. Jason >> >> Thanks, >> >> max >> _______________________________________________ >> Baypiggies mailing list >> Baypiggies at python.org >> To change your subscription options or unsubscribe: >> http://mail.python.org/mailman/listinfo/baypiggies > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From jjinux at gmail.com Sat Apr 16 00:12:01 2011 From: jjinux at gmail.com (Shannon -jj Behrens) Date: Fri, 15 Apr 2011 15:12:01 -0700 Subject: [Baypiggies] How to store versioned objects In-Reply-To: References: Message-ID: On Fri, Apr 15, 2011 at 10:38 AM, Max Slimmer wrote: > I have an application where the user creates and saves business > objects in a database. The objects are like invoices, header and > detail lines possibly some other attachments. When the object is saved > I want to create a version, and then should the user make changes I > would save these as a subsequent version such that when I retrieve the > object I normally get the latest version (along with some version id). > If the user desires he can get a specific previous version or see > history of changes including by who and when they were made. ?Keep in > mind that these objects are not very large, like an invoice :-). > > Do you know of any libraries that might help with this. I suppose I > could use some version control system and a mechanism to name the > object and possibly store some of the meta data in db. >From what I can tell, this is usually done manually by creating a schema to keep all the various versions of data. I know the data warehousing guys have something that I think is called a star schema that keeps all knowledge and when the pieces of knowledge were acquired. I'm not at all surprised to hear about django-reversion, because I know there are similar plugins in the Rails world. I think once you understand the schema, it should be straightforward to implement. Best Regards, -jj -- In this life we cannot do great things. We can only do small things with great love. -- Mother Teresa http://jjinux.blogspot.com/ From simeonf at gmail.com Sat Apr 16 02:20:50 2011 From: simeonf at gmail.com (Simeon Franklin) Date: Fri, 15 Apr 2011 17:20:50 -0700 Subject: [Baypiggies] How to store versioned objects In-Reply-To: References: Message-ID: It might be worthwhile to read the design docs for django-revisions (http://stdbrouw.github.com/django-revisions/design.html) - a similar project to django-reversion. The docs link to several projects implementing revision history for objects stored in a databse in a variety of ways - dedicated reversion data store, pickled data or changes, updated primary key with linked list to previous versions, version control backend, etc). This isn't an in-depth analysis but it has some interesting links. -regards Simeon Franklin From jim at systemateka.com Wed Apr 20 18:48:58 2011 From: jim at systemateka.com (jim) Date: Wed, 20 Apr 2011 09:48:58 -0700 Subject: [Baypiggies] Python Retreat for Programmers next week Message-ID: <1303318138.1620.8.camel@jim-LAPTOP> 9-5 Mon-Thurs April 25-28 we're offering a Python class for seasoned programmers at UCSC-Extension in Santa Clara, right across 101 from the Great America sign. The class is will low-pressure, but fast paced, where students learn and practice core concepts and Pythonic thinking. Bring your laptop, or use our spiffy machines. The lab courses are hands-on. After each short lecture, students are given lab time and exercises that provide practice with the new concepts. Next, a new material set is distributed which contains solutions to the lab exercises and notes for the next short lecture, and the next set of lab exercises. Questions are always welcome; discussion and pair-programming is encouraged. There are usually five lectures and labs per day, and 2 quizzes to help solidify some key details. Bring your laptop, or use our spiffy machines. http:www.pythontrainer.com Direct link to the class: http://courses.ucsc-extension.edu/ucsc/search/publicCourseSearchDetails.do?method=load&courseId=1531625 Marilyn Davis _______________________________________________ pyop mailing list pyop at python.org http://mail.python.org/mailman/listinfo/pyop From ben at groovie.org Thu Apr 21 21:25:34 2011 From: ben at groovie.org (Ben Bangert) Date: Thu, 21 Apr 2011 12:25:34 -0700 Subject: [Baypiggies] Pylons Project Mini-Conf in SF - April 29th Message-ID: <4ABB0EBF-E482-4BDE-BB2A-4BC5B9135D10@groovie.org> Thought I'd mention for the folks in the area that the Pylons Project is doing a free mini-conference in SF in a week. If you want to get up to date on Pyramid, see how to upgrade apps from Pylons -> Pyramid, or just learn about how it works and whether Pyramid may be the right framework for your project, feel free to sign-up. - Sign up at http://www.meetup.com/sfbay-pylons-proj/events/17306893/ - Read info and post suggestions and talk submissions at https://github.com/Pylons/miniconference More info:: http://plope.com/Members/chrism/pylons_project_minicon http://linkd.in/gaPDh6 Cheers, Ben From alchaiken at gmail.com Mon Apr 25 00:52:57 2011 From: alchaiken at gmail.com (Alison Chaiken) Date: Sun, 24 Apr 2011 15:52:57 -0700 Subject: [Baypiggies] free python-and-Qt PySide workshop in SF next month Message-ID: Greetings BayPIGies. My colleague and friend Thomas Perl from Austria will be visiting the Bay Area next month and offering a free workshop on PySide, a newish open source alternative to PyQt. Thomas is the author and proprietor of gpodder (http://gpodder.net/), the Python-based podcatcher that I use a couple of hours per day on both my Linux phone and my Linux desktop. Here is Thomas' description of the workshop: PySide is an open source binding to the Qt licensed under the GNU LGPL. The workshop will be about developing Qt/QML applications with Python, targetting both mobile (handset) and tablet user interfaces. As Qt is cross-platform, it also works on desktop operating systems (Linux, OS X, Windows) and even a port to Android exists (PySide bindings still have to be ported to Android, though). In addition to discussing the creation of new apps with QML, we can also discuss porting apps from PyQt to PySide, or adding PySide UIs to other Python applications. The free workshop will be held in SF at the Hyatt Regency Embarcadero Hotel on Sunday May 22 as part of MeeGo Conference Spring 2011: http://wiki.meego.com/MeeGo_Conference_Spring_2011#MeeGo_Conference_Warm-Up You need not attend the rest of the Conference in order to get into the Workshop. Thomas will be in SF from Sunday through Wednesday and would love to meet local Pythonistas. Please address questions about the workshop to him directly at th.perl at gmail.com Thanks, Alison -- Alison Chaiken (650) 279-5600? (cell) ? ? ? ? ? ?? http://www.exerciseforthereader.org/ A career in Silicon Valley is just like a chess game, only players can move all the pieces every turn and some of the pawns bite. From jim at well.com Mon Apr 25 01:15:16 2011 From: jim at well.com (jim) Date: Sun, 24 Apr 2011 16:15:16 -0700 Subject: [Baypiggies] free python-and-Qt PySide workshop in SF next month In-Reply-To: References: Message-ID: <1303686916.1697.14.camel@jim-LAPTOP> There are a number of people who haunt Noisebridge with Python interests. Consider sending him there to check it out. If you like, I can help you set up a meet in one of the classrooms. jim On Sun, 2011-04-24 at 15:52 -0700, Alison Chaiken wrote: > Greetings BayPIGies. My colleague and friend Thomas Perl from > Austria will be visiting the Bay Area next month and offering a free > workshop on PySide, a newish open source alternative to PyQt. > Thomas is the author and proprietor of gpodder (http://gpodder.net/), > the Python-based podcatcher that I use a couple of hours per day on > both my Linux phone and my Linux desktop. Here is Thomas' > description of the workshop: > > PySide is an open source binding to the Qt licensed under the GNU > LGPL. The workshop will be about developing Qt/QML applications with > Python, targetting both mobile (handset) and tablet user interfaces. > As Qt is cross-platform, it also works on desktop operating systems > (Linux, OS X, Windows) and even a port to Android exists (PySide > bindings still have to be ported to Android, though). In addition to > discussing the creation of new apps with QML, we can also discuss > porting apps from PyQt to PySide, or adding PySide UIs to other Python > applications. > > The free workshop will be held in SF at the Hyatt Regency Embarcadero > Hotel on Sunday May 22 as part of MeeGo Conference Spring 2011: > > http://wiki.meego.com/MeeGo_Conference_Spring_2011#MeeGo_Conference_Warm-Up > > You need not attend the rest of the Conference in order to get into > the Workshop. > > Thomas will be in SF from Sunday through Wednesday and would love to > meet local Pythonistas. Please address questions about the workshop > to him directly at th.perl at gmail.com > > Thanks, > Alison > From cappy2112 at gmail.com Thu Apr 28 05:15:22 2011 From: cappy2112 at gmail.com (Tony Cappellini) Date: Wed, 27 Apr 2011 20:15:22 -0700 Subject: [Baypiggies] Dropbox anyone? Message-ID: Does anyone have contacts at Dropbox? I've just watched Rian Hunter's presentation from Pycon 2011, and found out that the Dropbox client is written in Python. http://pycon.blip.tv/file/4878722/ It would be interesting to know what they are doing on the backend too. If anyone knows RIan or other developers at Dropbox, would you contact them and ask if they would be interested in doing a presentation? They may not be aware of Baypiggies. Thanks From stephen at networkxfla.com Thu Apr 28 05:33:08 2011 From: stephen at networkxfla.com (Stephen Cox) Date: Wed, 27 Apr 2011 23:33:08 -0400 Subject: [Baypiggies] Dropbox anyone? In-Reply-To: References: Message-ID: <7BB66A2F-DE3E-48B1-A5BC-0D8D4F9BAF7B@networkxfla.com> Everyone who writes python is aware of Baypiggies. Also, Dropbox is in SFO. They probably lurk on this list (like i usually do). On Apr 27, 2011, at 11:15 PM, Tony Cappellini wrote: > Does anyone have contacts at Dropbox? > > I've just watched Rian Hunter's presentation from Pycon 2011, and > found out that the Dropbox client is written in Python. > http://pycon.blip.tv/file/4878722/ > > It would be interesting to know what they are doing on the backend too. > > If anyone knows RIan or other developers at Dropbox, would you contact > them and ask if they would be interested in doing a presentation? > > They may not be aware of Baypiggies. > > Thanks > _______________________________________________ > Baypiggies mailing list > Baypiggies at python.org > To change your subscription options or unsubscribe: > http://mail.python.org/mailman/listinfo/baypiggies From aahz at pythoncraft.com Thu Apr 28 15:41:21 2011 From: aahz at pythoncraft.com (Aahz) Date: Thu, 28 Apr 2011 06:41:21 -0700 Subject: [Baypiggies] Dropbox anyone? In-Reply-To: <7BB66A2F-DE3E-48B1-A5BC-0D8D4F9BAF7B@networkxfla.com> References: <7BB66A2F-DE3E-48B1-A5BC-0D8D4F9BAF7B@networkxfla.com> Message-ID: <20110428134120.GA8909@panix.com> On Wed, Apr 27, 2011, Stephen Cox wrote: > > Everyone who writes python is aware of Baypiggies. Also, Dropbox is in > SFO. They probably lurk on this list (like i usually do). Actually, there are quite a few people who use Python without any involvement in the Python community, even to the extent of being almost unaware that there *is* a Python community. That includes ignorance of mailing lists such as BayPIGgies. I run into them all the time in my interviewing. I was more shocked about that a few years back, but Python has gotten sufficiently mainstream that many people pick it up at work now. Obviously, in the case of Dropbox, the fact that they did a talk at PyCon means it's a near-certainty that some of them know about BayPIGgies and likely lurk (or even participate). -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." --Brian W. Kernighan From nad at acm.org Thu Apr 28 20:36:45 2011 From: nad at acm.org (Ned Deily) Date: Thu, 28 Apr 2011 11:36:45 -0700 Subject: [Baypiggies] Dropbox anyone? References: <7BB66A2F-DE3E-48B1-A5BC-0D8D4F9BAF7B@networkxfla.com> <20110428134120.GA8909@panix.com> Message-ID: In article <20110428134120.GA8909 at panix.com>, Aahz wrote: > On Wed, Apr 27, 2011, Stephen Cox wrote: > > > > Everyone who writes python is aware of Baypiggies. Also, Dropbox is in > > SFO. They probably lurk on this list (like i usually do). [...] > Obviously, in the case of Dropbox, the fact that they did a talk at PyCon > means it's a near-certainty that some of them know about BayPIGgies and > likely lurk (or even participate). I've seen people from Dropbox at San Francisco Python Meetup Group talks and BayPIGgies is sometimes mentioned there. http://www.meetup.com/sfpython/ -- Ned Deily, nad at acm.org From jeffrey.fischer at gmail.com Fri Apr 29 18:42:02 2011 From: jeffrey.fischer at gmail.com (Jeff Fischer) Date: Fri, 29 Apr 2011 09:42:02 -0700 Subject: [Baypiggies] Slides from last night's PyPi Newbie Nugget Message-ID: I put the slides about uploading apps to PyPi at http://blog.genforma.com/2011/04/28/talk-on-pypi/. The code for the sample app is at https://github.com/jfischer/killproc and the PyPi entry is at http://pypi.python.org/pypi/killproc/. Enjoy! - Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: