From gwadej at anomaly.org Mon Dec 3 18:59:53 2012 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 3 Dec 2012 20:59:53 -0600 Subject: [pm-h] Houston.pm December Social Meeting Message-ID: <20121203205953.2c9bb6b4@cygnus> December is time for one of our social meetings. Once again, we will be meeting at the Black Labrador (http://www.blacklabradorpub.com/lab_about_us.html) on Montrose, near Richmond. As usual, the food is good, and the conversation will be interesting. We do not limit the discussion to only Perl at the social meetings. This is a good opportunity to meet some of your fellow Perl Mongers and learn about some of their interests. We'll meet around 7pm on Thursday, December 13. Tell the hostess you are meeting Wade Johnson or the Perl group. I'll have a reservation for that time. Hope to see you there. G. Wade -- "No Boom today. Boom tomorrow, There's always a boom tomorrow." -- Ivanova, "Grail" From flbaker at sbcglobal.net Tue Dec 18 08:23:08 2012 From: flbaker at sbcglobal.net (Fraser Baker) Date: Tue, 18 Dec 2012 10:23:08 -0600 Subject: [pm-h] GeoLocation on Android Message-ID: <7EDF34FFCA524D10B86FE09DAC54A7D1@CHEETAH> Hi: HTML5 Geolocation is working on an iPhone 4, but is not working on my Android 4. I believe all the phone's settings are correct. There are a lot of posts about this, but so far have been unable to find a resolution. Does any one have any experience with mobile Geolocation? Fraser -------------- next part -------------- An HTML attachment was scrubbed... URL: From dtibarra at gmail.com Tue Dec 18 08:33:32 2012 From: dtibarra at gmail.com (David Ibarra) Date: Tue, 18 Dec 2012 10:33:32 -0600 Subject: [pm-h] GeoLocation on Android In-Reply-To: <7EDF34FFCA524D10B86FE09DAC54A7D1@CHEETAH> References: <7EDF34FFCA524D10B86FE09DAC54A7D1@CHEETAH> Message-ID: It works alright on 4.0, I don't know about 4.1, what issues are you seeing with it? On Dec 18, 2012 10:19 AM, "Fraser Baker" wrote: > ** > Hi: > > HTML5 Geolocation is working on an iPhone 4, but is not working on my > Android 4. I believe all the phone's settings are correct. > > There are a lot of posts about this, but so far have been unable to find a > resolution. > > Does any one have any experience with mobile Geolocation? > > Fraser > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From flbaker at sbcglobal.net Tue Dec 18 09:01:47 2012 From: flbaker at sbcglobal.net (Fraser Baker) Date: Tue, 18 Dec 2012 11:01:47 -0600 Subject: [pm-h] GeoLocation on Android In-Reply-To: References: <7EDF34FFCA524D10B86FE09DAC54A7D1@CHEETAH> Message-ID: Hi David: Thanks for responding. It appears to have started to work, sort of. As best I can describe, this is what is happening at the moment. When the request for location is made, nothing happens. (I have the lat long showing in an alert.) If I let the phone sit till it goes dark, then restart it, the location is shown. Maybe the JavaScript is not completing somehow. Very frustrating. Fraser ---- Original Message ----- From: David Ibarra To: Houston.pm located in Houston, TX. Sent: Tuesday, December 18, 2012 10:33 AM Subject: Re: [pm-h] GeoLocation on Android It works alright on 4.0, I don't know about 4.1, what issues are you seeing with it? On Dec 18, 2012 10:19 AM, "Fraser Baker" wrote: Hi: HTML5 Geolocation is working on an iPhone 4, but is not working on my Android 4. I believe all the phone's settings are correct. There are a lot of posts about this, but so far have been unable to find a resolution. Does any one have any experience with mobile Geolocation? Fraser _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ ------------------------------------------------------------------------------ _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From toddr at cpanel.net Tue Dec 18 15:55:48 2012 From: toddr at cpanel.net (Todd Rinaldo) Date: Tue, 18 Dec 2012 17:55:48 -0600 Subject: [pm-h] GeoLocation on Android In-Reply-To: References: <7EDF34FFCA524D10B86FE09DAC54A7D1@CHEETAH> Message-ID: In the current IOS, you have to authorize each app to have access to location information. Could a similar privilege need setting on your test android device? On Dec 18, 2012, at 11:01 AM, Fraser Baker wrote: > Hi David: > > Thanks for responding. > > It appears to have started to work, sort of. As best I can describe, this is what is happening at the moment. > > When the request for location is made, nothing happens. (I have the lat long showing in an alert.) > > If I let the phone sit till it goes dark, then restart it, the location is shown. > > Maybe the JavaScript is not completing somehow. > > Very frustrating. > > Fraser > > ---- Original Message ----- > From: David Ibarra > To: Houston.pm located in Houston, TX. > Sent: Tuesday, December 18, 2012 10:33 AM > Subject: Re: [pm-h] GeoLocation on Android > > It works alright on 4.0, I don't know about 4.1, what issues are you seeing with it? > > On Dec 18, 2012 10:19 AM, "Fraser Baker" wrote: > Hi: > > HTML5 Geolocation is working on an iPhone 4, but is not working on my Android 4. I believe all the phone's settings are correct. > > There are a lot of posts about this, but so far have been unable to find a resolution. > > Does any one have any experience with mobile Geolocation? > > Fraser > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > Website: http://houston.pm.org/ Todd Rinaldo toddr at cpanel.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Tue Dec 18 16:43:15 2012 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 18 Dec 2012 18:43:15 -0600 Subject: [pm-h] Happy Birthday, Perl Message-ID: <20121218184315.14cdb12b@cygnus> Perl is 25 years old today. G. Wade -- If a cluttered desk is the sign of a cluttered mind, what is the significance of a clean desk? -- Laurence J. Peter From toddr at cpanel.net Wed Dec 19 08:37:02 2012 From: toddr at cpanel.net (Todd Rinaldo) Date: Wed, 19 Dec 2012 10:37:02 -0600 Subject: [pm-h] Happy Birthday, Perl In-Reply-To: <20121218184315.14cdb12b@cygnus> References: <20121218184315.14cdb12b@cygnus> Message-ID: On Dec 18, 2012, at 6:43 PM, G. Wade Johnson wrote: > Perl is 25 years old today. > Austin had some good links on this: Perl programming language turns 25 today http://www.networkworld.com/community/blog/perl-programming-language-turns-25-today The First Twenty-Five Years http://news.perlfoundation.org/2012/12/the-first-twenty-five-years.html and I'm sure other articles. _______________________________________________ Austin mailing list Austin at pm.org http://mail.pm.org/mailman/listinfo/austin -------------- next part -------------- An HTML attachment was scrubbed... URL: From flbaker at sbcglobal.net Wed Dec 19 09:57:19 2012 From: flbaker at sbcglobal.net (Fraser Baker) Date: Wed, 19 Dec 2012 11:57:19 -0600 Subject: [pm-h] GeoLocation on Android In-Reply-To: References: <7EDF34FFCA524D10B86FE09DAC54A7D1@CHEETAH> Message-ID: <9ACE1E326C57477FB32FF71C42B0EC57@CHEETAH> Hi Todd: Turned out that this was a JavaScript issue. Previously, I had been running GeoLocation when I was leaving the page. When I ran the function when the page loaded, it ran as expected. That was a frustrating experience that consumed a couple of days of my life ... but probably learned more that I need to know about GeoLocation. Thanks for thinking about me. Fraser ----- Original Message ----- From: Todd Rinaldo To: Houston.pm located in Houston, TX. Sent: Tuesday, December 18, 2012 5:55 PM Subject: Re: [pm-h] GeoLocation on Android In the current IOS, you have to authorize each app to have access to location information. Could a similar privilege need setting on your test android device? On Dec 18, 2012, at 11:01 AM, Fraser Baker wrote: Hi David: Thanks for responding. It appears to have started to work, sort of. As best I can describe, this is what is happening at the moment. When the request for location is made, nothing happens. (I have the lat long showing in an alert.) If I let the phone sit till it goes dark, then restart it, the location is shown. Maybe the JavaScript is not completing somehow. Very frustrating. Fraser ---- Original Message ----- From: David Ibarra To: Houston.pm located in Houston, TX. Sent: Tuesday, December 18, 2012 10:33 AM Subject: Re: [pm-h] GeoLocation on Android It works alright on 4.0, I don't know about 4.1, what issues are you seeing with it? On Dec 18, 2012 10:19 AM, "Fraser Baker" wrote: Hi: HTML5 Geolocation is working on an iPhone 4, but is not working on my Android 4. I believe all the phone's settings are correct. There are a lot of posts about this, but so far have been unable to find a resolution. Does any one have any experience with mobile Geolocation? Fraser _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------------------------------------------------------------------- _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ Todd Rinaldo toddr at cpanel.net ------------------------------------------------------------------------------ _______________________________________________ Houston mailing list Houston at pm.org http://mail.pm.org/mailman/listinfo/houston Website: http://houston.pm.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From flbaker at sbcglobal.net Sat Dec 22 13:18:10 2012 From: flbaker at sbcglobal.net (Fraser Baker) Date: Sat, 22 Dec 2012 15:18:10 -0600 Subject: [pm-h] Regex Message-ID: Hi Y'all: I have a four segment string delimited by '::'. How can one stop a substitution regex at the first encounter of the '::' symbol? How can one say stop the substitution at the second encounter of a the '::' symbol? Fraser -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikeflan at att.net Sat Dec 22 14:45:58 2012 From: mikeflan at att.net (Mike Flannigan) Date: Sat, 22 Dec 2012 16:45:58 -0600 Subject: [pm-h] Regex In-Reply-To: References: Message-ID: <50D63826.8030605@att.net> On 12/22/2012 3:18 PM, Fraser Baker wrote: > Hi Y'all: > I have a four segment string delimited by '::'. > How can one stop a substitution regex at the first encounter of the > '::' symbol? > How can one say stop the substitution at the second encounter of a the > '::' symbol? > Fraser This did what I think you wanted to do: s/^[^:]*::/whatever::/; s/^([^:]*::)[^:]*::/$1whatever::/; ________________________________________________________ #!/usr/local/bin/perl use strict; use warnings; while () { # s/^[^:]*::/whatever::/; s/^([^:]*::)[^:]*::/$1whatever::/; print; } __DATA__ one::two::three::four one2::two2::three2::four2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwadej at anomaly.org Fri Dec 28 21:13:41 2012 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 28 Dec 2012 23:13:41 -0600 Subject: [pm-h] January meeting Message-ID: <20121228231341.1250e1fe@cygnus> The next meeting is in about two weeks on Jan. 10. Does anyone have an idea for a presentation or a discussion topic? G. Wade -- There are only two kinds of programming languages: those people always bitch about and those nobody uses. -- Bjarne Stroustrup