<?xml version="1.0" ?>

<kc>

<title>GNUe Traffic</title>

<author contact="mailto:psu@manorcon.demon.co.uk">Peter Sullivan</author>

<issue num="38" date="20 Jul 2002 00:00:00 -0800" />

<headquote>
Love me, love my OS - 
&quot;<cite>I use ext3 because it took awhile to get the wife out of the 
habit of hitting the reset button when the system froze.</cite>&quot;
</headquote>

<intro>

<p>This Cousin covers the three main 
mailing lists for the GNU Enterprise project,
<a href="http://mail.gnu.org/mailman/listinfo/gnue">gnue</a>, 
<a href="http://mail.gnu.org/mailman/listinfo/gnue-dev">gnue-dev</a> and 
<a href="http://mail.gnu.org/mailman/listinfo/gnue-announce">gnue-announce</a>.  
It also covers the #gnuenterprise IRC channel. A great deal of 
development discussion for this project goes on in IRC. You can find 
#gnuenterprise on irc.openprojects.net:6667, or you can review the 
<a href="http://www.gnuenterprise.org/irc-logs/">logs</a>.
For more information about the GNU Enterprise project, see their 
home page at <a href="http://www.gnuenterprise.org">
http://www.gnuenterprise.org</a>.</p>

</intro>


<section 
   title="Triggers and Methods in Application Server" 
   subject="[IRC] 11 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.11Jul2002" 
   startdate="10 Jul 2002 23:00:00 -0800" 
   enddate="10 Jul 2002 23:00:00 -0800">

<topic>Application Server</topic>

<p>Ariel Cal&#0242; (ariel_) asked <quote who="Ariel Cal&#0242;">do you 
want that i put the trigger stuff in the digrams</quote> for 
Application Server <quote who="Ariel Cal&#0242;">or is it a 
temporary hack that will eventually disappear?</quote> 
Jan Ischebeck (siesel) said <quote who="Jan Ischebeck">I 
think that GTrigger will stay, its likely to change a bit. 
(like much of the rest of appserver) The only thing which is 
really a hack is [...] the way triggers are called, and the way 
methods are implemented (methods are using triggers at the 
moment)</quote>.</p>

</section>


<section 
   title="Work-around for Open Form trigger" 
   subject="[IRC] 11 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.11Jul2002" 
   startdate="10 Jul 2002 23:00:00 -0800" 
   enddate="10 Jul 2002 23:00:00 -0800">

<topic>Forms</topic>

<mention>ra3vat</mention>

<p>Dmitry Sorokin (ra3vat) reported problems with the 
<quote who="Dmitry Sorokin">idea to assign trigger to first 
field of the form</quote> as a work-around for the lack of 
a trigger on opening a form, as discussed in 
<kcref title="Referencing named triggers to avoid coding multiple event triggers" subject="[IRC] 09 Jul 2002"  />. 
Arturas Kriukovas (Arturas) said <quote who="Arturas Kriukovas">i 
don't know why the trigger isn't fired when the form is opened - 
the focus is set in that field</quote> regardless of whether 
<quote who="Arturas Kriukovas">you get there from another tab or 
from form start</quote>. Dmitry <quote who="Dmitry Sorokin">tested 
again with all PRE POST FOCUSIN FOCUSOUT combinations, all</quote> 
of which were not triggering properly when the form was opened.</p>

</section>


<section 
   title="Debian packages for DCL" 
   subject="[IRC] 11 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.11Jul2002" 
   startdate="10 Jul 2002 23:00:00 -0800" 
   enddate="15 Jul 2002 23:00:00 -0800">

<topic>DCL</topic>

<p>Further to 
<kcref title="Debian packages for DCL" subject="[IRC] 05 Jul 2002" />, 
Derek Neighbors (dneighbo) said he was going to post the Debian packages 
that Jeff Bailey (jbailey) had done. He pointed Jeff 
<quote who="Derek Neighbors">to two bugs submitted on the old ones to 
see if you addressed in yours</quote>. Jeff said <quote who="Jeff Bailey">Those 
bugs don't apply because I don't automatically setup the database. =) - I 
want feedback first whether the basic setup is right before I start coding in 
extra stuff like that.</quote> Derek reported that setting the packages 
up with dpkg generated a dependancy error - <quote who="Derek Neighbors">Package 
wwwconfig-common is not installed.</quote> Andrew Mitchell (ajmitch) 
suggested <quote who="Andrew Mitchell">that's why you use apt-get to install 
:)</quote> Jeff said he had <quote who="Jeff Bailey">thought of removing that 
dep, but I'll use it when I start putting in the automatic-virutal-host-creation 
stuff.</quote>.</p>

<p>He confirmed that the Debian package did not set up the database as of 
time of writing - <quote who="Jeff Bailey">There's a whole lot of work 
I'll have to do with debconf to do that right.</quote> If Derek was 
happy with these packages as a first draft, <quote who="Jeff Bailey">then 
I'll upload it to Debian. and slowly add features and such.</quote> Derek said 
<quote who="Derek Neighbors">deb seems to work for me, get it in sid :) - 
we should work on it configuring the db</quote>, possibly with a separate
Debian package for each supported database. Jeff said that, when he had 
written it, <quote who="Jeff Bailey">The debconf page will give you the choice 
of what database (with some sanity checks, like needing the libraries 
installed)</quote>.</p>

