IRC logs of #tryton for Tuesday, 2011-03-15

chat.freenode.net #tryton log beginning Tue Mar 15 00:00:01 CET 2011
2011-03-15 05:18 -!- yangoon(~mathiasb@p549F383C.dip.t-dialin.net) has joined #tryton
2011-03-15 05:24 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-03-15 05:27 -!- sharoon(~sharoon@c-75-74-203-208.hsd1.fl.comcast.net) has joined #tryton
2011-03-15 05:27 -!- sharoon(~sharoon@c-75-74-203-208.hsd1.fl.comcast.net) has joined #tryton
2011-03-15 06:14 -!- silverfox1971(~sysadmin0@office.delfi2000.ru) has joined #tryton
2011-03-15 07:04 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-03-15 07:24 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-03-15 07:47 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton
2011-03-15 08:08 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-03-15 08:19 -!- trifon(~trifon@p548C51C7.dip.t-dialin.net) has joined #tryton
2011-03-15 08:19 -!- blast_hardcheese(~blast_har@dsl092-043-124.lax1.dsl.speakeasy.net) has joined #tryton
2011-03-15 08:24 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-03-15 08:29 -!- paepke(~paepke@pD9544A2D.dip0.t-ipconnect.de) has joined #tryton
2011-03-15 08:57 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2011-03-15 09:44 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-03-15 09:46 -!- nicoe(~nicoe@62.58.29.41) has joined #tryton
2011-03-15 09:52 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-03-15 10:52 -!- ikks_(~ikks@190.158.112.203) has joined #tryton
2011-03-15 11:04 -!- silverfox1971(~sysadmin0@office.delfi2000.ru) has left #tryton
2011-03-15 11:17 -!- lem0na(~lem0na@95.87.233.210) has joined #tryton
2011-03-15 13:08 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-03-15 13:34 -!- sharoon(~sharoon@host-208-68-232-101.biznesshosting.net) has joined #tryton
2011-03-15 13:34 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-03-15 14:16 -!- yagami_i(~yagami_i@FL1-119-244-163-208.okn.mesh.ad.jp) has joined #tryton
2011-03-15 14:16 <yagami_i> Anybody home?
2011-03-15 14:21 <yagami_i> I'm looking to see if there is any movement on developing a web client for Tryton or not. I'm not familiar with Google Code so I might just be missing something here.
2011-03-15 14:31 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-03-15 14:34 -!- trifon_(~trifon@p548C662A.dip.t-dialin.net) has joined #tryton
2011-03-15 14:39 -!- paepke(~paepke@pD9545E7B.dip.t-dialin.net) has joined #tryton
2011-03-15 14:51 -!- elbenfreund(~elbenfreu@p54B94513.dip.t-dialin.net) has joined #tryton
2011-03-15 14:53 <cedk> yagami_i: for now, it is in standby
2011-03-15 14:54 <cedk> yagami_i: but I think sharoon is thinking about continuing it
2011-03-15 14:59 <yagami_i> Do you know what platform it is being developed in? As in, what languages and toolkits? (Javascript + Python or PHP or an Apache servelet in C++ or...?)
2011-03-15 15:00 <yagami_i> I'm very interested in it because it will solve problems for us. Ultimately, it could solve problems that would expand revenue, and allow me to toss some concrete resources at Tryton.
2011-03-15 15:01 <cedk> yagami_i: I started the project with GWT
2011-03-15 15:02 <cedk> yagami_i: it is Java code compiled into Javascript
2011-03-15 15:02 <yagami_i> As in Google Web Toolkit?
2011-03-15 15:02 <cedk> yagami_i: GWT = Google Web Toolkit
2011-03-15 15:02 <yagami_i> oic
2011-03-15 15:03 <nicoe> ACTION wonders what is oic
2011-03-15 15:03 <yagami_i> Well, I'm not a big Google fan (sort of old school) but if the platform is easy to develop on, I might dust off my Javanese...
2011-03-15 15:04 <cedk> yagami_i: code it there http://www.b2ck.com/~ced/hg/sao/
2011-03-15 15:14 <yagami_i> Whoa! Its an object declaration party! I'll need to review some APIs after reading through this. Thanks for the link.
2011-03-15 15:15 <cedk> yagami_i: the code becomes to be a little bit old but it should still work on 1.6
2011-03-15 15:15 <cedk> yagami_i: it is Java ;-)
2011-03-15 15:15 <nicoe> yagami_i: This is Java. Good luck.
2011-03-15 15:18 <yagami_i> I need to read a bit about GWT and see how it works. Does it perform well on OpenJDK as well? Just curious... there are some religious disputes within my company going on about Oracle vs Freedom, etc. (?)
2011-03-15 15:19 <cedk> yagami_i: it doesn't run any JVM :-)
2011-03-15 15:19 <cedk> yagami_i: the java code is transformed into javascript
2011-03-15 15:19 <yagami_i> By the GWT itself?
2011-03-15 15:19 <cedk> yagami_i: and it is only the webbrowser that is running the code
2011-03-15 15:20 <yagami_i> Does the Java turn into Javascript at the time the page loads on the client side?
2011-03-15 15:20 <cedk> yagami_i: the transformation is done by GWT (using a JVM of course) but it is only compilation (so only for devs)
2011-03-15 15:20 <yagami_i> Ah..
2011-03-15 15:20 <yagami_i> got it
2011-03-15 15:20 <cedk> yagami_i: no every thing pre-compiled
2011-03-15 15:20 <cedk> yagami_i: and served as static javascript pages
2011-03-15 15:20 <cedk> yagami_i: by the HTTP server of trytond
2011-03-15 15:21 <yagami_i> Does trytond have its own http server or does it need Apache?
2011-03-15 15:21 <yagami_i> Or, another way of asking, is it possible to integrate tryton with Apache or something like Drupal?
2011-03-15 15:21 <cedk> yagami_i: it has his own bundled HTTP server (comes from Python)
2011-03-15 15:22 <cedk> yagami_i: but for large deployment I will suggest to put it behind a *real* HTTP server like lighttpd
2011-03-15 15:22 <nicoe> You could use xml-rpc calls from drupal to connect to trytond
2011-03-15 15:22 <yagami_i> That is sort of the question I was going to ask. Thanks, nicoe.
2011-03-15 15:23 <cedk> yagami_i: the current webclient design is to not generate html page on the fly but to comminucate with JSON-RPC directly to the trytond server
2011-03-15 15:26 <yagami_i> The license is like everything else from Tryton, right? Truly GPL compliant?
2011-03-15 15:26 <cedk> yagami_i: you can look at http://code.google.com/p/tryton/wiki/TrytonDjango for Django integration
2011-03-15 15:26 <cedk> yagami_i: GPLv3+
2011-03-15 15:26 <yagami_i> The reason I'm asking is because the reason my company isn't developing on OpenERP right now is because of all the hidden caveats to the GPL they inserted.
2011-03-15 15:27 <cedk> yagami_i: I don't understand
2011-03-15 15:28 <cedk> yagami_i: is it about the MPL clause of OE webclient ?
2011-03-15 15:30 <yagami_i> Yes.
2011-03-15 15:30 <cedk> yagami_i: nothing like that in Tryton
2011-03-15 15:30 <yagami_i> Clients in non-European places don't care who OpenERP is if they can't speak English or German or Dutch, etc.
2011-03-15 15:31 <yagami_i> The company was going to contribute resources to development but instead just decided to go with the old tried and true model -- and bought another really expensive SAP license.
2011-03-15 15:31 <yagami_i> I'm looking for an alternative that is similar but not anti-FOSS... and Tryton looks like a good answer.
2011-03-15 15:32 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-03-15 15:32 <yagami_i> The only problem is the short-term need for a web client.
2011-03-15 15:32 <yagami_i> Current client needs to be able to access ERP from any device, Linux, Mac, Android, Windows, etc. so the web client was a big deal.
2011-03-15 15:33 <yagami_i> If a workable alternative can evolve for Tryton by the next project, I want to pitch it really hard at work.
2011-03-15 15:34 <yagami_i> That way we won't be losing all that effort every new project that goes through with custom closed-source SAP designs.
2011-03-15 15:35 <yagami_i> Its not like the clients themselves are prepared to customize *any* ERP system with zero experience, so doing open source work is not a threat to the industry at all -- it just makes life way easier for everyone.
2011-03-15 15:37 <cedk> yagami_i: Linux, Mac and Windows are already supported by the GTK client
2011-03-15 15:38 <cedk> yagami_i: and it is possible to write simple website like explain in the wiki
2011-03-15 15:38 <yagami_i> How about Android? And... how difficult is it to deploy on iPhone?
2011-03-15 15:39 <cedk> yagami_i: I think you don't need all the functionnality on those devices ?
2011-03-15 15:40 -!- sharoon(~sharoon@host-208-68-232-101.biznesshosting.net) has joined #tryton
2011-03-15 15:40 <yagami_i> The client runs a construction business, and on their actual sites during client evaluation sessions they need to make project management adjustments.
2011-03-15 15:40 <sharoon> cedk: ping
2011-03-15 15:40 <yagami_i> Some of them have iPhone and some are moving to Android
2011-03-15 15:40 <yagami_i> So they may.
2011-03-15 15:40 <sharoon> cedk: my IRC client is playing up
2011-03-15 15:41 <cedk> yagami_i: what is project management adjustments?
2011-03-15 15:41 <cedk> yagami_i: is a calendar enough?
2011-03-15 15:41 <yagami_i> Not quite, because cost is associated with time in construction (a *lot* of cost)
2011-03-15 15:41 <cedk> sharoon: yagami_i is looking for a webclient, I said you are/will perhaps working on it
2011-03-15 15:42 <yagami_i> So... they want product categories tied to project man-hours -- this way they can use existing modules to make construction projects reflect estimated cost automatically.
2011-03-15 15:42 <sharoon> cedk: yep, I am also keen to work on the webclient, but not sure i want to wander in the java world ;)
2011-03-15 15:42 <cedk> yagami_i: and you think they can do that with a phone ?
2011-03-15 15:42 <yagami_i> When they adjust the project timeline, or just one specific element of a project (like, say a customer wants to change a floor from carpet to tile, which takes more time, different materials and therefore more money) they want it to reflect in the ERP system automatically.
2011-03-15 15:43 <yagami_i> Currently they have three systems working serpately: an accounting system, a project management system (VERY similar to what openobject does, but not linked to anything -- and very old Windows 98/XP code) and a paper scheduling system.
2011-03-15 15:44 <yagami_i> So on site they have a spreadsheet on their iPad or iPhone (over thr web on Google docs or something) that they adjust to reflect the adjusted timeline for project components.
2011-03-15 15:44 <yagami_i> This then has to be manually entered later into the project system.
2011-03-15 15:44 <yagami_i> That system makes new numbers that appear on the paper project notebook prinouts the next day.
2011-03-15 15:45 <yagami_i> Those numbers then have to make their way to the estimator so he can manually enter them, and to the accountant so he can manually enter them after review.
2011-03-15 15:46 <yagami_i> It is a big waste of time for the company. A waste of time that can be avoided if the project management is handled inside an ERP system like Tryton. It shoudl be possible for the calendar, costs and bill of materials to all be updated by the project manager on site through his computer, iPad or, in this case, phone.
2011-03-15 15:47 <yagami_i> So yes, properly implemented, an ERP system will allow a project manager on a construction site who has wireless access through his iPhone to make project estimate and scheduling adjustments through his phone.
2011-03-15 15:48 <yagami_i> And this is what the client wants, by the end.
2011-03-15 15:48 <cedk> yagami_i: ok, so it seems you need specific edition from webclient
2011-03-15 15:48 <sharoon> cedk: are you planning to continue the development on GWT ?
2011-03-15 15:49 <cedk> yagami_i: it could be done by a website written with the technology you want to will use trytond as backend for storage
2011-03-15 15:49 <cedk> sharoon: not for now
2011-03-15 15:49 <cedk> sharoon: but later, I think it is the right way
2011-03-15 15:49 <sharoon> cedk: would you mind if I experiment with a JS framework rather than GWT?
2011-03-15 15:49 <cedk> yagami_i: so it seems you don't need to have a full functional webclient
2011-03-15 15:50 <cedk> yagami_i: but just the edition of the project timeline
2011-03-15 15:50 <yagami_i> That is all we would need. A standards-compliant browser page allowing us access to Tryton's backend would make Tryton the platform of choice from now on.
2011-03-15 15:51 <cedk> yagami_i: you can ask to sharoon he does a website that display invoices
2011-03-15 15:51 <yagami_i> I'm not sure. If I train a user to perform tasks through his browser on his PC in the office, then he doesn't need any additional training when he goes to the field.
2011-03-15 15:51 <cedk> sharoon: have you some more link then the wiki page about the integration of the openlabs website?
2011-03-15 15:51 <sharoon> yagami_i: a tutorial (bit outdated ) is there in the tryton wiki
2011-03-15 15:52 <yagami_i> If I teach a user to use the GTK client, then I also have to teach him the differences to using the project module in isolation while in the field through the browser.
2011-03-15 15:53 <yagami_i> I'll give the wiki a solid read through and see how difficult this would be to implement.
2011-03-15 15:53 <sharoon> yagami_i: if you are targeting mobile devices and reading what your requirements are you might need to develop a custom web app with tryton backend, reusing same authentication and frontend using sencha touch or jquery mobile
2011-03-15 15:53 <cedk> yagami_i: yes but any way I don't think a webclient is good for desktop work
2011-03-15 15:53 <sharoon> yagami_i: http://www.sencha.com/products/touch/
2011-03-15 15:54 <sharoon> cedk: i agree - web client => desktop or minimum ipad like tablets
2011-03-15 15:55 <yagami_i> I understand the concerns about the web client not being optimal, but many customers in Asia actually like to give their primary suppliers limited accounts within their ERP system (usually a web-based SAP) to perform specific tasks. It is difficult to cinvince another company to install client software and train on it when everyone already has Firefox or IE...
2011-03-15 15:57 <yagami_i> And, like the example of the construction company (or the police department, which is another potential big client) or a security services company that has employees all over the place, the ability to use the timesheet functions outside of the office is best realized through the web, not through a standalone client.
2011-03-15 15:58 <cedk> yagami_i: for specific tasks, it can be done in a website but per example for day to day accounting I realy doubt about the webclient way
2011-03-15 15:58 <yagami_i> If Facebook and Twitter work seamelessly on iPhone there is no reason Tryton shouldn't.
2011-03-15 16:00 <yagami_i> cedk: And there I totally agree with you. The web should always be an option, though. In Japan, for example, CPAs have to get 40 credit hours per year of continuing education which requires trips. For busy small businesses who use their accountant for bookkeeping as well as expense approvals it is difficult to do without one for an entire week. If he could log in from a hotel computer on the web just once in a while it would releive
2011-03-15 16:00 <yagami_i> a client-side concern that SAP already addresses.
2011-03-15 16:01 <cedk> yagami_i: yes but they don't have the same requirement level
2011-03-15 16:01 <yagami_i> True. But that is difficult to a client who is about to spend money paying developers to expand an open source project like Tryton.
2011-03-15 16:02 <yagami_i> In the end that is where the open source arguments get weak. *I* fully understand what you are saying because you and I develop software and have a love for technology.
2011-03-15 16:02 -!- zodman(~andres-va@gponr9-fija-203-7-69.iusacell.net) has joined #tryton
2011-03-15 16:03 <yagami_i> A client is a specialist in toy manufacturing, machine calibration or delivery services -- and therefore the superior tech argument is less convincing than pricepoints, feature lists and mindshare.
2011-03-15 16:04 <yagami_i> Telling a client you can log in from any web-capable device is a *huge* selling point in any industry outside of office-only work. And most work in emerging economies is *not* done in offices. That is where open source ERP solutions can make a huge impact.
2011-03-15 16:05 <yagami_i> Alternatively, is there a way to cut down the GTK client for Android and iPhone?
2011-03-15 16:05 <yagami_i> That is a possible shortcut that could generate money for me to put some developers on polishing Tryton off...
2011-03-15 16:05 <cedk> yagami_i: for iPhone I don't think
2011-03-15 16:06 <cedk> yagami_i: but there is this http://blogs.gnome.org/alexl/2010/11/23/gtk3-vs-html5/
2011-03-15 16:08 <cedk> yagami_i: it will require to port gtk client to gtk+3 but should not be a hard work
2011-03-15 16:09 -!- paepke(~paepke@pD9544A2D.dip0.t-ipconnect.de) has joined #tryton
2011-03-15 16:11 <yagami_i> That gnome blog link is thoroughly interesting.
2011-03-15 16:12 <yagami_i> I'm going to see how far I can implement the current SAP solution in Tryton (after reading everything I can find about your project up to now). Then I'll see what's missing and come back and bother you again.
2011-03-15 16:12 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2011-03-15 16:12 <cedk> yagami_i: ok no problems
2011-03-15 16:12 <yagami_i> btw, what you are doing is exactly what the open source ERP world needs.
2011-03-15 16:13 <nicoe> Thanks !
2011-03-15 16:14 <sharoon> nicoe: you were investigating the porting to python 3 ?
2011-03-15 16:15 <nicoe> sharoon: I did some tests a month or so ago
2011-03-15 16:15 <sharoon> nicoe: what are the results of your investigation?
2011-03-15 16:15 <sharoon> nicoe: do you think its feasible?
2011-03-15 16:16 <nicoe> That the port does not seems difficult to do
2011-03-15 16:17 <nicoe> I don't remember the figures but it looked like something doable in less than a week of work (provided the other libraries already work of course)
2011-03-15 16:17 <nicoe> (maybe even less than that a week)
2011-03-15 16:18 <sharoon> nicoe: i checked it up too and main difficulties i observed were psycopg (which seems to have been resolved) and unicode issues assuming we could use xml.etree for view xml
2011-03-15 16:18 <sharoon> nicoe: if you are coordinating a sprint for the migration i will be glad to help
2011-03-15 16:18 <nicoe> The unicode issue is IMHO not that difficult once you grokked the python unicode way
2011-03-15 16:19 <sharoon> nicoe: we could use unicodenazi to test the current implementation, though its really annoying
2011-03-15 16:19 <cedk> sharoon: any we will keep for at least one more year the code in 2 and just provide migration with 2to3 in setup
2011-03-15 16:20 <sharoon> cedk: of course we should maintain existing releases the way they are
2011-03-15 16:20 <sharoon> cedk: so are you thinking of 2.1/2 as python 3 compatible?
2011-03-15 16:21 <cedk> sharoon: why not
2011-03-15 16:21 <cedk> sharoon: if there is enough ressources :-)
2011-03-15 16:22 <sharoon> cedk: count me in +1
2011-03-15 16:22 <nicoe> It looks like a good objective for me
2011-03-15 16:22 <sharoon> nicoe: we could organise a sprint for this ?
2011-03-15 16:23 <sharoon> nicoe: what abt libraries like relatorio?
2011-03-15 16:23 <sharoon> nicoe: shouldnt we first start with our dependent libraries ?
2011-03-15 16:23 <cedk> sharoon: yes
2011-03-15 16:23 <nicoe> You're right, but I think that relatorio is not a big issue since a lot of the work is done by lxml and genshi
2011-03-15 16:24 <sharoon> nicoe: is lxml available for py3k ?
2011-03-15 16:24 <nicoe> I know that a patch for genshi has been proposed on the mailing list
2011-03-15 16:25 <nicoe> For lxml I remember searching for the information but I don't remember the outcome
2011-03-15 16:31 <sharoon> nicoe: i just tested vatnumber on python 3. it doesnt work since suds is not available for python 3
2011-03-15 16:31 <sharoon> nicoe: we may have to start there :D
2011-03-15 16:33 <cedk> sharoon: suds is optional :-)
2011-03-15 16:34 <sharoon> cedk: a dumb question - how do i install without the extra_requires?
2011-03-15 16:35 -!- elbenfreund(~elbenfreu@p54B94513.dip.t-dialin.net) has joined #tryton
2011-03-15 16:37 <sharoon> cedk: its listed as a optional in setup.py but there is not ImportError handling in the code
2011-03-15 16:38 <cedk> sharoon: the import is done in the only method that uses it
2011-03-15 16:38 <sharoon> cedk: got you
2011-03-15 16:38 <sharoon> shall i clone the repo to a python 3k branch?
2011-03-15 16:43 <cedk> sharoon: no everything in the same repo
2011-03-15 16:43 <sharoon> in the unittest assert_ is depreciated
2011-03-15 16:43 <sharoon> we have to use assertTrue
2011-03-15 16:45 <cedk> sharoon: as soon as it is available on 2.5
2011-03-15 16:46 <sharoon> cedk: it is available in unittest2 module which is available for python 2.5
2011-03-15 16:46 <yagami_i> Just a casual suggestion: if you are going to change the major version number of your underlying engine, I would also advance on majore version number in Tryton as well.
2011-03-15 16:46 <sharoon> cedk: i think we may need to use fallbacks
2011-03-15 16:46 <sharoon> yagami_i: thats the way its usually done
2011-03-15 16:47 <yagami_i> This is because it would affect the installed userbase significantly, 2.0 to 2.1 looks like a minor version upgrade. But for an end user on a system (Ubuntu or Fedora, say) that does not yet have Python3 in its repository this would suddenly break everything in surprising ways.
2011-03-15 16:47 <sharoon> yagami_i: we will not break support for python 2.5+
2011-03-15 16:47 <yagami_i> sharoon: above I say the suggetsion that 2.1 be P3, that's all...
2011-03-15 16:47 <yagami_i> saw*
2011-03-15 16:48 <cedk> yagami_i: http://code.google.com/p/tryton/wiki/ReleaseGeneral
2011-03-15 16:49 <cedk> explain how we are numbering
2011-03-15 16:49 <yagami_i> Sprry, haven't gotten that far reading yet. (!o!)
2011-03-15 16:49 <yagami_i> Silly me, I hadn't seen your calendar.
2011-03-15 16:50 <yagami_i> Bah! Brussels time?!?
2011-03-15 16:50 -!- paepke(~paepke@pD9544A2D.dip0.t-ipconnect.de) has joined #tryton
2011-03-15 16:50 <yagami_i> New timezone gymnastics for me...
2011-03-15 16:51 <cedk> sharoon: assert_ is still there in 3k ?
2011-03-15 16:51 <yagami_i> <preps a political grenade> It's not like the EU isn't slowly breaking up anyway... <drops grenade -- but in a friendly, trolling, sort of way>
2011-03-15 16:51 <cedk> sharoon: because just deprecate warning could be keep until drop of 2
2011-03-15 16:52 <sharoon> cedk: its only warning
2011-03-15 16:52 <sharoon> its not dropped
2011-03-15 16:52 <sharoon> it will be dropped in 3.3 only
2011-03-15 16:52 <cedk> sharoon: so keep it
2011-03-15 16:52 <sharoon> ok
2011-03-15 16:52 <sharoon> then there are no changes
2011-03-15 16:52 <cedk> sharoon: and is 2to3 not change it ?
2011-03-15 16:52 <sharoon> cedk: 2to3 will not change it
2011-03-15 16:53 <cedk> sharoon: I think there is preprocessor in 2to3 which we could use perhaps?
2011-03-15 16:53 <sharoon> 2to3 does not have these fixers
2011-03-15 16:53 <cedk> sharoon: otherwise there is one change: add 3k classifier :-)
2011-03-15 16:53 <sharoon> cedk: yes
2011-03-15 16:59 <nicoe> ACTION wonders why nobody trolls on yagami_i
2011-03-15 17:00 <nicoe> yagami_i: At first belgium disolves then Spain afterwards Netherlands got flooded and then we're gone ;)
2011-03-15 17:04 <yagami_i> nicoe: I'm feeling more like Germany makes a serparate peace with Russia, thinking it can be the Euro-Czar -- but forgetting that money has its limits as a public control feature (the way France discovered before 1914)... and then Europe becomes, once again, a collection of individually brilliant, but geographically constrained nations competing and working together alternately according to interest.
2011-03-15 17:05 <yagami_i> But even a tiny European country is more influential than any other global country than big players like Russia, Israel, Japan, China, or of course, the US... so thw world doesn't change so much as it just gets really interesting...
2011-03-15 17:06 <yagami_i> But that's not Tryton. And I'm also wondering why nobody counter-trolled. lol.
2011-03-15 17:06 -!- paepke(~paepke@pD95441C0.dip0.t-ipconnect.de) has joined #tryton
2011-03-15 17:08 <nicoe> I don't think Belgium has *that* much of influence you now (because otherwise the lack of government here would be a real problem)
2011-03-15 17:13 <yagami_i> No, it doesn't create domestic policy yet, but domestic policy control is what Germany has been de-facto enforcing through its influence in the ECB via bailout packages. That is what the Irish were so upset about, not just corporate tax rate hikes. Basically, the only real power a sovergn has is taxation/expense and military action. Military action depends on expenses, however, so it really comes down to taxation and expense policy.
2011-03-15 17:13 <yagami_i> Berlin can create levers through the EU via the ECB by underwriting public bailouts. That removes sovereignty and delivers control to the EU through the terms of a Berlin-supported ECB debt-relief package... and that means eventually, once discussion go beyond talk about numbers and book and fights actually break out, that the EU should splinter.
2011-03-15 17:14 <yagami_i> blah blah blah. Lots of blather. I'm from Texas. Don't mind me. I am a stupid, fat, American who likes war and porn and can't read. What do I know.
2011-03-15 17:24 <plantian> yagami_i: Ha you're just still bitter that Texas failed to secede. No matter how many unions you break you still can't get Texas out of the United States.
2011-03-15 17:25 <yagami_i> You, my friend, are almost a genius.
2011-03-15 17:25 <yagami_i> See, we didn't really *want* to succeed after all. This way we can show California how stupid thye are for not truly embracing the open market model America was built on.
2011-03-15 17:27 <bechamel> about web stuff: imo it would be interesting to create tryton models with backbone.js and implement all rpc stuff (read, write, on_change, etc) to have something like proteus in the browser
2011-03-15 17:27 <yagami_i> And now California is in debt and being so scared about "God Damn Foreigners!" and "God Damn Mexicans!" while suffering brownouts... and Texans can simply say, "yeah, Mexians... we were part of Mexico.. got independence... and don't have an income tax anymore because that sucks. and now we profit from those 'damn Mexicans' and also profit from all the smart companies who moved here from California..." lulz
2011-03-15 17:27 <sharoon> ACTION Am i in the right channel ????
2011-03-15 17:28 <bechamel> then one can imagine creating little custom app for phones and tablets and in parallel a more complete client with full views
2011-03-15 17:28 <yagami_i> bechamel: hmmm... this is an interesting idea
2011-03-15 17:28 <sharoon> bechamel: looks good to me as well
2011-03-15 17:29 <yagami_i> Why not a cut-down of the way the openerp web-client works, where it simply is a translator between the ERP back-end and HTML instead of GTK?
2011-03-15 17:29 <yagami_i> sharoon: yes, you are in the right channel... I was just being an ass and plantian was being smart
2011-03-15 17:30 <bechamel> I succed to do a simple web client like that (with custom views) with on_change most of fields type, pyson evaluation and co, but the code wasn't very clean
2011-03-15 17:30 <yagami_i> How many GTK objects do we use regularly? If they coudl be re-resolved or translated as equivalent HTML5 links/objects then the problem becomes a little more elementary?
2011-03-15 17:31 <yagami_i> Do you have a public link?
2011-03-15 17:31 <bechamel> but i discovered backbone.js meanwhile and I think it can become something cool
2011-03-15 17:31 <plantian> bechamel: Why not just a python web framework ?
2011-03-15 17:31 <bechamel> yagami_i: no, but I can put something online
2011-03-15 17:32 <yagami_i> This translation between GTK and web-language is the key to the web client success OpenERp is seeing. Unfotunately for them big players eschew the OpenERP weird licenses and the coding of the whole system is a little sticky compared to the cleaner Tryton coding (from what I'ev seen across a day of reading now).
2011-03-15 17:32 <bechamel> plantian: javascript is far more pleasant than writing ugly templates
2011-03-15 17:32 <yagami_i> bechamel: +1 on that
2011-03-15 17:33 <yagami_i> python is sweet, but in a way I prefer it more for prototyping. Which brings me to another point. How would Tryton respond to a case where, say, 10,000 users need to log on? (i.e. Honda Corporation)
2011-03-15 17:34 <yagami_i> Process spawnign is cheap in Linux, and threads are insecure, so the "single threaded" argument is misplaced. But how to make Tryton multi-process efficiently?
2011-03-15 17:35 <bechamel> yagami_i: launch mutliple instance of tryton
2011-03-15 17:35 <yagami_i> With PostgreSQL as the backend this is not as big a problem as it sounds...
2011-03-15 17:37 <yagami_i> Can multiple instances of Tryton easily be segregated when using the same database? For example, can I create (ideally) an accounting, project management, CRM/sales, accounts receivable, accounts payable instances independently without running into weird problems?
2011-03-15 17:37 <nicoe> bechamel: you will need something in front of the trytons to do the load balancing
2011-03-15 17:38 <yagami_i> In other words, if I tell a Tryton instance to listen on port A and another to listen on port B (thereby giving me two processes of Python to use independently) can I be sure that the same database they are accessing won't end up with versioning conflicts?
2011-03-15 17:38 <yagami_i> Hrm... load balancing....
2011-03-15 17:39 <yagami_i> There is a lot of good study on that elsewhere that we can rererence/use.
2011-03-15 17:39 <bechamel> nicoe: yes
2011-03-15 17:39 <nicoe> yagami_i: the piece of code I am talking about (the load balancing tryton proxy) could be used for this
2011-03-15 17:39 <cedk> yagami_i: you can always have concurrency update issue but this is managed by PostgreSQL transaction
2011-03-15 17:39 <sharoon> yagami_i: we use multiple instances of tryton, which are behind apache mod_wsgi as we serve couple of websites from tryton
2011-03-15 17:40 <nicoe> cedk: exactly what I was going to say
2011-03-15 17:40 <yagami_i> so, potentially, a PostgreSQL server can sit behin an array of trytond servers sitting behind a load-balancing service/server and thereby permit scaling of a Python project to tens of thousands of users?
2011-03-15 17:40 <nicoe> this piece of code of course does not yet exist :D
2011-03-15 17:41 <yagami_i> Because that is awesome.
2011-03-15 17:41 <plantian> I'm sure we will have money delivered in dump trucks to us when this problem arises.
2011-03-15 17:42 <yagami_i> It is not entirely unforseeable, my friend.
2011-03-15 17:42 <yagami_i> I mean the problem, not the dump yrucks, per se.
2011-03-15 17:42 <yagami_i> trucks*
2011-03-15 17:44 <nicoe> I don't know if this design is able to support tens of thousands of users because this need to be tested (heavily)
2011-03-15 17:44 <plantian> bechamel: Backbone.js is just for client? Sorry, disregard what I said earlier, I thought it was for server-side.
2011-03-15 17:45 <bechamel> plantian: yes backbone is a js library implementing MVC (but model, collection, view)
2011-03-15 17:45 <bechamel> http://documentcloud.github.com/backbone/
2011-03-15 17:49 <yagami_i> nicoe: naturally any deplpyment of that scale would need to be tested to an extreme degree (in any case the actual deployment would test the software more heavily and painfully than anyone could imagine anyway...)
2011-03-15 17:49 <yagami_i> But starting with a concept base is better than starting from nowehere.
2011-03-15 17:51 <nicoe> indeed
2011-03-15 17:53 <bechamel> yagami_i: http://b2ck.com/~bch/json_data.tgz
2011-03-15 17:54 <bechamel> yagami_i: unzip the archive, change trytond config to point to this location (for jsondata_path) and activate json_rpc
2011-03-15 17:55 <bechamel> .. and point your browser to the correct host/port
2011-03-15 17:56 <yagami_i> omg... is this awesome?
2011-03-15 17:56 <yagami_i> I need to give this a close look. Thank you.
2011-03-15 17:57 <yagami_i> Actually, I have about a solid week of work to get a full and deep idea of where Tryton is at now.
2011-03-15 17:57 <bechamel> I developed it with tryton 1.6, I don't no if it works with recent versions
2011-03-15 17:57 <yagami_i> This is ignoring my shallow memory of the Python and Java APIs.
2011-03-15 17:58 <yagami_i> Regressing to 1.6 is not a problem for a client (from a business perspective) as long as json can move forward without too much problem and the 1.6 databases can be upgraded without any serious pain.
2011-03-15 17:58 <bechamel> yagami_i: as I said not all widget are implemented and IMO the code is too messy
2011-03-15 17:59 <yagami_i> Messy can be refactored. Widgets can be cut out or implemented. The place to start is good.
2011-03-15 18:00 <bechamel> yagami_i: but it shows that it's not difficult to do in javascript , and it would be possible to have a nice implementation with something like backbone
2011-03-15 18:00 <yagami_i> Correct.
2011-03-15 18:01 <yagami_i> In the end, there are actually several nice prospective mini-projects under Tryton. This is impressive, actually.
2011-03-15 18:01 <yagami_i> The key now is to pick an implementation that becomes canonical and put all efforts toward it.
2011-03-15 18:01 <yagami_i> It doesn't really matter which one it is -- there are several good ideas out there already, clearly.
2011-03-15 18:02 <bechamel> the problem is that some people wants full client, other wants client for Iphone, other wants clients for their customers, etc
2011-03-15 18:03 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-03-15 18:03 <bechamel> this is why I talk about first implementing something like proteus
2011-03-15 18:03 <yagami_i> I think full client is always the correct answer. This means, specifically, that all core GTK functionality is implemented (this could include or exclude print to ps/pdf, or other random extensions).
2011-03-15 18:04 <bechamel> yagami_i: "full client" -> why not the gtk one ?
2011-03-15 18:05 <yagami_i> If a standard framework exists to implement GTK objects/handles in a browser (in other words translate GTK buttons to HTML5 buttons) then a clear specification for a web client can be built.
2011-03-15 18:05 <yagami_i> Because the key thing preventing most customers from choosing an open source project over SAP is the marketing bullet that says "accessible from any browser"
2011-03-15 18:06 <yagami_i> This is the key to making Tryton accessible to huge groups with lots of money.
2011-03-15 18:07 <yagami_i> Specifically, this is the key to making ERP customization companies choose Tryton + a web-server as a back-end through a browser interface. This means those servicing companies never contribute development effort/money/time to open source projects.
2011-03-15 18:08 <yagami_i> Instead we keep wasting effort/money/time on one-time-only projects that customize web-based SAP deployments for huge clients. And all that effort and money is wasted because we can't re-use the code again because they way the silly licensing agreements are written.
2011-03-15 18:09 <bechamel> yagami_i: we should work towards what we think is the good solution and not listen marketing bs :)
2011-03-15 18:09 <bechamel> yagami_i: and educate people
2011-03-15 18:09 <yagami_i> We might write 30 modules for a single client, all deliverable through the web. Those modules will never see use outside the single client because money will never be spent on solutions like Tryton unless we can at least offer a comparable service as per marketing points.
2011-03-15 18:10 <yagami_i> Educating people is one thing, but "people" don't make multi-million dollar product decisions. Usually about two or three people do. ERP experts are not folks they hang out with on the weekends.
2011-03-15 18:10 <yagami_i> So the marketing bullets are the key to securing serious development cash for open source business solutions.
2011-03-15 18:11 <yagami_i> This is what Red Hat realized and everyone else (including Novell, surprisingly) failed on with Linux.
2011-03-15 18:11 <yagami_i> This is what Microsoft understood before they ever understood how to write decent software.
2011-03-15 18:12 <yagami_i> This is so important that Microsoft was able to build an entire empire on top of totally shit software, and the BSD world has never gotten past the occasional BIND and email server room.
2011-03-15 18:12 <yagami_i> And BSD working on an awesome collection of brilliance...
2011-03-15 18:12 <yagami_i> So education < money
2011-03-15 18:12 <bechamel> yagami_i: interesting discussion, but I have to leave
2011-03-15 18:12 <bechamel> latter maybe
2011-03-15 18:12 <yagami_i> and Money dep. marketing
2011-03-15 18:46 -!- gasbakid(~gasbakid@41.96.119.199) has joined #tryton
2011-03-15 18:47 -!- paepke(~paepke@pD95441C0.dip0.t-ipconnect.de) has left #tryton
2011-03-15 18:49 <plantian> Does anyone have an idea of what might cause this? -- https://gist.github.com/871123
2011-03-15 18:51 -!- yma(~yma@dyn.83-228-149-023.dsl.vtx.ch) has joined #tryton
2011-03-15 19:33 -!- chrue(~chrue@host-091-097-102-162.ewe-ip-backbone.de) has joined #tryton
2011-03-15 19:52 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-03-15 20:40 -!- chrue1(~chrue@dyndsl-091-096-000-132.ewe-ip-backbone.de) has joined #tryton
2011-03-15 21:10 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-03-15 21:22 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-03-15 21:55 -!- paepke(~paepke@pD9545E7B.dip.t-dialin.net) has joined #tryton
2011-03-15 23:04 -!- elbenfreund(~elbenfreu@p54B94513.dip.t-dialin.net) has joined #tryton
2011-03-15 23:06 -!- elbenfreund(~elbenfreu@p54B94513.dip.t-dialin.net) has left #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!