From sunshine at public.kherson.ua Thu Dec 1 09:38:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 1 01:39:26 2005 Subject: [ANN] V4RB 2.1 b11. NEW Bit functions Message-ID: Hi All, Hi Ed, On your request [NEW] functions bit_and(x,y). bit_or(x,y), bit_xor(x,y), bit_not(x,y), bit_count(x) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Thu Dec 1 08:09:19 2005 From: Ed at Kleban.com (Ed Kleban) Date: Thu Dec 1 08:09:44 2005 Subject: [ANN] V4RB 2.1 b11. NEW Bit functions In-Reply-To: Message-ID: Woo hoo! Three cheers and a green balloon! And fast genetic searches for all! All bow to the mighty and beneficent Ruslan and Paradigma crew who enlighten our dreary data lives with powerful magical tools to transform the universe! Ok, enough celebration. Everyone back to coding. ;-) Thanks Ruslan. --Ed On 12/1/05 1:38 AM, "Ruslan Zasukhin" wrote: > Hi All, > Hi Ed, > > On your request > > [NEW] functions > > bit_and(x,y). bit_or(x,y), bit_xor(x,y), bit_not(x,y), bit_count(x) > Oooh, bit count! I can do some serious magic with that. Nice addition! Thanks again. From ktekinay at mactechnologies.com Thu Dec 1 09:32:49 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Dec 1 08:33:14 2005 Subject: [ANN] V4RB 2.1 b11. NEW Bit functions In-Reply-To: Message-ID: I cannot mount the disk image of the Mac version of b11. Anyone else? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Thu Dec 1 16:42:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 1 08:43:13 2005 Subject: [ANN] V4RB 2.1 b11. NEW Bit functions In-Reply-To: Message-ID: On 12/1/05 4:32 PM, "Kem Tekinay" wrote: > I cannot mount the disk image of the Mac version of b11. Anyone else? Guys, We have some problems with inet. Archive already 4 hours as try to be uploaded :-(( I have never see such problems before. I will drop a note when it finish -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Dec 1 17:31:23 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 1 09:31:45 2005 Subject: V4RB 2.1b11 is on site now Message-ID: -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Thu Dec 1 15:00:03 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Dec 1 14:00:26 2005 Subject: V4RB 2.1b11 is on site now In-Reply-To: Message-ID: The Mac version is larger now, but still won't mount. I tried twice, clearing the cache between attempts. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Thu Dec 1 23:52:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 1 15:52:27 2005 Subject: V4RB 2.1b11 is on site now In-Reply-To: Message-ID: On 12/1/05 10:00 PM, "Kem Tekinay" wrote: > The Mac version is larger now, but still won't mount. I tried twice, > clearing the cache between attempts. Kem, please try again. I have re upload file. Size in bytes looks to be correct. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Thu Dec 1 19:24:13 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Thu Dec 1 18:24:35 2005 Subject: V4RB 2.1b11 is on site now In-Reply-To: Message-ID: On 12/1/05 4:52 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > I have re upload file. Size in bytes looks to be correct. It mounts now. Thanks. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Fri Dec 2 10:48:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 2 02:48:39 2005 Subject: [ANN] V4RB WIN b11 Message-ID: Anna, Now it contains MAC OS plugin also -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Dec 3 12:10:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 3 04:12:49 2005 Subject: [ANN] V4RB 2.1 b12 Message-ID: Hi All, * Anna, fixed crash with indexes on mac for win-made db * Leo, Stan, please test Convert with accent chars. * Stan fixed some your bug reports. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Sat Dec 3 12:21:52 2005 From: maxprog at mac.com (Stan Busk) Date: Sat Dec 3 05:22:24 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: <0723EB7F-71D0-45F1-8AB8-999C82DFF0DC@mac.com> Hi, Actually the encoding problem *seems* to be fixed on Macintosh but because of bug #1167, 99% of my databases can't be loaded after conversion (so I can only test 1 file out of 80). It always says "ERROR: 0x8050F Field "Account_Comment", attribute "Nullable" is not matched with schema-stored attribute." I don't use the "Nullable" attribute anywhere in that database. I get the same failure on Windows as well with freshly v1 created database, but it affects 100% of my files so I am not able to test the character conversion right now. Mantis #1167 includes a sample project to reproduce the problem. Mantis #1161 still there as well, query doesn't report accurate result, I am seeing this bug since Valentina 1.11, it is funny because in 1.11 rewriting each record with its value fixed the problem. In v2, no way. Let me know if you want more files, more projects... Stan > Hi All, > > * Anna, fixed crash with indexes on mac for win-made db > > * Leo, Stan, please test Convert with accent chars. > > * Stan fixed some your bug reports. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From IvanSmahin at public.kherson.ua Sat Dec 3 13:41:15 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Dec 3 05:41:35 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <0723EB7F-71D0-45F1-8AB8-999C82DFF0DC@mac.com> References: <0723EB7F-71D0-45F1-8AB8-999C82DFF0DC@mac.com> Message-ID: <38786888.20051203134115@public.kherson.ua> Hello Stan, Saturday, December 3, 2005, 1:21:52 PM, you wrote: SB> Hi, SB> Actually the encoding problem *seems* to be fixed on Macintosh but SB> because of bug #1167, 99% of my databases can't be loaded after SB> conversion (so I can only test 1 file out of 80). It always says SB> "E I'm afraid i don't get your message. What about exception code? You mean the ErrString is just "E ? Exactly 2 symbols? From maxprog at mac.com Sat Dec 3 12:50:45 2005 From: maxprog at mac.com (Stan Busk) Date: Sat Dec 3 05:51:15 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <38786888.20051203134115@public.kherson.ua> References: <0723EB7F-71D0-45F1-8AB8-999C82DFF0DC@mac.com> <38786888.20051203134115@public.kherson.ua> Message-ID: <83ACD5CC-5E54-4911-803D-50C0A0BC3173@mac.com> Hi, This is because Mantis has a bug or maybe it doesn't like me :( The project is here: http://www.maxprog.com/misc/valentina/ Exception8050F.zip I get an "ERROR: 0x8050F Field "Account_Comment", attribute "Nullable" is not matched with schema-stored attribute." exception. Stan > Hello Stan, > > Saturday, December 3, 2005, 1:21:52 PM, you wrote: > > SB> Hi, > > SB> Actually the encoding problem *seems* to be fixed on Macintosh but > SB> because of bug #1167, 99% of my databases can't be loaded after > SB> conversion (so I can only test 1 file out of 80). It always says > SB> "E > > I'm afraid i don't get your message. > What about exception code? > You mean the ErrString is just "E ? > Exactly 2 symbols? > > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From IvanSmahin at public.kherson.ua Sat Dec 3 13:58:37 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Dec 3 05:58:58 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <83ACD5CC-5E54-4911-803D-50C0A0BC3173@mac.com> References: <0723EB7F-71D0-45F1-8AB8-999C82DFF0DC@mac.com> <38786888.20051203134115@public.kherson.ua> <83ACD5CC-5E54-4911-803D-50C0A0BC3173@mac.com> Message-ID: <1751381210.20051203135837@public.kherson.ua> Hello Stan, Saturday, December 3, 2005, 1:50:45 PM, you wrote: SB> Hi, SB> This is because Mantis has a bug or maybe it doesn't like me :( SB> The project is here: http://www.maxprog.com/misc/valentina/ SB> Exception8050F.zip SB> I get an "ERROR: 0x8050F Field "Account_Comment", attribute SB> "Nullable" is not matched with schema-stored attribute." exception. Ok. Seems to be reasonable exception. You use "classes way". V2 performs some checks on db.Open. Your schema definitions MUST BE exactly matched with schema's one. Note, that database is able to be opened in usual way (says via viSQL). -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From maxprog at mac.com Sat Dec 3 13:12:20 2005 From: maxprog at mac.com (Stan Busk) Date: Sat Dec 3 06:12:50 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <1751381210.20051203135837@public.kherson.ua> References: <0723EB7F-71D0-45F1-8AB8-999C82DFF0DC@mac.com> <38786888.20051203134115@public.kherson.ua> <83ACD5CC-5E54-4911-803D-50C0A0BC3173@mac.com> <1751381210.20051203135837@public.kherson.ua> Message-ID: Hi, Yes, I use the class way. The schema is identical. I don't use the "Nullable" attribute anywhere and actually it has never been used for that project at all. Note that 10% of my v1 database can be opened, I get the error on 90% of them. It it were a difference in schema I guess I will not open a single database. Have you seen the nullable attribute in the stored database schema? Can you find out who is setting my field as nullable? not my code for sure. Stan > Hello Stan, > > Saturday, December 3, 2005, 1:50:45 PM, you wrote: > > SB> Hi, > > SB> This is because Mantis has a bug or maybe it doesn't like me :( > SB> The project is here: http://www.maxprog.com/misc/valentina/ > SB> Exception8050F.zip > > SB> I get an "ERROR: 0x8050F Field "Account_Comment", attribute > SB> "Nullable" is not matched with schema-stored attribute." > exception. > > Ok. Seems to be reasonable exception. > You use "classes way". V2 performs some checks on db.Open. > Your schema definitions MUST BE exactly matched with schema's one. > > Note, that database is able to be opened in usual way (says via > viSQL). > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From IvanSmahin at public.kherson.ua Sat Dec 3 15:17:24 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sat Dec 3 07:17:45 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: <0723EB7F-71D0-45F1-8AB8-999C82DFF0DC@mac.com> <38786888.20051203134115@public.kherson.ua> <83ACD5CC-5E54-4911-803D-50C0A0BC3173@mac.com> <1751381210.20051203135837@public.kherson.ua> Message-ID: <1373219428.20051203151724@public.kherson.ua> Hello Stan, Saturday, December 3, 2005, 2:12:20 PM, you wrote: SB> Hi, SB> Yes, I use the class way. The schema is identical. I don't use the SB> "Nullable" attribute anywhere and actually it has never been used for SB> that project at all. Note that 10% of my v1 database can be opened, I SB> get the error on 90% of them. It it were a difference in schema I SB> guess I will not open a single database. SB> Have you seen the nullable attribute in the stored database schema? SB> Can you find out who is setting my field as nullable? not my code for SB> sure. The given database v1 has fNullable and fIndexByWords flags for some fields. This fact is not reflected to the your project's "classes way". Please note that V1 did not check such matches as strictly as V2 do. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Sat Dec 3 15:25:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 3 07:25:39 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <1373219428.20051203151724@public.kherson.ua> Message-ID: On 12/3/05 3:17 PM, "Ivan Smahin" wrote: > The given database v1 has fNullable and fIndexByWords flags for some > fields. This fact is not reflected to the your project's "classes way". > > Please note that V1 did not check such matches as strictly as V2 do. Stan, 1) Conert_1_2 works CORRECTLY. your database v 1.x do have that flags, although your REALbasic code do not have them, 2) Only solution to workaround this is: right AFTER convert you need add code which will remove that flags for v2 database. So database structure will STRICTLY correspond to your classes No other way. It is easy enough. And we think that this problem was born exactly because v1 was not so strict as v2. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Sat Dec 3 17:08:00 2005 From: maxprog at mac.com (Stan Busk) Date: Sat Dec 3 10:08:32 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <1373219428.20051203151724@public.kherson.ua> References: <0723EB7F-71D0-45F1-8AB8-999C82DFF0DC@mac.com> <38786888.20051203134115@public.kherson.ua> <83ACD5CC-5E54-4911-803D-50C0A0BC3173@mac.com> <1751381210.20051203135837@public.kherson.ua> <1373219428.20051203151724@public.kherson.ua> Message-ID: Hi, In v1 the given field is: Comment = new VvarChar ( "Account_Comment", 128, "ASCII" ) in v2 is: mComment = new VvarChar ( "Account_Comment", 128 ) Where is kV_Nullable? I have checked all my v1 classes, no kV_Nullable anywhere, never used it! Stan > Hello Stan, > > Saturday, December 3, 2005, 2:12:20 PM, you wrote: > > SB> Hi, > > SB> Yes, I use the class way. The schema is identical. I don't use the > SB> "Nullable" attribute anywhere and actually it has never been > used for > SB> that project at all. Note that 10% of my v1 database can be > opened, I > SB> get the error on 90% of them. It it were a difference in schema I > SB> guess I will not open a single database. > > SB> Have you seen the nullable attribute in the stored database > schema? > SB> Can you find out who is setting my field as nullable? not my > code for > SB> sure. > > The given database v1 has fNullable and fIndexByWords flags for > some > fields. This fact is not reflected to the your project's "classes > way". > > Please note that V1 did not check such matches as strictly as V2 do. > > -- > Best regards, > Ivan mailto:IvanSmahin@public.kherson.ua > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From akritselis at earthlink.net Sat Dec 3 11:15:30 2005 From: akritselis at earthlink.net (Anna Kritselis) Date: Sat Dec 3 10:16:00 2005 Subject: [ANN] V4RB 2.1 b12 Message-ID: <2187224.1133626530993.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> The import and using the Win DB on the Mac is working - Thanks! Anna -----Original Message----- From: Ruslan Zasukhin Sent: Dec 3, 2005 5:10 AM To: "valentina-beta@lists.macserve.net" , Leo Van den Brande , Maxprog , Anna Kritselis Subject: [ANN] V4RB 2.1 b12 Hi All, * Anna, fixed crash with indexes on mac for win-made db * Leo, Stan, please test Convert with accent chars. * Stan fixed some your bug reports. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Sat Dec 3 17:16:33 2005 From: maxprog at mac.com (Stan Busk) Date: Sat Dec 3 10:17:03 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: <8BF75C67-B125-4473-BBE9-B934FD853F44@mac.com> On Dec 3, 2005, at 2:25 PM, Ruslan Zasukhin wrote: > 1) Conert_1_2 works CORRECTLY. > > your database v 1.x do have that flags, > although your REALbasic code do not have them, I have searched kV_Nullable in all my v1 classes, none found. I only use kV_Indexed and kV_Unique on some fields (but not the one that fails). I replaced those constants with EVFlag.fIndexed and EVFlag.fUnique respectively. I have never used kV_Nullable. > 2) Only solution to workaround this is: > > right AFTER convert you need add code > which will remove that flags for v2 database. > So database structure will STRICTLY correspond to your classes But could you explain what my v1 database as a nullable attribute when I never use that attribute anywhere? Do you want to see my v1 classes? I can add something to eliminate the nullable attribute but this is a trick, the question is why do I have a field set that way? My v1 database field is: Comment = new VvarChar ( "Account_Comment", 128, "ASCII" ) My v2 is: mComment = new VvarChar ( "Account_Comment", 128 ) Where is the error? Stan From sunshine at public.kherson.ua Sat Dec 3 18:35:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 3 10:35:37 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <2187224.1133626530993.JavaMail.root@elwamui-polski.atl.sa.earthlink.net> Message-ID: On 12/3/05 6:15 PM, "Anna Kritselis" wrote: > The import and using the Win DB on the Mac is working - > Thanks! great -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Dec 3 18:50:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 3 10:51:24 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: Message-ID: On 12/3/05 6:08 PM, "Stan Busk" wrote: > Hi, > > In v1 the given field is: > > Comment = new VvarChar ( "Account_Comment", 128, "ASCII" ) > > in v2 is: > > mComment = new VvarChar ( "Account_Comment", 128 ) > > Where is kV_Nullable? > I have checked all my v1 classes, no kV_Nullable anywhere, never used > it! Open database in v1 format which you have sent to us. in Valentina Studio or in VAPP It do have flag Nullable for some fields. Where from it have come? I do not know. May be in the past it was there, but later you have "fix" code, but forget fix db files? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Dec 3 18:52:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 3 10:52:46 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <8BF75C67-B125-4473-BBE9-B934FD853F44@mac.com> Message-ID: On 12/3/05 6:16 PM, "Stan Busk" wrote: >> 2) Only solution to workaround this is: >> >> right AFTER convert you need add code >> which will remove that flags for v2 database. >> So database structure will STRICTLY correspond to your classes > > But could you explain what my v1 database as a nullable attribute > when I never use that attribute anywhere? Do you want to see my v1 > classes? I have ONLY one idea. You did have it before, later remove from code. > I can add something to eliminate the nullable attribute but this is a > trick, the question is why do I have a field set that way? I do not know > My v1 database field is: > > Comment = new VvarChar ( "Account_Comment", 128, "ASCII" ) > > My v2 is: > > mComment = new VvarChar ( "Account_Comment", 128 ) > > Where is the error? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Sat Dec 3 18:38:55 2005 From: maxprog at mac.com (Stan Busk) Date: Sat Dec 3 11:39:25 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: I have no idea, the fact is I don't know what that attribute is for so I have never used it so far. First time today. Today I have to write about 50 lines to set that attribute to false. I guess it should be false as I don't know what it is. Only VVarchar are affected. Also the same fields needs me to modify my class and set the fIndexByWords. So, the v2 schema is not the same as my v1 schema at all...I am making the modifications but I am puzzled. ~/Stan > On 12/3/05 6:08 PM, "Stan Busk" wrote: > >> Hi, >> >> In v1 the given field is: >> >> Comment = new VvarChar ( "Account_Comment", 128, "ASCII" ) >> >> in v2 is: >> >> mComment = new VvarChar ( "Account_Comment", 128 ) >> >> Where is kV_Nullable? >> I have checked all my v1 classes, no kV_Nullable anywhere, never used >> it! > > Open database in v1 format which you have sent to us. > in Valentina Studio or in VAPP > > It do have flag Nullable for some fields. > > Where from it have come? I do not know. > > May be in the past it was there, but later you have "fix" code, but > forget > fix db files? > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From maxprog at mac.com Sat Dec 3 18:57:35 2005 From: maxprog at mac.com (Stan Busk) Date: Sat Dec 3 11:58:04 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: <97E0A416-F12D-42DE-BDD6-86A9F9A9F59D@mac.com> Finally I have added 44 lines to set the nullable attribute to false, all are VVarChar and I have had to also add the fIndexByWords attribute to all of them. After that I can open converted files properly. All VVarchar of my tables are affected but the ones that had the EVFlag.fIndexed flag. Strange isn't it? Look like a bug pattern to me :) I have to finish porting 2 other projects, will see if I get the same problem Stan > > I have no idea, the fact is I don't know what that attribute is for > so I have never used it so far. First time today. Today I have to > write about 50 lines to set that attribute to false. I guess it > should be false as I don't know what it is. Only VVarchar are > affected. Also the same fields needs me to modify my class and set > the fIndexByWords. So, the v2 schema is not the same as my v1 > schema at all...I am making the modifications but I am puzzled. > > ~/Stan > >> On 12/3/05 6:08 PM, "Stan Busk" wrote: >> >>> Hi, >>> >>> In v1 the given field is: >>> >>> Comment = new VvarChar ( "Account_Comment", 128, "ASCII" ) >>> >>> in v2 is: >>> >>> mComment = new VvarChar ( "Account_Comment", 128 ) >>> >>> Where is kV_Nullable? >>> I have checked all my v1 classes, no kV_Nullable anywhere, never >>> used >>> it! >> >> Open database in v1 format which you have sent to us. >> in Valentina Studio or in VAPP >> >> It do have flag Nullable for some fields. >> >> Where from it have come? I do not know. >> >> May be in the past it was there, but later you have "fix" code, >> but forget >> fix db files? >> >> >> -- >> Best regards, >> >> Ruslan Zasukhin >> VP Engineering and New Technology >> Paradigma Software, Inc >> >> Valentina - Joining Worlds of Information >> http://www.paradigmasoft.com >> >> [I feel the need: the need for speed] >> >> >> _______________________________________________ >> Valentina-beta mailing list >> Valentina-beta@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina-beta > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Sat Dec 3 20:15:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 3 12:16:15 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <97E0A416-F12D-42DE-BDD6-86A9F9A9F59D@mac.com> Message-ID: On 12/3/05 7:57 PM, "Stan Busk" wrote: > Finally I have added 44 lines to set the nullable attribute to false, > all are VVarChar and I have had to also add the fIndexByWords > attribute to all of them. After that I can open converted files > properly. > > All VVarchar of my tables are affected but the ones that had the > EVFlag.fIndexed flag. Strange isn't it? Look like a bug pattern to > me :) I have to finish porting 2 other projects, will see if I get > the same problem In any case bug is NOT in Convert. That flag was ON in your v 1.x db I starting work with your 1161 bug report. Interesting to note, that all our tests of indexes are DONE. And we have 3 issues with indexed in 2.1 beta... Go to debug. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Sat Dec 3 19:50:13 2005 From: maxprog at mac.com (Stan Busk) Date: Sat Dec 3 12:50:43 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: Hi, I am also worried about how easy it is to corrupt databases now. If your app crashes with a VException in debug mode you have a roughly 80% of chances you will never be able to open it again, for the remaining 20% you can open but maybe queries will give all kind of random results. Right now I have one of those databases in case you want to look at. I know than once compiled I turn vException off but if I get a crash, same result, the database is has a lot of chances to be corrupt. Are you aware of that? Stan > On 12/3/05 7:57 PM, "Stan Busk" wrote: > >> Finally I have added 44 lines to set the nullable attribute to false, >> all are VVarChar and I have had to also add the fIndexByWords >> attribute to all of them. After that I can open converted files >> properly. >> >> All VVarchar of my tables are affected but the ones that had the >> EVFlag.fIndexed flag. Strange isn't it? Look like a bug pattern to >> me :) I have to finish porting 2 other projects, will see if I get >> the same problem > > In any case bug is NOT in Convert. > That flag was ON in your v 1.x db > > I starting work with your 1161 bug report. > > Interesting to note, that all our tests of indexes are DONE. > And we have 3 issues with indexed in 2.1 beta... > Go to debug. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Sat Dec 3 20:53:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 3 12:54:06 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: Message-ID: On 12/3/05 8:50 PM, "Stan Busk" wrote: > Hi, > > I am also worried about how easy it is to corrupt databases now. If > your app crashes with a VException in debug mode you have a roughly > 80% of chances you will never be able to open it again, for the > remaining 20% you can open but maybe queries will give all kind of > random results. Right now I have one of those databases in case you > want to look at. I know than once compiled I turn vException off but > if I get a crash, same result, the database is has a lot of chances > to be corrupt. Are you aware of that? Let me at first fix index, Do not throw away that db. Then we will try crash your apps to get that bad dbs And will see where is problem. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Sat Dec 3 20:12:15 2005 From: maxprog at mac.com (Stan Busk) Date: Sat Dec 3 13:12:46 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: Hi, Ok, last problem: valentina.Convert_1_2( inputFile, outputFile, true ) always crashes on my windows box. I have gone thru the code using RB debugger, inputFile is valid. outputFile is also valid but as soon as I reach that line I get a crash. The code I use is: inputFile = GetOpenFolderItem("") outputFile = GetSaveFolderItem("","") If inputFile <> nil and outputFile <> nil then Valentina.profile( true ) valentina.Convert_1_2( inputFile, outputFile, true ) Valentina.profile( false ) end if Also tried with a preset input file, settings output file name thru code ...etc... The same code works like a charm on the Mac... Are we the only assholes working on saturdays out there? :) Stan > On 12/3/05 8:50 PM, "Stan Busk" wrote: > >> Hi, >> >> I am also worried about how easy it is to corrupt databases now. If >> your app crashes with a VException in debug mode you have a roughly >> 80% of chances you will never be able to open it again, for the >> remaining 20% you can open but maybe queries will give all kind of >> random results. Right now I have one of those databases in case you >> want to look at. I know than once compiled I turn vException off but >> if I get a crash, same result, the database is has a lot of chances >> to be corrupt. Are you aware of that? > > Let me at first fix index, > Do not throw away that db. > > Then we will try crash your apps to get that bad dbs > And will see where is problem. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From maxprog at mac.com Sat Dec 3 21:00:08 2005 From: maxprog at mac.com (Stan Busk) Date: Sat Dec 3 14:01:07 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: <897413E0-DF8D-407C-8D7A-EC705061A7A9@mac.com> Hi, I have finished porting second project, not a single problem. Your function converts the database with more than 30,000 records extremely fast, actually I am amazed. I only need to place the function into a thread and create a progress dialog. Operations are at least twice as fast as before right now. Really cool!... Hum...conversion works also on my Windows box...so previous project has a problem. Only differences between those 2 projects is that the one that fails to convert on Windows doesn't use the '.vdb' extension and is a single file. Is your function expecting the '.vdb' extension for the input file? Stan > On 12/3/05 7:57 PM, "Stan Busk" wrote: > >> Finally I have added 44 lines to set the nullable attribute to false, >> all are VVarChar and I have had to also add the fIndexByWords >> attribute to all of them. After that I can open converted files >> properly. >> >> All VVarchar of my tables are affected but the ones that had the >> EVFlag.fIndexed flag. Strange isn't it? Look like a bug pattern to >> me :) I have to finish porting 2 other projects, will see if I get >> the same problem > > In any case bug is NOT in Convert. > That flag was ON in your v 1.x db > > I starting work with your 1161 bug report. > > Interesting to note, that all our tests of indexes are DONE. > And we have 3 issues with indexed in 2.1 beta... > Go to debug. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Sat Dec 3 22:19:34 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 3 14:20:03 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <897413E0-DF8D-407C-8D7A-EC705061A7A9@mac.com> Message-ID: On 12/3/05 10:00 PM, "Stan Busk" wrote: Hi Stan, > I have finished porting second project, not a single problem. Your > function converts the database with more than 30,000 records > extremely fast, actually I am amazed. I only need to place the > function into a thread and create a progress dialog. Operations are > at least twice as fast as before right now. Really cool!... Very good! We are happy that you are happy! > Hum...conversion works also on my Windows box...so previous project > has a problem. Only differences between those 2 projects is that the > one that fails to convert on Windows doesn't use the '.vdb' extension > and is a single file. Is your function expecting the '.vdb' extension > for the input file? Hard to say. You mean that db1 do not have .vdb ? And this cause crash AFTER convert done ? Ivan, you need check this. P.S. I have some progress with Byte index bug(s). already 2 fixed. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From leo_van_den_brande at wxs.nl Sun Dec 4 00:05:02 2005 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Sat Dec 3 17:04:56 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: <4392249E.5060304@wxs.nl> Hi Ruslan and Ivan, It works: accented characters after conversion 1-2 come out right on Mac and Windows, also after transfer between platforms, irrespective where the db is created or converted. Great! I have two questions, however: 1. The Windows build of the very small conversion project (written on the Mac), after doing the conversion correctly, gives an error on closing: "Could not allocate thread local data". The error log says: Valentina_SetDebugLevel... PARAM: inLevel = 3 return Valentina_Convert_1_2... PARAM: inOldDb = 17057200 PARAM: inNewDb = 17056912 PARAM: inLoadRecords = 1 PARAM: inNewSegmentSize = 0 return Valentina_ShutDown... return What does this mean and what can I do about it? 2. I don't seem to find the folder on Win2000 where I should put the path to the VComp folder. It works thanks to having all files at the root of my application folder. Ruslan mentioned the preferences of MyComputer on the list, but I can't find it. Please enlighten me. These are elementary questions, but apparently I'm still insufficiently Windows-savvy! Thanks a lot! Leo Ruslan Zasukhin wrote: > Hi All, > > * Anna, fixed crash with indexes on mac for win-made db > > * Leo, Stan, please test Convert with accent chars. > > * Stan fixed some your bug reports. > > -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31) 30 2511767 Fax: (+31) (0)84 756 5233 From info at vallemediatime.com Sun Dec 4 09:47:54 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Dec 4 02:48:28 2005 Subject: V4MD aggregation in subquery Message-ID: <000801c5f8af$718d0640$b7303897@paolof61yi6d5z> Hi all, I need to get a record set like this example by SQL way, I read that it is necessary a subquery... right? T1 Registration (Reg) Fld Reg_Code | Reg_Course_Ref | Reg_Student_Ref R1 1 1000 10 R2 1 1000 11 R3 2 1001 12 T2 Courses Fld Course_ID | Course_Name | R1 1000 Math R2 1001 Music I want to get a count of all courses that have a Reg_Code = 1 eg Fld Course_Name | Reg_Code_Count R1 Math 2 R2 Music 1 My wrong tentative is this: query = "SELECT Course_Name, \ (SELECT COUNT(Reg_Code) \ FROM Registration WHERE Reg_Code = 1) \ FROM Corsi \ WHERE Corsi_ID = Reg_Corsi_Ref " Can somebody help me? Thanks Paolo From info at vallemediatime.com Sun Dec 4 09:54:10 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Dec 4 02:54:34 2005 Subject: V4MD aggregation in subquery References: <000801c5f8af$718d0640$b7303897@paolof61yi6d5z> Message-ID: <001001c5f8b0$4b7182f0$b7303897@paolof61yi6d5z> Sorry but my code is not full translate in english in this point, > FROM Corsi \ > WHERE Corsi_ID = Reg_Corsi_Ref " this is right: FROM Courses \ WHERE Course_ID = Reg_Course_Ref " Paolo From sunshine at public.kherson.ua Sun Dec 4 11:05:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 03:06:21 2005 Subject: V4MD aggregation in subquery In-Reply-To: <000801c5f8af$718d0640$b7303897@paolof61yi6d5z> Message-ID: On 12/4/05 10:47 AM, "info@vallemediatime.com" wrote: Hi Paolo, > Hi all, > I need to get a record set like this example by SQL way, I read that it is > necessary a subquery... right? > > T1 Registration (Reg) > Fld Reg_Code | Reg_Course_Ref | Reg_Student_Ref > R1 1 1000 10 > R2 1 1000 11 > R3 2 1001 12 > > T2 Courses > Fld Course_ID | Course_Name | > R1 1000 Math > R2 1001 Music > I want to get a count of all courses that have a Reg_Code = 1 > eg > Fld Course_Name | Reg_Code_Count > R1 Math 2 > R2 Music 1 I recommend to use link functions. Select CourseName, link_count( Reg_Course_Ref, Courses, Registration ) FROM Courses WHERE link_count( Reg_Course_Ref, Courses, Registration ) = 1 -------- In standard way can be as: SELECT Course_Name, COUNT(*) as 'f2' FROM Courses join Registration ON Corsi_ID = Reg_Corsi_Ref GROUP BY Course_Name HAVING f2 = 1 > My wrong tentative is this: > query = "SELECT Course_Name, \ > (SELECT COUNT(Reg_Code) \ > FROM Registration WHERE Reg_Code = 1) \ > FROM Corsi \ > WHERE Corsi_ID = Reg_Corsi_Ref " > > Can somebody help me? > Thanks -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Sun Dec 4 11:16:53 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Dec 4 04:17:20 2005 Subject: V4MD aggregation in subquery References: Message-ID: <000b01c5f8bb$dae5e740$36543897@paolof61yi6d5z> ----- Original Message ----- From: "Ruslan Zasukhin" To: Sent: Sunday, December 04, 2005 10:05 AM Subject: Re: V4MD aggregation in subquery > On 12/4/05 10:47 AM, "info@vallemediatime.com" > wrote: > > Hi Paolo, > >> Hi all, >> I need to get a record set like this example by SQL way, I read that it >> is >> necessary a subquery... right? >> >> T1 Registration (Reg) >> Fld Reg_Code | Reg_Course_Ref | Reg_Student_Ref >> R1 1 1000 10 >> R2 1 1000 11 >> R3 2 1001 12 >> >> T2 Courses >> Fld Course_ID | Course_Name | >> R1 1000 Math >> R2 1001 Music > >> I want to get a count of all courses that have a Reg_Code = 1 >> eg >> Fld Course_Name | Reg_Code_Count >> R1 Math 2 >> R2 Music 1 > > I recommend to use link functions. > > Select CourseName, link_count( Reg_Course_Ref, Courses, Registration ) > FROM Courses > WHERE link_count( Reg_Course_Ref, Courses, Registration ) = 1 > > > -------- > In standard way can be as: > > SELECT Course_Name, COUNT(*) as 'f2' > FROM Courses join Registration ON Corsi_ID = Reg_Corsi_Ref > GROUP BY Course_Name > HAVING f2 = 1 Thanks Ruslan, I've tried it and at the end I can use this working query: SELECT Course_Name, COUNT(Reg_Code) \ FROM Courses JOIN Registration ON Course_ID = Reg_Course_Ref \ WHERE Reg_Code = 1 \ GROUP BY Course_Name But if I want add a ner field into first line selected: eg SELECT Course_ID, Course_Name, COUNT(Reg_Code) \ .... the cursor become VOID some suggestion? Thanks Paolo > >> My wrong tentative is this: >> query = "SELECT Course_Name, \ >> (SELECT COUNT(Reg_Code) \ >> FROM Registration WHERE Reg_Code = 1) \ >> FROM Corsi \ >> WHERE Corsi_ID = Reg_Corsi_Ref " >> >> Can somebody help me? >> Thanks > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta > From IvanSmahin at public.kherson.ua Sun Dec 4 12:32:46 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sun Dec 4 04:33:08 2005 Subject: V4MD aggregation in subquery In-Reply-To: <000b01c5f8bb$dae5e740$36543897@paolof61yi6d5z> References: <000b01c5f8bb$dae5e740$36543897@paolof61yi6d5z> Message-ID: <718894337.20051204123246@public.kherson.ua> Hello info, Sunday, December 4, 2005, 12:16:53 PM, you wrote: ivc> Thanks Ruslan, ivc> I've tried it and at the end I can use this working query: ivc> SELECT Course_Name, COUNT(Reg_Code) \ ivc> FROM Courses JOIN Registration ON Course_ID = Reg_Course_Ref \ ivc> WHERE Reg_Code = 1 \ ivc> GROUP BY Course_Name ivc> But if I want add a ner field into first line selected: ivc> eg ivc> SELECT Course_ID, Course_Name, COUNT(Reg_Code) \ .... ivc> the cursor become VOID ivc> some suggestion? Actually there is some exception thrown. You can not use any field in the select list which is not mentioned in GROUP BY clause. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From info at vallemediatime.com Sun Dec 4 11:47:05 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Dec 4 04:47:32 2005 Subject: V4MD aggregation in subquery References: <000b01c5f8bb$dae5e740$36543897@paolof61yi6d5z> <718894337.20051204123246@public.kherson.ua> Message-ID: <001701c5f8c0$12ecb840$36543897@paolof61yi6d5z> > Actually there is some exception thrown. > You can not use any field in the select list which is not mentioned > in GROUP BY clause. Good, I understand, now all works. Thanks again Paolo From info at vallemediatime.com Sun Dec 4 11:56:46 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Dec 4 04:57:16 2005 Subject: V4MD void cursor if I add ORDER BY clause Message-ID: <002201c5f8c1$6e2fcc50$36543897@paolof61yi6d5z> Hi, again This query works: query = "SELECT Reg_ID, Person_LastName || ' ' || Person_FirstName, Course_Name, \ Reg_Day || '-' || Reg_Month || '-' || Reg_Year \ FROM Registration, Person, Courses \ WHERE Reg_Code = 2 \ AND Person_ID = Reg_Person_Ref \ AND Course_ID = Reg_Course_Ref " But if I want to add a ORDER clause I get a VOID cursor eg query = "SELECT Reg_ID, Person_LastName || ' ' || Person_FirstName, Course_Name, \ Reg_Day || '-' || Reg_Month || '-' || Reg_Year \ FROM Registration, Person, Courses\ WHERE Regi_Code = 2 AND Person_ID = Reg_Person_Ref AND Course_ID = Reg_Course_Ref \ ORDER BY Reg_Year " Another good suggestion? :-) Thanks Paolo From sunshine at public.kherson.ua Sun Dec 4 12:59:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 04:59:52 2005 Subject: V4MD void cursor if I add ORDER BY clause In-Reply-To: <002201c5f8c1$6e2fcc50$36543897@paolof61yi6d5z> Message-ID: On 12/4/05 12:56 PM, "info@vallemediatime.com" wrote: > Hi, again > > This query works: > > query = "SELECT Reg_ID, Person_LastName || ' ' || Person_FirstName, > Course_Name, \ > Reg_Day || '-' || Reg_Month || '-' || Reg_Year \ > FROM Registration, Person, Courses \ > WHERE Reg_Code = 2 \ > AND Person_ID = Reg_Person_Ref \ > AND Course_ID = Reg_Course_Ref " > > > But if I want to add a ORDER clause I get a VOID cursor > eg > query = "SELECT Reg_ID, Person_LastName || ' ' || Person_FirstName, > Course_Name, \ > Reg_Day || '-' || Reg_Month || '-' || Reg_Year \ > FROM Registration, Person, Courses\ > WHERE Regi_Code = 2 AND Person_ID = Reg_Person_Ref AND Course_ID = > Reg_Course_Ref \ > ORDER BY Reg_Year " > > Another good suggestion? :-) Paolo, EACH TIME when you get VOID cursor, You must look into error description. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Dec 4 13:00:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 05:00:42 2005 Subject: V4MD void cursor if I add ORDER BY clause In-Reply-To: <002201c5f8c1$6e2fcc50$36543897@paolof61yi6d5z> Message-ID: On 12/4/05 12:56 PM, "info@vallemediatime.com" wrote: > Hi, again > > This query works: > > query = "SELECT Reg_ID, Person_LastName || ' ' || Person_FirstName, > Course_Name, \ > Reg_Day || '-' || Reg_Month || '-' || Reg_Year \ > FROM Registration, Person, Courses \ > WHERE Reg_Code = 2 \ > AND Person_ID = Reg_Person_Ref \ > AND Course_ID = Reg_Course_Ref " > > > But if I want to add a ORDER clause I get a VOID cursor > eg > query = "SELECT Reg_ID, Person_LastName || ' ' || Person_FirstName, > Course_Name, \ > Reg_Day || '-' || Reg_Month || '-' || Reg_Year \ > FROM Registration, Person, Courses\ > WHERE Regi_Code = 2 AND Person_ID = Reg_Person_Ref AND Course_ID = > Reg_Course_Ref \ > ORDER BY Reg_Year " > > Another good suggestion? :-) And you need read carefully ValentinaSQL.pdf It is said: you can ORDER BY only on field, which is SELECTed -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Dec 4 13:01:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 05:01:41 2005 Subject: V4MD void cursor if I add ORDER BY clause In-Reply-To: <002201c5f8c1$6e2fcc50$36543897@paolof61yi6d5z> Message-ID: On 12/4/05 12:56 PM, "info@vallemediatime.com" wrote: > Hi, again > > This query works: > > query = "SELECT Reg_ID, Person_LastName || ' ' || Person_FirstName, > Course_Name, \ > Reg_Day || '-' || Reg_Month || '-' || Reg_Year \ > FROM Registration, Person, Courses \ > WHERE Reg_Code = 2 \ > AND Person_ID = Reg_Person_Ref \ > AND Course_ID = Reg_Course_Ref " > > > But if I want to add a ORDER clause I get a VOID cursor > eg > query = "SELECT Reg_ID, Person_LastName || ' ' || Person_FirstName, > Course_Name, \ > Reg_Day || '-' || Reg_Month || '-' || Reg_Year \ > FROM Registration, Person, Courses\ > WHERE Regi_Code = 2 AND Person_ID = Reg_Person_Ref AND Course_ID = > Reg_Course_Ref \ > ORDER BY Reg_Year " > > Another good suggestion? :-) > Thanks Paolo This is why I recommend again to use link_count() function. Read about it in Valentina SQL.pdf This way is faster, and it do not have limits of GROUP BY way -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From info at vallemediatime.com Sun Dec 4 12:11:03 2005 From: info at vallemediatime.com (info@vallemediatime.com) Date: Sun Dec 4 05:11:31 2005 Subject: V4MD void cursor if I add ORDER BY clause References: Message-ID: <001501c5f8c3$6c53f580$36543897@paolof61yi6d5z> > you can ORDER BY only on field, which is SELECTed ok, I have understand my error this: Reg_Day || '-' || Reg_Month || '-' || Reg_Year is obvious, not a SELECTed one field. Thanks Paolo From sunshine at public.kherson.ua Sun Dec 4 13:16:47 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 05:17:20 2005 Subject: V4MD void cursor if I add ORDER BY clause In-Reply-To: <001501c5f8c3$6c53f580$36543897@paolof61yi6d5z> Message-ID: On 12/4/05 1:11 PM, "info@vallemediatime.com" wrote: >> you can ORDER BY only on field, which is SELECTed > > ok, I have understand my error > this: Reg_Day || '-' || Reg_Month || '-' || Reg_Year > is obvious, not a SELECTed one field. Right. GROUP BY clause has very strict limits. Often not comfortable. Please learn "link functions" :-) They are cool -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Dec 4 14:27:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 06:27:39 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <4392249E.5060304@wxs.nl> Message-ID: On 12/4/05 1:05 AM, "Leo Van den Brande" wrote: Hi Leo, > 2. I don't seem to find the folder on Win2000 where I should put the path to > the VComp folder. You ask about PATH variable ? > It works thanks to having all files at the root of my > application folder. When you will deploy, this is the best way > Ruslan mentioned the preferences of MyComputer on the > list, but I can't find it. Please enlighten me. Right mouse click to icon MyComputer Here button Environment -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Dec 4 14:28:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 06:28:58 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <4392249E.5060304@wxs.nl> Message-ID: On 12/4/05 1:05 AM, "Leo Van den Brande" wrote: Hi Leo, > Hi Ruslan and Ivan, > > It works: accented characters after conversion 1-2 come out right on Mac and > Windows, also after transfer between platforms, irrespective where the db is > created or converted. Great! Good. > I have two questions, however: > > 1. The Windows build of the very small conversion project (written on the > Mac), after doing the conversion correctly, gives an error on closing: Do you mean that only some db cause problem, But all rest convert fine ? > "Could not allocate thread local data". > > The error log says: > > Valentina_SetDebugLevel... > PARAM: inLevel = 3 > return > > Valentina_Convert_1_2... > PARAM: inOldDb = 17057200 > PARAM: inNewDb = 17056912 > PARAM: inLoadRecords = 1 > PARAM: inNewSegmentSize = 0 > return > > Valentina_ShutDown... > return > > What does this mean and what can I do about it? No idea. Can you send to Ivan this db ? He will test on windows -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Sun Dec 4 14:42:10 2005 From: maxprog at mac.com (Stan Busk) Date: Sun Dec 4 07:42:43 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: <9CCB7F89-D64C-465E-8D1B-9C3FF143BD13@mac.com> Hi, Yes. My file on the PC has a custom 4 chars characters. If I use the file as is, the convert crash as soon as it begins. Renaming the file with the '.vdb' extension right before convertion fixes the problem. Stan > You mean that db1 do not have .vdb ? > And this cause crash AFTER convert done ? > > Ivan, you need check this. > > > P.S. I have some progress with Byte index bug(s). > already 2 fixed. From maxprog at mac.com Sun Dec 4 14:47:56 2005 From: maxprog at mac.com (Stan Busk) Date: Sun Dec 4 07:48:28 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: Hi, Yes, it works on both Mac and Windows including with files created on Mac in Windows and opposite. *BUT* I have found 1 character that is not properly converted on Windows. It is the "'", it is converted to a square. No problem on the Mac. I am talking about a fresh v1 database containing some "'" created on Windows. Stan >> It works: accented characters after conversion 1-2 come out right >> on Mac and >> Windows, also after transfer between platforms, irrespective where >> the db is >> created or converted. Great! > > Good. From sunshine at public.kherson.ua Sun Dec 4 16:05:35 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 08:06:08 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: Message-ID: On 12/4/05 3:47 PM, "Stan Busk" wrote: > Hi, > > Yes, it works on both Mac and Windows including with files created on > Mac in Windows and opposite. > > *BUT* I have found 1 character that is not properly converted on > Windows. It is the "'", it is converted to a square. No problem on > the Mac. I am talking about a fresh v1 database containing some "'" > created on Windows. Strange. The fix was only that Ivan have set put_IOEncoding() to "Latin1" for windows. May be exists another single quote ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Dec 4 16:06:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 08:06:42 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <9CCB7F89-D64C-465E-8D1B-9C3FF143BD13@mac.com> Message-ID: On 12/4/05 3:42 PM, "Stan Busk" wrote: > Hi, > > Yes. My file on the PC has a custom 4 chars characters. If I use the > file as is, the convert crash as soon as it begins. Renaming the file > with the '.vdb' extension right before convertion fixes the problem. Ivan have fix this. Not convert_1_2() take into account your Extensions of db files -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From IvanSmahin at public.kherson.ua Sun Dec 4 16:24:35 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sun Dec 4 08:25:06 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: <897413E0-DF8D-407C-8D7A-EC705061A7A9@mac.com> Message-ID: <901761894.20051204162435@public.kherson.ua> Hello Stan, Saturday, December 3, 2005, 10:19:34 PM, you wrote: RZ> On 12/3/05 10:00 PM, "Stan Busk" wrote: >> Hum...conversion works also on my Windows box...so previous project >> has a problem. Only differences between those 2 projects is that the >> one that fails to convert on Windows doesn't use the '.vdb' extension >> and is a single file. Is your function expecting the '.vdb' extension >> for the input file? Yes, it was so. I have made some changes to the Convert_1_2 function now. And if you wrote such a line in the project: Valentina.SetExtensions "icash", "dat", "blb", "ind" then Convert_1_2 will set up such an extensions to the version-1 database before open one. And now it works fine. One more point. In the given project, v1 database's file name should be "SampleDB.icash". Because you set up such an extension before. Now you wrote: outFile = inFile.Parent.Child( inFile.Name + "_new" ) So it will be "SampleDB.icash_new". And created database name will be "SampleDB.icash_new.icash" as result. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From maxprog at mac.com Sun Dec 4 20:04:39 2005 From: maxprog at mac.com (Stan Busk) Date: Sun Dec 4 13:05:12 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: References: Message-ID: <5DA8234A-C694-4E2D-820A-A9B1B11B53EC@mac.com> Actually it is not "'" but "?". Not sure if this mail will keep the character intact, it is code \0xD5 Personally I think the use of that character is an error. Stan > On 12/4/05 3:47 PM, "Stan Busk" wrote: > >> Hi, >> >> Yes, it works on both Mac and Windows including with files created on >> Mac in Windows and opposite. >> >> *BUT* I have found 1 character that is not properly converted on >> Windows. It is the "'", it is converted to a square. No problem on >> the Mac. I am talking about a fresh v1 database containing some "'" >> created on Windows. > > Strange. > > The fix was only that Ivan have set put_IOEncoding() to "Latin1" > for windows. > > May be exists another single quote ? > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From leo_van_den_brande at wxs.nl Sun Dec 4 20:14:14 2005 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Sun Dec 4 13:14:09 2005 Subject: V4RB 2.1 b12 In-Reply-To: <20051204142510.B37E73DC63C@edison.macserve.net> References: <20051204142510.B37E73DC63C@edison.macserve.net> Message-ID: <43934006.5080506@wxs.nl> Hi Ruslan >> It works thanks to having all files at the root of my >> application folder. > When you will deploy, this is the best way There are folders and files in my application folder that my users must easily find and recognize. They are confused by a lot of free files that are meaingless for them. Therefore I need to put the VComp folder somewhere that Valentina recognizes but is not disturbing the user. >> Ruslan mentioned the preferences of MyComputer on the >> list, but I can't find it. Please enlighten me. > Right mouse click to icon MyComputer > Here button Environment It is not on the list of the popup appearing in Win2000. >> The Windows build of the very small conversion project (written on the >> Mac), after doing the conversion correctly, gives an error on closing: > Do you mean that only some db cause problem, > But all rest convert fine ? The conversion is OK. It happens only when the application is closed. Could it be some Windows error? > Can you send to Ivan this db ? > He will test on windows I have recently sent both the db's and the RB-conversion project to Ivan. Stan wrote: > *BUT* I have found 1 character that is not properly converted on > Windows. It is the "'", it is converted to a square. No problem on > the Mac. I am talking about a fresh v1 database containing some "'" > created on Windows. I hope the encoding-guru's will resolve this one. Leo valentina-beta-request@lists.macserve.net wrote: > Send Valentina-beta mailing list submissions to > valentina-beta@lists.macserve.net > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.macserve.net/mailman/listinfo/valentina-beta > or, via email, send a message with subject or body 'help' to > valentina-beta-request@lists.macserve.net > > You can reach the person managing the list at > valentina-beta-owner@lists.macserve.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Valentina-beta digest..." > > > Today's Topics: > > 1. Re: V4MD void cursor if I add ORDER BY clause (Ruslan Zasukhin) > 2. Re: V4MD void cursor if I add ORDER BY clause (Ruslan Zasukhin) > 3. Re: V4MD void cursor if I add ORDER BY clause > (info@vallemediatime.com) > 4. Re: V4MD void cursor if I add ORDER BY clause (Ruslan Zasukhin) > 5. Re: [ANN] V4RB 2.1 b12 (Ruslan Zasukhin) > 6. Re: [ANN] V4RB 2.1 b12 (Ruslan Zasukhin) > 7. Re: Re[6]: [ANN] V4RB 2.1 b12 (Stan Busk) > 8. Re: [ANN] V4RB 2.1 b12 (Stan Busk) > 9. Re: [ANN] V4RB 2.1 b12 (Ruslan Zasukhin) > 10. Re: Re[6]: [ANN] V4RB 2.1 b12 (Ruslan Zasukhin) > 11. Re[8]: [ANN] V4RB 2.1 b12 (Ivan Smahin) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 04 Dec 2005 13:00:08 +0200 > From: Ruslan Zasukhin > Subject: Re: V4MD void cursor if I add ORDER BY clause > To: "valentina-beta@lists.macserve.net" > > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > On 12/4/05 12:56 PM, "info@vallemediatime.com" > wrote: > > >>Hi, again >> >>This query works: >> >>query = "SELECT Reg_ID, Person_LastName || ' ' || Person_FirstName, >>Course_Name, \ >>Reg_Day || '-' || Reg_Month || '-' || Reg_Year \ >>FROM Registration, Person, Courses \ >>WHERE Reg_Code = 2 \ >>AND Person_ID = Reg_Person_Ref \ >>AND Course_ID = Reg_Course_Ref " >> >> >>But if I want to add a ORDER clause I get a VOID cursor >>eg >>query = "SELECT Reg_ID, Person_LastName || ' ' || Person_FirstName, >>Course_Name, \ >>Reg_Day || '-' || Reg_Month || '-' || Reg_Year \ >>FROM Registration, Person, Courses\ >>WHERE Regi_Code = 2 AND Person_ID = Reg_Person_Ref AND Course_ID = >>Reg_Course_Ref \ >>ORDER BY Reg_Year " >> >>Another good suggestion? :-) > > > And you need read carefully ValentinaSQL.pdf > > It is said: > > you can ORDER BY only on field, which is SELECTed > > -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31) 30 2511767 Fax: (+31) (0)84 756 5233 From maxprog at mac.com Sun Dec 4 20:31:04 2005 From: maxprog at mac.com (Stan Busk) Date: Sun Dec 4 13:31:37 2005 Subject: V4RB 2.1 b12 In-Reply-To: <43934006.5080506@wxs.nl> References: <20051204142510.B37E73DC63C@edison.macserve.net> <43934006.5080506@wxs.nl> Message-ID: <4113D88E-DA5B-4DE1-B5DB-6CB586C70BB3@mac.com> Hi, I got that error several times yesterday as well, when quitting the app and after a successful conversion. It happens only with one of my project. As I am doing remote debugging thru my network I thought it had something to do with it. Stan >>> The Windows build of the very small conversion project (written >>> on the >>> Mac), after doing the conversion correctly, gives an error on >>> closing: > >> Do you mean that only some db cause problem, >> But all rest convert fine ? > > The conversion is OK. It happens only when the application is > closed. Could it be some Windows error? >> Can you send to Ivan this db ? >> He will test on windows From sunshine at public.kherson.ua Sun Dec 4 21:34:41 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 13:35:12 2005 Subject: [ANN] V4RB 2.1 b12 In-Reply-To: <5DA8234A-C694-4E2D-820A-A9B1B11B53EC@mac.com> Message-ID: On 12/4/05 9:04 PM, "Stan Busk" wrote: Hi Stan, > Actually it is not "'" but "?". Not sure if this mail will keep the > character intact, it is code \0xD5 > Personally I think the use of that character is an error. That is right. I think this character do not fit Latin1 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Dec 4 21:36:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 4 13:36:58 2005 Subject: V4RB 2.1 b12 In-Reply-To: <43934006.5080506@wxs.nl> Message-ID: On 12/4/05 9:14 PM, "Leo Van den Brande" wrote: Hi Leo, >>> It works thanks to having all files at the root of my >>> application folder. > >> When you will deploy, this is the best way > > There are folders and files in my application folder that my users must easily > find and recognize. They are confused by a lot of free files that are > meaingless for them. Therefore I need to put the VComp folder somewhere that > Valentina recognizes but is not disturbing the user. > >>> Ruslan mentioned the preferences of MyComputer on the >>> list, but I can't find it. Please enlighten me. > >> Right mouse click to icon MyComputer >> Here button Environment > > It is not on the list of the popup appearing in Win2000. Then check control panel System Settings >>> The Windows build of the very small conversion project (written on the >>> Mac), after doing the conversion correctly, gives an error on closing: > >> Do you mean that only some db cause problem, >> But all rest convert fine ? > > The conversion is OK. It happens only when the application is closed. Could it > be some Windows error? Hard to say -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From IvanSmahin at public.kherson.ua Sun Dec 4 21:53:47 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Sun Dec 4 13:54:09 2005 Subject: V4RB 2.1 b12 In-Reply-To: References: <43934006.5080506@wxs.nl> Message-ID: <1375835018.20051204215347@public.kherson.ua> Hello, Sunday, December 4, 2005, 9:36:26 PM, you wrote: >>>> The Windows build of the very small conversion project (written on the >>>> Mac), after doing the conversion correctly, gives an error on closing: >> >>> Do you mean that only some db cause problem, >>> But all rest convert fine ? >> >> The conversion is OK. It happens only when the application is closed. Could it >> be some Windows error? RZ> Hard to say I have built the project on the windows. And found nothing strange - everything works fine. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From leo_van_den_brande at wxs.nl Mon Dec 5 12:15:44 2005 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Mon Dec 5 05:15:41 2005 Subject: V4RB 2.1 b12 Message-ID: <43942160.9080908@wxs.nl> Hi Ruslan, On the subject of adding the Path to the VComponents folder: >> Right mouse click to icon MyComputer >> Here button Environment > It is not on the list of the popup appearing in Win2000. I found it: Settings->System->Advanced->Environment Variables. It works well! Thanks. Leo -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31) 30 2511767 Fax: (+31) (0)84 756 5233 From philip.moetteli at econophone.ch Wed Dec 7 17:03:47 2005 From: philip.moetteli at econophone.ch (=?ISO-8859-1?Q?Philip_M=F6tteli?=) Date: Wed Dec 7 10:04:24 2005 Subject: What to expect from Valentina Cocoa? Message-ID: <93613E04-7229-40FE-B649-2A6065A69994@econophone.ch> Hello, I just joined that mailing list, because Ruslin made some advertisement on a MOSX mailing-list. At least me, I was not bothered by that at all! Anyway, I would be interested to know, what I have to expect from this interface from Cocoa to Valentina? Is it something like EOF? Or CoreData? Or just a wrapper to a C library? How much transparency can I expect? Regards Phil From sunshine at public.kherson.ua Wed Dec 7 19:27:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 7 11:27:45 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: <93613E04-7229-40FE-B649-2A6065A69994@econophone.ch> Message-ID: On 12/7/05 6:03 PM, "Philip M?tteli" wrote: Hi Philip, > Hello, > > I just joined that mailing list, because Ruslin made some > advertisement on a MOSX mailing-list. At least me, I was not bothered > by that at all! > Anyway, I would be interested to know, what I have to expect from > this interface from Cocoa to Valentina? Is it something like EOF? Or > CoreData? Or just a wrapper to a C library? > How much transparency can I expect? * there is no CoreData integration, and wont until Apple will open its API. * for now Valentina for Cocoa is set of Objective-C classes that follow to Apple rules on names, so classes work with binding. These are objective-C classes around our C++ SDK. In this way we develop any plugin/API. Philip, to install and test Valentina for Cocoa you need 2 steps: 1) download from here http://paradigmasoft.com/en/products/download/beta/VSDK our C++ SDK 2.1 beta, and install It on your computer. 2) Justin, can you send to me and CC to Philip your latest V4CC framework in compiled form ? (I still did not have time to setup your code on my computer). --------------- Philip, You can read Valentina Kernel.pdf Valentina SQL.pdf And Valentina for REALbasic.pdf V4CC and V4RB have very similar API. Although some differences exists. But you will get general idea how it looks. --------------- Philip, I am sure that Justin is on beta list, yes Justin? Totte also have now framework from Justin and is going start to use it asap. They both are strong C++ developers also. It will be great if we all start discussion about V4CC, May be somebody will find some missing features... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Dec 7 21:07:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 7 13:08:31 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: <2375AA09-8F21-4502-B8E8-259F1EF58010@mac.com> Message-ID: On 12/7/05 8:25 PM, "jaydeeonline@mac.com" wrote: > Here's the most recent framework and a little foundation tool test > alongside an xcode project. > > Philip, if you download the C++ sdk as Ruslan noted, copy the > vcomponents folder into /usr/local/lib (I just command shift G and > type in that path, then authenticate when drag and dropping, nice and > easy), the xcode project included should find everything and you > should be able to build and run. > > Basically creates a little test database on your boot drive, creates > some fields, populates a varchar field, does a couple of queries and > NSLog's the results. Nothing fancy, but just a quick demo. You can > download VStudio from the paradigmasoft website to view this > database... 'Doh as I typed that I remembered a VStudio bug I ran > into, you'll need to move the database to a different location(like > your home folder) before it opens up. > There are some hoops to jump through if you want to build a cocoa > application(as far as what you do with the C++ dylibs, putting them > in the proper path when the app is packaged, that kind of stuff.) > But play around with the foundation tool and browse the V4CC headers > and documentation to get an idea of things. There's also an import > text routine you can perform if you have data in a text dump format > that you want to try testing speed on. Also keep away from sorting > in a sql query(order by), I believe that still doesn't work... > > Ruslan, correct me if I missed anything... Yes, I did not check yet your last archive with ORDER BY. If any questions, send them to Valentina-beta -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From leo_van_den_brande at wxs.nl Wed Dec 7 21:40:07 2005 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Wed Dec 7 14:40:07 2005 Subject: Conversion project In-Reply-To: <20051207172750.56E853DCFA8@edison.macserve.net> References: <20051207172750.56E853DCFA8@edison.macserve.net> Message-ID: <439748A7.8090805@wxs.nl> Hi Ivan >> The Windows build of the very small conversion project (written on the >> Mac), after doing the conversion correctly, gives an error on closing: > Do you mean that only some db cause problem, > But all rest convert fine ? >> The conversion is OK. It happens only when the application is closed. Could it >> be some Windows error? RZ> Hard to say > I have built the project on the windows. > And found nothing strange - everything works fine. Did you make a Windows build on the Mac as I did? Wich versions of RB, Mac and Windows? Thanks, Leo -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31) 30 2511767 Fax: (+31) (0)84 756 5233 From sunshine at public.kherson.ua Wed Dec 7 23:13:22 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 7 15:14:00 2005 Subject: Conversion project In-Reply-To: <439748A7.8090805@wxs.nl> Message-ID: On 12/7/05 10:40 PM, "Leo Van den Brande" wrote: > >> I have built the project on the windows. >> And found nothing strange - everything works fine. > > Did you make a Windows build on the Mac as I did? No, right on windows > Wich versions of RB, Mac and Windows? I think Ivan use RB 5.5.2, winXP -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From justin at crunch-recording.com Wed Dec 7 17:04:52 2005 From: justin at crunch-recording.com (Justin Drury) Date: Wed Dec 7 16:05:06 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: <20051207172750.3FCB73DCFA7@edison.macserve.net> References: <20051207172750.3FCB73DCFA7@edison.macserve.net> Message-ID: <532101E9-BBB8-4073-B021-CA024268AC01@crunch-recording.com> Yup, I'm on this list, although I get the digest version, so I'm a few hours behind. There is still some API calls to fill in, most of these are commented out of the headers, so it should be pretty clear...I'll list a few off the top of my head. VServer. Some of the Valentina Kernel properties(waiting on Valentina developers to expose some functions) The Date/Time field is missing entirely..Picture field(80% there, reads are there, not write), BLOB's haven't been tested but should work... In VField some of the API methods, valueExists, findvalue,findSingle... (find nulls, find distinct, find like, find regex, etc all working except...) and this is in a few places...take... - (VArraySet*)findValueAsArraySet:(id)inValue; - (VArraySet*)findValueAsArraySet:(id)inValue selection:(VSet*) inSelection; - (VArraySet*)findValueAsArraySet:(id)inValue selection:(VSet*) inSelection maxCount:(int)inMaxCount; - (VArraySet*)findValueAsArraySet:(id)inValue selection:(VSet*) inSelection maxCount:(int)inMaxCount searchPref:(int)inSearchPref; The method with the most parameters is implemented, the convenience methods with default methods aren't always. As a general rule if there is a notation in the header about default values then its implemented. And finally... Some of the variant functions. I need to understand these myself as they're used in V4RB and see what makes sense in V4CC, whether we use id, restrict it to VObject(all Valentina classes are a subclass of this) Other than that...#import "V4CC/V4CC.H" (umbrella includes all the other headers) use Xcode 2.2 release, it code complete's 3rd party frameworks... Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20051207/ec237cfc/attachment.html From sunshine at public.kherson.ua Thu Dec 8 00:11:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 7 16:12:39 2005 Subject: [ANN] V4RB mac 2.1 b13 uploaded Message-ID: Hi All, ***** NEW ****** * Added Aggregate Functions, i.e should be used with GROUP BY. STDDEV() bit_and() bit_or() bit_xor() * Vcusor class now have method ToArraySet() as VArraySet Make independent ArraySet according to records of cursor. Should be used only with single table cursor. And it is wise to use "SELECT RecID FROM T ..." form. **** FIXED ****** - 0001171: [Database] DeleteAllRecords crashes - 0001174: [SQL] OUTER JOIN with -> Operator can cause crash with NULL Values -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20051208/6d492d5a/attachment.html From Ed at Kleban.com Wed Dec 7 19:37:15 2005 From: Ed at Kleban.com (Ed Kleban) Date: Wed Dec 7 19:37:54 2005 Subject: [ANN] V4RB mac 2.1 b13 uploaded In-Reply-To: Message-ID: On 12/7/05 4:11 PM, "Ruslan Zasukhin" wrote: > Hi All, > > ***** NEW ****** > > * Added Aggregate Functions, i.e should be used with GROUP BY. > > STDDEV() > bit_and() > bit_or() > bit_xor() > And presumably bit_not(x,y) and bit_count(x) as well? I'm not sure how any of these other than STDDEV and possibly bit_count(x) might qualify as Aggregate functions. What does it mean to use bit_and() as an aggregate? From sunshine at public.kherson.ua Thu Dec 8 10:06:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 8 02:07:32 2005 Subject: [ANN] V4RB mac 2.1 b13 uploaded In-Reply-To: Message-ID: On 12/8/05 3:37 AM, "Ed Kleban" wrote: >> ***** NEW ****** >> >> * Added Aggregate Functions, i.e should be used with GROUP BY. >> >> STDDEV() >> bit_and() >> bit_or() >> bit_xor() >> > > And presumably bit_not(x,y) and bit_count(x) as well? > > I'm not sure how any of these other than STDDEV and possibly bit_count(x) > might qualify as Aggregate functions. What does it mean to use bit_and() > as an aggregate? SELECT f1, count(f1), bit_and(f1) FROM T GROUP BY f1 So everything as for other aggregate functions: GROUP BY f1, split your table to some groups. Then for each group is applied function. As I see, this is useful only for small groups, because you can easy get all bits ON for big groups. And I think to use them, it needs to have SPECIAL data in table. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Dec 8 10:17:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 8 02:18:27 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: <04653B0B-9A74-453E-99DF-2EE7961B695A@mac.com> Message-ID: On 12/8/05 6:03 AM, "Justin Drury" wrote: > So outstanding on my end.. Let's discuss this on beta list, and close step by step all issues. > SqlExecute/Query with Binding You mean you have no made binding yet? Some problems here? The FIRST STEP we do for each language is to find the most comfortable way to code biding in that language. I think ObjC has Arrays -- the most right thing for this. In REALbasic we have: curs = db.SqlSelect( query, Array( s1, s2, s3) ) What the best analog syntax in ObjC can be? > Variants Do you mean VField.Value as Variant ? So this is not implemented yet How you set/get values of fields then now ? > VServer Okay, this can be one of last issues > Date/Time/Text/Picture VFields(other Blob stuff) There is no other BLOB stuff in engine. TEXT and Pictures. Well, Date, Time, DateTime -- EASY. TEXT -- also is easy. Very similar to String and VarChar BLOB Picture -- Important is to know way to get PicHadle from ObjC. > Integrate more of the docs into the headers... > > // For vdevelopers > (Some of this may have been addressed already) > Valentina module... > { > escapeString (link error - undefined symbol) > encodings > databaseVersion > databaseMode > schemaVersion > isStructureEncrypted > } Hmm, I am sure I have resolve all tasks you did ask. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From leo_van_den_brande at wxs.nl Thu Dec 8 11:56:33 2005 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Thu Dec 8 04:56:33 2005 Subject: Conversion project In-Reply-To: <20051208080735.D9AB53DD0E6@edison.macserve.net> References: <20051208080735.D9AB53DD0E6@edison.macserve.net> Message-ID: <43981161.7020300@wxs.nl> >>> I have built the project on the windows. >>> And found nothing strange - everything works fine. > > >> Did you make a Windows build on the Mac as I did? > No, right on windows So it should be the Mac build for Windows causing the problem. Ivan, could you please send me your build of my conversion project, So I can try it on my Win 2000 (VPC) for comparison? Thanks! Leo -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31) 30 2511767 Fax: (+31) (0)84 756 5233 From sunshine at public.kherson.ua Thu Dec 8 15:18:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 8 07:19:13 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: Message-ID: On 12/8/05 2:46 PM, "Justin Drury" wrote: >>> SqlExecute/Query with Binding >> >> You mean you have no made binding yet? >> Some problems here? > > Nope, I have never used it, so was just unsure what it was supposed > to do, if I read the docs all should be well and I'll find an > equivalent. Objective C uses NSArrays. I'm just unsure what Array > (s1,s2,s3) means! But I'll look it up! It means short form of creation of array of string. REALbasic: // full form dim arr as Strings(10) arr(0) = new String( "123" ) db.SqlSelect( query, arr ) // short form: db.SqlSelect( query, Array("123") ) Director: db.SqlSelect( query, ["123"] ) Obj-C ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Dec 8 15:35:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 8 07:36:39 2005 Subject: Conversion project In-Reply-To: <43981161.7020300@wxs.nl> Message-ID: On 12/8/05 12:56 PM, "Leo Van den Brande" wrote: >>>> I have built the project on the windows. >>>> And found nothing strange - everything works fine. >> >> >>> Did you make a Windows build on the Mac as I did? > > >> No, right on windows > > So it should be the Mac build for Windows causing the problem. Do you mean that IF you make build on windows, then no problems? > Ivan, could you please send me your build of my conversion project, So I can > try it on my Win 2000 (VPC) for comparison? Ivan? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Dec 8 15:53:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 8 07:54:12 2005 Subject: Valentina for Cocoa, SQL Query with bind In-Reply-To: <6374A383-32DA-4EBE-A6EC-3DED27D35D1D@mac.com> Message-ID: On 12/8/05 3:42 PM, "jaydeeonline@mac.com" wrote: > From: "Justin Drury" > Reply-To: > To: > Subject: Missing Cocoa Functions > X-Mailer: > > Ahhh easy then...something like... > > NSString *query=@"select from.....ya di ya di"; > > NSArray *myArrayOfStrings=[NSArray > arrayWithObjects:@"string1",@"string2",nil]; > VCursor *result=[dbObject sqlSelect:query withArray:myArrayOfStrings]; Right. > We'll just need to ensure that each object in myArrayOfStrings is [kindOfClass > [NSString class]](and? subclasses), because NSArray's can hold any core > types(NSNumber, NSDictionary, etc). Right, and if something else then e.g. Return error: wrong param. > We could have an array of NSString's but NSArray is nicer memory management > wise(in the above? example NSArray is autoreleased), once an object(NSString) > is added to an NSArray it can be? released, the NSArray has added a retain > count.? Releasing(or autoreleasing) the NSArray releases the? NSStrings. > In the case of objects not being NSString's should we skip over them or raise > an exception?? And is it always a string, could it be an array of integers? IF obj-C allow keep in array integers and strings and other types, Then this is great. So far only Director did allow us this. Valentina C++ engine also allow in Bind-array have I_Values of different types. So again, if Obj-C allow this, we can do this. Just you will have some switch probably to convert each array item into corresponded I_Value > I should read the docs!!! > > Justin -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Thu Dec 8 08:05:34 2005 From: Ed at Kleban.com (Ed Kleban) Date: Thu Dec 8 08:06:14 2005 Subject: [ANN] V4RB mac 2.1 b13 uploaded In-Reply-To: Message-ID: On 12/8/05 2:06 AM, "Ruslan Zasukhin" wrote: > On 12/8/05 3:37 AM, "Ed Kleban" wrote: > >>> ***** NEW ****** >>> >>> * Added Aggregate Functions, i.e should be used with GROUP BY. >>> >>> STDDEV() >>> bit_and() >>> bit_or() >>> bit_xor() >>> >> >> And presumably bit_not(x,y) and bit_count(x) as well? >> >> I'm not sure how any of these other than STDDEV and possibly bit_count(x) >> might qualify as Aggregate functions. What does it mean to use bit_and() >> as an aggregate? > > SELECT f1, count(f1), bit_and(f1) > FROM T > GROUP BY f1 > > > So everything as for other aggregate functions: > > GROUP BY f1, split your table to some groups. > Then for each group is applied function. > > As I see, this is useful only for small groups, because you can easy get all > bits ON for big groups. > > And I think to use them, it needs to have SPECIAL data in table. > Ok, I get it now. This aggregation with bit_and, bit_or, and bit_xor is across successive records in a group and is a DIFFERENT use from these three functions as expression operators. I was confused. Thanks for clearing it up. From sunshine at public.kherson.ua Thu Dec 8 17:40:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 8 09:41:21 2005 Subject: Ed, have you test ToArraySet() ? Message-ID: Hi Ed, We have add this feature request. Have you test it ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Thu Dec 8 09:43:38 2005 From: Ed at Kleban.com (Ed Kleban) Date: Thu Dec 8 09:44:18 2005 Subject: Ed, have you test ToArraySet() ? In-Reply-To: Message-ID: No, I have not used it yet. I'm fighting other dragons right now. On 12/8/05 9:40 AM, "Ruslan Zasukhin" wrote: > Hi Ed, > > We have add this feature request. > Have you test it ? > From Claudius at sailer-online.de Thu Dec 8 19:42:48 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Dec 8 12:43:30 2005 Subject: #447 Logfile-Name Message-ID: Hello, I got information that Logfile should now have date-time in the name, but where can I find the Logfile? I can't see it here or do I have to change something in my coding? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From IvanSmahin at public.kherson.ua Thu Dec 8 20:46:49 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Thu Dec 8 12:47:25 2005 Subject: #447 Logfile-Name In-Reply-To: References: Message-ID: <1607192091.20051208204649@public.kherson.ua> Hello Claudius, Thursday, December 8, 2005, 8:42:48 PM, you wrote: CS> Hello, CS> I got information that Logfile should now have date-time in the name, CS> but where can I find the Logfile? CS> I can't see it here or do I have to change something in my coding? The log file name seems like this one: V4RB_Log_20051208_160114.log Located the same place as before. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From sunshine at public.kherson.ua Thu Dec 8 21:47:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 8 13:48:37 2005 Subject: #447 Logfile-Name In-Reply-To: <1607192091.20051208204649@public.kherson.ua> Message-ID: On 12/8/05 8:46 PM, "Ivan Smahin" wrote: > > CS> I got information that Logfile should now have date-time in the name, > CS> but where can I find the Logfile? > CS> I can't see it here or do I have to change something in my coding? > > The log file name seems like this one: > V4RB_Log_20051208_160114.log > > Located the same place as before. Claudius, Have you set DebugLevel ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From justin at crunch-recording.com Thu Dec 8 15:03:56 2005 From: justin at crunch-recording.com (Justin Drury) Date: Thu Dec 8 14:04:24 2005 Subject: Cocoa Array Binding in SQL Api In-Reply-To: <20051208194837.A9E6E3DD24C@edison.macserve.net> References: <20051208194837.A9E6E3DD24C@edison.macserve.net> Message-ID: <9493304E-E8D3-4144-B75E-B882EA282C60@crunch-recording.com> I got SQL bindings working with NSNumber and NSString, thanks Ruslan From leo_van_den_brande at wxs.nl Thu Dec 8 22:54:01 2005 From: leo_van_den_brande at wxs.nl (Leo Van den Brande) Date: Thu Dec 8 15:54:06 2005 Subject: Conversion project Message-ID: <4398AB79.7060502@wxs.nl> Hi Ivan, > LVdB> Nevertheless I'd appreciate it if you send me you build (.exe). > LVdB> I will also download b.13. Thanks for sending me your Windows build of my conversion1-2 project. However, it did not open: Procedure TreeParserLog@fbl@@3_MA not found (VComponents_Win_CW,Valb12 Win). On the bright side, using Val2b13 on Mac, as you suggested, a Windows build works perfectly well on Win2000 and closes the program with no complaints! Thanks a lot, Leo -- Leo Van den Brande J.Buziaulaan 61 3584 ZT Utrecht Tel: (+31) 30 2511767 Fax: (+31) (0)84 756 5233 From philip.moetteli at econophone.ch Fri Dec 9 08:55:24 2005 From: philip.moetteli at econophone.ch (=?ISO-8859-1?Q?Philip_M=F6tteli?=) Date: Fri Dec 9 01:56:06 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: References: Message-ID: <92250D43-D5AF-4E0F-BDDB-B01DC8051D35@econophone.ch> Am 08.12.2005 um 14:18 schrieb Ruslan Zasukhin: > On 12/8/05 2:46 PM, "Justin Drury" wrote: > >>>> SqlExecute/Query with Binding >>> >>> You mean you have no made binding yet? >>> Some problems here? >> >> Nope, I have never used it, so was just unsure what it was supposed >> to do, if I read the docs all should be well and I'll find an >> equivalent. Objective C uses NSArrays. I'm just unsure what Array >> (s1,s2,s3) means! But I'll look it up! > > It means short form of creation of array of string. > > REALbasic: > > // full form > dim arr as Strings(10) > arr(0) = new String( "123" ) > > db.SqlSelect( query, arr ) > > > // short form: > > db.SqlSelect( query, Array("123") ) > > > Director: > > db.SqlSelect( query, ["123"] ) > > Obj-C > > ? db.SqlSelect(query, [NSArray arrayWithObjects:s1, s2, s3, nil]); So what I have understood so far, is that persistent objects have to inherit from a common superclass (VObject)? Do I also have to send SQL myself or is that automatically taken care of? Do I have to define a model, that defines realtionships and attributes of the persistent classes? Re Phil From sunshine at public.kherson.ua Fri Dec 9 13:56:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 9 05:56:58 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: <92250D43-D5AF-4E0F-BDDB-B01DC8051D35@econophone.ch> Message-ID: On 12/9/05 9:55 AM, "Philip M?tteli" wrote: Hi Philip, >> REALbasic: >> >> // full form >> dim arr as Strings(10) >> arr(0) = new String( "123" ) >> >> db.SqlSelect( query, arr ) >> >> >> // short form: >> >> db.SqlSelect( query, Array("123") ) >> >> >> Director: >> >> db.SqlSelect( query, ["123"] ) >> >> Obj-C >> >> ? > > db.SqlSelect(query, [NSArray arrayWithObjects:s1, s2, s3, nil]); Excellent. Justin have implement binding yesterday. > So what I have understood so far, is that persistent objects have to > inherit from a common superclass (VObject)? I think no. Justin? I think Justin have told that HIS classes as Vdatabase, Vcrusor, Vfield are inherited from Vobject. > Do I also have to send SQL myself or is that automatically taken care of? I think both ways can be used > Do I have to define a model, that defines realtionships and attributes of the > persistent classes? Model? You mean like in CoreData? Valentina is not plugged into CoreData. Database structure is defined via your code. Something like this (I will write in C++ code, okay?) ----------------------------------------------------------- void CreateMyDatabase { Vdatabase* pdb = Valentina.CreateDatabase(); pDB.Create() // create it on disk CreateStructure( pdb ); } Now you have choices. You can use API way or SQL way ----------------------------------------------------------- // API way: Void CreateStructure( Vdatabase* pdb ) { I_Table* pPerson = pdb->CreateTable( "Person" ); pPerson->CreateVarCharField( "f1", 1022, fIndexed ); } ----------------------------------------------------------- // SQL way: Void CreateStructure( Vdatabase* pdb ) { String query = "CREATE TABLE Person( f1 VarChar[1022] INDEXED )"; pDB->SqlExecute( query ); } Well, I think I will ask Sergey to spend some time and start develop examples of Valentina for Cocoa. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From philip.moetteli at econophone.ch Fri Dec 9 14:22:19 2005 From: philip.moetteli at econophone.ch (=?ISO-8859-1?Q?Philip_M=F6tteli?=) Date: Fri Dec 9 07:23:03 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: References: Message-ID: <6386344D-4238-4020-B2A1-DC6FFC7BCE18@econophone.ch> Am 09.12.2005 um 12:56 schrieb Ruslan Zasukhin: > On 12/9/05 9:55 AM, "Philip M?tteli" > wrote: > >> So what I have understood so far, is that persistent objects have to >> inherit from a common superclass (VObject)? > > I think no. Justin? > > I think Justin have told that HIS HIS = Hardware Information System? >> Do I also have to send SQL myself or is that automatically taken >> care of? > > I think both ways can be used Well, I ask differently: Are something like faults used? >> Do I have to define a model, that defines realtionships and >> attributes of the >> persistent classes? > > Model? You mean like in CoreData? Yes. Or EOF. > Database structure is defined via your code. Well, that's about the same. There's just no code, that interprets that model. It's hardcoded information anyway. > Something like this (I will write in C++ code, okay?) Thanks. I understand. > Well, I think I will ask Sergey to spend some time and start develop > examples of Valentina for Cocoa. Thanks. It's ok for me so far. I prefer natural language at this level. But thanks. Re Phil From Claudius at sailer-online.de Fri Dec 9 16:23:13 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Fri Dec 9 09:23:55 2005 Subject: #447 Logfile-Name In-Reply-To: References: Message-ID: Hi Ruslan, Am 08. Dez 2005 um 20:47 Uhr schrieb Ruslan Zasukhin: > On 12/8/05 8:46 PM, "Ivan Smahin" > wrote: > >> >> CS> I got information that Logfile should now have date-time in >> the name, >> CS> but where can I find the Logfile? >> CS> I can't see it here or do I have to change something in my >> coding? >> >> The log file name seems like this one: >> V4RB_Log_20051208_160114.log >> >> Located the same place as before. > > Claudius, > > Have you set DebugLevel ? this is my coding: if PrefDic.value("DatenbankDebug") then Valentina.DebugLevel = EVDebugLevel.kLogParams Valentina.FlushEachLog = true Valentina.ThrowExceptions = false 'Valentina.DebugLevel = EVDebugLevel.kLogNothing 'Valentina.FlushEachLog = false 'Valentina.ThrowExceptions = true else Valentina.DebugLevel = EVDebugLevel.kLogNothing Valentina.FlushEachLog = false Valentina.ThrowExceptions = true end if I can see that everything is slower but I can't find Logfile. Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Fri Dec 9 17:49:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 9 09:49:57 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: <6386344D-4238-4020-B2A1-DC6FFC7BCE18@econophone.ch> Message-ID: On 12/9/05 3:22 PM, "Philip M?tteli" wrote: Hi Philip, >>> So what I have understood so far, is that persistent objects have to >>> inherit from a common superclass (VObject)? >> >> I think no. Justin? >> >> I think Justin have told that HIS > > HIS = Hardware Information System? Sorry, letter have go with not finished phrase. It should be: I think Justin have told that HIS classes Vdatabase, Vfield, are inherited from Object. You are not forced do that. >>> Do I also have to send SQL myself or is that automatically taken >>> care of? >> >> I think both ways can be used > > Well, I ask differently: Are something like faults used? Justin? Shame on me, I do not know yet what is faults. >>> Do I have to define a model, that defines realtionships and >>> attributes of the >>> persistent classes? >> >> Model? You mean like in CoreData? > > Yes. Or EOF. CoreData - no. (until Apple open API) EOF - no. Until we implement this. For now was no requests. >> Database structure is defined via your code. > > Well, that's about the same. There's just no code, that interprets > that model. It's hardcoded information anyway. right >> Something like this (I will write in C++ code, okay?) > > Thanks. I understand. > >> Well, I think I will ask Sergey to spend some time and start develop >> examples of Valentina for Cocoa. > > Thanks. It's ok for me so far. I prefer natural language at this > level. But thanks. Natural language? You mean talk on list ? No problems. You can ask more questions. In short answer to your questions is: Valentina is set of classes for different APIs (C++, C#, RB, Lingo, Obj-C now) If some IDE do have special features that allow e.g. Binding, we try implement that also. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Dec 9 17:50:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 9 09:51:13 2005 Subject: #447 Logfile-Name In-Reply-To: Message-ID: On 12/9/05 5:23 PM, "Claudius Sailer" wrote: > this is my coding: > > if PrefDic.value("DatenbankDebug") then > Valentina.DebugLevel = EVDebugLevel.kLogParams > Valentina.FlushEachLog = true > Valentina.ThrowExceptions = false > 'Valentina.DebugLevel = EVDebugLevel.kLogNothing > 'Valentina.FlushEachLog = false > 'Valentina.ThrowExceptions = true > else > Valentina.DebugLevel = EVDebugLevel.kLogNothing > Valentina.FlushEachLog = false > Valentina.ThrowExceptions = true > end if > > I can see that everything is slower but I can't find Logfile. Strange, search for V4RB_Log using Spotlight -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Fri Dec 9 10:07:59 2005 From: Ed at Kleban.com (Ed Kleban) Date: Fri Dec 9 10:08:48 2005 Subject: Default sort order In-Reply-To: Message-ID: Can I assume that if I request: anArraySet = aTable.fSomeVField.FindValueAsArraySet( aValue ) That the records returned in anArraySet will be sorted by aTable.RecId ? From philip.moetteli at econophone.ch Fri Dec 9 17:41:56 2005 From: philip.moetteli at econophone.ch (=?ISO-8859-1?Q?Philip_M=F6tteli?=) Date: Fri Dec 9 10:42:38 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: References: Message-ID: Am 09.12.2005 um 16:49 schrieb Ruslan Zasukhin: > On 12/9/05 3:22 PM, "Philip M?tteli" > wrote: > >>>> So what I have understood so far, is that persistent objects >>>> have to >>>> inherit from a common superclass (VObject)? > > You are not forced do that. Good. >>>> Do I also have to send SQL myself or is that automatically taken >>>> care of? >>> >>> I think both ways can be used >> >> Well, I ask differently: Are something like faults used? > > Justin? > > Shame on me, I do not know yet what is faults. Let's say, object A references object B (object B is an IVar of object A). Instead of the persistence layer loading object B from DB, when object A is accessed, it just creates a placeholder/proxy/fault and places that object instead of object B. When now object B is really accessed, then the fault fires and triggers the loading of the DB record of object B's attributes and replaces itself with the real object B. This all is of course transparent to the user of such a persistence library. The user never knows, if he deals with a transient or a persistent object. >>> Well, I think I will ask Sergey to spend some time and start develop >>> examples of Valentina for Cocoa. >> >> Thanks. It's ok for me so far. I prefer natural language at this >> level. But thanks. > > Natural language? You mean talk on list ? Yes. :-) > No problems. You can ask more questions. Thanks. > In short answer to your questions is: > Valentina is set of classes for different APIs > (C++, C#, RB, Lingo, Obj-C now) Actually, my question is: How much transparency does the interface for Objective-C to Valentina offer? Complete transparency would be, that I just send the following to any object, without the need of any model at all: [someObject becomePersistent]; // Embedded DB [someObject becomePersistentWithName:FOO onHost:aHostName]; // Client server model This should be the one and only line I should have to write in my program. Just one line. All the objects that are referenced from that "root" object should automatically become persistent (persistency by reference). Every change to such a persistent object should be automatically propagated to the DB (propagation by mutation). This needs some Aspect Oriented features of the programming language (bindings). Basically, the code never knows, if it's dealing with a transient or persistent object. Smalltalk has that. And it would be possible in Objective-C, because Objective-C offers enough structural (so, no need for a model) and behavioral reflection to implement such an interface too. Re Phil PS: With CoreData we lag a lot more behind this ideal, than we were with EOF. From justin at crunch-recording.com Fri Dec 9 11:49:21 2005 From: justin at crunch-recording.com (Justin Drury) Date: Fri Dec 9 10:49:39 2005 Subject: V4CC Questions In-Reply-To: <20051208080735.C4F8E3DD0E5@edison.macserve.net> References: <20051208080735.C4F8E3DD0E5@edison.macserve.net> Message-ID: <62EF5FAE-642F-4663-846B-88EB2DFC0BB2@crunch-recording.com> Hello... Faulting: From Apple's docs The object graph should be no larger than is necessary. Ideally, you should not have more model objects in memory than are necessary for the user?s current needs. From my experience valentina is very optimized, so this shouldn't be an issue. I was getting about 1800 allotments in objectalloc in a tableview with 40 or so rows being displayed and 6 columns. As far as implementation, I hope the foundation tool code is helpful enough. You can always look up the framework in XCode's class browser. Essentially instead of inheriting from NSObject we inherit from VObject(and it inherits from NSObject). Its basically an empty class, it ensures that our valentina objects are all descendants of VObject(for future type checking). It shouldn't concern you though... You have one singleton class - Valentina, you MUST call the class method initWithCacheSize: on this. (I'd do it on +(initialize)) This sets up all the C++ static objects. Then you have VDatabase (representing a database of tables, local or remote, ram or disk based) ,VTable(a specific table of VFields) ,VCursor(a query on vDatabase, supports joins/links across multiple tables) You'll also see a lot of API method and SQL method chat, for learning I'd recommend doing some sql queries(basically passing in a NSString representing the query to an instance of VDatabase) Then you have VField and it's descendants, these are all the VVarchar, VBoolean, etc types. When you construct a field using the VTable methods you can pass parameters specific to the type of VField (max length for instance). All the usual cocoa rules apply, you create it you release it! (In my code below, I create VDatabase so it needs a release), all other objects are autoreleased, so I would retain them if I wanted them to persist. For my needs i've found it sufficient for my controller to have a VDatabase and VCursor ivar. The query I want to retain and display I key code to that ivar so the observers in my NIB can refresh themselves when the query change... (ie...[typed in mail not tested]) @interface AppController:NSObject { VDatabase *dbTest; VCursor *displayCursor; } - (VCursor *)displayCursor; - (void)setDisplayCursor:(VCursor *)aDisplayCursor; // etc... @end And then in the implementation... - (void) doQuery:(NSString*) aQuery { NS_DURING VCursor *testCursor=[dbTest sqlSelect:@"select * from tableTest"]; // bring back the first 100 [self setDisplayCursor:aQuery]; NS_HANDLER // display error message NS_ENDHANDLER } - (VCursor *)displayCursor { return displayCursor; } - (void)setDisplayCursor:(VCursor *)aDisplayCursor { if (displayCursor != aDisplayCursor) { [aDisplayCursor retain]; [displayCursor release]; displayCursor = aDisplayCursor; } } Hope that helps, i've yet to have coffee so I hope that's reasonably right! -------------------------------- Heres the foundation test tool code for the archives... void PrintResultToLog(VCursor* cursorPtr); int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; VDataBase *dbTest; int i; [[Valentina sharedManager] initWithCacheSize:4 * 1024 * 1024 macSerial:@"demo serial"]; //[[Valentina sharedManager] setDebugLevel:3]; dbTest=[[VDataBase alloc]initWithStorageType:kV4CC_Storage_RAM]; [dbTest create:@"/test_dbFields"]; // Create a test_db on startup volume... VTable *newTable=[dbTest createTable:@"tableTest"]; // Create some various field types in the table... [newTable createByteField:@"byteField"]; [newTable createShortField:@"shortField"]; [newTable createUShortField:@"ushortField"]; [newTable createMediumField:@"mediumField"]; [newTable createUMediumField:@"umediumField"]; [newTable createLongField:@"longField"]; [newTable createULongField:@"ulongField"]; [newTable createLLongField:@"llongField"]; [newTable createULLongField:@"ullongField"]; [newTable createFloatField:@"floatField"]; [newTable createDoubleField:@"dblField"]; [newTable createDateField:@"dateField"]; [newTable createTimeField:@"timeField"]; [newTable createDateTimeField:@"dateTimeField"]; [newTable createStringField:@"stringField" maxLength:200]; [newTable createVarCharField:@"varstringField" maxLength:200]; [newTable createFixedBinaryField:@"fixedBinaryField" maxLength:200]; [newTable createVarBinaryField:@"varBinaryField" maxLength:200]; [newTable createBLOBField:@"blobField" segmentSize:32]; [newTable createTextField:@"textField"segmentSize:32]; [newTable createPictureField:@"pictureField"segmentSize:32]; /************* Create another field, and populate it **************/ [newTable createVarCharField:@"testField" maxLength:200]; VVarChar *stringtestField; // let's cache the field for speed. stringtestField=(VVarChar*)[newTable fieldForName:@"testField"]; // I could have just done stringtestField=[newTable createVarCharField:@"testField" maxLength:200]; but this is a demo! for (i=0;i<5000;i++) // create 5000 records { [newTable setBlank]; [stringtestField setStringValue:[NSString stringWithFormat:@"A test string:%i",i]]; [newTable addRecord]; } [newTable flush]; /************* NOW A SQL QUERY **************/ // queries will throw exceptions, even if they are malformed... NS_DURING VCursor *testCursor=[dbTest sqlSelect:@"select testField from tableTest limit 100"]; // bring back the first 100 PrintResultToLog(testCursor); // OK let's do another testCursor=[dbTest sqlSelect:@"select UPPER(testField) from tableTest limit 50"]; PrintResultToLog(testCursor); NS_HANDLER NS_ENDHANDLER /************* NOW A DUMP **************/ //[dbTest dump:@"/testdump" dumpType:1]; /************* Cleanup **************/ [dbTest close]; [dbTest release]; [[Valentina sharedManager] shutDown]; [pool release]; return 0; } / ************************************************************************ *************************/ void PrintResultToLog(VCursor* cursorPtr) { // Setup a little release pool NSAutoreleasePool *innerPool=[[NSAutoreleasePool alloc]init]; int i; NSLog(@"%s",__PRETTY_FUNCTION__); for (i=0;i<[cursorPtr recordCount];i++) { [cursorPtr setPosition:i]; NSLog([[cursorPtr fieldAtIndex:0]stringValue]); } [innerPool release]; } From sunshine at public.kherson.ua Fri Dec 9 18:57:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 9 10:58:15 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: Message-ID: On 12/9/05 6:41 PM, " Philip M?tteli" wrote: >>> Well, I ask differently: Are something like faults used? >> >> Justin? >> >> Shame on me, I do not know yet what is faults. > > Let's say, object A references object B (object B is an IVar of > object A). Instead of the persistence layer loading object B from DB, > when object A is accessed, it just creates a placeholder/proxy/fault > and places that object instead of object B. > When now object B is really accessed, then the fault fires and triggers the > loading of the DB record of object B's attributes and replaces itself with > the real object B. > > This all is of course transparent to the user of such a persistence library. > The user never knows, if he deals with a transient or a persistent object. I see. Well.. Philip, it seems you tend to think in terms of CoreData and EOF :-) I wonder, have you work before CoreData was born with such DBMS as MySQL, Postgre, MS SQL, Sybase, ... ? Valentina is JUST a DATABASE. Valentina do not have any persistence layers which hide something from your eyes. ----------- Valentina give you cursors and tables. - You SELF control when load record and which record to load. Persistent layer you describe, also is idea of OO DBMS. They also claim: C++/Java/SmalTalk developer work with C++/Java/... Objects and collections. Developer even do not see that they go to disk, and so on. IMHO this is not so cool. A lots of overhead and efforts required to implement this. RDBMS (including Valentina) do not have such headache. I believe that develop should explicitly see and know when he READ from disk, or when he load some info from remote server. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Dec 9 19:21:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 9 11:22:56 2005 Subject: What to expect from Valentina Cocoa? In-Reply-To: Message-ID: On 12/9/05 6:41 PM, "Philip M?tteli" wrote: >> In short answer to your questions is: >> Valentina is set of classes for different APIs >> (C++, C#, RB, Lingo, Obj-C now) > > Actually, my question is: How much transparency does the interface > for Objective-C to Valentina offer? As the FIRST STEP -- Justin finish now STANDARD Valentina API, which we have for all our products. > Complete transparency would be, that I just send the following to any > object, without the need of any model at all: > > [someObject becomePersistent]; // Embedded DB > > [someObject becomePersistentWithName:FOO onHost:aHostName]; // > Client server model I see what you want. Tell me please, this is WHAT you DREAM about ? You do not want care about db structure and else? But only put/get objects? Hmm, most probably this can be implemented. > This should be the one and only line I should have to write in my > program. Just one line. All the objects that are referenced from that > "root" object should automatically become persistent (persistency by > reference). Actually even OO DBMS give you ability mark -- this class/attribute will be persistent, but that no. So generally speaking, ROOT object should pull all child objects that marked as persistent. Right? Okay I see. > Every change to such a persistent object should be automatically propagated > to the DB (propagation by mutation). This needs some Aspect Oriented features > of the programming language (bindings). > Basically, the code never knows, if it's dealing with a transient or > persistent object. > > Smalltalk has that. And it would be possible in Objective-C, because > Objective-C offers enough structural (so, no need for a model) and > behavioral reflection to implement such an interface too. Yes I agree that this can be possible in Obj-C, because as I have hear, I can ask Object about its type structure, attributes and values. Right? So yes, I can then do: - aha, this is some new object TYPE for this db, so I need create new table to keep it. - aha, this TYPE already exists in db, so I just add rows into table. > PS: With CoreData we lag a lot more behind this ideal, than we were > with EOF. I see Philip. So you dream in fact about OO DBMS. Valentina is not going to be such db in near time I afraid. We position self as Object-Relational. Although I should say Valentina have some features that OODB use, e.g. OID field. As always Valentina do this even more effective than others, because Valentina use ZERO disk space for OID field and its index in contrast to other OO DBMS. Also I tend to think, that IT IS POSSIBLE to develop on Valentina basis a layer which will do OO DBMS. Generally speaking such layer can be built on any RDBMS db I think. Although pure OO DBs claim that they a) allow variable number of attributes/columns for entity/table. RDBMS don't B) keep data not normalized in tables, but as single objects IMHO weak advantage. I see much more problems here than benefits. But again IMHO, Valentina is better than RDBMS for such task, because it have much flexible storage of data than RDB. And the same LINKS, can play excellent role here. In ideal, I'd like that THIS task -- OO layer around Valentina -- develop somebody else. :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Dec 9 19:22:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 9 11:23:39 2005 Subject: Default sort order In-Reply-To: Message-ID: On 12/9/05 6:07 PM, "Ed Kleban" wrote: > Can I assume that if I request: > > anArraySet = aTable.fSomeVField.FindValueAsArraySet( aValue ) > > That the records returned in anArraySet will be sorted by aTable.RecId ? right -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Sat Dec 10 19:26:38 2005 From: Ed at Kleban.com (Ed Kleban) Date: Sat Dec 10 19:27:08 2005 Subject: Default sort order In-Reply-To: Message-ID: On 12/9/05 11:22 AM, "Ruslan Zasukhin" wrote: > On 12/9/05 6:07 PM, "Ed Kleban" wrote: > >> Can I assume that if I request: >> >> anArraySet = aTable.fSomeVField.FindValueAsArraySet( aValue ) >> >> That the records returned in anArraySet will be sorted by aTable.RecId ? > > right And presumably if I call anArraySet.isSortedByRecID it will return true, even though I have not called SortByRecID() ? We'll find out :-) I've just coded this up and put in a debug failure check if it turns out not to be the case. But moving on to more esoteric questions... ======= Ok, then how about this: If I have a M:M binary link (I think I've finally found a use for one) and I execute: FindLinked( inRecId, inTableA, inTableB ) Then is there a guaranteed order for the members of the resulting VArraySet? Do occur in inTabeA.recId order? Or in inTableB.recID order? If the relationship is recursive: FindLinked( inRecId, inTableA, inTableA, inRecursionDirection ) what will the order be in this case? Is it dependent up on the value of inRecursionDirection? From sunshine at public.kherson.ua Sun Dec 11 11:24:10 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 11 03:24:50 2005 Subject: Default sort order In-Reply-To: Message-ID: On 12/11/05 3:26 AM, "Ed Kleban" wrote: Hi Ed, > Ok, then how about this: If I have a M:M binary link (I think I've finally > found a use for one) and I execute: > > FindLinked( inRecId, inTableA, inTableB ) > > Then is there a guaranteed order for the members of the resulting VArraySet? Yes, because BinaryLink keep them sorted. > Do occur in inTabeA.recId order? Or in inTableB.recID order? Above method returns set for table B > If the relationship is recursive: > > FindLinked( inRecId, inTableA, inTableA, inRecursionDirection ) > > what will the order be in this case? Is it dependent up on the value of > inRecursionDirection? Yes depend. But in both case-sensitive you get ordered set of record for tableA, Last parameter change found records. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sun Dec 11 11:35:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 11 03:35:45 2005 Subject: Default sort order In-Reply-To: Message-ID: On 12/11/05 7:30 AM, "Ed Kleban" wrote: Hi Ed, >> So I enter the following links: >> LinkRecords( { 1, 4 } ) >> LinkRecords( { 1, 5 } ) >> LinkRecords( { 1, 6 } ) >> LinkRecords( { 2, 6 } ) >> LinkRecords( { 2, 4 } ) >> LinkRecords( { 2, 7 } ) >> >> Now then, Is there a call I can make that will return me an ArraySet with >> the children of I2 necessarily in the order that these relationships were >> defined? >> >> How about: >> >> anArraySet = aVLink.FindLinked( 2, TItems, Titems, kFromParentToChild ) >> >> Will this necessarily return anArraySet = { 6, 4, 7 }? >> >> Or can I not assume the order of the elements in the returned anArraySet ? >> > > Woops! Since this is a M:M link, does "kFromParentToChild" have any meaning > here? > How do I signify I want recId's for right links rather than left > links for recId = 2 ? Yes still have I like this example: Table Person with recursive link HaveBorn So we have here in fact link 2 : M which still is M : M. Right? Now let we take Person with RecId = 1024, Let this will be Ruslan. res = Born.FindLinked( 1024, Person, Person, ???? ) So whom you want find? A) Children of Ruslan: childs = Born.FindLinked( 1024, Person, Person, kFromPArentToChilds) b) Children of Ruslan: parents = Born.FindLinked( 1024, Person, Person, kFromChildsToParent) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Sun Dec 11 20:19:52 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Dec 11 13:20:25 2005 Subject: #447 Logfile-Name In-Reply-To: References: Message-ID: Am 09. Dez 2005 um 16:50 Uhr schrieb Ruslan Zasukhin: > On 12/9/05 5:23 PM, "Claudius Sailer" > wrote: > >> this is my coding: >> >> if PrefDic.value("DatenbankDebug") then >> Valentina.DebugLevel = EVDebugLevel.kLogParams >> Valentina.FlushEachLog = true >> Valentina.ThrowExceptions = false >> 'Valentina.DebugLevel = EVDebugLevel.kLogNothing >> 'Valentina.FlushEachLog = false >> 'Valentina.ThrowExceptions = true >> else >> Valentina.DebugLevel = EVDebugLevel.kLogNothing >> Valentina.FlushEachLog = false >> Valentina.ThrowExceptions = true >> end if >> >> I can see that everything is slower but I can't find Logfile. > > Strange, search for V4RB_Log using Spotlight Valentina saves it into the Application package???? Application/Contents/MacOS??? Thats not good. by the while. When can we see V4RB2 with needed files in the Application package, that I don't need extra folder in Application folder or in global place? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Sun Dec 11 22:50:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 11 14:51:02 2005 Subject: #447 Logfile-Name In-Reply-To: Message-ID: On 12/11/05 9:19 PM, "Claudius Sailer" wrote: >> Strange, search for V4RB_Log using Spotlight > > Valentina saves it into the Application package???? > Application/Contents/MacOS??? > Thats not good. But how you use package ?? > by the while. When can we see V4RB2 with needed files in the > Application package, that I don't need extra folder in Application > folder or in global place? Ah, you keep VComponents in global place. I see. Very soon Claudius, I will check this issue. I have see how it is not good on example of few apps which I have download -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Mon Dec 12 05:57:56 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Sun Dec 11 22:58:29 2005 Subject: #447 Logfile-Name In-Reply-To: References: Message-ID: <247FD641-0BAE-4287-AB21-E674191CDB4D@sailer-online.de> Am 11. Dez 2005 um 21:50 Uhr schrieb Ruslan Zasukhin: > On 12/11/05 9:19 PM, "Claudius Sailer" > wrote: > >>> Strange, search for V4RB_Log using Spotlight >> >> Valentina saves it into the Application package???? >> Application/Contents/MacOS??? > >> Thats not good. > > But how you use package ?? inside of RB2005r4 I generate application as Mach-O. Before the new feature with date and time I got Logfile in Application folder but not inside of the package. >> by the while. When can we see V4RB2 with needed files in the >> Application package, that I don't need extra folder in Application >> folder or in global place? > > Ah, you keep VComponents in global place. I see. > > Very soon Claudius, I will check this issue. > I have see how it is not good on example of few apps which I have > download *hmmm* I will see. Thanks. bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Mon Dec 12 12:53:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 12 04:53:53 2005 Subject: [ANN] VCOM and VNET 2.1 b14 uploaded. Message-ID: Hi All, You can download b14 for VCOM and VNET 2.1 * We expect that EVERYTHING except pictures do work in b14. * You can download VCOM_Reference_en_2.pdf and VNET_Reference_en_2.pdf we have made 2 iterations polishing these documents. * Also ValentinaKernel and ValentinaSQL.pdf are updated. * All our about 50 examples (except picture) do work fine. Jeffrey, this build contains STDDEV function which you did ask about. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Mon Dec 12 09:42:20 2005 From: Ed at Kleban.com (Ed Kleban) Date: Mon Dec 12 09:42:51 2005 Subject: [ANN] VCOM and VNET 2.1 b14 uploaded. In-Reply-To: Message-ID: On 12/12/05 4:53 AM, "Ruslan Zasukhin" wrote: > Hi All, > > * Also ValentinaKernel and ValentinaSQL.pdf are updated. > Woo Hoo! I'm on it. From sunshine at public.kherson.ua Mon Dec 12 23:32:04 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 12 15:32:41 2005 Subject: [V4RB] Vcomponents in package In-Reply-To: <247FD641-0BAE-4287-AB21-E674191CDB4D@sailer-online.de> Message-ID: On 12/12/05 6:57 AM, "Claudius Sailer" wrote: >>> by the while. When can we see V4RB2 with needed files in the >>> Application package, that I don't need extra folder in Application >>> folder or in global place? >> >> Ah, you keep VComponents in global place. I see. >> >> Very soon Claudius, I will check this issue. >> I have see how it is not good on example of few apps which I have >> download > > *hmmm* I will see. Thanks. Bad news guys. It just not work. Because MAC OS do not see shard libs inside of package. It see them in CFMSupport only. Only solution future -- switch V4RB to MACHO format (i.e. Refuse OS 9). I have sent question to several MAC lists for help. So far no response. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Mon Dec 12 21:02:49 2005 From: Ed at Kleban.com (Ed Kleban) Date: Mon Dec 12 21:03:22 2005 Subject: [ANN] VCOM and VNET 2.1 b14 uploaded. In-Reply-To: Message-ID: On 12/12/05 9:42 AM, "Ed Kleban" wrote: > > > > On 12/12/05 4:53 AM, "Ruslan Zasukhin" wrote: > >> Hi All, >> >> * Also ValentinaKernel and ValentinaSQL.pdf are updated. >> > > Woo Hoo! I'm on it. > > Found 'em. The ValentinaKernel_2_en.pdf manual has no cover page, and therefore no date, version number, or other distinguishing characteristic to tell where it falls in time or how it differs from other docs that claim to be the same thing. From Claudius at sailer-online.de Tue Dec 13 06:25:07 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Dec 12 23:25:41 2005 Subject: [V4RB] Vcomponents in package In-Reply-To: References: Message-ID: Hi Ruslan, Am 12. Dez 2005 um 22:32 Uhr schrieb Ruslan Zasukhin: > Bad news guys. > > It just not work. > Because MAC OS do not see shard libs inside of package. > It see them in CFMSupport only. > > Only solution future -- switch V4RB to MACHO format (i.e. Refuse OS > 9). > > > I have sent question to several MAC lists for help. So far no > response. IMHO this is not bad news. This is WORST CASE. When I want to use V4RB2 in future I have following solutions 1. Making installer which installs VComponents into /Library/CFMSupport 2. Making Installer which installs VComponents into /Users/name/ Libraby/VComponents 3. Install VComponents into Application Folder When User has no admin rights solution 1 fails. :-(( So I have only solution 2 and 3 because in the past my users knew copy application to a new place and everything will run until before. For solution 2 and 3, how can I be sure that users installed correct? How can I check which VComponents the application uses (Is there some information in Logfile, if not it is extremely needed) When VComponents are installed at several places or at all possibilities, which one is used? Can I see that in Logfile? Can I make check inside of RB-Application, whether VComponents is the correct one or not and give an Errormessage to the user? Can I get a checklist insode the RB-Application with the info of the version of all VComponents that I can see what could be the problem and get an infomessage what components are not working together #680? Sorry but this bad news makes my application for the users much mor complex, they wasn't forced in the past to take care and I see a lot of problems and questions coming back to me ;-) At the moment new version has no benefit for my users. When do you think that you will start optimizing coding for getting much more speed #641? Because to tell my users that application get also slower will kill next release. bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From Claudius at sailer-online.de Tue Dec 13 06:34:48 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Dec 12 23:35:22 2005 Subject: [V4RB] Vcomponents in package In-Reply-To: References: Message-ID: <52884298-CECB-468D-B959-7FF5C9D7FB9B@sailer-online.de> Hi Ruslan, Am 13. Dez 2005 um 06:25 Uhr schrieb Claudius Sailer: > Hi Ruslan, > > Am 12. Dez 2005 um 22:32 Uhr schrieb Ruslan Zasukhin: > >> Bad news guys. >> >> It just not work. >> Because MAC OS do not see shard libs inside of package. >> It see them in CFMSupport only. >> >> Only solution future -- switch V4RB to MACHO format (i.e. Refuse >> OS 9). What do you want to do with IntelMacs? OS 9 will not supported by them!!! MacOS 9 will die in the next years!!! > When I want to use V4RB2 in future I have following solutions > > 1. Making installer which installs VComponents into /Library/ > CFMSupport > 2. Making Installer which installs VComponents into /Users/name/ > Libraby/VComponents > 3. Install VComponents into Application Folder whats happen when user have more than my application which uses V4RB2? When User have application from Stan, Jon and my one. All Application uses other V4RB2-Version. How will this work? As I am right I have only one VComponents? Whats happen when older V4RB2 is installed at last? With installing intho CFMSupport we have a lot of problematic questions or do I see it in the wrong way? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Tue Dec 13 09:54:52 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 01:55:33 2005 Subject: [V4RB] Vcomponents in package In-Reply-To: <52884298-CECB-468D-B959-7FF5C9D7FB9B@sailer-online.de> Message-ID: On 12/13/05 7:34 AM, "Claudius Sailer" wrote: Hi Claudius, >>> Only solution future -- switch V4RB to MACHO format (i.e. Refuse >>> OS 9). > > What do you want to do with IntelMacs? OS 9 will not supported by them!!! > MacOS 9 will die in the next years!!! I agree with you Claudius. Look, right now we have Valentina MACHO builds for Valentina for Revolution (using CodeWarrior) Valentina Server (using CodeWarrior) Valentina Studio (using xcode) C++ (xcode and CW) So it is not principal problem to get V4RB MACHO using CW. Just I think we can still wait with this step. Well, we can also have at last of end 2 versions of V4RB. Again, FYI, Valentina was ported to MacIntel at Augest. >> When I want to use V4RB2 in future I have following solutions >> >> 1. Making installer which installs VComponents into /Library/ >> CFMSupport >> 2. Making Installer which installs VComponents into /Users/name/ >> Libraby/VComponents >> 3. Install VComponents into Application Folder > > whats happen when user have more than my application which uses V4RB2? > When User have application from Stan, Jon and my one. All Application > uses other V4RB2-Version. How will this work? As I am right I have > only one VComponents? Yes this works if all your apps use the same version of V4RB. Actually this is even have advantages. > Whats happen when older V4RB2 is installed at last? > With installing intho CFMSupport we have a lot of problematic > questions or do I see it in the wrong way? You see, we can also add support of other locations: /Home/Library/CFMSupport /ApplicationSupport This is also not hard. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 13 10:06:58 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 02:07:38 2005 Subject: [V4RB] Vcomponents in package In-Reply-To: Message-ID: On 12/13/05 7:25 AM, "Claudius Sailer" wrote: Hi Claudius, >> It just not work. >> Because MAC OS do not see shard libs inside of package. >> It see them in CFMSupport only. >> >> Only solution future -- switch V4RB to MACHO format (i.e. Refuse OS >> 9). >> >> >> I have sent question to several MAC lists for help. So far no >> response. > > IMHO this is not bad news. This is WORST CASE. > > When I want to use V4RB2 in future I have following solutions > 1. Making installer which installs VComponents into /Library/CFMSupport > 2. Making Installer which installs VComponents into /Users/name/ > Libraby/VComponents > 3. Install VComponents into Application Folder > When User has no admin rights solution 1 fails. :-(( Right. Then user will not try install there. Right ? > So I have only solution 2 and 3 because in the past my users knew > copy application to a new place and everything will run until before. > For solution 2 and 3, how can I be sure that users installed correct? > How can I check which VComponents the application uses (Is there some > information in Logfile, if not it is extremely needed) > When VComponents are installed at several places or at all > possibilities, which one is used? Can I see that in Logfile? Another nice idea was next: we add property Valentina.VComponentsPath = "/Users/name/ApplicationSupport/MyApp/Components" This feature can allow: - have different apps to have own folders with own names. > Can I make check inside of RB-Application, whether VComponents is the > correct one or not and give an Errormessage to the user? > Can I get a checklist insode the RB-Application with the info of the > version of all VComponents that I can see what could be the problem > and get an infomessage what components are not working together #680? Note here. We going to start add version number to names of shared libs as on mac so on windows. vkernel_cw_21.shlb This step will allow us to have on computer different VComponents folders that keep different versions of dlls. > Sorry but this bad news makes my application for the users much mor > complex, they wasn't forced in the past to take care and I see a lot > of problems and questions coming back to me ;-) I understand Claudius. > At the moment new version has no benefit for my users. When do you > think that you will start optimizing coding for getting much more > speed #641? Because to tell my users that application get also slower > will kill next release. I think you will need send us your application project, So we will check YOUR operations and code. As you could see, e.g. Stan says that he see up to 2 times speedup for his application. So I want to see what you do and how. Or may be we can make some test project with you, where you show -- this operation on v1 work N seconds -- the same on v2 works 2N seconds. Because say: just optimize -- is too general. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Tue Dec 13 10:39:34 2005 From: maxprog at mac.com (Stan Busk) Date: Tue Dec 13 03:40:09 2005 Subject: [V4RB] Vcomponents in package In-Reply-To: References: Message-ID: <6733EF69-81AA-409E-889F-E83F20234D0F@mac.com> Do you know what I do when I download a Mac app and I get an installer? I throw it directly to the trash. Mac users don't expect installers, it is very big error to think they will don't mind. Your sales will go down rapidly. I only allow installers for tools or when they are done by people like Adobe... I am not Adobe so I guess many users will not bother running my installers. I think it is better to throw VComponent stuff to the application folder even getting a caotic application folder, only drawback, you can't move the application alone... ~/Stan > Hi Ruslan, > > Am 12. Dez 2005 um 22:32 Uhr schrieb Ruslan Zasukhin: > >> Bad news guys. >> >> It just not work. >> Because MAC OS do not see shard libs inside of package. >> It see them in CFMSupport only. >> >> Only solution future -- switch V4RB to MACHO format (i.e. Refuse >> OS 9). >> >> >> I have sent question to several MAC lists for help. So far no >> response. > > IMHO this is not bad news. This is WORST CASE. > > When I want to use V4RB2 in future I have following solutions > > 1. Making installer which installs VComponents into /Library/ > CFMSupport > 2. Making Installer which installs VComponents into /Users/name/ > Libraby/VComponents > 3. Install VComponents into Application Folder > > When User has no admin rights solution 1 fails. :-(( > > So I have only solution 2 and 3 because in the past my users knew > copy application to a new place and everything will run until before. > > For solution 2 and 3, how can I be sure that users installed correct? > How can I check which VComponents the application uses (Is there > some information in Logfile, if not it is extremely needed) > When VComponents are installed at several places or at all > possibilities, which one is used? Can I see that in Logfile? > Can I make check inside of RB-Application, whether VComponents is > the correct one or not and give an Errormessage to the user? > Can I get a checklist insode the RB-Application with the info of > the version of all VComponents that I can see what could be the > problem and get an infomessage what components are not working > together #680? > > Sorry but this bad news makes my application for the users much mor > complex, they wasn't forced in the past to take care and I see a > lot of problems and questions coming back to me ;-) > > At the moment new version has no benefit for my users. When do you > think that you will start optimizing coding for getting much more > speed #641? Because to tell my users that application get also > slower will kill next release. > > bye > > > > Claudius > > -- > G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 > Homepage http://www.ClaSai.de > iChat ryhoruk > RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From maxprog at mac.com Tue Dec 13 10:45:56 2005 From: maxprog at mac.com (Stan Busk) Date: Tue Dec 13 03:46:29 2005 Subject: [V4RB] Vcomponents in package In-Reply-To: <52884298-CECB-468D-B959-7FF5C9D7FB9B@sailer-online.de> References: <52884298-CECB-468D-B959-7FF5C9D7FB9B@sailer-online.de> Message-ID: <7D9CC53E-2E72-4AC2-8093-E8F9663BD239@mac.com> I agree with that. There is no reason to continue supporting Mac OS 9. Let's do Mach-O, it is the best solution. Rright now creating a bundle with App Bundler and a PEF compile works fine as well. I will likely start releasing my app that way. Stan > What do you want to do with IntelMacs? OS 9 will not supported by > them!!! > MacOS 9 will die in the next years!!! From sunshine at public.kherson.ua Tue Dec 13 11:57:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 03:58:01 2005 Subject: [V4RB] Vcomponents in package. Solution ?! In-Reply-To: <7D9CC53E-2E72-4AC2-8093-E8F9663BD239@mac.com> Message-ID: On 12/13/05 11:45 AM, "Stan Busk" wrote: > I agree with that. There is no reason to continue supporting Mac OS 9. > Let's do Mach-O, it is the best solution. > > Rright now creating a bundle with App Bundler and a PEF compile works > fine as well. > I will likely start releasing my app that way. STOP !!! You say that you can create REALbasic PEF application, then create package with it + VComponents using App Bundler ? And this way work ?! Then WOW ! Can you give EXACT steps and URLs to download this ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 13 12:11:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 04:12:27 2005 Subject: [V4RB] Vcomponents in package. Solution ? - YES !!! In-Reply-To: Message-ID: On 12/13/05 11:57 AM, "Ruslan Zasukhin" wrote: > On 12/13/05 11:45 AM, "Stan Busk" wrote: > >> I agree with that. There is no reason to continue supporting Mac OS 9. >> Let's do Mach-O, it is the best solution. >> >> Rright now creating a bundle with App Bundler and a PEF compile works >> fine as well. > >> I will likely start releasing my app that way. > > STOP !!! > > You say that you can create > > REALbasic PEF application, > > then create package with it + VComponents using App Bundler ? > > And this way work ?! > > Then WOW ! > > Can you give EXACT steps and URLs to download this ? Aha, so easy !!! * I have download this App Bundler application. * then compile some V4RB example as PEF application * start App Bundler, - point compiled app - point required files from VComponents and set for them destination /Contents/MacOS - point where to build result package - press BUILD BUNDLE button. DONE. Now we get MODERN Apple Style Package Example.app And it works! Stan! You have made great contribution for all us ! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 13 12:14:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 04:16:22 2005 Subject: Claudius, so we close 1088? Packages? Message-ID: Hi Claudius, Well, since we have now way to build packages with V4RB 2.x I think we can close issue 1088, right ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Tue Dec 13 11:33:18 2005 From: maxprog at mac.com (Stan Busk) Date: Tue Dec 13 04:33:52 2005 Subject: [V4RB] Vcomponents in package. Solution ?! In-Reply-To: References: Message-ID: <32917315-2699-4424-A847-1FC78E14D301@mac.com> Hi, Yes, it works fine here. I use App Bundler: http://www.bitjuggler.com/products/appbundler/ It is a great tools made with RB and it includes the sources. 1.- I launch the app. On the first panel 'Main files' I set where my compiled app is located. 2.- On second panel 'Other files' I add all the VComponents items and the vresources folder, setting each Destination to 'Contents/MacOS/'. 3.- I give a name to my bundle on third panel 'Structure'. 4.- Press the 'Build Bundle' button. To test I removed the VComponents folder from CFMSupport on my system. I launch my app, it works. I also copied the bundled app to a G5 with Mac OS X.3.9 where Valentina has never been installed. It works. Stan > On 12/13/05 11:45 AM, "Stan Busk" wrote: > >> I agree with that. There is no reason to continue supporting Mac >> OS 9. >> Let's do Mach-O, it is the best solution. >> >> Rright now creating a bundle with App Bundler and a PEF compile works >> fine as well. > >> I will likely start releasing my app that way. > > STOP !!! > > You say that you can create > > REALbasic PEF application, > > then create package with it + VComponents using App Bundler ? > > And this way work ?! > > Then WOW ! > > Can you give EXACT steps and URLs to download this ? > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Tue Dec 13 12:51:28 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 04:52:10 2005 Subject: [V4RB] Vcomponents in package. Solution ?! In-Reply-To: <32917315-2699-4424-A847-1FC78E14D301@mac.com> Message-ID: On 12/13/05 12:33 PM, "Stan Busk" wrote: > Hi, > > Yes, it works fine here. > I use App Bundler: http://www.bitjuggler.com/products/appbundler/ > It is a great tools made with RB and it includes the sources. > > 1.- I launch the app. On the first panel 'Main files' I set where my > compiled app is located. > 2.- On second panel 'Other files' I add all the VComponents items and > the vresources folder, setting each Destination to 'Contents/MacOS/'. > 3.- I give a name to my bundle on third panel 'Structure'. > 4.- Press the 'Build Bundle' button. > > To test I removed the VComponents folder from CFMSupport on my > system. I launch my app, it works. > I also copied the bundled app to a G5 with Mac OS X.3.9 where > Valentina has never been installed. It works. Yes Stan, it really works! Great! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Tue Dec 13 08:31:55 2005 From: jda at his.com (jda) Date: Tue Dec 13 07:32:31 2005 Subject: [V4RB] Vcomponents in package In-Reply-To: <52884298-CECB-468D-B959-7FF5C9D7FB9B@sailer-online.de> References: <52884298-CECB-468D-B959-7FF5C9D7FB9B@sailer-online.de> Message-ID: >whats happen when user have more than my application which uses V4RB2? >When User have application from Stan, Jon and my one. All >Application uses other V4RB2-Version. How will this work? As I am >right I have only one VComponents? Right, Claudius. This already happened to me -- one of my users had an older version of Valentina installed and my app crashed on run. This took a LOT of time to figure out! See my feature request #1090 on Mantis: Valentina should default components in the same folder as the app API - 10-07-05 21:47 Jon From sunshine at public.kherson.ua Tue Dec 13 16:06:31 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 08:07:12 2005 Subject: Valentina Model -- abstraction Properties. In-Reply-To: Message-ID: On 12/13/05 3:48 PM, "jda" wrote: > I was hoping a UNION or OUTER JOIN would give me the following if I > have two records, one with author and title and one without: > > id, uniqueID, hit, type, author, 1, title, 2 > id, uniqueID, hit, type > > OR > > id, uniqueID, hit, type, author, 1, title, 2 > id, uniqueID, hit, type, '', 0, '', 0 You could get this if second table have fields: authors, title, ... 26th field But we have made that second table have only ONE field with value. And instead 1 .. 28 linked records. ----- Design with this second table is very unusual. It is smart, but it is hard. Hard also because SQL have no good solutions for such tasks. But you have API way, so you can code anything you image. ----- Problem here is that YOUR task has next Nature: I have object Book { id, hits, .. } and I have some special COLLECTION of properties. each property can have own label and value. number of properties for each book can differ. in your task you have set limit 16 properties. in general task -- no limit. RELATIONAL MODEL can do this task only in way I show you. But it is hard for it. No good SQL to support this. In future (I hope near 2-5 months) we will try add into Valentina mechanism to support such task. This will look simply as: Book { id, hits, properties(string, string) } So VIRTUALLY you will work with SINGLE table. This is DREAM. The most hard part will be invent nice and clear SQL for such feature. Okay, that is other story... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Tue Dec 13 08:40:54 2005 From: Ed at Kleban.com (Ed Kleban) Date: Tue Dec 13 08:44:02 2005 Subject: [V4RB] Vcomponents in package In-Reply-To: <6733EF69-81AA-409E-889F-E83F20234D0F@mac.com> Message-ID: I use installers on the Mac. I like installers on the Mac. and I appreciate it when in the README notes and in the installer itself the author gives me: A description of what the installer does. An option or instructions for a manual install as an alternative, as Microsoft does. An ability to simply drag a folder to Applications and begin using it that will run an alternate automatic installer if it needs to if I've chosen not to use the installer already. Againn as Microsoft does for office. An Uninstaller A log that shows what the installer did. On 12/13/05 3:39 AM, "Stan Busk" wrote: > > Do you know what I do when I download a Mac app and I get an > installer? I throw it directly to the trash. Mac users don't expect > installers, it is very big error to think they will don't mind. Your > sales will go down rapidly. I only allow installers for tools or when > they are done by people like Adobe... I am not Adobe so I guess many > users will not bother running my installers. I think it is better to > throw VComponent stuff to the application folder even getting a > caotic application folder, only drawback, you can't move the > application alone... > > ~/Stan > >> Hi Ruslan, >> >> Am 12. Dez 2005 um 22:32 Uhr schrieb Ruslan Zasukhin: >> >>> Bad news guys. >>> >>> It just not work. >>> Because MAC OS do not see shard libs inside of package. >>> It see them in CFMSupport only. >>> >>> Only solution future -- switch V4RB to MACHO format (i.e. Refuse >>> OS 9). >>> >>> >>> I have sent question to several MAC lists for help. So far no >>> response. >> >> IMHO this is not bad news. This is WORST CASE. >> >> When I want to use V4RB2 in future I have following solutions >> >> 1. Making installer which installs VComponents into /Library/ >> CFMSupport >> 2. Making Installer which installs VComponents into /Users/name/ >> Libraby/VComponents >> 3. Install VComponents into Application Folder >> >> When User has no admin rights solution 1 fails. :-(( >> >> So I have only solution 2 and 3 because in the past my users knew >> copy application to a new place and everything will run until before. >> >> For solution 2 and 3, how can I be sure that users installed correct? >> How can I check which VComponents the application uses (Is there >> some information in Logfile, if not it is extremely needed) >> When VComponents are installed at several places or at all >> possibilities, which one is used? Can I see that in Logfile? >> Can I make check inside of RB-Application, whether VComponents is >> the correct one or not and give an Errormessage to the user? >> Can I get a checklist insode the RB-Application with the info of >> the version of all VComponents that I can see what could be the >> problem and get an infomessage what components are not working >> together #680? >> >> Sorry but this bad news makes my application for the users much mor >> complex, they wasn't forced in the past to take care and I see a >> lot of problems and questions coming back to me ;-) >> >> At the moment new version has no benefit for my users. When do you >> think that you will start optimizing coding for getting much more >> speed #641? Because to tell my users that application get also >> slower will kill next release. >> >> bye >> >> >> >> Claudius >> >> -- >> G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 >> Homepage http://www.ClaSai.de >> iChat ryhoruk >> RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] >> >> >> _______________________________________________ >> Valentina-beta mailing list >> Valentina-beta@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina-beta > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Tue Dec 13 17:41:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 09:42:17 2005 Subject: BinaryLink that keep ORDER In-Reply-To: Message-ID: On 12/13/05 4:56 PM, "Ed Kleban" wrote: > Sure, but I just want to make sure that if I have a MANY:MANY link and I > never delete records, and: > > I link LeftRid #1 to { 3, 9, 5, 8, 7 } IN THAT ORDER > and I link { 1, 9, 6, 3, 2 } to rightRid #7 IN THAT ORDER > > That when I do a FindLinked( 1, left, right ) I will get an arrayset with: > { 3, 9, 5, 8, 7 } IN THAT ORDER No, you will get { 3, 5, 7, 8, 9 } > And when I do a FindLinked( 7, right, left ) I will get an arrayset with: > { 1, 9, 6, 3, 2 } IN THAT ORDER No, you will get { 1, 2, 3, 6, 9 } > And everything I read in your reply suggested, "Yes, this is the case" No. BinaryLink is like an index. So it keep list of recIDs sorted by values, To do binary search. --------------------- Ed, remember few days ago, I have start talk about BinaryLink that keep ORDER. They will do what you want. HOW they will do this, I do not know yet, because I see at least 3 ways to implement, each have own props/cons. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Tue Dec 13 17:26:14 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Dec 13 10:26:49 2005 Subject: Claudius, so we close 1088? Packages? In-Reply-To: References: Message-ID: <0E27B7BE-1319-4B94-8F8C-B1D7FCEE80E2@sailer-online.de> Hi Ruslan, Am 13. Dez 2005 um 11:14 Uhr schrieb Ruslan Zasukhin: > Hi Claudius, > > Well, since we have now way to build packages with V4RB 2.x > I think we can close issue 1088, right ? yes we can do. I don't understand differences between Package vom AppBundler and made directly with RB 2005r4. But this seems to be an other story. bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Tue Dec 13 19:10:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 11:10:45 2005 Subject: Claudius, so we close 1088? Packages? In-Reply-To: <0E27B7BE-1319-4B94-8F8C-B1D7FCEE80E2@sailer-online.de> Message-ID: On 12/13/05 6:26 PM, "Claudius Sailer" wrote: >> Well, since we have now way to build packages with V4RB 2.x >> I think we can close issue 1088, right ? > > yes we can do. > I don't understand differences between Package vom AppBundler and > made directly with RB 2005r4. But this seems to be an other story. Difference is that REALbasic create package ONLY for Macho app. Macho app work in different way with shared libs probably. I have always told, REALbasic could EASY create package for PEF apps also. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Tue Dec 13 20:37:55 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Dec 13 13:40:57 2005 Subject: [V4RB] Vcomponents in package. Solution ?! In-Reply-To: <32917315-2699-4424-A847-1FC78E14D301@mac.com> References: <32917315-2699-4424-A847-1FC78E14D301@mac.com> Message-ID: Am 13. Dez 2005 um 11:33 Uhr schrieb Stan Busk: > Hi, > > Yes, it works fine here. > I use App Bundler: http://www.bitjuggler.com/products/appbundler/ > It is a great tools made with RB and it includes the sources. > > 1.- I launch the app. On the first panel 'Main files' I set where > my compiled app is located. > 2.- On second panel 'Other files' I add all the VComponents items > and the vresources folder, setting each Destination to 'Contents/ > MacOS/'. where can I find best descrition what files are really needed? thanks and bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From bkeeney at everestkc.net Tue Dec 13 14:41:52 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Tue Dec 13 14:42:25 2005 Subject: [V4RB] Vcomponents in package. Solution ?! In-Reply-To: <20051213133231.8016E3DF2F8@edison.macserve.net> References: <20051213133231.8016E3DF2F8@edison.macserve.net> Message-ID: <921565ED-86EB-47A0-830A-5195F5D845C8@everestkc.net> > Hi, > > Yes, it works fine here. > I use App Bundler: http://www.bitjuggler.com/products/appbundler/ > It is a great tools made with RB and it includes the sources. > > 1.- I launch the app. On the first panel 'Main files' I set where my > compiled app is located. > 2.- On second panel 'Other files' I add all the VComponents items and > the vresources folder, setting each Destination to 'Contents/MacOS/'. > 3.- I give a name to my bundle on third panel 'Structure'. > 4.- Press the 'Build Bundle' button. > > To test I removed the VComponents folder from CFMSupport on my > system. I launch my app, it works. > I also copied the bundled app to a G5 with Mac OS X.3.9 where > Valentina has never been installed. It works. Can you accomplish the same thing by making a Mac OS X only (mach-o) build and placing the VComponents in the bundle yourself? From sunshine at public.kherson.ua Tue Dec 13 22:59:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 14:59:47 2005 Subject: [V4RB] Vcomponents in package. Solution ?! In-Reply-To: <921565ED-86EB-47A0-830A-5195F5D845C8@everestkc.net> Message-ID: On 12/13/05 10:41 PM, "Bob Keeney" wrote: >> >> Yes, it works fine here. >> I use App Bundler: http://www.bitjuggler.com/products/appbundler/ >> It is a great tools made with RB and it includes the sources. >> >> 1.- I launch the app. On the first panel 'Main files' I set where my >> compiled app is located. >> 2.- On second panel 'Other files' I add all the VComponents items and >> the vresources folder, setting each Destination to 'Contents/MacOS/'. >> 3.- I give a name to my bundle on third panel 'Structure'. >> 4.- Press the 'Build Bundle' button. >> >> To test I removed the VComponents folder from CFMSupport on my >> system. I launch my app, it works. >> I also copied the bundled app to a G5 with Mac OS X.3.9 where >> Valentina has never been installed. It works. > > > Can you accomplish the same thing by making a Mac OS X only (mach-o) > build and placing the VComponents in the bundle yourself? No, this MACHO way not works for current V4RB. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 13 22:59:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 15:00:40 2005 Subject: [V4RB] Vcomponents in package. Solution ?! In-Reply-To: Message-ID: On 12/13/05 9:37 PM, "Claudius Sailer" wrote: >> 1.- I launch the app. On the first panel 'Main files' I set where >> my compiled app is located. >> 2.- On second panel 'Other files' I add all the VComponents items >> and the vresources folder, setting each Destination to 'Contents/ >> MacOS/'. > > where can I find best descrition what files are really needed? All which are in Vcomponents. You can skip only vclient if you not use server -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bkeeney at everestkc.net Tue Dec 13 15:26:52 2005 From: bkeeney at everestkc.net (Bob Keeney) Date: Tue Dec 13 15:27:24 2005 Subject: ETA on 2.1 Final? In-Reply-To: <20051213075536.E83783DF12C@edison.macserve.net> References: <20051213075536.E83783DF12C@edison.macserve.net> Message-ID: <880A6E45-0AC8-437E-9E9D-5F96FFA6C80D@everestkc.net> I realize that it's hard to estimate these things, but is there an estimate on when 2.1 will be finalized? I'm trying to give my client a guestimate for when we can release an update to software that was based on 2.0.5. Thanks, Bob K. From sunshine at public.kherson.ua Tue Dec 13 23:50:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 13 15:51:19 2005 Subject: ETA on 2.1 Final? In-Reply-To: <880A6E45-0AC8-437E-9E9D-5F96FFA6C80D@everestkc.net> Message-ID: On 12/13/05 11:26 PM, "Bob Keeney" wrote: > I realize that it's hard to estimate these things, but is there an > estimate on when 2.1 will be finalized? I'm trying to give my client > a guestimate for when we can release an update to software that was > based on 2.0.5. We plan end of Dec. Note, that 2.1 this is big release of Windows products: C++ .NET and COM. So our main job is on Windows now. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Dec 14 19:59:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 14 12:00:35 2005 Subject: BinaryLink that keep ORDER -- Let's discuss ? In-Reply-To: Message-ID: On 12/14/05 6:59 PM, "Ed Kleban" wrote: >> Here a lots of points and features can be, >> I have start some pages about SQL for such feature. >> Who is interested can read: >> >> http://paradigma.ukrcom.kherson.ua/dokuwiki/doku.php?id=paradigma:public:doc >> umentation:en:vsql:vsql >> > > > Ah, interesting. I'd hope for API calls as well as SQL, but yes, this > sounds like a good idea. OF COURSE will exists API methods also -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Dec 15 10:51:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 15 02:52:32 2005 Subject: Object-Persistence in database In-Reply-To: <43CA16AC-2C12-45B9-A4B4-1E39C30C9B08@mac.com> Message-ID: On 12/15/05 10:20 AM, "Guyren Howe" wrote: Hi Guyren, > Actually, since the folks who are developing this are on here: how > about letting us store objects in the database? > Now, that I could get interested in. > You could define a column type to be the name of a class or a class > interface. > This class or the classes implementing this interface would *also* need to > implement a DBSerialize interface. Now, that would give me a reason to get > interested. You talk here about kind of OO DBMS. For you info: - exists separate world of OO DBMS - they have own ODMG standard - they have own OQL query language. - they are NOT similar to RDBMS - they claim that OODB work with C++ Java and Smalltalk. Well, we can add now that Apple have add own persistence layer CoreData, which is far far not the same as OO DBMS IMHO (it not follow ODMG standard at least). ------ Guyren, Serialization way * has a lots of problems...IMHO. In 1995-1998 year we have name Valentina to be OO DBMS. But then into game have come ODMG standard, which have "corrupt" this name. So we have start name Valentina as ORDBMS. I have never like ideas of OO DBMS as ODMG describeS. Main reasons: - IMHO it is bad when user do not see when info go to/from db. - IMHO payment for such feature is unneeded overhead to watch for objects, to load them and unload them, a lots of proxy-objects...nightmare. - IMHO it is stupid to say that OO DBMS can be used only from OO language. FALSE, LIE. My point of view that OO features of DB, its model are not related in any way to language/API of access. Well, INSTEAD, in Valentina we offer other way -- Class way. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You develop own set of classes (yes which play as persistent), Which are subclasses from Valentina classes. Now you get best of 2 worlds. - you work with OO classes and OO API - you self control what is going on. ------- In the same time I believe that Valentina has very perfect internal structure and features for implementation of persistence LAYERS over it. They can be ODMG-compliant as well as something else. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Dec 15 14:16:44 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 15 06:17:28 2005 Subject: Object-Persistence in database In-Reply-To: <025BE793-9AEF-4C3F-BB46-57ED671AFD93@econophone.ch> Message-ID: On 12/15/05 1:03 PM, "Philip M?tteli" wrote: > Am 15.12.2005 um 09:51 schrieb Ruslan Zasukhin: >> On 12/15/05 10:20 AM, "Guyren Howe" wrote: >> >>> Actually, since the folks who are developing this are on here: how >>> about letting us store objects in the database? >> >>> Now, that I could get interested in. > > :-) A close spirit. > > >>> You could define a column type to be the name of a class or a class >>> interface. >> >>> This class or the classes implementing this interface would *also* need to >>> implement a DBSerialize interface. Now, that would give me a reason to get >>> interested. >> >> You talk here about kind of OO DBMS. > > Not absolutely. I mean Apple's EOF or GNU's GDL2 are based on almost > any RDBMS you want. Everything depends on how much transparency you > want. Actually Guyren, talk here about persistence for REALbasic object. So this is not related to Apple and CoreData. Aha, you see, you have bring me new info: exists some GNU GDL2 :-) Well, then we can say then: EXISTS 2 ways to get persistent layer: A) build some abstraction layer around some or any RDBMS. B) OO DBMS way that follow ODMG standard. Way A prove that IT IS possible get this task solved on Valentina. Even better. Valentina's feature LINKS allow solve this task more elegant and effective. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Dec 15 14:29:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 15 06:30:39 2005 Subject: Object-Persistence in database In-Reply-To: <025BE793-9AEF-4C3F-BB46-57ED671AFD93@econophone.ch> Message-ID: On 12/15/05 1:03 PM, "Philip M?tteli" wrote: Hi Philip, I split answer into several letters to get several threads about different issues. >> Serialization way * has a lots of problems...IMHO. > > Please explain. You see above. >> I have never like ideas of OO DBMS as ODMG describeS. Main reasons: >> >> - IMHO it is bad when user do not see when info go to/from db. > > Well, do you see your computers CPU shifting the registers? Pushing > an electron from one transistor to an other? > Software engineering is not about rewriting everything yourself. > That's the very reason, why OOP has been invented. Right, but read below. >> - IMHO payment for such feature is unneeded overhead to watch for objects, >> to load them and unload them, a lots of proxy-objects... > > This payment is small: > > - Load: A fault fires. > - Unload: An object is just freed in memory, like any other object. I believe it is not so small. It easy can overload time of db operations itself. > Of course, the more features you want, the more expensive it gets: If > you want a realtime image of your persistent objects on the DBMS, you > need something that observes those objects for mutations (Bindings/ > isa-swizzling/Proxies would be the way to go.) But I'd say, you pay > the same price with your method. >> nightmare. > > :-) Just once: The one who implements the persistence library. For > the millions of programmers, that gonna use that library, it is a > benediction. And here let me catch you. MILLIONS of programmers DO NOT use this attempts to make such layers. MILLONS do use RDBMS...Very few try play with OO DBMS. So I do not see in real life prove of your words, that it is so cool. BTW, this way is not so cool, at least because it will lack SQL power. And this way require low-level programming which have kill in the past network and hierarchical models and win Relational. This is what I see in reality. Yes, I understand your point perfectly. WE ALL DREAM write code as small as possible to solve task. Yes, we see that power of computer grow, so soon house-wifes will develop software suing bubble-sort and be happy :-) ----------------- Seriously. I still believe that such layer can be used only for something simple. But I do not think it is good idea choose it for db with 50 tables, 100 relations millions records.. Okay, it may be will work, but normal solution on relational or OR model will work 10-20-how many times faster? Okay, having such layer developer produce model using own C++/Java/ObjC classes, right ? In other words, his db is CLOSED for use in other language, PHP for example? With other application? Report righter for example? May be I do not understand yet something ... I will think. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Dec 15 15:08:36 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 15 07:09:18 2005 Subject: Object-Persistence in database In-Reply-To: <025BE793-9AEF-4C3F-BB46-57ED671AFD93@econophone.ch> Message-ID: On 12/15/05 1:03 PM, "Philip M?tteli" wrote: >> Well, INSTEAD, in Valentina we offer other way -- Class way. >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> You develop own set of classes (yes which play as persistent), >> Which are subclasses from Valentina classes. Now you get best of 2 >> worlds. >> - you work with OO classes and OO API > > What, if my class already has to inherit from another class, which in > turn, of course doesn't inherit from a Valentina class? > Lets say, I have to reuse a framework for modeling street traffic. There's a > class "Car". Of course, this framework never heard of Valentina. Ouhps, now I > can't save any object from that framework, nor any subclass I made. Wrong, Phillip! Remember movie "Matrix"? There is no spoon! Do you want to say that using RDBMS you cannot solve this task??? Of course you can. -------- In Valentina I think you can do something as: Class tblCar : public VTable { public: AddCar( Car* inCar ) { mfCarMark = inCar->getMark(); mfCarColor = inCar->getColor(); AddRecord(); } protected: VString mfCarMark; VString mfCarColor; .. } So I CAN save objects from your framework using mTblCar.AddCar( pFrameworkObject ) > Or I have a garage, that contains cars, bicycles and trucks. How do > you define the relationships in the tables? (It's possible, I know, > but annoying.) Right, this is why Valentina introduce links, they reduce work of developer and are more effective. > The problem in your example here is, that the relationship of a > subclass to its superclass is of the kind "is a". It's a refinement > of the functionality of its superclass. > A car _is_a_ vehicle and not a persistent_object. So if I make a subclass of > a persistent_class, this subclass should refine this functionality of > persistency, e. g. Valentina_persistent_class. Yes, this makes no sense (at > least, if I don't explain some more things). That's the reason, why we say, > that persistency is just an aspect of a program. Hence the invention of > Aspect Oriented Programming. Ok, good point. You talk like an academy teacher. Aren't you? :-) But who have told you that developer MUST to work with C++ objects AS IS. When I want find Cars, I do QUERY to table, and I get Cursor as result. OR I get set of found records if go by non-SQL way. Okay, I think you want say me: * development of C++ classes is simpler than development of Relational tables... Me: really? Hard to say...and main -- you loose portability of db. * establishing links in relational model are annoying.. Me: right. This is why we develop in Valentina NEW model. - we have links. - soon we will introduce links with order -- similar to Collections of ODMG and OO DBMS. Me: This is why, I say that Valentina is much more ready for any OO layer than ANY normal RDBMS. For example we already have OID field, as ODMG require. And our implementation of OID eat ZERO bytes on disk, but OO DBMS eat for million records 8 * 1M = 8 MB plus size of index that can reach 12MB. ZERO against 20MB. Not bad? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Dec 15 15:16:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 15 07:16:45 2005 Subject: Object-Persistence in database -- self control In-Reply-To: <025BE793-9AEF-4C3F-BB46-57ED671AFD93@econophone.ch> Message-ID: On 12/15/05 1:03 PM, "Philip M?tteli" wrote: Hi Philip, >> - you self control what is going on. > > You _have_to_ "self control" everything. Brings the cost of your > software project easily up by 30%. What do I do, if I don't have > that money? Apart from that, it's a repeating task. We have computers > especially to automate repetitive tasks. I agree Philip here ! > I mean, optimization should always be like this: > > 1. You make the best of all models, that allows as much extension and > reuse of code. > 2. You implement it > 3. You test. > 4. If it's somewhere too slow, you profile and optimize just that > part of your program. > If you start optimization already at the design phase, you bet your > program's gonna cost four times more or even, it will never be finished. You are right, and this rule work in 99% of cases I think. But always exists exceptions. For example, we develop DBMS, piece of code other developers/users will tease billions times. But that is other story. We develop weapon. Other use it. ------------ Okay, this raise another issue: do you have on hands ANY research, which prove that -- OO layer way is faster for development? -- if yes then for which tasks? (unlikely for all, right) I cannot remember I have read for years any info about this. So IMHO we talk on terms of "spirit" and "belief" here. It will be great take some tasks, and see how they can be solved in this and that way. Then compare results... Again, we try develop Valentina to be as flexible as possible. We right now offer to developers SEVERAL ways to go for EACH API we support. May be we really need take a more deep look in direction you point. I think it will be great also if you find time to take more close look on Valentina and its design. Of course if you have time on this .. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Dec 16 01:42:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 15 17:43:18 2005 Subject: Object-Persistence in database -- reason: low mutation. In-Reply-To: Message-ID: On 12/15/05 9:25 PM, "Philip M?tteli" wrote: >> MILLIONS of programmers DO NOT use this attempts to make such layers. >> MILLONS do use RDBMS...Very few try play with OO DBMS. >> >> So I do not see in real life prove of your words, that it is so cool. > > Perhaps you have noticed the following (at least my professor has > (Prof. Dittrich)): The closer you come to the data, the less mutation > you have. There are companies, that still have data from the fifties. > Now, they need DBMSs, which handle that data. On that we have client > programs, that work with that data. You can't easily change the DB or > the DBMS. The farer away from the data you are, the easier it gets. > The client programs are almost "regularly" rewritten. > So, even if you know, that an OODBMS would better suit your needs, > you still can't use it, because you need to have access to legacy > data. That's one reason. The other will follow? Okay, here many truth, but. But I see that a lots of NEW software is developed with RDBMS (even not ORBMS)...so not only this is a reason. Well, this can be of course inertness of developers... They have many years learn relational model... And this is why we have choose for Valentina soft, evolution way like C++ did in the past to eat C. Everything that work in RDBMS work in Valentina 2.x, Plus it have new features, which you can use when learn them. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Dec 16 02:00:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 15 18:00:58 2005 Subject: Object-Persistence in database -- kind of data In-Reply-To: Message-ID: On 12/15/05 9:25 PM, "Philip M?tteli" wrote: >> I still believe that such layer > > You mean object-relational persistency mapper? > >> can be used only for something simple. But I do not think it is good idea >> choose it for db with 50 tables, 100 relations millions records.. > > EOF was used by companies with HUGE, HUGE number of data sets. > Several terabytes, I know of some astronomical researches. Big > companies, like UBS have used it for with terabytes. And apart from > that, the Apple Store also uses EOF. And there are and were many, > many more. I knew you will say this :-) When somebody talk about terabytes, I always want ask: what hardware? My DUAL G5 has 80Gb HDD. so you use some fast RAID probably? how much faster? 10 times? Aha, then your terra-byte is equivalent to 100Gb already.. and so on... Problem is that today on fast computers, really even power dbs can satisfy. But I always remember about such tasks as AI: - you have computer which can think? - talk? - understand sense ? - ... No? Why? Slow computers? Millions times slower than needed? Ops... :-) >> Okay, it may be will work, but normal solution on relational or OR model >> will work 10-20-how many times faster? > That depends on what kind of data you have: > Data, that is organized in a complex structure, of a very interconnected > graph, is better off with a OODBMS. > > The OODBMS only follows the links. There's nothing more direct and easy. An > RDBMS wouldn't be slower here. > > Data, that has to be searched through its contents, is better off in a pure > RDBMS. Ah-ha, so you perfectly understand this. Good. Yes, if task is ONLY go from one object to another, load it as whole then go to next object and load it as whole ... Then right, storing of object as atom is best. But where exists such tasks ??? We always need search: find car fith such number and such color and owner is man. Storing of objects as WHOLE, not-splinted into tables cause a lots of problems here. I talk about speed. It is even hard to index such mess. Let me tell you small secret of Valentina (it is documented actually :). Valentina not just keep data normalized as do RDBMS, Valentina even keep each column as separate logical file. In many tasks this give great speedup. And this is very perfect for inheritance of tables, which I hope we will get sometimes. Because look, data of T1 and T2 do not differ practically in contrast to solid tables as have MS, Oracle, mySQL, Postgre, ... >> In other words, his db is CLOSED for use in other language, PHP for >> example? > > No, the data is accessible from every language, which has an > interface written for the OODBMS this specific DB is living on. It is > perfectly possible, that a Java, an ObjC, a Perl and a PHP program > simultaneously access the same data on the same DB. Yes, agree. I have also think about this after send letter. Such examples exists? How Perl, PHP can simulate access to OO layer? In some ugly way I guess ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Dec 16 02:12:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 15 18:12:55 2005 Subject: Object-Persistence in database -- 2 worlds, AI In-Reply-To: Message-ID: On 12/15/05 9:25 PM, "Philip M?tteli" wrote: >> Class tblCar : public VTable > > You do not have the source code of Car. At the moment Car is defined > as this: > > @implementation Car : Vehicle > > And Vehicle is inheriting from the root class: > > @interface Vehicle : NSObject > > So if you don't have multiple inheritance, I don't see, how you want > to make Car inherit from VTable. > Of course, you can read out the values (serialize it) and save that > wherever you want. But I never put that into question of course. I see your point. Btw, tell me please, IF that is third party framework "Cars", then I think you already cannot mark its classes to be persistent. So you also have not so perfect and clean as dream is. Right? >>> Or I have a garage, that contains cars, bicycles and trucks. How do >>> you define the relationships in the tables? (It's possible, I know, >>> but annoying.) >> >> Right, this is why Valentina introduce links, > > The two worlds are converging together. Right, and I think that main stream go from RELATIONAL world into OR direction. >> You talk like an academy teacher. Aren't you? :-) > > I'm writing a doctoral dissertation. But not at all in the DBMS > field. My fields are OOSE, AI and Finance. AI... Valentina was born, because I did not find in 1993 any good db for this tasks. :-) How to explain ... My feeling was and is, that all above Obj-C classes of course are good and solve tasks for some OO APP. But, I do not believe, that in future (100 years, 1000 years) the AI software, will be developed with help of C++ or Java Or Obj-C classes. Nobody will write class "sun" and class "earth". You see? But still exists problem of mirror of real world into databank. This is why I believe that *IT IS TASK FOR DB ENGINE*. I believe that DB ENGINE must be as smart as possible, It must support DATA MODEL as powerful as possible. Let is my feeling. For example, when Valentina have got links, we have to see that we can resolve some tasks more simple (for human) and more fast (for computer). This is possible only because now db engine KNOW something special about data it keeps, and RDBMS although keep the same data, DO NOT understand them. Lets the point. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Dec 17 21:40:00 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 17 13:40:47 2005 Subject: [ANN] V4RB 2.1 b15 uploaded Message-ID: Hi All, * fixed VBLOB.DeleteData() method * improved diagnose 2 recognize a couple more anomalies. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Dec 17 16:46:47 2005 From: jda at his.com (jda) Date: Sat Dec 17 15:47:25 2005 Subject: [ANN] V4RB 2.1 b15 uploaded In-Reply-To: References: Message-ID: >Hi All, > >* fixed VBLOB.DeleteData() method > >* improved diagnose 2 recognize a couple more anomalies. > Hi Ruslan, Did Convert1_2 change? This code valentina.Convert_1_2( f, fNew, true, 512 ) gives me an error: Parameters are not compatible with this function Jon From sunshine at public.kherson.ua Sun Dec 18 09:42:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 18 01:43:28 2005 Subject: [ANN] V4RB 2.1 b15 uploaded In-Reply-To: Message-ID: On 12/17/05 11:46 PM, "jda" wrote: >> Hi All, >> >> * fixed VBLOB.DeleteData() method >> >> * improved diagnose 2 recognize a couple more anomalies. >> > > Hi Ruslan, > > Did Convert1_2 change? > > This code > > valentina.Convert_1_2( f, fNew, true, 512 ) > > gives me an error: > > Parameters are not compatible with this function Yes, we have add encryption keys for 1.x dbs Convert_1_2( inOldDb_Version1 as FolderItem, inNewDb_Version2 as FolderItem, inLoadRecords as Boolean, inDb1Key as String = "", inStructureDb1Key as String = "", inNewSegmentSize as integer = 0 ) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sun Dec 18 08:40:56 2005 From: jda at his.com (jda) Date: Sun Dec 18 07:41:36 2005 Subject: [ANN] V4RB 2.1 b15 uploaded In-Reply-To: References: Message-ID: > >Yes, we have add encryption keys for 1.x dbs > >Convert_1_2( inOldDb_Version1 as FolderItem, > inNewDb_Version2 as FolderItem, > inLoadRecords as Boolean, > inDb1Key as String = "", > inStructureDb1Key as String = "", > inNewSegmentSize as integer = 0 ) > OK. I didn't see the new parameters in the Example. What would typical values for inDB1Key inStructureDB1Key be? E.g inDB1Key = "English" inStructureDB1Key = ?? Thanks, Jon From sunshine at public.kherson.ua Sun Dec 18 16:48:38 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sun Dec 18 08:49:28 2005 Subject: [ANN] V4RB 2.1 b15 uploaded In-Reply-To: Message-ID: On 12/18/05 3:40 PM, "jda" wrote: >> >> Yes, we have add encryption keys for 1.x dbs >> >> Convert_1_2( inOldDb_Version1 as FolderItem, >> inNewDb_Version2 as FolderItem, >> inLoadRecords as Boolean, >> inDb1Key as String = "", >> inStructureDb1Key as String = "", >> inNewSegmentSize as integer = 0 ) >> > > OK. I didn't see the new parameters in the Example. What would > typical values for Ivan, it needs fix example also > inDB1Key > inStructureDB1Key > > be? > > E.g > > inDB1Key = "English" > inStructureDB1Key = ?? This is to open some encrypted 1.x dbs So if you do not have encryption put "" If you have on db encryption then put here own passwords -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Wed Dec 21 06:38:59 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Dec 20 23:39:47 2005 Subject: expiriences with RB2006r1b2? Message-ID: <80BE5BB9-5DA3-42AD-84B2-AA532C422E02@sailer-online.de> Hi, has someone tested RB2006r1b2 with V4RB2? Does this work? I can't compile my application. At the end of the compiling process I get an error message (something with linking). http://www.realsoftware.com/feedback/viewreport.php?reportid=ptuwcnyj And it would be nice when I could say that V4RB2 is not the reason. bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.1b15 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Wed Dec 21 09:17:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 21 01:18:42 2005 Subject: expiriences with RB2006r1b2? In-Reply-To: <80BE5BB9-5DA3-42AD-84B2-AA532C422E02@sailer-online.de> Message-ID: On 12/21/05 7:38 AM, "Claudius Sailer" wrote: Hi Claudius, > has someone tested RB2006r1b2 with V4RB2? > Does this work? > > I can't compile my application. At the end of the compiling process I > get an error message (something with linking). > > > http://www.realsoftware.com/feedback/viewreport.php?reportid=ptuwcnyj > > And it would be nice when I could say that V4RB2 is not the reason. Ed have point that latest beta of RB support only MACHO. Is this true guys ? If this is true, then it looks we need in urgent way make V4RB macho. Ed, say that release will have PEF. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Wed Dec 21 01:35:24 2005 From: Ed at Kleban.com (Ed Kleban) Date: Wed Dec 21 01:36:10 2005 Subject: expiriences with RB2006r1b2? In-Reply-To: Message-ID: My comment is based on what someone else told me about r1b1, when I discovered that there was a problem for my code compiling under PEF on r1b1. I have not yet tried PEF under r1b2. I probably will much later today. >From what messages I've seen on the RB beta list however, I'm guessing this has not yet changed. Ruslan, is it appropriate for you to to post my comment here, or for Cladius to ask this question here, as opposed to in the REALbasic beta newsgroup? I sent you that statement directly in confidence since I knew that you personally were on the RB Beta list. Is it ok with REAL Software to be posting that information here? On 12/21/05 1:17 AM, "Ruslan Zasukhin" wrote: > On 12/21/05 7:38 AM, "Claudius Sailer" wrote: > > Hi Claudius, > >> has someone tested RB2006r1b2 with V4RB2? >> Does this work? >> >> I can't compile my application. At the end of the compiling process I >> get an error message (something with linking). >> >> >> http://www.realsoftware.com/feedback/viewreport.php?reportid=ptuwcnyj >> >> And it would be nice when I could say that V4RB2 is not the reason. > > Ed have point that latest beta of RB support only MACHO. > Is this true guys ? > > If this is true, then it looks we need in urgent way make V4RB macho. > > > Ed, say that release will have PEF. > From sunshine at public.kherson.ua Wed Dec 21 09:43:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 21 01:44:22 2005 Subject: expiriences with RB2006r1b2? In-Reply-To: Message-ID: On 12/21/05 9:35 AM, "Ed Kleban" wrote: > My comment is based on what someone else told me about r1b1, when I > discovered that there was a problem for my code compiling under PEF on r1b1. > I have not yet tried PEF under r1b2. I probably will much later today. >> From what messages I've seen on the RB beta list however, I'm guessing this > has not yet changed. > > Ruslan, is it appropriate for you to to post my comment here, or for Cladius > to ask this question here, as opposed to in the REALbasic beta newsgroup? I > sent you that statement directly in confidence since I knew that you > personally were on the RB Beta list. Is it ok with REAL Software to be > posting that information here? Ak, right. They have closed beta testing. Then may be better continue on their list this issue -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lfredricks at proactive-intl.com Wed Dec 21 09:57:50 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Dec 21 11:58:50 2005 Subject: expiriences with RB2006r1b2? In-Reply-To: Message-ID: <20051221175758.12C487F072@spatula.dreamhost.com> > Ruslan, is it appropriate for you to to post my comment here, > or for Cladius to ask this question here, as opposed to in > the REALbasic beta newsgroup? I sent you that statement > directly in confidence since I knew that you personally were > on the RB Beta list. Is it ok with REAL Software to be > posting that information here? Unfortunately we cannot depend on Ruslan always having access to the REAL betas list. This is a private list so if there's a problem with the post -- let REAL worry about it if it's a problem, and don't pull on the elephants trunk :-) RB 2006r1b2 isnt the shipping version of REALbasic and if you read Dave Grogono's emails, you know they make no assurances that anything will work in a non-release version. I havent been watching it very carefully but there are a lot of things not working. Plugins represent a small but vital role in the "REALbasic eco-system" which will never be adaquately represented in their bug base (which is "vote" based). So its very important that you also verbalize your concerns on the RB betas list. Ruslan can also make noise on the RB plugins list. Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From Claudius at sailer-online.de Wed Dec 21 20:24:08 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Wed Dec 21 13:24:59 2005 Subject: expiriences with RB2006r1b2? In-Reply-To: <20051221175758.12C487F072@spatula.dreamhost.com> References: <20051221175758.12C487F072@spatula.dreamhost.com> Message-ID: Am 21. Dez 2005 um 18:57 Uhr schrieb Lynn Fredricks: >> Ruslan, is it appropriate for you to to post my comment here, >> or for Cladius to ask this question here, as opposed to in >> the REALbasic beta newsgroup? I sent you that statement >> directly in confidence since I knew that you personally were >> on the RB Beta list. Is it ok with REAL Software to be >> posting that information here? > > Unfortunately we cannot depend on Ruslan always having access to > the REAL > betas list. This is a private list so if there's a problem with the > post -- > let REAL worry about it if it's a problem, and don't pull on the > elephants > trunk :-) > > RB 2006r1b2 isnt the shipping version of REALbasic and if you read > Dave > Grogono's emails, you know they make no assurances that anything > will work > in a non-release version. I havent been watching it very carefully > but there > are a lot of things not working. > > Plugins represent a small but vital role in the "REALbasic eco- > system" which > will never be adaquately represented in their bug base (which is > "vote" > based). So its very important that you also verbalize your concerns > on the > RB betas list. Ruslan can also make noise on the RB plugins list. Sorry about my question. I asked in Valentina-List, because it seems that nobody had this problem too, and the only external thing I use is V4RB2. So I wanted to know whether other V4RB2-User have ssame problem or whether this is only my problem.... But in future it seems that it would be better to ask this valentina question in RB-List!! bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From lfredricks at proactive-intl.com Wed Dec 21 11:33:38 2005 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed Dec 21 13:34:33 2005 Subject: expiriences with RB2006r1b2? In-Reply-To: Message-ID: <20051221193346.AB6AD7F06F@spatula.dreamhost.com> > > Plugins represent a small but vital role in the "REALbasic eco- > > system" which will never be adaquately represented in their > bug base > > (which is "vote" > > based). So its very important that you also verbalize your > concerns on > > the RB betas list. Ruslan can also make noise on the RB > plugins list. > > Sorry about my question. I asked in Valentina-List, because > it seems that nobody had this problem too, and the only > external thing I use is V4RB2. So I wanted to know whether > other V4RB2-User have ssame problem or whether this is only > my problem.... > > But in future it seems that it would be better to ask this > valentina question in RB-List!! I think its okay to ask here. Paradigma doesn't have special knowledge into what REAL is doing though -- so they surprise us as much as they surprise you ;-) Best regards, Lynn Fredricks President Paradigma Software, Inc Joining Worlds of Information Deploy True Client-Server Database Solutions Royalty Free with Valentina Developer Network http://www.paradigmasoft.com From sunshine at public.kherson.ua Sat Dec 24 01:43:29 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 23 17:44:21 2005 Subject: Using OrderedSets Re: [IDEA] BinaryLink that supports order !!! In-Reply-To: Message-ID: On 12/18/05 9:07 AM, "Ed Kleban" wrote: >> Also this give ability improve SQL to do all above operations *and* >> Searches of kind: >> >> find records of table A, which have FIRST child with such conditions.... > >> >> Particular example: >> >> SELECT Person.* >> FROM Person parent, Person child USING Born >> WHERE FIRST child.Name = 'Peter' >> >> To express this right now in Valentina 2 (or in mySQL, Oracle, ... ) >> You must self first of all provide additional column to keep order, spend >> hours to write logic, then do sql as >> >> SELECT Person.* >> FROM Person parent, Person child JOIN parent.id = child.ptr >> WHERE child.Name = 'Peter' and child.index = 1 > >> I underline that The main advantage is not in simpler SQL, but in hours of >> work to implement order manually using additional columns. >> > > The benefits of using OBL therefore are that: > > 1) The OBL saves you the hassle of having to explicitly allocate the > additional column to keep the order, because it effectively moves that > column into the OBL automatically and manages it for you no matter whether > OBL is implemented with (A), (B), or (C) above. This is a benefit you get > whether using OBL from SQL or from API, and... Right! > 2) Perhaps... Actually (1) is the only benefit I can come up with. As you > point out it makes the SQL a little more clear perhaps (at a penalty for > using non-standard SQL) but that's a minor issue. Perhaps you can come up > with some words for other benefits this offers. But (1) is a GREAT benefit. 2 main befits as always in Valentina 1) SIMPLER for developer, because Valentina take care self on stupid error prone, repeating task, that is not so easy for developer. 2) we get MUCH FASTER solution than based on RDBMS way. Now you want to know why. Yes? :-) Because. First of all look how data are stored in that INDEX column for RDBMS: * let you have table with 10-20-50 columns. * one of them is INDEX column. * when you change order of some group, you get N records to update value of INDEX column. * How to update record: right! DB need load into RAM each such record, with all its fields. in fact DB load the whole page where such record is. * Now RDBMS can update value of that record, and go to next. * Ops. RDBMS need yet jump to index and DeleteOld + AddNew It is easy see that the bigger record of table, the more data from disk you need load. I.e. The number of fields in table affect speed of this operation. ------------ Valentina instead will touch very precisely only required group of values to be changed. ---------- Example in numbers: let you have table in million records. let avg size of row is 100 bytes only. let you need correct index in group of 10,000 records. let this 10,000 records located in random order. Hmm, I think this is real life case. so each 100th record is record to be changed. * RDBMS * We have (1M * 100 byte) / 4K = 25,000 pages for table. 100 records * 10 bytes = 10KB this is 3 pages of 4K size. So we need touch each third page of table. We need load about 8300 pages into RAM. Change value, and write them back. 8300 pages * 4 k = 33 MB for read + 33 MB for write. PLUS we have probably index for this field. * Valentina * Valentina need "load - correct - write" in average only 20 Kb. Even better: for operations 'Insert At position' only one page will be touched. Now you can count advantage: at least 70+ MB / 20 Kb = 3500 times. IMHO, not bad. If take the best case for RDBMS -- all records are located together, we get 10K * 100 = 1MB. So we still win 50 times. ---------------------------------------- 3) I can point another advantage, Ed. When db engine *knows* something more it can do things more smart. At least you get advantage, that you can develop some Valentina Database in REALbasic, but this feature will work correctly and in the same way in other languages and IDEs. For example Valentina Studio will correctly you show order of records. Compare to RDBMS. You application know that INDEX field means, and YOUR application have algorithms to work with it. But other apps believe that this is just USHORT column. ------------------------------------ 4) and even 4th advantage can be pointed. * in RDBMS way * to update indexed we need lock records of table. * in Valentina way * we operate on Binary Link, so records of table is not locked. This can be good for multi-user concurrency. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Fri Dec 23 18:31:18 2005 From: Ed at Kleban.com (Ed Kleban) Date: Fri Dec 23 18:32:18 2005 Subject: Using OrderedSets Re: [IDEA] BinaryLink that supports order !!! In-Reply-To: Message-ID: On 12/23/05 5:43 PM, "Ruslan Zasukhin" wrote: > On 12/18/05 9:07 AM, "Ed Kleban" wrote: > [Since Ruslan has posted this public reply to my formerly private message (which is fine) I'll point out for those who are now joining the thread and trying to make sense of it that "OBL" refers to the OrderedBinaryLink concept Ruslan has proposed implementing in a future version of Valentina.] >> >> The benefits of using OBL therefore are that: >> >> 1) The OBL saves you the hassle of having to explicitly allocate the >> additional column to keep the order, because it effectively moves that >> column into the OBL automatically and manages it for you no matter whether >> OBL is implemented with (A), (B), or (C) above. This is a benefit you get >> whether using OBL from SQL or from API, and... [(A), (B), and (C) being three possible different ways I had concluded that Ruslan might choose to implement OBL] > > Right! > >> 2) Perhaps... Actually (1) is the only benefit I can come up with. As you >> point out it makes the SQL a little more clear perhaps (at a penalty for >> using non-standard SQL) but that's a minor issue. Perhaps you can come up >> with some words for other benefits this offers. But (1) is a GREAT benefit. > > 2 main befits as always in Valentina > > 1) SIMPLER for developer, because Valentina take care self on stupid > error prone, repeating task, that is not so easy for developer. Which is a restatement of (1) above. > > 2) we get MUCH FASTER solution than based on RDBMS way. Which is what you explain quite wonderfully in great detail below. However, I don't think that any of the benefits you describe below are necessarily benefits of using OrderedBinaryLinks, but rather they are inherent benefits of Valentina; namely from the fact that V2 supports Binary Links in the first place, and more fundamentally because: a) Each field of a record is stored as a separate logical construct, thus obviating the need for reading in all of the field values for any record that is examined. b) RecIds do not change when new insertions, deletions or updates occur. c) The field values required for implementing binary links are not stored as fields in the records of the tables they define relationships between. > Now you want to know why. Yes? :-) You know me too well. ;-) Yes, of course. I always want to know why. > Because. First of all look how data are stored in that INDEX column for > RDBMS: > > * let you have table with 10-20-50 columns. > * one of them is INDEX column. > > * when you change order of some group, you get N records to > update value of INDEX column. > > * How to update record: right! > DB need load into RAM each such record, with all its fields. > in fact DB load the whole page where such record is. > > * Now RDBMS can update value of that record, and go to next. > > * Ops. RDBMS need yet jump to index and DeleteOld + AddNew ["Oops"] > > It is easy see that the bigger record of table, the more data from disk you > need load. I.e. The number of fields in table affect speed of this > operation. and the more that local Valentina and system virtual memory paging works against you to make things slower instead of working for you to make things faster as it does for Valentina > > ------------ > Valentina instead will touch very precisely only required group of values to > be changed. > > > ---------- > Example in numbers: > > let you have table in million records. > let avg size of row is 100 bytes only. > let you need correct index in group of 10,000 records. > > let this 10,000 records located in random order. > Hmm, I think this is real life case. > so each 100th record is record to be changed. > > > * RDBMS * > > We have (1M * 100 byte) / 4K = 25,000 pages for table. > > 100 records * 10 bytes = 10KB this is 3 pages of 4K size. > So we need touch each third page of table. > > We need load about 8300 pages into RAM. Change value, > and write them back. > > 8300 pages * 4 k = 33 MB for read + 33 MB for write. > > PLUS we have probably index for this field. > > > * Valentina * > > Valentina need "load - correct - write" in average only 20 Kb. > > Even better: for operations 'Insert At position' > only one page will be touched. > > Now you can count advantage: > at least 70+ MB / 20 Kb = 3500 times. > > IMHO, not bad. Sorry Ruslan, but you should not be permitted to use the abbreviation "IMHO", because just like me your opinions are rarely ever humble. > If take the best case for RDBMS -- all records are located together, we get > 10K * 100 = 1MB. So we still win 50 times. > > ---------------------------------------- > 3) I can point another advantage, Ed. > When db engine *knows* something more it can do things more smart. > > At least you get advantage, that you can develop some Valentina Database in > REALbasic, but this feature will work correctly and in the same way in other > languages and IDEs. For example Valentina Studio will correctly you show > order of records. > > Compare to RDBMS. You application know that INDEX field means, and YOUR > application have algorithms to work with it. But other apps believe that > this is just USHORT column. > Yes. But if you implement BytePtr, MediumPtr, and ShortPtr as we have discussed, then not only will my app know it but other V2-savvy apps such as Valentina Studio will know it and can take advantage of it as well. In the mean time I can declare these as foreign key links to provide clues to both SQL statements that view this as a traditional RDBMS and to applications like Valentina Studio. While in my own code I can use API calls to treat these as if the were in fact ObjectPtr fields, and thus gain 100% of the performance benefits with additional 25% to 75% storage benefit, plus any additional performance benefit that comes from less paging due to smaller table sizes. > ------------------------------------ > 4) and even 4th advantage can be pointed. > > * in RDBMS way * to update indexed we need lock records of table. > > * in Valentina way * we operate on Binary Link, so records of table is not > locked. This can be good for multi-user concurrency. > Hmm... I've been ignoring concurrency issues so far, but sooner or later I'll have to deal with those. I need to think about these some more before I will be ready to discuss them. Thanks for the tutorial Ruslan. You make a great sales pitch! I guess I can live with a database that offer performance that is 50 to 3500 times faster than using SQL with a traditional RDMS storage structure. But keep reading that email you are replying to. I'd like to get another very large boost in performance by having API calls that treat VArraySets as Ordered sets so that I can avoid making calls to do what you describe above more than once instead of making repeated calls throughout the execution of my application. --Ed From sunshine at public.kherson.ua Sat Dec 24 10:40:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 24 02:41:05 2005 Subject: Using OrderedSets Re: [IDEA] BinaryLink that supports order !!! In-Reply-To: Message-ID: On 12/24/05 2:31 AM, "Ed Kleban" wrote: >> ---------------------------------------- >> 3) I can point another advantage, Ed. >> When db engine *knows* something more it can do things more smart. >> >> At least you get advantage, that you can develop some Valentina Database in >> REALbasic, but this feature will work correctly and in the same way in other >> languages and IDEs. For example Valentina Studio will correctly you show >> order of records. >> >> Compare to RDBMS. You application know that INDEX field means, and YOUR >> application have algorithms to work with it. But other apps believe that >> this is just USHORT column. >> > > Yes. But if you implement BytePtr, MediumPtr, and ShortPtr as we have > discussed, then not only will my app know it but other V2-savvy apps such as > Valentina Studio will know it and can take advantage of it as well. Agree. > In the > mean time I can declare these as foreign key links to provide clues to both > SQL statements that view this as a traditional RDBMS and to applications > like Valentina Studio. While in my own code I can use API calls to treat > these as if the were in fact ObjectPtr fields, and thus gain 100% of the > performance benefits with additional 25% to 75% storage benefit, plus any > additional performance benefit that comes from less paging due to smaller > table sizes. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 27 00:13:06 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Mon Dec 26 16:14:05 2005 Subject: FIXED: To reproduce In-Reply-To: Message-ID: On 12/26/05 8:33 PM, "jda" wrote: Hi Jon, FIXED Build will be tomorrow. We need yet run all our tests to see if I did not broken other things. Also Ivan work on another improvement, which should add stability of engine in case something bad happens. ----------- As I see this is old bug related to Left() function which you use in the Sort methods. Problem is that you will need for new build of your app do REINDEX of db. Because all sort methods have use 512 bytes per record, instead of e.g. 40-60. Yes, Jon, this fix also should reduce the size of your dbs. -------- So now, after reindex, I can do your operations, and all works perfectly. There is no even any assert in the engine code. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Tue Dec 27 06:44:49 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Mon Dec 26 23:45:49 2005 Subject: Size of application Message-ID: <55EE107B-A5E0-4C51-8146-43288E83B459@sailer-online.de> Hi, My Application build with RB 5.5 and V1.1 is 11.4MB then I made a lot of code-opimizations that application is much smaller 8.1MB now I use V4RB21.b15 and RB2006r1b4 Application now takes 8.9MB BUT this is PEF without V4RB2-Files After Using App Bundler I have now RB 2006r1b4 and V4RB2.1b15 26.7MB Do other users have same growing sizes? This is really hugh growing for no new functionality in my application!!! Is there any idea or possibility to make this smaller again? Are really all B4RB2 Files needed in an App Bundle? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Tue Dec 27 10:16:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 02:17:25 2005 Subject: Size of application In-Reply-To: <55EE107B-A5E0-4C51-8146-43288E83B459@sailer-online.de> Message-ID: On 12/27/05 7:44 AM, "Claudius Sailer" wrote: Hi Claudius, > My Application build with RB 5.5 and V1.1 is 11.4MB > > then I made a lot of code-opimizations that application is much > smaller 8.1MB > > now I use V4RB21.b15 and RB2006r1b4 > > Application now takes 8.9MB BUT this is PEF without V4RB2-Files > > After Using App Bundler I have now RB 2006r1b4 and V4RB2.1b15 26.7MB > > Do other users have same growing sizes? > > This is really hugh growing for no new functionality in my > application!!! Is there any idea or possibility to make this smaller > again? Are really all B4RB2 Files needed in an App Bundle? If you not use VServer you can remove Vclient dll, But it is only 600K. Also you can try remove VDK_PPC, if you do not use Convert_1_2(). It is 1.1 Mb. IBM say it is possible reduce ICU.dat file from 8MB to 3.5. I did not try self. 10MB are used by ICU now. P.S. I think today will be b16. prev week I have spent optimizing some things. few tests have start work faster in 1.5-3 times. especially VarChar field. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 27 14:42:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 06:43:57 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC Message-ID: Hi All, You can download fc1 of 2.1 version. * fixed a couple more bugs reported into Mantis. * speed optimization. I expect that all of you will see at least 20% speedup for general operations. Please let us know. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Tue Dec 27 08:35:19 2005 From: Ed at Kleban.com (Ed Kleban) Date: Tue Dec 27 08:36:26 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: Uh... I downloaded it. But the .dmg file has in two .pkg files and one .mpkg file but no documentation. I have no idea how to use these, what they will affect, where they will install, what they will uninstall, whether I'll be able to run both the new beta and the old version after I install, nor how to uninstall them if they screw up. But the icons look pretty :) On 12/27/05 6:42 AM, "Ruslan Zasukhin" wrote: > Hi All, > > You can download fc1 of 2.1 version. > > * fixed a couple more bugs reported into Mantis. > > * speed optimization. > > I expect that all of you will see at least 20% speedup for general > operations. > > Please let us know. > From Ed at Kleban.com Tue Dec 27 08:38:46 2005 From: Ed at Kleban.com (Ed Kleban) Date: Tue Dec 27 08:39:47 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 6:42 AM, "Ruslan Zasukhin" wrote: > Hi All, > > You can download fc1 of 2.1 version. > > * fixed a couple more bugs reported into Mantis. > > * speed optimization. > > I expect that all of you will see at least 20% speedup for general > operations. > Cool. May one ask where this speedup comes from? > Please let us know. > From sunshine at public.kherson.ua Tue Dec 27 16:47:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 08:48:37 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 4:35 PM, "Ed Kleban" wrote: > Uh... I downloaded it. But the .dmg file has in two .pkg files and one > .mpkg file but no documentation. I have no idea how to use these, what they > will affect, where they will install, what they will uninstall, whether I'll > be able to run both the new beta and the old version after I install, nor > how to uninstall them if they screw up. > > But the icons look pretty :) I do not understand, something not works ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 27 16:52:46 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 08:53:43 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 4:38 PM, "Ed Kleban" wrote: Hi Ed, >> I expect that all of you will see at least 20% speedup for general >> operations. >> > Cool. May one ask where this speedup comes from? I have spent few days in profiler, and optimize some issues. * one in cache, this should affect everybody. * other in V4RB plugin itself. String conversions now faster. * something else. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Tue Dec 27 09:54:20 2005 From: jda at his.com (jda) Date: Tue Dec 27 08:55:30 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: References: Message-ID: >On 12/27/05 4:35 PM, "Ed Kleban" wrote: > >> Uh... I downloaded it. But the .dmg file has in two .pkg files and one >> .mpkg file but no documentation. I have no idea how to use these, what they >> will affect, where they will install, what they will uninstall, whether I'll >> be able to run both the new beta and the old version after I install, nor >> how to uninstall them if they screw up. >> >> But the icons look pretty :) > >I do not understand, something not works ? > Hi, I didn't see anything odd, and it installed for me. BTW, it *does* seem faster. Filling a 5 column, 4400 row listbox is noticably faster. Which tells me that, to my surprise, retrieving fields from the cursor was rate-limiting. Jon From Ed at Kleban.com Tue Dec 27 08:55:46 2005 From: Ed at Kleban.com (Ed Kleban) Date: Tue Dec 27 08:56:48 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: There is documentation. There is no README file There is no Release Notes there are only 3 files: V4RB_2_plugin.pkg V4RB_2.mpkg Vcomponents.pkg Without instructions I do not know what will happen when I try and open these 3 files. I do not know what they will overwrite. I do not know if they will mess up my current install. I do not know how or if I can uninstall. I am used to seeing documentation any beta or standard distribution that tells me how to use what I have downloaded and what the effects, dangers, and workarounds are. Without a README or other documentation that tells me this, I have to go searching for this information other ways. Like posting messages here. On 12/27/05 8:47 AM, "Ruslan Zasukhin" wrote: > On 12/27/05 4:35 PM, "Ed Kleban" wrote: > >> Uh... I downloaded it. But the .dmg file has in two .pkg files and one >> .mpkg file but no documentation. I have no idea how to use these, what they >> will affect, where they will install, what they will uninstall, whether I'll >> be able to run both the new beta and the old version after I install, nor >> how to uninstall them if they screw up. >> >> But the icons look pretty :) > > I do not understand, something not works ? > From Ed at Kleban.com Tue Dec 27 09:20:49 2005 From: Ed at Kleban.com (Ed Kleban) Date: Tue Dec 27 09:21:51 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: I did find the readme shown by the installer when I did the install on V4RB_2.mpkg I guess my feedback on the beta comes down to: "I recommend prior to final release that you place a README file in the .dmg so that users understand how to upgrade, what will be affected, and how to revert to an older version." Thanks --Ed On 12/27/05 8:55 AM, "Ed Kleban" wrote: > There is documentation. > > There is no README file > There is no Release Notes > > there are only 3 files: > V4RB_2_plugin.pkg > V4RB_2.mpkg > Vcomponents.pkg > > Without instructions I do not know what will happen when I try and open > these 3 files. > > I do not know what they will overwrite. > > I do not know if they will mess up my current install. > > I do not know how or if I can uninstall. > > I am used to seeing documentation any beta or standard distribution that > tells me how to use what I have downloaded and what the effects, dangers, > and workarounds are. > > Without a README or other documentation that tells me this, I have to go > searching for this information other ways. Like posting messages here. > > > > > On 12/27/05 8:47 AM, "Ruslan Zasukhin" wrote: > >> On 12/27/05 4:35 PM, "Ed Kleban" wrote: >> >>> Uh... I downloaded it. But the .dmg file has in two .pkg files and one >>> .mpkg file but no documentation. I have no idea how to use these, what they >>> will affect, where they will install, what they will uninstall, whether I'll >>> be able to run both the new beta and the old version after I install, nor >>> how to uninstall them if they screw up. >>> >>> But the icons look pretty :) >> >> I do not understand, something not works ? >> > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Tue Dec 27 17:27:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 09:28:15 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 5:20 PM, "Ed Kleban" wrote: > I did find the readme shown by the installer when I did the install on > V4RB_2.mpkg > > I guess my feedback on the beta comes down to: > > "I recommend prior to final release that you place a README file in the .dmg > so that users understand how to upgrade, what will be affected, and how to > revert to an older version." Ok Ed. Btw, I have finish read your letter. Yes I see what feature you want. Yes it have sense. Yes we will try make it next month. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Tue Dec 27 09:47:31 2005 From: Ed at Kleban.com (Ed Kleban) Date: Tue Dec 27 09:48:34 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: After changing all calls to "FindSingle" to instead now call "FindSingleValue", my code compiles and appears to run fine. I will not have any feedback for you on performance because my datasets are still so small. Are there any release notes describing changes such as "FindSingle" to "FindSingleValue"? ==== I also offer the following concern: The only way to distinguish or keep track of the multiple V2 downloads is to check version number of the V4RB file of the installed result. There is no version number on the .dmg file that is downloaded. There is no version number on the V4RB folder created by the installer. There is no visible version number on a README or Release Notes or any other file in either the .dmg file or in the V4RB folder created by the installer. ==== Also: I note that the V4RB_2_Plugin.pkg and V4RB_2.mpkg both installed into a new folder created under the root folder of my selected drive. I do not know of any software I've installed that has done that since the old days of MacOS 9. The vast majority of MacOS X software installs either in your System Applications folder (requiring a password prompt) or your User Application folder -- typically after asking "Do you want to install for all users on this machine". The other main install approach of course is to simply provide folder in the .dmg file that you are instructed to simply drag to your Applications folder. You might want to consider one of these more standard approaches. So far, so good! Thanks! --Ed From Ed at Kleban.com Tue Dec 27 09:49:12 2005 From: Ed at Kleban.com (Ed Kleban) Date: Tue Dec 27 09:50:13 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 9:27 AM, "Ruslan Zasukhin" wrote: > On 12/27/05 5:20 PM, "Ed Kleban" wrote: > >> I did find the readme shown by the installer when I did the install on >> V4RB_2.mpkg >> >> I guess my feedback on the beta comes down to: >> >> "I recommend prior to final release that you place a README file in the .dmg >> so that users understand how to upgrade, what will be affected, and how to >> revert to an older version." > > Ok Ed. > > Btw, I have finish read your letter. Great! Uh... which letter? > Yes I see what feature you want. Super! Uh, ... which feature? > Yes it have sense. Yes we will try make it next month. > Fantastic. Probably first time I made sense all month. Thanks! --Ed From sunshine at public.kherson.ua Tue Dec 27 18:07:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 10:08:54 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 5:49 PM, "Ed Kleban" wrote: >> Btw, I have finish read your letter. > > Great! Uh... which letter? > >> Yes I see what feature you want. > > Super! Uh, ... which feature? > >> Yes it have sense. Yes we will try make it next month. >> > > Fantastic. Probably first time I made sense all month. :-) About ordered sets, VObjectPtr.Lookup(), ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 27 18:09:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 10:10:17 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 5:47 PM, "Ed Kleban" wrote: > After changing all calls to "FindSingle" to instead now call > "FindSingleValue", my code compiles and appears to run fine. I will not > have any feedback for you on performance because my datasets are still so > small. > > Are there any release notes describing changes such as "FindSingle" to > "FindSingleValue"? This usually go into Mantis You can choose project V4RB and link "Change Log". -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 27 18:12:37 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 10:13:35 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 5:47 PM, "Ed Kleban" wrote: > ==== > > Also: > > I note that the V4RB_2_Plugin.pkg and V4RB_2.mpkg both installed into a new > folder created under the root folder of my selected drive. I do not know of > any software I've installed that has done that since the old days of MacOS > 9. The vast majority of MacOS X software installs either in your System > Applications folder (requiring a password prompt) or your User Application > folder -- typically after asking "Do you want to install for all users on > this machine". The other main install approach of course is to simply > provide folder in the .dmg file that you are instructed to simply drag to > your Applications folder. > > You might want to consider one of these more standard approaches. Something wrong Ed. .pkg files are NOT installed anywhere ! You need get on your computer RB/plugins/V4RB_2 /Library/CFMSupport/VComponents Nothing more -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Tue Dec 27 10:21:16 2005 From: Ed at Kleban.com (Ed Kleban) Date: Tue Dec 27 10:22:22 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 10:07 AM, "Ruslan Zasukhin" wrote: > On 12/27/05 5:49 PM, "Ed Kleban" wrote: > >>> Btw, I have finish read your letter. >> >> Great! Uh... which letter? >> >>> Yes I see what feature you want. >> >> Super! Uh, ... which feature? >> >>> Yes it have sense. Yes we will try make it next month. >>> >> >> Fantastic. Probably first time I made sense all month. > > :-) > > About ordered sets, VObjectPtr.Lookup(), ... > Ah! Cool. Good news. So have you fully bought in to defining VSets as OrderedSets rather than UnorderedSets for definition and implementation purposes, even if we don't make a big deal about that in the documentation so we don't confuse users who don't care? You still want or need me to make specific method proposals? From Ed at Kleban.com Tue Dec 27 10:25:58 2005 From: Ed at Kleban.com (Ed Kleban) Date: Tue Dec 27 10:27:05 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 10:09 AM, "Ruslan Zasukhin" wrote: > On 12/27/05 5:47 PM, "Ed Kleban" wrote: > >> After changing all calls to "FindSingle" to instead now call >> "FindSingleValue", my code compiles and appears to run fine. I will not >> have any feedback for you on performance because my datasets are still so >> small. >> >> Are there any release notes describing changes such as "FindSingle" to >> "FindSingleValue"? > > This usually go into Mantis > > You can choose project V4RB and link "Change Log". Ah, ok found it. I do not see the "FindSingle" -> "FindSingleValue" change listed on Mantis, so you may want to add that. It would be good to see Change Log distributed with new versions, IMNSHO. Thanks! --Ed From sunshine at public.kherson.ua Tue Dec 27 18:30:54 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 10:32:06 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 6:21 PM, "Ed Kleban" wrote: >> About ordered sets, VObjectPtr.Lookup(), ... >> > > Ah! Cool. Good news. So have you fully bought in to defining VSets as > OrderedSets rather than UnorderedSets for definition and implementation > purposes, even if we don't make a big deal about that in the documentation > so we don't confuse users who don't care? > > You still want or need me to make specific method proposals? No need. I see what you want and how. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 27 18:33:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 10:34:09 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 6:25 PM, "Ed Kleban" wrote: >> This usually go into Mantis >> >> You can choose project V4RB and link "Change Log". > > Ah, ok found it. > > I do not see the "FindSingle" -> "FindSingleValue" change listed on Mantis, > so you may want to add that. done > It would be good to see Change Log distributed with new versions, IMNSHO. :-) right -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Tue Dec 27 10:40:28 2005 From: Ed at Kleban.com (Ed Kleban) Date: Tue Dec 27 10:41:37 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 10:12 AM, "Ruslan Zasukhin" wrote: > On 12/27/05 5:47 PM, "Ed Kleban" wrote: > >> ==== >> >> Also: >> >> I note that the V4RB_2_Plugin.pkg and V4RB_2.mpkg both installed into a new >> folder created under the root folder of my selected drive. I do not know of >> any software I've installed that has done that since the old days of MacOS >> 9. The vast majority of MacOS X software installs either in your System >> Applications folder (requiring a password prompt) or your User Application >> folder -- typically after asking "Do you want to install for all users on >> this machine". The other main install approach of course is to simply >> provide folder in the .dmg file that you are instructed to simply drag to >> your Applications folder. >> >> You might want to consider one of these more standard approaches. > > Something wrong Ed. Probably my wording. I understand that the .pkg files are not installed (i.e. placed) anywhere. But when the user runs these files (these installers) they place the files you list below on the user's disk. My comment above is referring to these files that are placed on the disk. Modern applications in MacOS X do not place these files into the Root folder of the selected drive. They either place the files in a special place where they belong, which I believe is the case for your VComponents folder. Or they place them in the Applications folder. > .pkg files are NOT installed anywhere ! > > You need get on your computer > > RB/plugins/V4RB_2 Ah! Well there are several problems with this: 1) Where does the installer expect to find my RB folder and what name does it expect it to have? I don't keep it in my Applications folder. 2) Which of the half dozen versions of RB that I have unzipped at any given time does the installer want to put this plugin into? 3) I don't have a plugins folder. I have plugin alias that I direct to one of several common plugin folder sets. 4) For all of the above reasons, I don't want the installer to try and put V4RB or anything else in my plugins folder. I want to manage my own plugins folder. I am not aware of any other plugin vendor who does anything other than provide you with the plugin file which you then have to manually move yourself. 5) There are also all of the example files. I CERTAINLY don't want those in my plugins folder. I believe that having a V4RB folder under Applications would be a fine place for those to live. > /Library/CFMSupport/VComponents > > Nothing more > I believe the better approach here would be to either: 1a) Create a "V4RB v2.1 fc1" folder in the Applications Folder, or underneath a "V4RB" folder in the applications folder, and place the examples and plugin into there, instead of in a V4RB folder it creates under the root folder of my drive, or 1b) Prompt me for where I want it to put the "V4RB v2.1 fc1" folder that it creates. And then: 2) Include in that folder a "README" file that tells me how/where to copy the V4RB plugin file so I can use it, along with a "Release Notes" file that includes the change log. I actually think REAL Software does an amazingly good job of managing their beta and regular distributions in this manner. From sunshine at public.kherson.ua Tue Dec 27 18:50:17 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 10:51:15 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 6:40 PM, "Ed Kleban" wrote: > I believe the better approach here would be to either: > > 1a) Create a "V4RB v2.1 fc1" folder in the Applications Folder, or > underneath a "V4RB" folder in the applications folder, and place the > examples and plugin into there, instead of in a V4RB folder it creates under > the root folder of my drive, or This is all cool, but Apple PackageMaker do not allow do easy such things. At least I have not found how. I dream that Mac OS do have such installer as Windows have: "Inno Setup Compiler" Inno Setup is quite simple for use, and powerful. Good news are that PackageMaker is constantly improved by Apple. But its main idea -- that you need prepare hierarchy on own computer as it will be on user computer is not comfortable. This add at least one step. Inno Setup in contrast is able take files in their working locations, and build installer. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lists at mangomultimedia.com Tue Dec 27 09:30:36 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Dec 27 11:31:25 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: References: Message-ID: On Dec 27, 2005, at 8:50 AM, Ruslan Zasukhin wrote: > > This is all cool, but Apple PackageMaker do not allow do easy such > things. > At least I have not found how. > > I dream that Mac OS do have such installer as Windows have: > "Inno Setup Compiler" > > Inno Setup is quite simple for use, and powerful. > > Good news are that PackageMaker is constantly improved by Apple. > But its main idea -- that you need prepare hierarchy on own > computer as it > will be on user computer is not comfortable. This add at least one > step. > > Inno Setup in contrast is able take files in their working > locations, and > build installer. Ruslan, Have you tried FileStorm Pro by MindVision? I haven't found anything on OS X that compares to Inno Setup but this will at least let you create installers that don't require you to setup the hierarchy on your computer. FileStorm is still a little rough around the edges but I imagine it would work well for the Valentina installer. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From sunshine at public.kherson.ua Tue Dec 27 19:52:43 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 11:53:42 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 6:40 PM, "Ed Kleban" wrote: > 1) Where does the installer expect to find my RB folder and what name does > it expect it to have? I don't keep it in my Applications folder. I believe installer have button CHOOSE -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 27 19:57:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 11:58:52 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 7:30 PM, "Trevor DeVore" wrote: >> This is all cool, but Apple PackageMaker do not allow do easy such >> things. >> At least I have not found how. >> >> I dream that Mac OS do have such installer as Windows have: >> "Inno Setup Compiler" >> >> Inno Setup is quite simple for use, and powerful. >> >> Good news are that PackageMaker is constantly improved by Apple. >> But its main idea -- that you need prepare hierarchy on own >> computer as it >> will be on user computer is not comfortable. This add at least one >> step. >> >> Inno Setup in contrast is able take files in their working >> locations, and >> build installer. > > Ruslan, > > Have you tried FileStorm Pro by MindVision? I haven't found anything > on OS X that compares to Inno Setup but this will at least let you > create installers that don't require you to setup the hierarchy on > your computer. FileStorm is still a little rough around the edges > but I imagine it would work well for the Valentina installer. Yes we use FileStorm, but it ONLY create disk image. I have start use it when have found that any other tool/way do not give me control where picture and folders are located. But FileStorm do not build packages, right? So I use now 3 steps to produce build: 1) I use my RB-made internal app with simple GUI which allow me easy choose files/folder to praapre roots. 2) then PackageMaker build packages 3) then FileStorm builds disk image. Comparing to ONE CLICK in InnoSetup to get installer this is not nice. Also pain on MACOS is that InnoSetup produce 2 times less archives!!! V4MD or V4RB WIN is only 4.5MB archive But on MACOS archives are 8-9 MB. Because Apple use ZIP compression I think, and Innosetup use probably RAR. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Tue Dec 27 19:03:44 2005 From: maxprog at mac.com (Stan Busk) Date: Tue Dec 27 12:04:47 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: References: Message-ID: FileStorm Pro can build installers as well, inside the disk image. Actually you can directly create a disk image with as many installers as you wish. ~/Stan > Yes we use FileStorm, but it ONLY create disk image. > > I have start use it when have found that any other tool/way > do not give me control where picture and folders are located. > > But FileStorm do not build packages, right? From sunshine at public.kherson.ua Tue Dec 27 20:22:48 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 12:23:47 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: Message-ID: On 12/27/05 8:03 PM, "Stan Busk" wrote: Yes it have Add Installer, I have read that option, but on some reason refuse to use it and choose Apple PackageMaker. Cannot remember why. May be I need check it again. I have see that Apple soft use incredible complex *nix-style scripts, I am dummy to use such things :-) > FileStorm Pro can build installers as well, inside the disk image. > Actually you can directly create a disk image with as many installers > as you wish. > > ~/Stan > >> Yes we use FileStorm, but it ONLY create disk image. >> >> I have start use it when have found that any other tool/way >> do not give me control where picture and folders are located. >> >> But FileStorm do not build packages, right? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 27 20:30:05 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 12:31:05 2005 Subject: Stan, Claudius, your feedback on fc1 ? Message-ID: Hi Stan, I want to ask you test fc1 on your side. You have told that you can easy corrupt indexes or db if simulate crash for app, yes? We have develop test project and Ivan have spend many hours playing with this project on table with 10 TEXT fields + TEXT methods all indexed. He have interrupt application many times, and he say (it seems) any time to get corruption. We going continue grow this stress-test project. -------- So please check if you can get corruption in such way ? If yes then teach us how to. Okay ? If yes, then may be send us compiled our app, we can then play also and check your dbs. Actually this question can be directed to all. We have come to stage when we can optimize engine on speed and improve its stability. Please help us find HOW TO reproduce any problems. ----- Claudius, also I wonder, if fc1 give any speedup for your project ? But since you use heavy SQL, main speedup here yet in forward. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Tue Dec 27 20:41:57 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Dec 27 13:43:00 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: Hi Ruslan, Am 27. Dez 2005 um 19:30 Uhr schrieb Ruslan Zasukhin: > Claudius, also I wonder, if fc1 give any speedup for your project ? > > But since you use heavy SQL, main speedup here yet in forward. with my 2nd TestApplication I send to you I get following results V4RB1.10 RB 5.5 1,61sec 1,86sec 1,90sec 1,90sec 1,61sec V4RB2.1fc1 RB2006r1b4 2,21sec 2,28sec 2,00sec 1,96sec 1,96sec TestApplication 2 always changing "AktuellesKonto" V4RB1.10 SQLString="SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KZ" SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" SQLString=SQLString+ " AND B.Ziel_Konto=KZ.RecID" SQLString=SQLString+ " AND B.Deleted='0'" SQLString=SQLString+ " AND B.Herk_Konto='"+cstr(AktuellesKonto)+"'" cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, Kategorie, Ausgabe, Kommentar, Blocked) " cmd=cmd + SQLString count=meineDatenbank.SQLExecute(cmd) //Einnahmen SQLString="SELECT B.RecID, B.BDatum, KO.Konto_Name, K.Kategorie_Name, B.Betrag, B.Kommentar, B.Blocked" SQLString=SQLString+" FROM Buchungen B, Kategorien K, Konten KO" SQLString=SQLString+" WHERE B.Kategorie_ID=K.RecID" SQLString=SQLString+ " AND B.Herk_Konto=KO.RecID" SQLString=SQLString+ " AND B.Deleted='0'" SQLString=SQLString+ " AND B.Ziel_Konto='"+cstr(AktuellesKonto)+"'" cmd= "INSERT INTO Anzeige (Buchungs_ID, BDatum, Gegenkonto, Kategorie, Einnahme, Kommentar, Blocked) " cmd=cmd + SQLString count=meineDatenbank.SQLExecute(cmd) meineDatenbank.Tanzeige.flush FIRSTPART FINISHED SQLString="SELECT RecID, * FROM Anzeige ORDER BY BDatum, Gegenkonto, Kategorie" CurBuchungen=meineDatenbank.SQLselect(SQLString, kV_Server, kV_NoLocks, kV_Random) Ende=CurBuchungen.RecordCount SECONDPART FINISHED Filling ListBox THIRDPART FINISHED Results in sec FIRSTPART / SECOND PART / THIRDPART 0,78 / 0,03 / 1,43 0,70 / 0,05 / 1,31 0,81 / 0,05 / 1,40 0,73 / 0,06 / 1,30 0,71 / 0,05 / 1,23 V4RB2.1fc1 SQLString=SQLBuilder(33,false,cstr(AktuellesKonto)) FIRSTPART FINISHED CurBuchungen=V4RBSQLSelect(meineDatenbank,SQLString) Ende=CurBuchungen.RecordCount SECONDPART FINISHED Filling ListBox THIRDPART FINISHED Results in sec FIRSTPART / SECONDPART / THIRDPART 0,000 / 1,30 / 1,43 0,016 / 1,11 / 1,56 0,030 / 1,05 / 1,38 0,016 / 1,53 / 1,08 0,030 / 1,06 / 1,06 SQL-Coding for SQLString. I am using UNION because other possiblitiy is actually not supported with V4RB2 Call #811 SQLStringBuild="SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, B.Betrag, null, B.Kommentar, B.Blocked" SQLStringBuild=SQLStringBuild + " FROM Buchungen B, Kategorien K, Konten KZ" SQLStringBuild=SQLStringBuild + " WHERE B.Kategorie_ID=K.RecID" SQLStringBuild=SQLStringBuild + " AND (B.Ziel_Konto=KZ.RecID AND B.Herk_Konto='"+CheckString+"') AND B.Deleted='0'" SQLStringBuild=SQLStringBuild + " UNION" SQLStringBuild=SQLStringBuild + " SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, null, B.Betrag, B.Kommentar, B.Blocked" SQLStringBuild=SQLStringBuild + " FROM Buchungen B, Kategorien K, Konten KZ" SQLStringBuild=SQLStringBuild + " WHERE B.Kategorie_ID=K.RecID" SQLStringBuild=SQLStringBuild + " AND (B.Herk_Konto=KZ.RecID AND B.Ziel_Konto='"+CheckString+"') AND B.Deleted='0'" SQLStringBuild=SQLStringBuild + " ORDER BY B.BDatum, KZ.Konto_Name, K.Kategorie_Name" My Result testapplication 2 is close to V4RB1.10. Really good because at the beginning V4RB2.X was betwenn 2 and 3 times slower as V4RB1.10. TestApplication 1 is with THIRDPART now close and okay. But SECONDPART hurts me deeply with V4RB2.1fc1. When I say FIRSTPART and SECONDPART is a union V4RB1.10 is 10-40% faster than V4RB2.1fc1. V4RB2.1 is much faster as some versions before, but it would be nice when it would be faster than V4RB1.10. In this coding V4RB1.10 Solution has 2 SQLs which fills an other table from tables and SQL which reads from this table and generates a cursor. And this is faster then having 1 SQL which reads from tables and generates cursor. I would expect that second way should be much faster as solution 1 with V4RB1.10 bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From lists at mangomultimedia.com Tue Dec 27 13:25:34 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Dec 27 15:26:35 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: References: Message-ID: <37188C9F-5330-4C38-8288-DDD760B6F9DE@mangomultimedia.com> On Dec 27, 2005, at 9:57 AM, Ruslan Zasukhin wrote: > > Yes we use FileStorm, but it ONLY create disk image. You can create installers as well. You add files/folders into the installer and specify the path where you would like the items to be installed. It can also run scripts as well if you need to set permissions on files, etc. > I have start use it when have found that any other tool/way > do not give me control where picture and folders are located. > > But FileStorm do not build packages, right? > > So I use now 3 steps to produce build: > > 1) I use my RB-made internal app with simple GUI which allow me easy > choose files/folder to praapre roots. > > 2) then PackageMaker build packages > > 3) then FileStorm builds disk image. With FileStorm, you could setup your FileStorm project with an installer. Whenever the files change and you need to build an installer just open the FileStorm project and build it. It will produce a Disk Image that has the installer. This should simplify things for you a bit. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From sunshine at public.kherson.ua Tue Dec 27 23:45:40 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 15:46:40 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: <37188C9F-5330-4C38-8288-DDD760B6F9DE@mangomultimedia.com> Message-ID: On 12/27/05 11:25 PM, "Trevor DeVore" wrote: Hi Trevor, >> Yes we use FileStorm, but it ONLY create disk image. > > You can create installers as well. You add files/folders into the > installer and specify the path where you would like the items to be > installed. It can also run scripts as well if you need to set > permissions on files, etc. Ok, but is it allow specify me the whole folder with file filter? as copy V4RB/Examples/*.rb copy V4RB/Examples/*.jpg We need copy a lots of files into archives, and if it require from me specify each file separately this is not a way. Besides it must go RECURSIVE into folder "Examples" I see in docs only Action: "Copy file" -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Tue Dec 27 23:53:51 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 15:54:51 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: Message-ID: On 12/27/05 9:41 PM, "Claudius Sailer" wrote: > V4RB1.10 > Results in sec FIRSTPART / SECOND PART / THIRDPART > > 0,78 / 0,03 / 1,43 > 0,70 / 0,05 / 1,31 > 0,81 / 0,05 / 1,40 > 0,73 / 0,06 / 1,30 > 0,71 / 0,05 / 1,23 > > > V4RB2.1fc1 > Results in sec FIRSTPART / SECONDPART / THIRDPART > > 0,000 / 1,30 / 1,43 > 0,016 / 1,11 / 1,56 > 0,030 / 1,05 / 1,38 > 0,016 / 1,53 / 1,08 > 0,030 / 1,06 / 1,06 Claudius, Do I read this correctly: * first column -- V2 wins. And Hmm, it wins A LOTS ? 0,700 / 0.016 = 43 times faster ? 0,810 / 0.030 = 27 times faster ? * second column -- V2 is slower of V1 about 40 times. * third column -- speed comparable.. So we need check your UNION query to see what we can speedup... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Dec 28 00:00:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 16:01:56 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: Message-ID: On 12/27/05 9:41 PM, "Claudius Sailer" wrote: > Solution has 2 SQLs which fills an other table from tables and SQL > which reads from this table and generates a cursor. And this is > faster then having 1 SQL which reads from tables and generates > cursor. I would expect that second way should be much faster as > solution 1 with V4RB1.10 You know, this depends. So in 1.x you have self did first query and COPY its result into tmp table, Then do second query and APPEND its result ? Deal is that UNION in v2 follow SQL92, and should do something more complex than just APPEND of second result. If I not mistake, we need sort both results, to exclude from final result duplicates. Am I right, Ivan ? --- Well, may be you can just go with your logic from 1.x if it works for your task correctly. And Claudius, you can speedup a lots this logic using RAM table for TMP table result. What you think ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Tue Dec 27 17:01:45 2005 From: jda at his.com (jda) Date: Tue Dec 27 16:02:47 2005 Subject: Slow NOT searches In-Reply-To: References: Message-ID: Hi Ruslan, Since you're looking for things to optimize, please take a look at a report I filed a long time ago: 0000546: NOT searches are VERY slow Jon From sunshine at public.kherson.ua Wed Dec 28 00:07:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Tue Dec 27 16:08:45 2005 Subject: Slow NOT searches In-Reply-To: Message-ID: On 12/28/05 12:01 AM, "jda" wrote: > Hi Ruslan, > > Since you're looking for things to optimize, please take a look at a > report I filed a long time ago: > > 0000546: NOT searches are VERY slow Hi Jon, Yes we remember this report. Few days ago we have discuss it with Sergey. I think this one will not be fixed in 2.1, but in Jan we will try to resolve it. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From IvanSmahin at public.kherson.ua Wed Dec 28 00:12:06 2005 From: IvanSmahin at public.kherson.ua (Ivan Smahin) Date: Tue Dec 27 16:13:04 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: <1517780669.20051228001206@public.kherson.ua> Hello Ruslan, Wednesday, December 28, 2005, 12:00:57 AM, you wrote: RZ> On 12/27/05 9:41 PM, "Claudius Sailer" RZ> wrote: >> Solution has 2 SQLs which fills an other table from tables and SQL >> which reads from this table and generates a cursor. And this is >> faster then having 1 SQL which reads from tables and generates >> cursor. I would expect that second way should be much faster as >> solution 1 with V4RB1.10 RZ> You know, this depends. RZ> So in 1.x you have self did first query and COPY its result into tmp table, RZ> Then do second query and APPEND its result ? RZ> Deal is that UNION in v2 follow SQL92, and should do something more complex RZ> than just APPEND of second result. RZ> If I not mistake, we need sort both results, to exclude from final result RZ> duplicates. RZ> Am I right, Ivan ? Yes, it is true for simple UNION, INTERSECT, DIFFERENCE. But note - if you don't need result without duplicates you can use UNION ALL and so on... Here is no sorting/distinct overhead. -- Best regards, Ivan mailto:IvanSmahin@public.kherson.ua From lists at mangomultimedia.com Tue Dec 27 14:13:12 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue Dec 27 16:39:25 2005 Subject: [ANN] V4RB and V4MD 2.1 fc1 for MAC In-Reply-To: References: Message-ID: <22CDB3D7-00A5-4247-A0A8-B954AA602E88@mangomultimedia.com> On Dec 27, 2005, at 1:45 PM, Ruslan Zasukhin wrote: > > Ok, but is it allow specify me the whole folder with file filter? > as > > copy V4RB/Examples/*.rb > copy V4RB/Examples/*.jpg > > We need copy a lots of files into archives, and if it require from me > specify each file separately this is not a way. > > Besides it must go RECURSIVE into folder "Examples" > > I see in docs only Action: "Copy file" A FileStorm installer will let add a folder to an installer. It will then install that folder and files/folders contained in it. -- Trevor DeVore Blue Mango Multimedia trevor@mangomultimedia.com From macsforever2000 at goodeast.com Tue Dec 27 15:51:11 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Tue Dec 27 16:52:16 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: Hi all, FYI, I have a quick speedup report. I have a project which I use to create a database from many text files. It uses many of the features of Valentina 2 to manipulate the data and form links. It used to take 4 minutes and now it takes about 3 minutes and 19 seconds. So it is ~20% faster. Final DB size is 35 MB with ~33 000 records in 69 tables. Best regards, Frank Schima I'm currently job hunting: From Claudius at sailer-online.de Wed Dec 28 06:09:27 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Tue Dec 27 23:10:31 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: <61582A35-74AC-41D1-9F11-D06FEABF6317@sailer-online.de> Hi Ruslan, Am 27. Dez 2005 um 22:53 Uhr schrieb Ruslan Zasukhin: > On 12/27/05 9:41 PM, "Claudius Sailer" > wrote: > >> V4RB1.10 > >> Results in sec FIRSTPART / SECOND PART / THIRDPART >> >> 0,78 / 0,03 / 1,43 >> 0,70 / 0,05 / 1,31 >> 0,81 / 0,05 / 1,40 >> 0,73 / 0,06 / 1,30 >> 0,71 / 0,05 / 1,23 >> >> >> V4RB2.1fc1 > >> Results in sec FIRSTPART / SECONDPART / THIRDPART >> >> 0,000 / 1,30 / 1,43 >> 0,016 / 1,11 / 1,56 >> 0,030 / 1,05 / 1,38 >> 0,016 / 1,53 / 1,08 >> 0,030 / 1,06 / 1,06 > > Claudius, > > Do I read this correctly: > > * first column -- V2 wins. And Hmm, it wins A LOTS ? > > 0,700 / 0.016 = 43 times faster ? > 0,810 / 0.030 = 27 times faster ? you can't compare FIRSTPART V4RB1.10 with V4RB2.1 > * second column -- V2 is slower of V1 about 40 times. > > * third column -- speed comparable.. > > So we need check your UNION query to see what we can speedup... HISTORY: I had same coding as I used in V4RB1.10 and I saw that V4RB2.X was 2-3 times slower. But I knew V4RB2.X is much much more better in SQL as V4RB1.10. So I used following SQL but (V4RB2 Call #811) it isn't supported yet. SQLStringBuild="SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name," SQLStringBuild=SQLStringBuild + " CASE WHEN B.Ziel_Konto=KZ.RecID THEN B.Betrag ELSE null END," SQLStringBuild=SQLStringBuild + " CASE WHEN B.Herk_Konto=KZ.RecID THEN B.Betrag ELSE null END," SQLStringBuild=SQLStringBuild + " B.Kommentar, B.Blocked" SQLStringBuild=SQLStringBuild + " FROM Buchungen B, Kategorien K, Konten KZ" SQLStringBuild=SQLStringBuild + " WHERE B.Kategorie_ID=K.RecID" SQLStringBuild=SQLStringBuild + " AND ((B.Ziel_Konto=KZ.RecID AND B.Herk_Konto='"+CheckString+"')" SQLStringBuild=SQLStringBuild + " OR (B.Herk_Konto=KZ.RecID AND B.Ziel_Konto='"+CheckString+"'))" SQLStringBuild=SQLStringBuild + " AND B.Deleted='0'" SQLStringBuild=SQLStringBuild + " ORDER BY B.BDatum, KZ.Konto_Name, K.Kategorie_Name" So I changed to UNION. SQLStringBuild="SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, B.Betrag, null, B.Kommentar, B.Blocked" SQLStringBuild=SQLStringBuild + " FROM Buchungen B, Kategorien K, Konten KZ" SQLStringBuild=SQLStringBuild + " WHERE B.Kategorie_ID=K.RecID" SQLStringBuild=SQLStringBuild + " AND (B.Ziel_Konto=KZ.RecID AND B.Herk_Konto='"+CheckString+"') AND B.Deleted='0'" SQLStringBuild=SQLStringBuild + " UNION" SQLStringBuild=SQLStringBuild + " SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, null, B.Betrag, B.Kommentar, B.Blocked" SQLStringBuild=SQLStringBuild + " FROM Buchungen B, Kategorien K, Konten KZ" SQLStringBuild=SQLStringBuild + " WHERE B.Kategorie_ID=K.RecID" SQLStringBuild=SQLStringBuild + " AND (B.Herk_Konto=KZ.RecID AND B.Ziel_Konto='"+CheckString+"') AND B.Deleted='0'" SQLStringBuild=SQLStringBuild + " ORDER BY B.BDatum, KZ.Konto_Name, K.Kategorie_Name" when you now say that UNION is much much slower than filling other table with 2 SQL-Statements and reading from this table I will check. Or do you wants to tell me too that UNION ALL could be a Solution? At the moment I don't have experiences with RAM Table (temporary tables). I hope to find some examples in V4RB2 Installation... I know from sybase that temporary tables with 2 or more filling SQL- Selects are much much faster as one UNION, but my solution wasn't UNION it was other SQL with Call #811. What would be your idea for the best coding? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Wed Dec 28 11:00:26 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 03:01:29 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: <61582A35-74AC-41D1-9F11-D06FEABF6317@sailer-online.de> Message-ID: On 12/28/05 7:09 AM, "Claudius Sailer" wrote: > when you now say that UNION is much much slower than filling other > table with 2 SQL-Statements and reading from this table I will check. > Or do you wants to tell me too that UNION ALL could be a Solution? This can be a case. Please check. As I understand your app did logic of UNION ALL. In any case we will try check this type of query to see if and where problem exists -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Dec 28 11:02:18 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 03:03:22 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: <61582A35-74AC-41D1-9F11-D06FEABF6317@sailer-online.de> Message-ID: On 12/28/05 7:09 AM, "Claudius Sailer" wrote: > At the moment I don't have experiences with RAM Table (temporary > tables). I hope to find some examples in V4RB2 Installation... do you have in your 1.x code something as db.CreateTable( "tmpTable" ) ? To make RAM table you write simply: db.CreateTable( "tmpTable", EVStorageType.kRam ) > I know from sybase that temporary tables with 2 or more filling SQL- > Selects are much much faster as one UNION, but my solution wasn't > UNION it was other SQL with Call #811. So try kRAM way > What would be your idea for the best coding? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Dec 28 11:03:21 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 03:04:22 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: <61582A35-74AC-41D1-9F11-D06FEABF6317@sailer-online.de> Message-ID: On 12/28/05 7:09 AM, "Claudius Sailer" wrote: > I had same coding as I used in V4RB1.10 and I saw that V4RB2.X was > 2-3 times slower. But I knew V4RB2.X is much much more better in SQL > as V4RB1.10. So I used following SQL but (V4RB2 Call #811) it isn't > supported yet. #811 -- you mean bug report 811 ? -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Wed Dec 28 11:22:16 2005 From: maxprog at mac.com (Stan Busk) Date: Wed Dec 28 04:23:21 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: <68A2212C-0784-41B9-80A2-062C600C973A@mac.com> Hi, Cool, it looks like a VException no longer lets the database in a bad state, at least I can't reproduce the problem the same way as I did before. However I have a problem with 'SchemaVersion'. I launch myApp, it creates a new database, set SchemaVersion to 102, later it crashes because of a problem I have created (RB problem, not Valentina). When I relaunch the application, it starts to run all schema updates -- looking at SchemaVersion value I find out it is 0 so it looks like the crash has prevented Valentina to save SchemaVersion to disk. Is this possible? It is fully reproducible, I never get 102, always 0. Stan > -------- > So please check if you can get corruption in such way ? > If yes then teach us how to. Okay ? From maxprog at mac.com Wed Dec 28 11:27:00 2005 From: maxprog at mac.com (Stan Busk) Date: Wed Dec 28 04:28:04 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: <68A2212C-0784-41B9-80A2-062C600C973A@mac.com> References: <68A2212C-0784-41B9-80A2-062C600C973A@mac.com> Message-ID: <633E2508-494B-4DDF-A807-3E493FA0DD31@mac.com> Sorry, SchemaVersion is equal to 1, not 0. That is 1 rather than the value I set. > However I have a problem with 'SchemaVersion'. I launch myApp, it > creates a new database, set SchemaVersion to 102, later it crashes > because of a problem I have created (RB problem, not Valentina). > When I relaunch the application, it starts to run all schema > updates -- looking at SchemaVersion value I find out it is 0 so it > looks like the crash has prevented Valentina to save SchemaVersion > to disk. Is this possible? It is fully reproducible, I never get > 102, always 0. ~/Stan From sunshine at public.kherson.ua Wed Dec 28 14:41:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 06:42:11 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: <633E2508-494B-4DDF-A807-3E493FA0DD31@mac.com> Message-ID: On 12/28/05 12:27 PM, "Stan Busk" wrote: > Sorry, SchemaVersion is equal to 1, not 0. That is 1 rather than the > value I set. > >> However I have a problem with 'SchemaVersion'. I launch myApp, it >> creates a new database, set SchemaVersion to 102, later it crashes >> because of a problem I have created (RB problem, not Valentina). >> When I relaunch the application, it starts to run all schema >> updates -- looking at SchemaVersion value I find out it is 0 so it >> looks like the crash has prevented Valentina to save SchemaVersion >> to disk. Is this possible? It is fully reproducible, I never get >> 102, always 0. Okay, it sounds like db.SchemaVersion = x Have not flush its value. Ivan, please check this point. Must be easy. Just add Flush() in right place. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Dec 28 14:42:19 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 06:43:20 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: <68A2212C-0784-41B9-80A2-062C600C973A@mac.com> Message-ID: On 12/28/05 12:22 PM, "Stan Busk" wrote: > Hi, > > Cool, it looks like a VException no longer lets the database in a bad > state, at least I can't reproduce the problem the same way as I did > before. Hi Stan, Very good. In fc2 should be even more stable: Ivan have add protection code which recover state of cache pages in case some problems was during Add/Delete of record. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Dec 28 14:46:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 06:47:29 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: Message-ID: On 12/28/05 2:41 PM, "Ruslan Zasukhin" wrote: >> Sorry, SchemaVersion is equal to 1, not 0. That is 1 rather than the >> value I set. >> >>> However I have a problem with 'SchemaVersion'. I launch myApp, it >>> creates a new database, set SchemaVersion to 102, later it crashes >>> because of a problem I have created (RB problem, not Valentina). >>> When I relaunch the application, it starts to run all schema >>> updates -- looking at SchemaVersion value I find out it is 0 so it >>> looks like the crash has prevented Valentina to save SchemaVersion >>> to disk. Is this possible? It is fully reproducible, I never get >>> 102, always 0. > > Okay, it sounds like > > db.SchemaVersion = x > > Have not flush its value. > > Ivan, please check this point. Must be easy. Just add Flush() in right > place. I have to think. Do you call db.Flush() after db.SchemaVersion = x Deal is that engine do NOT flush self changes in structure such as tbl.CreateField() You need self flush that. We have made this to allow developer get the maximum speed when you change structure. But now you must self do Flush(). -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Wed Dec 28 14:01:51 2005 From: maxprog at mac.com (Stan Busk) Date: Wed Dec 28 07:03:17 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: Hi, It makes no differences: My code: MaxDatabase.SchemaVersion = 103 MaxDatabase.Flush() System.Log( System.LogLevelAlert, "SchemaVersion: " + str ( MaxDatabase.SchemaVersion ) ) System log shows: Dec 28 13:58:19 Stan-G5 MaxNews-X.debug[9923]: SchemaVersion: 103 I crash the app and relaunch, I get: Dec 28 13:58:33 Stan-G5 crashdump[9925]: MaxNews-X.debug crashed Dec 28 13:58:33 Stan-G5 crashdump[9925]: crash report written to: / Users/stan/Library/Logs/CrashReporter/MaxNews-X.debug.crash.log Dec 28 13:59:12 Stan-G5 MaxNews-X.debug[9927]: SchemaVersion: 1 As you can see, SchemaVersion is not 103. Stan > On 12/28/05 2:41 PM, "Ruslan Zasukhin" > wrote: > >>> Sorry, SchemaVersion is equal to 1, not 0. That is 1 rather than the >>> value I set. >>> >>>> However I have a problem with 'SchemaVersion'. I launch myApp, it >>>> creates a new database, set SchemaVersion to 102, later it crashes >>>> because of a problem I have created (RB problem, not Valentina). >>>> When I relaunch the application, it starts to run all schema >>>> updates -- looking at SchemaVersion value I find out it is 0 so it >>>> looks like the crash has prevented Valentina to save SchemaVersion >>>> to disk. Is this possible? It is fully reproducible, I never get >>>> 102, always 0. >> >> Okay, it sounds like >> >> db.SchemaVersion = x >> >> Have not flush its value. >> >> Ivan, please check this point. Must be easy. Just add Flush() in >> right >> place. > > I have to think. > > Do you call db.Flush() after > db.SchemaVersion = x > > > Deal is that engine do NOT flush self changes in structure such as > > tbl.CreateField() > > You need self flush that. > > We have made this to allow developer get the maximum speed when you > change > structure. But now you must self do Flush(). > > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Wed Dec 28 15:08:45 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 07:09:47 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: Message-ID: On 12/28/05 3:01 PM, "Stan Busk" wrote: > Hi, > > It makes no differences: > > My code: > > MaxDatabase.SchemaVersion = 103 > MaxDatabase.Flush() > System.Log( System.LogLevelAlert, "SchemaVersion: " + str > ( MaxDatabase.SchemaVersion ) ) > > System log shows: > > Dec 28 13:58:19 Stan-G5 MaxNews-X.debug[9923]: SchemaVersion: 103 > > I crash the app and relaunch, I get: > > Dec 28 13:58:33 Stan-G5 crashdump[9925]: MaxNews-X.debug crashed > Dec 28 13:58:33 Stan-G5 crashdump[9925]: crash report written to: / > Users/stan/Library/Logs/CrashReporter/MaxNews-X.debug.crash.log > Dec 28 13:59:12 Stan-G5 MaxNews-X.debug[9927]: SchemaVersion: 1 > > As you can see, SchemaVersion is not 103. Please add THIS TEXT into Mantis. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed Dec 28 09:30:44 2005 From: jda at his.com (jda) Date: Wed Dec 28 08:31:49 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: > > > As you can see, SchemaVersion is not 103. > >Please add THIS TEXT into Mantis. > Hi Ruslan, I think failure to update SchemaVersion at all (even without a crash) is what was causing the strange SQL query problem you had with my project a few days ago. It just happened to me, and it was because the SchemaVersion of the preferences file wasn't being updated. I'm inserting a prefsdb.flush now to see if that helps... Jon From kv at dialogdata.dk Wed Dec 28 15:36:04 2005 From: kv at dialogdata.dk (Kim Vinther) Date: Wed Dec 28 08:37:04 2005 Subject: VCOM Message-ID: <20051228143603.9BE60262877@pfepc.post.tele.dk> Hi, We have downloaded VCOM_21b14_win.exe for evaluation. But all samples fail with "ActiveX component can't create object". We are testing with VB6 and have checked your installation guide. PATH hat been set correctly and we had administrator rights when installing. Any ideas what we are doing wrong? When is at final release for 2.1 planed for .NET and COM? We can't see or download any 2.1 release on your site! best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20051228/83243d31/attachment.html From sunshine at public.kherson.ua Wed Dec 28 16:46:14 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 08:47:16 2005 Subject: VCOM In-Reply-To: <20051228143603.9BE60262877@pfepc.post.tele.dk> Message-ID: On 12/28/05 4:36 PM, "Kim Vinther" wrote: Hi Kim, > We have downloaded VCOM_21b14_win.exe for evaluation. But all samples fail > with ?ActiveX component can?t create object?. We are testing with VB6 and have > checked your installation guide. PATH hat been set correctly and we had > administrator rights when installing. > > Any ideas what we are doing wrong? When is at final release for 2.1 planed for > .NET and COM? We can?t see or download any 2.1 release on your site! 1) Have you register VCOM.dll using Regsrv32 ? we will add this into installer soon. For now you need self do this. 2) I think maximum a week have left for 2.1 release. VCOM, VNET and C++ now have complete set of examples. docs are done. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Dec 28 16:46:55 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 08:47:58 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: Message-ID: On 12/28/05 4:30 PM, "jda" wrote: >>> As you can see, SchemaVersion is not 103. >> >> Please add THIS TEXT into Mantis. >> > > Hi Ruslan, > > I think failure to update SchemaVersion at all (even without a crash) > is what was causing the strange SQL query problem you had with my > project a few days ago. It just happened to me, and it was because > the SchemaVersion of the preferences file wasn't being updated. I'm > inserting a prefsdb.flush now to see if that helps... Ok, but Stan says not helps. So Ivan will try reproduce this. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From kv at dialogdata.dk Wed Dec 28 15:54:42 2005 From: kv at dialogdata.dk (Kim Vinther) Date: Wed Dec 28 08:55:42 2005 Subject: SV: VCOM In-Reply-To: Message-ID: <20051228145441.9C6825EE035@pfepb.post.tele.dk> Thanks, Not it is working. Looking forward to your final release. best regards DIALOG DATA A/S Kim Vinther -----Oprindelig meddelelse----- Fra: valentina-beta-bounces@lists.macserve.net [mailto:valentina-beta-bounces@lists.macserve.net] P? vegne af Ruslan Zasukhin Sendt: 28. december 2005 15:46 Til: valentina-beta@lists.macserve.net Emne: Re: VCOM On 12/28/05 4:36 PM, "Kim Vinther" wrote: Hi Kim, > We have downloaded VCOM_21b14_win.exe for evaluation. But all samples fail > with ?ActiveX component can?t create object?. We are testing with VB6 and have > checked your installation guide. PATH hat been set correctly and we had > administrator rights when installing. > > Any ideas what we are doing wrong? When is at final release for 2.1 planed for > .NET and COM? We can?t see or download any 2.1 release on your site! 1) Have you register VCOM.dll using Regsrv32 ? we will add this into installer soon. For now you need self do this. 2) I think maximum a week have left for 2.1 release. VCOM, VNET and C++ now have complete set of examples. docs are done. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina-beta mailing list Valentina-beta@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Wed Dec 28 17:03:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 09:04:15 2005 Subject: SV: VCOM In-Reply-To: <20051228145441.9C6825EE035@pfepb.post.tele.dk> Message-ID: On 12/28/05 4:54 PM, "Kim Vinther" wrote: > Thanks, > Not it is working. ^^^^ You mean NOW ? > Looking forward to your final release. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From kv at dialogdata.dk Wed Dec 28 16:04:21 2005 From: kv at dialogdata.dk (Kim Vinther) Date: Wed Dec 28 09:05:21 2005 Subject: SV: SV: VCOM In-Reply-To: Message-ID: <20051228150420.B7C7D5EE07E@pfepb.post.tele.dk> Yes, sorry. best regards DIALOG DATA A/S Kim Vinther -----Oprindelig meddelelse----- Fra: valentina-beta-bounces+kv=dialogdata.dk@lists.macserve.net [mailto:valentina-beta-bounces+kv=dialogdata.dk@lists.macserve.net] P? vegne af Ruslan Zasukhin Sendt: 28. december 2005 16:03 Til: valentina-beta@lists.macserve.net Emne: Re: SV: VCOM On 12/28/05 4:54 PM, "Kim Vinther" wrote: > Thanks, > Not it is working. ^^^^ You mean NOW ? > Looking forward to your final release. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] _______________________________________________ Valentina-beta mailing list Valentina-beta@lists.macserve.net http://lists.macserve.net/mailman/listinfo/valentina-beta From maxprog at mac.com Wed Dec 28 17:28:45 2005 From: maxprog at mac.com (Stan Busk) Date: Wed Dec 28 10:29:50 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: <513A8AD4-BCB7-49DB-A830-EF22ECEEF74F@mac.com> I have added it to mantis #0001204 ~/Stan > On 12/28/05 4:30 PM, "jda" wrote: > >>>> As you can see, SchemaVersion is not 103. >>> >>> Please add THIS TEXT into Mantis. >>> >> >> Hi Ruslan, >> >> I think failure to update SchemaVersion at all (even without a crash) >> is what was causing the strange SQL query problem you had with my >> project a few days ago. It just happened to me, and it was because >> the SchemaVersion of the preferences file wasn't being updated. I'm >> inserting a prefsdb.flush now to see if that helps... > > Ok, but Stan says not helps. So Ivan will try reproduce this. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Wed Dec 28 19:02:50 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 11:03:50 2005 Subject: [ANN] V4RB MAC 2.1 fc2 Message-ID: Hi All, 2.1 fc2 * do fix bug introduced in fc1 * add stability protect that Ivan have implement. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Claudius at sailer-online.de Wed Dec 28 20:03:00 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Wed Dec 28 13:04:13 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: <435AEE57-3F3E-499E-B824-1BD660B50503@sailer-online.de> Am 28. Dez 2005 um 10:03 Uhr schrieb Ruslan Zasukhin: > On 12/28/05 7:09 AM, "Claudius Sailer" > wrote: > >> I had same coding as I used in V4RB1.10 and I saw that V4RB2.X was >> 2-3 times slower. But I knew V4RB2.X is much much more better in SQL >> as V4RB1.10. So I used following SQL but (V4RB2 Call #811) it isn't >> supported yet. > > #811 -- you mean bug report 811 ? Yes Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From Claudius at sailer-online.de Wed Dec 28 20:36:27 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Wed Dec 28 13:37:46 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: Am 28. Dez 2005 um 10:00 Uhr schrieb Ruslan Zasukhin: > On 12/28/05 7:09 AM, "Claudius Sailer" > wrote: > >> when you now say that UNION is much much slower than filling other >> table with 2 SQL-Statements and reading from this table I will check. >> Or do you wants to tell me too that UNION ALL could be a Solution? > > This can be a case. Please check. > > As I understand your app did logic of UNION ALL. > > In any case we will try check this type of query to see if and > where problem > exists UNION ALL is 20% faster. One more big step. thanks but I will test tmpTabpe too during next days.... bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From Ed at Kleban.com Wed Dec 28 13:54:14 2005 From: Ed at Kleban.com (Ed Kleban) Date: Wed Dec 28 13:55:17 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: Message-ID: I can confirm that the 2.1 fc2 build does indeed fix the problem in my code of non-nil empty VArraySet return values as fixed according to: http://paradigma.ukrcom.kherson.ua/bt/view.php?id=1201 Thanks! ===== Any plans to fix the fatal crash for Vblob.GetString soon? I think this is the bug that inspired: http://paradigma.ukrcom.kherson.ua/bt/view.php?id=1147 On 12/28/05 11:02 AM, "Ruslan Zasukhin" wrote: > Hi All, > > 2.1 fc2 > > * do fix bug introduced in fc1 > > * add stability protect that Ivan have implement. > > From macsforever2000 at goodeast.com Wed Dec 28 13:20:07 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Wed Dec 28 14:21:15 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: References: Message-ID: <6614FD9E-E6A6-4613-9706-6F0E7AA2661A@goodeast.com> Hi Ed, On Dec 28, 2005, at 12:54 PM, Ed Kleban wrote: > I can confirm that the 2.1 fc2 build does indeed fix the problem in > my code > of non-nil empty VArraySet return values as fixed according to: > > http://paradigma.ukrcom.kherson.ua/bt/view.php?id=1201 FYI, there is no need to report this to the list. There is a mechanism in Mantis where the bug reporter (you in this case) can set the bug report to closed after it has been set to resolved (by Paradigma). If the bug is not fixed, you can re-open it. Look for the "Change Status To:" button on the report and the popup next to it. Only the bug reporter can do this. This allows us, the users, to test the fixes and give feedback. I try to keep up with my bug reports and close them all (and re-open the unfixed ones). Best regards, Frank Schima I'm currently job hunting: From Ed at Kleban.com Wed Dec 28 14:34:38 2005 From: Ed at Kleban.com (Ed Kleban) Date: Wed Dec 28 14:35:57 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: <6614FD9E-E6A6-4613-9706-6F0E7AA2661A@goodeast.com> Message-ID: Ah, cool! Thanks Frank. On 12/28/05 2:20 PM, "Frank Schima" wrote: > Hi Ed, > > > On Dec 28, 2005, at 12:54 PM, Ed Kleban wrote: > >> I can confirm that the 2.1 fc2 build does indeed fix the problem in >> my code >> of non-nil empty VArraySet return values as fixed according to: >> >> http://paradigma.ukrcom.kherson.ua/bt/view.php?id=1201 > > FYI, there is no need to report this to the list. There is a > mechanism in Mantis where the bug reporter (you in this case) can set > the bug report to closed after it has been set to resolved (by > Paradigma). If the bug is not fixed, you can re-open it. Look for the > "Change Status To:" button on the report and the popup next to it. > Only the bug reporter can do this. This allows us, the users, to test > the fixes and give feedback. I try to keep up with my bug reports and > close them all (and re-open the unfixed ones). > > > Best regards, > Frank Schima > > I'm currently job hunting: > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From maxprog at mac.com Wed Dec 28 21:39:34 2005 From: maxprog at mac.com (Stan Busk) Date: Wed Dec 28 14:40:37 2005 Subject: Update about convert problems of v1 DB duplicate values for v1 isUnique fields Message-ID: <41680B87-ED5B-4CA6-8331-4C5B1D953209@mac.com> Hi, Is there any news about the DB I cannot convert from v1 to v2 because of duplicate values for v1 isUnique fields? It is just to set a schedule for that project. ~/Stan From Ed at Kleban.com Wed Dec 28 14:40:36 2005 From: Ed at Kleban.com (Ed Kleban) Date: Wed Dec 28 14:41:38 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: Message-ID: Uh, not so cool. Good theory but no cigar. The report was set to closed in Mantis by the Bug fixer, and I apparently don't have permission to change the status to anything else. Since this particular bug is one that Ruslan noted he thought might have been fixed or might not have been based on the couple of code patches he made, I presumed that the feedback would be valuable. I can certainly send those to Ruslan directly as I do many other communications if it is inappropriate to include on this list. Just let me know the proper protocol and I'll do my best to follow it. Thanks again. --Ed On 12/28/05 2:34 PM, "Ed Kleban" wrote: > Ah, cool! > > Thanks Frank. > > > On 12/28/05 2:20 PM, "Frank Schima" wrote: > >> Hi Ed, >> >> >> On Dec 28, 2005, at 12:54 PM, Ed Kleban wrote: >> >>> I can confirm that the 2.1 fc2 build does indeed fix the problem in >>> my code >>> of non-nil empty VArraySet return values as fixed according to: >>> >>> http://paradigma.ukrcom.kherson.ua/bt/view.php?id=1201 >> >> FYI, there is no need to report this to the list. There is a >> mechanism in Mantis where the bug reporter (you in this case) can set >> the bug report to closed after it has been set to resolved (by >> Paradigma). If the bug is not fixed, you can re-open it. Look for the >> "Change Status To:" button on the report and the popup next to it. >> Only the bug reporter can do this. This allows us, the users, to test >> the fixes and give feedback. I try to keep up with my bug reports and >> close them all (and re-open the unfixed ones). >> >> >> Best regards, >> Frank Schima >> >> I'm currently job hunting: >> >> >> _______________________________________________ >> Valentina-beta mailing list >> Valentina-beta@lists.macserve.net >> http://lists.macserve.net/mailman/listinfo/valentina-beta > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From Claudius at sailer-online.de Wed Dec 28 21:43:15 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Wed Dec 28 14:44:20 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: Am 28. Dez 2005 um 20:36 Uhr schrieb Claudius Sailer: > > Am 28. Dez 2005 um 10:00 Uhr schrieb Ruslan Zasukhin: > >> On 12/28/05 7:09 AM, "Claudius Sailer" >> wrote: >> >>> when you now say that UNION is much much slower than filling other >>> table with 2 SQL-Statements and reading from this table I will >>> check. >>> Or do you wants to tell me too that UNION ALL could be a Solution? >> >> This can be a case. Please check. >> >> As I understand your app did logic of UNION ALL. >> >> In any case we will try check this type of query to see if and >> where problem >> exists > > UNION ALL is 20% faster. One more big step. > > thanks > > but I will test tmpTabpe too during next days.... meineDatenbank.TempAnzeige.DELETEALLRECORDS(NIL) is this correct coding for RAM-Table? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From jda at his.com Wed Dec 28 15:44:33 2005 From: jda at his.com (jda) Date: Wed Dec 28 14:45:35 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: References: Message-ID: >Uh, not so cool. > >Good theory but no cigar. The report was set to closed in Mantis by the Bug >fixer, and I apparently don't have permission to change the status to >anything else. Since this particular bug is one that Ruslan noted he >thought might have been fixed or might not have been based on the couple of >code patches he made, I presumed that the feedback would be valuable. I haven't been able to change the status of any bug I've reported either for some time. It used to be available to me, but... Jon From Claudius at sailer-online.de Wed Dec 28 21:55:09 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Wed Dec 28 14:56:13 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: References: Message-ID: Am 28. Dez 2005 um 20:36 Uhr schrieb Claudius Sailer: > but I will test tmpTable too during next days.... it is much much slower as solution with UNION and UNION ALL meineDatenbank.Table( "TempAnzeige" ).DeleteAllRecords(NIL) SQLString=SQLBuilder(47,false,cstr(AktuellesKonto)) //Ausgaben cmd= "INSERT INTO TempAnzeige (Buchungs_ID, BDatum, Gegenkonto, Kategorie, Ausgabe, Einnahme, Kommentar, Blocked) " cmd=cmd + SQLString count=V4RBSQLExecute(meineDatenbank,cmd) SQLString=SQLBuilder(48,false,cstr(AktuellesKonto)) //Einnahmen cmd= "INSERT INTO TempAnzeige (Buchungs_ID, BDatum, Gegenkonto, Kategorie, Ausgabe, Einnahme, Kommentar, Blocked) " cmd=cmd + SQLString count=V4RBSQLExecute(meineDatenbank,cmd) it takes 1,2-2sec for this code. With UNION ALL I don't have RAM- Table and it is 0,8-1,1sec with my known coding with following SQLs in SQLBuilder case 47 //Auswertung f?r das Buchungsfenster zur ListboxBef?llung mit RamTable - Ausgaben SQLStringBuild="SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, B.Betrag, null, B.Kommentar, B.Blocked" SQLStringBuild=SQLStringBuild + " FROM Buchungen B, Kategorien K, Konten KZ" SQLStringBuild=SQLStringBuild + " WHERE B.Kategorie_ID=K.RecID" SQLStringBuild=SQLStringBuild + " AND (B.Ziel_Konto=KZ.RecID AND B.Herk_Konto='"+CheckString+"') AND B.Deleted='0'" case 48 //Auswertung f?r das Buchungsfenster zur ListboxBef?llung mit RamTable - Einnahmen SQLStringBuild=SQLStringBuild + "SELECT B.RecID, B.BDatum, KZ.Konto_Name, K.Kategorie_Name, null, B.Betrag, B.Kommentar, B.Blocked" SQLStringBuild=SQLStringBuild + " FROM Buchungen B, Kategorien K, Konten KZ" SQLStringBuild=SQLStringBuild + " WHERE B.Kategorie_ID=K.RecID" SQLStringBuild=SQLStringBuild + " AND (B.Herk_Konto=KZ.RecID AND B.Ziel_Konto='"+CheckString+"') AND B.Deleted='0'" RAM-Table is own method Dim obj,Base as VTable Dim newFld as VField //Ram-Tabelle generieren obj=meineDatenbank.CreateTable("TempAnzeige",EVStorageType.kRam) Base = meineDatenbank.Table( "TempAnzeige" ) newFld= Base.CreateULongField("Buchungs_ID") newFld.IsUnique=true newFld.IsIndexed=true newFld= Base.CreateDateField("BDatum") newFld.IsIndexed=true newFld= Base.CreateVarCharField("Gegenkonto",504) newFld.IsIndexed=true newFld= Base.CreateVarCharField("Kategorie",504) newFld.IsIndexed=true newFld= Base.CreateLongField("Ausgabe") newFld.IsNullable=true newFld= Base.CreateLongField("Einnahme") newFld.IsNullable=true newFld= Base.CreateVarCharField("Kommentar",504) newFld.IsNullable=true newFld= Base.CreateBooleanField("Blocked") newFld.IsIndexed=true I also found bad thing that I can't create RAM-Table with SQL-Code :- (( should I make feature request?? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Wed Dec 28 23:00:57 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 15:01:58 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: Message-ID: On 12/28/05 10:44 PM, "jda" wrote: >> Uh, not so cool. >> >> Good theory but no cigar. The report was set to closed in Mantis by the Bug >> fixer, and I apparently don't have permission to change the status to >> anything else. Since this particular bug is one that Ruslan noted he >> thought might have been fixed or might not have been based on the couple of >> code patches he made, I presumed that the feedback would be valuable. > > I haven't been able to change the status of any bug I've reported > either for some time. It used to be available to me, but... Sorry, I have not catch. You do not see in the menu "Change Status To:" option CLOSE ??? Hmm. Many developers have close reports, so they do see it. I have check Ed and jda, you have status of reporter. So you should be able CLOSE reports. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Dec 28 23:03:02 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 15:04:04 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: Message-ID: On 12/28/05 10:43 PM, "Claudius Sailer" wrote: > meineDatenbank.TempAnzeige.DELETEALLRECORDS(NIL) is this correct > coding for RAM-Table? Yes, You can do all the same operations with RAM table or DB. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Wed Dec 28 22:04:09 2005 From: maxprog at mac.com (Stan Busk) Date: Wed Dec 28 15:05:12 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: References: Message-ID: Well, I don't know if I have the reporter status but I don't have any 'Close' option. ~/Stan > On 12/28/05 10:44 PM, "jda" wrote: > >>> Uh, not so cool. >>> >>> Good theory but no cigar. The report was set to closed in Mantis >>> by the Bug >>> fixer, and I apparently don't have permission to change the >>> status to >>> anything else. Since this particular bug is one that Ruslan >>> noted he >>> thought might have been fixed or might not have been based on the >>> couple of >>> code patches he made, I presumed that the feedback would be >>> valuable. >> >> I haven't been able to change the status of any bug I've reported >> either for some time. It used to be available to me, but... > > Sorry, I have not catch. > > You do not see in the menu "Change Status To:" option CLOSE ??? > > Hmm. Many developers have close reports, so they do see it. > > I have check Ed and jda, you have status of reporter. > So you should be able CLOSE reports. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Wed Dec 28 23:11:20 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 15:12:22 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: Message-ID: On 12/28/05 10:55 PM, "Claudius Sailer" wrote: Hi Claudius, > it is much much slower as solution with UNION and UNION ALL This is not clear to me. So you use THE SAME way as with 1.x version ? Then fact of RAM table should give you speedup > meineDatenbank.Table( "TempAnzeige" ).DeleteAllRecords(NIL) > SQLString=SQLBuilder(47,false,cstr(AktuellesKonto)) //Ausgaben > cmd= "INSERT INTO TempAnzeige (Buchungs_ID, BDatum, Gegenkonto, > Kategorie, Ausgabe, Einnahme, Kommentar, Blocked) " > cmd=cmd + SQLString > count=V4RBSQLExecute(meineDatenbank,cmd) > SQLString=SQLBuilder(48,false,cstr(AktuellesKonto)) //Einnahmen > cmd= "INSERT INTO TempAnzeige (Buchungs_ID, BDatum, Gegenkonto, > Kategorie, Ausgabe, Einnahme, Kommentar, Blocked) " > cmd=cmd + SQLString > count=V4RBSQLExecute(meineDatenbank,cmd) > > > it takes 1,2-2sec for this code. With UNION ALL I don't have RAM- > Table and it is 0,8-1,1sec with my known coding Btw, how big is your db? And how many records are in result ? If you want send us project that test this 2 queries. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed Dec 28 16:12:30 2005 From: jda at his.com (jda) Date: Wed Dec 28 15:13:30 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: References: Message-ID: >Sorry, I have not catch. > >You do not see in the menu "Change Status To:" option CLOSE ??? No, I don't see the Change Status popup at all. I see a button to Add Note, but that's it. Jon From sunshine at public.kherson.ua Wed Dec 28 23:13:12 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 15:14:13 2005 Subject: Stan, Claudius, CreateTable In-Reply-To: Message-ID: On 12/28/05 10:55 PM, "Claudius Sailer" wrote: > //Ram-Tabelle generieren > obj=meineDatenbank.CreateTable("TempAnzeige",EVStorageType.kRam) > Base = meineDatenbank.Table( "TempAnzeige" ) --------------- > newFld= Base.CreateULongField("Buchungs_ID") > newFld.IsUnique=true > newFld.IsIndexed=true You can write this in one line! newFld=Base.CreateULongField("Buchungs_ID", EVFlag.fIndexed+EVFlag.fUnique) > newFld= Base.CreateDateField("BDatum") > newFld.IsIndexed=true > newFld= Base.CreateVarCharField("Gegenkonto",504) > newFld.IsIndexed=true > newFld= Base.CreateVarCharField("Kategorie",504) > newFld.IsIndexed=true > newFld= Base.CreateLongField("Ausgabe") > newFld.IsNullable=true > newFld= Base.CreateLongField("Einnahme") > newFld.IsNullable=true > newFld= Base.CreateVarCharField("Kommentar",504) > newFld.IsNullable=true > newFld= Base.CreateBooleanField("Blocked") > newFld.IsIndexed=true -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Wed Dec 28 23:04:03 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 15:24:51 2005 Subject: Stan, Claudius, your feedback on fc1 ? In-Reply-To: Message-ID: On 12/28/05 10:55 PM, "Claudius Sailer" wrote: > I also found bad thing that I can't create RAM-Table with SQL-Code :- > (( should I make feature request?? I think you can. I will ask now Sergey or Ivan -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From macsforever2000 at goodeast.com Wed Dec 28 14:29:04 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Wed Dec 28 15:30:09 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: References: Message-ID: <1B19C231-514F-421F-9626-50F10C461AC1@goodeast.com> On Dec 28, 2005, at 2:12 PM, jda wrote: >> Sorry, I have not catch. >> >> You do not see in the menu "Change Status To:" option CLOSE ??? > > No, I don't see the Change Status popup at all. I see a button to > Add Note, but that's it. It only appears if you are the reporter of the bug and the status is "resolved" (the blue-greenish color). If you can add a note, then I don't think the status is resolved. Best regards, Frank Schima I'm currently job hunting: From Ed at Kleban.com Wed Dec 28 15:32:02 2005 From: Ed at Kleban.com (Ed Kleban) Date: Wed Dec 28 15:33:06 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: Message-ID: On 12/28/05 3:00 PM, "Ruslan Zasukhin" wrote: > On 12/28/05 10:44 PM, "jda" wrote: > >>> Uh, not so cool. >>> >>> Good theory but no cigar. The report was set to closed in Mantis by the Bug >>> fixer, and I apparently don't have permission to change the status to >>> anything else. Since this particular bug is one that Ruslan noted he >>> thought might have been fixed or might not have been based on the couple of >>> code patches he made, I presumed that the feedback would be valuable. >> >> I haven't been able to change the status of any bug I've reported >> either for some time. It used to be available to me, but... > > Sorry, I have not catch. > > You do not see in the menu "Change Status To:" option CLOSE ??? Yes, I see it. > Hmm. Many developers have close reports, so they do see it. > > I have check Ed and jda, you have status of reporter. > So you should be able CLOSE reports. I was responding to Frank who said: On 12/28/05 2:20 PM, "Frank Schima" wrote: > FYI, there is no need to report this to the list. There is a > mechanism in Mantis where the bug reporter (you in this case) can set > the bug report to closed after it has been set to resolved (by > Paradigma). In the case of my two bugs, they were not set to "resolved" (by Paradigma). They were already set to "closed". > If the bug is not fixed, you can re-open it. This does not appear to be the case. I can click on the popup menu that lists "Closed", but the only option on the popup menu that I can choose is "Closed". > Look for the > "Change Status To:" button on the report and the popup next to it. > Only the bug reporter can do this. This is clearly not true, since in both cases I was the bug reporter. > This allows us, the users, to test > the fixes and give feedback. And thus I say, "Good theory, but no Cigar"; i.e. it sounds good in practice but there's no Cigar reward for being true in fact. The English "no Cigar" idom comes from the outdated practice of awarding Cigars to winners of skill games at circus events. > I try to keep up with my bug reports and > close them all (and re-open the unfixed ones). That would be nice. From jda at his.com Wed Dec 28 16:33:13 2005 From: jda at his.com (jda) Date: Wed Dec 28 15:34:13 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: <1B19C231-514F-421F-9626-50F10C461AC1@goodeast.com> References: <1B19C231-514F-421F-9626-50F10C461AC1@goodeast.com> Message-ID: >On Dec 28, 2005, at 2:12 PM, jda wrote: > >>>Sorry, I have not catch. >>> >>>You do not see in the menu "Change Status To:" option CLOSE ??? >> >>No, I don't see the Change Status popup at all. I see a button to >>Add Note, but that's it. > >It only appears if you are the reporter of the bug and the status is >"resolved" (the blue-greenish color). If you can add a note, then I >don't think the status is resolved. > Hi Frank, You're right. That's unfortunate, because I can close a number of reports that either turned out to be not Valentina's problem or were fixed along the way but remain open. Jon From macsforever2000 at goodeast.com Wed Dec 28 14:34:10 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Wed Dec 28 15:35:13 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: References: Message-ID: <07CAAE6C-907D-478E-9219-17E69C8E72E5@goodeast.com> On Dec 28, 2005, at 1:40 PM, Ed Kleban wrote: > Uh, not so cool. > > Good theory but no cigar. The report was set to closed in Mantis > by the Bug > fixer, and I apparently don't have permission to change the status to > anything else. Since this particular bug is one that Ruslan noted he > thought might have been fixed or might not have been based on the > couple of > code patches he made, I presumed that the feedback would be valuable. > > I can certainly send those to Ruslan directly as I do many other > communications if it is inappropriate to include on this list. > Just let me > know the proper protocol and I'll do my best to follow it. > > Thanks again. > >>>> http://paradigma.ukrcom.kherson.ua/bt/view.php?id=1201 The status of bug report 1201 (link above) is "resolved" not "closed" and the reporter is "Ed Kleban". So in theory, you should be able close it - the button appears just below "Attached Files". So you do not see the "Change Status To:" button there? Best regards, Frank Schima I'm currently job hunting: From sunshine at public.kherson.ua Wed Dec 28 23:34:25 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 15:35:26 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: Message-ID: On 12/28/05 11:32 PM, "Ed Kleban" wrote: >> Look for the >> "Change Status To:" button on the report and the popup next to it. >> Only the bug reporter can do this. > > This is clearly not true, since in both cases I was the bug reporter. People You can see CLOSE menu only if bug is in state RESOLVED., -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From macsforever2000 at goodeast.com Wed Dec 28 14:37:41 2005 From: macsforever2000 at goodeast.com (Frank Schima) Date: Wed Dec 28 15:38:46 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: References: Message-ID: <8DF4F654-8EAF-4EE1-99CF-BC565CDEEE34@goodeast.com> Stan, I just checked and there are no reports for you with the status of "resolved" so you wouldn't see it now. On Dec 28, 2005, at 2:04 PM, Stan Busk wrote: > > Well, I don't know if I have the reporter status but I don't have > any 'Close' option. > > ~/Stan > >> On 12/28/05 10:44 PM, "jda" wrote: >> >>>> Uh, not so cool. >>>> >>>> Good theory but no cigar. The report was set to closed in >>>> Mantis by the Bug >>>> fixer, and I apparently don't have permission to change the >>>> status to >>>> anything else. Since this particular bug is one that Ruslan >>>> noted he >>>> thought might have been fixed or might not have been based on >>>> the couple of >>>> code patches he made, I presumed that the feedback would be >>>> valuable. >>> >>> I haven't been able to change the status of any bug I've reported >>> either for some time. It used to be available to me, but... >> >> Sorry, I have not catch. >> >> You do not see in the menu "Change Status To:" option CLOSE ??? >> >> Hmm. Many developers have close reports, so they do see it. >> >> I have check Ed and jda, you have status of reporter. >> So you should be able CLOSE reports. >> >> >> -- >> Best regards, >> >> Ruslan Zasukhin >> VP Engineering and New Technology >> Paradigma Software, Inc >> >> Valentina - Joining Worlds of Information >> http://www.paradigmasoft.com >> >> [I feel the need: the need for speed] Frank Schima I'm currently job hunting: From jda at his.com Wed Dec 28 16:38:13 2005 From: jda at his.com (jda) Date: Wed Dec 28 15:39:13 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: References: Message-ID: > >You can see CLOSE menu only if bug is in state RESOLVED., > Then please "resolve" bugs 1119 1140 Jon From sunshine at public.kherson.ua Wed Dec 28 23:07:30 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 15:41:32 2005 Subject: Fix worked -- SQL RAM table In-Reply-To: Message-ID: On 12/28/05 11:00 PM, "Ruslan Zasukhin" wrote: Claudius, "create"^ ( ( "global" | "local" )? "temporary" )? ("ram")? So you can CREATE temporary RAM Table -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From Ed at Kleban.com Wed Dec 28 15:46:18 2005 From: Ed at Kleban.com (Ed Kleban) Date: Wed Dec 28 15:47:19 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: Message-ID: On 12/28/05 3:34 PM, "Ruslan Zasukhin" wrote: > On 12/28/05 11:32 PM, "Ed Kleban" wrote: > >>> Look for the >>> "Change Status To:" button on the report and the popup next to it. >>> Only the bug reporter can do this. >> >> This is clearly not true, since in both cases I was the bug reporter. > > People > > You can see CLOSE menu only if bug is in state RESOLVED., > But only when we're not misinterpreting the controls on the page due to temporary brain damage. Yep. Thanks Ruslan. --Ed From Ed at Kleban.com Wed Dec 28 15:45:33 2005 From: Ed at Kleban.com (Ed Kleban) Date: Wed Dec 28 15:48:16 2005 Subject: Fix worked Re: [ANN] V4RB MAC 2.1 fc2 In-Reply-To: <07CAAE6C-907D-478E-9219-17E69C8E72E5@goodeast.com> Message-ID: Very cool! (again) Yep, you are quite right. My Bad. I was reading the "Change Status To:" button and thinking it was telling me "The current status is". I do see that the current Status is listed separately on a separate line 5 sections up. Sorry for the confusion, and thanks for the help. I've closed this issue. --Ed On 12/28/05 3:34 PM, "Frank Schima" wrote: > > On Dec 28, 2005, at 1:40 PM, Ed Kleban wrote: > > The status of bug report 1201 (link above) is "resolved" not "closed" > and the reporter is "Ed Kleban". So in theory, you should be able > close it - the button appears just below "Attached Files". So you do > not see the "Change Status To:" button there? > > > Best regards, > Frank Schima > From sunshine at public.kherson.ua Wed Dec 28 23:59:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Wed Dec 28 16:01:00 2005 Subject: Update about convert problems of v1 DB duplicate values for v1 isUnique fields In-Reply-To: <41680B87-ED5B-4CA6-8331-4C5B1D953209@mac.com> Message-ID: On 12/28/05 10:39 PM, "Stan Busk" wrote: > Hi, > > Is there any news about the DB I cannot convert from v1 to v2 because > of duplicate values for v1 isUnique fields? It is just to set a > schedule for that project. Hi Stan, Ivan have point that you can resolve this using correct collator. Right ? I think we cannot put this logic into Convert_1_2 itself, because this is nature of your data. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Wed Dec 28 19:46:38 2005 From: jda at his.com (jda) Date: Wed Dec 28 18:47:41 2005 Subject: Slow NOT searches In-Reply-To: References: Message-ID: Hi Ruslan, Is there any advantage to making a VarChar field nullable? Any disadvantage? Thanks, Jon From Ed at Kleban.com Wed Dec 28 20:04:15 2005 From: Ed at Kleban.com (Ed Kleban) Date: Wed Dec 28 20:05:25 2005 Subject: Slow NOT searches In-Reply-To: Message-ID: Advantage of making a VarChar field nullable is that you would be able to distinguish between when a field legitimately contains an empty string, either by default or explicit assignment, and when it contains no string at all because none has been supplied for it. You could achieve the same result by choosing some arbitrary string of your choice to signify "no string supplied", such as "NULL" for example. Disadvantages are more storage required for storing the per-record isNull information, and slower execution because the nullable information needs to be taken into consideration for many operations you may perform on the field. That make sense? --Ed On 12/28/05 6:46 PM, "jda" wrote: > Hi Ruslan, > > Is there any advantage to making a VarChar field nullable? Any disadvantage? > > Thanks, > > Jon > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From jda at his.com Wed Dec 28 22:12:27 2005 From: jda at his.com (jda) Date: Wed Dec 28 21:13:30 2005 Subject: NULL VarCharString (was Slow NOT searches) In-Reply-To: References: Message-ID: >Advantage of making a VarChar field nullable is that you would be able to >distinguish between when a field legitimately contains an empty string, >either by default or explicit assignment, and when it contains no string at >all because none has been supplied for it. You could achieve the same >result by choosing some arbitrary string of your choice to signify "no >string supplied", such as "NULL" for example. > >Disadvantages are more storage required for storing the per-record isNull >information, and slower execution because the nullable information needs to >be taken into consideration for many operations you may perform on the >field. > >That make sense? > >--Ed > It would, Ed. But I tested this after posting, and searching for WHERE varCharField IS NULL got nothing (all fields had been created after SetBlank). Whereas searching for WHERE varCharField IS NOT NULL returned all. So I'm thinking that Valentina ignores Nullable for varCharFields. Is that right, Ruslan? Jon From sunshine at public.kherson.ua Thu Dec 29 10:11:11 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 29 02:12:15 2005 Subject: NULL VarCharString (was Slow NOT searches) In-Reply-To: Message-ID: On 12/29/05 5:12 AM, "jda" wrote: >> Advantage of making a VarChar field nullable is that you would be able to >> distinguish between when a field legitimately contains an empty string, >> either by default or explicit assignment, and when it contains no string at >> all because none has been supplied for it. You could achieve the same >> result by choosing some arbitrary string of your choice to signify "no >> string supplied", such as "NULL" for example. right >> Disadvantages are more storage required for storing the per-record isNull >> information, and slower execution because the nullable information needs to >> be taken into consideration for many operations you may perform on the >> field. One BIT is added per record >> That make sense? >> >> --Ed >> > > It would, Ed. But I tested this after posting, and searching for > WHERE varCharField IS NULL got nothing (all fields had been created > after SetBlank). Whereas searching for WHERE varCharField IS NOT NULL > returned all. So I'm thinking that Valentina ignores Nullable for > varCharFields. Is that right, Ruslan? Not right. You need check your data again. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bwillius at gmx.de Thu Dec 29 11:07:55 2005 From: bwillius at gmx.de (Beatrix Willius) Date: Thu Dec 29 04:09:07 2005 Subject: UTF8 Message-ID: Hello Ruslan, always after some months there is the question: what is support for UTF8 doing? Any new thoughts, plans etc...? Mit freundlichen Gr??en/Regards Trixi Willius http://www.mothsoftware.com Mail Archiver X: archive, clean and search email http://www.beatrixwillius.de Fractals, 3d landscapes etc. From maxprog at mac.com Thu Dec 29 12:01:08 2005 From: maxprog at mac.com (Stan Busk) Date: Thu Dec 29 05:02:14 2005 Subject: Update about convert problems of v1 DB duplicate values for v1 isUnique fields In-Reply-To: References: Message-ID: <105E0889-5BC0-460D-A808-B6D5263BFB1B@mac.com> Hi, Ivan told me to do the following: 1. 1.x version - Remove Unique flag from the GropID field. 2. Perform Convert_1_2. 3. 2.x version - Set collator strength to UCOL_IDENTICAL value for this field. 4. 2.x version - Make it unique I don't know how to do point 1. How do I Remove Unique flag of a v1 database from my v2 app? Stan > On 12/28/05 10:39 PM, "Stan Busk" wrote: > >> Hi, >> >> Is there any news about the DB I cannot convert from v1 to v2 because >> of duplicate values for v1 isUnique fields? It is just to set a >> schedule for that project. > > Hi Stan, > > Ivan have point that you can resolve this using correct collator. > Right ? > > I think we cannot put this logic into Convert_1_2 itself, because > this is > nature of your data. > > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Thu Dec 29 13:19:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 29 05:21:07 2005 Subject: Update about convert problems of v1 DB duplicate values for v1 isUnique fields In-Reply-To: <105E0889-5BC0-460D-A808-B6D5263BFB1B@mac.com> Message-ID: On 12/29/05 1:01 PM, "Stan Busk" wrote: > Hi, > > Ivan told me to do the following: > > 1. 1.x version - Remove Unique flag from the GropID field. > 2. Perform Convert_1_2. > 3. 2.x version - Set collator strength to UCOL_IDENTICAL value for > this field. > 4. 2.x version - Make it unique > > I don't know how to do point 1. How do I Remove Unique flag of a v1 > database from my v2 app? I see. Then it needs to think more. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Thu Dec 29 13:20:53 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 29 05:21:58 2005 Subject: UTF8 In-Reply-To: Message-ID: On 12/29/05 12:07 PM, "Beatrix Willius" wrote: > Hello Ruslan, > > always after some months there is the question: what is support for > UTF8 doing? Any new thoughts, plans etc...? Hi Beatrix, Yes, I did some tests prev week, and I see overhead with UTF16. We really need add UTF8 support ASAP. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Thu Dec 29 07:32:43 2005 From: jda at his.com (jda) Date: Thu Dec 29 06:33:48 2005 Subject: NULL VarCharString (was Slow NOT searches) In-Reply-To: References: Message-ID: > > > >> It would, Ed. But I tested this after posting, and searching for >> WHERE varCharField IS NULL got nothing (all fields had been created >> after SetBlank). Whereas searching for WHERE varCharField IS NOT NULL >> returned all. So I'm thinking that Valentina ignores Nullable for >> varCharFields. Is that right, Ruslan? > >Not right. > >You need check your data again. > I'll send you a small db. Jon From Claudius at sailer-online.de Thu Dec 29 20:54:40 2005 From: Claudius at sailer-online.de (Claudius Sailer) Date: Thu Dec 29 13:55:50 2005 Subject: V4RB2: DATABASE DIAGNOSE Question Message-ID: Hi, I can't find in Docu DIAGNOSE DATABASE XXXX What can I use for XXXX? HIGH I know from Mantis but what are the other possibilities? And what Is the meaning of them? bye Claudius -- G4/733 QS / MacOS X 10.4de / RB 2005r4/ Valentina 1.10.0 & 2.0.4 Homepage http://www.ClaSai.de iChat ryhoruk RealBasic ListBoxes: [ I feel the need...the need for speed!!! ] From sunshine at public.kherson.ua Thu Dec 29 23:49:59 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu Dec 29 15:51:09 2005 Subject: V4RB2: DATABASE DIAGNOSE Question In-Reply-To: Message-ID: On 12/29/05 9:54 PM, "Claudius Sailer" wrote: > Hi, > > I can't find in Docu Yes, this was reported > DIAGNOSE DATABASE XXXX > > What can I use for XXXX? > > HIGH I know from Mantis but what are the other possibilities? And > what Is the meaning of them? LOW HIGH VERYHIGH -- check each index page also Diagnose is fast even for big dbs as I have see. So you always can try VERYHIGH. And this give us feature absent in 1.x Now we can EXACTLY know if db have good or bad index(es). -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Fri Dec 30 17:17:08 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 30 09:18:13 2005 Subject: [Ann] V4RB mac 2.1 fc3 // was Re: VarChar not NULL In-Reply-To: Message-ID: On 12/30/05 4:57 PM, "jda" wrote: >> Check in 10 minutes >> > > Got it. > > Yes, the NULL varchar bug is fixed. I'll close it. > > And it seems that dbs are smaller in fc3 than fc2. In one test, > anyway, a db I converted to my new schema (and reindexed) was > > 20 MB with fc2 > > and > > 19.1 MB with fc3 > > Maybe some other factor, but maybe more optimization? Okay, Btw, fc3 contains FIX of SchemaVersion flush. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Fri Dec 30 16:31:16 2005 From: maxprog at mac.com (Stan Busk) Date: Fri Dec 30 09:32:27 2005 Subject: [Ann] V4RB mac 2.1 fc3 // was Re: VarChar not NULL In-Reply-To: References: Message-ID: <3B47F511-2E3D-4D4E-A400-0A678E20F495@mac.com> Dec 30 16:29:34 Stan-G5 MaxNews-X.debug[2530]: SchemaVersion: 103 Dec 30 16:29:46 Stan-G5 crashdump[2532]: MaxNews-X.debug crashed Dec 30 16:30:02 Stan-G5 MaxNews-X.debug[2533]: SchemaVersion: 103 Cool thanks! :) > Btw, fc3 contains FIX of SchemaVersion flush. ~/Stan From sunshine at public.kherson.ua Fri Dec 30 17:35:01 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 30 09:36:06 2005 Subject: [Ann] V4RB mac 2.1 fc3 // was Re: VarChar not NULL In-Reply-To: <3B47F511-2E3D-4D4E-A400-0A678E20F495@mac.com> Message-ID: On 12/30/05 5:31 PM, "Stan Busk" wrote: Hi Stan, > Dec 30 16:29:34 Stan-G5 MaxNews-X.debug[2530]: SchemaVersion: 103 > Dec 30 16:29:46 Stan-G5 crashdump[2532]: MaxNews-X.debug crashed > Dec 30 16:30:02 Stan-G5 MaxNews-X.debug[2533]: SchemaVersion: 103 > > Cool thanks! :) Try to find something more what you can corrupt :-) -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From maxprog at mac.com Fri Dec 30 18:27:37 2005 From: maxprog at mac.com (Stan Busk) Date: Fri Dec 30 11:28:48 2005 Subject: [Ann] V4RB mac 2.1 fc3 // was Re: VarChar not NULL In-Reply-To: References: Message-ID: It would be great to have a fc3 build of Windows V4RB. Currently I can't run the compiled app on Windows because it looks like the DLLs are outdated. I would like to try crash stuff on Windows as well. Stan > On 12/30/05 5:31 PM, "Stan Busk" wrote: > > Hi Stan, > >> Dec 30 16:29:34 Stan-G5 MaxNews-X.debug[2530]: SchemaVersion: 103 >> Dec 30 16:29:46 Stan-G5 crashdump[2532]: MaxNews-X.debug crashed >> Dec 30 16:30:02 Stan-G5 MaxNews-X.debug[2533]: SchemaVersion: 103 >> >> Cool thanks! :) > > Try to find something more what you can corrupt :-) > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com > > [I feel the need: the need for speed] > > > _______________________________________________ > Valentina-beta mailing list > Valentina-beta@lists.macserve.net > http://lists.macserve.net/mailman/listinfo/valentina-beta From sunshine at public.kherson.ua Fri Dec 30 19:31:07 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 30 11:32:12 2005 Subject: [Ann] V4RB mac 2.1 fc3 // was Re: VarChar not NULL In-Reply-To: Message-ID: On 12/30/05 7:27 PM, "Stan Busk" wrote: > It would be great to have a fc3 build of Windows V4RB. Currently I > can't run the compiled app on Windows because it looks like the DLLs > are outdated. > I would like to try crash stuff on Windows as well. Ok, at first I want fix bug discovered by Kim -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Fri Dec 30 12:38:25 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Dec 30 11:39:31 2005 Subject: [Ann] V4RB mac 2.1 fc3 // was Re: VarChar not NULL In-Reply-To: Message-ID: On 12/30/05 12:31 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Ok, at first I want fix bug discovered by Kim Does that mean I should skip fc3 and wait for fc4? __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Fri Dec 30 19:54:39 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 30 11:55:44 2005 Subject: [Ann] V4RB mac 2.1 fc3 // was Re: VarChar not NULL In-Reply-To: Message-ID: On 12/30/05 7:38 PM, "Kem Tekinay" wrote: > On 12/30/05 12:31 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > >> Ok, at first I want fix bug discovered by Kim > > Does that mean I should skip fc3 and wait for fc4? Hi Kem, Actually I did mean Kim Vinther with his VCOM project that found bug in String index and GROUP BY -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From ktekinay at mactechnologies.com Fri Dec 30 13:37:24 2005 From: ktekinay at mactechnologies.com (Kem Tekinay) Date: Fri Dec 30 12:38:30 2005 Subject: [Ann] V4RB mac 2.1 fc3 // was Re: VarChar not NULL In-Reply-To: Message-ID: On 12/30/05 12:54 PM, Ruslan Zasukhin at sunshine@public.kherson.ua wrote: > Hi Kem, > > Actually I did mean Kim Vinther > > with his VCOM project that found bug in String index and GROUP BY I didn't think you meant me. :-) I was just wondering if there is another fc coming today? If so, I will skip fc3 and wait for fc4. __________________________________________________________________________ Kem Tekinay (212) 201-1465 MacTechnologies Consulting Fax (914) 242-7294 545 Eighth Avenue, Suite 401 Pager (917) 491-5546 New York, New York 10018 http://www.mactechnologies.com To join the MacTechnologies Consulting mailing list, send an e-mail to: mactechnologies_consulting-subscribe@yahoogroups.com From sunshine at public.kherson.ua Fri Dec 30 21:02:16 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Fri Dec 30 13:03:21 2005 Subject: [Ann] V4RB mac 2.1 fc3 // was Re: VarChar not NULL In-Reply-To: Message-ID: On 12/30/05 8:37 PM, "Kem Tekinay" wrote: >> Hi Kem, >> >> Actually I did mean Kim Vinther >> >> with his VCOM project that found bug in String index and GROUP BY > > I didn't think you meant me. :-) > > I was just wondering if there is another fc coming today? If so, I will skip > fc3 and wait for fc4. Ah, Depend when I fix bug... I see problem already -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From bwillius at gmx.de Sat Dec 31 07:48:04 2005 From: bwillius at gmx.de (Beatrix Willius) Date: Sat Dec 31 00:49:13 2005 Subject: UTF8 In-Reply-To: <20051230153611.530733E3967@edison.macserve.net> References: <20051230153611.530733E3967@edison.macserve.net> Message-ID: Hello Ruslan, Am 30.12.2005 um 16:36 schrieb valentina-beta- request@lists.macserve.net: > Yes, I did some tests prev week, and I see overhead with UTF16. > > We really need add UTF8 support ASAP. Very good. I wish all of you a a happy new year. Mit freundlichen Gr??en/Regards Trixi Willius http://www.mothsoftware.com Mail Archiver X: archive, clean and search email http://www.beatrixwillius.de Fractals, 3d landscapes etc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macserve.net/pipermail/valentina-beta/attachments/20051231/4893b8d9/attachment.html From jda at his.com Sat Dec 31 04:40:04 2005 From: jda at his.com (jda) Date: Sat Dec 31 03:41:14 2005 Subject: DB bloat? In-Reply-To: References: Message-ID: Hi Ruslan, One of my beta testers (using my app built with V2.1 fc3) reported this to me: "The only stress sign was that by the time I was done, the file had bloated from 14 MB to 162 MB! But a final Rebuild set it to proper size again." (Rebuild is my own export/import of data to a fresh database). Any idea why this might have happened? All he was doing was shifting data from one field to another, there were no new data added. So lots of UpdateRecord and DeleteData for VText/VBlob fields. I will try to reproduce it. Jon From sunshine at public.kherson.ua Sat Dec 31 12:45:56 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 31 04:47:06 2005 Subject: DB bloat? In-Reply-To: Message-ID: On 12/31/05 11:40 AM, "jda" wrote: > Hi Ruslan, > > One of my beta testers (using my app built with V2.1 fc3) reported this to me: > > "The only stress sign was that by the time I was done, the file had > bloated from 14 MB to 162 MB! But a final Rebuild set it to proper > size again." > > (Rebuild is my own export/import of data to a fresh database). > > Any idea why this might have happened? All he was doing was shifting > data from one field to another, there were no new data added. So lots > of UpdateRecord and DeleteData for VText/VBlob fields. I will try to > reproduce it. Hi Jon, Only from one field to another ? He do this copy manually? Or your app have such feature ? Well, if you delete some BLOB value which is in the middle of BLOB file, Then its space still live, and will be REUSED future. So I can see that if you delete one BLOB records and copy them into new BLOB records this can cause in worse case 2 times grow. We plan yet that Compact method is able collect such empty space in BLOB fields. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From sunshine at public.kherson.ua Sat Dec 31 13:27:13 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 31 05:28:24 2005 Subject: FIXED: VCOM totally wrong SQL results In-Reply-To: <20051229091507.E508C5EE047@pfepb.post.tele.dk> Message-ID: On 12/29/05 11:14 AM, "Kim Vinther" wrote: Bug was on GROUP BY for column which have big groups of the same values. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From jda at his.com Sat Dec 31 09:02:00 2005 From: jda at his.com (jda) Date: Sat Dec 31 08:03:08 2005 Subject: DB bloat? In-Reply-To: References: Message-ID: > > >Only from one field to another ? > >He do this copy manually? Or your app have such feature ? No, several fields. Yes, my app has a "move field" command. > >Well, if you delete some BLOB value which is in the middle of BLOB file, >Then its space still live, and will be REUSED future. > >So I can see that if you delete one BLOB records and copy them into new BLOB >records this can cause in worse case 2 times grow. > >We plan yet that Compact method is able collect such empty space in BLOB >fields. > I don't think that could account for 14 -> 162 MB. And don't forget that export/import of the data (not via XML, but simply my routines) preserves the blob fields as they were. Yet, the db returned to 14 MB. So, the increase in size had to be due to something OTHER than the actual data stored in the database. Jon From sunshine at public.kherson.ua Sat Dec 31 22:18:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Sat Dec 31 14:19:20 2005 Subject: [OT] Happy New Year to ALL ! Message-ID: Hi All, Paradigma team wish Happy New Year to all !!! Let new Year bring to all your many nice moments, implementations of dreams, new creative ideas, happy eyes of your children and lovers! -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed]