Re: [Avogadro-devel] Avo2 - Downloading from GitHub

2016-06-09 Thread Marcus D. Hanwell
On Thu, Jun 9, 2016 at 1:25 PM, Geoffrey Hutchison
 wrote:
>> GNU Octave can download and compile its C++ packages automatically.
>> Perhaps it can serve as an example?
>
> My concern is this requires a C++ compiler from the end-user. On Mac and 
> Windows in particular, that’s not very common.
>
> Moreover, while we've offered nice C++ APIs for Avo1, I think the pool of 
> Python programmers is greater in science than those who know C++.
> (Indeed, the APIs in Avo2 could probably be ported to other languages too - 
> we're mostly running scripts as separate processes.)
>
Yes, my vision was to go beyond prescribing the language they wrote
extensions in. Python is a great start, but anything is acceptable as
they execute in their own process.

I wonder if we might either use the GitHub APIs, or simply call the
git command line to clone/update. This is what Qt Creator does, and we
would simply need to ask the user to install git/point us at it. We
call obabel like that too.

Marcus

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel


Re: [Avogadro-devel] Avo2 - Downloading from GitHub

2016-06-09 Thread Marcus D. Hanwell
On Thu, Jun 9, 2016 at 1:57 PM, Geoffrey Hutchison
 wrote:
>> I wonder if we might either use the GitHub APIs
>
> We can definitely use the GitHub API via HTTP. The catch is this ties us to 
> GitHub a bit more, while using Git directly makes it easier to point at 
> multiple repositories.
>
> It's pretty easy to walk the JSON from the API, e.g.
> https://api.github.com/repos/cryos/avogadro/contents/crystals?ref=master

It also makes it pretty easy to add other RESTful endpoints, and they
can be backed by whatever people choose. Calling git or other tools
from the command line would let us clone/update without committing
entirely to git.

I feel like expanding out interaction with RESTful services is a good
general direction, GitHub provides one endpoint but it is not the only
one.

My $0.02 on it...

Marcus

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel


Re: [Avogadro-devel] Avo2 - Downloading from GitHub

2016-06-09 Thread Geoffrey Hutchison
> I wonder if we might either use the GitHub APIs

We can definitely use the GitHub API via HTTP. The catch is this ties us to 
GitHub a bit more, while using Git directly makes it easier to point at 
multiple repositories.

It's pretty easy to walk the JSON from the API, e.g.
https://api.github.com/repos/cryos/avogadro/contents/crystals?ref=master

-Geoff
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel


Re: [Avogadro-devel] Avo2 - Downloading from GitHub

2016-06-09 Thread Geoffrey Hutchison
> GNU Octave can download and compile its C++ packages automatically.
> Perhaps it can serve as an example?

My concern is this requires a C++ compiler from the end-user. On Mac and 
Windows in particular, that’s not very common.

Moreover, while we've offered nice C++ APIs for Avo1, I think the pool of 
Python programmers is greater in science than those who know C++.
(Indeed, the APIs in Avo2 could probably be ported to other languages too - 
we're mostly running scripts as separate processes.)

-Geoff
--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel


Re: [Avogadro-devel] Avo2 - Downloading from GitHub

2016-06-09 Thread Jure Varlec
On Wed, 8 Jun 2016 16:15:40 -0400
Geoffrey Hutchison  wrote:

> The problem, of course, was that compiled C++ is hard to distribute
> in a cross-platform way.

GNU Octave can download and compile its C++ packages automatically.
Perhaps it can serve as an example?

Regards
Jure


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel