All you say is true, but remember, the first part that was ever written
was the countdown timer, which is SDL based. For this I used pascal
because I have been doing graphics programming in it for years and I
could do it in a matter of hours.

The reason the files are in /usr/share/netday is a historical
curiousity, the netday association had sponsored part of the orriginal
developement, I kept the directory mostly as a thank you note.

I think the web-page may be out of date.

Pascal is not really that curious for web-programming, it has the best
string management of any language ever created - something that in my
experience makes web-programming easier.

Binary flat-file was not chosen for security reasons, it was chosen
because
A) It is natively supported in pascal.
B) It is very fast to develop for
C) Why do I need to drag down a system with an SQL server to store
literally 3 pieces of data ?

Oh and for the record FreePascal supports:
Win32
Linux
FreeBSD
BeOS,
MacOS
I386
PPC
ARM
Alpha

It is the most portable compiled language since C, not to mention -
everything in direqcafe is ANSI pascal compatible. That means
turbo-pascal, delphi, or even Gnu PASCAL could compile.
The only part that is not limited to ANSI pascal calls it the SDL calls
- if you are porting to a platform where there is no PASCAL SDL support,
you would need to rewrite that bit - but it is one source file, about 30
lines of code. Pretty easy to port.

There is one other thing, you cannot port this to platform without
proper multi-user file access support (e.g. win32) it is pretty much
unix specific - but that is an OS limitation - I made use of an OS
feature to save resources - occasionally that is a worthwhile reason to
sacrifice some portability.

A.J.
On Fri, 2003-08-01 at 14:25, Mark Ehle wrote:
> Take it easy, A.J. - I meant no offense. My comments were not meant as
> criticism, but more that pascal is a curious and  unusual choice for web
> programming. 
> 
> I am glad that you made your program available to everybody. 
> 
> However, nowhere in the documentation does it mention anything about
> what format exactly or where the files are. They are not in /usr/share/.
> Mine were here: /usr/share/netday. Is this because of a version
> difference? I thought I downloaded 1.5, but the web page says 1.4.
> 
> To me, the term binary-flat-file could be anything.  If it were MySQL,
> then it would be easier to see what was going on, easier to fix when
> things went wrong, and could be just as, if not more, secure. Perl, c, 
> or PHP would be more portable, and could do the same job. 
> 
> Just my $.02
> 
> Mark
> 
> On Fri, 2003-08-01 at 02:23, A.J. Venter wrote:
> > Because everything else sucks --- just kidding.
> > I like and use many languages, and I pick the one best suited to the
> > task at hand.
> > In this case it was Pascal, I am a contributing member of the FreePascal
> > developement team - I would not be if I did not think it was a great
> > language (I have a lot of respect for Wirth)
> > 
> > The database's (as it says in the FAQ section of the FM you apparently
> > forgot to R) are binary-flat-file - which for the task at hand is the
> > only solution that is not an overkilling waste of resources.
> > 
> > Since I am the developer, and you got it for nothing, you can contribute
> > if you want -or write your own. I made judgement calls during design,
> > and while I am always open to criticism, I think it is rather harsh to
> > judge me on the grounds that you dissagree with them.
> > Over 4000 people have downloaded DC according to freshmeat, I think that
> > speaks for itself.
> > 
> > A.J.
> > 
> > On Thu, 2003-07-31 at 21:32, Mark Ehle wrote:
> > > Thanks, Anselm - 
> > > 
> > > I did look at /etc/passwd. I don't think that these users came from the
> > > system. I think that direqcafe put them in to it's database as I was
> > > screwing around with it before I got it working right. It would appear
> > > that there is no way to delete them from the web interface. 
> > > 
> > > Where is the database file, and in what format?
> > > This software looks like a great start, but why in the word did he write
> > > it in pascal? Guess that there's one more language I have to learn now!
> > > 
> > > Thanks - 
> > > 
> > > Mark
> > > 
> > > On Thu, 2003-07-31 at 16:24, Anselm Martin Hoffmeister wrote:
> > > > Hello Mark,
> > > > 
> > > > > I have a few users that showed up when I was playing with the package
> > > > > that are not on my system. They are 55, 1, 15, and 0. How do I get rid
> > > > > of these critters? 
> > > > 
> > > > Dunno about direqcafe, but that probably are system processes. 0 means
> > > > root, 50 might be the user "apache" runs as, "www-data", "http" or
> > > > what it is named in your distribution. Look into /etc/passwd to find out
> > > > name<->number mappings. Perhaps direqcafe has a "systemusers" config value
> > > > that allows to hide all uids below 100, or 500, or so? IIRC most
> > > > distributions create new "regular" users with uid >= 500.
> > > > 
> > > > Best regards,
> > > >  Anselm Martin Hoffmeister
> > > >  Stockholm Projekt Computer-Service
> > > >  <[EMAIL PROTECTED]>
> > > > 
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> > > Data Reports, E-commerce, Portals, and Forums are available now.
> > > Download today and enter to win an XBOX or Visual Studio .NET.
> > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> > > _____________________________________________________________________
> > > Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
> > >       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> > > For additional LTSP help,   try #ltsp channel on irc.freenode.net
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net
-- 
Do not try to think outside the box. That's impossible. 
Instead only try to realise the truth....There is no box.

A.J. Venter
Tech Guru
DireqLearn.




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to