From javier at candeira.com Sun Dec 3 22:57:38 2017 From: javier at candeira.com (Javier Candeira) Date: Mon, 4 Dec 2017 14:57:38 +1100 Subject: [melbourne-pug] Please start without me, or have me as the second talk Message-ID: Hi Melbourne Pythonistas, I have to drop children off at 5pm, then cross the city on public transport during peak hour. I'll get there, but can't guarantee to be ready at 6. See you today at MPUG, Javier C From javier at candeira.com Mon Dec 4 21:16:51 2017 From: javier at candeira.com (Javier Candeira) Date: Tue, 5 Dec 2017 13:16:51 +1100 Subject: [melbourne-pug] Proposal: Presenting on Batavia (Python in the Browser from the Pybee project) in December? In-Reply-To: References: <450b2c08-7162-bfbb-ff35-ed09a00ed37d@candeira.com> Message-ID: <0fb96378-557f-7b57-9b6b-fda0158b1d6a@candeira.com> Hi everyone! Thanks to those who attended the meeting last night. There was a question by Juan that I kind of waffled about. Of course I had an answer ready the moment I left the venue. The question is how much information does the bytecode preserve. Does it include variable names, even for local variables? The answer is of course yes, as can be proved by the enclosed snippet, running on Batavia. More on Batavia: Gary asked me how he could start contributing. The documentation is quite good for that (always read the docs!), but here's a quick guide: 1) First of all, to install Batavia and get the demo page running as per the github readme: https://github.com/pybee/batavia Play on the sandbox, write some Python and try to get an idea of what works and what doesn't. 2) Then, you can run the tests for batavia by following the documentation for first time contributors: http://batavia.readthedocs.io/en/latest/how-to/contribute-code.html Notice that some tests say "ok" as they pass, but others say "expected failure" as they fail. You want to turn one of those "expected failure" tests into an "ok" passing test by writing the corresponding code. 3) Now you can start reading the implementation. There is still some low hanging fruit, unimplemented methods in the builtin types, that you can fix as a first contribution. An example is in tests/datatypes/test_range.js, where you can see that the not_implemented list contains a lot of tests. This not_implemented list contains the name of the tests that are expected to fail. This is why some tests above yielded an "expected failure" result. Most of the features those tests check for should be implemented by just raising the corresponding TypeError in the implementation. In in this case, the implementation code is in types/Range.js 4) Make a new branch for your fix. You want to be working on your own branch, not on master. 5) Comment out one of the not_implemented tests as listed on tests/datatypes/test_range.js, and run the tests again. The test whose name you commented out should now fail. 6) Implement the code so Batavia has the same behaviour as cPython3.4. Remember the implementation code is in types/Range.js The test should now pass. You did it! Make sure to delete the line you previously commented out on tests/datatypes/test_range.js 7) Now is the time for you to fork Batavia to your own github user (if you haven't done it yet), and prepare your contribution for submission: - Make a new remote for your Batavia fork, and push your feature branch to it. - From that branch on your own Batavia fork, make a pull request against master branch on the main Batavia repo. - You will receive either some feedback, or your submission will be accepted. The Pybee team uses gitter for communications. You can ask questions on the repo issues, or on gitter: https://gitter.im/pybee/general Good luck! Cheers, Javier -------------- next part -------------- A non-text attachment was scrubbed... Name: locals.png Type: image/png Size: 77305 bytes Desc: not available URL: From andrew.stuart at supercoders.com.au Sun Dec 17 18:38:57 2017 From: andrew.stuart at supercoders.com.au (Andrew Stuart) Date: Mon, 18 Dec 2017 10:38:57 +1100 Subject: [melbourne-pug] Question re job ads Message-ID: <06413B01-BBB8-4140-A03E-B2B82A361A21@supercoders.com.au> Hi there I notice that recruiters aren?t allowed to post job ads to this list. No problems with that. Some other user groups charge $60 to recruiters to place a job ad. Might Melbourne PUG consider paid ad placement too? I?d like to place a job ad please. If not then I thank you for the consideration. Andrew Stuart SuperCoders IT Recruitment Melbourne From ben+python at benfinney.id.au Sun Dec 17 20:02:03 2017 From: ben+python at benfinney.id.au (Ben Finney) Date: Mon, 18 Dec 2017 12:02:03 +1100 Subject: [melbourne-pug] Question re job ads References: <06413B01-BBB8-4140-A03E-B2B82A361A21@supercoders.com.au> Message-ID: <85ind4onlg.fsf@benfinney.id.au> Andrew Stuart writes: > I notice that recruiters aren?t allowed to post job ads to this list. > No problems with that. Some other user groups charge $60 to recruiters > to place a job ad. Might Melbourne PUG consider paid ad placement too? > I?d like to place a job ad please. Regardless of whether a fee is paid, we don't want recruiter job adverts in this community forum. This is a forum of discussion among peers, not a commercial recruitment channel. > If not then I thank you for the consideration. Thanks for understanding. The direct employer for the job position is welcome to directly identify themselves and the details of the position, in a message from them to us here. -- \ ?Repent before ring 31 moves.? ?Damon Anton Permezel, hanoi.el | `\ _Tower of Hanoi_ source code, Unix doomsday version, 1985 | _o__) | Ben Finney From pisaac.ozflux at gmail.com Wed Dec 27 18:10:35 2017 From: pisaac.ozflux at gmail.com (Peter Isaac) Date: Thu, 28 Dec 2017 10:10:35 +1100 Subject: [melbourne-pug] General hello and request for help Message-ID: Hello Melbourne PUG, Firstly, many thanks to all those who have gone before to explore the world of Python and then generously made their time and knowledge available to us who stumble along behind. And apologies in advance if the MPUG mailing list is not the appropriate place for this post, any guidance to a more appropriate forum would be gratefully received. Some background. Over the years, I have written a modest but useful program (see https://github.com/OzFlux/PyFluxPro) that is used by a small community of ecosystem researchers to process data from measurement sites around Australia. It uses a very basic, rather ugly Tkinter GUI to control the work flow and the user must also edit text INI-style files to configure the processing options for their site. While the original program made a huge difference to the ability of the community to process data from their sites, its general clunkiness has now become the limiting factor to it being more widely adopted and to improving its utility. At the same time, I am coming up against my own limits in terms of Python programming ability (I'm a scientist not a programmer) and recognise that I need to change my approach from a procedural style, resulting from my history of Fortran and IDL, to an object-oriented style. To make this transition, I'm looking for a tutor who can help me in the following areas: 1. Integrate the separate components of the existing application (editing text files, controlling work flow, logging messages from the code to a console window) into a single GUI. 2. Replace the existing rudimentary Tkinter GUI with a more friendly one (I'm leaning towards PyQt). 3. Transition my own thinking from procedural-based programming to a more OO approach so that over time I can re-factor the existing code to make it more robust and easier to maintain. I'm in the SE suburbs, willing to travel or to do remote sessions (Zoom, Skype, Hangouts etc) and have a small amount of money I can put towards this project. Many thanks for any help. Best regards, Peter -- Peter Isaac Ph: +61 3 59685998 Mob: 0429053970 Skype: pisaac.ozflux Email: pisaac.ozflux at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From n6151h at gmail.com Fri Dec 29 20:27:25 2017 From: n6151h at gmail.com (N6151H) Date: Sat, 30 Dec 2017 12:27:25 +1100 Subject: [melbourne-pug] General hello and request for help In-Reply-To: References: Message-ID: Hi, Peter. I think this is an entirely appropriate forum for your question. The fact that you already have it available on github is a good start. Anyone keen to help you here can then easily fork their own branch on which they can make subsequent mods and perhaps even merge those changes back in when they're "ready" (i.e. tested, robust, &c.) I might suggest setting up a (free) slack.com account to which you can then invite collaborators as they step forward. We used it extensively for the pycon-au organizing committee and website developer subgroup, and had it configured with github alerts which gave us a record of when mods were pushed to the repository(s). And, of course, you can always ask questions here, though, I imagine for the more routine, chatty sort of interactions you'll want to keep those to slack or at least private emails among the collabs. Hope this helps. Cheers, Nick On Thu, Dec 28, 2017 at 10:10 AM, Peter Isaac wrote: > Hello Melbourne PUG, > > Firstly, many thanks to all those who have gone before to explore the > world of Python and then generously made their time and knowledge available > to us who stumble along behind. And apologies in advance if the MPUG > mailing list is not the appropriate place for this post, any guidance to a > more appropriate forum would be gratefully received. > > Some background. Over the years, I have written a modest but useful > program (see https://github.com/OzFlux/PyFluxPro) that is used by a small > community of ecosystem researchers to process data from measurement sites > around Australia. It uses a very basic, rather ugly Tkinter GUI to control > the work flow and the user must also edit text INI-style files to configure > the processing options for their site. While the original program made a > huge difference to the ability of the community to process data from their > sites, its general clunkiness has now become the limiting factor to it > being more widely adopted and to improving its utility. At the same time, > I am coming up against my own limits in terms of Python programming ability > (I'm a scientist not a programmer) and recognise that I need to change my > approach from a procedural style, resulting from my history of Fortran and > IDL, to an object-oriented style. > > To make this transition, I'm looking for a tutor who can help me in the > following areas: > > 1. Integrate the separate components of the existing application > (editing text files, controlling work flow, logging messages from the code > to a console window) into a single GUI. > 2. Replace the existing rudimentary Tkinter GUI with a more friendly > one (I'm leaning towards PyQt). > 3. Transition my own thinking from procedural-based programming to a > more OO approach so that over time I can re-factor the existing code to > make it more robust and easier to maintain. > > I'm in the SE suburbs, willing to travel or to do remote sessions (Zoom, > Skype, Hangouts etc) and have a small amount of money I can put towards > this project. > > Many thanks for any help. > > Best regards, > Peter > > -- > Peter Isaac > Ph: +61 3 59685998 <(03)%205968%205998> > Mob: 0429053970 <0429%20053%20970> > Skype: pisaac.ozflux > Email: pisaac.ozflux at gmail.com > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrewjguy42 at gmail.com Fri Dec 29 21:39:24 2017 From: andrewjguy42 at gmail.com (Andrew Guy) Date: Sat, 30 Dec 2017 13:39:24 +1100 Subject: [melbourne-pug] General hello and request for help In-Reply-To: References: Message-ID: Hi Peter, Sorry I can't help with suggestions for tutors to help with your project. One thing that does stand out from looking at the source code is the lack of unit tests. Might be something worth learning about and implementing moving forward, especially if you're going to have collaborators also working on the code base. The pytest framework would be a good place to start. You're not going to be able to get 100% test coverage overnight, but you could at least make it a requirement that any new code comes with an appropriate set of tests. Cheers, Andrew On Thu, Dec 28, 2017 at 10:10 AM, Peter Isaac wrote: > Hello Melbourne PUG, > > Firstly, many thanks to all those who have gone before to explore the > world of Python and then generously made their time and knowledge available > to us who stumble along behind. And apologies in advance if the MPUG > mailing list is not the appropriate place for this post, any guidance to a > more appropriate forum would be gratefully received. > > Some background. Over the years, I have written a modest but useful > program (see https://github.com/OzFlux/PyFluxPro) that is used by a small > community of ecosystem researchers to process data from measurement sites > around Australia. It uses a very basic, rather ugly Tkinter GUI to control > the work flow and the user must also edit text INI-style files to configure > the processing options for their site. While the original program made a > huge difference to the ability of the community to process data from their > sites, its general clunkiness has now become the limiting factor to it > being more widely adopted and to improving its utility. At the same time, > I am coming up against my own limits in terms of Python programming ability > (I'm a scientist not a programmer) and recognise that I need to change my > approach from a procedural style, resulting from my history of Fortran and > IDL, to an object-oriented style. > > To make this transition, I'm looking for a tutor who can help me in the > following areas: > > 1. Integrate the separate components of the existing application > (editing text files, controlling work flow, logging messages from the code > to a console window) into a single GUI. > 2. Replace the existing rudimentary Tkinter GUI with a more friendly > one (I'm leaning towards PyQt). > 3. Transition my own thinking from procedural-based programming to a > more OO approach so that over time I can re-factor the existing code to > make it more robust and easier to maintain. > > I'm in the SE suburbs, willing to travel or to do remote sessions (Zoom, > Skype, Hangouts etc) and have a small amount of money I can put towards > this project. > > Many thanks for any help. > > Best regards, > Peter > > -- > Peter Isaac > Ph: +61 3 59685998 <+61%203%205968%205998> > Mob: 0429053970 > Skype: pisaac.ozflux > Email: pisaac.ozflux at gmail.com > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From n6151h at gmail.com Sun Dec 31 08:28:15 2017 From: n6151h at gmail.com (N6151H) Date: Mon, 1 Jan 2018 00:28:15 +1100 Subject: [melbourne-pug] General hello and request for help In-Reply-To: References: Message-ID: Brianna Laugher gave a talk on pytest at the last pycon-au conference, here in Melbourne. Video of it here: https://www.youtube.com/watch?v=byctbj2AKWc On Sat, Dec 30, 2017 at 1:39 PM, Andrew Guy wrote: > Hi Peter, > > Sorry I can't help with suggestions for tutors to help with your project. > > One thing that does stand out from looking at the source code is the lack > of unit tests. Might be something worth learning about and implementing > moving forward, especially if you're going to have collaborators also > working on the code base. > > The pytest framework would be a good place to start. You're not going to > be able to get 100% test coverage overnight, but you could at least make it > a requirement that any new code comes with an appropriate set of tests. > > Cheers, > Andrew > > On Thu, Dec 28, 2017 at 10:10 AM, Peter Isaac > wrote: > >> Hello Melbourne PUG, >> >> Firstly, many thanks to all those who have gone before to explore the >> world of Python and then generously made their time and knowledge available >> to us who stumble along behind. And apologies in advance if the MPUG >> mailing list is not the appropriate place for this post, any guidance to a >> more appropriate forum would be gratefully received. >> >> Some background. Over the years, I have written a modest but useful >> program (see https://github.com/OzFlux/PyFluxPro) that is used by a >> small community of ecosystem researchers to process data from measurement >> sites around Australia. It uses a very basic, rather ugly Tkinter GUI to >> control the work flow and the user must also edit text INI-style files to >> configure the processing options for their site. While the original >> program made a huge difference to the ability of the community to process >> data from their sites, its general clunkiness has now become the limiting >> factor to it being more widely adopted and to improving its utility. At >> the same time, I am coming up against my own limits in terms of Python >> programming ability (I'm a scientist not a programmer) and recognise that I >> need to change my approach from a procedural style, resulting from my >> history of Fortran and IDL, to an object-oriented style. >> >> To make this transition, I'm looking for a tutor who can help me in the >> following areas: >> >> 1. Integrate the separate components of the existing application >> (editing text files, controlling work flow, logging messages from the code >> to a console window) into a single GUI. >> 2. Replace the existing rudimentary Tkinter GUI with a more friendly >> one (I'm leaning towards PyQt). >> 3. Transition my own thinking from procedural-based programming to a >> more OO approach so that over time I can re-factor the existing code to >> make it more robust and easier to maintain. >> >> I'm in the SE suburbs, willing to travel or to do remote sessions (Zoom, >> Skype, Hangouts etc) and have a small amount of money I can put towards >> this project. >> >> Many thanks for any help. >> >> Best regards, >> Peter >> >> -- >> Peter Isaac >> Ph: +61 3 59685998 <+61%203%205968%205998> >> Mob: 0429053970 <0429%20053%20970> >> Skype: pisaac.ozflux >> Email: pisaac.ozflux at gmail.com >> >> _______________________________________________ >> melbourne-pug mailing list >> melbourne-pug at python.org >> https://mail.python.org/mailman/listinfo/melbourne-pug >> >> > > _______________________________________________ > melbourne-pug mailing list > melbourne-pug at python.org > https://mail.python.org/mailman/listinfo/melbourne-pug > > -------------- next part -------------- An HTML attachment was scrubbed... URL: