Mailing List

Flat
projects
User: jt
Date: 12/22/2009 7:22 pm
Views: 841
Rating: 0
I know that none of us have much in the way of time, but I'm wondering if we should come up a project or two that we can do to help the Perl community, and perhaps ourselves at the same time. For example:

http://perl.bristolbath.org/?Projects

Is this interesting to anyone?

JT Smith
ph: 703-286-2525 x810

Create like a god, command like a king, work like a slave.

Re: projects
User: mcholste
Date: 12/22/2009 10:55 pm
Views: 0
Rating: 0
Sounds interesting, but what can we do that would be truly original?
I'm trying to think of something, but it seems like everything worth
doing's been done before.  What about a script that will profile your
system using NYTProf and tell you the latency for all of the basic
Perl operations, like 4 ms for an assignment, 10 ms for a file open,
etc., then rank them?

On Tue, Dec 22, 2009 at 7:22 PM,   wrote:
> jt wrote:
>
> I know that none of us have much in the way of time, but I'm wondering if we
> should come up a project or two that we can do to help the Perl community,
> and perhaps ourselves at the same time. For example:
>
> http://perl.bristolbath.org/?Projects
>
> Is this interesting to anyone?
>
> JT Smith
> ph: 703-286-2525 x810
>
> Create like a god, command like a king, work like a slave.
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>
Re: projects
User: jt
Date: 12/23/2009 1:20 pm
Views: 0
Rating: 0
> Sounds interesting, but what can we do that would be truly original?
> I'm trying to think of something, but it seems like everything worth
> doing's been done before.  What about a script that will profile your
> system using NYTProf and tell you the latency for all of the basic
> Perl operations, like 4 ms for an assignment, 10 ms for a file open,
> etc., then rank them?


That could certainly be an interesting project. We could also add some stuff to show the performance difference between different methodologies and design patterns. Some things as simple as using quotes (interpolation on) or half quotes (no interpolation). It may also be interesting to do memory profiling for all these things too.

I'm not trying to dictate what projects we do, just advocating that we try to take on some projects. Some other projects we could do:

Make Perl interfaces to the web services provided by all the different web apps out there. I know the more popular ones like Flickr and Twitter already have some, but we could build them for other things. For example, there's hundreds of web apps on http://web.appstorm.net. I also know that Dropbox.com is coming out with a web service API soon.

I also know that some of the bigger projects have put out calls for help.
- POE wants help with optimization, documentation, and refactoring: http://poe.perl.org/?How_to_Help
- It's over now, but the Padre folks had a plugin contest, and we could work on padre plugins: http://use.perl.org/~Alias/journal/38914
- Perl::Critic is always looking for new policies.
- And there's plenty of other modules that have plugin frameworks: http://search.cpan.org/dist/Dist-Zilla/, http://search.cpan.org/dist/Plack/, etc

Anyway. I'd love to hear if anyone besides Martin and I are interested in this. Martin's idea is very good as I haven't seen anything else like it, and it could be useful to everyone. And I'm also a big fan of creating perlish interfaces to web services.



JT Smith
ph: 703-286-2525 x810

Create like a god, command like a king, work like a slave.

Re: projects
User: mdhoerr
Date: 12/23/2009 2:05 pm
Views: 0
Rating: 0
I can think of a couple of webservice-type things:
1. Scott Keenan has created a perl script to export a googlewave. I
don't know how good or bad it is, but I think it would be worth being
able to do. I've attached it to this email.
2. Is there a perl module or interface to connect to a mapserver? I'm
talking about the open source protocol, not specifically google.
Mary Hoerr
mary.hoerr@gmail.com
www.mdhoerr.com




On Wed, Dec 23, 2009 at 1:20 PM,   wrote:
> jt wrote:
>
>> Sounds interesting, but what can we do that would be truly original?
>> I'm trying to think of something, but it seems like everything worth
>> doing's been done before.  What about a script that will profile your
>> system using NYTProf and tell you the latency for all of the basic
>> Perl operations, like 4 ms for an assignment, 10 ms for a file open,
>> etc., then rank them?
>
>
> That could certainly be an interesting project. We could also add some stuff
> to show the performance difference between different methodologies and
> design patterns. Some things as simple as using quotes (interpolation on) or
> half quotes (no interpolation). It may also be interesting to do memory
> profiling for all these things too.
>
> I'm not trying to dictate what projects we do, just advocating that we try
> to take on some projects. Some other projects we could do:
>
> Make Perl interfaces to the web services provided by all the different web
> apps out there. I know the more popular ones like Flickr and Twitter already
> have some, but we could build them for other things. For example, there's
> hundreds of web apps on http://web.appstorm.net. I also know that
> Dropbox.com is coming out with a web service API soon.
>
> I also know that some of the bigger projects have put out calls for help.
> - POE wants help with optimization, documentation, and refactoring:
> http://poe.perl.org/?How_to_Help
> - It's over now, but the Padre folks had a plugin contest, and we could work
> on padre plugins: http://use.perl.org/~Alias/journal/38914
> - Perl::Critic is always looking for new policies.
> - And there's plenty of other modules that have plugin frameworks:
> http://search.cpan.org/dist/Dist-Zilla/, http://search.cpan.org/dist/Plack/,
> etc
>
> Anyway. I'd love to hear if anyone besides Martin and I are interested in
> this. Martin's idea is very good as I haven't seen anything else like it,
> and it could be useful to everyone. And I'm also a big fan of creating
> perlish interfaces to web services.
>
>
>
> JT Smith
> ph: 703-286-2525 x810
>
> Create like a god, command like a king, work like a slave.
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>



--
Mary D Hoerr
mary.hoerr@gmail.com
portfolio.mdhoerr.com
Re: projects
User: jt
Date: 12/28/2009 9:28 am
Views: 0
Rating: 0
> I can think of a couple of webservice-type things:
> 1. Scott Keenan has created a perl script to export a googlewave. I
> don't know how good or bad it is, but I think it would be worth being
> able to do. I've attached it to this email.

So your thought would be to turn this script into a module?

> 2. Is there a perl module or interface to connect to a mapserver? I'm
> talking about the open source protocol, not specifically google.


I don't think there's any standard protocol to conform an API to. Is there some sort of open source map server? Or a mapping RFC?

JT Smith
ph: 703-286-2525 x810

Create like a god, command like a king, work like a slave.

Re: projects
User: jt
Date: 12/28/2009 9:34 am
Views: 0
Rating: 0
> > 2. Is there a perl module or interface to connect to a mapserver? I'm
> > talking about the open source protocol, not specifically google.
>
> I don't think there's any standard protocol to conform an API to. Is there some sort of open source map server? Or a mapping RFC?


I found two map API's written in javascript that abstract which mapper you're using, but they don't seem practical for something we'd port to Perl.

http://www.multimap.com/openapi/
http://mapstraction.com/



JT Smith
ph: 703-286-2525 x810

Create like a god, command like a king, work like a slave.

Re: projects
User: mdhoerr
Date: 12/28/2009 6:12 pm
Views: 231
Rating: 0
I'll answer your second question first:
Yes, there is an open source map server. It's called MapServer -- see
http://mapserver.org
There's also one called GeoServer, but I know more about MapServer.

