Sunday, December 30, 2007

Vacation in progress ;-)

I just ended 2/3 of my 3 weeks vacation :-)
2 weeks of total laziness when you may read books, play with different programs [or as in my case try to internationalize OOo2GD and add some new features to it ;-)] and rest makes you curious how it is with vacations in other countries.
I read article about it on Wikipedia (Vacation on wiki), and I must admit, I'm happy to live in European Union country :-)
During reading of this article I was most confused by the fact that in USA law does not require employers to grant any vacation or holidays to employees.... It's really suxx.
I prefer 26 days of paid vacation, public health care, public and obligatory retirement program rather then cheep gas... [for those who read it and live outside Poland 1 liter of gas costs between 4.2-4.5 PLN, this is 1.15-1.25 Euro or 1.7-1.8 USD [it's 6.45-6.93 USD per gallon, but most of our cars use 5-6 liters per 100 km, and it's about 0.03 gallon per mile]]
OK, calm down ;-) [it was my left biased part ;-)]
As I wrote at begin of this post ;-) I'm after 2 weeks of 3 weeks vacation ;-) I thought that I spent this time more productive, but I prefer to rest ;-)
I think my plans about watching Buffy and Angel on DVD must wait till I will back to work and to Cracow ;-) work helps in organize day plan ;-)


Similar postsbeta
What sux in G1?
2016...
It's alive... still ;-)
Borders, immigrants and so on
Why it isn't working???

Wednesday, December 26, 2007

Complains ;-)

I must say it!

Internationalization of software in NetBeans is a nightmare, the same with refactoring....

In Eclipse it's easy. You simply mark string, refactor it to constant or externalize it, but not in NetBeans... Here you must use COPY-PAST method, add ", delete it and so on.

But in NetBeans developing of AddOn's for OpenOffice.org is much easier ;-) So I don't like it, but I use it ;-)


Similar postsbeta
My dream - to create JVM in Java :-)
Delete your Facebook account!
Blah... ugly API ;-)
People doesn't read...
Whiteboard

Wednesday, December 19, 2007

OpenOffice.org2GoogleDocs 0.6.5

New version of my AddOn for OpenOffice.org is available :-)



