From melbourne-pm at popcorn.cx Sun Aug 9 15:46:25 2009 From: melbourne-pm at popcorn.cx (Stephen Edmonds) Date: Mon, 10 Aug 2009 08:46:25 +1000 Subject: [Melbourne-pm] Next meeting: Wednesday 12th August 2009 Message-ID: <4A7F51C1.5010703@popcorn.cx> When: Wednesday, 12th August, 6:30pm Where: Remasys Pty Ltd Level 1 180 Flinders St MELBOURNE VIC 3121 What: Lightning talks Sept Fail 100 Bug Squash planning There isn't anything officially planned for the meeting, but last month when I suggested lightning talks a couple of people expressed interest, and the Sept Fail 100 Bug Squash will be another topic that will come up. Thanks, Stephen -- Stephen Edmonds Melbourne, Australia stephen at popcorn.cx http://popcorn.cx/ From hamish at hamishcarpenter.com Tue Aug 11 04:47:42 2009 From: hamish at hamishcarpenter.com (Hamish Carpenter) Date: Tue, 11 Aug 2009 21:47:42 +1000 Subject: [Melbourne-pm] Next meeting: Wednesday 12th August 2009 In-Reply-To: <4A7F51C1.5010703@popcorn.cx> References: <4A7F51C1.5010703@popcorn.cx> Message-ID: <4A815A5E.9010804@hamishcarpenter.com> I have a lightening talk to present on using perl from the command line and a way to regain control after looking back through your history and wondering what that long line ever did. Hamish Stephen Edmonds wrote: > When: Wednesday, 12th August, 6:30pm > > Where: Remasys Pty Ltd > Level 1 > 180 Flinders St > MELBOURNE VIC 3121 > > What: Lightning talks > Sept Fail 100 Bug Squash planning > > There isn't anything officially planned for the meeting, but last month > when I suggested lightning talks a couple of people expressed interest, > and the Sept Fail 100 Bug Squash will be another topic that will come up. > > Thanks, > > Stephen > From ben at benbalbo.com Tue Aug 11 17:57:31 2009 From: ben at benbalbo.com (Ben Balbo) Date: Wed, 12 Aug 2009 10:57:31 +1000 Subject: [Melbourne-pm] BarCampMelbourne Registrations Open Message-ID: <4A82137B.8090607@benbalbo.com> Hi all! Registrations for BarCampMelboure are now open. To register, head to http://barcampmelbourne.org/register-for-barcampmelbourne2009/ and follow the instructions. Registrations are capped at 110, so make sure you get in quick! We've also set up a system for you to let us know what you'd like to see or present on during BarCampMelbourne ? this helps ensure we can design activities and encourage presenters to talk about topics of interest. Add your suggestions at http://barcampmelbourne2009.ideascale.com/ Cheers! Ben -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From toby.corkindale at strategicdata.com.au Tue Aug 11 18:44:30 2009 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Wed, 12 Aug 2009 11:44:30 +1000 Subject: [Melbourne-pm] Next meeting: Wednesday 12th August 2009 In-Reply-To: <4A7F51C1.5010703@popcorn.cx> References: <4A7F51C1.5010703@popcorn.cx> Message-ID: <4A821E7E.4000803@strategicdata.com.au> Stephen Edmonds wrote: > When: Wednesday, 12th August, 6:30pm > > Where: Remasys Pty Ltd > Level 1 > 180 Flinders St > MELBOURNE VIC 3121 > > What: Lightning talks > Sept Fail 100 Bug Squash planning > > There isn't anything officially planned for the meeting, but last month > when I suggested lightning talks a couple of people expressed interest, > and the Sept Fail 100 Bug Squash will be another topic that will come up. I've been trying to find a way to make talking about Android a lightning talk, but it really doesn't seem like anyone has ported Perl to it yet :( (To some degree, running Perl on the bare-metal of the device would be missing the point of Android, so it's more likely that a perl-on-dalvik implementation would be useful). I've been watching Ben Evan's work on porting perl to the jvm with interest though. If that succeeded, we'd have perl on android for free too. However it does seem to have stalled in the last couple of months. See: http://use.perl.org/~Ovid/journal/38837 http://boxcatjunction.blogspot.com/ -Toby From ddick at aapt.net.au Tue Aug 11 22:03:28 2009 From: ddick at aapt.net.au (David Dick) Date: Wed, 12 Aug 2009 05:03:28 -0000 Subject: [Melbourne-pm] Next meeting: Wednesday 12th August 2009 Message-ID: <4A821E7E.4000804@aapt.net.au> Stephen Edmonds wrote: > When: Wednesday, 12th August, 6:30pm > > Where: Remasys Pty Ltd > Level 1 > 180 Flinders St > MELBOURNE VIC 3121 > > What: Lightning talks > Sept Fail 100 Bug Squash planning > > There isn't anything officially planned for the meeting, but last month > when I suggested lightning talks a couple of people expressed interest, > and the Sept Fail 100 Bug Squash will be another topic that will come up. I've got enough for a talk about some CPAN modules i've been playing with if required. From toby.corkindale at strategicdata.com.au Thu Aug 13 00:33:45 2009 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Thu, 13 Aug 2009 17:33:45 +1000 Subject: [Melbourne-pm] The market for lemons Message-ID: <4A83C1D9.8030109@strategicdata.com.au> This is the concept I mentioned last night, in regard to fake items on ebay pushing out all the genuine ones: http://en.wikipedia.org/wiki/The_Market_for_Lemons (It's originally from 1970! and applied to used cars more than ebay, but the same theories apply) -Toby From tjc at wintrmute.net Thu Aug 13 01:29:09 2009 From: tjc at wintrmute.net (Toby Wintermute) Date: Thu, 13 Aug 2009 18:29:09 +1000 Subject: [Melbourne-pm] Notes from my lightning talk on screen-scraping Message-ID: Here are some notes covering my lightning talk last night: http://blog.dryft.net/2009/08/screen-scraping-with-perl.html -Toby -- Turning and turning in the widening gyre The falcon cannot hear the falconer Things fall apart; the center cannot hold Mere anarchy is loosed upon the world From Nathan.Bailey at its.monash.edu Thu Aug 13 14:32:11 2009 From: Nathan.Bailey at its.monash.edu (Nathan Bailey) Date: Fri, 14 Aug 2009 07:32:11 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack Message-ID: I have a quick job that I think would take an experienced coder less than a couple of days to do (but I am a notorious optimist :-) I want to be able to take an .ics file and push it into Google calendar. I *don't* need synchronisation, I'm happy with obliteration (ie. the new data can completely overwrite the old). There are two ways I can see to do this: i) Delete old calendar ii) Upload new .ics file (preferably all at once, otherwise individual events - although that may be several hundred!) (I would think this should be trivial with LWP, but I haven't tried LWP'ing Gcal) *OR* i) Keep a DB copy of the calendar (eg. Berkeley DB) ii) Check the new .ics - if it looks like the same event, change it (with its ETag), otherwise delete events that are in the DB and not the new .ics file and add events that aren't in the DB and are in the new .ics file. This should save some operations if we have to add events individually (because events that are already in calendar will stay) *OR* Some more brilliant suggest you suggest. This needs to run on both Linux and Windows. Feel free to (a) discuss on the list if you feel so inclined! and (b) send me a proposal for time/costs. Measure of success will be that I can run this in a cron script for a day or two and see that the Google calendar is correctly reflecting the contents of the .ics file. (Hopefully obvious from the context here, but I'd like it written in Perl as I may want to change it) thanks! Nathan From toby.corkindale at strategicdata.com.au Thu Aug 13 18:20:39 2009 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Fri, 14 Aug 2009 11:20:39 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: References: Message-ID: <4A84BBE7.8010103@strategicdata.com.au> Nathan Bailey wrote: > I have a quick job that I think would take an experienced coder less > than a couple of days to do (but I am a notorious optimist :-) > > I want to be able to take an .ics file and push it into Google calendar. > I *don't* need synchronisation, I'm happy with obliteration (ie. the new > data can completely overwrite the old). cp calendar.ics ~username/public_html/ Go to Google Calandar, and select "Add calendar" and then "Add by URL" Enter: http://your.host.net/~username/calendar.ics Whenever you update calendar.ics, google calendar should automatically pick up the changes after a while. (Unsure what the sync interval is, but seems quick enough for me) Authentication comes in the form of "security by obscurity" unfortunately.. Generate a random UUID via uuidgen (or just run: echo `ps auxw`|md5sum) and then rename your calendar to it, ie: mv calendar.ics b0cb8ec0-cdeb-4426-a2de-ebd5bed06ee9.ics (and use that as the URL for google calendar) I'm afraid this method doesn't involve Perl though! -Toby From andrew.stuart at flatraterecruitment.com.au Thu Aug 13 18:54:32 2009 From: andrew.stuart at flatraterecruitment.com.au (Andrew Stuart) Date: Fri, 14 Aug 2009 11:54:32 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: <4A84BBE7.8010103@strategicdata.com.au> References: <4A84BBE7.8010103@strategicdata.com.au> Message-ID: <82F1BCF8-88BA-4D51-B05F-BA2D7211423B@flatraterecruitment.com.au> That'll be $1,000 plus GST paid to Toby thanks! http://tsdg.typepad.com/restaurants/2009/07/picassos-napkin.html The story goes that Picasso was sitting in a Paris caf? when an admirer approached and asked if he would do a quick sketch on a paper napkin. Picasso politely agreed, swiftly executed the work, and handed back the napkin ? but not before asking for a rather significant amount of money. The admirer was shocked: ?How can you ask for so much? It took you a minute to draw this!? ?No?, Picasso replied, ?It took me 40 years? On 14/08/2009, at 11:20 AM, Toby Corkindale wrote: Nathan Bailey wrote: > I have a quick job that I think would take an experienced coder less > than a couple of days to do (but I am a notorious optimist :-) > I want to be able to take an .ics file and push it into Google > calendar. I *don't* need synchronisation, I'm happy with > obliteration (ie. the new data can completely overwrite the old). cp calendar.ics ~username/public_html/ Go to Google Calandar, and select "Add calendar" and then "Add by URL" Enter: http://your.host.net/~username/calendar.ics Whenever you update calendar.ics, google calendar should automatically pick up the changes after a while. (Unsure what the sync interval is, but seems quick enough for me) Authentication comes in the form of "security by obscurity" unfortunately.. Generate a random UUID via uuidgen (or just run: echo `ps auxw`|md5sum) and then rename your calendar to it, ie: mv calendar.ics b0cb8ec0-cdeb-4426-a2de-ebd5bed06ee9.ics (and use that as the URL for google calendar) I'm afraid this method doesn't involve Perl though! -Toby _______________________________________________ Melbourne-pm mailing list Melbourne-pm at pm.org http://mail.pm.org/mailman/listinfo/melbourne-pm -- Click here to report this message as spam: https://login.mailguard.com.au/report/1y46g00fJm/3IXlpTHB8ecmLWF2E8WpHx/0.6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nathan.Bailey at its.monash.edu Thu Aug 13 19:41:30 2009 From: Nathan.Bailey at its.monash.edu (Nathan Bailey) Date: Fri, 14 Aug 2009 12:41:30 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: <4A84BBE7.8010103@strategicdata.com.au> References: <4A84BBE7.8010103@strategicdata.com.au> Message-ID: <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> That would be pull, but I need push! :-) Although you've raised a good point - if google calendar can be mounted as a file system (like gmail can), perhaps I can just cp it across :-) N On 14/08/2009, at 11:20 AM, Toby Corkindale wrote: > Nathan Bailey wrote: >> I have a quick job that I think would take an experienced coder >> less than a couple of days to do (but I am a notorious optimist :-) >> I want to be able to take an .ics file and push it into Google >> calendar. I *don't* need synchronisation, I'm happy with >> obliteration (ie. the new data can completely overwrite the old). > > cp calendar.ics ~username/public_html/ > > Go to Google Calandar, and select "Add calendar" and then "Add by URL" > Enter: http://your.host.net/~username/calendar.ics > > Whenever you update calendar.ics, google calendar should > automatically pick up the changes after a while. (Unsure what the > sync interval is, but seems quick enough for me) > > Authentication comes in the form of "security by obscurity" > unfortunately.. Generate a random UUID via uuidgen (or just run: > echo `ps auxw`|md5sum) and then rename your calendar to it, ie: > mv calendar.ics b0cb8ec0-cdeb-4426-a2de-ebd5bed06ee9.ics > (and use that as the URL for google calendar) > > > > I'm afraid this method doesn't involve Perl though! > > -Toby From daniel at rimspace.net Thu Aug 13 19:59:58 2009 From: daniel at rimspace.net (Daniel Pittman) Date: Fri, 14 Aug 2009 12:59:58 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> (Nathan Bailey's message of "Fri, 14 Aug 2009 12:41:30 +1000") References: <4A84BBE7.8010103@strategicdata.com.au> <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> Message-ID: <87ljlnm769.fsf@rimspace.net> Nathan Bailey writes: > That would be pull, but I need push! :-) Why? (Yes, this /is/ a serious question.) > Although you've raised a good point - if google calendar can be mounted as a > file system (like gmail can), perhaps I can just cp it across :-) I understand that CalDAV, which is built on top of WebDAV, is available for Google calendars. Given the degenerate implementation is 'PUT ...', here is a reasonable (and Perl) push implementation for you: ] < /path/to/example.ics lwp-request -m PUT http://example.com/target.ics Substituting the appropriate URL is left as an exercise to the reader. You may send the cheque by way of my agent. Daniel -- ? Daniel Pittman ? daniel at rimspace.net ? +61 401 155 707 ? made with 100 percent post-consumer electrons Looking for work? Love Perl? In Melbourne, Australia? We are hiring. From matt.cameron at websiteplus.com.au Sun Aug 16 19:46:22 2009 From: matt.cameron at websiteplus.com.au (matt.cameron at websiteplus.com.au) Date: Mon, 17 Aug 2009 12:46:22 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: <87ljlnm769.fsf@rimspace.net> References: <4A84BBE7.8010103@strategicdata.com.au> <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> <87ljlnm769.fsf@rimspace.net> Message-ID: <008401ca1ee4$ec5fd280$c51f7780$@cameron@websiteplus.com.au> Hopefully not stating obvious but combination of iCal::Parser and Net::Google::Calendar would appear to enable requirement. -----Original Message----- From: melbourne-pm-bounces+matt.cameron=websiteplus.com.au at pm.org [mailto:melbourne-pm-bounces+matt.cameron=websiteplus.com.au at pm.org] On Behalf Of Daniel Pittman Sent: Friday, 14 August 2009 1:00 PM To: melbourne-pm at pm.org Subject: Re: [Melbourne-pm] (paid) Assistance required for Google calendar hack Nathan Bailey writes: > That would be pull, but I need push! :-) Why? (Yes, this /is/ a serious question.) > Although you've raised a good point - if google calendar can be mounted as a > file system (like gmail can), perhaps I can just cp it across :-) I understand that CalDAV, which is built on top of WebDAV, is available for Google calendars. Given the degenerate implementation is 'PUT ...', here is a reasonable (and Perl) push implementation for you: ] < /path/to/example.ics lwp-request -m PUT http://example.com/target.ics Substituting the appropriate URL is left as an exercise to the reader. You may send the cheque by way of my agent. Daniel -- ? Daniel Pittman ? daniel at rimspace.net ? +61 401 155 707 ? made with 100 percent post-consumer electrons Looking for work? Love Perl? In Melbourne, Australia? We are hiring. _______________________________________________ Melbourne-pm mailing list Melbourne-pm at pm.org http://mail.pm.org/mailman/listinfo/melbourne-pm From Nathan.Bailey at its.monash.edu Mon Aug 17 04:42:45 2009 From: Nathan.Bailey at its.monash.edu (Nathan Bailey) Date: Mon, 17 Aug 2009 21:42:45 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: <87ljlnm769.fsf@rimspace.net> References: <4A84BBE7.8010103@strategicdata.com.au> <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> <87ljlnm769.fsf@rimspace.net> Message-ID: If this worked, it would be the ideal simple solution, but I can't get it to work (even with the "right" URL, according to http://code.google.com/apis/calendar/developers_guide_caldav.html) . I've tried to be a bit more explicit with the code below (attached) but even that results in a 401 Unauthorized. Despite the above page, there isn't much documentation for Google's CalDAV so I'm not sure if I'm CalDAV'ing correctly to the server... -------------- next part -------------- A non-text attachment was scrubbed... Name: google_cal.pl Type: text/x-perl-script Size: 913 bytes Desc: not available URL: -------------- next part -------------- As for push vs. pull - I need push because Google can't see my "server" to subscribe. FWIW, this is a path to publishing a calendar onto the iPhone that I want to run on a colleague's Windows PC (but that I will also happily run myself if/when I can get it working :-) thanks, Nathan On 14/08/2009, at 12:59 PM, Daniel Pittman wrote: > Nathan Bailey writes: > >> That would be pull, but I need push! :-) > > Why? (Yes, this /is/ a serious question.) > >> Although you've raised a good point - if google calendar can be >> mounted as a >> file system (like gmail can), perhaps I can just cp it across :-) > > I understand that CalDAV, which is built on top of WebDAV, is > available for > Google calendars. Given the degenerate implementation is 'PUT ...', > here is a > reasonable (and Perl) push implementation for you: > > ] < /path/to/example.ics lwp-request -m PUT http://example.com/target.ics > > Substituting the appropriate URL is left as an exercise to the reader. > > You may send the cheque by way of my agent. > > Daniel > > -- > ? Daniel Pittman ? daniel at rimspace.net ? > +61 401 155 707 > ? made with 100 percent post-consumer electrons > Looking for work? Love Perl? In Melbourne, Australia? We are > hiring. > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm From Nathan.Bailey at its.monash.edu Mon Aug 17 04:44:08 2009 From: Nathan.Bailey at its.monash.edu (Nathan Bailey) Date: Mon, 17 Aug 2009 21:44:08 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: <008401ca1ee4$ec5fd280$c51f7780$%cameron@websiteplus.com.au> References: <4A84BBE7.8010103@strategicdata.com.au> <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> <87ljlnm769.fsf@rimspace.net> <008401ca1ee4$ec5fd280$c51f7780$%cameron@websiteplus.com.au> Message-ID: <482C4615-CCF1-4778-BF46-2E10F45E8E24@its.monash.edu> Yes, but as far as I can see, this won't allow a wipe/reload approach, only an event-by-event approach (which is the code I don't want to write :-) N On 17/08/2009, at 12:46 PM, matt.cameron at websiteplus.com.au wrote: > Hopefully not stating obvious but combination of iCal::Parser and > Net::Google::Calendar would appear to enable requirement. > > > -----Original Message----- > From: melbourne-pm-bounces+matt.cameron=websiteplus.com.au at pm.org [mailto:melbourne-pm-bounces+matt.cameron=websiteplus.com.au at pm.org > ] On Behalf Of Daniel Pittman > Sent: Friday, 14 August 2009 1:00 PM > To: melbourne-pm at pm.org > Subject: Re: [Melbourne-pm] (paid) Assistance required for Google > calendar hack > > Nathan Bailey writes: > >> That would be pull, but I need push! :-) > > Why? (Yes, this /is/ a serious question.) > >> Although you've raised a good point - if google calendar can be >> mounted as a >> file system (like gmail can), perhaps I can just cp it across :-) > > I understand that CalDAV, which is built on top of WebDAV, is > available for > Google calendars. Given the degenerate implementation is 'PUT ...', > here is a > reasonable (and Perl) push implementation for you: > > ] < /path/to/example.ics lwp-request -m PUT http://example.com/target.ics > > Substituting the appropriate URL is left as an exercise to the reader. > > You may send the cheque by way of my agent. > > Daniel > > -- > ? Daniel Pittman ? daniel at rimspace.net ? > +61 401 155 707 > ? made with 100 percent post-consumer electrons > Looking for work? Love Perl? In Melbourne, Australia? We are > hiring. > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm > > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm From tjc at wintrmute.net Mon Aug 17 04:57:14 2009 From: tjc at wintrmute.net (Toby Wintermute) Date: Mon, 17 Aug 2009 21:57:14 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: References: <4A84BBE7.8010103@strategicdata.com.au> <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> <87ljlnm769.fsf@rimspace.net> Message-ID: 2009/8/17 Nathan Bailey : > As for push vs. pull - I need push because Google can't see my "server" to > subscribe. FWIW, this is a path to publishing a calendar onto the iPhone > that I want to run on a colleague's Windows PC (but that I will also happily > run myself if/when I can get it working :-) How about a script that just syncs the .ics file from his Windows PC then, to some other machine that *is* accessible? The simple approach is often the most reliable. Laziness is a virtue :) -Toby From melbourne-pm at popcorn.cx Mon Aug 17 16:34:40 2009 From: melbourne-pm at popcorn.cx (Stephen Edmonds) Date: Tue, 18 Aug 2009 09:34:40 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: References: <4A84BBE7.8010103@strategicdata.com.au> <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> <87ljlnm769.fsf@rimspace.net> Message-ID: <4A89E910.7000105@popcorn.cx> Toby Wintermute wrote: > 2009/8/17 Nathan Bailey : >> As for push vs. pull - I need push because Google can't see my "server" to >> subscribe. FWIW, this is a path to publishing a calendar onto the iPhone >> that I want to run on a colleague's Windows PC (but that I will also happily >> run myself if/when I can get it working :-) > > How about a script that just syncs the .ics file from his Windows PC > then, to some other machine that *is* accessible? > > The simple approach is often the most reliable. Laziness is a virtue :) I agree with Toby, keep it simple. In fact why get Google involved at all? To keep an eye on eBay items I have a script that generates an ics file on my home linux box. I then subscribed to it directly on my iPhone and it works quite nicely. The phone it set to fetch data every 15 minutes, the Apache logs show requests 15-20 minutes apart which is timely enough for my needs. [1] If I didn't have a publicly available web server at home, it would have been trivial to add a SCP to the end of the script. Thanks, Stephen [1] The eBay script only runs once an hour so 15 minutes is overkill, but as the update setting is global, 15 minutes is what I want for mail and other calendars. From daniel at rimspace.net Mon Aug 17 16:56:09 2009 From: daniel at rimspace.net (Daniel Pittman) Date: Tue, 18 Aug 2009 09:56:09 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: (Nathan Bailey's message of "Mon, 17 Aug 2009 21:42:45 +1000") References: <4A84BBE7.8010103@strategicdata.com.au> <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> <87ljlnm769.fsf@rimspace.net> Message-ID: <87zl9yc7vq.fsf@rimspace.net> Nathan Bailey writes: > If this worked, it would be the ideal simple solution, but I can't get it to > work (even with the "right" URL, according to > http://code.google.com/apis/calendar/developers_guide_caldav.html) . ...um: To use the CalDAV interface, a client program initially connects with the calendar server at one of two starting points. In either case, the connection must be made over HTTPS, and Basic authentication should be provided for the user's Google account, consisting of the full email address and password. [...] > my $CALSERVER = 'https://www.google.com/calendar/dav/username at gmail.com/user'; > my $user = 'username at gmail.com'; > my $pass = 'password'; > my $content = wcap_command("login", "user=$user", "password=$pass"); This has nothing to do with HTTP Basic authentication. Try sending the content via PUT with the username and password via HTTP Basic authentication and the 401 (you didn't supply HTTP basic authentication details) error will go away. Um, what gave you the idea that the wcap command thing was right? The Google pages don't mention it, no one here mentioned it as far as I can tell, so why on earth did you try using wcap rather than following the instructions as Google have written them? Regards, Daniel -- ? Daniel Pittman ? daniel at rimspace.net ? +61 401 155 707 ? made with 100 percent post-consumer electrons Looking for work? Love Perl? In Melbourne, Australia? We are hiring. From alfiejohn at gmail.com Mon Aug 17 16:58:07 2009 From: alfiejohn at gmail.com (Alfie John) Date: Tue, 18 Aug 2009 09:58:07 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: <4A89E910.7000105@popcorn.cx> References: <4A84BBE7.8010103@strategicdata.com.au> <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> <87ljlnm769.fsf@rimspace.net> <4A89E910.7000105@popcorn.cx> Message-ID: Sometimes heated handlebar grips is the wrong approach: http://thedailywtf.com/Articles/The_Complicator_0x27_s_Gloves.aspx Alfie On Tue, Aug 18, 2009 at 9:34 AM, Stephen Edmonds wrote: > Toby Wintermute wrote: > >> 2009/8/17 Nathan Bailey : >> >>> As for push vs. pull - I need push because Google can't see my "server" >>> to >>> subscribe. FWIW, this is a path to publishing a calendar onto the iPhone >>> that I want to run on a colleague's Windows PC (but that I will also >>> happily >>> run myself if/when I can get it working :-) >>> >> >> How about a script that just syncs the .ics file from his Windows PC >> then, to some other machine that *is* accessible? >> >> The simple approach is often the most reliable. Laziness is a virtue :) >> > > I agree with Toby, keep it simple. In fact why get Google involved at all? > > To keep an eye on eBay items I have a script that generates an ics file on > my home linux box. I then subscribed to it directly on my iPhone and it > works quite nicely. The phone it set to fetch data every 15 minutes, the > Apache logs show requests 15-20 minutes apart which is timely enough for my > needs. [1] > > If I didn't have a publicly available web server at home, it would have > been trivial to add a SCP to the end of the script. > > Thanks, > > Stephen > > [1] The eBay script only runs once an hour so 15 minutes is overkill, but > as the update setting is global, 15 minutes is what I want for mail and > other calendars. > > > _______________________________________________ > 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 Nathan.Bailey at its.monash.edu Tue Aug 18 15:16:34 2009 From: Nathan.Bailey at its.monash.edu (Nathan Bailey) Date: Wed, 19 Aug 2009 08:16:34 +1000 Subject: [Melbourne-pm] (paid) Assistance required for Google calendar hack In-Reply-To: <87zl9yc7vq.fsf@rimspace.net> References: <4A84BBE7.8010103@strategicdata.com.au> <885FFBA5-2F27-45F1-ABA5-BE41DC66BB03@its.monash.edu> <87ljlnm769.fsf@rimspace.net> <87zl9yc7vq.fsf@rimspace.net> Message-ID: <6759C890-B2BB-4752-8CE2-F5BA98D63041@its.monash.edu> I ended up trying WCAP code after 20-odd variations of: < test.ics lwp-request -xuSe -C username at gmail.com:password -c 'text/ calendar' -m PUT https://www.google.com/calendar/dav/username%40gmail.com/events failed with a 401. My code also failed with a 401 (lacking basic auth) which is what lead to trying WCAP authentication (that and tiredness I guess :-) After a bit more playing around I'm now getting my .ics file from Google with CalDAV, but it turns out that Google doesn't support MKCALENDAR, the create method, and there doesn't appear to be a DELETE- type method in CalDAV (it's possible that the HTTP DAV one works but I haven't found anything that says it would). So now I need to decide if I follow the original path, or put on my lazy (Toby) gloves (Alfie) and subscribe to an ics file published on another server (Stephen) :-) thanks everyone for the help! Nathan On 18/08/2009, at 9:56 AM, Daniel Pittman wrote: > Nathan Bailey writes: > >> If this worked, it would be the ideal simple solution, but I can't >> get it to >> work (even with the "right" URL, according to >> http://code.google.com/apis/calendar/developers_guide_caldav.html) . > > ...um: > > To use the CalDAV interface, a client program initially connects > with the > calendar server at one of two starting points. In either case, the > connection must be made over HTTPS, and Basic authentication > should be > provided for the user's Google account, consisting of the full > email > address and password. > > [...] > >> my $CALSERVER = 'https://www.google.com/calendar/dav/username at gmail.com/user' >> ; >> my $user = 'username at gmail.com'; >> my $pass = 'password'; >> my $content = wcap_command("login", "user=$user", "password=$pass"); > > This has nothing to do with HTTP Basic authentication. Try sending > the > content via PUT with the username and password via HTTP Basic > authentication > and the 401 (you didn't supply HTTP basic authentication details) > error will > go away. > > Um, what gave you the idea that the wcap command thing was right? > > The Google pages don't mention it, no one here mentioned it as far > as I can > tell, so why on earth did you try using wcap rather than following the > instructions as Google have written them? > > Regards, > Daniel > -- > ? Daniel Pittman ? daniel at rimspace.net ? > +61 401 155 707 > ? made with 100 percent post-consumer electrons > Looking for work? Love Perl? In Melbourne, Australia? We are > hiring. > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm From jarich at perltraining.com.au Sat Aug 22 03:57:10 2009 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Sat, 22 Aug 2009 20:57:10 +1000 Subject: [Melbourne-pm] Software Freedom Day - Call for Volunteers! Message-ID: <4A8FCF06.6020705@perltraining.com.au> Howdy everyone! Software Freedom Day is now less than a month away! When? 11am - 4pm, Saturday 19 September Where? Melbourne PC Club Rooms, 2nd Floor, Chadstone Place, Chadstone Shopping Centre. (See Map at http://luv.asn.au/sfd) Now, we need your help! 1. To help spread the word in the lead up to SFD at Chadstone. Download the A6 fliers, print 'em out and hand 'em round! http://luv.asn.au/files/a6fliers_0.pdf 2. To come along and participate, talk to people, do software demos, hand out balloons and software and help give directions. 3. To staff a community table and talk to people about Open Source Victoria and about Open Source for business and Software Freedom in general. Brianna Laugher has put together a very shiny program of talks and workshops... Talks: * Beginning programming with Python, Minh Nguyen * GIMP, Andrew Thornton * How to move to open source, Daniel Jitnah * OpenOffice, Jessica Smith * Introduction to distributed version control with Mercurial, Duana Stanley * Demo/workshop: Installing Linux on your netbook, Wen Lin (BYO netbook!) * How to back up using Clonezilla, Wen Lin * Build your own website with Drupal, Simon Hobbs Workshops: * Introduction to Wordpress, Kathy Reid * Advanced Wordpress, Kathy Reid * Hands-on hardware hacking (Arduinos), Andy Gelme (limited places, may be a small cost for hardware) * Inkscape, Donna Benjamin -- Software Freedom Day 2009 http://www.softwarefreedomday.org/melb A world wide celebration of Free and Open Source Software Melbourne event at Melb PC Chadstone and the community behind it. 11am - 4pm, Saturday 19 September From ddick at aapt.net.au Mon Aug 24 04:38:00 2009 From: ddick at aapt.net.au (David Dick) Date: Mon, 24 Aug 2009 21:38:00 +1000 Subject: [Melbourne-pm] Sept Fail 100 Bug Squash In-Reply-To: <3c2b63c00907281918k39027553xd976d3f59a91ac0e@mail.gmail.com> References: <3c2b63c00907281918k39027553xd976d3f59a91ac0e@mail.gmail.com> Message-ID: <4A927B98.5060308@aapt.net.au> On 29/07/09 12:18, Alec Clews wrote: > 2) Can we get a venue with internet access? there was some discussion > that our current venue might be a networking problem... (I do have a > WiFi router/hub we can use) > Remasys has purchased a Wifi router for use by Melbourne PM. So we now have a NATed internet link + router with dhcp all set up and ready to go. > 3) Shall we pair program and can we get the least experienced paired with most? > 4) If we have a network then shall we deliver via GitHub or Gitorious. > What would the workflow be? or use Git via ssh on a LAN? or an SVN > server... > 5) Can we support remote contributors e.g. using irc? > Afaik, we have holes in the firewall for outgoing ssh/http/https and dns, as these are the protocols i tend to use. Do we want irc or anything else? Not that it should provide any drama, but it will need organising beforehand. > 6) Does anyone not have a laptop to bring and do we have any > alternative to offer? > And does anyone have a laptop that cannot handle wireless? Should we provide ethernet as well as wireless connectivity? From scottp at dd.com.au Mon Aug 24 17:21:23 2009 From: scottp at dd.com.au (scottp at dd.com.au) Date: Mon, 24 Aug 2009 19:21:23 -0500 (CDT) Subject: [Melbourne-pm] Ext.Direct In-Reply-To: <1547615169.292301251159389114.JavaMail.root@mail-4.01.com> Message-ID: <692763212.292951251159683780.JavaMail.root@mail-4.01.com> Hey Dudes For those who use ExtJS 3.0, the new Direct (basically RPC) is excellent, but there was no Perl backend. Now there is: http://scott.dd.com.au/wiki/Ext.Direct It is pretty basic. There is a simple CGI version and a modperl version. http://github.com/scottp/extjs-direct-perl/blob/master/modperl/Apache/RPC/ExtDirect.pm I have only spent a few hours on it so far, so there is hardly any testing, a few features missing and no security. Currently it is good as a reference implementation, but I am working on two CPAN releases: RPC::ExtDirect - a perl module useful for calling from CGI. I would also like to use that (directly or as a reference) for a Catalyst module or similar. AND Apache::RPC::ExtDirect which is currently fully working, including preloading of classes (& optional instantiation), but still needs documentation, more testing and better configuraiton before release. So a quick how do you use it? Write your module package RealDemo; use JSON; sub doTest { my ($class, $in) = @_; if ($in =~ /cott/) { return "You can not use 'Scott' in your name"; } return JSON::true; } 1; Write your configuration file: { Demo => { Class => 'RealDemo', Methods => { doTest => { params => 1 }, }, }, } Load your apache config PerlModule Apache::RPC::ExtDirect SetHandler modperl PerlResponseHandler Apache::RPC::ExtDirect After loading your javascript, you can just call the method. e.g. Demo.doTest('Call the function'); but you need a callback to get the results. Demo.doTest('Call the function', function(result) { alert("We got: " + result); }); Enjoy. Scott -- http://scott.dd.com.au/ scottp at dd.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From toby.corkindale at strategicdata.com.au Thu Aug 27 23:22:16 2009 From: toby.corkindale at strategicdata.com.au (Toby Corkindale) Date: Fri, 28 Aug 2009 16:22:16 +1000 Subject: [Melbourne-pm] Sept Fail 100 Bug Squash In-Reply-To: <4A927B98.5060308@aapt.net.au> References: <3c2b63c00907281918k39027553xd976d3f59a91ac0e@mail.gmail.com> <4A927B98.5060308@aapt.net.au> Message-ID: <4A977798.80405@strategicdata.com.au> I hope the bug quashing goes well; I'm sad I won't be able to make it :( I'll see if I can get on the wiki from holiday and have a look at what is going on though; I might have some boring hours in departure lounges where I can contribute after all :) Best of luck, Toby David Dick wrote: > On 29/07/09 12:18, Alec Clews wrote: >> 2) Can we get a venue with internet access? there was some discussion >> that our current venue might be a networking problem... (I do have a >> WiFi router/hub we can use) >> > Remasys has purchased a Wifi router for use by Melbourne PM. So we now > have a NATed internet link + router with dhcp all set up and ready to go. >> 3) Shall we pair program and can we get the least experienced paired >> with most? >> 4) If we have a network then shall we deliver via GitHub or Gitorious. >> What would the workflow be? or use Git via ssh on a LAN? or an SVN >> server... >> 5) Can we support remote contributors e.g. using irc? >> > Afaik, we have holes in the firewall for outgoing ssh/http/https and > dns, as these are the protocols i tend to use. Do we want irc or > anything else? Not that it should provide any drama, but it will need > organising beforehand. >> 6) Does anyone not have a laptop to bring and do we have any >> alternative to offer? >> > And does anyone have a laptop that cannot handle wireless? Should we > provide ethernet as well as wireless connectivity? > _______________________________________________ > Melbourne-pm mailing list > Melbourne-pm at pm.org > http://mail.pm.org/mailman/listinfo/melbourne-pm -- Strategic Data Pty Ltd Ph: 03 9340 9000 From jarich at perltraining.com.au Sat Aug 29 04:33:45 2009 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Sat, 29 Aug 2009 21:33:45 +1000 Subject: [Melbourne-pm] LCA2010 Open Programming Languages Miniconf Message-ID: <4A991219.6000802@perltraining.com.au> The LCA2010 Open Programming Languages Miniconf, to be held at Linux.conf.au 2010 in January 2010 (either on Monday 18th or Tuesday 19th January), invites presentations about all programming languages with an Open Source implementation, such as Perl, Python, C, PHP and Ruby, amongst others. Topics may include recent developments in open programming languages, interface design, portability and packaging, coding applications with cool new libraries and frameworks, and showing off the use of novel programming techniques; presentations may be proposed in a standard (25-minute) or long (45-minute) talk format. Whilst most talks will be specific to a single language, the focus of this miniconf will be on sharing techniques, best practices and values amongst programmers of all open programming languages. We will be accepting proposals effective immediately, and our CFP will close on Friday, September 25. Absolutely no extensions will be granted due to the tight timeline for LCA2010 programme publication. To read the guidelines for presentations, and the submission process for proposals, please visit the CFP page on our website. http://blogs.tucs.org.au/oplm/cfp/ Important Dates ---------------- CFP Opens at http://blogs.tucs.org.au/oplm/cfp/submit/ * Friday, September 25: CFP Closes * Saturday, September 26-Thursday, October 1: Notification of successful presenters * Friday, October 2: Final programme submitted to LCA2010 organisers * January 18, 2010: Linux.conf.au 2010 Begins The timeline for the CFP is extremely tight by requirement of the LCA2010 organisers, so no extensions will be granted. About the Miniconf ------------------ The Linux.conf.au Open Programming Languages Miniconf is a single-day mini-conference about application development with Open Source programming languages. Featuring talks on a wide range of topics and programming languages, this miniconf aims to bring together open source developers with presentations that share techniques, best practices and values amongst programmers of all open programming languages. OPLM2010 will be held at Linux.conf.au 2010, in Wellington, New Zealand from January 18-23. OPLM2010 is being organised by Christopher Neugebauer and Jacinta Richardson with help from the broader community. You can contact the OPLM2010 organising team at oplm2010 at googlegroups.com or visit the website at http://blogs.tucs.org.au/oplm.