Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-05-02 Thread Richard Huxton
Dmitry Turin wrote: Good day, Richard. RH> With 7 flights it is easy to see if #2 matches #4. With 700 it is not so RH> easy to see #2 matches #504. With a tree-structure it is impossible to RH> sort leaf nodes without restructuring the tree. What is "#2 matches #4" ? Individual flights might

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-05-02 Thread Joe
Hi Dmitry, On Wed, 2007-05-02 at 08:05 +0300, Dmitry Turin wrote: > J> The average man or woman on the street > > For what you say about street ? > Average people, which you can meet on street, make physical job. That is an American colloquialism to refer to just about anyone, regardless of what

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-05-01 Thread Dmitry Turin
Good day, Joe. Joe and other respected comrades, don't be angry, when my letter will be late. This is caused by technical schedule of our internet. J> ... and C, PHP, Python, etc., to create an application to input J> and maintain the data. Question remains open: for what people must learn php,

Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-27 Thread Dmitry Turin
Good day, Andrew. AS> translates it into proper SQL? How are you going to send and get XML-data by SQL ? Dmitry Turin http://html6.by.ru http://sql4.by.ru http://computer2.by.ru ---(end of broadcast)--- TIP 2: Don't 'kill -9' the postmaster

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-26 Thread Adam Tauno Williams
> >> J> And there's nothing wrong with Perl, PHP, Python and the myriad > >> J> interface languages. > >> I said many times, what is wrong: > >> applied users can not join sql and perl, can not use libraries, > >> and can not adjust web-server. > J> II have not taken any formal courses > Joe, i spe

Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-26 Thread Richard Huxton
Dmitry Turin wrote: Good day, Richard. RH> RH> RH> RH>These three flights represent options RH> RH> RH> RH> 1. A journey (flight_chain) between city A and city Z consists of one or RH> more flights. RH> 2. The next flight has to start at the current city, but ther

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-26 Thread Joe
Dmitry, On Thu, 2007-04-26 at 11:33 +0300, Dmitry Turin wrote: > Joe, i speak not about you, but about statistics. Do you actually have statistics of how many people in the general population have learned SQL? And furthermore, how many of those people didn't already know or didn't want to bother

Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-26 Thread Andrew Sullivan
On Thu, Apr 26, 2007 at 11:28:30AM +0300, Dmitry Turin wrote: > > Yes. > Remember, this is not manner of storing data in DBMS. > This is manner to visualize for man. So all of this sound and fury is not, as we have been understanding it, over some fundamental change to the way Pg works, but is in

Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-26 Thread Dmitry Turin
Good day, Richard. >> RH> >> RH> >> RH> >> RH>These three flights represent options >> RH> >> RH> >> RH> RH> 1. A journey (flight_chain) between city A and city Z consists of one or RH> more flights. RH> 2. The next flight has to start at the current city, but there m

Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-26 Thread Richard Huxton
Dmitry Turin wrote: Good day, Richard. RH> RH> RH> RH>These three flights represent options RH> RH> RH> Tag is un-necessary (in point of view of DBMS theory). But that's what you're describing isn't it? 1. A journey (flight_chain) between city A and city Z consi

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-26 Thread Dmitry Turin
Good day, Joe. >> J> And there's nothing wrong with Perl, PHP, Python and the myriad >> J> interface languages. >> >> I said many times, what is wrong: >> applied users can not join sql and perl, can not use libraries, >> and can not adjust web-server. J> II have not taken any formal courses Jo

Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-26 Thread Dmitry Turin
Good day, Richard. RH> RH> RH> RH>These three flights represent options RH> RH> RH> Tag is un-necessary (in point of view of DBMS theory). RH> 2. If you nest flights then you'll be forced to repeat data, surely? RH> Multiple routes could end up mentioning flight id

Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-26 Thread Dmitry Turin
Good day, Richard. RH> RH> RH> RH>These three flights represent options RH> RH> RH> Tag is un-necessary (in point of view of DBMS theory). RH> 2. If you nest flights then you'll be forced to repeat data, surely? RH> Multiple routes could end up mentioning flight id

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-25 Thread Joe
Hi Dmitry, On Wed, 2007-04-25 at 10:47 +0300, Dmitry Turin wrote: > J> And there's nothing wrong with Perl, PHP, Python and the myriad > J> interface languages. > > I said many times, what is wrong: > applied users can not join sql and perl, can not use libraries, > and can not adjust web-server.

Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-25 Thread Richard Huxton
Don't forget to cc: the list. Dmitry Turin wrote: Good day, Richard. http://sql4.by.ru/site/sql40/en/author/wave_eng.htm RH> example 2 RH> 1. I can see how one flight might follow another, but not contained. Do you RH> not need some new object "flight_chain" or similar? No ! Fork is possible

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-25 Thread Dmitry Turin
Good day, Joe. >> J> How do I see employees in just one department? >> department[id="1"].employee >>; >> department[name="Technical"].employee >>; J> How is that any different or better than a standard SQL SELECT by absence of gasket (php, its library; perl, its library; etc) J> XML is *not* th

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-24 Thread Joe
Hi Dmitry, On Tue, 2007-04-24 at 15:31 +0300, Dmitry Turin wrote: > J> How do I see employees in just one department? > > department[id="1"].employee >>; > > or > > department[name="Technical"].employee >>; How is that any different or better than a standard SQL SELECT (or to use another conte

Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-24 Thread Richard Huxton
Dmitry Turin wrote: Good day, Joe. I would change your examples to use less abstract data, like department/employee, customer/product/order/order_line J> I contend that then you'd find more people J> receptive to your ideas or at least able to criticize them from more J> concrete viewpoints.

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-24 Thread Dmitry Turin
Good day, Joe. J> "Fictional" is IMO not a good choice for J> describing aggregates, because it means "a story that is not true", J> whereas an SQL aggregate is something that is "true" (in the J> mathematical sense) but is "derived" from other values. It means, that TML and DDL aggregates have d

Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-24 Thread Dmitry Turin
Good day, Joe. >> >I would change your examples to use less abstract >> > data, like department/employee, customer/product/order/order_line J> I contend that then you'd find more people J> receptive to your ideas or at least able to criticize them from more J> concrete viewpoints. I expected, th

Fwd: Re[2]: [SQL] We all are looped on Internet: request+transport = invariant

2007-04-24 Thread Dmitry Turin
Good day, Bart. > I'll continue with the analogy Let's suppose, that you want to compare rational and hierarchical DBMS instead of discussion about removing gaskets (by the way, hierarchical DBMS also need gasket between itself and external world). Because TML should integrated inside rational DB

Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-24 Thread Dmitry Turin
---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-23 Thread Joe
Hi Dmitry, On Mon, 2007-04-23 at 11:20 +0300, Dmitry Turin wrote: > >I would change your examples to use less abstract > > data, like department/employee, customer/product/order/order_line > > This will not help. > To my mind, forum of real database is place, "What we got here is ... failure to

Re: [SQL] We all are looped on Internet: request+transport = invariant

2007-04-23 Thread Bart Degryse
I'll continue with the analogy It is not impossible to attach wings to a sportscar. When you do, you will probably get the sportscar flying. However: 1. Why would you even try, if airplanes (which are designed from scratch to fly) already exist. Just use them 2. If you try nevertheless, is getting

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-23 Thread Dmitry Turin
Good day, Joe. >> Table must be created in traditional way (by "create table, alter >> table") and not through browser. >> User must use "create table", etc in database-terminal like "psql.exe". > By "in a special way" I meant that tables have referential constraints > to other tables and they app

Re: Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-23 Thread Bart Degryse
If these people really work with hierarchically structured data, let them try a hierarchical database (even though PostgreSQL is your favourite database). They will profit 100fold from the advantages such a database has for such data. I now several biologists specialized in taxonomy (which is by na

Re: [SQL] We all are looped on Internet: request +transport = invariant

2007-04-22 Thread Bart Degryse
A hierarchical is specialized in managing data which is hierarchically structured, while a relational database is not. Maybe this analogy is clearer: If you want to fly you could attach wings to your sportscar, but it's more logical to use a plane. >>> Dmitry Turin <[EMAIL PROTECTED]> 2007-04-20 1

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Dmitry Turin
>every physicist or biologist ... knew a great deal of Perl They spend own time and force for that. Next generation will not have this need. >they got the computer-support staff (that was my job) And your money. Besides money, they spend own time to explain task to you. >People ... have to lear

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Dmitry Turin
> he wants to create a universal "database to web" interface language, so > that you and I won't have to deal with the pesky complications of > retrieving data in C with libpq or with PHP, Python and what not > libraries or "adapters", and then have to transform that data for > display to the user.

Fwd: Re[2]: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Dmitry Turin
>have you written a TML parser No. I want, that you and other people help me in that. >do you have feedback from actual average users, >that TML is indeed easier to use than SQL? Yes. TML was born in discuss with these users (mainly nucleus physicists, optics , molecular biologists, zoologist an

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Andrew Sullivan
On Fri, Apr 20, 2007 at 05:49:08PM +0300, Dmitry Turin wrote: > I speak about appied specialists (physicists, biologists, etc), which > can NOT do that. > >it's just an afternoon's work > > Not for mentioned people. I think part of the reason I'm sceptical of your plan is that every physicist o

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Dmitry Turin
>How do I know with the "id=200" that 200 is an int rather than a byte or >string? Field (of database) and attribute (of tag) are put into one-to-one correspondence. Thus datatype of attribute is datatype of field (which is specified during "create table" or "alter table"). >how do we add the ne

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Achilleas Mantzios
Just some thoughts on the matter: Dmitry, you should acknowledge the fact that in databses you have two kinds of hierarchies: a) The hierarchy denoted by the referential constraints between tables which constitute a Directed Graph (DG), with tables as nodes and FKeys as arrows. b) Hierarchies ap

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Joe
Hi Richard, On Fri, 2007-04-20 at 13:50 +0100, Richard Huxton wrote: > OK, but I'm still not seeing how this avoids me having to use > PHP/Perl/etc anyway. I mean, I'm going to need some application logic at > some point, in which case who cares whether the RDBMS has this specific > layout as a

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Joe
Hi Richard, On Fri, 2007-04-20 at 12:14 +0100, Richard Huxton wrote: > I'm not sure that anyone is clear why you just don't write this as a > simple php/perl/ruby/whatever script? There are libraries that will > output XML for you in most of these I'd suspect, and if not it's just an > afternoo

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Richard Huxton
Joe wrote: Hi Richard, On Fri, 2007-04-20 at 12:14 +0100, Richard Huxton wrote: I'm not sure that anyone is clear why you just don't write this as a simple php/perl/ruby/whatever script? There are libraries that will output XML for you in most of these I'd suspect, and if not it's just an aft

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Bart Degryse
Trees like you seem to suggest are called hierarchies. If you prefer hierarchies over relationnality you could use a hierarchical database instead of a relational database. When you search the internet you can find plenty of information on eg Adabas, GT.M., IMS, DMSII, Focus, Metakit and many ot

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Richard Huxton
Dmitry Turin wrote: you are proposing is to ... break the relational model of SQL No. I'm proposing to add new thinking about relational model (primary i want to write "to add new view", but i remember, that "view" is reserved word in SQL :) ). Сonvince yourself, please: create table a ( id

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-20 Thread Dmitry Turin
>you are proposing is to ... break the relational model of SQL No. I'm proposing to add new thinking about relational model (primary i want to write "to add new view", but i remember, that "view" is reserved word in SQL :) ). Сonvince yourself, please: create table a ( id num primary key

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-19 Thread Andrew Sullivan
On Thu, Apr 19, 2007 at 09:08:27AM +0300, [EMAIL PROTECTED] wrote: > >In particular, XML is actually miserably bad at capturing certain > >kinds of relations between items. > > Write examples, please. > > P.S. By the way, XML is mentioned as tool for traffic (for transport). > But i agree to for

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-18 Thread Andrej Ricnik-Bay
On 4/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Problem consist of transportation data, received by SQL, into external world. As i already wrote, it's very difficalt for users (in practice) to use libraries of additional language (php , perl, etc) for that. I offer to put one feature i

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-18 Thread sql4-en
>In particular, XML is actually miserably bad at capturing certain kinds of >relations between items. Write examples, please. P.S. By the way, XML is mentioned as tool for traffic (for transport). But i agree to forget about that to learn what are you imply in your quoting. >SQL is not so fanta

Re: [SQL] We all are looped on Internet: request + transport = invariant

2007-04-13 Thread Andrew Sullivan
On Fri, Apr 13, 2007 at 10:58:12AM +0300, Dmitry Turin wrote: > The most general format for data is XML. Surely not. In particular, XML is actually miserably bad at capturing certain kinds of relations between items. It's in fact this assumption that has made this conversation seem like we're ta

[SQL] We all are looped on Internet: request + transport = invariant

2007-04-13 Thread Dmitry Turin
Usage of database consist of request and transportation of results into visualizer. We all are looped on Internet, thus visualizer should be remoted. The most general format for data is XML. We also need to choose transport protocol: the most widespread is HTTP. SQL could send data so. Now SQL do