Changes in this version:
  • for now is possible to upload files with dots in name :-)
  • small additional changes in source code
  • small piece of auto-promotion ;-)

    Version 0.6.5

    Project Page


    Similar postsbeta
    OpenOffice.org2GoogleDocs 0.7.1
    OpenOffice.org2GoogleDocs 0.8.1 - fixes :-)
    OpenOffice.org2GoogleDocs 0.7
    OpenOffice.org2GoogleDocs 0.9.5
    OpenOffice.org2GoogleDocs and Apple - first try ;-)
  • New issue to Google Docs API to vote for :-)

    I wrote here some time ago about issue with updating files in Google Docs, for now I want to ask for voting (by click on star on issue page) for another one issue.
    This issue is connected with uploading of ODS files, it worked but doesn't work now, and because of this OOo2GD isn't able to upload ODS files.
    So please go to issue page and star it :-)


    Similar postsbeta
    OOo2GD help site
    Asus EEE 900
    Not sa ugly API ;-)
    OpenOffice.org2GoogleDocs 0.7.1
    Mac OS users - call for help :-)

    Saturday, December 15, 2007

    Why it isn't working???

    I got some reports from users of my OOo2GD extension. It looks that under Linux, and from this what I may see mainly under Ubuntu, Google Docs menu doesn't appear after installation of OOo2GD.
    In most of those systems helps resolution #1 from Known Issues published on project wiki. Also version 0.5 looks to work without problems.

    From this what I know only two files may be connected with this problem, first is Addons.xcu [file with description of extension, this is a place where OpenOffice.org looks to check what should put into menu, where to search code and which applications from pack should see this extension], second is one of classes called GDocs [it's first class loaded by OpenOffice.org, and in this class is coded dispatcher called by OpenOffice where it tries to show menu of extension, and when user use menu items of extension].

    Problem is that those two files are almost identical between version 0.5 and 0.6.
    In 0.6 I added to Addons.xcu line for narrowing set of applications in pack where AddOn should be visible. In GDocs I simply made small refactoring by moving direct using of literals to using of constants.........

    I made small experiment and copied Addons.xcu from version 0.5 to 0.6, but problem still occurs on my Ubuntu........ It looks that I must search harder :-)

    [why I wrote this? In my first company [Aksel or AKSEL-NET] we used to wrote monthly reports, it was boring and rather ineffective but sometimes it helps me to find solution of some problems, so I wrote it here to organize my thoughts :-)]


    Similar postsbeta
    Vacation in progress ;-)
    Early access version of OOo2GD 1.7.0 with partial MacOS support
    OpenOffice.org2GoogleDocs and Apple - first try ;-)
    OOo2GD 2.1.1 is ready :-)
    Which language is fastest? ;-)

    Wednesday, December 12, 2007

    Tuesday, December 11, 2007

    Correlation between traffic and time spent at work ;-)



    This chart should show my work hours, starting from first part of 2003 with 8 hours, finishing now with 9 ;-) But those 9 hours are not a result of workoholism, but rather communication issues ;-) First issue is a parking, it is out of free space after 9:15, so I need be earlier, second issue is traffic. Today I tried to leave my work at 17:30, and this wasn't easy, I needed to wait for 5-10 minutes to leave Buma, next 5 minutes takes way to leave Wadowicka. Map below should show this:


    View Larger Map

    If I leave my work at 18:30 or 19:00 roads are empty, and I'm not nervous ;-)

    This provide us to conclusion that first rule of good productivity is to have small parking with city with big traffic ;-)


    Similar postsbeta
    It seems that meditation helps ;-)
    Watch to watch... ;-)
    Chrome2Chrome - lets move browser tabs between computers ;-)
    Really first snow ;-)
    It's alive... still ;-)

    Sunday, December 9, 2007

    Buffy and Angel on DVD in Poland :-)

    At last :-)
    After 10 years of waiting we got it :-)
    First seasons of Buffy the Vampire Slayer and Angel on DVD.






    With polish subtitles and polish sound. Of course translation for Angel is so awful, that better is not using it ;-)
    I bought both sets and I'm watching :-)
    I think also that if it will be possible I will buy full 7 seasons of BtVS in one set :-)

    And for now I should start to prepare for my journey to Cracow ;-) Good think is that after this week I will start my 3 weeks vacations :-)


    Similar postsbeta
    Vacation in progress ;-)
    Watch to watch... ;-)
    It's alive... still ;-)
    2016...
    Roomba friendly furniture...

    Blah... ugly API ;-)

    By last days I tried to add to my AddOn for OpenOffice.org functionality for updating existing documents....
    In theory it should be easy and be done by code like this:

    String editLink = newDocument.getEditLink().getHref();
    DocumentListEntry uploaded = service.updateMedia(new URL(editLink),newDocument);


    But it doesn't work :-(
    Instead of this I got error message like this:
    Bad Request
    Entry ID does not match the request header: 'document%3ApartOfID_AndSecondPart' vs. '/documents/private/full/document%3ApartOfID_AndSecondPart'

    Ugly API, ugly.... ;-)


    Similar postsbeta
    Not sa ugly API ;-)
    Yeah... It's snowing... again....
    How many i 1+1 in Java? ;-)
    OpenOffice.org2GoogleDocs 1.4.1
    New issue to Google Docs API to vote for :-)

    Tuesday, December 4, 2007

    Magic Toaster ;-)

    Today at work I finished my little project called Magic Toaster ;-) [OK, I was only person who call this in this way, and this project closed itself in less then 5 methods ;-)]
    Main idea behind this was to regenerate malformed SQLs to proper form. It was mainly for Oracle DB, which is very strict when gets SQLs. Many other databases are more liberal, and i.e. situation when after OREDER BY we use some columns not selected in SELECT is proper, but not for ORACLE...
    Maybe it's because Oracle try to use relations algebra to made changes of SQLs? How I understand if we will translate queries to relations we may try to compare two queries and decide if those queries will select exactly the same data... This is only my guess... if Oracle is so strict without any cause... it's strange.... :-)


    Similar postsbeta
    Download your document in choosen format from Google Docs with OOo2GD 1.8.0 :-)
    Coursera courses - worth of doing?
    How to detect clickbaits?
    Borders, immigrants and so on
    CallLoger ;-) Invigilate yourself ;-)