Autoreply: Valentina Digest, Vol 17, Issue 12

prez at write-brain.com prez at write-brain.com
Tue May 11 23:06:57 CDT 2004


I will be out of the office from May 12th - 30th and to avoid having thousands of spam emails to wade through upon my return, this email address will NOT be accepting any email during that time.

If this is a business matter you can email support at write-brain.com or sales at write-brain.com and they can help you or direct you to the appropriate person.  

If it is a personal matter then you can resend the email to KenInCannes at write-brain.com though I don't know for sure how much access I will have while I'm there. 

I apologize for any inconvenience.

- Ken Schafer


Your message reads:

Received: from woz.macserve.net (unverified [216.52.182.70]) by mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with ESMTP id <B0323829283 at mail2.intermedia.net> for <prez at write-brain.com>;
 Tue, 11 May 2004 23:06:57 -0700
Received: from edison.macserve.net (macserve20.august.net [216.87.133.20])
	by woz.macserve.net (Postfix) with ESMTP
	id 4A5D330D4DA; Wed, 12 May 2004 01:06:55 -0500 (CDT)
Received: from macserve20.august.net (localhost [127.0.0.1])
	by edison.macserve.net (Postfix) with ESMTP
	id E8E2C121848; Wed, 12 May 2004 01:06:54 -0500 (CDT)
From: valentina-request at lists.macserve.net
Subject: Valentina Digest, Vol 17, Issue 12
To: valentina at lists.macserve.net
Reply-To: valentina at lists.macserve.net
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-BeenThere: valentina at lists.macserve.net
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Valentina Developers  <valentina.lists.macserve.net>
List-Unsubscribe: <http://lists.macserve.net/mailman/listinfo/valentina>,
	<mailto:valentina-request at lists.macserve.net?subject=unsubscribe>
List-Archive: <http://lists.macserve.net/pipermail/valentina>
List-Post: <mailto:valentina at lists.macserve.net>
List-Help: <mailto:valentina-request at lists.macserve.net?subject=help>
List-Subscribe: <http://lists.macserve.net/mailman/listinfo/valentina>,
	<mailto:valentina-request at lists.macserve.net?subject=subscribe>
Sender: valentina-bounces at lists.macserve.net
Errors-To: valentina-bounces at lists.macserve.net
Message-Id: <20040512060654.E8E2C121848 at edison.macserve.net>
Date: Wed, 12 May 2004 01:06:54 -0500 (CDT)

Send Valentina mailing list submissions to
	valentina at lists.macserve.net

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.macserve.net/mailman/listinfo/valentina
or, via email, send a message with subject or body 'help' to
	valentina-request at lists.macserve.net

You can reach the person managing the list at
	valentina-owner at lists.macserve.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Valentina digest..."


Today's Topics:

   1. Re: [V4RB] Valentina 2.0 installation // RESUME. (Ruslan Zasukhin)
   2. Re: [V4MD] Intermittent setMedia (Ruslan Zasukhin)
   3. Re: [V4RB] Valentina 2.0 installation (Ruslan Zasukhin)
   4. FW: realbasic-nug Digest, Vol 2, Issue 71 (Ruslan Zasukhin)
   5. Re: [V4MD] Intermittent setMedia (Scott Runkel)
   6. Re: [V4MD] Intermittent setMedia (Ruslan Zasukhin)
   7. SetStructureEncryption ...  (Gunnar Swan)
   8. Re: SetStructureEncryption ...  (Ruslan Zasukhin)
   9. Re: SetStructureEncryption ...  (Gunnar Swan)
  10. Example 007 - Encryption (Gunnar Swan)


----------------------------------------------------------------------

Message: 1
Date: Tue, 11 May 2004 22:51:41 +0300
From: Ruslan Zasukhin <sunshine at public.kherson.ua>
Subject: Re: [V4RB] Valentina 2.0 installation // RESUME.
To: <valentina-beta at lists.macserve.net>,
	<valentina at lists.macserve.net>
Message-ID: <BCC7097D.1AB8A%sunshine at public.kherson.ua>
Content-Type: text/plain; charset="US-ASCII"

On 5/11/04 9:28 PM, "Claudius Sailer" <Claudius at sailer-online.de> wrote:

> When I can generate an app and also hold the VComponents in the
> Application Folder, than I can say to the users this is necessary that
> this is all together, but when they have to install something in
> /Library/CFMSupport this will be a little bit a problem, because it
> brings much more possible problems to me to support users by handling
> their problems.
> 
> But to shorten this discussion, the best solution would be a
> description what possibilities would work. For me as an Single-User-App
> Programmer it is necessary that as less as possible files the user need
> to handle und install.
> At the moment he has only to unpack a file and move it to the place he
> wants. Klick on the Icon and it works. Moves the folder to an other
> place and it works. Easy handling. I believe!!

