Sunday, September 27, 2009
Windows 7
The net result of installing a 64 bits OS is that I have now 2GB free on 4GB. So be happy that the half RAM of your new still idle, unused computer is free...
I must say that I was a bit confused about Microsoft OS naming. 95,XP,2000.. Vista and now 7...
May be, because, ideally you should have 7GB of RAM to get 4 free... or may be because I will have to wait 7 months to get drivers for my HP3550.
I must admit this HP printer was a bad choice, not because it is a bad printer but because some processing is off loaded to the host driver which is then more complicated and basically available much after anything... on board PCL and Postcript printers are much better supported. One remark, it now prints remarkably well from Linux.
Another point: 7 seems to go on the hard disk for no reason every 20 seconds...strange...
So getting the right OS is still not easy. I prefer Windows to get Office - more used but also much more useful than Open-Office. It is good to remind that the common cut & paste is in most case not working between Linux apps.
I like Linux for the OpenERP and development in general. Vista is crap in average, XP becomes outdated and the XP64 bits support is problematic (drivers, apps) ,Windows 7 lacks some drivers.
Using VMWARE is of course an alternative. Although it adds complexity on everything (cut & paste works even less in this case). My idea was to use Windows as a host for my VM. The reason was that I expected to carry this Vaio much more than the previous HP to replace my classical notebook. So the starting time of a session with Office is critical.
Summary for this sunny Sunday: getting it all at work is still not easy !
Friday, September 25, 2009
Printing the hardware config - Saved by MSINFO32
Unfortunately the control panel does not help you doing that.
Thanks to google I found back a utility I haven't use since years - MSINFO32.
Windows VISTA...
Total memory is 3GB (because it is a 32 bits OS). Cached is reported at 1950 MB! And free is reported to 0. The graph for memory shows 1,4 GB.
I don't understand these figures and not matching figure but what I see is that is already consuming everything... That could be a sign of optimization whenI I am using it, but here I have a serious doubt because nothing is installed and running.
Second, I continue to see the hard disk light blinking... for doing what?
So my plan is to get out of Vista on this one too. As a MS partner I have access top the early release of Windows 7. I think this is an opportunity to try it out...
Tuesday, September 22, 2009
Ockham's razor - Joomla - CakePHP - Jake -jQuery
My first idea was to use Jake - http://dev.sypad.com/projects/jake/. This is a generic Joomla component capable of calling a CakePHP application. I remember to have tried it more than a year ago.
Probably something changed in my settinggs (in fact the config - os /PH¨P/ Joomla is entirely different....) all I get is:
"Fatal error: session_start() [function.session-start]: Failed to initialize storage module: user (path: C:\xampp\tmp) in C:\xampp\htdocs\www\DiagTools\cake\libs\session.php on line 553"
I tried tweaking PHP sesson config, checked permissions (actually sessions files are created there). On the net, I found a few posts seeking for support about the same concern but no answer.
I remarked that Jake is still in beta since 2007. I think that's indication of at least future troubles...
A second option was not to integrate them, but to make them similar enough. I found a few posts proposing to recycle Joomla thems into a CakePHP theme so the two components would work side by side. I think this is a poor man integration, my customer will not be able to use the Joomla admin to administer the site or change security settings etc The worst being that I will have to rechange it if we go for another design.
Considering that CakePHP is used only for structuring the application, validating a single basic form and calling a web service (a feature that sits there but that nobody uses), why not getting it out and keep just the jQuery stuff?
So I started this third solution which is creating a fresh Joomla component.
One more time the Joomla community amazed me by its vitality and by the high number of good quality components and plugins available. SC jQuery is a plugin that makes installing jQuery a single click operation. In the confiiguration you may choose the themes for the user interface widget - really cool : http://extensions.joomla.org/extensions/core-enhancements/scripts/7230.
I have not done serious things with jQuery since a while, this theme concept is great and you can see it in action here : http://jqueryui.com/themeroller/.
So at the end of the day I got the kernel of the app running in Joomla. The layout still requires adaptation and I have to simulate the screens built with CakePHP...
Yet I am sure to have done the right choice, removing one technology, avoiding a bridge. This will provide the best integration for the users and the most flexible options for the administrators of the web site.
Monday, September 21, 2009
Back to Joomla - Cake -PHP
Almost a year ago I setup for one customer an application built around JQuery and Cake PHP. A bit later the customer asked for a web site which has been built with Joomla. It would be perfect if the the web site and the application could share the same look and feel. I feel a bit faulty : at that time using Cake was for the simplest way (for me) to structure a small PHP app... but I did not plan anything concerning the web site - at that time his web site was made (by somebody else) with Wordpress - excellent for making a blog but terrible for making a web site...
My first steps today are basically to get back a development environment, the web site, (joomla,db...) the app etc. As usual I use Netbeans, here 6.7 - the PHP support is now stable and official.
Following Netbeans recommendation, I picked XAMPP (http://www.apachefriends.org) to install PHP and MySQL - I am working on my HP XP portable (Paddle).
After having transferred the web site I got an error message in a few modules positions. I then restarted a fresh Joomla install - same result.
Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given in C:\xampp\htdocs\joomla\libraries\joomla\cache\handler\callback.php on line 99
Basically Joomla 1.15.xx is not compatible with PHP 5.30 (which comes with the currently latest XAMPP 1.7.2). So you need to get an older PHP version, thus an older XAMPP. Older release are not on the same site, so you need to go to http://sourceforge.net/projects/xampp/files/ to find what you need. I decided to go for 1.6.8 to be sure to get rid of PHP 5.30. Unfortunately I then hitted another issue with phpMyAdmin the MySQL tool I cannot live without...
Too bad. I did not investigate that one, I de-installed XAMPP again. So I moved to 1.7.1 which installed PHP 5.2.9. Proceeding with dichotomy for finding release that's the job I am in...
It is now working (after a small battle for setting up a user and a password).
The rumor says that this will be fixed with Joomla 1.5.15 to be released soon (october).
One more time, I regret the Java platform. Some so called Agile programmers believe that their productivity decrease because of compile cycles, I am laughing at that. These compile times represent little amounts of time for most programming jobs. For me, the Netbeans background compiler removed this concern entirely.
The key point for the pro-compiler camp is this for me : the semantic analysis is a job for developers not for users. When a code is compiled with Java 1.4 it runs on 1.6 just because the VM are backward compatible at the VM level and in spite the language continues to evolve. Language changes do not impact the compiled and so you can keep your olfd stuff working as designed on a recent platform.
At this stage the two interpreted language that I used exhibited the same poor facilities to handle changes in the language itself : PHP & PYTHON.
So I move back to my stuff and still continue dreaming of the perfect environment for my job...
Sunday, September 20, 2009
Creating a startup script for svnserve on Ubuntu - init.d/skeleton
Installing svnserve (subversion) is easy thanks to synaptic - the package manager. The only missing piece is the startup script.
I first though porting the Suse script to Ubuntu. Not that simple.
I found the following link explaining how to proceed chttp://benrobb.com/2007/01/15/howto-start-subversion-at-boot-on-ubuntu/
Basiscally the start is creating a one line script and putting the correct link to rcX.d directories (sudo update-rc.d svnserve defaults).
One user 'Sean O' helped a bit further. Thanks to him I know about the skeleton script in init.d.
This is the starting point for building a correct script. I modified shortly the script by adapting properly the variables such as :
PATH=/usr/sbin:/usr/bin:/sbin:/bin
DESC="Description of the service"
NAME=svnserve
DAEMON=/usr/bin/$NAME
DAEMON_ARGS="-d -r /home/svn"
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
USERNAME=svn
I added the USERNAME variable. It is referenced in the script like this
start-stop-daemon --start --quiet --chuid $USERNAME --make-pidfile --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS
This will now start the process under the svn account instead of root. The key is the command start-stop-daemon. Anyway I need a good book of practicall syadmin for Ubuntu...
Wednesday, September 16, 2009
Register your Vaio - Advanced lesson about ergonomy
My policy for buying computers remains to find the best I can, on stock, for a fixed (in advance) budget. This Sony Vaio CS31 was well under 800€ for 4GB of RAM - 320 GB of HD. So basically 4 and 3 times bigger than the HP I bought a year ago.
For the first time I decided to downsize my screen. I started years ago with a Toshiba 12" (not sure anymore) then Compaq 14", next Fujitsu 15" and finally the HP 17".
The ratio changed with the HP. This is a nice screen but not that portable anymore... Also I bought a compact video projector so the big screen is much less needed.
Netbooks (Asus ee pc) are still not for me. May be one day. The screens are too small to work -- at least for programming, the horse power too weak and the autonomy still not good enough.
So here is the Vaio. I usually give our computers a name from comics heroes. The HP was 'Paddle' (Kid Paddle). I will name the new one Batman because of its glossy black piano like surface (to avoid as you see immediately fingers traces on it).
Sony encourages you (via a popup) to register your computer online -- an easy and supposingly no time consuming task...
Once clicked, the desktop icon (your desktop is filled with adware) your IE opens and brings you to the registration page. The easy process now prompts you for a 2 parts serial number.
As usual, all these numbers are on the back of he computer. Putting a secondary serial number sticker near the screen is too much for one of the biggest electronic manufacturer of the planet (its full of stickers but none of them is relevant) .
All the ergonomic, usability lessons are now forgotten as you move up your portable to see what's written under it... without disconnecting your network cable... if you can (no wifi in my office which is an cave). Of course there are multiple numbers. Which one is the one?
Don't imagine anybody thinking: let's write this is the 'serial number'. You dream. Why not use the web instead? Isn’t that more modern?
On the web a link is there - how to find the serial number... great (still I would prefer not having to ask) then a secondary window opens with a link to 'how to find a serial number... cool. One more click and there, finally I learned that the serial number can be recognized because it is a serie of 17 digits separated with '-'.
Practically speaking you can recognize it as it is made with the smallest typeface one can use to print a sticker -- so keep up your portable with one hand and use the other one to bring your magnifier close enough to read the sticker...
Desperately, I learned on the same web page that there is another way to get this number:
reboot (so loose your registration data),
press F2 enter the Bios config and ... it is there.
Great idea but why a giant such as Sony has not designed a small Active-X control to read this and make the registration easy that's a sign computer are still not designed to make every day user life easier...
After a couple of trials I finally entered the serial number.
The interactive web site, gives you the option to answer a small survey. But as the computer is damned fresh I decided that I could not say anything smart, so I skipped the survey. May be I should review this after all - just to see if they question customers about the registration process...
I then clicked to the Vaio club finally reaching home… huh a familiar 404 error page fired by Tomcat... I gave up, happy to know that I can expect now two years full of services.
Monday, September 14, 2009
Oracle & SUN - Marketing
I remember once an analyst explained why Next failled - because the hardware was black. Time changes (I just bought a black Sony Vaio) ...
More worrying to me is the absence of direction for Java itself. Java 7 seems to be a pack of non features (closure), long time sleeping stuff (Swing app framework) and self competing material (modularity - OSGI like).
Marketing tricks cannot do anything against lack of vision and I fear for Java and its community...
Friday, September 11, 2009
Tribute to Alan Turing
The way this significant contributor to the victory in Europe during the second war has been treated by because of laws persecuting homosexuals remains appealing. It seems the consequences of the hitlerian ideology were not that clear even for the democracies at that time...
Turing is one of the father of computer sciences. Its theory of calculability is based on an finite state machine automaton with infinite memory capability.
This last concept has been largely implemented by Microsoft OS but only in the ability to use it...
Thursday, September 10, 2009
Open ERP - Training module demo - concepts
Of course this is not 100% finished but it is becoming workable. My customer was seriously pleased by the flexibility of the application. Automating administrative communications to participants and automating invoicing is a key decision factor.
Still the product is missing functionality for planning... I expected that remark and hope that can be worked out soon.
Summarizing this kind of application is difficult. Although I did a demo - 3-4 hours. I wanted to have a one page summary of the key concepts of the module.
Trying to connect entities quickly turned out into a spaghetti plate... so I removed most of the links and just defined major areas of the application to group concepts together.

Mind-mapping software usually promote the vision of a tree, from central to auxiliary concepts, in such situation such a diagram becomes impossible. I will come back in a few weeks to this as I am preparing my review of "Everything is Miscellaneous" from David Weinberger. Simple hierarchical modeling and classification are subjects to many pages in the book. I hope to add a software developer, database designer, knowledge worker perspective on these subjects as I found this book interesting but highly frustrating...
Tuesday, September 08, 2009
Open ERP plugins - Open source business model - does it work or not
Integrating e-mails in the ERP makes sense for the CRM part. Reporting etc with Excel makes also sense...
I like to insist that these plug-ins are commonly demonstrated and advertised by Tiny. This is my number one source of frustration...
However searching for them on their web site... nearly nothing - nada - rien !
Finally I found using Google : http://openobject.com/wiki/index.php/Open_Report:Others_Plugins
Well, that page leads to pages that do not exist.
However a hint is given. These have been developed by Axelor - www.axelor.com. Axelor is the developer of the web client of Open ERP. A nice piece of software, their web site however is the paradise of the 404 error.
Here there is no indication of a way to buy or download these plug-ins. the Open ERP forum is filled with messages of people searching the addons software.
With the common reply message from the moderator, pointing to the 404 page of Axelor...
So, I sent an-email to Axelor asking information about these plugins.
Beyond the practical aspect, I see here a major difficulty for the Open ERP model.
The open source approach has a lot of positive aspects however in some cases it prevents the development of finished affordable products.
- Suppliers are waitting for the customer willing to pay some functionnality.
- Customers are waitting in the hope somebody else will pay for them.
Between the virtuous open world of cooperation and the static 'je te tiens tu me tiens par la barbichette' -(sorry I don't know the name of that kids game in english - the first one to laugh loose the point... ). The gap is really small. This is attested in my opinion by the small amount (1 project) of modules developed under the concept of shared funding by Tiny.
On that subject I regret that Open ERP is not following the path of the Joomla community where small extensions are available at a very affordable price...
May be is this because the Joomla plug-in model requires less integration or may be because the user base is bigger, may be simply said Joomla users are so happy to find a solution for their web sites for a few dollars that they don't spend time argumenting on the price or the open-source, free aspect.
Anyway I am waiting for Chris Anderson 'Free' its new book about free business models with attention and some scepticism... Because there is nothing free like a free lunch !
Friday, September 04, 2009
python - version selection - easy_install
Finally, I found out the basic trick to use easy_install (so called Python setup tools) and to point it to the right python install.
Well : simply call the script with the right python version !
sudo python2.5 /usr/bin/easy_install -f http://files.turbogears.org/ "TurboGears==1.0.8"
easy_install -f http://files.turbogears.org/ "TurboGears==1.x.y"
Yes!
D599,372 - idiot stupid patent of the day or proof of concept ?
So please avoid the 1 logo, 1 text area 1 button, couple of links design... THIS IS PATENTED !
I think we should say thanks to Google. Yes THANKS. They did great by providing us one of the best example of how much the patents concepts is screwed and does not apply properly in the digital ages...
As I am writing 'http://patft.uspto.gov/' is welcoming you with a "Maximum number of users has been reached". Probably nuts like me searching for this patent description...
Tuesday, September 01, 2009
Open ERP Business intelligence - what -where -when ?
Using bzr branch you can get the following from launchpad:
- lp:~openerp-commiter/openobject-addons/trunk-extra-addons
- lp:~openerp/openobject-bi/client-new-trunk
Browsing the sample cube is not working :
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 242, in dispatch
result = LocalService(service_name)(method, *params)
File "/usr/lib/python2.5/site-packages/openerp-server/netsvc.py", line 73, in __call__
return getattr(self, method)(*params)
File "/usr/lib/python2.5/site-packages/openerp-server/service/web_services.py", line 583, in execute
res = service.execute(db, uid, object, method, *args)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 59, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/python2.5/site-packages/openerp-server/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/python2.5/site-packages/openerp-server/addons/olap/olap.py", line 282, in request
mdx = mdx_parser.parse(request)
File "/usr/lib/python2.5/site-packages/openerp-server/addons/olap/cube/mdx_parser.py", line 163, in parse
return self.mdx_query().parseString(query)[0]
File "/usr/lib/python2.5/site-packages/pyparsing-1.5.0-py2.5.egg/pyparsing.py", line 1048, in parseString
instring = instring.expandtabs()
AttributeError: 'NoneType' object has no attribute 'expandtabs'
Also installation with the standard web client is also not working (404 error) :
404 Not Found
The path '/browser' was not found.
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/_cperror.py", line 227, in __call__
raise self
NotFound: (404, "The path '/browser' was not found.")
I find all this conflicting with the optimistic 5.0 release description : "
"a statistics engine (BI cube)" in http://fptiny.blogspot.com/2009/02/open-erp-v5-is-out.html.
Obviously, I cannot complain for non-working code on a non-released product.
However I thing I could expect to get the level of functionality demonstrated on their videos...
Also I find that the numerous projects and branches on launchpad are forming a complicated maze...
So that's it for Business Intelligence as of today.
Friday, August 28, 2009
Open ERP - Training centers solution
Any companies active in training or conferencing could benefit of it once it is finished -which is far from being the case I must say.
On the mind map you can see more or less the scope of the modules. You first design you library of courses with potentially sub-courses.

Offers represent your commercial offering. For example you could decide to market only course A with course B. Or may be sell them separately and propose a discount on a package of both. A session is basically an instance of an offer with dates -> seances.
The document management is used for support materials and can be associated to products - probably to order from print shops.
There is a trainers management but with minimal functionnality concerning skills and knowledge management.
It seems the modules will be strong at ordering management, managing external resources and cost computations.
I had no time to look at the portal functionality at this stage. Of course there are dash boards and reports... But I could not make a quotation -- too buggy !
Beyond the fact it is not working completely at this time, I see two major concerns:
- planning is dramatically embryonic - no way to enter planning of availabilities trainers, locations) and very basic seance scheduling. So it will not help building your schedule.
- the other point is the integration with the rest of the application. From the offer you may link to a product while in my mind a training is a product... The consequence is that the standard Open EPR workflows for offering etc do not apply. So selling a classical product and a training will probably not easy to implement in the system... Potentially one could work around this by creating one product per offer, but I think it is too much admin work.
Wednesday, August 26, 2009
DOCLink for DOCMan on Joomla
DOCman is ideal for small corporate web sites, loading brochures, manuals etc But watch out to the size limit (php settings) set by your hoster !
Strangely the menu system enables only to point to a category in the tree - not a document leaf.
What my customer wanted - which is basic I must admit was a simple way to make links from an article to some content in the DOCMan tree. I though I could find the URL of each individual document and create the links manually. I did not succeed - well there is no easy way to find the id of the items.
Finally I found an extension that adds an button on the defaut editor - TinyMCE -and that helps finding the right resourcee and link it. Really easy.

My only regret is that it is not standard and I searched for it during at least one hour...
Also the tip for the day don't forget to go to Extensions/Plugin manager, locate DOCLink and enable it then the button will show up ev ery time you edit an article (rows of buttons under the text area).
Monday, August 24, 2009
Open ERP on Ubuntu 9.04 - HL7
At this stage Open ERP does not install easily on Ubuntu 9.04. That's because the repository does not include all the packages needed to make it running on the default Python 2.6. The solution in the attach link is to install Python 2.5 then ensure that the Open ERP server will run on 2.5 :
http://opensourceconsultant.wordpress.com/2009/06/17/installation-of-openerp-server-5-0-openerp-gtk-client-5-0-and-openerp-web-client-5-0-1-on-ubuntu-server-9-0-4/
So I continue testing and prepare demo systems...
Today I subscribed to HL7.org. This organization edits a messaging standard to interconnect IT system in the context of an hospital network. We plan to develop an interface to our home-made medical files application so we would grab administrative data from the hospital servers...
Monday, August 17, 2009
OpenERP - Not always so easy on Wiindows ? Login and SQL permission
The point is: it works on Linux install but not on Windows. I am wondering why and investigating. I think the All in One install is not the latest code... Not sure yet.
Because each DB/Install becomes quickly different as modules are installed. I tried to backup the failing DB on Windows then restoring it on my Linux machine.
Sound simple... but it failed immediately... with a message popup "Couldn't backup database" .
I then stopped the Windows service and started the service in its command box -- a trick I recommend to everybody as you will see a good quantity of messages to debug your install... The exe is : openerp-server.exe
There, I could see that the server is prompting for a password!
This is the password used by Application server to connect to the Postgres database. By default the user is 'openpg' and password 'openpgpwd'. Once the password is entered the DB backup is executed in a few seconds.
Here is what you see when attempting to backup a DB from the Open ERP client:
432 user=openpg password=xxxxxxxxx dbname=template1', closed: 0>
Password: openpgpwd
Practically for my Open EPR that's it.
Looking at many applications, this single user scheme is frequent and may raise some questions. DBMS provide complicated authentication and validation schemes and application designers spend their time to shortcut these...
But don't think I am blaming the application deigners, they are just facing difficult time with inappropriate DBMS technology. Mapping one application user to one DBMS user is a pain:
- Most application want to connect to the DB to get application config that sits in the DB before asking a username to the user.
- Optimization like connection pooling are better implemented with one common user.
- There is no concept of SQL inpersonnifcation - (e.g Windows run as / Unix sudo).
- Security scheme is nice in DBMS but usually not enough for applications that are not expressed as stored procedure.
- Implementing permission on Business app is often driven by the data - e.g: cannot touch invoice of another office - that are difficult to implement at the DBMS level. So applicaitons developpers prefer a scheme that work for all permission issues.
- Error code and messages returned by DBMS are not easily map to business concept.
- Any more ?? Probably.
I see there two approaches to improve things (on the long run):
- Removing all this permission crap in DBMS that is not that much used (and that very often creates installations problems)
- Merging completely the application server with a DBMS. So that application code can benefit from DBMS permissioning.
However I know that the trends on the market is to add things and not to remove any. So I doubt somebody will remove the useless things (with the probably correct argument that may be somewhere somebody is using this feature).
The second option would hit the current market conception about generally accepted software layers. Again too bad for me. But remark that these layers in software do not correspond to a business scheme but to the IT sofwtare market structure...
I admit that there is little market pressure for such changes... so I will return to my OpenERP stuff.
Friday, August 14, 2009
Seriously back to OpenERP - duplicated entries on attendance log & timesheet
We need accounting, invoicing, HR (vacations, expenses, attendance), time-sheets, CRM (including help-desk / sales contact management),outlook integration, document management.
Having installed hr_timesheet_sheet (what a name for a module), there is an entry
"[Human Resources] > Timesheets > My Timesheets > Current Timesheet" (the entry between [] corresponds to the main menu of the application - ctrl-t). The key functionnality that I am seeking is there: every user can sign-in and sign-out to indicate attendance (my colleagues will not like it) and enter activities that are linked to analytic entries (projects).
As ususual I am the ideal tester meaning that quickly things go wrong. Each time I clicked (sign-in) and then (sign-out) I got two entries per click in my attendance log ! The net result was a single day with -26 hours of missing attendance !
I found quickly the reason. Timesheets are related to employees and sign-in and out to users. As I used the demo data, one user 'Fabien' was already defined and linked to the user Admin and as I configured myself as an employee two employees where configured with the same login...
To clean-up the wrong difference number, I used the garbage icon and removed the incorrect lines on the attendance log. Next of course I removed the link between 'Fabien' and 'Admin'.

Summary for the timesheet (data configuration)
Employee -- link to -> User (so sign-in / sign-out) can work
Employee -- link to -> Product -> Will give standard cost / sales price
Analytic account for the project -- linkto -> Link to Partner and Link to Price list -> Automate invoicing from time-sheet.
Process for the timesheet
User login sign-in sign-out -- record attendance log.
Timesheet record --> record work done on project.
Finance user goes to [Project Management] > Financial projet management > Invoicing
Timesheets have states : draft (employee confirm) --> confirmed -- (manager validate) --> validated.
Approval is done [Human resource] > My department's timesheet > My department's timesheet to validate.
Other resource -- see Setting up a serice company http://openobject.com/forum/topic11018.html
Remaining questions
Why is there a general account on timesheet. In fact the timesheet are recorded in the general account... I think it is more an internal architecture quirck - analytic accounts are normaly linked to general account...
I have no easy way to invoice my confirmed timesheets. I can see uninvoiced entries but the status is not indicated. As I wanted to change the view using the web cleint but then I hitted https://bugs.launchpad.net/openobject-addons/+bug/376172.
Patents war
A couple of days ago, headlines were that Microsoft patented word processing XML usage then a few days later, the news are 'Microsoft to stop shipping Word' as there are claims that they abuse a patent about document architecture and content manipulation.
For a lot of people, the patents system is viewed as a romantic ingredient. The poor, lonely, genius, self-made inventor protects it is dramatic contribution to humanity, changing our life for better... finally becomes rich and save children from the street etc etc...
Unfortunately patent is everything but this romance.
It is interesting to read these two patents, at least shortly or may be just the title.
Word-processing document stored in a single XML file that may be manipulated by applications that understand XML.
"Method and system for manipulating the architecture and the content of a document separately from each other".
Both patents share the same bad patents pattern applied to software:
an attempt to present as a new invention a common practice of people in the field.
Separating content and structure is basically every day task of software developers and XML has been designed so different applications can exchange data.
How these patents claim innovation is also similar:
the combination of two existing recognized principles is supposed to be an innovation. Translated in the common world - take 'car' and 'wheel' - these are not patentable (although I heard somebody patented the wheel in Australia years ago) but spare wheel in a car could be an innovation...
The key issue with this way of seeing innovation is that it's in fact strictly prohibiting software development. Indeed most software development is about combining /assembling / adapting existing solutions (algorithms / components/ technologies) to fit a specified request.
The next meta patent could be 'solving requests by combining existing solutions'. That would patent the entire software industry... and may be the entire universe (at least business) !
In Europe, software patents do not exist (yet - there is intense lobbying on that point - they are not accepted)- although the European patent office sometimes accepts one in an attempt to extend it's business. Only software patents that have some relation with a physical device (the classical example is the ABS brakes system) are acceptable.
This European way of doing exclude most of the abuses of the American system. But...
Looking at the ABS system we can see that what is important is not the software but the logic of releasing brakes to optimize their effect. So the ABS could be patented without the mention of software at all ! Note that good car drivers knew since years that brakes blocking resulted in control loss...
So my conclusion is that the European system does does not help people protecting their software / algorithmic invention (new algorithms / new ways of digital processing / new methods of problem solving).
Business method (as we have seen for e-commerce) should not be patentable specially when they are simple translation of everyday concepts into software.
I cannot imagine a good patent system without a very strict definition of innovation. But what is innovation is a philosophical issues - I mean : subject to lengthy discussions.
May be after all the loop is closed and we should not have patents at all thus letting people, companies and the market deciding based on products qualities, usefulness and services... But that's look like jungle life - again it is not romance.
Tuesday, August 11, 2009
VMWARE acquired SpringSource
The only understandable synergy at this stage is the Hyperic applications monitoring (that SpringSource acquired recently). VMWARE is eager to be a key player in vitual infrastructure - so called cloud. That makes sense. But what will do VMWARE with all this Java stuff?
I am a bit concerned about the future of the Spring container (and Groovy and Grails).
http://www.vmware.com/company/news/releases/springsource.html
Thursday, July 23, 2009
Time for summer holidays
I finished my first Tony Buzan book. This was a bit general - the french title 'une tête bien faite', I think the original title is 'use your head', the book goes over fast reading, memory and mind-mappings (a subject I like more and more).
There is a lot to say about these subjects and Tony Buzan has written books dedicated to each of them -- I will continue investigating.
Following Tony Buzan recommendations, mind-maps should be graphical (including graphic but also being smartly shaped) and coloured. It is a shame that all software tools that I have see currently are implementing very regular organisation pattern and don't promote that much colors and graphics. Anyway, I recommend you this book.
On the Open ERP front line, I finished a small doc concerning Initial Analysis - see previous post and what to prepare to have good, constructive interviews sessions with business processes owners. Tiny provided me three mind-maps. A good start but I will try to develop mine for the next project...
I have done a bit of testing with Python, but I had not time to finish my test software - submitting HTML forms to a Joomla web site. Hm that will be for August I guess...
Finally I am taking with me 'Everything is Miscellaneous' - ' The power of the new digital disorder' from David Weinberger. Social aspects of the web is fascinating and I hope to work more on it later this year...
So I hope to come back rested and a bit smarter - what a plan !
Friday, July 17, 2009
Open ERP - Methodology - Project layout
The idea is basically to perform a a first analysis and then provide the customer with a fixed budget. The purpose of this initial analysis is not to get all details but to list identify business activities.
Wednesday, July 15, 2009
Note taking - mind mapping Python & Open ERP
FreeMind has a simple interface, you create nodes by pressing the return or insert keys. This is fast to create a tree structure of your ideas and in my case keep track of my progress. Navigation is globally more confortable than with a linear text.
Unfortunately the tool is not perfect.
For example as I learned Python, I wanted to keep track of code snipsets that are for me the most valuable source of information for remembering an aspect of a programming language. It is annoying not being able to specify a title and hide the body of the note - I am getting too big block of text, the work around is to create one node for the title and one for the code...
Another aspect is text formating which is applied to the entire node - no way to say that this word should be in bold/red (for example to separate visually the code from my comments).
Another issue is that FreeMind supports text but not graphic. I should say not that much. You can insert pictures but it is a pain and there is no way to diagram easily within the map and the Windows clipboard is not supported - that would save my life, helping me to work with Snagit (Snapshot taking) for example.
The interface is also sometimes driving me nuts. For example when you want to apply a function of the toolbar, the current selection is lost when you move over something else... watch out!
As I followed the Open ERP course I regretted not having used my PC to take notes. The problem remains which tool to use... FreeMind is nice but probably too basic in many aspects...
I will finish on a positive mention for the export, I can export my maps to HTML with Javascript. This makes my notes very accessible and easy to browse. Let's hope they will enrich it a bit so it can be of more general usage.
I will post my maps later on (I still don't know how...)
Friday, July 10, 2009
First steps with Python support in Netbeans 6.7
Install Netbeans 6.7 (in my case the bundled JDK did not installed, so I had to install the JDK speartely) then in the list of plugins install the Python module.
http://www.netbeans.org/kb/docs/python/temperature-converter.html
The install will bring you Jython as a first Python platform. I will keep that for further study. I then installed the Cpython 2.6. Restarted the Netbeans platform and to my great surprise Tools/Python plaftorms auto detected the new Pyhton install !
I created a project, but there, a problem occured when trying to debug. The message was a bit hard to decode. I saw file names truncated (under Windows, the default projects directory is under 'Documents and settings'. I changed the location to avoid spaces (something I always remind around me - don't put space in file names) and it works (I mean I can debug a 2 lines long Python program.
Open ERP - https://code.launchpad.net/openobject-addons
https://code.launchpad.net/openobject-addons
So if you think a branch is interesting for you - using bzr on Linux is:
bzr branch lp:~openobject-training/openobject-addons/extra
I know this basic stuff for many people, but for me it is a lot to learn and discover
Thursday, July 09, 2009
Open ERP - startup up issue on Linux / Ubuntu
INFO:dbpool:Connecting to template1
[2009-07-09 15:48:45,096] ERROR:dbpool:Unable to connect to template1: FATAL: Ident authentication failed for user "chanon".
Means you cannot connect to Postgres for security reason. Under Ubuntu, it may be worth trying " sudo -u postgres python openerp-server.py". So you start as the postgres user (will require the super user password).
Open ERP bugs etc on Launchpad
I was a bit puzzled, searching for open issues on Open ERP on launchpad. Well it seems everything is packed under the openobject project.
- Bug Tracker : https://bugs.launchpad.net/openobject
- Ideas Tracker : https://blueprints.launchpad.net/openobject
- FAQ Manager : https://answers.launchpad.net/openobject
Wednesday, July 08, 2009
Google announces Google Chrome OS
http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html.
The two first products made a lot of sense to me having a more application oriented browser is a necessity for a Web application fabric and mobile Web business requires smart phones and if you don't want to have the Apple and Microsoft business plans in the midle of your road...
But here, I have a doubt. Most of the Linux Netbooks are returned, exchanged or simply not used... because they lack Microsoft Office and a few handy apps.
Wait and see...
Saturday, June 27, 2009
What's up OpenERP training - Drupal Camp at Louvain-La-Neuve
Giving a course on such extended and modular product is difficult (so I pardon them) and I am thinking about developing my own training program/material/solution. You can expect more on this blog about Open ERP. I am not saying it is perfect but it is really an excellent product for managing small to medium size companies in a very large number of sectors - services, manufacturing, distribution... Still I regret the Python stuff but I must admit there is no such product in Java.
This morning there was a DrupalCamp near my location. Not that much people but it was a first attempt to organize such an event in the french speaking part of Belgium . I think they could have attracted more people just by sending the conferences program more in advance -- 2 days is very short.
I attended a few sessions - top 25 modules (interesting). A presentation about government/administration usage of Drupal (see for example http://premier.belgium.be/fr). Per say, nothing exciting except a sentence from this civil servant who think that government should provide as much data to citizens so they can build mash-up and invent services. It remains the question on how do that... micro-formats (e.g ical, vcal), rdf and rdfa - http://www.w3.org/TR/xhtml-rdfa-primer/ are part of the solution - at least a start. I will call that pragmatic semantic web... as a foundation for digital democracy.
The last session I attended was about building Web 2.0 apps with Drupal. Not excellent mostly because they tried to show an evolving usage case, not in line with the announced title and not fittting the one hour format.
Thursday, June 18, 2009
Replacing my old mobile 5140i
So I decided to replace this Nokia. Obviously I started by looking at Nokia so I don't have to re-learn the software...
Is it worth an article? I think so. First the Nokia catalog is very, very,very large, the time they had a few models (when I bought my first model a 2110, I think there was only one) is gone.
Choosing between them is exceptionnaly difficult and if not enough complicated Nokia put you in the middle of the list, models that are not yet available.
Second surprise, you can search the catalog, only if you have Flash. I think this is a ridiculous usage of Flash. No problem to require it for illustration, video, animations, but why for searching ? Ajax stuff would do much better with less requirements.
Next, the list of criteria is very incomplete. I know I am a mobile dinosaur, but I don't care that much about RDS Radio, MP3 etc. I want outdoor/robut/water resistent, loudspeaker, USB interface and if possible Bluetooh. Well none of my criteria are in. I think they need a serious update. Specially that recent model basically have most of it...
Finally the most missing info is... PRICE ! What a hell is this. For each mobile I had to google searching an online vendor &@"%!
All of that to realize that there is nothing like an outdoor water resistent phone. So they give up, you may have everthing at Nokia but a simple solid robut phone !
So done for Nokia. I remembered having seen a similar phone from Samsung. I found in fact two models B2100 and B2700. The web site is nice but does not tell (sell) you that much.
So google again and I found http://www.gsmarena.com/samsung_b2700-review-279.php. This is a very well done web site. I must say I have been impressed by this mobile, falling and falling, squezed by car and finishing under water in a sink. That's my phone !
So I moved to the biggest mobile phone shop of my area (Cartronics). There, basically you can find any model on the market. Unfortunately, there are so many phones on the market that I could not find an exact explantion of the differences between a few Samsung models.
More important, the vendor ignored what USB was and (after explanation) though bluetooh is sufficient (still not current on a desktop / corporate machine). This is specially strange as this phone is showing a micro-USB connector which is becoming a standard and could become 'the' standard for power loading... Its explanations about sync where not convincing - telling me this was only very basic... But as written before I don't need much more. So I decided to buy one two see (thinking buying a second with a different color for my wife later).
I was then passed to antoher vendor who had the kindness to open the box. There, surprise - a cd with software (good) ... and the USB cable (very very good). So this was definitively picked as my new outdoor phone....
Twitter - future - if any ?
Anyway sending small messages has an interest, but why should it be on a different service than a 'normal' blog. Of course the short format help reading on mobile access, does it means we will have two separate cyber world a short and a large (screen oriented). Does it mean the apparition of a kind of Novlang posting as for the sms (most of them being non sense in my opinion). I think there is a need for micro-blogging to converge with other tool.
Also the twitter business model fall short.
I am not alone to think about it : http://www.webguild.org/2009/06/twitter-will-be-obsolete-in-a-year.php
Friday, June 05, 2009
JavaFx 1.2 is out
"The JavaFX 1.2 SDK release is not binary compatible with the JavaFX 1.1 SDK. This means that your application and all libraries that it depends on must be recompiled with the JavaFX 1.2 SDK."
Things like that, happens. But this confirm my opinion that SUN push out this product (as they did for Java) without finishing it.
My humble advise: wait for JavaFx 3.0 - if it exists.
Otherwise it seems to move to the right direction -- but at senator speed -- they now support text controls (hard to call it an innovation) and seems to support Linux (not sure what it means in this context).
There are obviously many other changes. Mostly in the graphical area, so they seems to continue competing with Flash...
What has not changed however is a clarification about why one would really desire using it.
http://java.sun.com/javafx/1.2
Thursday, June 04, 2009
Spring for Python - Yes they can !
By the way, my OpenERP on my Ubuntu is fine. I will go through Python tutorial (I bought already two book in french, but I found them not that good) and build a first development environnment.
Sunday, May 31, 2009
Back to Ubuntu - Installed OpenERP
1- performance. This thing is slow, slow, slow. My previous Suse 9.2 on a Pentium 4 was fine but with OpenSuse 11.1 it is strictly unusable.
2 - in spite of various attempts. I cannot get a config capable of NFS mounting from my SLES server at boot time.
3 - the repository is not complete as far Python is concerned. Annoying as I am digging into OpenERP a python based software.
So I moved to Ubuntu (8.1). Performance is great, may be faster than my old suse. Server admin : I miss Yast. But I put webmin using the debian package. So far so good.
I installed today OpenERP 5.0.1. Really easy cool setup. I must say my first opinion on Python is relatively negative. I don't link the syntax, the idea of significant indentations repulsed me... But as my coworker remarked, this will at least push me to indent my code (I do - but I am more a vertical developper than an horizontal one :-).
Also I am sure I will regret Java independance and the fact that good python extension are typically written using C or C++. Not talking about my Netbeans ide, my be-loved spring stuff...
However I admit the resulting app in this case is great !
Among the advantage of Python the designer of the app said to me that data structures changes are more simply implemented via python. I can agree. With a typicall Java ORM (JPA or Hibernate), any changes in the DB will turn into endless changes into the code base. So this is not new 'religion' to me, but I will sure look how OpenERP is built and why try to find why this ERP shine while all the Java based products miss elementary functionnalities and are pain in the a.. to setup and use.
Tuesday, May 26, 2009
Python 2.6 - OpenERP openSuse 11.1
The editor provides good documentation for installing the sofwtare. Example are given for Ubuntu. The apt-get commands solves dependencies issues and Ubuntu install was painless. But I am now with my openSuse distro.
I tried getting apt-get for openSuse and use zypper (the equivalent of apt-get for openSuse). Unfortunately some dependencies cannot be solved.
As usual wrong rumor circulates, one being that OpenERP does not work with Python 2.6. I checked yesteday with the editor. Not correct it works with Pythpn 2.6.
The problem is simply that the openSuse repositories are not complete and do not contain all the need libraries.
Monday, May 25, 2009
What about the Java Store annoucement ?
So here is my comment on "Why the Java Store has Gotten a Luke Warm Reception" on Dzone":
Unfortunately,I have to agree. Sun has a long track record of late half delivering higly expected promised technologies. I think their marketing decided years ago not to listen to customers and developpers and prefers announcing products they would like instead of those developped by their engineers. I really like Java but I profoundly regret that this platform is unable to deliver boxed/publicly available polished products which is basically what the so called Java stored should be aimed at. So this will be the most powerful empty store on the Internet.
Ps: the orginal blog announcing the Java store.
Sunday, May 24, 2009
Args - My NFS proble solved
Giving up with Ubuntu for now - looking at OpenSuse
Linuxers may explain you that Linux solves install dependencies issues - dll hell. Unfortunately that's wrong. One day, you will find the need to install software requiring something requiring a more recent kernel. Is it possible to get around it? May be, may be not. For the common Linux user (I don't want to recompile others stuff) the only path is to upgrade the entire OS and rebuild you complete stuff.
I did a try with Ubuntu desktop. Nice install and a good looking desktop with easy config. Synaptic package manager is great. The shell apt-get is great to install software in a matter of minute. I found it promising...
However I decided to go for OpenSuse. Why? Simply said, the separation between so called Desktop / Server is pure marketing vision - at least in the Linux world. What if you have a desktop and want to organize your mind with a wiki? What if you are a Web developper.What if you want a database etc Well it is all server stuff. So this separation is artificial and unworkable.
Ubuntu server exists but unfortunately they haven't done for server the great work they did for Desktop - I mean a good administration front-end. So every piece of software will require you to dig in to file based condigs without help.
So I started to regret Suse (I used Suse 9.2 and Sles 10.x) and Yast (equivalent to Windows control panel) which does an honorable job at configuring everything on your system.
It almost worked fine... Install is friendly as Ubuntu and the desktop is the same - I took Gnome as it seems to be defacto standard (in the past I preferred KDE but since their version 4 big bang they are loosing support I think).
Performance is not that great. Bloating is not only a MS Windows problem. Moving from Suse 9.x to 11.x seems to be the same performance loss as you move from XP to Vista...
Well it worked fine... until I tried to install extra packages - Python libs. Since then (is it related ? It is still strange to me, but it is the only thing I did with it...) I cannot mount my NFS share with my fresh desktop anymore (it worked, yes it worked for almost a day and now, it is gone). Mysterious ! And I don't see what's wrong with this NFS share.
Why do I need Python? Well, it will be for a coming article.
Friday, May 22, 2009
OpenSuse - selecting your default Java version
Btw this is the first time I see the OpenJDK installed by default.
Wednesday, May 20, 2009
Log4j xml config for a telnet server
So here is mine :
<appender name="telnetd" class="org.apache.log4j.net.TelnetAppender">
<param name="port" value="3002"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-4r [%t] %-5p %c %x - %m%n" />
</layout>
</appender>
Friday, May 15, 2009
Trying to buy from Novell
One more ckick and... but... it is not that much updated (although they advertise 11 on their front-page). Isn't that their top enterprise platform?
Great, so you can still order your SLES 10 Media. Thanks !
Luckily, there is a feedback link. "Help us improve our web site". It is needed indeed, I want to help again...

Tuesday, May 12, 2009
ORM - good or bad ?
What I am sure is that most of the problem they solve should not be solved. For example database independence. That's important just because vendors don't care about standards. Who cares about SQL:2003 - not talking 2008. So we add one extra layer just to hide the absence of standardization. One may argue that's common to most standards. Well may be but I think here it not that justified.
Any way, I find very unpleasing to see so little integration of tools. Again Java stuff, is not providing common sense solution to every day solutions. Why do we have to research and go through a painful learning curve for achieving something pretty easy with VB.
So lets continue searching... agility, elegance, flexibility, power, openness and productivity !
Monday, May 11, 2009
Netbeans & Spring - refactoring not easy as it should be
Too bad and now hours of checking ahead !
Wednesday, May 06, 2009
SpringSource support pricing - nothing free - like free lunch?
Obviously, the company has to get revenues from something but it is good to remember that some free stuff can finally cost more than their commercial equivalent products.
Also some comments of the article about the source repository and the possibility to get fixes without a support contract are relatively pertinent.
I say relatively because my experience is that even with subscription and support contracts, small companies have difficulties to get their problem recognized by some vendors.
My feeling however is that SpringSource plays the classical commercial Java game - meaning the pricing is not clearly displayed and replaced by "contact sales".
Again this is complicated for small companies and makes comparison very difficult. So watch before to take a technical decision and don't forget that the relation with the vendor also matters.
Tuesday, May 05, 2009
SpringSource acquires Hyperic
SpringSource is kind of safest (specially considering the uncertain Oracle-SUN strategy), efficient way of doing lean good Java apps. I think its business model should be studied in depth. All their products are pure open source. Great documentation is provided (good affordable documentation is a key for community acceptance). So training, conference and expertise is their single financing at this stage. It is funny to see how SUN could never build a decent software service stream of revenues while alternate vendors did...
I hope they wille give it a shot in the RIA dance. Or do we have to consider that BlazeDS (Flex intergation) is their way to RIA ?
Monday, May 04, 2009
Wings - RIA - creation in Java or XML based language
"Popular frameworks like Sun JSF and Apache Struts rely on a heavy mix of different technologies like Java, JSP, XML & Tag libs. This implies that the association between the different media have to be maintained manually to be always in sync. Errors between these assoication implies bad suprises during runtime while pure Java-based frameworks like Wings can leverage of the compilers consistency checks."
I agree. Most XML based stuff are deferring checks at runtime. By the way this is my single regret with the Spring container and IOC. Fortunately the Spring container parses and validates the XML directive up-front when the application context is created so most errors can be easily checked at start-up.
Wings
It becomes more and more complicated to choose one :-) Seriously I think this storm of gui frameworks is a clear indication of an issue. Java lacks a clear path for building confortable interface (dummy HTML is not good for real application building).
Sunday, May 03, 2009
Apache Pivot - What is it ?
It is a completely new GUI toolkit / framework built on top of Java2D. So it is not Swing, nor native browser controls.
This puts it in my opinion in the category of LRTW software (Lets Reinvent The Wheels). As mentioned in my first post, rendition is far from perfect.
The provided elements are good for layouts and containers but lack for me a good rich text editor - I think to get Java really on the desktop and shining for little businesses we need a programmable Java written office suite.
The interface can be built in Java or using an XML Based language: WTKX. May be this is more comfortable for some designers... Event handling plumbing seems to be in Java only - there is an empty scripting section in the tutorial so may be there are possibilities to declare event handler.
Pivot also includes utilities for data-binding (the stuff we miss in Java since years and you could find in VB or Delphi since day 0) and JSON (data exchange over HTTP), internationalization is also covered (I did not check it).
So my first opinion: this seems to be an open Java based Flex a like solution.
Unfortunately the deployment of the Java plugin is not comparable to Flash and the rendition if far from what you would get with native controls -e.g with Ajax or GWT.
Event being handled locally, so Pivot falls short compared to for example ZK / Echo and I think Canoo. In the demo I could not see an example with multiple windows / MDI like interface.
The tutorial is still incomplete. My statement : good open source = good documentation (potentially charge it but please write it if you want to gain quick acceptance).
What's more I could not find an indication of which problems Pivot is supposed to solve.
At this stage I cannot imagine to use it for anything. The project is currently 'incubated'. Except if the project can jump very quickly in term of quality and server based event handling, I don't think it will make long run.
Saturday, May 02, 2009
Apache Pivot
I cannot elaborate more at this time. But Swing is a conceptually nice, complicated and frequently disappointing. Java applications suffer very often of poor renditions problems ?
In fact Pivot is not Swing based (it may looks like Swing for developpers) but is built on Java2D. But I am already sure that it exhibits similar behaviors...
Friday, May 01, 2009
ROO ? From SpringSource
My statement : right to the point. Good design, good documentation absolutely non obstructive, this makes programmers productive, designs elegant and solutions flexible...
This is the perfect example of how much innovation in the Java landscape is powered more by third parties than by the official JCP/JSR and owner of the language (SUN - now Oracle).
SpringSource also acquired the company behind Groovy and Grails. Nice language and probably easier to learn than Ruby On Rails (for a Java programmer) and with I think a much better (in fact perfect) integration with Java.
Well it seems that SpringSource continues its walk to ease programmer productivity with a project called 'ROO'. The name is not definitive it seems to be centered around Maven and provide command lines wizard to assemble application. Release is expected for July 2009. Wait and see.
Thursday, April 30, 2009
Adding Velocity tools to a velocity context
So here is mine:
org.apache.velocity.tools.generic.EscapeTool escTool = new org.apache.velocity.tools.generic.EscapeTool();
velocityContext.put("esc",escTool);
you can then call in your templates $esc.html($text_to_be_escaped)
I hope it helps
http://velocity.apache.org
Tuesday, April 28, 2009
MySQL Limit - how to simulate with Microsoft SQL Server 2005
In MySQL the limit added to the select helps verymuch retrieving a block of rows then the next one for the next page etc
What about MS Sqlserver ? You may start with TOP (takes the first rows) or set rowlimit.
But how to start at a given row ?
I found a few desperately incorrect proposals for this (but at least one pointed me to the ranking functions) , here is my best shot:
"with ordtab as (select p_users_id , ROW_NUMBER() OVER (order by p_users_id) as rownumber from ph_users) select * from ordtab where rownumber >= 10 and rownumber <= 20"
Will give you the equivalement of limit 10,20.
The solution is based on what is in the Microsoft manual, too bad we don't have time to read that much manuals, however it is still much less elegant than the MySQL attribute (which is right to the point)...
Tuesday, April 21, 2009
Apache Pivot
http://java.dzone.com/announcements/pivot-11
Also the link to Pivot (not that much doc, so better read the Dzone article before).
Monday, April 20, 2009
GlassFish
It is too early to make good prediction. Some analyst see here a thread to Microsoft (I don't think so) others think that Oracle will drop the hardware line, few think they will valorize the software line (I don't think so either).
Wait and see. In my readings, there is however a consensus... not good for open source...I agree.
Orcale & Sun - applications to disk ?
"The acquisition of Sun transforms the IT industry, combining best-in-class enterprise software and mission-critical computing systems. Oracle will be the only company that can engineer an integrated system – applications to disk – where all the pieces fit and work together so customers do not have to do it themselves. Our customers benefit as their systems integration costs go down while system performance, reliability and security go up."
Like it or not, clearly that's a vision. The One of a monolithic vendor...
Oracle to acquire SUN
Is it good or bad ? I never though to such a deal. So this is my humble reactions on very hot news.
Oracle will now become a kind of new IBM, concentrating hardware and software. Not sure that's indicating a sign toward openess...
Today, I received one mail from Sun : "Need more scalability for your MySQL application". With the key message being : we own it and we know better how to run it on our boxes ! Hm, if we extend this to the new portfolio, not sure that's so pleasant for all other hardware vendors proposing Oracle software...
What for Java? I don't think Oracle did very great contributions to the community, however I must admit that they are great at charging for anything (the main difference with Sun) . Will Java continue to be free ? Oracle is used to charge developer tools. Time to check the NetBeans licenses and ownership ?
And what about MySQL? Oracle is buying its single open source competitor. Isn't that a monopoly ? Will innovation continue on this DB Engine? It is funny to see Sun being acquired while they just finished building their application stack... oh bad is live when all you did is good but too late...
My last thinking. Sun managed Java poorly but on the other side this commercial weakness has been sustaining a relatively open ecosystem. Now with Oracle and IBM face to face, the major Java love triangle is over and the fight is almost guaranteed. I am betting on competition by so called innovation that will result in incompatibilities... Not good.
With Java and Lamp (MySQL) at stake, the winner might be... Microsoft !
Sunday, April 19, 2009
Download Sless 11 - Novell organisation at its best
After a (somehow slightly complicated) password recovery I could finally start downloading my ISO images.
Great Novell sent me an e-mail "Thank you for trying SUSE Linux Enterprise Server 10 from Novell."
Cool ,they forgot the mention concerning Netware 2.15 !
My point, e-business is not more complicated than business - but not less...
Friday, April 17, 2009
About Java, market, technology and attitude
http://broadcast.oreilly.com/2009/04/an-up-and-down-week-for-java.html
The article highlights the relation between Sun open/not so open behavior and its current market situation. Also, I agree entirely on the desperate JavaFX approach.
Would buying Sun be good to IBM ? If stock continues to drop, probably. Would it be good for Java: I think yes. IBM has been a fair player in the open-source community since several year and is good to listen to market and make money with services.
Yesterday, I saw a smart and interesting article "Meet Sun Software Engineering Manager Masood Mortazavi, Part 2: Java DB, Project Models, and More".
This is plenty of smart thinking, and I am sure Sun is full of these very talented people. Considering the situation, I will pardon the self-congratulating style of the article. However I was damned shocked by the following paragraph :
"SC: What are the biggest issues that companies have getting the most out of Java technology-based applications?
Mortazavi: I would point to problems related to a mishmash of technologies, the lack of ability to select properly, and a relative increase in nonstandard, de-facto programming platforms."
Well. I cannot agree. First, what is the sense of choosing and "open" solution to stick to a single vendor ?
Second, Sun pushed developers to these so called 'mishmash' by regularly delivering technologies not matching business expectations. Remember the first releases without JDBC, crappy AWT, poor Swing performance, have you saw there was no reporting solutions built-in, still no clean integration with desktop under Windows... In fact, Java has been saved by these 'mismatch' like (to cite a few) Eclipse, Tomcat, Spring, Hibernate,JasperReports, Struts etc
We must understand that a lot of mishmashers just tried to fill the gaps... and they continue and continue. Why is Sun then endorsing Ruby , Groovy... Why are web applications more often built with PHP than Java...
I will one more quote this article "Don't forget that billions of dollars of revenue have been generated and millions of people have been employed because someone at Sun Microsystems invented Java,..."
That's correct, but I am sure we could have done much more money if Sun started to listen more to the market and the developers needs. The Java platform remains a very attractive but not so productive platform with a difficult learning stage (again the mentioned article is worth reading). Look at how much shrink wrapped software are written in Java... How much solutions for small business... well we missed a lot of business opportunities because of blind smart people...
Thursday, April 16, 2009
UltraLigt Client - Canoo
I will surely put this on in my list : http://www.canoo.com
This is a pure Java toolkit/framework. Client side runs as normal Java app (including web start) or as an applet. All the logic (event handling) is on the server.
An interesting compromise I think.
Wednesday, April 15, 2009
JavaFX ... Sun did it again
Ideally we would like to leverage or Java knowledge (we did a lot with Java but little WEB/GUI stuff).
The idea of being able to deploy within a browser or outside is of course appealing.
So I had a look at JavaFX.
I quickly spotted the next link… http://blogs.sun.com/tor/entry/javafx_text_component . Waouw the next generation bablabla will not use text right now ! Cool ! “Forget about any business apps” for now could be on the web site banner. Know a business database apps without a single text edit?
So announcing so much, and providing so little, that reminds me how Java itself was launched (without proper GUI, no database API, even writing a file was an issue). Yes they did it again.
This is not only a technical exasperation, I cannot catch this strange blind marketing attitude !
Java is relatively standard for business software but the client side has to rely on a crappy mix of HTML/JavaScript to look a bit more responsive and stay easy to deploy?
Wouldn’t it be smart from SUN to capitalize on this market needs instead of trying to compete with Adobe Flash with an under capable product?
The latest Java runtime is much less deployed than Flash, the platform seems less capable and imply learning from scratch a new (said to be easy to learn) language.
Why would Flash developers move to this FX stuff ?
Why would Java developers move to this FX stuff ?
Well no clear replies and at this stage I give up on that one…
Sunday, May 04, 2008
Zoho
There are also business apps coming: CRM and invoicing. The business model is not advertising or marketing based (I applause), basic usage is free while heavy / professional usage may be charged.
Globally it is a nice set of tools. In my opinion the tag-based filling system is interesting, yet it is difficult to see all type of document related to let say a project or a customer. Also I could not find an easy way to include a spread-sheet in a text - except may be like an HTML iframe. I admit, I am a novice user of their system.
A much more strategic issue is concerning technical integration and freedom. We miss a global model and a good bunch of standards to rent applications from multiple vendors and mix them to achieve an IT system.
Having said that, the worth part is in the terms and conditions. Well, read and think about it... Prices may change, free things may become costy and no warranty is made about your data, availability of services etc.
This is in my opinion, a key problem of this kind of business (the following it is not specifically related to Zoho). We have here an emerging industry rejecting most forms of liability, warranty and responsibility!
Obviously a remote ASP cannot guarantee that my ISP will do its job, but aren't they responsible if they garbage my data? Or may be should they think about charging for such extra-liability. Obviously the bottom line is made by insurance companies, only these can help creating professional ASP a reality. The model should be similar to life insurance and air transportation: a basic fee built in your ticket and more can be purchased if the customer wants to do so.
As I wait for that, I would recommend these services to implement at least a clean backup system (some ISP propose this for databases), so a user can retrieve all its data in a somehow common format.






