*** R45 has quit IRC *** lekma has joined #gnuenterprise morning everyone *** reinhard has joined #gnuenterprise hi reinhard good morning all hi reinhard brb *** johannesV has joined #gnuenterprise good morning hi johannesV reinhard, regarding dirty-reads ... the option a) you've described yesterday -- not having 'not null' constraints on the backend db but having appserver maintaining such constratins (as it does now) could be a 'quick solution' to the problem right now so we can take more time to draw a better solution (like option c) from yesterday) hi johannesV i haven't found another, better solution though hi lekma hi ajmitch_ same for me i've thought about removing that postChanges () situation completely and what this means to geas* or data.py actually we would need to add another layer between data.py and the underlying datasources this would merge data in the new-cache with data retrieved from the datasource in all aspects (sorting/conditions/...) but it also has to handle deleted instances. and must provide the upper layer with a consistent view of the data (for example regarding result-set-count, ...) * ajmitch_ tries to think up info for the common & appserver debian changelogs but the more i think about all this, the more i feel we have no other chance than implementing such a mechanism this would also remove that restriction on transactional backends we do have with the current version *** sjc has joined #gnuenterprise silly lintian errors! johannesV: I also thought about it and came to the conclusion it gets fscking complex the lintian package itself isn't even lintian clean... :) yes, that's right, but nobody ever said this would be easy for example, sorting if you have a db result set with 10000 records record 9999 can have uncommitted (unposted) changes so that it should actually sort at first position (i.e. it's sort key has changed) so what should appserver do? first retrieve all 10000 records, keep all of them in memory and resort *before* it returns the first record? yes, no other chance to achieve it; first fetch all of them; remove all records from result, which are in cache, and then re-insert the cached records at correct position or first retrieve all needed data for records with unposted changes in sort fields and only after that issue the select to the db? the first step is memory-intensive; the second step is a linear operation, and the third nearly N * log (N) *** kilo has joined #gnuenterprise good morning hi kilo hi lekma *** btami has joined #gnuenterprise good morning hi btami hi lekma *** R45 has joined #gnuenterprise *** btami has quit IRC *** btami has joined #gnuenterprise *** dcmwai has quit IRC *** sjc has quit IRC hello all hi dimas hello kilo reinhard: you here? i can't use base_company and gl_year filters, how to provide initial data for them? espetially for gl_year, can't even login especially *** holycow has joined #gnuenterprise *** jamest has joined #gnuenterprise *** jamest has quit IRC *** jamest has joined #gnuenterprise *** kilo has quit IRC *** johannesV has quit IRC *** johannesV has joined #gnuenterprise *** holycow has quit IRC *** jcater has joined #gnuenterprise back dimas: it should work to not enter any year if you just call the form for gl_year front err morning lol hi jcater jcater, how do i use the elements listed in _triggerProperties ? like datasource's order_by ? * jcater points to the left "look! a bird!" * jcater hopes to distract johannesV didn't worked johannesV: not sure if he's really here, but jamest is going to know more about the _trigger* stuff than I ah, ok reinhard: i could feel gl_year then with the forms where filter="gl_year" is used it's proper setting is mandatory at login prompt so i'll try to catch jamest bbl *** btami has quit IRC damn translation * dimas is eating his own dogfood dimas: not sure if i understand what you said you need to enter gl_year only if you are going to use a form that has some class with a filter=gl_year translated error messages are not that helpful and i can't paste them here LANG=C gfcvs ... i heard my name wazzup reinhard: i'm trying to call classes from gl.gcd where gl_year filter is used jamest, i've tried to use a _triggerProperty of GDataSource but it's not working what do i have to do to get triggerGetOrderBy to be called ? reinhard: LANG=C did not work last I tried how it's supposed to work jamest, that's the question i'd like to set order_by property by a trigger *** wendall911 has joined #gnuenterprise every property has a dict that can contain a 'set' and a 'get' entry reinhard: what property from gl_year login entry is checked against? that references the function that is run when the trigger does where is it set? code/name print object.propertyname or object.propertyname = foo *** titopbs has joined #gnuenterprise jamest, ah ok so it's not working for datasource like dtsFoo.order_by = 'bar' the set may be there but it has to handle the logic to tell the datasource to reset it's order_by i don't know what the 'direct' setting is the function defiened in 'set' does not get executed my original notes on implentation are in but i get an attributeError gnue-common/doc/TriggerSpecifications.txt let me see if I have a simple test case reinhard: code/name is't for base_company, what about gl_year? it's name hmmm try object.__properties__.order_by ah yeah my original test form is in this might work (if we look at NamespaceCore.py line 206 :) will try .. gnue-samples/testcases/triggers/trigger.py i wonder if the direct setting is to map the order_by to object.order_by vs __properties__ it's been a **long** time :) i do recall that namespace collision was a concern when I did this *** apropos has left #gnuenterprise ok, it does not work either sigh as the result of dts.__properties__ is just an empty dictionary testcases/triggers/trigger.py fails too but if you have more importaint work to do, please feel free to do so ... this is not very urgent i'm looking hi *** dneighbo has joined #gnuenterprise hi dneighbo hi chillywilly johannesV: i got pulled off it but should have time again in a bit i have to be reading/doing something wrong as the __getattr__ never seems to get called on either the namespace object or the property object hi jamest, that's what it looked like to me too *** titopbs has quit IRC *** reinhard has quit IRC *** Amorphous has quit IRC *** dimas has quit IRC *** titopbs has joined #gnuenterprise *** reinhard has joined #gnuenterprise *** Amorphous has joined #gnuenterprise *** dimas has joined #gnuenterprise *** sjc has joined #gnuenterprise *** johannesV has quit IRC *** titopbs has quit IRC *** titopbs has joined #gnuenterprise *** holycow has joined #gnuenterprise *** siesel has joined #gnuenterprise hi *** lekma has quit IRC hello *** ncjp has joined #gnuenterprise hi ajmitch *** btami has joined #gnuenterprise hi all dneighbo: DCL DCL DCL DCL DCL DCL DCL DCL DCL DCL DCL DCL DCL DCL DCL DCL DCL DCL DCL :) *** SachaS has joined #gnuenterprise hi SachaS yey! macmini $499 us hi siesel i guess i'm getting a mac this year >_> hey dudes :) hi holycow night *** siesel has quit IRC *** btami has quit IRC hohoho looks like siesel is really back! -- man, i didn't believe it's *that* bad just helped a friend to install his new dsl internet access on a normal vanilla win xp box it was quite easy and worked out of the box well, except that within 11 min we had 4 trojans that sent 40 k per second to the internet that's quite about full available upload speed haha i really didn#t believe it's *that* bad i'm running a debian spam and virus scrubber here its incredible reinhard, its getting worse all the time but by the time i found where to activate the win xp builtin firewall i was already completely infected windows is the biggest debacle in computer history in my opinion you might be right heh *nod* i've tried that about a year and a half ago took 8 seconds to get infected on open internet wow i had symantec running before connect, which is how i timed it basically, anyone thats not in i.t. and running windows on the internet is pwnd what's still amazing (IMHO) is that win xp comes with about 10 or 20 open ports with several know vulnerabilities *each* if you default install it it makes no difference what firewall they have up, antispyware, whatever still? interesting even after sp2? AFAICT yes well, this xp was before sp2 wow *nod* from what i read in the internet some things got better with sp2 but there are still bugs e.g. in the builtin firewall infact 80% of the traffic inbound to my mail server is spam and viruses you mean as in its as porous as swiss cheeze? yes i noticed how it let all the ms applications talk to ms without letting you know like if you open a port to the internal interface it automatically and silently opens the same port to the external interface, too that was my favourite it does? heh which actually defats the purpose of a firewall seriously i was *shocked* because when i install a debian or even ubuntu box *nod* i do a default install and then start to tweak security settings do an nmap and look what's open i'm not that profficient with linux just yet getting there slowly by the time you do an nmap on a win machine it's already ownzed by at least 5 trojans... haha yeah i know no kidding infact i'm sitting right here setting up 2 win boxen i asked johannes to nmap the machine i had to stop it i'm having a hard time sending them out actually for that reason but i'm 6 months away from my debian pilots as in that 10 minutes i already had 2.5 MB upload windows is gone from this company for good no shit? ha! no kidding and they have 400 mb monthly limit windows litterally needs to be banned from the internet so if i hand't looked the upload and download byte count by *happenstance* it is completely dangerous to use it and it's completely irresponsible for tech people to suggest people use it they would have reached their monthly download limit within 2.5 hour hours no matter how bad linux is ... windows is just that much worse how true having used debian now for a year in the office windows is not fit for enterprise use not on any level the only thing it has going for it is integration between ms products and might well never be well they are rewriting it for the next release i donno maybe they can come up with a proper architecture for an os, not a patchwork but it takes a long time to write a good os if windows ever will be an os hehe :) i can't seriously call something an os that doesn't even have the basic concepts of stuff like cron, at, dpkg/rpm, tar lol i know or a usable shell i shake my head every day infact i am amazed at how i.t. folks got talked into that i don't get it actually lol did people buy into that shit because they were able to pile new people into positions straight out of school who knew no better? but also... there is an undocumented utility with open source, linux and unix firstly the trully multiuser environment and the networked x server and all the tools you mentioned what power yes just if i think what i did with bash, sed, and grep it's amazing i cannot even begin to imagine what you haveto buy in the ms world to get something even close in functionality yep then i add onto that all the apps i was talking to the ceo yesterday about this i can setup: well, to be precise mail servers spam blockers firewalls you can always download cygwin ;-) proxies chat server groupware office suites whate else is in the works here ... oh content managemetn systems hah learning content management systems for training staff various application servers, right now i'm checking out aolserver which kinda cool i really don't get how much people pay for proprietary cms gnue of course *nod* and thats just the tip of the iceberg thats just the services one can deploy then you add to that things like easy installation (d-i and apt) software updates and management not having to worry about licencing so you don't have software management costs how does anyone use windows? i don't get it aaahhhhh i feel so at home here :) holycow: thanks for talking this with me i feel much better now lol no worries :) :)) i really felt shocked and distracted i'm putting together a consultancy based around 5 or 6 of those products i'm going to walk into companies and say: i can get you: 1. mail server 2. spam blocking 3. firewalls 4. coms 5. lcms 6. application server for a fraction of the cost of any windows platform stuff 7. accounting software and walk away with a tidy profit and contribute back to community of course holycow: pretty much the same business model as bytewise :) thats your consultancy i presume? :) yep the company johannes and I work for nice! :) work for or own? lol just curious :) not that it matters heh i'm checking my quarantine we get viruses sent from government machines swear to god johannes work for I own ;-) yey! good to hear :) running a small business is never easy but i think we will be richly rewarded with the efforts the value proposition is simply unbelievable yep bbl *** kilo has joined #gnuenterprise *** SachaS has quit IRC *** cairo_ has joined #gnuenterprise *** mnemoc has joined #gnuenterprise *** mnemoc_ has quit IRC night all *** reinhard has quit IRC *** jamest has left #gnuenterprise *** kilo has quit IRC *** titopbs has quit IRC *** sjc has quit IRC *** gnardo_ has joined #gnuenterprise *** nickr has quit IRC *** wendall911 has quit IRC *** holycow has quit IRC *** wendall911 has joined #gnuenterprise *** wendall911 has quit IRC *** holycow has joined #gnuenterprise *** jamest has joined #gnuenterprise *** jamest has left #gnuenterprise *** holycow has quit IRC