Okay guys:

RESUME:

We will have at least 3 options

A) install Vcomponents folder into app folder.
    
    but note this is old OS 9 way.
    Apple for OS X have invent new way - Packages. So

B) PACKAGES.

    If somebody do now know what is this then please do next:
    find app Valentina Studio, or iTunes or iMovie or REALbasic 5.5 itself

    click by mouse on app to open context menu
    choose here item "Show package context"
    
    you will see a miracle :-)
    file of application will become a folder.
    
    go inside of that folder and you will find here how
    modern Apple Application must looks.


Btw, if talk about Packages.
It is task of REALbasic to build applications as packages.

If REALbasic 5.5 cannot do that then we all must press them to implement
this feature. CodeWarrior and xCode do this.


C) Vcomponents folder is in some central places.
    Some developers/app/solutions may find this better.



-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------


------------------------------

Message: 2
Date: Tue, 11 May 2004 23:19:40 +0300
From: Ruslan Zasukhin <sunshine at public.kherson.ua>
Subject: Re: [V4MD] Intermittent setMedia
To: <valentina at lists.macserve.net>
Message-ID: <BCC7100C.1ABA1%sunshine at public.kherson.ua>
Content-Type: text/plain; charset="US-ASCII"

On 5/11/04 11:12 PM, "Scott Runkel" <srunkel at hypix.com> wrote:

>> May be you have small cache size?
>> Use 8-20 MB
> 
> I seem to be using 4 MB, for no particular reason... I'll increase that to 20
> MB when I'm adding items to the db.
> 
> Question -- will a 20 MB cache require the end user to have a faster computer?
> More RAM? Etc.

Of course he must have enough RAM,

    your app eat RAM
    cache eat RAM
    Valentina algorithms eat RAM


> Another question -- should the cache be 8-20 MB just when I'm adding items, or
> also 8-20 MB for playback on the user's computer? The database will always be
> ReadOnly for playback. I want it to be as fast as possible, we're searching

Cache affect everything.

And it CAN and often will make searches faster,
Because data will be already in RAM.


>> 1000 fairly long articles (many pages each).
> 
>> Also for BLOB you use 128 bytes segment.
>> It should be close to AVERAGE size of BLOB data.
>> You have told about PAGE of text. This is 2KB.
>> Plus you store style info and other.
> 
> Good point. I looked at some of the #text members in Director and they are
> around 5 or 6KB each. This is BEFORE they are put into Valentina. When I
> retrieve them with getMedia(), the resulting #text member reports its size
> around 278 or 279 KB (!). Not sure what's going on there.

Really interesting!

>> I think you can easy play with 1-2 KB segment size
>> To see if it is better (by speed and file size)
> 
> I'll try 5KB since that's the average. Any downside there?

You can try add one record, or 100 records,
And check file .blb to see how big it is
And calculate disk usage per record.

Downside can be if you in 5KB segment store only 1KB data.
Then you lost 4KB on disk.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------


------------------------------

Message: 3
Date: Tue, 11 May 2004 23:26:22 +0300
From: Ruslan Zasukhin <sunshine at public.kherson.ua>
Subject: Re: [V4RB] Valentina 2.0 installation
To: <valentina at lists.macserve.net>
Message-ID: <BCC7119E.1ABA6%sunshine at public.kherson.ua>
Content-Type: text/plain; charset="US-ASCII"

On 5/11/04 11:12 PM, "Brendan Murphy" <bmurf at comcast.net> wrote:

>> Stan, Brandan,
>> 
>> I wonder if you have read suggestion of Frank (which work in Apple as I
>> know) and my answer: that you will be able provide to your users
>> 
>>     SINGLE FILE of application as Package.
>> 
>> This is a MODERN WAY of Apple and MAC today.
>> 
>> What problems guys ???
>> 
>> Yes, this will require A LITTLE more work from YOU as developer.
> 
> We all know about packages. I am developing in a cross platform
> environment (OS X and Win32). I need a solution for both.
> 
> Building the package requires extra work every time I build the
> application. I don't want my developers to be doing this. I want
> to customize the V4RB plugin once and then drop a plugin in the RB
> folder and go. 

This will not work.
Because inside of RB plugin there is no way keep DLLs.
And REALbasic will NOT copy them for you.
You must do that self.

REALbasic must support creation of packages as this do xcode and
CodeWarrior, then you will be able configure your project once and get your
dream. You see?

> You need to step up to the plate and provide a
> solution that is a cross platform solution.

Let's think about this, but again, REALbasic is limitation.
I cannot jump over them. Right?

So press REAL to implement auto-PACKAGES.
It is their task.

> It is way to early to decide  if I am going to purchase licenses
> for 2.0. The code bloat and your response to this issue are not
> encouraging. It appears to me that version 1.10 has taken on a
> value of it's own in comparison to version 2.0 since version's
> 1.10 all in one capability actually becomes a feature compared to
> 2.0.