<p><a href="http://www.gnuenterprise.org/irc-logs/gnue-public.log.16Jul2002">
Some days later</a>, further to 
<kcref title="Using pysablot as an XML transformation tool with GNUe Reports" subject="[IRC] 15 Apr 2002" />, 
Nick Rusnov (nickr) asked <quote who="Nick Rusnov">did you ever make any 
progress with the pysablot author?</quote> Derek Neighbors (dneighbo_) 
said <quote who="Derek Neighbors">um yeah he said he isnt killing it</quote> 
and <quote who="Derek Neighbors">i think he takes packages and are cool with 
us packaging and putting in sid</quote>. Nick said he would 
<quote who="Nick Rusnov">need a version on sourceforge with a readme and a 
copying</quote> in order to be able to submit an official Debian package 
for it. Jeff Bailey (jbailey) confirmed that the Debian packages for DCL were now
in the Debian sid distribution - <quote who="Jeff Bailey">so anything you want 
on it, please file wishlist bugs. That way I can keep track of it using 
the </quote> normal Debian Bug Tracking System.</p>

</section>


<section 
   title="Security issues in DCL and NOLA" 
   subject="[IRC] 12 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.12Jul2002" 
   startdate="11 Jul 2002 23:00:00 -0800" 
   enddate="11 Jul 2002 23:00:00 -0800">

<topic>DCL</topic>
<topic>Financials (Accounting)</topic>

<p>Responding to 
<kcref subject="[Gnue-announce] DCL 20020706 (stable) Released" startdate="06 Jul 2002 13:40:47 -0800" />, 
Jason Cater (jcater) felt <quote who="Jason Cater">that statements 
like dneighbo's should be qualified - i.e., "It is HIGHLY suggested that 
you update." --> "..if you run DCL on an untrusted network"</quote>. He 
<quote who="Jason Cater">imagines we are one of the few ppl running 
a "public" dcl instance</quote>. There were similar issues around 
<quote who="Jason Cater">that NOLA notice last week - 
if you are running on an untrusted network, then the package has issues
but of course the question then has to be raised, why are you running 
it on an untrusted network??</quote> especially for mission-critical 
systems like accounting.</p>

</section>


<section 
   title="Designer branched in CVS" 
   subject="[IRC] 12 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.12Jul2002" 
   startdate="11 Jul 2002 23:00:00 -0800" 
   enddate="11 Jul 2002 23:00:00 -0800">

<topic>Designer</topic>

<p>Further to 
<kcref title="Branching CVS to split bug fixes and new features"
subject="[IRC] 15 Jun 2002" />, 
Jason Cater noted <quote who="Jason Cater">The cvs version of designer 
is undergoing some needed restructuring... if cvs is broken and you are 
relying on cvs designer to get your work done, then you might want to 
tag your gnue/designer module as the 0.3.x branch - That branch is only 
for bug-fixes</quote>. Andrew Mitchell (ajmitch) said he 
<quote who="Andrew Mitchell">will probably still play with cvs designer, 
but keep an old copy around :)</quote> Jason felt 
<quote who="Jason Cater">that would be advisable - /me tries not to break 
designer when he commits - but sometimes they slip by me</quote>.</p>

</section>


<section 
   title="Scrollbars and their events" 
   subject="[IRC] 12 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.12Jul2002" 
   startdate="11 Jul 2002 23:00:00 -0800" 
   enddate="16 Jul 2002 23:00:00 -0800">

<topic>Forms</topic>

<p>Marcos Dione (StyXman) asked <quote who="Marcos Dione">do 
you know the status of scrollbars? there's a rumor here that 
they're working...</quote> James Thompson (jamest) said 
<quote who="James Thompson">i added a &lt;tag&gt; and code to create 
the widget and that is all - i thought someone else worked on 
making them do something</quote>, but he did not really have 
time to discuss ideas as of time of writing. Marcos said 
he would <quote who="Marcos Dione">hack it here, and when it's 
done, we'll talk about it.</quote> He asked 
<quote who="Marcos Dione">should I implement it @ 
uidriver level, or @ gfobject (in fact, gfscrollbar)?</quote> 
Jason Cater (jcater) suggested <quote who="Jason Cater">gfscrollbar, 
with any wx-specific stuff in uidriver</quote>. James said 
<quote who="James Thompson">there should already be a gfscrollbar 
file IIRC</quote>. Marcos said <quote who="Marcos Dione">yes, it 
is, but is a litlle... uh, spartan :)</quote></p>

