just enough to keep the riff raff out --- Thu Jul 25 2002 im curious on ipcop if it might be good for my buddy i just hate to recommend never trying for myself as i will be the support if he has issues :) dneighbo: it has to do with more than ppl getting at your stuff that's only one reason you should be a responsible netizen if you have a machine always on the net i.e., I don't want mine used for DoS'ing (besides, there's a liability issue there yes agree i want a firewall and a goodone as technically I am responsible for anything originating from my machine) obviously or i wouldnt be going through this headache right now just saying i probably wont be putting as much effort into it as say a National Bank does ipcop run on alpha processor? as my ultimate goal was to get debian installed on my DEC Alpha machine no and use it as my gateway/firewall/wireless ipcop is a KISS firewall/dhcp/gateway as it has built in pcmcia and is really slim hmmm now you have me wanting to try it don't wipe what you have but you should test it sometime i.e., just be aware of it when someone else wants a linux firewall Action: jcater kicks wx around a bit the damn thing won't let go of mouse events now can someone with a graphic browser and of course a search for "wxpython releasing mouse" on google returns US grrrr lookup dc1003J digital network linux in google and try to tell me what driver to use? i have unknown network card the chip says digital 21040-AA DC1003J 21-40593-02 DEC 1993 S42167-15 That appears to be an SMC EtherPower PCI card A 9501 with a Digital chipset ok what driver in 2.4? if you happen to know duh well google returned 3 hits all OS/2 Action: jcater searches google groups i suppose if i plugged the fricker in and ran lspci -v i would get more info brb rebooting dneighbo (~dneighbo@cpe-24-221-112-50.az.sprintbbd.net) left irc: "[BX] Pretzel Boy uses BitchX. Shouldn't you?" jcater_ (~jason@cpe-024-165-223-104.midsouth.rr.com) joined #gnuenterprise. jcater (~jason@cpe-024-165-223-104.midsouth.rr.com) left irc: Read error: 104 (Connection reset by peer) Nick change: jcater_ -> jcater dneighbo (~dneighbo@cpe-24-221-112-50.az.sprintbbd.net) joined #gnuenterprise. help ok new card is tulip driver same as other card in there both come and work i can ping out to net and ping internally on this box now HOWEVER now none of my other boxes can use net they can ping this box 192.168.100.90 but not anything on the net are they set up to use 192.168.100.90 as their default gateway? apt-get install ipmasq states ipmasq is already installed any suggestions yes they are gateway 192.168.100.90 in the interfaces file for them hmm Action: jcater is thinking Action: jcater doesn't use linux for any NATing i had similar issue before i think i restarted networking on both machines still no dice woudl a route or something tell me something is there some config of ipmasq i need to do on this box? /etc/ipmasq/rules/A01interfaces.rul ? or /etc/ipmasq/rules/* ? is ip_forwarding enabled? ipchains setup? for the record this machine was working two days ago i upgraded the kernel and things stopped working i replaced the isa card with the pci one from which to which kernel? upgraded with a stock debian kernel? and both cards work but ipmasq doesnt or a custom compiled kernel? yes stock, i see no reason to compile kernels what does lsmod show? 2.2.x to 2.4.18 whoa, big jump /bin/sh: lsmod: command not found well for 1 i think firewalling techniques changed from 2.2 to 2.4..... no? wtf? no lsmod? something is whack Maniac they definitely did bedtime this is debian right? jcater if you arent root you dont have lsmod ;) jhs (~jhs@cs6668105-78.austin.rr.com) joined #gnuenterprise. Action: jcater isn't root jason@jcater:~/cvs/gnue$ lsmod Module Size Used by Tainted: PF Mvnetd 8848 1 (unused) Mvnet 52054 0 [Mvnetd] ... Module Size Used by Not tainted parport_pc 22056 1 (autoclean) lp 6368 0 (autoclean) parport 22976 1 (autoclean) [parport_pc lp] iptable_nat 12980 0 (unused) ip_conntrack 12940 1 [iptable_nat] ip_tables 10528 3 [iptable_nat] tulip 37408 2 ide-floppy 11168 0 rtc 5528 0 (autoclean) unix 13316 7 (autoclean) ide-disk 6624 5 (autoclean) ide-probe-mod 8064 0 (autoclean) ide-mod 130860 5 (autoclean) [ide-floppy ide-disk ide-probe-mod] ext3 56736 4 (autoclean) jbd 35048 4 (autoclean) [ext3] have you set up iptable scripts? up whats nuts is i just did apt-get install iptables and it wasnt there i.e. its downloading now sigh was expecting change in firewall but not routing hmm iptables installed but doesnt seem to do anything Action: jcater isn't sure ipmasq will work with iptables iptables only installs support you have to create your own rules is there a good doc somewhere? nevermind i dont have gui to read it Action: dneighbo has no clue on iptable scrips is there some tool to aide in this? sigh now im thinking this is why i had a 2.2 kernel i didnt want to forgo the netfilter/iptables headache brb dneighbo (~dneighbo@cpe-24-221-112-50.az.sprintbbd.net) left irc: "[BX] Leggo my Eggo!" jcater (~jason@cpe-024-165-223-104.midsouth.rr.com) left irc: Read error: 110 (Connection timed out) ra3vat (~ds@ics.elcom.ru) left irc: Read error: 110 (Connection timed out) ra3vat (~ds@ics.elcom.ru) joined #gnuenterprise. jhs (~jhs@cs6668105-78.austin.rr.com) left irc: Read error: 110 (Connection timed out) ariel_ (~ariel@ppp-217-133-245-216.dialup.tiscali.it) left irc: "Uscita dal client" dneighbo (~dneighbo@cpe-24-221-112-50.az.sprintbbd.net) joined #gnuenterprise. wtf i have done nothing and im live now? i figured i woudl give up and get x workign on that machine so i could try to use firestarted er firestarter come back to thsi machine and now it can see the net Action: dneighbo scratches head dneighbo (~dneighbo@cpe-24-221-112-50.az.sprintbbd.net) left irc: Remote closed the connection Arturas (arturas@bit.codeworks.lt) joined #gnuenterprise. Hello jhs (~jhs@cs6668105-78.austin.rr.com) joined #gnuenterprise. kostich_ (kostich@195.209.45.135) left irc: kostich (kostich@195.209.45.135) joined #gnuenterprise. kostich (kostich@195.209.45.135) left irc: jhs (~jhs@cs6668105-78.austin.rr.com) left irc: Read error: 110 (Connection timed out) ariel_ (~ariel@ppp-217-133-246-127.dialup.tiscali.it) joined #gnuenterprise. reinhard (~rm@62.47.247.178) joined #gnuenterprise. jhs (~jhs@cs6668105-78.austin.rr.com) joined #gnuenterprise. hi bbl Arturas (arturas@bit.codeworks.lt) left irc: "Client Exiting" jhs (~jhs@cs6668105-78.austin.rr.com) left irc: Read error: 110 (Connection timed out) jhs (~jhs@cs6668105-78.austin.rr.com) joined #gnuenterprise. jeffsw110 (~kopeteuse@146.145.164.54) joined #gnuenterprise. jhs (~jhs@cs6668105-78.austin.rr.com) left irc: Read error: 110 (Connection timed out) jamest (~jamest@hobbes.math.ksu.edu) joined #gnuenterprise. chrono_ (~chrono@pD9EB3719.dip.t-dialin.net) left irc: Remote closed the connection dneighbo (~dneighbo@cpe-24-221-112-50.az.sprintbbd.net) joined #gnuenterprise. hi dneighbo hi ajmitch you are up early nope or you never went down ;) it's 1am here ah for some reason i was thinking like a 3 hour diff nah which would mean it was 3am there SachaS (~Sacha@dialup-196-125.wasp.net.au) joined #gnuenterprise. reinhard: 3hour +1 day ;) heh hmm, i've yet to try out designer changes i'm behind in my uni homework tho, which needs done by tomorrow ;) Action: ajmitch opens emacs & tries to recall latex syntax \begin{document} \end{document} the sap-db team is just too cool hi jamest how was vacation? i heard on NPR or somewhere yesterday that there is an investigation on AOL accounting practices? Action: dneighbo is curious if they will go way of enron/mci/etc Action: ajmitch looks at the geeks4christ website http://www.msnbc.com/news/785116.asp confirmation to that 'i heard' vacation good where did you go brason, mo hi jamest jamest: hillbilly j/k i assume you meant branson Arturas (arturas@bit.codeworks.lt) joined #gnuenterprise. Action: dneighbo wonders if anyone outside KS, MO, AR, TN knows what branson is :) whoops, yip branson you do shows down there? or theme parks? or just sit and do nothingness (the best kind of vacation) Action: dneighbo thinks you should have told jcater to meet you there ;) btw: i was thinking branson would be good central place to have GNUe conference not NZ? um i would love to come to NZ like really really love to come NZ might work OK but us americans get confused when everyone around us is named andrew three places i would to visit a. New Zealand/Australia b. France/Germany/Italy (Europe) c. Israel (just not right now too much turmoil) what? no KS? man jamest: i have been there WAY to much what you got against dried up crops and cows? remember i originate from Kansas City ToyMan (~Stuart@smtp.dstoys.com) joined #gnuenterprise. Action: dneighbo throws the chains around ToyMan hahaha have you now hey dneighbo ;-) just back from Wisco spent 24 hours in the Cincin airport :-( dneighbo: it worries me that you didn't mention Austria in point b. ;-) dneighbo, jamest - what are you doing here in the middle of the night?? :) Arturas: what? it's only 1:40 here! 1) here = ? dres_ (~dres@4.18.171.42) left irc: Read error: 104 (Connection reset by peer) 2) 1:40 => AM or PM ? in Lithuania is already 3:40 :) anyway, can we then discuss a bit about i18n? now we can have translated menus 1:40 am here of course :) here == NZ ajmitch: it's very informative :/ :) and today == friday :) ah have i18n data and manipulate with it in fields what else do we need? jhs (~jhs@cs6668105-78.austin.rr.com) joined #gnuenterprise. ToyMan: thats just wrong heh, I'll say.. reinhard: austria is to be implied with the (europe) comment line of t-storms closed all the airports on the east coast Arturas: I have 0 time for things right now, playing catchup jamest: apt-get install catchup tells me no such package is this a windows game? ok, i'll try to catch you in the day-time (my evening :) dneighbo: i think it was a typo, should have been ketchup :) jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) joined #gnuenterprise. good morning Jason :) hi jcater wassup? hey, this was just a friendly 'hello' :) hi jcater hi all the syntax for foreign keys that you and jan are definining is not what the xsl's are expecting Action: jcater has not defined any foreign keys that whole thing needs to be discussed as jan is doing a lot of stuff in there in schema that has not been discussed via the main stream so it is better that i speak to jan well ok that wasn't my point but sure Nick change: SachaS -> SachaS_away ToyMan_ (~stuq@smtp.dstoys.com) joined #gnuenterprise. ToyMan (~Stuart@smtp.dstoys.com) left irc: "Client Exiting" jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) left irc: "later" dres (~dres@mail.lewismoss.org) joined #gnuenterprise. jhs (~jhs@cs6668105-78.austin.rr.com) left irc: Read error: 110 (Connection timed out) bye bye ariel_ (~ariel@ppp-217-133-246-127.dialup.tiscali.it) left irc: "Uscita dal client" gack where did jcater go? jhs (~jhs@cs6668105-78.austin.rr.com) joined #gnuenterprise. neep bye Arturas (arturas@bit.codeworks.lt) left irc: "Client Exiting" Nick change: bkuhnIdle -> bkuhn jeffsw110 (~kopeteuse@146.145.164.54) left irc: "Using Kopete IRC Plugin" jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) joined #gnuenterprise. jhs (~jhs@cs6668105-78.austin.rr.com) left irc: Read error: 110 (Connection timed out) dneighbo (~dneighbo@cpe-24-221-112-50.az.sprintbbd.net) left irc: "Client Exiting" jhs (~jhs@cs6668105-78.austin.rr.com) joined #gnuenterprise. dneighbo (~dneighbo@tmp-200253.flinthills.com) joined #gnuenterprise. psu (~psu@manorcon.demon.co.uk) joined #gnuenterprise. psu (~psu@manorcon.demon.co.uk) left irc: No route to host bbs big boob syndrome? jhs (~jhs@cs6668105-78.austin.rr.com) left irc: Read error: 110 (Connection timed out) jhs (~jhs@cs6668105-78.austin.rr.com) joined #gnuenterprise. ariel_ (~ariel@ppp-217-133-246-38.dialup.tiscali.it) joined #gnuenterprise. jhs (~jhs@cs6668105-78.austin.rr.com) left irc: Read error: 110 (Connection timed out) ToyMan_ (~stuq@smtp.dstoys.com) left irc: "Client Exiting" reinhard (~rm@62.47.247.178) left irc: "No problem is so interesting that you can't just walk away from it" Eraserhd (~jasonf@h-66-166-85-122.SFLDMIDN.covad.net) joined #gnuenterprise. Anyone with authority on xml2sql, .gsd in here? siesel (jan@dial-194-8-196-96.netcologne.de) joined #gnuenterprise. hi ! hello. btami (~btami@195.228.11.44) joined #gnuenterprise. hi Eraserhd: possibly I can help you? (xml2sql) siesel: i have some issues about schema hehe, me too. First a note: I'm not using gnue or working on it, but in the spirit of not inventing wheels, would like to use xml2sql. xml2sql is really in the early stages (maybe you remember me from a whil back). I don't think we are satisfied with its current state just fyi :) jcater: I plan on doing some hacking on _something_ ;-) siesel: in sample.gsd tags has no field attrib Action: jcater wasn't discouraging you just doing full disclosure :) Action: Eraserhd grins. btami: yes, it should be this way. value is optional. the idea of xml2sql is it will be part of common i just read GSParser.py any product with a gpl compatiable license may use it i dont necessarily seeing us packaging it outside common as ultimately in will be a tool too small in the toolbox of GNUe to segregrate out i think the idea is that integrator and designer will provide solid interfaces to it Eraserhd so what were you thinking or what questions do you have? siesel: field attrib is required on tags Well, first thing is what is the thinking about having tag? ... instead of just putting in ? btami, In my understanding: field shouldn't be required, so I will change that 1 to a 0 in GSParser.py Maybe I should back up a bit... I would like to collect multiple schemas into a composite schema. can i ask before more changes are made to .gsd that they be documented and sent to dev list siesel: but that way you can use it limited, only with all columns as i dont have time currently to necessarily discuss in irc and i want to make sure its heading in directions we intended Eraserhd explain more end game im thinking you do this with includes so schema1.gsd has and schema2.gsd dneighbor: the includes could conceivably overlap, so the "combinator" would have to be smarter. example: and if you wanted both all_schema.gsd file1:
... file2:
or if you use a diff utility you need a: GNUe schema tranlation hint file /tranlation/transformation/ The hints would have to be fairly complex. Here's an example I just did today: Used to have `record_deleted bool', changed it to `record_deleted timestamp' and `record_deleted_by text' and record_deleted is null <=> record_deleted = true. The hint would also have to take into account different versions. ... e.g. if I change `record_deleted' in the future, and client skips a version. I don't think there's a way around a tested upgrade script, but the diff utility (which prompts) is useful for developing on one db and publishing to another. I'm thinking there should be two levels to the XML. The upper level is the .gsd, the lower level is abstracted SQL syntax. lower level = jamest (~jamest@hobbes.math.ksu.edu) left #gnuenterprise. Use .xsl to convert lower level to pgsql/mysql/MS. jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) left irc: "Client Exiting" Use .xsl to convert .gsd to .xsql (?) Use program to collect .xsls. ur, .gsds btami (~btami@195.228.11.44) left #gnuenterprise. hmmm... pattieja (~pattieja@www.pcxperience.com) left irc: "[x]chat" Another question... if I write my stuff in C, does that hinder its use in the GNUe project? I hear they string up C programmers at the edge of town as a warning siesel i dont see why create another thing Eraserhd i would say all upgrade files are preserved bbl so you have 1.0.gsd and then you move to 1.1.gsd and produce 1.0to1.1.gsd and then 1.1.gsd becomes 2.0.gsd and you produce a 1.1to2.0.gsd then 2.0.gsd become 98.gsd (this is a redmond version release) dneighbor: okay, that works. and produce a 2.0to98.gsd if someone never upgraded from 1.0 but wants to move to 98 the simply apply the upgrades in succession 1.1to1.1.gsd 1.1to2.0.gsd 2.0to98.gsd OK, but why would the upgrade be a .gsd? why not The .gsd is sort of a declarative "this is what the database looks like", whereas the upgrade file is a "here's how to get from a to b" i see it in my simple mind long term having the dif program so i do a here is what it looks like (db independent) then i do a here is what it looks like now (db independent) and produce a diff (which only makes sense to be db independent) i guess for me is i see upgrades as drops adds and such alters which are just additional 'syntax' Well, right, but there aren't any of those in a .gsd i.e. if gsd does insert create update or such i see no problem making it support alter drop add Hmm. I don't like that. would it make everyone feel warm and fuzzy to have a .gud gnue update defition and maintain yet ANOTHER .xsl file? What about the two-level thing I was talking about above? i guess im not seeing the reasoning for having separate I think it actually makes things simpler. other than a fetish unlike the i dont like my peas to touch my mashed potatoes Action: Eraserhd . o O ( my wife has to eat things in order... ) hehe. i guess my feeble minds sees the guts as the same so i dont see a need to make something 'different' I'm thinking that how I plan to use this is tainting the conversation... at this point, I don't care about db independence for my project. ... perhaps in the future, but then I've hacked the PostgreSQL parser, pulled it out, and done strange things with it, so PostgreSQL is pretty language independent for me ;-) to me that is only reason xml2sql is around (db independence) well after you try SAP-DB you will be wishing everything you have for postgres was done with xml2sql so you had a quick migration path SAP-DB? postgres is a good little database, but it has friggin issues is sap really that much better? not as many as mysql but still nearly everytime i go to do complex things i get bit in the arse their demanding of having things cast is silly at best example: for doubting thomas' (one i hit yesteraday) do that's a penalty of the flexibility of their typ system. s/typ/type/ select some_field, some_other_field from sometable and it will work then do select DISTINCT some_field, some_other_field from sometable and it will work then do select 'placeholder' as some_holder, some_field, some_other_field from sometable and it will work thne do select DISTINCT 'placeholder' as some_holder, some_field, some_other_field from sometable and it will fail hehe I see why. and thats perfectly valid SQL syntax select DISTINCT 'placeholder'::text as some_holder, some_field, some_other_field from sometable will work but thats just deplorable and it gets worse doing operators on integer/float must be cast which is fine if you only want to use postgres but if you are doing any kind of x DB stuff you are hosed as its so non standard dres: but its better cause you get more well mysql says table level locking is good cause its faster I've never really needed to port SQL code, so I don't worry about it. i say 'bad logic poncho' except for extreme circumstances :) postgres has other oddities as well its still a good db Action: Eraserhd . o O ( ALTER TABLE DROP COLUMN.... oh, wait ) but from what i have seen of SAP-DB i think thats where its at especially because its supported on windows exponentially better Hmm... commercial or Free? GPL so even a better license than postgres ;) Action: Eraserhd puts SAP-db on his to-investigate list. plus they have about 100 developer unit still actively developing it and specifically they have 3 folks committed to the Free/Open Source community Is this IBM? and my interaction has been nothing less than spectacular SAP AG every tool in the kit is LGPL and the database is GPL they released make environment (custom vmake) as LGPL on request within 14 days SAP like multi-million-dollar-ERP? they provide cd's for free including shipping of product (windows/*nix) plus source yes like SAP ERP we have committment from the SAP-DB team to work with us on any issues we find in the python driver for SAP-DB Cool. as stated before, i was stunned i expected them to present themselves totally different to the community or that SAP-DB was dead and thats why they put under the GPL but I really dont think that is the case from what i have seen SAP AG might be one of the few big boys that actually gets free software i.e. SAP-DB was not a money maker for them anymore (oracle and mssql and db2) were always chosen instead but they wanted to keep it for those customers who do use it and believed in it they figured making it GPL would help draw some new blood outside SAP R/3 users No offense, but you're preaching now ;-) and make it a better product (i think that its working) they ahve gone done at least 2 new releases under the GPL :) yes i am i think people should take a look at it, and i know psu likely will put in a KC Back to .gsd, may we? so i figure i might as well say my peace rather than repeat in a few days when someone else asks :) yes we may Action: Eraserhd promises to take a look at it uhhhhh.... where were we... oh, how I want to use it. Each .php file in my large (74,945 line) project should define it's own "interface" to the database. A schema, if you will. I need a program to collect these interfaces and aggregate them. ^chewie (chewie@c-24-245-14-189.mn.client2.attbi.com) joined #gnuenterprise. It should also validate that none of them conflict. So, its not useful to declare a primary key in this case, as two different files can declare their own unique keys. (as an example). Each file might declare one row in a table, also. But the fields in the table would be from file a and file b and file c. (it's hard to explain). So one file might say, "I use fw_user.user_id of type text, and fw_user.user_full_name of type text, and I expect that user_id is a unique key." And another might say, "I use fw_user.user_id of type text, and fw_user.user_email_contact of type bool, and I expect that user_id is a unique key." I see each of these as a separate .gsd (this may be the problem). These two get processed into a composite .gsd by a heretofore only imagined process. Then the .gsd gets processed, either directly or indirectly into PostgreSQL sql statements. Also the diff utility. ... it would work on .gsd files. hmmm i think this is outside scope of our toolset or direction gsd is mainly way to get cross db definitions what you could POSSIBLY do is write out each one as a .gsd then write a program that uses an xml parser to aggregrate them and resolve the issues that lie within and spit out a consolidated .gsd i could see us willing to support includes but that doesnt solve your issue i.e. if file 1 and file 2 above (in your example) were different tables then we could do each one as a .gsd then have a master.gsd that cleverly includes them but when you have to get in a case of 'merging' things thats not the intention of gsd (and its tools) but certainly i think you could as stated do a program using an existing xml parser to do the 'merge' and 'consolidate to spit out a done file unless of course im missing the problem domain Nope. But I hope I've illustrated why I'm thinking ".gsd = declarative, something else = imperative" Nick change: bkuhn -> bkuhnIdle not necessarily dang did i miss bkuhnIdle i really want to know how oscon is going The current stuff will not work with the imagined aggregating program. It expects to know all the columns involved and what order they are in. i would have to revisit the spec (admittedly its been a while) if you have a program doing this im not sure what the issue is I don't have one yet (merging .gsd-like things). Right now, all database maintenance is manual, there are unused fields that we can't even figure out if we are using. (that's another diff problem) It's a mess. We have three separate clients using the same framework code. ... and we basically just put all extra user fields in all tables. er, s/all tables/user table in each database/ Grantbow (~grantbow@12-233-20-180.client.attbi.com) left irc: Read error: 104 (Connection reset by peer) Action: Eraserhd is thunk out for the day. :) take solace in that it could be worse you could have written it in perl ;)( ahahahaa. I've already decided the next rewrite of our framework will be in Scheme ;-) I already hacked a patch to bigloo to make their LALR parser generator support operator precedence and associativity, then wrote a full PHP parser with it. Action: Eraserhd . o O ( my brain hurts just remembering the LALR thing ) Action: Eraserhd . o O ( two weeks of red dragon book... ow ow ow ow ) Welp, I'm going to hack some prototypes for this stuff. I'll post for comments and more discussion in a few days, perhaps. Action: siesel is back Eraserhd: the merging of schemata should be done with gnue-designer ? ariel_ (~ariel@ppp-217-133-246-38.dialup.tiscali.it) left irc: Read error: 113 (No route to host) its quite easy to add wizards, so writing a "merge schema X wizard" should be quite easy. I'm using this outside of GNUe, really. ariel_ (~ariel@ppp-217-133-246-38.dialup.tiscali.it) joined #gnuenterprise. siesel i think that might not be an all bad idea i dont think it belongs as part of .gsd or xslt stuff I need to merge... 390... little ones. but a program should be able to do it and certainly that program could be launched by designer (But i think he said it was php) so not using GNUe really jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) joined #gnuenterprise. Yes, but if I understand Eraserhd right, his application is PHP, which doesn't mean that he cannot use a GNUe Development tool StyXman (~mdione@modem126-adsl1.cordoba.sinectis.com.ar) joined #gnuenterprise. hi peop... siesel: the utility I would write would be C (prolly). Eraserhd: doing it for 390 files, automaticly possibly as a nightly cron job? The application I'd be using it on is PHP. true, but wouldnt seem to make a lot of sense that was for siesel Eraserhd you are nuts C? python or perl would probably be best suited easy to program in and good xml parsing abilities xml parsing in C is well painful Oh its not so bab bad Only as painful as, say, getting a colonoscopy nickr: you know if im suggesting perl over it, it has to be pretty gross ;) Maybe I'll hack the prototype in python, but I usually end up rewriting that stuff in C. jcater: you there? gah Like, maybe I'll need bison to check SQL expressions. btw. 1. any objection against ? StyXman: depends am I in trouble? nope or you do, depends if helping troubles you :) wassup? siesel: why not ? It behaves differently from the other constraints, right? I have the sctroll bar to detect how much records are there and in which one the 'cusrsor' is. that was easy. siesel: I don't like uniqueKey/index/primaryKey, those should be the same, though. now, I have this event listener... what params are sent to the method? I have a 'event' but... siesel: but all said, I just care if it works. (I guess I better research myself...) Eraserhd: I can understand why differentiating between index and uniq index (=primary key), but doing 2 ways of specifying uniq keys possibly makes programming a bit complicated :) jcater: nevermind. I found it. siesel: Well, I don't care much for primaryKey at all, but I think that there already is primary vs. unique in there, right? siesel, i need time to look at what we have and where we are giong i like the idea of on a 300 foot view i think agree with what you have there yea, me too, it just was not defined in dcl.xml, so I had nothing to copy from ;) run it by jcater hmmm i thought it was in there there is a ah ok i meant constraint tag not necessarily foreignkey type :) i think that looks good enough to be a start if we need to refine it we do so python question: is there something like class enums? no enums :( my ONE gripe w/python jcater: where did you define that Introspection (db tables to schema) stuff gnue/designer/templates/schema/Introspection.py iirc jcater: i thought they had a clever work around to this ? Aha, now I know why "grep GSField */src/*/*.py doesn't showed valid results. ^chewie (chewie@c-24-245-14-189.mn.client2.attbi.com) left #gnuenterprise. jcater you might look at http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/67107 or enum.py http://wwwhome.cs.utwente.nl/~gansevle/python/Enum.py or http://www.faqts.com/knowledge_base/view.phtml/aid/4415 or best http://www.norvig.com/python-iaq.html (and search for enums) this page has other cool tips too and no 'static' data? nevermind, I'm desvariating jcater: if I want to show something in the root pane of the schema designer, then I have to add it in LayoutEditor.py? yes dneighbo: yeah, but that stuff is a little different iow, it will suffice but, bleh did they add mutable strings in 2.x? or is that still lacking it will be interesting to hear what python 3.0 will hold well, it will be interesting to see python after we become even more major as zope had the most influence on the development of 2.x :) i think gnue will be one of python's glory projects soon as well as wxWindows Action: jcater REALLY hopes we can influence DB_SIG 3.0 we certainly abuse both of them a lot rofl probably not no, seriously read over the spec DBSIG 2 is primarily for reading data good or bad? i.e., non-transactional stuff iow, DBSIG 2 was written to create a standard so that Zope could get a lot of drivers so it is really web-oriented right we will fix that btw. which debian package holds the wxpython demo files? Action: jcater thinks you'll need to grab the tarballs Action: jcater is pretty sure of that *sniff* hi all! 'sup? just finished at uni hi ajmitch ajmitch: your studying? your career? StyXman: study for today since it's friday afternoon, i've got the weekend off wow! you in new zealand, right? the only place where is saturday on friday :) haha jcater: now I want the scroll events to be translated in datasource (or should it be block) movements... must/can I use gfinstance's previousRecord and the others? yes greit. that is what you should use StyXman how do you guys plan do the changes i know you were running own tree i talked to FSF yesterday i think they said all your assignments are back in their hands and they are just waiting for brad to get back from San Diego to sign them so i think we are probably ok to start taking patches from the papo pals ;) uh, we'll stick to our tree till everything's in place. then... well, yogur2 is the cvs guy, you should contact him. jcater: works! f***ing greit! :) his e-mail is charlie@vialibre.org.ar, just in case you don't have it at hand.... StyXman im more concerned that the longer it is the harder it will be to do i didnt know you guys were doing own tree :( as i would have told you we would take patches on good faith to avoid having to merge really stale trees together uh, we're not puttin too much stuff in. at least, nothing that can clash on your works... do you plan on keeping own tree long term we would rather avoid a fork or dual trees as it will make for LOTS of errors merging code trees dneighbo: we have our own tree just for keep our things in sync among us. why not use the gnue tree? er gnue cvs long term Action: dneighbo just gets nervous that we will be playing the reintroducing fixed bugs game i have seen in places ive worked 'cause we don't have cvs access tou your tree? and because our contract with gnu are not revised yet? ok, the contract piece i think will be resolved by weeks end or early next week cvs access is very easy to sort out, i'd imagine im not sure best answer going forward as there was thought of giong to colonels like the linux kernel i.e. limited cvs write access heads of state and way to do things is submit patches for review and then colonel applies them if accepted right however there are many practical issues with that as far as resources go Action: ajmitch doesn't see colonel around today how are arun and ravi? dneighbo: ah? arun's ok, he comes on irc every so often (was in here the other day) don't see any of the others like radi, tho arun was looking for GNUe info for an expo - since he's with FSF-India dneighbo: and having cvs, we can give you a patch you can review. rdean (rdean@chcgil2-ar2-4-64-030-076.chcgil2.dsl-verizon.net) joined #gnuenterprise. jcater: do you know how to draw into a panel? ? siesel take out your marker remove cap put sponge side on monitor easy joke :) drag over panel and now you have drawn into the panel but dont yell at me if your mom kicks your butt for coloring on the nice toys hey! now i can't see irc ajmitch: you won't miss much this won't be a problem, I can just tell "Jasper (my son) did it" :) how old is he? :) 20 month jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) left irc: Remote closed the connection dneighbo (~dneighbo@tmp-200253.flinthills.com) left irc: "home" siesel (jan@dial-194-8-196-96.netcologne.de) left irc: "night all" StyXman (~mdione@modem126-adsl1.cordoba.sinectis.com.ar) left irc: ""finished!"" rdean (rdean@chcgil2-ar2-4-64-030-076.chcgil2.dsl-verizon.net) left irc: "Client Exiting" AnZaC (AnZaC@adsl-208-191-254-126.dsl.ltrkar.swbell.net) joined #gnuenterprise. evenin', folks.. anyone have experience with DCL (Double Choco Latte)? hi AnZaC Evenin', aj derek certiainly does, but he just left yeah.. I received a reply to my post on sourceforge... he advised that I cruise over this way hmm ok darn it.. keep JUST missing him :) well, 30min :) ok.. pretty close :) interesting nick, you from .au/.nz? No.. I knew the question would come up... hehe ;) Just a nick I picked up about 9 yrs ago... it stuck with me ok Anybody else you can think of with some DCL expertise? none that are still here :) argh.. oh well... sorry hey.. and it's ALL YOUR FAULT, too... ya shouldn't have kicked 'em out! *grin* no problem... Action: ajmitch breaks down & cries Action: AnZaC has that effect on people sometimes... hehe Eraserhd (~jasonf@h-66-166-85-122.SFLDMIDN.covad.net) left irc: "Read error: 1.732050808 (Excessive square root of 3)" Alrighty... I'll stop back by in a little bit.. see if I can get lucky thanks Hey, and if ya see Derek, let him know I'm lookin' for him... ok sure Thanks, man. Have a great night if I don't catch you later. i'll let him know that someone's out to get him HA! Yeah... do that night? Action: ajmitch is in NZ ;) It's evening here.. Ahhhh I'm a bloody Yank, mate! jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) joined #gnuenterprise. hey jcater knows dcl corner him LOL Care to let me grill you right quick, jcater? jcater: your esteemed wisdom is required Action: ajmitch wonders if jcater is really there, or if it's a ghost Action: jcater is a ghost Action: jcater uses DCL somewhat thought so not a wizard by any means Ok.. here's my question.... no sweat jhs_ (~jhs@cs6668105-78.austin.rr.com) left irc: Read error: 110 (Connection timed out) I'm lookin' to find a way to use an outside php script to create trouble tickets through the DCL functionality.. that make sense? As in, I'd like to be able to pass in all the information required to the function.. and let DCL run with the ball... know anything about how one might go about that? yes look at the email gateway it does just that Yeah, but I don't own my web box so I'm not sure I can make that work err, I mean as an example of what to do I'd LOVe to do that okay... because it is not part of the main dcl php stuff Okay... this is makin' sense... Where in the source is the email gateway? (sorry for buggin' ya.. just d/l'd the package yesterday) um I'm not sure you can probably do a "find . -name 'email*' Ah.. that might work... Action: jcater is 90 miles from my desktop, so I can't look at the moment that's why I'm just offering suggestions ya think in the "include" directory? otherwise I'd look for you Hey, no sweat I appreciate the suggestion! Hmmm... Action: AnZaC is surfin' the source code Hmm... didn't see anything that looked like it in the included classes... Know anything about setting up the gateway, by chance? Does one require root access for that? try contrib/gateway Yeah... I just stumble onto the script... but my PERL is RUSTY yeah.. and apparently, so is my grammar um Action: jcater has never tried it no problem... but I imagine you could set up a fetchmail script that runs like every 10 or so minutes that fetches mail from an account and pipes it into dcl-gateway.pl that wouldn't require root access Hmm.. or would that be a procmail script Sorry, man.. I was a comp sci major in college, but I've been flyin' planes since.. any place I could look to get some assistance to do that? It'd sure be great to try hmm looking at the perl script I think this would work I'm just a needy guy... can you get the sysadmin to give you an account just for dcl emails? if so, then I think you can just log into that account and create a .procmailrc hang on... I should be able to set up the email account... not sure about the .procmailrc are these actual system accounts for the email? or is this some sort of virtual host setup? one sec... Action: jcater imagines the .procmailrc file (in the mail account 's home directory would look like: :0fw | /path/to/dcl-gateway.pl and you would need a .forward file that contained one line: " err " | /usr/bin/procmail -t" Action: jcater *thinks* that's all you would have to do yeah... I'm thinkin' it's going to be a "virtual" deal... I remember .forward files and stuff now that you mentioned it.. been a while that makes sense... so you can create .forward files, or no? let me take a look at what I've got here... one sec Hmmm... don't think it's gonna be THAT easy I wish jcater: could you not pipe to the dcl gateway from .forward? Looks like that's what the .forward file he just suggested would do My only problem is that I don't think the email addy that I can create would actually have its OWN .forward file... hmm ajmitch: doh! yeah Action: jcater blushes If I could get some sort of POP3 mail fetchin' script like you mentioned that would pipe the email through the PERL script... that might just work well, I'm not sure where to start there :) fetchmail may allow piping, not sure Hmm... tryin' something... one sec.. thanks Hmmmm... interesting... one sec.. may have something. I think I MAY have found a way to work this with the .forward... any way I can set up the .forward file to ONLY forward email with XXXX in the subj? XXXX as an example like run a grep and if it returns as not an empty data set, forward the mesg? I dunno.. been a while since I used command-line stuff.. Hey... you're right about piping to the script.. that's what the install instructions mention... Action: jcater thinks you'll need to use procmail for that Ok.. I'm game.. any idea how I can work the .procmailrc? ok.. lookin' at the man page Action: jcater posted a sample earlier ok.. I've got that... oh, I see what you mean SachaS_away (~Sacha@dialup-196-125.wasp.net.au) left irc: Read error: 104 (Connection reset by peer) you probably want something like :0fw *Subject:.*DCL* | /path/to/dcl-gateway.pl replacing *DCL* with whatever pattern you think you can match against dcl-related emails ok... in the procmail file? er... I'm readin' about how to set that up.. ok.. that makes sense Hey, what's the :0fw ? rdean (~rdean@4.64.30.76) joined #gnuenterprise. forward that may be wrong you may just need :0: brb jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) left irc: "rebooting" jcater (~jason@w202.z065105010.mem-tn.dsl.cnc.net) joined #gnuenterprise. alrighty... I've got qmail sending the email over to procmail... got the .procmailrc filtering the mail as it comes in... now I'm just trying to find where it put it.. HA!.. didn't use the pipe to the gateway as a first step.. thought I'd see if this works first cool Hmmm... tryin' to track the email down *g* can't find where she's puttin' it.. LOL jhs_ (~jhs@cs6668105-78.austin.rr.com) joined #gnuenterprise. what do you have for your .procmailrc ? any idea how I can see if the email is getting to procmail? memmett_ (~memmett@142.179.170.188) joined #gnuenterprise. what is your procmail file? AnZaC (AnZaC@adsl-208-191-254-126.dsl.ltrkar.swbell.net) left irc: Excess Flood AnZaC (AnZaC@adsl-208-191-254-126.dsl.ltrkar.swbell.net) joined #gnuenterprise. oops *grin* oops was it that large a file? no... tried to copy from one window to another as you can see.. didn't work got more than I bargained for let me try again hi everyone.. got a question regarding foreign_key and foreign_key_description... are these depcrecated? should i be using fk_source, fk_key and fk_description instead? Mmm... defined the PNDIR... the LOGFILE... the MAILDIR and the INCLUDERC for the file inside the PMDIR the file I'm using to check the mail is :0: *^Subject:.*test IN-testing er.. there's a space between * and ^Subject... memmett_: if you are using CVS, then I'd use fk_source, fk_key, and fk_description the current releases do not support those BUT if you use the old foreign_key* format, then CVS forms should convert to the new format iow, it will still read the old style Man... I've gotta give this up for the night.. got an early show for an early brief tomorrow. Thanks for the help. I'll check in tomorrow afternoon CDT (USA) k AnZaC (AnZaC@adsl-208-191-254-126.dsl.ltrkar.swbell.net) left irc: Client Quit thanks jcarter... yes i'm using a cvs snapshot from a few days ago. it was choking on the old format... but it's working with the new fk_*'s... cool! it was choking on the old? that's not good yeah... the last line of the traceback was... DB000: File "/home/memmett/src/gnue-cvs-2002-07-20/.cvsdevelbase/gnue/forms/GFObjects/GFEntry.py", line 182, in initialize DB000: self._fk_datasource = \ DB000: KeyError: members ouch I need to fix that let me know if you need more info... SachaS_away (~Sacha@dialup-196-25.wasp.net.au) joined #gnuenterprise. ok, here's a question: i've got a dropdown widget that sets the "memberid" fielf of a detail record. it's the only widget thats hooked up to that particular detail datasource. pressing UP or DOWN scrolls through items in the dropdown. how do i scroll through items in the datasource? yeah we can't figure out how to capture the up/down arrows from the dropdown control we use wxWindows for our UI library and it doesn't provide a mechanism for that ahhh we are still trying to figure out a way around this well it's a minor thing really, as i can use the menu ok btw, i'm really enjoying gnue! haven't used it much, but it seems quite clean, and the xml form definitions are pretty slick :) thanks! just out of curiosity where'd you hear about us? hmmmmmmmmmm prolly kernel cousins.. used to read the hurd kc, but now i read the gnue kc :) cool dneighbo (~dneighbo@cpe-24-221-112-50.az.sprintbbd.net) joined #gnuenterprise. don't suppose i could get a detail block to be repeated (eg, row="10") with the master block? stbain (GunAndGiz@ip68-10-44-170.rn.hr.cox.net) joined #gnuenterprise. jhs_ (~jhs@cs6668105-78.austin.rr.com) left irc: Read error: 110 (Connection timed out) rdean (~rdean@4.64.30.76) left irc: "Client Exiting" stbain (GunAndGiz@ip68-10-44-170.rn.hr.cox.net) left #gnuenterprise. can i change the way typecast="date" display a date? i prefer yyy-mm-dd ... not at the moment that's a big todo big = important cool i'll just leave it as normal, so i see it as postgres returns it gontran (~gontran@mplsapanas11poolC126.mpls.uswest.net) joined #gnuenterprise. lo ariel_ (~ariel@ppp-217-133-246-38.dialup.tiscali.it) left irc: "Uscita dal client" on to Montana! gontran (~gontran@mplsapanas11poolC126.mpls.uswest.net) left #gnuenterprise. uuuggghhh, mm/dd/yy is so evil! SachaS_ (~Sacha@dialup-196-104.wasp.net.au) joined #gnuenterprise. --- Fri Jul 26 2002