No problems. I think we will not kill Valentina 1.10
And will keep it on ftp some time for e.g. Classic direction.

> For me, the functionality of version 1.10 satisfies all my needs
> for now and in the foreseeable future. The only question I have
> is, will 1.10 be maintained so that it keeps functioning with new
> releases of RB? I am not asking for new features, but just for
> maintenance releases.

In fact during 4 years we have NO NEED to fix anything.
Each new REALBasic version was able work with older plugins.
Right?

And as I see we do not expect from REALBasic revolution here.
They already have change format of plugins a lots.

> It is up to you Ruslan if you want to go the extra mile and
> provide an end-to-end solution if you want to encourage customers
> to upgrade to 2.0. Valentina should serve our application, and not
> the other way around.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------


------------------------------

Message: 4
Date: Wed, 12 May 2004 00:53:09 +0300
From: Ruslan Zasukhin <sunshine at public.kherson.ua>
Subject: FW: realbasic-nug Digest, Vol 2, Issue 71
To: <valentina at lists.macserve.net>,
	<valentina-beta at lists.macserve.net>
Message-ID: <BCC725F5.1ABDF%sunshine at public.kherson.ua>
Content-Type: text/plain; charset="US-ASCII"



Claudius  already have got answer from REAL on this question.



------ Forwarded Message
From: realbasic-nug-request at lists.realsoftware.com
Reply-To: realbasic-nug at lists.realsoftware.com
Date: Tue, 11 May 2004 16:42:10 -0500 (CDT)
To: realbasic-nug at lists.realsoftware.com
Subject: realbasic-nug Digest, Vol 2, Issue 71

Message: 9
Subject: Re: Making Packages
From: "Joseph J. Strout" <joe at realsoftware.com>
Date: Tue, 11 May 2004 15:19:22 -0500

At 10:00 PM +0200 5/11/04, Claudius Sailer wrote:

>I want to make packages out of my application. What do I have to do,
>that my Application looks like a package, like other MacOS X
>Applications. Is there any description online? Any link? Or is this
>impossible with RB-Applications?

If you make a Mach-O app, then it's a package already.  If you make a
PEF app, then you have to do it yourself.  One easy way to do that is
to first make a Mach-O app, then reach into it and replace the
executable with your PEF version.  Another way is to use Thomas
Reed's AppBundler (that's from memory, hopefully I got it right!).

Finally, of course, you could just do it manually based on Apple's
docs -- it's just a little folder hierarchy with a certain structure.

Best,
- Joe

------ End of Forwarded Message


------------------------------

Message: 5
Date: Tue, 11 May 2004 15:06:46 -0700
From: "Scott Runkel" <srunkel at hypix.com>
Subject: Re: [V4MD] Intermittent setMedia
To: "Valentina Developers" <valentina at lists.macserve.net>
Message-ID: <052601c437a4$406b3af0$0200a8c0 at SCOTT3>
Content-Type: text/plain;	charset="iso-8859-1"

> You can try add one record, or 100 records,
> And check file .blb to see how big it is
> And calculate disk usage per record.

