-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 23/11/13 14:26, Thorsten Behrens wrote:
Daniel Pocock wrote:
On 22/11/13 20:17, Thorsten Behrens wrote:
Not sure that would be overly smart to have as a core feature
- urls and formats for these things tend to be a bit in flux.
;)
That is where a middleware like OpenMAMA comes in handy -
OpenMAMA (with a messaging broker or multicast solution like avis
or ZeroMQ underneath) can distribute the prices around on your
local network for different users and applications.
Would you be interested in working on integrating such a thing?
Yes, that is why I'm looking at it
For your original question wrt. a suitable example:
http://www.enigmacurry.com/archive/2009/12/1/
The description looks very similar to what I had in mind, but I
notice that is in Python.
For OpenMAMA, there is a C++ and Java API and I notice that
LibreOffice offers both C++ and Java extension writing tutorials.
Can you make any comment on which might be the better choice and
any example in one of those languages? I suspect C++ would be
the better choice for performance.
For an extension, C++ is a less-desirable choice. If you're
confident hacking something up in C++, it would perhaps be indeed
best to aim for a core implementation. Conversely, Java or Python
are nice fits for extensions (with the added bonus that you can
target past releases of LibreOffice with that, and are not tied in
any way to the main LibreOffice release schedule).
Would it be problematic for core to have an OpenMAMA dependency
though? OpenMAMA is not available on all platforms.
It would be possible in Java - after all, OpenMAMA provides a Java API
and it is packaged too:
http://packages.debian.org/unstable/libmamda-java
My only concern would be performance - if somebody uses this to get a
single currency and they manually refresh the quote, it is not an
issue. If somebody builds a more elaborate spreadsheet with dozens of
currencies and they want live refreshes and recalculation of their
entire spreadsheet then a C or C++ solution may be better for them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/
iQIcBAEBCAAGBQJSkLh9AAoJEOm1uwJp1aqDsjkP+weWVBKH8feE0SKbYLnfz+OZ
RpJEI0k7UGDB/t1ae7gz9EhgwVCjvnHBlk3BJYEMXI66OsVEBuy2hp94y3WJcoW4
gyL4uG2Sry33+/p7EQ7BruKdmYp/6Q2qSQgtO9cwvOmynVvNPNUcZp5B7O7OBrrl
xq13E14q+CNG6RXqWj1xk87dV1auHlTI8MfNixWQEpcXaLuLbIMl/3mtmRG82gKo
uSOvIjkgFZpFjfOwgGtjZvyDXQ9tUVokS0mCpu+ijqYUfReKcKv0QhtA6bojmibn
XS9G3sV5Dz0TO/tHh9n3xRe3JrEnKcp+TlP3SYiFzkMxEdxYZ6nXsTrJLvReK3iQ
VQzkFBRccJ0RS/WlO+nKlBKfsb6MGoTk7vZDpHvWsURwjxAnkB1fWSlYY+NT7i7C
M1eoP/05+nWIquGYxxt4lUBPEWSy7ZK82IZe/CU9bCSC02U2+zZvWDSz4ocGi/1o
8v1uit/+yTlf9oAf/roFYC73M7OKQp04Y1YE7CxmVEHTSQ5tq59QEJeX0kmwJU1A
0IrkdKsEeIjoo950jCY6DplocHxULry8ECPLvwqRJCZgBA+442qJp/NE0NmNjlOn
Zj81Gy64IxTvWgYivt3c+CUWISzvwlczp3T7twNf8H8hkJM/j/zj7mLkedXS4oa3
mSqI0REUzVcOTWNkT0tF
=ul7m
-----END PGP SIGNATURE-----
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.