jbailey (~jbailey@CPE00062579efac-CM014260028338.cpe.net.cable.rogers.com) left irc: "Client exiting" reinhard (~reinhard@M1264P004.adsl.highway.telekom.at) joined #gnuenterprise. nickr_ (nick@e-64-35-146-235.empnet.net) joined #gnuenterprise. nickr (nick@e-64-35-146-235.empnet.net) left irc: Read error: 54 (Connection reset by peer) PeterD (~newbie@CPE-203-45-98-254.nsw.bigpond.net.au) joined #gnuenterprise. Hi all I started to play with gnue, I"m impress hi PeterD I got some question regarding GNUe_ClassRepository.gfd it cannot save anything PeterD: yes PeterD: this is mentioned in the BUGS file is it a bug or I doing something wrong it is a bug ok I didn't read it nevermind that's what we have IRC for :-) reinhard: is not it fixed in svn head? what has to be done to connect form to tables in db using appserver connection in designer? Action: dimas only uses it in two-tier mode and w/o designer what about n-tier? in forms that designer designs all should be similar you just define I run wizard in two-tier mode and it was great settings in gnue.conf and connections.conf point to direct db-driver or application server as source sorry, got phone i got them setup correctly when I run wizard with connection to appserver I see only tables from examples created some table but can't see it through appserver connection sorry, i have not used neither designer nor appserver for months that's ok hve you use navigator? i start few forms from it regularly do you know obout any docs for navigator? not that i know of, just looked into sample .gpd and modified for calling my forms thanks, I try todo the same. ) [ds@vbc doc]$ pwd /home/ds/svn/gnue/gnue-navigator/doc [ds@vbc doc]$ ls Concepts-Guide.sxw gnue-navigator.dtd man technotes Tech-Reference.sxw excelent PeterD (~newbie@CPE-203-45-98-254.nsw.bigpond.net.au) left #gnuenterprise (""You run, never stop, got to win, got to run till you drop""). havoc (~havoc@CPE-65-31-107-254.wi.rr.com) left irc: "Client exiting" havoc (~havoc@CPE-65-31-107-254.wi.rr.com) joined #gnuenterprise. ToyMan (~stuq@smtp.dstoys.com) joined #gnuenterprise. jamest (~jamest@gw.math.ksu.edu) joined #gnuenterprise. nickr_ (nick@e-64-35-146-235.empnet.net) got netsplit. dneighbo (~dneighbo@ip68-109-180-32.ph.ph.cox.net) got netsplit. nickr (nick@e-64-35-146-235.empnet.net) joined #gnuenterprise. dneighbo (~dneighbo@ip68-109-180-32.ph.ph.cox.net) got lost in the net-split. nickr_ (nick@e-64-35-146-235.empnet.net) got lost in the net-split. dneighbo (~dneighbo@ip68-109-180-32.ph.ph.cox.net) joined #gnuenterprise. nickr_ (nick@e-64-35-146-235.empnet.net) joined #gnuenterprise. #gnuenterprise: mode change '+b *!*@199.243.96.2*' by saberhagen.freenode.net nickr_ (nick@e-64-35-146-235.empnet.net) left irc: No route to host Vee2d2 (~vin@c66.169.136.41.ts46v-07.ftwrth.tx.charter.com) left irc: Connection timed out jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) joined #gnuenterprise. dsmith (~user@mail.actron.com) joined #gnuenterprise. docstrings pt2 the umpire snorts crack the entire gnue devel tree is 5664k of .py bliss and knowing the way we document that means that we're only talking what? 5% of that is actually docs :) but even if it were 50% docs were talking < 3Meg memory if every gnue module was loaded into memory also python -OO optimizes the bytecode and strips docstrings but it still looks butt-ugly so it'll mesh better with its creators i've seen two samples of docstrings def foo(): """ I do nothing """ er def foo(): """ I do nothing Really. Its like I work for the state or something. """ or def foo(): """I do nothing Really. Its like I work for the state or something. """ I'd prefer the former if I had to choose if I had the choice, though I'd go w/the chick from Terminator 3 and let her do the commenting Ogart (~Chris@dialup-67.73.167.248.Dial1.Chicago1.Level3.net) joined #gnuenterprise. t3chick: "boy you eat a lot of donuts" t3chick: "are you going to be on that computer all night" t3chick: "does the fact I've put on 80 lbs bother you?" t3chick: "does the fact you've put on 80 lbs bother you?" also, docstrings let us do http://www.python.org/doc/current/lib/module-doctest.html which is of questionable value in my book but still it shows that python docstrings are the expected norm so I take it you want to go to docstrings? um no i'm trying to talk myself into them :) Emacs and Guile use something almost exactly like docstrings. Java uses structured comments. You don't want to be like Java, do you? dsmith: you should run for congress =) heh you'd fit right in i like javadoc alot a lot even jbailey (~jbailey@199.212.225.1) joined #gnuenterprise. MrKennie_ (Beer@mrkennie.developer.freenode) left irc: Read error: 104 (Connection reset by peer) jreynaga (~jreynaga@148.223.77.243) joined #gnuenterprise. Ogart (~Chris@dialup-67.73.167.248.Dial1.Chicago1.Level3.net) left irc: Remote closed the connection myname (~jreynaga@dsl-200-78-114-213.prod-infinitum.com.mx) joined #gnuenterprise. dneighbo_ (~dneighbo@ip68-109-180-32.ph.ph.cox.net) joined #gnuenterprise. dneighbo (~dneighbo@ip68-109-180-32.ph.ph.cox.net) left irc: Read error: 110 (Connection timed out) jreynaga (~jreynaga@148.223.77.243) left irc: Read error: 110 (Connection timed out) myname (~jreynaga@dsl-200-78-114-213.prod-infinitum.com.mx) left #gnuenterprise. myname (~jreynaga@dsl-200-78-114-213.prod-infinitum.com.mx) joined #gnuenterprise. well, it's a start http://www.math.ksu.edu/~jamest/testdoc/ in the upper left box scroll to bottom choose gnue.common.utils.TextUtils then in the lower left box either click on a function or on the top TextUtils link chillywilly: Did you object database stuff ever wind up in gnue? chillywilly: I have an unknown number of modules with unknown schemas that I need to store in a database, and I'd rather not have to touch the underlying sql schema. jamest: Looks Groovy! chillywilly: And i'm hoping your oql work might do what I need. =) jamest: can you upload the .py file so we can see what it looks like ? sure hang on I like that output, though it's vaporware jbailey I stopped working on odmg type things chillywilly: Yar. Okay, thanks. ODMG there some parser crap for old and godl (xml version of it) odl http://www.math.ksu.edu/~jamest/downloads/ TestUtils.txt offensive disgusting maldesigned gunk it's not too bad an api name changed to prevent my web server from butchering the .py file jbailey: there is some people who did an odmg compliant server wtf is that project called I haev the cvs checked out soemwhere have can't type chillywilly: No worries. I was mostly hoping that your stuff might help me do what I want. chillywilly: I want to use gnue anyone, since I need forms views for this anyway. (and may need appserver for triggers and such) this should also allow for the following the 4Sute people 4Suite chillywilly: The problem is that one of my modules is a data repository where any module can register SMI information. import doctest, gnue.common.utils.TextUtils siesel (jan@xdsl-213-196-211-91.netcologne.de) joined #gnuenterprise. er >>> import doctest, gnue.common.utils.TextUtils >>> doctest.testmod(gnue.common.utils.TextUtils) (0, 3) chillywilly: But I can't promise that I know the schema of the data at any given time, so I have to abstract the whole thing. and the samples in that doc *should* test themselves against the current function defs chillywilly: I had vague thoughts of an object hierarchy to handle it for me. hi guys 4Suite people have something call Ods called not got that to work yet uggh I guess I could get used to it bleh, their site locked up my galeon 4Suite's site was doing a search bitches galeon has been very crashhappy in the last few revs guess I need to slay the oafs and bonobos yes doh, that killed too much stuff somehow evolution survived though dimas (~dimas@195.218.177.46) left irc: Read error: 60 (Operation timed out) maybe cause I've staring at it for a while but it doesn't bother me much to look at it dimas (~dimas@195.218.177.46) joined #gnuenterprise. jamest: the gnue stuff you created looks good, I just think that we have todistinguish between private and public stuff like betweeen stuff which can be used by applications and stuff that shouldn't well i'm using the epydoc stuff to make this and it supports a private/public thing but i don't know what it keys on i like the tree breakdown too w/ the module and class heirarchy but to implement this system wide will be a _bitch_ but once done it also appears that python's doctest and unittest modules can pull test cases right from the comments that would be cool which makes me think that GBaseApp could soon support a --unitTest option I dunno if GBaseApp is the right place for that, but nevertheless adding unittest testcases is a must seems like there's no way around python doc strings, so if everybody ewants its, I m ok with it too. Action: siesel continues preparing exams siesel (jan@xdsl-213-196-211-91.netcologne.de) left irc: "later" oooo epydoc does show the inherited methods Action: jcater likes that i've alwyas liked the output of epydoc which is why I used it for the sample :) sjc (~sjc@cpc2-seve3-4-0-cust112.popl.cable.ntl.com) joined #gnuenterprise. Vee2d2 (~vin@c66.169.136.41.ts46v-07.ftwrth.tx.charter.com) joined #gnuenterprise. hmmm Action: reinhard just got a mail via info@gnue.org that his penis length will increase by 7 cm if he uses gnue reports or did i understand something wrong? you bet it will! and if you use those new docs at that url I gave, and check out the TextUtils does docs you'll find that you can do can use http://www.math.ksu.edu/~jamest/testdoc/public/toc-gnue.common.utils.TextUtils-module.html to get a sample of textToMeasurement() so that you can see what that is in inches wow! >>> textToMeasurement('7cm') 2.7559055118110236 oh wait did it say exactly that you'll grow 7cm or did it say you'll *get* 7cm as reports isn't really all that friendly and if it's get you may not like where those 7cm of penis wind up penis Action: reinhard starts to wonder how many hits the IRC logs will get in google searches now ;-) tonnes you all keep your penises away from my baby gnue-reports ewww pedophiles reports is just a baby you sick bastids it's a rough world chillywilly and jcater has a penis (i think) and knows how to use it (at least in reports) reports is just a baby but you ever see Family Guy? it's stuey Action: jamest really didn't want to verify any of that info first hand haha stuey reports wants to be shaken like I'm a british nanny? anyway based upon that sample, is this something worth doing? i think i like the end result quite a bit though it's adding lots o crap to the code base what is? are you still talking about inline docs ? yes heh does epydoc, et al, inherit doc strings i.e., if we fully describe what GBaseApp.foo() does and GClientApp intercepts it to do something first do we have to repeat the docstring in GClientApp? give me a sec and I'll test cool you're better than google running btw here are the commands bash-2.05b$ epydoc --html -o testdoc /home/jamest/svn/gnue/gnue-common/.cvsdevelbase/gnue/common bash-2.05b$ ~/bin/fixPHPxml testdoc/ where fixPHPxml is find $1 -name "*.html" -exec sed -i -e '//d' {} \; only needed if the web server hosting the docs has php installed php reads oh that kicks ass look at the gnue.common.apps package in that url click on GBaseApp and it'll list the known derived classes it'll only display that classes docstring if you visit GClientApp it will not display the docstring there but you can get to it from the inheritance tree at the top of the GClientApp page btami (~tamas@wrr.napnet.hu) joined #gnuenterprise. hi hi btami did you read the logs? i'm reading it right now 7 cm... for reinhard well, a little further up we're not really wanting to advertize that feature of gnue yet the absoluteWangSize() function is still too buggy rounding errors and all that fwiw we can also put docstrings in the __init__.py files in dirs like gnue/src apydoc output is very impressiv and those docs appear in the package descriptions _diego_ (~diego@ppp-217-133-245-154.cust-adsl.tiscali.it) joined #gnuenterprise. I think we should get our setup.py's to compile in -O0 mode though just mho Action: btami likes how jamest opinion changes about docstrings :) well, I'm game i'm liking them more now that jcater read they could indent the samples i've seen inthe past always showed left justified I'm game too but the next question is so we continue to use the epydoc markup language ? so that it can tag return types and add parameter descriptions, lists, etc? um is it the one that supported StructuredText too? yes and docbook as docstrings? er javadoc cool it supports ReStructuredText good enough for me how hard is it to get epydoc installed on ash? apt-get :) also http://www.math.ksu.edu/~jamest/downloads/pydoc.txt is the output of the epydoc stuff via bash-2.05b$ ~/bin/gcvs >>> import gnue.common.utils.TextUtils >>> import pydoc >>> pydoc.help(gnue.common.utils.TextUtils) which is quite readable IMHO myname (~jreynaga@dsl-200-78-114-213.prod-infinitum.com.mx) left irc: "Leaving" so when will you have gnue-common finished ? um hows 2006 sound? 8:06 pm? cool Action: jamest beats jcater with a user that happened to be passing by you plan on using restructuredtext markup? I like using structured text but unstructured code I've noticed with support for bullets, lists, italics, etc :) ah, epydoc does that too ok then that's good enough and links bold, etc ToyMan (~stuq@smtp.dstoys.com) left irc: "Client Exiting" I *want* one of those linksys progressive scan dvd players http://www.linksys.com/press/press.asp?prid=142 so it turns a $1000+ computer into a $50 DVD player? Action: jamest must be missing something here I've been planning on buying a dvd player. Why not get one with ethernet? :) btami, reinhard, others: you ok with this doc stuff? will it help? i like it Nick change: jcater -> reinhard_ yip Nick change: reinhard_ -> others surely wow concensus i think it will help me and new coders too if they want to join to gnue /msg btami it'll help old timers too but don't tell anyone : :) Nick change: others -> jcater Action: jamest peers into gnue.common.events reinhard didn't really want docs on that stuff did he? i'm ok with it the 7cm or that dvd player or gnue.common.events ? :) Action: btami ducks no reason he can't have it all port gnue to that player then a .py program dispatchEvent('initatePr0n', maxGrowth='7cm') given bugs we've seen in gnue in the past I would not trust suck a call err, such (freudian slip) rofl dsmith (~user@mail.actron.com) left irc: Remote closed the connection btami (~tamas@wrr.napnet.hu) left irc: "l8r" sigh trying to document the events a little and there was a bug i swore we were practicing BugFree(tm) koding no it was a misdirected featyre feature ok, i'll leave it in then we need more feaures kilo (~kg_kilo@fw.i-trade.hu) joined #gnuenterprise. dsmith (~user@mail.actron.com) joined #gnuenterprise. _diego_ (~diego@ppp-217-133-245-154.cust-adsl.tiscali.it) left irc: Connection timed out jreynaga (~jreynaga@dsl-200-78-114-213.prod-infinitum.com.mx) joined #gnuenterprise. _diego_ (~diego@ppp-217-133-246-253.cust-adsl.tiscali.it) joined #gnuenterprise. night all reinhard (~reinhard@M1264P004.adsl.highway.telekom.at) left irc: "Everything that is worth fighting for, is worthy fighting dirty for." myname (~jreynaga@148.223.77.243) joined #gnuenterprise. jreynaga (~jreynaga@dsl-200-78-114-213.prod-infinitum.com.mx) left irc: Read error: 60 (Operation timed out) myname (~jreynaga@148.223.77.243) left #gnuenterprise. myname (~jreynaga@148.223.77.243) joined #gnuenterprise. Vee2d2 (~vin@c66.169.136.41.ts46v-07.ftwrth.tx.charter.com) left irc: Read error: 60 (Operation timed out) Vee2d2 (~vin@c66.169.136.41.ts46v-07.ftwrth.tx.charter.com) joined #gnuenterprise. _diego_ (~diego@ppp-217-133-246-253.cust-adsl.tiscali.it) left irc: "Client exiting" jamest (~jamest@gw.math.ksu.edu) left #gnuenterprise ("Client exiting"). jbailey (~jbailey@199.212.225.1) left irc: "Client exiting" megatux (~chrisg@22.pchl5.xdsl.nauticom.net) joined #gnuenterprise. dsmith (~user@mail.actron.com) left irc: "Good Night Everyone!" Are there any app-server folks online? megatux (~chrisg@22.pchl5.xdsl.nauticom.net) left irc: "leaving" kilo (~kg_kilo@fw.i-trade.hu) left irc: jamest (~jamest@adsl-65-64-191-10.dsl.tpkaks.swbell.net) joined #gnuenterprise. sjc (~sjc@cpc2-seve3-4-0-cust112.popl.cable.ntl.com) left irc: "sleeping" jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) left irc: "Client exiting" myname (~jreynaga@148.223.77.243) left irc: Read error: 60 (Operation timed out) jcater (~jcater@cpe-066-061-071-147.midsouth.rr.com) joined #gnuenterprise. rdean (~rdean@c-66-177-153-39.se.client2.attbi.com) joined #gnuenterprise. jbailey (~jbailey@CPE00062579efac-CM014260028338.cpe.net.cable.rogers.com) joined #gnuenterprise. jamest (~jamest@adsl-65-64-191-10.dsl.tpkaks.swbell.net) left #gnuenterprise ("Client exiting"). Poincare (~jeff@D577A9AE.kabel.telenet.be) left irc: Read error: 113 (No route to host) Poincare (~jeff@D577A9AE.kabel.telenet.be) joined #gnuenterprise. Nick change: dneighbo_ -> derek jbailey (~jbailey@CPE00062579efac-CM014260028338.cpe.net.cable.rogers.com) left irc: "Client exiting" #gnuenterprise: mode change '+o jcater' by ChanServ!ChanServ@services. Topic changed on #gnuenterprise by jcater!~jcater@cpe-066-061-071-147.midsouth.rr.com: All tools now have python API docs autogenerated at http://www.gnuenterprise.org/docs//api (tool={appserver|common|forms|reports|...}); Also, technotes at http://www.gnuenterprise.org/docs//technotes/ jcater (~jcater@cpe-066-061-071-147.midsouth.rr.com) left irc: "sleep" wtg (~merlinx@ppp188-131.lns1.bne1.internode.on.net) left irc: Read error: 60 (Operation timed out) --- Fri Jan 9 2004