From jarich at perltraining.com.au Sun Feb 1 16:45:31 2009 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon, 02 Feb 2009 11:45:31 +1100 Subject: [Melbourne-pm] Next meeting - Tue 3 February 2009 *tomorrow* - Klingon Programming and linuxAV 2009 Message-ID: <4986422B.1040204@perltraining.com.au> This month Melbourne Perl Mongers are invited to join the Linux Users Victoria for their meeting where Paul will present his OSDC talk: The Art of Klingon Programming, TOMORROW NIGHT. I believe that the PHP group will be hosting the next OSDClub meeting next week, Thursday 12th February; details to be confirmed soon. Next month we'll return to our regular meeting time and place where Alec will talk about git and github. Date: TOMORROW: Tuesday 3rd February 2009 Time: 6:30pm for 7pm start Location: The Buzzard Lecture Theatre. Evan Burge Building, Trinity College, Melbourne University Main Campus, Parkville. Maps: http://www.trinity.unimelb.edu.au/about/location/map/ (The building is in B10-11 in the second map listed) Talks: * Paul Fenwick - The Art of Klingon Programming * Robin Gareus - State of the Art: linuxAV 2009 * After the meeting, come have dinner with us at Maria's Trattoria! 122-124 Peel St More information: http://www.luv.asn.au/2009/02 Here are the details of the talks: ** The Art of Klingon Programming by Paul Fenwick ** A good programmer needs many qualities: intelligence, foresight, dedication, and the ability to fight off a hundred angry targh armed only with your bat'leth. On Qo'noS, software developers undertake an intensive course in combat programming before they are cleared for active duty. The tlhIngan traditions have long known one truth holds true for both glory in battle and software development: bIlujDI' yIchegh()Qo'; yIHegh()! It is better to die() than to return() in failure. For too long, Perl has been a pujwI', and unsuitable for use by true warriors. In this talk we will show how the new autodie pragma can help you to code with batlh! ** State of the Art: linuxAV 2009 by Robin Gareus ** A walk though Audio/Video/Film production on GNU/Linux. After a ~15-20min presentation and overview of available FLOSS tools, including a quick from "scratch to master" example, the talk can go in depth on one or two topics the audience is most interested in: * recent FOMS developments. * System setup: codecs/ffmpeg, JACK, real-time, openCV, dvgrab.. * Linux Audio tools for composition, sound-design and mastering. * Live performance and installation interaction development: OSC, JACK-MIDI and friends. * libopenvideo from the inside(r) ;) * AV-sync, formats, color-spaces and transcoding. Robin graduated in High-Energy Physics and after a short career at CERN plus two years at Berkeley Lab moved to Amsterdam, NL, turning to full-time FLOSS development of Multimedia Applications, Sound-Design, A/V Installations and Production in 2005. He managed projects from mastering the postgres-Live CD, writing xjadeo.sf.net (The JACK video player), is the author of various multimedia and web applications and maintains a few libraries; including but not limited to web-standards: xmpp-pubsub, OAuth. Since 2005 Robin is responsible for the services at linuxaudio.org and active on Linux-Audio Conferences. He occasionally teaches Linux-Workshops since 1998 and co-organized the Bar-camp Amsterdam 2008. Robin contributes to various projects fi. openmovieeditor, freeJ, ardour, dokuwiki,.. Recently he is working on the video-track feature for ardour in conjunction with sound-design for the short-film "Wicked". Robin is known to dislike gated-reverbs and owns a tube-amp for a shiksa. http://sf.net/users/x42 http://robin.linuxaudio.org/blog/ From jarich at perltraining.com.au Sun Feb 1 20:28:32 2009 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon, 02 Feb 2009 15:28:32 +1100 Subject: [Melbourne-pm] Next OSDClub: Thursday 12th February hosted by phpMelb Message-ID: <49867670.2040209@perltraining.com.au> When? ~~~~~ 6.30pm for a 7pm start, Thursday 12th February 2009 Where? ~~~~~~ Hitwise, 580 St Kilda Road, Melbourne The main doors are locked after a certain time. There'll be a notice on the door with a number to call to be let in. What? ~~~~~ Pizza is provided by one of phpMelb's sponsors, Hitwise, so get in early if you want food! * Twitter and the Social Web by Alec Clews * There has been an explosion in 'lifestream' posting in the last 12+ months, even Kevin Rudd has a Twitter account! This presentation looks at the various reasons for using services like Twitter and Identi.ca. It then describes ways of linking services together using tools like friendfeed and twitterfeed to create an online presence and reduce the time involved in posting and consuming lifestreams. Alec Clews is an indie software consultant, old school software guy and wannabe Gen-Y kid. * OpenID: What it Ain't by Ben Balbo * OpenID has been around for quite some time, but uptake has only recently taken off. Ben will discuss what OpenID is, what it ain't and give a live coding demo to demonstrate its implementation, all in 45 minutes. Ben is a full time web developer and open source evangelist, actively involved in organising BarCampMelbourne, the Melbourne PHP Users Group and the Open Source Developers' Club meetings, the treasurer for the Open Source Developers' Club and a frequent speaker at meetups and conferences. Although he wouldn't admit this, his participation at this level is secretly only in order to go to restaurants or pubs after the meetings. Then? ~~~~~ We head over to the Belgian Beer Cafe at about 9pm for drinks and socialising. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 257 bytes Desc: not available URL: From alec.clews at gmail.com Sun Feb 1 21:45:52 2009 From: alec.clews at gmail.com (Alec Clews) Date: Mon, 02 Feb 2009 16:45:52 +1100 Subject: [Melbourne-pm] Git presentation for Perl Mongers Message-ID: <49868890.4020004@gmail.com> G'Day, My git presentation will be on 11/March according to the schedule on the perl.net.au website. It would be very helpful if folks would indicate what level they would like me to pitch at. e.g. 1) I'm a git n00b, I'm not even sure what distributed version control is 2) I use git a bit on my laptop. Show me how to use remote repos on Github 3) I use git on my laptop and remotely. Show me how to rebase and define custom merge drivers I'll mix and match as far as possible, plus throw in some handy tips. However a general idea of peoples knowledge and expectations would be useful. I missed Toby's git presentation last year so I'm not sure what he covered either. Thanks -- Alec Clews Personal Melbourne, Australia. Jabber: alecclews at jabber.org.au PGPKey ID: 0x9BBBFC7C Blog http://alecthegeek.wordpress.com/ From pat at patspam.com Sun Feb 1 21:52:21 2009 From: pat at patspam.com (Patrick Donelan) Date: Mon, 2 Feb 2009 16:52:21 +1100 Subject: [Melbourne-pm] Git presentation for Perl Mongers In-Reply-To: <49868890.4020004@gmail.com> References: <49868890.4020004@gmail.com> Message-ID: <42321ee20902012152s6b974e74o65d86def3ecd5f8a@mail.gmail.com> 3++ (although I use a desktop not a laptop) Toby's git presentation last year was awesome, I didn't know git at the time but it felt like a whirlwind tour from basics to semi-advanced. Patrick http://patspam.com On Mon, Feb 2, 2009 at 4:45 PM, Alec Clews wrote: > G'Day, > > My git presentation will be on 11/March according to the schedule on the > perl.net.au website. > > It would be very helpful if folks would indicate what level they would like > me to pitch at. e.g. > > 1) I'm a git n00b, I'm not even sure what distributed version control is > 2) I use git a bit on my laptop. Show me how to use remote repos on Github > 3) I use git on my laptop and remotely. Show me how to rebase and define > custom merge drivers > > I'll mix and match as far as possible, plus throw in some handy tips. > However a general idea of peoples knowledge and expectations would be > useful. I missed Toby's git presentation last year so I'm not sure what he > covered either. > > Thanks > > -- > Alec Clews > Personal Melbourne, Australia. > Jabber: alecclews at jabber.org.au PGPKey ID: 0x9BBBFC7C > Blog http://alecthegeek.wordpress.com/ > > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pjf at perltraining.com.au Sun Feb 1 23:31:11 2009 From: pjf at perltraining.com.au (Paul Fenwick) Date: Mon, 02 Feb 2009 18:31:11 +1100 Subject: [Melbourne-pm] Git presentation for Perl Mongers In-Reply-To: <49868890.4020004@gmail.com> References: <49868890.4020004@gmail.com> Message-ID: <4986A13F.9010700@perltraining.com.au> G'day Alec, Alec Clews wrote: > 3) I use git on my laptop and remotely. Show me how to rebase and define > custom merge drivers For me, 3. ;) From an overall 'bootstrap the audience' perspective, I think a brief tour of 1 would help for those who haven't used git before. Cheerio, Paul -- Paul Fenwick | http://perltraining.com.au/ Director of Training | Ph: +61 3 9354 6001 Perl Training Australia | Fax: +61 3 9354 2681 From lsharpe at pacificwireless.com.au Wed Feb 4 19:19:16 2009 From: lsharpe at pacificwireless.com.au (Leigh Sharpe) Date: Thu, 5 Feb 2009 14:19:16 +1100 Subject: [Melbourne-pm] HTML::Template tutorial? Message-ID: <96CF49BD8B56384395D698BA99007FA347A2D9@exchange.pacwire.local> Hi Guys, I'm trying to bring a web designer up to speed on creating templates to suit HTML::Template. He needs to be introduced to templating real fast. Does anybody know of any tutorials which approach it from a web designer's point of view, instead of a perl developer's point of view? It's pointless telling this guy how to populate variables, or what methods will be called, he is just doing HTML, and leaving the databse stuff to me. Regards, Leigh Leigh Sharpe Network Systems Engineer Pacific Wireless Ph +61 3 9584 8966 Mob 0408 009 502 Helpdesk 1300 300 616 email lsharpe at pacificwireless.com.au web www.pacificwireless.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathew.robertson at netratings.com.au Wed Feb 4 19:22:03 2009 From: mathew.robertson at netratings.com.au (Mathew Robertson) Date: Thu, 05 Feb 2009 14:22:03 +1100 Subject: [Melbourne-pm] HTML::Template tutorial? In-Reply-To: <96CF49BD8B56384395D698BA99007FA347A2D9@exchange.pacwire.local> References: <96CF49BD8B56384395D698BA99007FA347A2D9@exchange.pacwire.local> Message-ID: <498A5B5B.9060200@netratings.com.au> > Hi Guys, > I'm trying to bring a web designer up to speed on creating templates > to suit HTML::Template. He needs to be introduced to templating real fast. > Does anybody know of any tutorials which approach it from a > web designer's point of view, instead of a perl developer's point of view? > It's pointless telling this guy how to populate variables, or what > methods will be called, he is just doing HTML, and leaving the databse > stuff to me. I have worked with H::T extensively, so I am quite familiar with it. From a web-designers' POV, the Perl coder should be creating a document which lists the names of the available variables, their datatypes, and their range of values. If he's just doing HTML, then that is all he should need -> he shouldn't need a "howto template" document. Mathew -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarich at perltraining.com.au Thu Feb 5 17:50:14 2009 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Fri, 06 Feb 2009 12:50:14 +1100 Subject: [Melbourne-pm] Upcoming meeting dates and talks! (Next meeting: 11th March) Message-ID: <498B9756.700@perltraining.com.au> G'day folk, Apparently I used the wrong list when declaring the next meeting topic (sorry Alec!) so here's an updated reminder: * March 11th: Perl scripting in Golly 2.0 (Tony) + your talk goes here * April 8th: An introduction to git and github.com (Alec, with OSDClub) * May 13th: MVCs in Perl: Too many ways to do it (Jacinta) + your talk goes here I'm not sure how long Tony's talk will go, but if you have a 20-30 minute talk you're eager to give; I'm sure that we can accommodate it in March. Likewise my MVCs in Perl talk is currently only 20 minutes, so I'd love to schedule a second talk for that meeting too so please volunteer. I know that it could be sensible to put my talk with Tony's in March but at this stage I *might* be in Sydney that week :( so best not. Don't forget OSDClub next week (Thursday 12th February), Hitwise, 580 St Kilda Road, Melbourne * Twitter and the Social Web by Alec Clews * For anyone who's interested, I'll be speaking at the OSIA meeting on the 26th February on the following: Running an open source training business Starting a business is easy. Starting a *successful* business is only a little bit harder. But how do you keep an open source training business going and making money when the shine has worn off and it's now just hard work? This talk will discuss what it takes to run a successful, small, totally independent, open source training business. It will cover considerations like costs, pricing, deal with clients, vendors and your competition, the good and bad of running a training company, managing staff who'd prefer to be constantly partying, and advertising to a wide variety of open source user groups without making enemies. There are also the joys (and pains) of creating training materials, scheduling courses, running training and balancing the books. Tips will be given on how to make training fun, so that your attendees consistently give you high overall ratings; and how to teach the same week-long course twice a month for 6 months running and not get bored. Finally you'll see how community involvement is essential for micro-businesses like this to survive. Venue: Innovation @ 257 Level One, Emirates House, 257 Collins Street, Melbourne CBD Time: Arrive from 7pm for a 7:15pm start Presentation Topic: "Building a Business Value Demo" by Alec Clews of Voga Consulting Cost: Free! including complimentary tea and coffee on arrival. See you around soon! All the best, J -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From toby.corkindale at strategicdata.com.au Thu Feb 5 19:31:57 2009 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Fri, 06 Feb 2009 14:31:57 +1100 Subject: [Melbourne-pm] Lucene / Plucene /etc Message-ID: <498BAF2D.4040101@strategicdata.com.au> Hey all, I just wondered what people in the Perl world are using for search engine toolkits a-la Lucene, these days? I notice that Plucene hasn't been updated for several years now, so has the focus moved on to something else? Cheers, Toby From melbourne.pm at joshheumann.com Thu Feb 5 19:27:44 2009 From: melbourne.pm at joshheumann.com (Josh Heumann) Date: Thu, 5 Feb 2009 19:27:44 -0800 Subject: [Melbourne-pm] Lucene / Plucene /etc Message-ID: <20090206032744.GB19814@joshheumann.com> > I just wondered what people in the Perl world are using for search > engine toolkits a-la Lucene, these days? > > I notice that Plucene hasn't been updated for several years now, so > has the focus moved on to something else? Marvin Humphrey's Kinosearch[1] has always sounded like a speedy alternative to Plucene. [Full disclosure: I know Marvin, and have heard him give the Kinosearch pitch at PDX.pm and OSCON several times.] J [1]: http://search.cpan.org/~creamyg/KinoSearch-0.163/lib/KinoSearch.pm http://rectangular.com/kinosearch/ http://rectangular.com/svn/kinosearch From deepfryed at gmail.com Fri Feb 6 03:14:55 2009 From: deepfryed at gmail.com (bharanee rathna) Date: Fri, 6 Feb 2009 22:14:55 +1100 Subject: [Melbourne-pm] Lucene / Plucene /etc In-Reply-To: <20090206032744.GB19814@joshheumann.com> References: <20090206032744.GB19814@joshheumann.com> Message-ID: <70b2ff110902060314p7f30009frb9d89e6308c1244d@mail.gmail.com> http://www.sphinxsearch.com/, is gaining a fair bit of mindshare. It's fairly easy to setup and scales quite well. On 2/6/09, Josh Heumann wrote: > >> I just wondered what people in the Perl world are using for search >> engine toolkits a-la Lucene, these days? >> >> I notice that Plucene hasn't been updated for several years now, so >> has the focus moved on to something else? > > Marvin Humphrey's Kinosearch[1] has always sounded like a speedy > alternative to Plucene. > > [Full disclosure: I know Marvin, and have heard him give the Kinosearch > pitch at PDX.pm and OSCON several times.] > > J > > [1]: > http://search.cpan.org/~creamyg/KinoSearch-0.163/lib/KinoSearch.pm > http://rectangular.com/kinosearch/ > http://rectangular.com/svn/kinosearch > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm > From sgc294 at internode.on.net Mon Feb 9 16:08:36 2009 From: sgc294 at internode.on.net (Andrew Dent) Date: Tue, 10 Feb 2009 10:38:36 +1030 Subject: [Melbourne-pm] finding the ip address of the web client Message-ID: <3961.1234224516@internode.on.net> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }G'day I'm not sure if this is possible. We have some internal web based reports (Perl with the CGI module) that run queries on an internal Ingres database server (HPUX & Apache). The server has databases on it that hold data for all of our offices throughout Asia. At the moment any employee in any of our offices globally can run the reports for any other office. I'd like to know if there is a way to restrict this based on the country location of the IP address of the webclient that is attempting to run the report. If we can get the IP address, then we can use nslookup to determine the Full Qualified hostname and figure out which country the webclient is in (.aus for Australia, .chn for China, .ind for India etc). All the data for the offices is identified with codes inside the database, so mapping from .aus to the Australia office code is easy. Can/Should this be done in the Perl code on the Server side, or does this need to be done in some Java Script (or other such technology) on the client side? Either way, does anyone know how to do this? 99% of the web clients will be Windows with a mixture of browsers limited to IE6, IE7 and Firefox. Cheers Andrew Dent -------------- next part -------------- An HTML attachment was scrubbed... URL: From lsharpe at pacificwireless.com.au Mon Feb 9 16:34:03 2009 From: lsharpe at pacificwireless.com.au (Leigh Sharpe) Date: Tue, 10 Feb 2009 11:34:03 +1100 Subject: [Melbourne-pm] finding the ip address of the web client References: <3961.1234224516@internode.on.net> Message-ID: <96CF49BD8B56384395D698BA99007FA347A2E6@exchange.pacwire.local> %ENV{'REMOTE_ADDR '} should contain the IP address of the client. Try this: ----- #!/usr/bin/perl print "content-type:text/html\n\n\n"; foreach(keys(%ENV)) { print "$_ = $ENV{$_}
\n"; } print "\n"; ------ You should see your client IP address in listed. Leigh. ________________________________ From: melbourne-pm-bounces+lsharpe=pacificwireless.com.au at pm.org [mailto:melbourne-pm-bounces+lsharpe=pacificwireless.com.au at pm.org] On Behalf Of Andrew Dent Sent: Tuesday, 10 February 2009 11:09 AM To: melbourne-pm at pm.org Subject: [Melbourne-pm] finding the ip address of the web client G'day I'm not sure if this is possible. We have some internal web based reports (Perl with the CGI module) that run queries on an internal Ingres database server (HPUX & Apache). The server has databases on it that hold data for all of our offices throughout Asia. At the moment any employee in any of our offices globally can run the reports for any other office. I'd like to know if there is a way to restrict this based on the country location of the IP address of the webclient that is attempting to run the report. If we can get the IP address, then we can use nslookup to determine the Full Qualified hostname and figure out which country the webclient is in (.aus for Australia, .chn for China, .ind for India etc). All the data for the offices is identified with codes inside the database, so mapping from .aus to the Australia office code is easy. Can/Should this be done in the Perl code on the Server side, or does this need to be done in some Java Script (or other such technology) on the client side? Either way, does anyone know how to do this? 99% of the web clients will be Windows with a mixture of browsers limited to IE6, IE7 and Firefox. Cheers Andrew Dent -------------- next part -------------- An HTML attachment was scrubbed... URL: From thogard at abnormal.com Mon Feb 9 16:49:55 2009 From: thogard at abnormal.com (Tim Hogard) Date: Tue, 10 Feb 2009 00:49:55 +0000 (UTC) Subject: [Melbourne-pm] finding the ip address of the web client In-Reply-To: <96CF49BD8B56384395D698BA99007FA347A2E6@exchange.pacwire.local> Message-ID: <200902100049.n1A0ntRl034836@v.abnormal.com> > > %ENV{'REMOTE_ADDR '} should contain the IP address of the client. Try > this: > =20 > ----- > =20 > #!/usr/bin/perl > print "content-type:text/html\n\n\n"; > foreach(keys(%ENV)) > { > print "$_ =3D $ENV{$_}
\n"; > } > print "\n"; > If the rmote is behind a an honest proxy it may give you this to: HTTP_X_FORWARDED_FOR Also > %ENV{'REMOTE_ADDR'} should contain the IP address of the client. Try ^ no space... Other comments... reverse DNS is often very slow and may timeout. maxmind has a free database and perl module that has IP->country code mappings. You can't trust anyones reverse IP. You also need to make sure your CGI program framework can't over write the REMOTE_ADDR. -tim From sgc294 at internode.on.net Mon Feb 9 17:08:27 2009 From: sgc294 at internode.on.net (Andrew Dent) Date: Tue, 10 Feb 2009 11:38:27 +1030 Subject: [Melbourne-pm] finding the ip address of the web client Message-ID: <20234.1234228107@internode.on.net> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }G'day Liegh and Tim That works great, thanks. Exactly what I was looking for. None of our clients will be behind remote proxies for internal traffic. These sites are only visible internally and not to the external internet. There are multiple internal DNS Servers managed by the corporate IT, so they "should be" trustworthy for internal reverse lookup. One thing that might break the solution is trying to access these queries via VPN. Thanks again. Andrew Dent Tim Hogard and Leigh Sharpe wrote: %ENV{'REMOTE_ADDR '} should contain the IP address of the client. Try this: =20 ----- =20 #!/usr/bin/perl print "content-type:text/htmlnnn"; foreach(keys(%ENV)) { print "$_ =3D $ENV{$_}n"; } print "n"; If the rmote is behind a an honest proxy it may give you this to: HTTP_X_FORWARDED_FOR Also %ENV{'REMOTE_ADDR'} should contain the IP address of the client. Try ^ no space... Other comments... reverse DNS is often very slow and may timeout. maxmind has a free database and perl module that has IP->country code mappings. You can't trust anyones reverse IP. You also need to make sure your CGI program framework can't over write the REMOTE_ADDR. -tim -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjc at wintrmute.net Mon Feb 9 17:45:32 2009 From: tjc at wintrmute.net (Toby Wintermute) Date: Tue, 10 Feb 2009 12:45:32 +1100 Subject: [Melbourne-pm] Lucene / Plucene /etc In-Reply-To: <70b2ff110902060314p7f30009frb9d89e6308c1244d@mail.gmail.com> References: <20090206032744.GB19814@joshheumann.com> <70b2ff110902060314p7f30009frb9d89e6308c1244d@mail.gmail.com> Message-ID: Hi Bharanee, Josh, Thanks for the two recommendations. I ended up using KinoSearch, as it was really quite easy to set it up and have it indexing data and returning results direct from Perl. I didn't use them, but there were also plugins for DBIx::Class that could set it up to automatically index and search using KinoSearch, which seemed neat. Sphinx looks like it's probably superior in terms of speed and configurability, however the Perl API only seemed to perform look-ups, not indexing. Looks like it'd be best off being used via the PostgreSQL API via SQL; if I was doing some more serious indexing I'd give that a shot, definitely, but for my little side project it all started to get too much like effort to get going ;) Cheers, Toby 2009/2/6 bharanee rathna : > http://www.sphinxsearch.com/, is gaining a fair bit of mindshare. > It's fairly easy to setup and scales quite well. > > On 2/6/09, Josh Heumann wrote: >> >>> I just wondered what people in the Perl world are using for search >>> engine toolkits a-la Lucene, these days? >>> >>> I notice that Plucene hasn't been updated for several years now, so >>> has the focus moved on to something else? >> >> Marvin Humphrey's Kinosearch[1] has always sounded like a speedy >> alternative to Plucene. >> >> [Full disclosure: I know Marvin, and have heard him give the Kinosearch >> pitch at PDX.pm and OSCON several times.] >> >> J >> >> [1]: >> http://search.cpan.org/~creamyg/KinoSearch-0.163/lib/KinoSearch.pm >> http://rectangular.com/kinosearch/ >> http://rectangular.com/svn/kinosearch From daniel at rimspace.net Mon Feb 9 18:01:57 2009 From: daniel at rimspace.net (Daniel Pittman) Date: Tue, 10 Feb 2009 13:01:57 +1100 Subject: [Melbourne-pm] finding the ip address of the web client In-Reply-To: <20234.1234228107@internode.on.net> (Andrew Dent's message of "Tue, 10 Feb 2009 11:38:27 +1030") References: <20234.1234228107@internode.on.net> Message-ID: <87hc33uk16.fsf@rimspace.net> Andrew Dent writes: > That works great, thanks. Exactly what I was looking for. > > None of our clients will be behind remote proxies for internal > traffic. These sites are only visible internally and not to the > external internet. There are multiple internal DNS Servers managed by > the corporate IT, so they "should be" trustworthy for internal reverse > lookup. > > One thing that might break the solution is trying to access these > queries via VPN. *nod* I would advise using some sort of secure authentication, and then role or user based authorization, rather than using IP address, to address this issue. That also solves the problem of your boss being called to a meeting out of state and needing a copy of one of the reports while he is there... Regards, Daniel From thogard at abnormal.com Mon Feb 9 18:13:38 2009 From: thogard at abnormal.com (Tim Hogard) Date: Tue, 10 Feb 2009 02:13:38 +0000 (UTC) Subject: [Melbourne-pm] Stuff exchange web site design? Message-ID: <200902100213.n1A2Dct9039808@v.abnormal.com> I've been chating with a friend in the US that deals with post disaster assistance. The big problem is the logistics of getting stuff from the donars to the people who need it. He had a PHP thing that sort of worked until it got hit hard and then died but there seems to be a need for this sort of thing. Anyone got time to do it right? Failing that, does anyone have a free lat/long database for postcodes? -tim From toby.corkindale at strategicdata.com.au Mon Feb 9 18:37:28 2009 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Tue, 10 Feb 2009 13:37:28 +1100 Subject: [Melbourne-pm] Stuff exchange web site design? In-Reply-To: <200902100213.n1A2Dct9039808@v.abnormal.com> References: <200902100213.n1A2Dct9039808@v.abnormal.com> Message-ID: <4990E868.1070809@strategicdata.com.au> Tim Hogard wrote: > I've been chating with a friend in the US that deals with post disaster > assistance. The big problem is the logistics of getting stuff from > the donars to the people who need it. > > He had a PHP thing that sort of worked until it got hit hard and > then died but there seems to be a need for this sort of thing. > Anyone got time to do it right? Not sure what the issues actually are, but could you get away with a wiki? Requires users to learn to use it though, which is always the hard part of any system :/ > Failing that, does anyone have a free lat/long database for postcodes?\ I have a map of postcodes to suburbs, and Google Maps contains an API for geocoding place names to lat/long, so that problem could be solved fairly easily. From rick at measham.id.au Mon Feb 9 19:58:03 2009 From: rick at measham.id.au (Rick Measham) Date: Tue, 10 Feb 2009 14:58:03 +1100 Subject: [Melbourne-pm] Stuff exchange web site design? In-Reply-To: <200902100213.n1A2Dct9039808@v.abnormal.com> References: <200902100213.n1A2Dct9039808@v.abnormal.com> Message-ID: <4990FB4B.9010507@measham.id.au> Tim Hogard wrote: > I've been chating with a friend in the US that deals with post disaster > assistance. The big problem is the logistics of getting stuff from > the donars to the people who need it. > > He had a PHP thing that sort of worked until it got hit hard and > then died but there seems to be a need for this sort of thing. > Anyone got time to do it right? First, Tim: I'm not able to help resurrect some PHP thing sorry. Post Katrina I considered putting together a virtual team to write some software to handle community-led disaster recovery. Needless to say I never got around to it. It would need: * Registration of those affected * Registration of people searching for those affected * Registration of time/service volunteers * Registration of item volunteers * Registration of distributors (authorised liaisons with emergency services .. these could be from the Red Cross or Salvos) * A way for item and time volunteers to register their offers * A way for those affected to accept an offer * A way to notify when someone you were searching for or who is searching for you is registered * A status update for those affected I'd love it if it was a distributed system where anyone who wanted to could set it up on their website, but it all met up somewhere in the backend. That way you could visit any of a number of websites (Red Cross, Government, Fire Services, etc) to register as a 'victim' and anyone registered as searching for you could visit any host to find you. If it were just open source, we'd be in danger of every service organization setting up their own database and making it virtually pointless. Anyway, this is just some thoughts that have been rolling around in my head for a few years, finally set out in little pixels. Cheers! Rick Measham -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3241 bytes Desc: S/MIME Cryptographic Signature URL: From gavin at openfusion.com.au Tue Feb 10 01:47:07 2009 From: gavin at openfusion.com.au (Gavin Carr) Date: Tue, 10 Feb 2009 20:47:07 +1100 Subject: [Melbourne-pm] Stuff exchange web site design? In-Reply-To: <200902100213.n1A2Dct9039808@v.abnormal.com> References: <200902100213.n1A2Dct9039808@v.abnormal.com> Message-ID: <20090210094707.GB4222@openfusion.com.au> On Tue, Feb 10, 2009 at 02:13:38AM +0000, Tim Hogard wrote: > Failing that, does anyone have a free lat/long database for postcodes? I do, if you just want the data. It's pretty easy to do yourself using free ABS data [1] and Postgresql/PostGIS. Mark Mansour has a great blog post on how to get started with it at http://stateofflux.com/, but unfortunately his blog got hacked recently and the permalinks are all broken. The post is still there on the front page though - you just have to scroll down a bit. Let me know if just want a data dump, but doing it with PostGIS gives you lots of power if you've got the time to set it up. Cheers, Gavin [1] http://www.abs.gov.au/AUSSTATS/abs at .nsf/DetailsPage/2923.0.30.0012006?OpenDocument From dan at jumbuk.com Tue Feb 10 04:02:24 2009 From: dan at jumbuk.com (Dan Tyrrell) Date: Tue, 10 Feb 2009 23:02:24 +1100 Subject: [Melbourne-pm] NYTProf Message-ID: Hi, Further to the recent talk (in part) on NYTProf by PauI I noticed that for certain workloads NYTProf can add significant overheads. See below. (Note that the process being profiled appeared to be CPU/Memory bound.) It is not all bad. I have no idea how this overhead would compare compare to other profiling options - except that the overhead was much lower than attempting to find interesting (i.e. slow or poorly written) parts of the code manually. In this case NYTProf made it quite clear what part of the code was 'interesting'....it rocks! [dan at localhost checkpatch]$ time perl ./checkpatch.pl --no-tree -q --file aten2011.c real 0m8.964s user 0m8.814s sys 0m0.025s [dan at localhost checkpatch]$ time perl -d:NYTProf ./checkpatch.pl --no-tree --file aten2011.c real 2m2.884s user 2m1.549s sys 0m0.303s The discussion that prompted this is here: http://marc.info/?l=linux-kernel&m=123342823128520&w=2 If anyone is interested I can also post the HTML reports somewhere. Cheers, Dan Tyrrell From pjf at perltraining.com.au Tue Feb 10 13:57:11 2009 From: pjf at perltraining.com.au (Paul Fenwick) Date: Wed, 11 Feb 2009 10:57:11 +1300 Subject: [Melbourne-pm] NYTProf In-Reply-To: References: Message-ID: <4991F837.4060206@perltraining.com.au> G'day from Wellington Airport, Dan Tyrrell wrote: > Further to the recent talk (in part) on NYTProf by PauI I noticed that > for certain workloads NYTProf can add significant overheads. See All profilers add quite a bit of overhead, since they need to interrupt your program flow to record timing information. With the default NYTProf configuration, this happens after every statement, or sometimes multiple times per statement if you're calling lots of subroutines. There's a few tricks you can use to speed up profiling, if you're happy to use information. For example, one can set an environment variable to tell NYTProf when it should start: export NYTPROF=start=init to only start after your program has compiled, which can avoid some of the overhead associated with module setup (which you may not care to profile). It's even possible to: export NYTPROF=start=no To tell NYTProf not to start at all. This is handy because you can manually enable/disable it: DB::enable_profile() # Code that I wish to profile DB::disable_profile() This is especially useful if you know that a a region of your program is causing slowdowns (possibly you did profiling previously), and you just want to gain insights into how that part has improved. It's also possible to disable line, block, and subroutine profiling, which will also give you a performance gain. See the Devel::NYTProf documentation on the NYTPROF environment variable for details. Profilers aren't something you want to 'leave on' in your code, because of the resource requirements. However compared to the overheads of other profilers, I've actually found NYTProf to be relatively snappy. Cheerio, Paul -- Paul Fenwick | http://perltraining.com.au/ Director of Training | Ph: +61 3 9354 6001 Perl Training Australia | Fax: +61 3 9354 2681 From toby.corkindale at strategicdata.com.au Sun Feb 15 20:41:27 2009 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Mon, 16 Feb 2009 15:41:27 +1100 Subject: [Melbourne-pm] Git branches and PS1 Message-ID: <4998EE77.2040809@strategicdata.com.au> This is a neat feature to use with Git that I only just discovered: http://zerokspot.com/weblog/2008/12/04/git-branches-and-ps1/ Essentially, just add $(__git_ps1 " (%s)") to your PS1 in .bashrc, and now, if you're inside a directory containing a Git repository, then your prompt will include the current branch's name. tobyc at arya:~$ cd git tobyc at arya:~/git$ cd webval tobyc at arya:~/git/webval (master)$ git checkout git-svn master version-0.14 HEAD user_to_userid tobyc at arya:~/git/webval (master)$ git checkout user_to_userid Switched to branch "user_to_userid" tobyc at arya:~/git/webval (user_to_userid)$ -tjc From toby.corkindale at strategicdata.com.au Sun Feb 15 20:24:39 2009 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Mon, 16 Feb 2009 15:24:39 +1100 Subject: [Melbourne-pm] CPANPLUS upgrades Message-ID: <4998EA87.8060802@strategicdata.com.au> I note that CPANPLUS has the 'o' search to list all modules that are out-of-date on your system. One can then type 'i #' where # is a number from that search list.. but I wondered, is there an easy way to say "upgrade everything!"? The answer is: i 1..# where # is the last number from the search list. (I also wonder if there's some trick like 1..-1 that would also work?) Just thought I'd pass this on to save you time if you're like me and hadn't realised.. :) -Toby From alec.clews at gmail.com Sun Feb 15 22:47:43 2009 From: alec.clews at gmail.com (Alec Clews) Date: Mon, 16 Feb 2009 17:47:43 +1100 Subject: [Melbourne-pm] Git branches and PS1 In-Reply-To: <4998EE77.2040809@strategicdata.com.au> References: <4998EE77.2040809@strategicdata.com.au> Message-ID: <49990C0F.6040801@gmail.com> If you have the misfortune to be using Windows, but the good fortune to have installed Cygwin make the following change to the git_completions.bash file __git_ps1 () { [[ $OS == "Windows_NT" && $(stat -f -c %t $PWD) == 4000f ]] && return # <== add this local g="$(git rev-parse --git-dir 2>/dev/null)" This stops the git search if you are using an SMB network share which is VERY slow. NB the magic value 0x4000f was obtained empirically -- YMMV Make sense? Toby Corkindale wrote: > This is a neat feature to use with Git that I only just discovered: > http://zerokspot.com/weblog/2008/12/04/git-branches-and-ps1/ > > Essentially, just add $(__git_ps1 " (%s)") to your PS1 in .bashrc, and > now, if you're inside a directory containing a Git repository, then > your prompt will include the current branch's name. > > > tobyc at arya:~$ cd git > tobyc at arya:~/git$ cd webval > tobyc at arya:~/git/webval (master)$ git checkout > git-svn master version-0.14 > HEAD user_to_userid > tobyc at arya:~/git/webval (master)$ git checkout user_to_userid > Switched to branch "user_to_userid" > tobyc at arya:~/git/webval (user_to_userid)$ -- Alec Clews Personal Melbourne, Australia. Jabber: alecclews at jabber.org.au PGPKey ID: 0x9BBBFC7C Blog http://alecthegeek.wordpress.com/ From Russell.Craythorn at its.monash.edu.au Mon Feb 16 17:17:23 2009 From: Russell.Craythorn at its.monash.edu.au (Russell Craythorn) Date: Tue, 17 Feb 2009 12:17:23 +1100 Subject: [Melbourne-pm] Job: Senior Web Developer / Analyst (Monash University) Message-ID: <499A1023.5050009@its.monash.edu.au> Senior Web Developer / Analyst Monash University is seeking a versatile web developer with excellent Perl skills for the development and administration of Monash University?s student and staff portal (my.monash) and the suite of proprietary and custom built tools that comprise Monash University Studies Online (MUSO). You will enjoy working collaboratively and leading staff in designing and developing innovative, rigorous solutions within an enterprise-wide, database backed web application environment; have expertise in Perl and SQL; be teachable, organised and solutions focused with excellent problem solving and analysis skills. Experience in portals and PL/SQL is highly regarded. Remuneration package: $82,528 - $91,099 pa HEW Level 8 (includes employer superannuation of 17%) Location: Clayton Apply by email to Ms Kate Wrathall at kate.wrathall at its.monash.edu.au Applications close on Friday, 20 February 2009. If you have any questions, please contact Russell Craythorn on 03 99056176 For further information on the job position and how to apply visit http://cerebus.sss.monash.edu.au/employ/job.asp?refnumber=P099289&work=full%20time%20(continuing)&staff=&faculty=&keyword=&whichpage=3&pagesize=7 From melbourne-pm at popcorn.cx Thu Feb 19 02:41:18 2009 From: melbourne-pm at popcorn.cx (Stephen Edmonds) Date: Thu, 19 Feb 2009 21:41:18 +1100 Subject: [Melbourne-pm] StixCampNewstead, 14th and 15th March 2009 Message-ID: <499D374E.4040709@popcorn.cx> Registrations for StixCampNewstead are now open! The weekend of 14th and 15th of March, 2009. Welshmans Reef Vineyard just outside Newstead, central Victoria http://vic.au.stixcamp.org/ The press release about the event: Newstead Vic. to Host User Generated Unconference in March 09 All eyes will be turning to the Victorian town of Newstead on the 14th and 15th of March this year as it hosts the first StixCamp unconference. Based on the BarCamp model, StixCampNewstead brings together mainly users and developers of open source tools and applications to share knowledge about particular subjects, in this case technology and business. An unconference (unorganised conference) uses volunteers to secure the venue and funding but other organisational requirements such as calling for submissions, keynote speakers, reviews and talk scheduling are either not performed, or done so on the day. Organiser, Ben Balbo, says this model is surprisingly effective, providing participants with an opportunity to share their own knowledge and expertise in an interactive environment. ?StixCamps are open forums for knowledge sharing, something that developers have been doing for years over the Internet. A typical event will start with a welcome from the lead organiser and a short scheduling session, where those interested in presenting or leading a discussion will assist with the scheduling of the day?s itinerary.? Balbo has organised two BarCampMelbourne events in previous years, including the first BarCamp in Australia. ?After last year?s hugely successful city-based event, it was suggested that successive unconferences alternate between rural and city locations. Rural locations serve to spread knowledge and sharing to those that might not readily travel to a major city.? Newstead resident and StixCampNewstead organiser, Dave Hall, says locals are looking forward to the upcoming event. ?Every second conversion I have with local residents involves StixCamp.? Anyone interested in attending StixCampNewstead, or being kept informed about future events, including the next BarCampMelbourne in September 2009, is encouraged to join the announcement mailing lists on the following websites: http://vic.au.stixcamp.org/ http://barcampmelbourne.org/ For further information please contact: Ben Balbo Convener StixCamp and BarCampMelbourne ben {at} benbalbo(.)com 0415 127 120 From ben at benbalbo.com Thu Feb 19 20:59:27 2009 From: ben at benbalbo.com (ben at benbalbo.com) Date: Fri, 20 Feb 2009 15:59:27 +1100 (EST) Subject: [Melbourne-pm] Deadline for bids to run OSDC 2009 Message-ID: <20090220045927.051EBB9DD0C@securityprotected.net> This is a reminder that applications to host the Open Source Developers' Conference in 2009 must be submitted before the 1st of March, which is a little over a week away. If you are in need of an extension, please forward your request to the submission email address included at the top of the application form (http://osdc.com.au/files/OSDC2009-Application.odt) along with the reason for the request and your anticipated submission date. Your request will be considered and a response provided. For your convenience, we provide the original announcement which includes full details on the application procedure. Original Announcement: The Open Source Developers' Conference has been run successfully for the last 5 years, drawing bigger crowds every year. For the first three of those years (2004-2006) it ran in Melbourne before moving to Brisbane (2007) and Sydney (2008). Each year it has had at least three full streams of content running concurrently, catered tea breaks and lunches, a formal sit-down conference dinner on the first night, and free speaker entry. Some years have also included one or two days of tutorial content. The Open Source Developers' Conference provides an important opportunity for developers of open source applications and developers who use open source tools to share knowledge and teach each other about the changes and new ideas that have come up in the last year or so. Our core focus is on writing code, and the tools that make that easier. The Open Source Developers' Club exec are seeking applications from interested parties to host the 2009 Open Source Developers' Conference. Location is not an issue, so long as you are in the oceanic region. If you are interested, or know someone that is, please complete the application form (http://osdc.com.au/files/OSDC2009-Application.odt) before 1st March 2009. The submission email address is included at the top of the form. We do have some model rules (http://www.osdcon.org/wiki/Model_Rules) and a lot of ideas to share. Having said that, we're willing to be as active or quiet as you need us to be. Traditionally the conference has been run in either the last week of November or the first week in December, if you want to deviate a lot from these dates you will need to talk to us first. You will need at group of 6-8 dedicated people who are able to give up an average of 3 hours a week from the acceptance date through to the conference itself. You will be responsible for: * finding and booking the venue(s) * managing your finances (there will be some seed capital) * advertising your call for papers to as many open source programming groups you know (we're happy to share our list with you too) * creating the program (preferably ensuring that no one language or concept unduly dominates) * identifying, deciding upon and inviting keynote speakers * organising all the social events * organising the catering * seeking and arranging sponsorships * advertising the conference * finding volunteers and running an awesome conference In return you will get: * help from us when asked * the satisfaction of arranging an awesome conference * fame for running the best OSDC yet * a chance to improve your profile in the open source world * kudos from the exec committee, speakers and attendees As this is such a big undertaking, we want you to know that we'll support you every step of the way. Should you need more help, we're here to offer advice or step in and do things if we can. Although OSDC Inc isn't flush with cash, there are funds to cover deposits before the money comes in. If for unforeseen difficulties the conference makes a loss, you won't be out of pocket; although we do ask that you keep us apprised of the financial situation on a regular basis and warn us if there may be a problem. We look forward to seeing your application! The Open Source Developers' Club Exec From jarich at perltraining.com.au Sun Feb 22 22:17:05 2009 From: jarich at perltraining.com.au (jarich at perltraining.com.au) Date: Mon, 23 Feb 2009 17:17:05 +1100 (EST) Subject: [Melbourne-pm] SAGE-AU'2009 Call for presentations Message-ID: <20090223061706.06E40A9DDC@teddybear.perltraining.com.au> Dear Melbourne Perl Mongers members, Please forward this invitation to anyone you feel would be interested. 17th Annual System Administrators' Conference (SAGE-AU 2009) ============================================================ The System Administrators' Guild of Australia Gold Coast, 10-14th August 2009 SAGE-AU was formed to advance the profession of System Administration by raising awareness of the need for System Administrators, and educating System Administrators in technical as well as professional issues. Our yearly conference provides a forum for System Administrators of all platforms and levels of experience to gather together and share their experiences. Further it provides an excellent opportunity to meet and network with acknowledged experts in the field. SAGE-AU 2009 will be held in the Gold Coast from the 10th-14th August. The theme this year is "Internet Content Filtering," and talks or tutorials covering this or related fields are particularly welcomed. Training Program: 10th - 12th August ------------------------------------ SAGE-AU 2009 will include three days of training sessions of both 3 hours and 6 hours duration. Previous years have included tutorials on topics such as: * Management practices for System Administrators * Disaster recovery and high availability * Computer and network security * High performance * Networking * Cross platform interoperability For more details and to submit your proposal(s), visit our Call for Technical Presentations. http://www.sage-au.org.au//x/cgAG Technical Program: 14th - 15th August ------------------------------------- Due to the huge success of last year's change in format, this year again there will be two parallel streams of talks running. If your job includes looking after systems, networks, or machines for which you are not the sole-user, we'd love to hear you speak! Previous years have included talks on topics such as: * Selling yourself/your team * Successful negotiation * Disasters recovered * Security issues * Tools, tricks and tips * Standards For more details and to submit your proposal(s), visit our Call for Technical Presentations. http://www.sage-au.org.au//x/cgAG If you have any questions or require assistance with your submission, please don't hesitate to ask! SAGE-AU 2009 Gold Coast ------------------- Call for Papers/Tutorials Issued 23rd February 2009 Proposals Due 30th March 2009 Provisional Notification 27th April 2009 Draft Paper/Tutorials Due 1st June 2009 Confirmed Acceptance and Contracts 15th June 2009 Final Paper/Tutorial Materials Due 13th July 2009 For all information, contacts and updates, see the SAGE-AU conference web site at http://www.sage-au.org.au/display/conf/