MapServer is the opensource map server that implements the Web Map
Service (wms) protocol.
The OpenLayers js that I used is one interface that lets you get stuff
from a server that implements the wms protocol.
In my demo, I pull in data from the NASA JPL server that implements
wms, from a usgs.gov server that implements the wms protocol, and from
a tab delimited text file.
(http://wms.jpl.nasa.gov/wms.cgi,
http://toposervices.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDNA_geo)

It might be good to have a perl module that lets you display
geographic data from a wms map server. You wouldn't need to be tied to
google.
Also, mySQL can handle spatial data, and there's a perl script
(shp2mysql) that will convert ESRI shp files (shapefiles) to mySQL
spatial datatypes. I have imported ESRI shapefiles into mySQL,
although I probably used php.
There are loads of shapefiles available from census sites, so you
could import the shapefiles into the website's back end database, and
then access them from the front-end, all without going through Google.
This could be useful for political boundaries, such as counties,
countries, etc.

Also, if someone actually had geospatial data they wanted to share
(bike trails in Belgium), they could upload and serve their own
geospatial data from a MapServer or GeoServer. And again, this doesn't
require GoogleMaps (not that I have anything against Google -- it's
just that there are other options too).



On Mon, Dec 28, 2009 at 9:34 AM,   wrote:
> jt wrote:
>
>> > 2. Is there a perl module or interface to connect to a mapserver? I'm
>> > talking about the open source protocol, not specifically google.
>>
>> I don't think there's any standard protocol to conform an API to. Is there
>> some sort of open source map server? Or a mapping RFC?
>
>
> I found two map API's written in javascript that abstract which mapper
> you're using, but they don't seem practical for something we'd port to Perl.
>
> http://www.multimap.com/openapi/
> http://mapstraction.com/
>
>
>
> JT Smith
> ph: 703-286-2525 x810
>
> Create like a god, command like a king, work like a slave.
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>



--
Mary D Hoerr
mary.hoerr@gmail.com
portfolio.mdhoerr.com
Re: projects
User: jt
Date: 12/28/2009 6:27 pm
Views: 2
Rating: 1
Do you guys think it would be a good idea to list all the modules maintained by our members on our modules page? I maintain 4 modules, and I know Chris Dolan maintains a few. Others probably do too.



On Dec 28, 2009, at 6:12 PM, <mary.hoerr@gmail.com> <mary.hoerr@gmail.com> wrote:

mdhoerr wrote:

I'll answer your second question first:
Yes, there is an open source map server. It's called MapServer -- see
http://mapserver.org
There's also one called GeoServer, but I know more about MapServer.

MapServer is the opensource map server that implements the Web Map
Service (wms) protocol.
The OpenLayers js that I used is one interface that lets you get stuff
from a server that implements the wms protocol.
In my demo, I pull in data from the NASA JPL server that implements
wms, from a usgs.gov server that implements the wms protocol, and from
a tab delimited text file.
(http://wms.jpl.nasa.gov/wms.cgi,
http://toposervices.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDNA_geo)

It might be good to have a perl module that lets you display
geographic data from a wms map server. You wouldn't need to be tied to
google.
Also, mySQL can handle spatial data, and there's a perl script
(shp2mysql) that will convert ESRI shp files (shapefiles) to mySQL
spatial datatypes. I have imported ESRI shapefiles into mySQL,
although I probably used php.
There are loads of shapefiles available from census sites, so you
could import the shapefiles into the website's back end database, and
then access them from the front-end, all without going through Google.
This could be useful for political boundaries, such as counties,
countries, etc.

Also, if someone actually had geospatial data they wanted to share
(bike trails in Belgium), they could upload and serve their own
geospatial data from a MapServer or GeoServer. And again, this doesn't
require GoogleMaps (not that I have anything against Google -- it's
just that there are other options too).



On Mon, Dec 28, 2009 at 9:34 AM,   wrote:
> jt wrote:
>
>> > 2. Is there a perl module or interface to connect to a mapserver? I'm
>> > talking about the open source protocol, not specifically google.
>>
>> I don't think there's any standard protocol to conform an API to. Is there
>> some sort of open source map server? Or a mapping RFC?
>
>
> I found two map API's written in javascript that abstract which mapper
> you're using, but they don't seem practical for something we'd port to Perl.
>
> http://www.multimap.com/openapi/
> http://mapstraction.com/
>
>
>
> JT Smith
> ph: 703-286-2525 x810
>
> Create like a god, command like a king, work like a slave.
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>



--
Mary D Hoerr
mary.hoerr@gmail.com
portfolio.mdhoerr.com

View Online



Madison Area Perl Mongers - MadMongers
http://www.madmongers.org


JT Smith
ph: 703-286-2525 x810

Create like a god, command like a king, work like a slave.

Re: projects
User: jt
Date: 12/28/2009 6:27 pm
Views: 0
Rating: 0
Ok. We should put together an implementation plan for the ideas we've spawned so far, and then see if anyone at the meeting or on this list wants to volunteer to work on them.


On Dec 28, 2009, at 6:12 PM, <mary.hoerr@gmail.com> <mary.hoerr@gmail.com> wrote:

mdhoerr wrote:

I'll answer your second question first:
Yes, there is an open source map server. It's called MapServer -- see
http://mapserver.org
There's also one called GeoServer, but I know more about MapServer.

MapServer is the opensource map server that implements the Web Map
Service (wms) protocol.
The OpenLayers js that I used is one interface that lets you get stuff
from a server that implements the wms protocol.
In my demo, I pull in data from the NASA JPL server that implements
wms, from a usgs.gov server that implements the wms protocol, and from
a tab delimited text file.
(http://wms.jpl.nasa.gov/wms.cgi,
http://toposervices.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDNA_geo)

It might be good to have a perl module that lets you display
geographic data from a wms map server. You wouldn't need to be tied to
google.
Also, mySQL can handle spatial data, and there's a perl script
(shp2mysql) that will convert ESRI shp files (shapefiles) to mySQL
spatial datatypes. I have imported ESRI shapefiles into mySQL,
although I probably used php.
There are loads of shapefiles available from census sites, so you
could import the shapefiles into the website's back end database, and
then access them from the front-end, all without going through Google.
This could be useful for political boundaries, such as counties,
countries, etc.

Also, if someone actually had geospatial data they wanted to share
(bike trails in Belgium), they could upload and serve their own
geospatial data from a MapServer or GeoServer. And again, this doesn't
require GoogleMaps (not that I have anything against Google -- it's
just that there are other options too).



On Mon, Dec 28, 2009 at 9:34 AM,   wrote:
> jt wrote:
>
>> > 2. Is there a perl module or interface to connect to a mapserver? I'm
>> > talking about the open source protocol, not specifically google.
>>
>> I don't think there's any standard protocol to conform an API to. Is there
>> some sort of open source map server? Or a mapping RFC?
>
>
> I found two map API's written in javascript that abstract which mapper
> you're using, but they don't seem practical for something we'd port to Perl.
>
> http://www.multimap.com/openapi/
> http://mapstraction.com/
>
>
>
> JT Smith
> ph: 703-286-2525 x810
>
> Create like a god, command like a king, work like a slave.
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>



--
Mary D Hoerr
mary.hoerr@gmail.com
portfolio.mdhoerr.com

View Online



Madison Area Perl Mongers - MadMongers
http://www.madmongers.org


JT Smith
ph: 703-286-2525 x810

Create like a god, command like a king, work like a slave.

Re: projects
User: mdhoerr
Date: 12/28/2009 6:28 pm
Views: 2
Rating: 0
I think it would be good to have a perl module that would allow you to
export a googlewave in html and probably also pdf format. (probably
others as well).
Scott's pl file, though, starts with the idea that you've already
saved the page in some html or html archive format.
I'm sure there are already loads of perl modules that will take an
html page and convert it to various formats. All you need to know is
the structure of the html used to show a wave. So one answer is: it
would be nice to have a perl module that recognizes those structures,
so that you could display a google wave in different ways.
There's also the GoogleWave embed api
(http://code.google.com/apis/wave/embed/reference.html) which lets you
embed a googlewave in a webpage. Right now, only people who have
googlewave accounts, and who have been given access to the wave being
shared, can see such an embedded wave.

On Mon, Dec 28, 2009 at 9:28 AM,   wrote:
> jt wrote:
>
>> I can think of a couple of webservice-type things:
>> 1. Scott Keenan has created a perl script to export a googlewave. I
>> don't know how good or bad it is, but I think it would be worth being
>> able to do. I've attached it to this email.
>
> So your thought would be to turn this script into a module?
>
PreviousNext
Madison Area Perl Mongers