<p>Marcos asked <quote who="Marcos Dione">are 
events and triggers the same? I'm a little confused...</quote>
James said that <quote who="James Thompson">events 
== events internal to forms - button clicks, requests for next record, 
etc, etc</quote> whereas <quote who="James Thompson">triggers == chunks 
of code that are attached to certain "trigger events" that are specified 
in the gfd, grd, etc files - pre-commit, pre-update, etc, etc</quote>. 
Marcos asked <quote who="Marcos Dione">how are events handled by 
gfobjects? hacking the dispatchEvent function?</quote> James explained 
<quote who="James Thomspon">objects registers with other objects to 
listen to events via a registerListener functoin IIRC - trigger events 
are hard coded into the program</quote>. Marcos said he would 
<quote who="Marcos Dione">need new 'events' on gfscrollbar [...] like 
'scrollUp' event, which should do something..</quote> James said 
<quote who="James Thompson">there is a dictionary of events in the 
objects that listen for them - you can look at either GFForm or GFInstance 
for example</quote>. He explained <quote who="James Thompson">you create 
a entry that maps an event to a specifc handler function - and that's 
it</quote>.</p>

<p>Later, Marcos asked <quote who="Marcos Dione">how do I bind a 
function to a event? thru a eventHandler?</quote> James gave an 
example in the GFInstance.py code. Marcos asked whether this meant, 
if he wanted a GNUe Forms scrollbar (gfsb) <quote who="Marcos Dione">to 
have events, I just write the functions that handle the events and then 
register them to listen to the new events? events are global?</quote>
James said <quote who="James Thompson">events are only passed to 
objects that request to listen to events - so not really global</quote>
Marcos said <quote who="Marcos Dione">yeah, but I mean 'global' in the 
sense that anyone can listen to certain event... or I'm misunderstandin 
what events are for. I what the UIsb to call the GFsb's 'event' 
handler...</quote> Jason interjected that the intent was 
<quote who="Jason Cater">so UI* doesn't have to know about GF* internals, 
and vice versa</quote>, but had to run before he could explain further. 
Marcos asked <quote who="Marcos Dione">would you say that calling gfsb 
functions from uisb is bad?</quote> James said 
<quote who="James Thompson">yes - all that should be passed via 
events</quote>. Marcos asked <quote who="Marcos Dione">which is the 
difference between calling self._eventHandler and dispatchEvent?</quote> 
James said <quote who="James Thompson">you wnat to use dispatchEvent
99.9% of the time - that sends the event to the objects that have 
registered to listen to it</quote>. Marcos noted that 
<quote who="Marcos Dione">most of the examples use the other 
one...</quote> James said <quote who="James Thompson">sigh, maybe 
someone changed something</quote>. However, 
<quote who="James Thompson">I'm pretty sure you'd want to use 
dispatchEvent to send the actual events</quote>. Marcos asked
<quote who="Marcos Dione">ok, suppose I dispatch the event. how 
do I say the certain func in gfsb is listening? call to 
registereventlistener in gfsb's constructor?</quote>. Jason 
confirmed this.</p>

<p><a href="http://www.gnuenterprise.org/irc-logs/gnue-public.log.17Jul2002">
Some days later</a>, Marcos said he was still having issues with events. 
He was trying <quote who="Marcos Dione">to put behaviour on {gf,ui}scrollbar - 
so, I want to make the uisb send a n event that the gfsb is listening to</quote>. 
James asked <quote who="James Thompson">have you happened to look at UIButton 
in the wx driver? it maps a wx event to a GF event</quote>. Marcos noted that 
<quote who="Marcos Dione">it uses self._eventHandler instead of dispatchEvent. 
I was told to use the latter...</quote>. James looked, and said 
<quote who="James Thompson">this doesn't work like I remember it</quote>, 
although it appeared <quote who="James Thompson">the confusion comes from some 
of this being wxpython "events" and some of this being gnue "events"</quote>. 
He explained <quote who="James Thompson">in the button code you've got 
EVT_BUTTON() which sets the function to call when the user generates a wx button 
click - then the next line containing the (event.eventHandler) is pushing the 
mouse and UI event handlers onto the wx event processing stack. We used to have 
every widget contain the duplicate code for this IIRC. The reason we're passing 
that event.eventHandler in is that those classes (mouse and UI event) dont 
register as event aware</quote>.</p>

