*** chillywilly has quit IRC *** Morphous has quit IRC *** mixi has quit IRC *** holycow has quit IRC *** jcater has quit IRC *** Vee has quit IRC *** ncjp has quit IRC *** mixi has joined #gnuenterprise *** holycow has joined #gnuenterprise *** jcater has joined #gnuenterprise *** Vee has joined #gnuenterprise *** ncjp has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** Morphous has joined #gnuenterprise *** wt has joined #gnuenterprise *** SachaS has joined #gnuenterprise *** lekma has joined #gnuenterprise hello all hi *** holycow has quit IRC *** holycow has joined #gnuenterprise *** johannesV has joined #gnuenterprise hallo johannesV *** johannesV has quit IRC *** SachaS has quit IRC *** MiXi^ has joined #gnuenterprise *** cilkay has quit IRC *** mixi has quit IRC *** jamest has joined #gnuenterprise *** jamest has left #gnuenterprise *** psu has joined #gnuenterprise *** reinhard has joined #gnuenterprise hi reinhard hi psu i gather appserver is coimng on leaps & bounds ;-) psu: we're heading for 0.3 bbl k()()l *** kilo has joined #gnuenterprise is 'object.gnue_id' the right way to get the gnue_id of any class object? or is it object.id or object.objectId i know object.gnue_id works but i wonder if it's the most efficient way lekma: I'm 99% positive accessing gnue_id is at least as efficient as any other way that exists ok thx I *think* there's also objectId but not even sure it's about time i go on with my documentation I start to forget things :) objectId exist in __dict__ but not gnue_id that's why i was wondering def __getattr__ (self, attr): name = self.__session.qualify (attr) if name == "gnue_id": return self.objectId this is from appserver's object implementation so foo.objectId and foo.gnue_id are 100% identical but objectId is faster? objectId might be some cycles faster but they both won't result in a DB query if you want you can debug the SQL queries that are sent to your backend (at least PostgreSQL has a feature to do so) that's where most of the performance gets lost hmmm from a few test i'm running there's quite an overhead in appserver itself did you ever see the parameters that are possible for find()? there are 4 parameters, of which 3 are optional: and the tip on specifying in find every properties you want to work with yes is good there is classname conditions sortorder (list of property names to sort by) properties (list of properties to include in original select statement) yeah i've seen all of this ok i think with that you can speed up things quite a bit there shouldn't be too much overhead left but if you see some kind of useless overhead that could be avoided please report as we are entering a phase where we are also playing around with performance improvements well atm my xul client is faster than forms, so it's quite ok but i didn't yettest it with hundreds of elements not sure what that means does that mean your frontend + appserver is faster than forms without appserver? or what? my frontend + appserver is faster than forms + appserver ah ok on small forms that doesn't tell much about the overhead in appserver then :) no it's only personal appreciation i timed the time spent in db in appserver and in frontend oh interesting what came out? and appserver is nearly always 30 to 40 % of all time but i need some real profiling tool to be a bit more serious i kinda did it in python so there's an overhead in timing also well anyway thx for the answers and on a side note (i don't know if you read my previous comment) the more i work with appserver, the more i find it cleaver, a real beauty so thx for appserver also thanks :) *** sjc has joined #gnuenterprise *** SachaS has joined #gnuenterprise *** psu has quit IRC *** psu has joined #gnuenterprise *** psu has quit IRC *** wt has quit IRC *** kilo has quit IRC *** SachaS has quit IRC *** jamest has joined #gnuenterprise *** cilkay has joined #gnuenterprise *** siesel has joined #gnuenterprise hi all lekma: you are writing a^xul client? yes for the moment it's dedicated to the project i'm working for so it's more like a proof of concept cool but when the actual project will be delivered is there any code to play with? i intend to make a generic gnue-xul client yes but it's far from being out of the box i have a deadline this week on the template engine night all *** reinhard has quit IRC night reinhard so maybe next week i will be able to package a few things and publish ok. so i better ask you next week again yep and i will be happy to have testers yeah, I can do that. :) ok, have to go now (living in the same timezone as reinhard) night *** siesel has quit IRC night everyone *** lekma has quit IRC *** sjc has quit IRC *** MiXi has joined #gnuenterprise *** ccfiel has joined #gnuenterprise *** MiXi^ has quit IRC hello pll.. hi hello jamest jamest have you used gnue in a production mode? daily reports, forms, and gnue-common based scripts ic..in what OS environtment? debian does it involve many data? let say access a record with least 500t records? :) the biggest table i have a form connected to is 1,235,024 rows wow..:) how about the gnue-navigator have you used it? i'd say in that table not more that 100-200 rows is loaded at any one time i've also noticed that forms in svn slows down a lot with 43000 rows loaded not looked into why yet navigator is used daily to launch forms i have an alias setup called officemenu the staff knows to type that into a shell (or have it linked to icon) so they don't have to learn new commands ic i really like the concept of gnue...and im planning to shift..into it.. im a delphi programmer..for almost 3 years..but i have never found a framework like this one (gnue) so my plan is i have to learn python and try to help with the win32..coz we can always use help i have tested the win32 environtment...but there are some bugs i found :) i think i recall reading a mail from you was planning to dig into it this weekend yes :) thanks... i really like to help..im not learning now python.. but accounting found an error in one of our monthly (gnue common based) tax reports and I'm just now sitting down to look at that what is it? so, um, i might not make it :) ok... its ok.. accounting seems to think that their reports on sales/taxes actually match what we sold/taxed sounds kinda crazy to me :) s/actually/should actually :) like in gnue-navigator...in win32..its not working.. i found a error.. but i manage to debug it.. it runs now.. :) cool but i cannot commit it to the svn.. would you do that for me? its just a simple error..that coz the navigator not to run.. in UIwin32.py in line 303 i think is sould be step._params not self._params :) but if your busy...we can do it another time..:) looking ok..:) thanks.. yip, looks like it should be yes.. when i change it it works.. jamest: in your opinion..would it be wise for me to shift from delphi to gnue? i'v enot used delphi i've ic so I don't know if delphi works for you and it's running your business then I'd probably do a test run of something using python/gnue and not jump in 100% until I was sure it'd work for what you need as a hobby coder then I think python + gnue are great what you mean by hobby coder? :) i mean that if you make your living writing code then delphi would probably be better on the resume than gnue as delphi has a few more people using it :) if you're working for a company that is willing to try it out then i'd start writing some systems with it and see if it's a good fit if so then over time you can move more and more to python/gnue i think gnue is fine for day to day use ah..ok..thats..good idea.. we have made..a school system..using delphi.. and where i work it touches in some aspect every order that goes through the system 1/3 to 1/2 of all our orders (from on line) wouldn't make it into the system w/o gnue-common based programs processing it and I don't worry about gnue screwing it up ic.. im planning to have a version of our school system using gnue.. but I can't in good faith tell you to dive in 100% and commit your career or business to gnue why? :) what are you worries? :) can you give me an insite.. i have no worries about the code nor the people working on it but it 1) needs to fit your environment 2) needs to keep your customers happy (if you're a programmer for hire) in case 1 i'd say gnue will work with and co-exist with legacy systems without problem in case 2 I originally lost out to a different coder that was proposing a java based system he sold the company on the fact that more people know java than python/gnue i now work full time for that company and gnue runs most the backend stuff and has filled in the holes the java app left open and almost all new work is done using python/gnue because I could produce results faster with it so for me, it was a good fit but I'm bias i really suggest that you try something simple in gnue first in my case when I lost out to java app it took 10 months for the java app to go online and it had almost no lookup capabilities in it so the company was having trouble finding data at times i wondering why most are using java? what i dont like in java is very slow.. in one saturday afternoon i created a gnue read only form that looked like the java app and allowed full query capabilities on any field in the system that was their first taste of gnue ic..:) cool.. fast forward about 2 years and that java app is still in use (in fact I maintain, extend it) what im planning to do is an account receivble module.. im planning to use gnue..:) hope i will be successful with it.. but gnue based stuff is used throughout the place and that query form allowed us to drop the need to extend the java apps query abilities so it's still in use too but again, it's all about the fit yes..:) btw, i have a question..how do you do browsing in gnue.. what i mean.. in delphi i do an edit box and theres a button in the right... browsing data? *** wt has joined #gnuenterprise and when they click the button its brows let say list of customer.. ah that's a #1 wishlist item right now we don't have a popup browser like that i wish we did really, it probably wouldn't take a whole lot to add it ic. :) thats cool.. it's just one of those things that no one gets around to you could simulate it with an embedded form inside a form i would think its very usefull ...( i think for me) i use lot of it..in delphi..:) but that'd be a nasty hack yes, it is jamest: i was in my mind..it we could add a tag.. for browing.. :) very useful and one thing that Oracle's old sql*forms product still has on us s/browing/browsing i think we could do it pretty easy imho, we could add a XML tag for browsing..:) by adding a browseDatasource="" to fields yes..then in the form it would generate an edit box and a button.. or something along those lines in sql*forms any entry had that capability and instead of a button your users just pressed a FKey and if one was availalbe it'd pop up IIRC yes..:) how i wish im now an expert of python... i could do the implementation..:( gnue-forms is heavily influenced by sql*forms as it was what I used in the past and it's what jcater uses to this day ic.. (other than gnue forms too :) one thing i notice also in gnue.. if theres an error...it does not point where the error is..:) ? like when do an insert...lets say 5 to 10 insert before i commit.. and somewhere in 5 to 10 record i inserted.. i voilates some database integrety.. its would pop up a message box that it voiloates a database integerity but it does point where in the 10 record.. i have inserted.. ah hmmm imho, i think it would be put in the wishlist to.. i'm trying to think how hard that would be to add hey yo chilly hello chilly.. you've got your 15seconds of gnue-fame huh? check out gnue-common/src/printing/pdftable/sample.py because it would problem if a client would add 100 records and voilates a db integrity..and does not know where..:) Chilly Willy is one of the top selling sales people in the report :) oh geez * chillywilly is doing something evil installign winblows XP via QEMU wth is the anon svn password? hmmm isn't one I have no idea if this is an anon checkout must not be I haven't updated this in forever ccfiel: each recordset in a gnue datasource posts itself so the resultset doesn't currently track that i would think we could pass the record # from the resultset post() to the recordset post() so it'd know it's position but I would definately want to run this past reinhard and jcater ic...thats cool.. would you think its a nice feature too? :) yes very much so just need to make sure we don't break things breaking things is fun yes ic :) hope it could be done..:) hmmmm * jamest will try to break it now :) ccfiel: if you're running svn could you update and try navigator in win32 yes i have tried.. jamest: how can i update svn? :) can i do that would out user name and password? :) you have an svn checkout? yes i have.. then cd to the top of that dir and do svn up ah..ok..i try now..:) im using RapidSVN i made a checkOut. then i made the modification after that what will i do? sorry im new with this RapidSVN i dunno i commited the change that I think would work so I think you could just move your modified file somewhere else (just to be safe) then tell it somehow to update your copy and you should get the new ou one ic.. jamest it work.. :) holy crapo i think i have the record number reporting on commit error working jamest: what do you mean? [08:31:46 pm] its would pop up a message box that it voiloates a database integerity but it does point where in the 10 record.. now the error box does return the record number ic :( that means i have your wishlist item almost completed i'd hope that would be a good thing :) :) yes...:) thanks you very much.. gnue rocks..:) hope i could help... trillian? jamest: can i check it out..? hello jcater.. hi jamest: have you commit it to the svn? i'm still testing but I don't forsee this effecting any existing datasource /msg jamest um, that's what users are for so I'll commit in a few jcater: lol jamest: ok..:) jcater :) hehe hi jason ccfiel: svn up and give it a try ok jamest..i have already update my gnue-forms and run setup.py install again.. but it does not work. :( bah its the same..:) it does not position to the record which commit the db integrity error.. does the error message now tell you the position? as that's all I did i didn't adjust forms to try and do anything with it jamest..sorry..it works.. i update my common also.. after that it works.. :) thanks a lot..:) im getting to like..gnue ..:) *** cilkay has quit IRC jamest: if i found a bug and a solution..can i commit? or i have to let you do it..? we don't allow anyone to commit any major fixes or additions require you to assign copyright to the FSF before we give out svn access ic..:) jamest: i think i found a bug..when you set autocommit=Y in states.gfd (states.gfd) when autocommit is Y browsing the master record you can only used the arrow down twice i can't reproduce that i can run through all the states in my table using arrows key down? and autocommit=Y yes i'll double check i'm able to navigate from record 1 to record 59 (some bogus entries in my test table) without issue using only the down arrow key and autocommit=Y? jamest: sorry..i just update all my source..now its works.. :) even autocommit = Y it works now..:) thank u very much *** jcater has quit IRC nite *** jamest has quit IRC