Can I use ChangeFieldType() on an existing BLOB field (with data) to change the
segmentSize? Any problems there?
ChangeFieldType( gMyDataBase, fldFirstName, #kTypeBLOB, 4096)

Is there any other way to change the segmentSize of existing BLOB field that has
data in it? (Vstudio doesn't seem to do it).

-SR

Scott Runkel
Director of Technology
Hypix Media, Inc.
503-722-2123



------------------------------

Message: 6
Date: Wed, 12 May 2004 01:27:58 +0300
From: Ruslan Zasukhin <sunshine at public.kherson.ua>
Subject: Re: [V4MD] Intermittent setMedia
To: <valentina at lists.macserve.net>
Message-ID: <BCC72E1E.1ABED%sunshine at public.kherson.ua>
Content-Type: text/plain; charset="US-ASCII"

On 5/12/04 1:06 AM, "Scott Runkel" <srunkel at hypix.com> wrote:

>> You can try add one record, or 100 records,
>> And check file .blb to see how big it is
>> And calculate disk usage per record.
> 
> Can I use ChangeFieldType() on an existing BLOB field (with data) to change
> the segmentSize? Any problems there?

NO!

Segment size cannot be changed.


> ChangeFieldType( gMyDataBase, fldFirstName, #kTypeBLOB, 4096)
> 
> Is there any other way to change the segmentSize of existing BLOB field that
> has data in it? (Vstudio doesn't seem to do it).

Only XML dump,
Then in xML file edit segment size and load back.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------


------------------------------

Message: 7
Date: Tue, 11 May 2004 22:36:49 -0700
From: Gunnar Swan <gunnarswan at PracticeToPass.com>
Subject: SetStructureEncryption ... 
To: valentina at lists.macserve.net
Message-ID: <200405120530.i4C5Um56032566 at practicetopass.com>
Content-Type: text/plain; charset="us-ascii"


Good Day,

The SetStructureEncryption does not generate a ValentinaError() when wrong key is sent.

This is straight from the Examples ...
Notice I set encryption key to "abrakadabra2".
Database made with "abrakadabra"

------ Code Snippet from example shipping with 1.10
on OpenDB
  global gDB
  
  set gDB = new(xtra"VDataBase")
  
  -- BEFORE we open database we need tell to database object the encryption key.
  SetStructureEncryption( gDB, "abrakadabra2" )
  openDatabase(gDB, the moviePath & "test.vdb", 4)
  
end CreateDB 
---- End Code Snippet.


Go to examples, Structure Encryption. Change password on openDB.  

Should ValentinaError() generate a 326 ... Wrong Encryption Key ??
But ValentinaError() returns 0 ... no error reported.



Best Regards,
Gunnar Swan
Practice To Pass
1.888.307.2050
http://www.PracticeToPass.Com




------------------------------

Message: 8
Date: Wed, 12 May 2004 08:53:43 +0300
From: Ruslan Zasukhin <sunshine at public.kherson.ua>
Subject: Re: SetStructureEncryption ... 
To: <valentina at lists.macserve.net>,	Jochen Peters
	<j.peters at valentina-db.de>
Message-ID: <BCC79697.1AC54%sunshine at public.kherson.ua>
Content-Type: text/plain; charset="US-ASCII"

On 5/12/04 8:36 AM, "Gunnar Swan" <gunnarswan at PracticeToPass.com> wrote:

> Good Day,
> 
> The SetStructureEncryption does not generate a ValentinaError() when wrong key
> is sent.
> 
> This is straight from the Examples ...
> Notice I set encryption key to "abrakadabra2".
> Database made with "abrakadabra"
> 
> ------ Code Snippet from example shipping with 1.10
> on OpenDB
> global gDB
> 
> set gDB = new(xtra"VDataBase")
> 
> -- BEFORE we open database we need tell to database object the encryption key.
> SetStructureEncryption( gDB, "abrakadabra2" )
> openDatabase(gDB, the moviePath & "test.vdb", 4)
> 
> end CreateDB 
> ---- End Code Snippet.
> 
> 
> Go to examples, Structure Encryption. Change password on openDB.
> 
> Should ValentinaError() generate a 326 ... Wrong Encryption Key ??
> But ValentinaError() returns 0 ... no error reported.

Jochen,

I wonder, in Valentina Studio this works for you?

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------


------------------------------

Message: 9
Date: Tue, 11 May 2004 23:01:41 -0700
From: Gunnar Swan <gunnarswan at PracticeToPass.com>
Subject: Re: SetStructureEncryption ... 
To: Valentina Developers <valentina at lists.macserve.net>
Message-ID: <200405120555.i4C5teXO003910 at practicetopass.com>
Content-Type: text/plain; charset="us-ascii"


I don't use the studio. All I use is the Director Xtra and Lingo.


>> Go to examples, Structure Encryption. Change password on openDB.
>> 
>> Should ValentinaError() generate a 326 ... Wrong Encryption Key ??
>> But ValentinaError() returns 0 ... no error reported.
>
>Jochen,
>
>I wonder, in Valentina Studio this works for you?
>


Best Regards,
Gunnar Swan
Practice To Pass
1.888.307.2050
http://www.PracticeToPass.Com




------------------------------

Message: 10
Date: Tue, 11 May 2004 23:05:03 -0700
From: Gunnar Swan <gunnarswan at PracticeToPass.com>
Subject: Example 007 - Encryption
To: Valentina Developers <valentina at lists.macserve.net>
Message-ID: <200405120559.i4C5x2l2004145 at practicetopass.com>
Content-Type: text/plain; charset="us-ascii"


Hello Again.

Different issue. 

>From your example ....

--Start Code Snippet
on OpenDB
  global gDB
  set gDB = new(xtra"VDataBase")
  -- BEFORE we open database we need tell to database object the encryption key.
  --SetEncryption( gDB, "abrakadabra2" )
  openDatabase(gDB, the moviePath & "test.vdb", 4)
  
end CreateDB 
-- End Code snippet.

Here, we don't SetEncryption. It's remarked out. 
Stop the code after openDatabase.

then .. put ValentinaError()

ValentinaError() reports 0 ... no error. But in fact, how can encrypted database open ( and not generate error), when no key supplied ?


Best Regards,
Gunnar Swan
Practice To Pass
1.888.307.2050
http://www.PracticeToPass.Com




------------------------------

_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina


End of Valentina Digest, Vol 17, Issue 12
*****************************************



More information about the Valentina mailing list