<p>Marcos asked <quote who="Marcos Dione">how do I tell that ceratin gfsb's 
method should be called?</quote> James said <quote who="James Thompson">that's 
mapped in the GFInstance - all events are processed thru there as sort of a 
clearing house - so you'd setup a funciton in there that did the approprate calls 
to the lower level gfobjects. You'd set your uiscrollbar to process certain events 
like button does with EVT_BUTTON( - there it sets it up so that it's own 
self.buttonHandler gets called when an event button is pressed - it then uses 
_setDefaultEventHandlers to shove the standard event handler 
classes for mouse and keyboard support onto it's event processor stack</quote>.
The alternative, but non-standard, way would be register the handlers directly, 
<quote who="James Thompson">which will generate a GNUE Event that is picked up 
by GFInstance</quote>. He noted <quote who="James Thompson">its is prefectly 
OK for GFInstance to just ignore the event if it determines the state of the 
form is such that the event should not be honored</quote>, and remarked 
<quote who="James Thompson">all key presses are passed back to the form for 
processing prior to the UI changing - so if I enter a lowercase a and the field 
is set to case="upper" then the GFInstance and friends insert an uppercase A 
instead then tell the UI to update - it also does the focusing</quote>.</p>

<p>He also said <quote who="James Thompson">you'll notice a lot of events are 
named requestFOO - because the UI is a slave to the</quote> GNUe Forms (GF) 
tree - <quote who="James Thompson">it can make requests from the GF tree but 
it's not allowed to update it's own contents w/o getting events back from the 
GF tree - it's not allowed to change focus with events from the GF tree - 
it's a complete mindless slave to the GF tree humbly requesting that something 
be done then waiting until it's told to do something</quote>. This was 
<quote who="James Thompson">so that we had a single code base that handled 
things like max length, input masks, uppercase conversion, etc, etc - 
i didn't want to see each UI implement things in their own fashion</quote>, 
as UI (User Interface) independance was an important goal of GNUe Forms.</p>

<p>Marcos asked <quote who="Marcos Dione">would you say that I should 
'build' a new event, like requestSCROLL?</quote>. James said 
<quote who="James Thompson">oh yes, new events would probably be 
required - event name are hardcoded in gfinstance yes. If we allow UI 
plug-ins in the future we'll need some way to register them - but everything 
so far is pretty much std behaviour so I'm not too worried about the hard 
coding</quote></p>

</section>


<section 
   title="Date masks in GNUe Common" 
   subject="[IRC] 12 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.12Jul2002" 
   startdate="11 Jul 2002 23:00:00 -0800" 
   enddate="14 Jul 2002 23:00:00 -0800">

<topic>Common</topic>

<p>Arturas Kriukovas (Arturas) reported 
<quote who="Arturas Kriukovas">i have found that in 
common/src/FormatMasks we have at least 3 files (DateMask.py, 
NumberMask.py, TextMask.py) that each of them defines 
things like monthNames, weekdayNames over and over - wouldn't it be 
simplier to define all them once in BaseMask.py?</quote> 
Jason Cater (jcater) said <quote who="Jason Cater">NumberMask and 
TextMask aren't even implemented - so the code you see there is
a cut and paste from DateMask - and DateMask isn't even 
finished</quote>.</p>

<p>Later, Arturas noted that <quote who="Arturas Kriukovas">in 
common/src/dbdrivers/_dbsig/DBdriver.py - found - 
return value.strftime(self._dateTimeFormat). As far as i 
understand 'strftime' function gives date\time string formatted  
according to locale settings. But do i need localized SQL queries 
for database? I guess it shouldn't be there</quote> - he would 
<quote who="Arturas Kriukovas">correct it and commit into cvs</quote> 
if no-one disagreed. Later, Jason said <quote who="Jason Cater">self.
_dateTimeFormat should be set to whatever postgresql needs - 
apparently, it is currently set with the "locale" mask</quote>.</p>

<p><a href="http://www.gnuenterprise.org/irc-logs/gnue-public.log.15Jul2002">
Some days later</a>, Arturas advised <quote who="Arturas Kriukovas">I have 
just changed common/src/dbdrivers/_dbsig/DBdriver.py file - could
someone please review change - maybe you'll have some ideas how to 
improve source - it's a bit problematic now</quote>, but was converting 
dates by droping the decimals after the seconds. Jason Cater (jcater) 
warned <quote who="Jason Cater">you shouldn't be making postgres-specific 
changes in _dbsig or you'll break all the other drivers</quote>. He 
understood the problem, in that localised month names in queries were 
causing errors, <quote who="Jason Cater">I just don't agree with the 
solution - that was the purpose of _dateTimeFormat</quote>. If it was not 
working properly, it needed to be changed, not by-passed. Arturas agreed - 
<quote who="Arturas Kriukovas">i changed it so that now it gives fixed 
'YEAR-MONTH-DAY HOUR:MINUTE:SECOND' format not the localised one</quote>. 
The dropping of the decimals for seconds was a slightly different issue, 
in that PostgreSQL <quote who="Arturas Kriukovas">holds date\time with 
...,99 but it does not accept such format in queries :/</quote> He 
guessed this might be better fixed elsewhere.</p>

</section>


<section 
   title="XML style guide for object mark-up" 
   subject="[IRC] 12 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.12Jul2002" 
   startdate="11 Jul 2002 23:00:00 -0800" 
   enddate="11 Jul 2002 23:00:00 -0800">

<topic>Application Server</topic>

<p>Daniel Baumann (chillywilly) asked the best way to 
<quote who="Daniel Baumann">specify operation parameters</quote> 
in a hypothetical <quote who="Daniel Baumann">xml markup of an 
object description language</quote>. Should it be 
<quote who="Daniel Baumann">&lt;parameter name="element" mode="in" 
type="Object"/&gt;</quote> or <quote who="Daniel Baumann">&lt;paramater 
mode="in" type="Object"&gt;element&lt;/parameter>&gt;</quote>. 
John Lenton (Chipaca) said he would <quote who="John Lenton">probably 
have it more entity-oriented (less attributes)</quote>, although 
<quote who="John Lenton">both are equivalent, of course</quote>. 
Daniel said <quote who="Daniel Baumann">well I read that a general 
rule it to use attributes for metadata - data about the tag</quote>. 
He noted that <quote who="Daniel Baumann">forms markup seems attribute 
heavy - &lt;form width="35" height="15" title="Input Validation Test"&gt; 
wouldn't you want to do this like &lt;form width="35" height="15&gt;
&lt;title&gt;Input Validation Test&lt;/title&gt;...</quote>.</p>

</section>


<section 
   title="International date formats in Forms" 
   subject="[IRC] 12 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.12Jul2002" 
   startdate="11 Jul 2002 23:00:00 -0800" 
   enddate="13 Jul 2002 23:00:00 -0800">

<topic>Forms</topic> 
<topic>Common</topic> 

<p>Perry Lorier (Remosi), reading
<kcref title="International date formats in Forms" subject="[IRC] 08 Jul 2002" />, 
<quote who="Perry Lorier">discovers that you guys suggest the worst 
possible solution "mm/dd/yy" for internal representation - /me 
goes and finds a shotgun to preform some reeducation</quote>. He 
declared that <quote who="Perry Lorier">the one true date format is 
"YYYY-MM-DD"</quote> and noted that the proposed format was
<quote who="Perry Lorier">not y2k compliant, it's ambigious with the 
european "dd/mm/yy"</quote>' John Lenton (Chipaca) said that dd/mm/yy 
was not so much European as 
<quote who="John Lenton">non-USAean</quote>.</p>

<p><a href="http://www.gnuenterprise.org/irc-logs/gnue-public.log.14Jul2002">
Two days later</a>, Perry asked <quote who="Perry Lorier">can anyone tell me 
why (At least in the KC) it was agreed to use "mm/dd/yy"? for internal date 
formats?</quote> Andrew Mitchell (ajmitch) suggested 
<quote who="Andrew Mitchell">probably because of the unhealthy american 
influence</quote>. Perry said <quote who="Perry Lorier">yyyy-mm-dd seems 
to be a much more logical system to use - theres even a ISO standard about 
it</quote>. Andrew <quote who="Andrew Mitchell">certainly prefers it - 
makes sorting in a list much simpler</quote>. Perry suggested 
<quote who="Perry Lorier">well, if american's persist to use their silly 
systems we'll have to buy a few plane tickets and go and beat them around the 
head with a large, wet, and slightly smelly trout.</quote> Derek Neighbors 
(dneighbo) vigorously countered <quote who="Derek Neighbors">um cause americans 
are the best - and we dont want your puking metric system or messed up concept 
of date formatting - you can even take your stinking celsius too.</quote> 
Perry <quote who="Perry Lorier">goes and prepares the fish</quote>, before 
Derek quickly clarified <quote who="Derek Neighbors">btw im completely 
kidding - only the french would use that as a reason ;) I mean after the 
dateline was stolen from them, who would blame them for their ire</quote>.</p>



