From jay at jays.net Mon Jun 8 13:00:09 2015 From: jay at jays.net (Jay Hannah) Date: Mon, 8 Jun 2015 14:00:09 -0600 Subject: [Denver-pm] perl -> Google Maps and KML? In-Reply-To: References: Message-ID: Hi Robert, The www.pm.org website converts XML into a Google map: https://github.com/perlorg/www.pm.org/blob/master/bin/map.xml.pl Hope that helps, j On Apr 24, 2015, at 10:10 AM, Robert L. Harris wrote: > I'm looking to write a script which will read in track data which contains x,y,z a name, and some other point relevant data. I've been looking into LibGeo and Geo::GoogleEarth::Pluggable and I can place named points with the XYZ but haven't found a way to included the other relevant point data. Anyone have a lead on some examples I can tear apart to work through? From chris at fedde.us Fri Jun 12 08:55:27 2015 From: chris at fedde.us (Chris Fedde) Date: Fri, 12 Jun 2015 09:55:27 -0600 Subject: [Denver-pm] schedule meeting? Message-ID: shall we have a meeting some time soon? chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert.l.harris at gmail.com Tue Jun 30 15:35:40 2015 From: robert.l.harris at gmail.com (Robert L. Harris) Date: Tue, 30 Jun 2015 22:35:40 +0000 Subject: [Denver-pm] OT: Java network connection test? Message-ID: I'm trying to solve a side issue at work on an Android. Just started learning Java since there's no Perl to effectively just do a small network connection to test if a service is available. To that end I'm using "AsyncTask" but it's returning data in an annoying order since the connection returns very quickly but a failure times out after 3 seconds. Anyone have a very small, simple example of Java that would just loop through a list of addresses/ports, create a TCP connection and return the status? ( I'll be looking for a Java group tonight probably though I don't plan on doing anything else in it ) Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: From larryl at emailplus.org Tue Jun 30 16:22:38 2015 From: larryl at emailplus.org (Larry Leszczynski) Date: Tue, 30 Jun 2015 17:22:38 -0600 Subject: [Denver-pm] OT: Java network connection test? In-Reply-To: References: Message-ID: <1435706558.3357326.312032825.4EC4528D@webmail.messagingengine.com> On Tue, Jun 30, 2015, at 04:35 PM, Robert L. Harris wrote: > I'm trying to solve a side issue at work on an Android. Just started > learning Java since there's no Perl to effectively just do a small > network connection to test if a service is available. How about something like: ----------------------------- use IO::Socket::INET; my $socket = new IO::Socket::INET ( PeerHost => '127.0.0.1', PeerPort => '5000', Proto => 'tcp', ) or die "ERROR in Socket Creation : $!\n"; print "TCP Connection Success.\n"; ----------------------------- From larryl at emailplus.org Tue Jun 30 16:36:43 2015 From: larryl at emailplus.org (Larry Leszczynski) Date: Tue, 30 Jun 2015 17:36:43 -0600 Subject: [Denver-pm] OT: Java network connection test? In-Reply-To: <1435706558.3357326.312032825.4EC4528D@webmail.messagingengine.com> References: <1435706558.3357326.312032825.4EC4528D@webmail.messagingengine.com> Message-ID: <1435707403.3360169.312041217.736496C5@webmail.messagingengine.com> On Tue, Jun 30, 2015, at 05:22 PM, Larry Leszczynski wrote: > On Tue, Jun 30, 2015, at 04:35 PM, Robert L. Harris wrote: > > I'm trying to solve a side issue at work on an Android. Just started > > learning Java since there's no Perl to effectively just do a small > > network connection to test if a service is available. > > How about something like: > > ----------------------------- > use IO::Socket::INET; > > my $socket = new IO::Socket::INET ( More properly: my $socket = IO::Socket::INET->new( > PeerHost => '127.0.0.1', > PeerPort => '5000', > Proto => 'tcp', > ) or die "ERROR in Socket Creation : $!\n"; > > print "TCP Connection Success.\n"; > -----------------------------