|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
02-20-2008 16:14
Ah. Whew. Gotcha. Implementing a full language parser in LSL--unless it is a VERY simple LL(1) language or something--doesn't seem very realistic with our current feature set. Sounds like your project will be a fun one. I'm sure the WHERE conditions (for UPDATE?) will be tricky unless you really trim down the allowed forms of expression.
|
|
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
|
02-20-2008 16:26
Yes, that is where I have been stuck the past 2 days  Due to performance and memory overhands I am seriously restricting it to one condition, and only % is supported as a wild card. My tests on parallel processing though are promising for potential multi field multi condition tests, but I want to get a simple one or 2-script version finished before I push the limits.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
02-20-2008 16:49
From: Hewee Zetkin I believe they are CHARACTER limits. I think characters in SL are encoded in UTF-8 or UTF-16, so you MIGHT be able to get away with more than 63 or 127 bytes of storage. I hate these hacks though myself. Go with a real solution like HTTP if you need it. Really. as opposed to notecard writing bot clients?  (actually I thought that idea was cool... hilarious, because you could run a local server easier, but still cool) you must remember though, that http is not always an option for each person... and not a really good solution for small saleable applications within SL. that would require the end user to have their own (ahaha, try selling that), or for the seller to maintain one for the buyer (ongoing expense for a onetime sale? no thanks. trying to sell a maintenance service? no thanks) but back to the question of character... it'd seem odd to me to have variable bitlength fields, for items that are presumably limited and interpreted by the sim. and how would different viewers tell the difference? utf-16 makes the most sense, I suppose, meaning double my quoted numbers, but that's still not on par with the numbers Olj quotes... did I miss something? ok enough OT =)
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
|
02-20-2008 17:49
From: Void Singer as opposed to notecard writing bot clients?  (actually I thought that idea was cool... hilarious, because you could run a local server easier, but still cool) LOL. Well, that suggest was a LITTLE tongue-in-cheek, but fun to imagine anyway. From: someone you must remember though, that http is not always an option for each person... and not a really good solution for small saleable applications within SL. that would require the end user to have their own (ahaha, try selling that), or for the seller to maintain one for the buyer (ongoing expense for a onetime sale? no thanks. trying to sell a maintenance service? no thanks) True. There are services like at w-hat.com, but there are of course security considerations when using such things. It is interesting to see people pushing the boundaries of the system, but when it comes to details like the number of characters allowed in a prim description, or the number of link message events that will queue per script, I just have to think it is a recipe for disaster, at least if much is invested in the solution. From: someone ...meaning double my quoted numbers, but that's still not on par with the numbers Olj quotes... did I miss something? No, I don't think you did. I was just addressing the uncertainty about the number of bits per character that I saw. Not that I'm still very certain about the answer, but looking at the character encoding used and finding out if it is a byte or a character limit (I believe the official announcement mentioned characters) would be the way to go if you're really interested. I suppose it is funny to talk about it if I don't condone depending on the exact limit anyway, but ah well. 
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
02-20-2008 19:00
From: Hewee Zetkin LOL. Well, that suggest was a LITTLE tongue-in-cheek, but fun to imagine anyway. I know, that's why I mentioned it.. just the whole imagery of it makes me giggle... :;waits for the notecard faerie to tp in and write my notecard for me, leaves out a bowl of milk and a few linden under the debit permissions::
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
|
02-20-2008 19:29
wow 2 pages of headache all cause SL cant write text into a file
crazy aint it
|