</section>


<section 
   title="PHP Forms Client" 
   subject="[IRC] 13 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.13Jul2002" 
   startdate="12 Jul 2002 23:00:00 -0800" 
   enddate="12 Jul 2002 23:00:00 -0800">

<topic>Forms</topic>

<p>Andrew Mitchell (ajmitch) asked how the Forms client 
written in PHP was <quote who="Andrew Mitchell">coming along?</quote> 
Jan Ischebeck (siesel) said <quote who="Jan Ischebeck">I hope to bring 
phpforms to a stable state soon, but there are too many small problems, 
and I don't have a good debugger :( - and after using python I don't 
like PHP anymore ;)</quote> Andrew said <quote who="Andrew Mitchell">i'd 
imagine handling python triggers in php would have been fun</quote>. 
Jan said <quote who="Jan Ischebeck">this is the reason for using phpforms 
with appserver, so triggers can be moved into appserver</quote>.</p>

</section>


<section 
   title="Including data in GNUe Application Server schema definitions" 
   subject="[IRC] 13 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.13Jul2002" 
   startdate="12 Jul 2002 23:00:00 -0800" 
   enddate="12 Jul 2002 23:00:00 -0800">

<topic>Application Server</topic>
<topic>Common</topic>

<p>Christian Selig (sledge_) asked <quote who="Christian Selig">anyone
of you familiar with xml2sql?</quote> He <quote who="Christian Selig">i 
just found a bug in pgsql.xsl in gnue cvs - all scripts make a match="/",  
pgsql.xsl has match="/schema"</quote>. Jan Ischebeck (siesel) said 
<quote who="Jan Ischebeck">yes, because pgsql.xsl is the only one which 
supports the new GNUe schema file format ( *.GSD )</quote>, as discussed in
<kcref title="Including data in GNUe Application Server schema definitions" subject="[IRC] 10 Jul 2002" />. 
<quote who="Jan Ischebeck">pgsql.xsl is the only one which can create insert  
statemenets out of the &lt;data&gt; part of an .GSD</quote>. Christian 
asked <quote who="Christian Selig">is gsd already defined / is there 
doc?</quote> Jan said <quote who="Jan Ischebeck">there is DTD in 
designer/src/schema - and you can create it with designer</quote>. 
Jan explained that the new format included support for 
<quote who="Jan Ischebeck">constrains = NOT NULL, UNIQUE, ...
a foreign key is an constrain too.</quote></p>

</section>


<section 
   title="Automatically generating IDL files" 
   subject="[IRC] 14 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.14Jul2002" 
   startdate="13 Jul 2002 23:00:00 -0800" 
   enddate="14 Jul 2002 23:00:00 -0800">

