*** reinhard has joined #gnuenterprise *** Amorphous has joined #gnuenterprise *** Morphous has quit IRC *** dimas has joined #gnuenterprise *** btami has joined #gnuenterprise *** dimas has quit IRC *** SachaS has joined #gnuenterprise anybody here have experience with VNC? hey Amorphous are you siesel? no i'm afaik not ok we had another jan from germany here in the past :) yea this name is fairly common good morning have to run for lunch good morning have to run for lunch *lol* reinhard: will have to talk to you later. you should get up earlier ;) :) when i went to bed it was about 5am. so day starts up side down i have done something last night, which might be either ok or very bad practice well talk to you later. *** SachaS has left #gnuenterprise *** chillywilly has quit IRC *** kilo_ has joined #gnuenterprise *** dimas has joined #gnuenterprise *** chillywilly has joined #gnuenterprise *** lekma has joined #gnuenterprise *** lekma has quit IRC *** dneighbo_ has joined #gnuenterprise *** dneighbo has quit IRC *** lekma has joined #gnuenterprise *** btami has quit IRC *** holycow has quit IRC *** kilo_ has quit IRC *** chillywilly has quit IRC hi everybody *** dsmith has joined #gnuenterprise is there any 'commit' mailing list archive? ok found it reinhard hi lekma in svn 5582 you remove the import of dyn_import in gnue-common/datasources/Gconnection.py yes i needed it to make my own authentication wrapper do you pla to replace this by something else? where do you need it? you have changes to GConnections.py? in connections.conf i have a custom_auth parameter that dynamically import a python script so you do have changes in GConnections.py? nope you can place the import wherever you want yes i know oh sorry just saw it sorry, sorry np i replaced a call to dyn_import and wasn't aware it's still called at another point so i thought i can remove the import safely it's fixed in svn thanks for reporting thx i need some advice i have a project sold with gnue technology and we must go live in october it's a kind of babyerp should i go for the appserver or should i stay with only gnue-forms ?? sigh if i only knew for sure :) as appserver stands now i think it will in no respect have a downside against 2-tier that is i think you will be able to do everything with appserver that you can do without appserver and it might well be that you can use some features that you wouldn't have without appserver so my view is you can't loose much you can win and after all also the gnue project would win :) if you'd do it with appserver you could be assured that we'd fix the bugs you find with highest priority *** SachaS has joined #gnuenterprise hi SachaS that is a big incentive hi reinhard this lunch took forever :) and i think you're right good i brought the laptop along ;) reinhard: do you think there is a need for instance business class procedures? i might get sidetracked to a completely wrong path. but i created a inventoryHelper business class. of course, there needs to be just one of such an object. with instance procedures, I would not even have to create an instance (object). *** nenhum has joined #gnuenterprise hi nenhum SachaS: i think you are being sidetracked :| sorry but a bit under time pressure at the moment ok. will talk to you later again. *** nenhum has left #gnuenterprise *** lekma has quit IRC reinhard: i think i am just exploring different ways of doing things. its pretty new to me. calculated fields: seem like they have a procedure assigned to them and each time they are accessed, the procedure is called . *** jcater has joined #gnuenterprise *** wendall911 has joined #gnuenterprise hi jcater, wendall911 SachaS: that's quite much what calculated fields are, yes good morning :) at least it's morning here ;) morning *** lekma has joined #gnuenterprise *** jamest has joined #gnuenterprise good morning jamest afternoon reinhard (i think :) jamest: correct reinhard: i have removed that inventroy helper class ... back on track. SachaS: excellent ;-) please no commits for a bit hey *** wendall911 has quit IRC who told you that you could stop coding? i am fixing our fscking svn setup does that count? so you found out what causes our problems? * jamest publicly bitches about using the debian subversion packages ash got upgraded subversion package again and the wrappers were not all replaced i'm going to chattr +i the files *** wendall911 has joined #gnuenterprise so the next apt-get upgrade will fail :) :) as long as it fixes our svn issues, i'm ok with what you want :) good news: my inventory sales order processing works (whatever that means) :) eg. calculating new masterdata_inventory(should be item).masterdata(should be inventory)_quantityOnHand have to run sigh that won't apply to a symlink bbl *** chillywilly has joined #gnuenterprise hi chillywilly *** lekma has quit IRC *** jamest has left #gnuenterprise *** jamest has joined #gnuenterprise *** ogger has joined #gnuenterprise hi ogger *** dimas has quit IRC *** _florin_ has joined #gnuenterprise <_florin_> howdy is it possible to test if a list of values is a subset of another list... or that several values are in a list? *** kingpin2k has joined #gnuenterprise *** kilo has joined #gnuenterprise chillywilly: not that I know of short of a for loop though I bet Numerical Python adds support for it (but that'd be a separate package) i think that's in python 2.4 think is the key word *** siesel has joined #gnuenterprise hi siesel hi SachaS siesel you are not so much here anymore. are you busy? yes, got a job :( congratulations. ;) thx how are you? You're back from downunder right? back in liechtenstein, yes. have a little bit of time to work with gnue :) nice i am building a sample app, so, that I can, one day, try to have gnue talk to gnue. hi siesel hi jamest so you get a little money in the pocket and now you're too good to hang out in here huh? :) yeah, I got corrupted ;) probably for the best we're a bad influence But there is still some free time in my life... gnue --> you can't get rid of me so easy :) great! now get to work :) lol jamest: if I have a block with rows = 5. for one entry box (part of the block) i want to set the "post-query" trigger. atm there is only one trigger for one field, even if the block has the rows attribute. is there a way i can access the entry field of each row. not sure if this is what you are asking but this iterates thru a block manipulating all the fields IIRC however the focus will still change thru the records sigh, kopete bitched about that paste please let me know if you got it i got it thanks. is it what you needed? yes thats what i needed. things like this are hard to document would more like a gnue cookbook with different examples.... we have a few in the forms dev guide and if you're up to it....... :) http://www.gnuenterprise.org/cgi-bin/twiki/view/Main/TriggerRecipes lol someone took one of my mails and posted it to the wiki man, i hope i got everything right in that mail :) aye, twas me ah :) i found that email perfect cool the next one yu wrote was also perfect but i havent processed that yet well, i hope they are still completely accurate should be but i always hate writing stuff like that i fear that I'll submit and get dude, i completely rewrote that in the last 15 minutes, it now uses quantum vacum fluxuations with recursive inheritance then you simply delete the wiki and thwap jcater... good idea *** siesel has quit IRC *** kingpin2k has quit IRC *** _florin_ has quit IRC *** dsmith has quit IRC *** Vee2d2 has quit IRC *** ogger has quit IRC *** wendall911 has quit IRC *** dneighbo_ has quit IRC *** Amorphous has quit IRC *** Vee has quit IRC *** icltlfatppl has quit IRC *** siesel has joined #gnuenterprise *** kingpin2k has joined #gnuenterprise *** _florin_ has joined #gnuenterprise *** wendall911 has joined #gnuenterprise *** dsmith has joined #gnuenterprise *** dneighbo_ has joined #gnuenterprise *** Amorphous has joined #gnuenterprise *** Vee2d2 has joined #gnuenterprise *** Vee has joined #gnuenterprise *** icltlfatppl has joined #gnuenterprise *** ogger has joined #gnuenterprise fwiw, I'm not sure I'd emphasis the block.zip = "foo" syntax as it's so inconsistent i.e., works sometimes and other times doesn;t (and isn't pythonic, so might confuse ppl) might be better in an advanced section go ahead and edit you own material 8-)) *** siesel has quit IRC wb reinhard. SachaS: thanks whats going on with appserver? any new features implemented? :) well will be just finished with real life work in about 10 minutes for today dah? :) you have been busy then. well this evening i did the kind of work i like most writing the monthly invoices ;-) hehe :) good sign you were busy till 22.45! * SachaS would like to be in a position to write monthly invoices :) * SachaS is rather in a position where he receives monthly invoices lol reinhard: I think I'd prefer writing out the deposit slips but that's just me * _florin_ ignores the monthly invoices he receives... (bad policy?) reinhard: have you heard of the buspro product? no <_florin_> is there any possibility of doing heavy computation in gnue-forms while the UI still remains responsive (some kind of timer or similar?) _florin_: not currently <_florin_> any workarounds possible (i.e. some kind of threads/forks?) i would think you could import python threads but I'm not sure how you'd interact with the UI you're moving into unknown teritory :) <_florin_> again? :-) sigh i'm parting out an old pentium box that is burnt up the mfg glued the cables into the slots <_florin_> wave a dead rat over it... might help :-) it will be good for a firewall 8-) might work a little better as trash uggh I'd rather think about handling dead rats than about forms and thread support but jason <_florin_> writing multi-threaded applications has a lot to do with waving all kind of dead animals over your code... first we embed forms in navigator then we let them flip between executing threads each containing a forms instance wouldn't it be lovely * jcater beats jamest with a dead rat better stick that dead rat in a locked state first, otherwise we may grab the same rat * jcater walks off to get some Tylenol * reinhard goes to get a cat <_florin_> how difficult would it be to make the event-passing system thread-safe (i.e. give me the possibility to send events from one thread to another)? semaphores are your friend <_florin_> (rotflmaybitc) <_florin_> s/y/o bitc? <_florin_> biting in the carpet ah :) _florin_: my first guess would be it would require a rewrite of, um, everything <_florin_> hm... bad. does event passing really require thread safety? _florin_: what do you need threaded anyway? <_florin_> it's not like i really _need_ it... but it would be an elegant way to do time-consuming computations to fill in values various lists <_florin_> think of that win32-directory-property-dialog, where the size appears some time _after_ you open it... <_florin_> as i understand it, searching for lots of items in big tables is not an issue (< 1 sec). <_florin_> saving data in internal structures... well, that takes some more time, but still not bad. <_florin_> but as soon as you have to do something nasty for each entry (say... one more DB request per entry) <_florin_> it gets ugly. so maybe just a couple of thread-enabled widgets? and have them implement some type of progress checking procedures? <_florin_> yes. but the computing thread needs a way to tell the others "i'm finished"... or the others need a way to poll from time to time "are you finished yet?" without user interaction. _florin_ everthough of having the computation done by the appserver? it could be a big fat machine. <_florin_> yes but... :-) <_florin_> 'big fat machine' is not my favorite answer to speed issues :-) <_florin_> it's not the time that's the problem, but the fact that the user cannot interact with the software while it's computing (i.e. say "abort -- it takes too long") if the computing thread has to loop and call AreYouDoneYet() 1000 times, the user could still interact, no? not the computing thread...the main thread <_florin_> yes. <_florin_> that would be not the most elegant method, but probably the easiest to implement for now <_florin_> as it doesn't require the main thread to be actually thread-safe :-) and leave it up to the designer to do the checking right <_florin_> (i naively assume that i can define/use DataSources/DataBlocks in the computing thread without disturbing the rest of the application) night all *** reinhard has quit IRC <_florin_> night reinhard you could get into race conditions if you had widgets doing comparable things <_florin_> i'm afraid i don't understand... where widget B commits before widget A even though widget A should have been first <_florin_> design issue. if you can settle on "main thread is the only UI-thread" and "main thread is the only write-access thread" it's a lot simpler. nothing is gnue (that I know of) has been tested in a threaded environment hmmm...that increases complexity a bit <_florin_> jamest: worst case: open a new connection to the DB (just take 'user' and 'pass' from the form) -- that should work, as it's technically like running a whole new application... <_florin_> right? <_florin_> kingpin2k: what increases complexity? having main thread be the only write access thread means that main thread now has to be completely thread-aware, right? <_florin_> no. it simply means that the compute-thread "promisses" not to save any changes :-) ahhh basically only threaded reads...like the windows control you mentioned <_florin_> but still need a way to poll from main thread (i.e. a timer) <_florin_> yes. <_florin_> threaded writes would be kinda suicidal are timers implemented in any of the python ui stuff? gtk, wx, etc? <_florin_> the are in Qt. i don't know about the others... hmmm... yes cool afaik, they all have one wxTimer, f.e. can i call a trigger from within a trigger? gotta run...bbl oh... my "post-query" trigger is not called when the datasource is prequery. <_florin_> i read something about "idle events" in wxGtk. <_florin_> i know Qt had similar too <_florin_> could something like this be added to gnue without big changes/breaks? *** dsmith has quit IRC widget specific stuff? i wouldn't want to see qt only stuff in forms <_florin_> me neither :-) i don't have a problem with stuff becoming thread safe at some point <_florin_> but since these idle-events are a quite useful alternative to threads when it comes to heavy processing, i think that most GUIs have it. except for curses, of course... but it seems we could use a bit more of the basic stuff people need implemented first <_florin_> agree. *** kilo has quit IRC *** jcater has quit IRC i experience navigator problems. DB000: File "/home/sacha/gnuenterprise/gnue/gnue-common/.cvsdevelbase/gnue/forms/GFInstance.py", line 296, in activate DB000: self.manager.handleStartupError( DB000: AttributeError: Instance instance has no attribute 'handleStartupError' does it have to do with, different forms have different properties, such as on-startup, readonly on form level, readonly on block level? ... hmmm is it a random combination of forms that trigger this or 1 form in particular so far random combination...have not nailed it down. is there more to the traceback? if so msg it to me please now it just went through all forms, without a hicksup. 11 forms could it might be when you double click too fast? will try. yes. dont double click too fast ;) full traceback (not that long) if you get errors, you are working too fast. :| :) forms embedded in navigator are a quick hack *** jcater has joined #gnuenterprise i'm suprised they work as well for you as they have its pretty neat. early night good night *** SachaS has left #gnuenterprise whoops an email from RMS Please don't use ``win'' as an abbreviation for Microsoft Windows in GNU software or documentation. they either want us to spell out windows or go w32 vs win32 because In hacker terminology, calling something a "win" is a form of praise. If you wish to praise Microsoft Windows when speaking on your own, by all means do so, but not in GNU software. O_o that is asinine so we have 4 locatoins w/ that file name please use only the official updated newspeak dictionary as a project do we abdicate thoughtcriminal sigh * jcater beats head against desk well, geee in that case let's not call stuff free as it cheapens it (to those who don't know better) same thought process, imho well, this has been in my mailbox since, um, well Sep 17th =) lol in thinking about this FSF is last group I'd think of worrying about name connotations after all, who calls stuff GNU w/a straight face or what connotations does Hurd come with? well, i'm purging the mail (I can only think of a few words that rhyme with that) i've notified the group and seems like the only feedback in here has been negative so, before I'm lynched * jamest runs * jcater grabs the rope seriously, this reminds me of congress decreeing you can't call French Fries by that name must use Patriot Fries in gov't cafeterias please tell me that didn't happen i put nothing pass our politicians not a "decree" per say but, yes they are Patriot Fries now have been for a little while now sigh when I was in high school way back in the 80s the deficit was, well, basically what it is today rather than deal w/ tough issues the guberment was making a huge deal out of flag burning I remember that anyway, this seems like more of the same sigh what about the financial connotations of "float"...we should definitely not use that anymore no that is on the chopping block we have a fixedpoint implementation in gnue common just need to get stuff converted over hehe it's funny that this isn't even about copyright...it's about other uses of the word formed by an abbreviation usually, the word win would elicit copyright claims i've always figured the win abreviation was intentional on MSs part *** jamest has quit IRC *** kingpin2k_away has quit IRC *** chillywilly has quit IRC *** chillywilly has joined #gnuenterprise *** _florin_ has quit IRC *** dcmwai has joined #gnuenterprise