Wednesday, November 18, 2009

OOo2GD in Ubuntu 9.10 - it's working.

OK, from premiere of Ubuntu 9.10 I got by e-mail and other ways info that some of OOo2GD users aren't able to use OOo2GD on Ubuntu 9.10.
I tested it, and here is a result [OOo2GD with OpenOffice.org 3.1 on Ubuntu 9.10 rc 4 in VMPlayer in Windows 7]:



All what I needed to do to get it was to use command:

apt-get install openoffice.org


Which command downloaded and installed OpenOffice.org 3.1 with Java.

Next, I went to page http://extensions.services.openoffice.org/project/ooo2gd where I downloaded OOo2GD in version 1.9.0, next I installed it with Extension Manger from OO.org.

So guys, if OOo2GD doesn't work in your Ubuntu 9.10........ I'm sorry, but you must have something wrong with your configuration.


Similar postsbeta
Which language is fastest? ;-)
Mac OS users - call for help :-)
Why it isn't working???
Early access version of OOo2GD 1.7.0 with partial MacOS support
OpenOffice.org2GoogleDocs and Apple - first try ;-)

Saturday, November 14, 2009

Which language is fastest? ;-)

Recently I made tests of this which programming language gives quicker code ;-)
Of course it depends from this what this code should to do.
So I choose thing which I'm writing almost always in new [new for me] language :-)

I wrote it even during my first session, over green screen [on RS232 connection] when I was first time connected to HP-UX on my University server ;-) [or maybe not??? I'm not sure now ;-)]

This thing is simple numerical integration of function f(x)=e-x2 in range (-10,10> [when calculated form minus infinity to plus infinity result is equals to square root from Pi :-), I was really impressed when my professor showed it to us on our lecture from mathematical analysis]. Those calculations are performed in 10000 of steps, and repeated 1000 times for stable result [so we measure time of 1000 iterations from 0 to 9999] and divide result by 1000 to get information about time needed to calculate one iteration.

If you are interested in source codes of programs I wrote for those tests, please use one of those links [those are links to my blog in Polish, but you needn't be afraid ;-) you are interested only in source codes] sources for Java, Python, C, and C# [here you may find ZIP file with some of those programs], sources for JavaScript [here is a simple JavaScript tester, which will display info how long took one full iteration for calculate this numerical integration], and finally sources for Go [here you need to be warned, that this Go program should have changed one line, where math.Exp() is used, it should use math.Pow()].

And results are interesting ;-)

C++ 32bit - 0.985 ms
C++ 64bit - 1.387 ms
JavaScript from Mozilla Firefox 3.5.4 - 1.380 ms
JavaScript from Google Chrome 4.0.223.11 - 2.514 ms
Java 64bit - 3.8 ms
Java 32bit - 4.7 ms
Google Go 32bit - 8.521 (5.68) ms
Python 2.5.2 32bit - 10.3 ms
Python 2.5.4 64bit - 10.16 ms
C# 64bit - 14 ms

All tests except test for Go was performed on my 64 bit Windows 7 laptop with Core 2 Duo processor, Go was tested on virtual Ubuntu 9.10 in VMware Player 3.0 hosted on Windows 7, in case of Go first result [8.521 ms] is a result shown by test program, second result [5.68 ms] was calculated by comparing results of JavaScript from Firefox on Windows 7 and in this virtual Ubuntu 9.10.
C++ code was compiled with Visual C++ 2008 Express Edition [for 64 bits I used compiler from Windows 7 SDK, here instruction how to make Visual C++ 2008 Express Edition to use it :-)]

The biggest surprise for me was really poor result of C#, and superb result of JavaScript in FireFox :-) I still don't know why JS was so fast :-) [interesting thing also is this that FireFox JavaScript was here faster than Google Chrome JavaScript ;-)}
Result of Go wasn't so surprising, now after the premiere of this language we can here only praises, but its still experimental thing, and I used 32 bit version of compiler which isn't the best ;-) [I must also admit that after my first experience with Go I don't like it and I hope this one Google project will die].

I think that good advice after this test is ;-) If you need to write some very quick code use C++, if it must be fast but needn't to be extremal fast - use Java, and newer use C# ;-)


Similar postsbeta
Calculation of SSD life time in EEE PC
Recursion is evil ;-)
Sources of JPC - x86 emulator in Java
Vacation in progress ;-)
How we may use Google Earth Plugin? :-)

Thursday, November 12, 2009