<topic>Common</topic>
<topic>Application Server</topic>

<p>Perry Lorier (Remosi) reprised his 
<quote who="Perry Lorier">amazing .so->idl idea</quote>, as previously 
discussed in 
<kcref title="Using .grpc files to support remote procedures in different languagues" subject="[IRC] 28 Jun 2002" />.
<quote who="Perry Lorier">You know how nm can tell you all the symbols in 
a .so (or .o for that matter) right? and how "stabs" can tell you the type 
of a symbol if it was compiled with -g, or, alternatively, c++filt will tell 
you if it was compiled using gcc, right? :)</quote> Daniel Baumann 
(chillywilly) said he had <quote who="Daniel Baumann">never used that 
before</quote> - he asked <quote who="Daniel Baumann">is c++filt 
apt-gettable?</quote> Perry said <quote who="Perry Lorier">it's in 
binutils</quote>. <quote who="Perry Lorier">givin that type information you 
should be able to write an idl file (for gnurpc for instance)</quote>.
He recognised that <quote who="Perry Lorier">you need to of course figure 
out which symbols are actually defined in the .so/.a/.o that you're linking - 
but it could be a really easy way to automatically load, say, openssl into 
python. You could take the openssl.so file generate some idl for it, then use 
gnurpc to use openssl as if it was a python module without having to spend 
ages defining all the normal glue logic. If you did it right python could 
catch the import function and do all of that automatically - so you could 
have a .so (eg openssl.so) and then just go "import openssl" in python and 
have it do all the work for you ;)</quote>. Andrew Mitchell (ajmitch) felt
this <quote who="Andrew Mitchell">also may open up licensing holes :)</quote>
Perry agreed - <quote who="Perry Lorier">but so does allowing multiple .c 
files in a gcc invocation :)</quote>.</p>

<p><a href="http://www.gnuenterprise.org/irc-logs/gnue-public.log.15Jul2002">
The next day</a> Perry said he had <quote who="Perry Lorier">been 
experimenting with my idea</quote>. It <quote who="Perry Lorier">needs 
some hand hacking at the moment - and I'm only doing c&lt;-&gt;c and no 
RPC inbetween - but proof-of-concept is functional :)</quote>.</p>

</section>


<section 
   title="German and U.S. Accounting" 
   subject="[IRC] 14 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.14Jul2002" 
   startdate="13 Jul 2002 23:00:00 -0800" 
   enddate="13 Jul 2002 23:00:00 -0800">

<topic>Financials (Accounting)</topic>

<mention>Peter Sullivan</mention>

<p>Jan Ischebeck (siesel) asked <quote who="Jan Ischebeck">about the 
differences between german and american accounting.</quote> 
Reinhard M&#252;ller (reinhard) said he did not know - 
<quote who="Reinhard M&#252;ller">from what i understand american accounting 
serves a different purpose - read: austrian/german accounting is done mainly 
to satisfy the tax authority and to calculate the taxes to pay</quote>, whereas 
<quote who="Reinhard M&#252;ller">us american accounting seems to me to 
replace what we have in german "controlling" or "kostenrechnung" as well 
i.e. it serves as a source of information for the management and/or the 
investors</quote>. Jan Ischebeck (siesel) asked if that meant 
<quote who="Jan Ischebeck">american accounting is just a kind of GuV ?
GuV = Gewinn &amp; Verlust Rechnung ( don't know the english 
equivalence)</quote>. <editorialize who="Peter Sullivan">"Profit and 
Loss calculation," as far as I can tell.</editorialize> Reinhard said 
<quote who="Reinhard M&#252;ller">i would believe us accounting does _more_ 
than german accounting - sometimes i also get the feeling that us accounting 
doesn't have the strict concept of systematic account numbers</quote>. 
Jan said <quote who="Jan Ischebeck">hmmm, I thought german accounting would 
allready be kind of too much (especial for lasy students who have to understand 
it ;) )</quote>. Reinhard said that US accounting seemed to be more detailed
<quote who="Reinhard M&#252;ller">(at least that is my understanding) - 
they do "kostenstellen" and "kostenarten" and "kostentr&#0228;ger" etc. all in 
accounting</quote> <editorialize who="Peter Sullivan">Cost accounting and/or 
management accounting?</editorialize> <quote who="Reinhard M&#252;ller"> as far 
as I can tell - although i could misunderstand that</quote>.</p>

</section>


<section 
   title="DCL security holes on bugtraq" 
   subject="[IRC] 15 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.15Jul2002" 
   startdate="14 Jul 2002 23:00:00 -0800" 
   enddate="14 Jul 2002 23:00:00 -0800">

<topic>DCL</topic>

<p>Perry Lorier (Remosi) reported seeing the security problems in DCL, 
as previously discussed in 
<kcref subject="[Gnue-announce] DCL 20020706 (stable) Released" startdate="06 Jul 2002 13:40:47 -0800" />, 
mentioned at <a href="http://www.securityfocus.com/">bugtraq</a>. 
Derek Neighbors (dneighbo) said <quote who="Derek Neighbors">in some ways 
dcl isnt even on real 'version' numbers so releasing it to bugtraq seems 
kind of odd - but there are people using it in production so its understandable 
i guess</quote>. He had found bugtraq <quote who="Derek Neighbors">really 
great to work with - provided samples of how to exploit - and gave us a month 
before releasing publicly so we could fix</quote>. Perry felt that 
<quote who="Perry Lorier">php is a b'stard of a thing to get secure</quote>. 
Derek said <quote who="Derek Neighbors">it was a catch 22 - i wanted to notify 
all dcl users immediately BUT to do so 'overly' publicly would be remiss as no 
patch was available</quote>. Perry agreed - <quote who="Perry Lorier">you have 
to patch the hole first :) - and by the email it sounds like that there were 
serveral :)</quote> Derek said <quote who="Derek Neighbors">well i did say in 
commit list and irc we were closing security holes - i just didnt specifically 
say what they were until i had committed the fix for each one. Then bundled when 
all were done and did full blow release to freshmeat, all announce lists and 
such and ulf gave us like a week after release to let the users patch - which 
i think was fair</quote>.</p>

</section>


<section 
   title="Font size and ISO encoding issues in Forms" 
   subject="[IRC] 15 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.15Jul2002" 
   startdate="14 Jul 2002 23:00:00 -0800" 
   enddate="16 Jul 2002 23:00:00 -0800">

<topic>Forms</topic>

<p>Federico Heinz (perlhead) asked <quote who="Federico Heinz">Any pointer 
on where forms gets its fonts?</quote> He found <quote who="Federico Heinz">the 
font is hideously large. And the encoding is not ISO-8859-1, which sucks 
too.</quote> He noted that the gnue.conf had a setting to choose monospaced 
or proportional fonts, but the comment in the file stated 
<quote who="Federico Heinz"># Normally, default font style and size is used, 
according to the active theme - But it doesn't mention which "theme" we're 
talking about. It sure doesn't use my gtk theme's settings...</quote>
Jason Cater (jcater) said <quote who="Jason Cater">you probably wanna change 
pointSize=10 (or so) in your gnue.conf - somehow the default was increased and 
got passed us the last release</quote>. Federico pointed out that 
<quote who="Federico Heinz">gnue.conf says pointSize is for fixed with 
only...</quote> Jason said he <quote who="Jason Cater">didn't know forms worked 
properly w/o fixed width fonts - I haven't tested it that way</quote>. 
Federico reported <quote who="Federico Heinz">It worked for the size.</quote>
He felt <quote who="Federico Heinz">The comments in gnue.conf are misleading</quote> 
as they gave <quote who="Federico Heinz">the impression that the default is 
fixedWidthFont=0</quote>. Jason agreed and said <quote who="Jason Cater">/me 
will change that</quote>.</p>

<p>On the encoding, Federico reported that <quote who="Federico Heinz">the form 
I'm executing begins with "&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;"</quote> 
but <quote who="Federico Heinz">I get ciryllic characters instead of accented 
ones.</quote> He suspected <quote who="Federico Heinz">it's because forms is picking 
a font with the wrong encoding... but I can't find out which.</quote> He went off 
to check.</p>

<p><a href="http://www.gnuenterprise.org/irc-logs/gnue-public.log.17Jul2002">
Two days later</a>, Federico reported <quote who="Federico Heinz">by 
fiddling in the forms source, I fixed my encoding problem!</quote>
He had added ISO-8859-1 as an option to the widget.SetFont 
parameters - <quote who="Federico Heinz">It seems the problem is 
that wx (or the python wx bindings, or *something*) does not get the 
encoding right unless you force it.</quote> Arturas Kriukovas 
(Arturas) confirmed <quote who="Arturas Kriukovas">about a 3 days ago 
this was fixed</quote> in CVS - <quote who="Arturas Kriukovas">was 
added option in gnue.conf</quote>. Marcos Dione (StyXman) confirmed 
that Project papo was currently using its own forked CVS -
<quote who="Marcos Dione">I'll tell our cvsmaster to sync if he 
finds it suitable...</quote> The reason for the fork was 
<quote who="Marcos Dione">we are hacking some things we need into 
gnue, but we can't send patches yet because we hadn't give the 
copyright to gnu yet. So, we 'forked' till we cand send our 
'improvements' to the gnue's guys.</quote> Federico wondered 
whether there was a need for a further gnue.conf option - 
<quote who="Federico Heinz">The configuration file site.py has 
an "encoding" option, which would work pretty well for 
this.</quote>. Arturas pointed out that this 
<quote who="Arturas Kriukovas">encoding option is for database</quote>, 
not the Forms client display.</p>

</section>


<section 
   title="XML DTD for GNUe" 
   subject="[IRC] 15 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.15Jul2002" 
   startdate="14 Jul 2002 23:00:00 -0800" 
   enddate="14 Jul 2002 23:00:00 -0800">