OOo2GD 1.9.0, let's try to be seamless ;-)

Nothing big today, but rather useful ;-)

First, in configuration window you may find new checkbox, for overwriting files during download.

What's for? Thanks to this you will be able to avoid downloading a lot of files with similar names, example now when you have document called "test" in Google Docs, and you try to download it several times, you will end with file test.odt, test(1).odt, test(2).odt, test(3).odt and so on.

This change will help you in using second change ;-) From now OOo2GD will try to be smart, and when you will want to export file to Google Docs it will try to find in Google Docs item with most similar name, and will set itself to update this item, you can still decide that you want to upload new item.

Last but not least change is try to reuse once obtained information, example you open import window, and use Refresh List button, next you close import window and open it again... now OOo2GD will try to use existing list of documents instead displaying empty list and making you click on refresh list. You can still use Refresh List to refresh it ;-)

Hope you will find those changes useful :-)

You can visit project page, or download newest version :-)


Similar postsbeta
Download your document in choosen format from Google Docs with OOo2GD 1.8.0 :-)
Codename: Stokrotka - next test version of 1.7.0, this time without bug ;-)
OOo2GD 1.5.1 Birthday Edition ;-)
OpenOffice.org2GoogleDocs 1.3 beta 1 - update documents on Google Docs
OOo2GD 1.5.0 - we can download spreadsheets :-)

Sunday, October 25, 2009

OOo2GD 1.8.2

What new?
  • Removed annoying window displayed after upload of file, instead of this you can see "status" of operation in progress window

  • New button Download in Import window, this button let you download file without opening it in OO.org, downloading will be performed with format chosen in selector above.


Fixes:
  • Fixed handling of file names with #, now it should work :-)


As always you may download or visit project page :-)


Similar postsbeta
Download your document in choosen format from Google Docs with OOo2GD 1.8.0 :-)
OOo2GD 1.9.0, let's try to be seamless ;-)
OOo2GD 1.8.1 - 2 fixes
OOo2GD 1.4.2
OpenOffice.org2GoogleDocs 0.9.2

Tuesday, October 6, 2009

OOo2GD 1.8.1 - 2 fixes

First fix is for downloading presentations from Google Docs. It seems that address for downloading presentations was changed and OOo2GD follows this change.
Second is for filtering items seen in import window. Now those items will be filtered to documents, spreadsheets and presentations only.

As always I invite you to download, from OOo2GD page in OpenOffice.org extensions repository [to now it was downloaded almost 177 thousands times :-)] or from project page.


Similar postsbeta
Download your document in choosen format from Google Docs with OOo2GD 1.8.0 :-)
OOo2GD 1.5.0 - we can download spreadsheets :-)
OOo2GD 1.8.2
OOo2GD 1.9.0, let's try to be seamless ;-)
OpenOffice.org2GoogleDocs 0.8 :-)

Saturday, October 3, 2009

Download your document in choosen format from Google Docs with OOo2GD 1.8.0 :-)

Two changes, first is adding support for downloading files from Google Docs in choosen format, this should help to preserve more complicated formating [I think Google Docs is the best in exporting MS Word documents]



You can choose format for spreadsheets and documents, for presentation you are able to select only PPT ;-)
GUI isn't obvious but shouldn't be difficult to understand.

Second change is return of refresh "icon", on button for refreshing list of documents in Upload window.

We have here also some small internal changes, the most significant is change of this how OOo2GD will report itself to Google Docs.

As always I invite you to download, from OOo2GD page in OpenOffice.org extensions repository [to now it was downloaded almost 177 thousands times :-)] or from project page.


Similar postsbeta
OOo2GD 1.8.1 - 2 fixes
OOo2GD 1.9.0, let's try to be seamless ;-)
OpenOffice.org2GoogleDocs 1.3 beta 1 - update documents on Google Docs
OOo2GD 1.5.0 - we can download spreadsheets :-)
Magic Toaster ;-)

Friday, August 14, 2009

OOo2GD 1.7.2

In this version OOo2GD is packed with newest Google Client Libraries.
Thanks to this it increased it size from 1.1 MB to 2.3 MB ;-) but also should work better with Google Docs servers.

Download


Similar postsbeta
OpenOffice.org2GoogleDocs 0.9.2
OpenOffice.org2GoogleDocs 1.4.0
OpenOffice.org2GoogleDocs 0.7.1
OOo2GD 1.4.2
OpenOffice.org2GoogleDocs 1.2.1