<p>Ariel Cal&#0242; (ariel_) asked <quote who="Ariel Cal&#0242;">who is 
maintaining gnuedtd?</quote>. Jason Cater (jcater) said 
<quote who="Jason Cater">me, sort of</quote>, adding 
<quote who="Jason Cater">patches are welcome</quote>. Ariel reported 
several bugs - <quote who="Ariel Cal&#0242;">1) the nice boxes around the 
comments are not recognized by nsglms ( and other parsers i think) - 2) 
an entity that must be further referenced must be defined as &lt;!ENTITY % 
foo "bar"&gt; and not &lt;!ENTITY foo "bar"&gt; - 3) %true and %false are 
declared AFTER %boolean.</quote> Jason said he <quote who="Jason Cater">was 
wondering about #2 - as the sample dtd's I was learning from didn't have 
them - but other ones I saw later did have them</quote>. He committed 
some fixes. Ariel said that the first problem was not only affecting 
emacs but <quote who="Ariel Cal&#0242;">also sabcmd</quote> - 
<quote who="Ariel Cal&#0242;">when i run sabcmd with pgsql.xsl to get a 
.sql batch file it complaints about nested comments</quote>. He confirmed
that <quote who="Ariel Cal&#0242;">changhing all the minuses with pluses 
will work.</quote>. He felt that compatability with emacs' XML mode was 
important, since <quote who="Ariel Cal&#0242;">until we have a working 
designer for schemas the best way to write xml documents is using emacs.
and if you want from emacs all the nice features like inserting the elements 
semi-automatically you have to specify the DOCTYPE (i.e the dtd) in the xml 
(or gsd,gfd...) file</quote>.</p>

</section>


<section 
   title="Manufacturing inventory products from other inventory products" 
   subject="[IRC] 16 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.16Jul2002" 
   startdate="15 Jul 2002 23:00:00 -0800" 
   enddate="15 Jul 2002 23:00:00 -0800">

<topic>Supply Chain</topic>
<topic>Manufacturing</topic>

<p>Derek Neighbors (dneighbo) asked <quote who="Derek Neighbors">anyone 
here have manufacturing experience?</quote> He was 
<quote who="Derek Neighbors">seeing manufacturers that 
distribute/wholesale/retail as being an 'odd' animal - but one that 
is more and more common with mom and pops and the internet - ToyMan: 
is an example of that :) What im seeing packages lacking is they can 
do one or the other but not both - i.e. you can get ok cheaper 
manufacturing packages but they dont do any retail or 
more importanting shipping stuff - or you can get a quickbooks/peachtree 
for cheap that does retail ok but wont let you manage the manufacturing 
side. I see the 'inventory problem' and the 'shipping problem' as the 
two areas where gnue can kick arse fast.</quote> Stuart Quimby 
(ToyMan) agreed - <quote who="Stuart Quimby">something that hooked into 
my ecomm package and played nice would be excellent</quote>.</p>

<p>Derek asked <quote who="Derek Neighbors">What im wondering is should 
inventory be separate tables for manufacturing and distribution - i.e. 
have inventory tables for the the 'components' you use to manufacture
and inventory tables for the 'products' you sell or distribute</quote>.
Stuart did not <quote who="Stuart Quimby">see the need for that - inv 
is inv</quote>. Derek said this matched <quote who="Derek Neighbors">the 
quick talks i have had with others</quote>, but 
<quote who="Derek Neighbors">for me im seeing some disconnect - 
im thinking you have inventory that use to 'build' - 
then you have an 'allocation' table that says you need xyz components 
to make product A</quote>. Stuart said he used a Bill of Materials 
(BOM) table <quote who="Stuart Quimby">for that - very simple structure
- highly self referential</quote>. He noted <quote who="Stuart Quimby">*any* 
package that has a bom will do that - it's just implemented badly, 
usually</quote>. Derek said <quote who="Derek Neighbors">i think i might 
see the light as to it being all one structure - its just a matter of the 
'allocation' table - that says what things in inventory are needed to make 
product A</quote>. Things could get more complicated if manufactured 
products were then used as the basis for other manufactured products. 
Stuart said that his own database handled this - 
<quote who="Stuart Quimby">it's *very* simple structure</quote> with 
<quote who="Stuart Quimby">just 3 fields, Assmemb, Part, Qty</quote> 
but <quote who="Stuart Quimby">you can handle *any* situation with 
that - an Assemb. can also be a Part - so that way you build up 
sub-assem</quote>.</p>

</section>


<section 
   title="NOLA for print shop accounting" 
   subject="[IRC] 16 Jul 2002" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.16Jul2002" 
   startdate="15 Jul 2002 23:00:00 -0800" 
   enddate="15 Jul 2002 23:00:00 -0800">

<topic>Financials (Accounting)</topic>

<p>Derek Neighbors (dneighbo) said that <quote who="Derek Neighbors">if 
you are doing gnue in a print shop you might want to look at NOLA (or our 
current branch that is getting moded for re-entry) - as NOLA was designed 
for printshop accounting</quote> - although in fact their changes would 
likely make it less print-shop orientated and <quote who="Derek Neighbors">more 
generic</quote>. He felt <quote who="Derek Neighbors">accoutning is easy - 
its a debit or a credit - right or left column - and it should net to zero
- nice and easy - unless you are enron</quote>. Daniel Baumann (chillywilly) 
felt <quote who="Daniel Baumann">accouting is boooooring</quote> 
Andrew Mitchell (ajmitch) felt <quote who="Andrew Mitchell">enron had some 
creativity</quote>.</p>

</section>

</kc>