The siglum key explained.
On 10/28/10 11:21 PM, dunb...@aol.com wrote: Richmond. snip And what is the story with siglum? Well; on Mac keyboards the top-left key has a siglum: § on it, rather than a `; that key usually being to the left of the Z key. Whether § should be classified seriously as one of the sigla is a bit of a moot point; I do know that it is often used to mark secondary footnotes in 18th and 19th century books. Why the thing is on a Mac keyboard I just don't know. Richmond. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
This probably reflects my complete ignorance, but...
All, I use RunRev in my lab: indeed, it does everything in my lab: all of my lab computers have it, except they have it as Metacard, but that shouldn't be an issue (or if it is, then I really have an issue, as it has to be in the Metacard IDE!). I never create standalones (well, I have done so to respond to beta-release questions, but that is not my usual use). I use Metacard to do everything: it is the hypercard of now. So, EVERYTHING I do runs in the IDE. I don't want it otherwise (I have self-modifying code and all sorts of horrors you don't want to know about), because I like the original hypercard ideal: it is how I work and think. Ok, that out of the way: I have a simple stack to edit face photographs to eye-align them. That means: simple scaling, rotating, and translating. Trivial. And not a problem. But, I need to locate the eyes in each photo first. So, I designed a simple stack to have the user *in the Metacard IDE* drag a line between the eyes to get the coordinates of the eyes in the photograph. Again, simple. BUT: in the Metacard IDE, as soon as I script-select the line to allow the user to draw the line so my code can get the rect, it switches the IDE to edit mode, which means any subsequent clicks on buttons (to indicate that the line has been drawn, etc.) put that button (or whatever object) into edit mode, so the intent of the object is lost. Suggestions? Remember, they have to work within the Metacard IDE, and I can't know ahead of time when the user has finished drawing or adjusting the line. Obviously, the Metacard IDE itself has solved the problem (e.g., all of the IDE stacks remain in use not edit modes), but I remain baffled. -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revweb plug-in for linux
Thanks guys, food for thought. This would probably do most of it, have him able to write it in something he is comfortable with, but also centralize it so as not to proliferate copies. Should have thought of it. Thanks. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revweb-plug-in-for-linux-tp3016951p3018629.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: libURLDownloadToFile and LiveCode
On 29 Oct 2010, at 06:58, Ludovic Thébault wrote: Hello, Under Revolution 4, this script work like a charm : on mouseup ... libURLDownloadToFile theUrl, theDestUrl, Downloaded wait 0 milliseconds with messages ShowInfo theUrl end mouseup on ShowInfo pUrl local tStatus,tResult put URLStatus(pUrl) into tStatus switch case tStatus end switch send ShowInfo pUrl to me in 10 milliseconds end ShowInfo But with liveCode i've haven't the status and nothing seem to happen. What is wrong ? I'm not sure, but perhaps this has something to do with the new asynchronous behavior of the hostNameToAddress function. It seems that urlStatus will now return empty for a short period between issuing the load command and the point after it has obtained the IP address of the host. (previously this stage was done synchronously) Are you checking for tStatus = empty in your switch? Does your switch control do anything that stops the load continuing in that situation? As an alternative, you could try this (probably not reliable as a permanent solution, but it might confirm that this is the problem ) : on mouseup ... libURLDownloadToFile theUrl, theDestUrl, Downloaded send ShowInfo theUrl to me in 100 milliseconds end mouseup If you want to track the status during the download, libUrlSetStatusCallback may be a better option. Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: This probably reflects my complete ignorance, but...
John, It's easy, but not so straightforward to do this. Put this in your message box and hit enter: go URL (http://www.widgetgadget.com/stuff/testLineDraw.rev;) On Fri, Oct 29, 2010 at 1:54 AM, Vokey, John vo...@uleth.ca wrote: So, I designed a simple stack to have the user *in the Metacard IDE* drag a line between the eyes to get the coordinates of the eyes in the photograph. Again, simple. BUT: in the Metacard IDE, as soon as I script-select the line to allow the user to draw the line so my code can get the rect, it switches the IDE to edit mode, which means any subsequent clicks on buttons (to indicate that the line has been drawn, etc.) put that button (or whatever object) into edit mode, so the intent of the object is lost. Suggestions? Remember, they have to work within the Metacard IDE, and I can't know ahead of time when the user has finished drawing or adjusting the line. Obviously, the Metacard IDE itself has solved the problem (e.g., all of the IDE stacks remain in use not edit modes), but I remain baffled. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Missing mouse clicks
Break it down to a simple stack and try and replicate the error. Chances are you'll isolate the problem. If not, post the simple stack and I or someone else can take a look at it. On Thu, Oct 28, 2010 at 7:06 PM, Terry Judd t...@unimelb.edu.au wrote: I¹ve got something weird going on where after creating a series of objects by script ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[OT] My G3 and DVDs
Back to the Future . . . All works superbly except . . . The Lightscribe DVD burner. All DVD burning software gets stuck. - Flash the ROM, Dance naked in the streets, (well, it is also a kind of flashing) Hack things ??? - Any, reasonably sensible, ideas welcome. sincerely, Richmond. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Auto-updating apps, and splash screens.
On 29/10/2010 05:40, stephen barncard wrote: Search for Magic Carpet at Chipp's site. I tried Magic Carpet when it was first announced, and it was a good backup/archive/version-control system, but I don't remember anything about auto-update, and there's nothing about auto-update in the web pages about Magic Carpet. On 29/10/2010 05:10, Jim Sims wrote: Alex - search the List archives for Chipp's updater, he has a few posts that outline what seems to be a good system and gives some excellent advice. I did (eventually) find that advice. It's well hidden because some other emails in the archive refer to it, but have the wrong link. It should be http://lists.runrev.com/pipermail/use-revolution/2003-August/021626.html and you're right, lots of good advice, looks like a good system, etc. I was just hoping for some working example to start from. Richard Gaskin has most of this in the auto-download used in RevNet, so I may try taking that and expanding it into auto-updater.Sounds like a project for a quiet evening Thanks -- Alex. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Auto-updating apps, and splash screens.
Le 29 oct. 2010 à 11:59, Alex Tweedly a écrit : . and you're right, lots of good advice, looks like a good system, etc. I was just hoping for some working example to start from. Hi Alex, Out of my cloudy memory, there is on RevOnline a stack called Registration-Update, Registration and update,... or something like that. Don't know if it is a useful one but as you want something to start :) My 2 cents. Thierry ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: libURLDownloadToFile and LiveCode
Le 29 oct. 2010 à 10:38, Dave Cragg a écrit : I'm not sure, but perhaps this has something to do with the new asynchronous behavior of the hostNameToAddress function. It seems that urlStatus will now return empty for a short period between issuing the load command and the point after it has obtained the IP address of the host. (previously this stage was done synchronously) Are you checking for tStatus = empty in your switch? Does your switch control do anything that stops the load continuing in that situation? Yes ! Thanks, now it's work.___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[OT] Re:The siglum key explained.
I looked at siglum, wondering if it has something to do with gollum or glum. Well, Siglum seems to be a generic denomination for special characters (*,#,§,,@...). On Mac's character wiever § is called Section sign, what seems to be the normal name in english. It is highly used in legal writing to refer to sections of laws and so on. in french § is usually called paragraphe but the nicest name is the one of the ampersand () : esperluette. Thanks to RunRev (and Richmond) I'm learning new things every day ! Jacques Le 29 oct. 2010 à 08:26, Richmond Mathewson a écrit : On 10/28/10 11:21 PM, dunb...@aol.com wrote: Richmond. snip And what is the story with siglum? Well; on Mac keyboards the top-left key has a siglum: § on it, rather than a `; that key usually being to the left of the Z key. Whether § should be classified seriously as one of the sigla is a bit of a moot point; I do know that it is often used to mark secondary footnotes in 18th and 19th century books. Why the thing is on a Mac keyboard I just don't know. Richmond. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] My G3 and DVDs
Did you try PatchBurn ? http://www.patchburn.de/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] My G3 and DVDs
On 10/29/2010 03:15 PM, Shao Sean wrote: Did you try PatchBurn ? http://www.patchburn.de/ ___ Thanks; I have already tried that; to no avail. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: The siglum key explained.
Richmond. On Mac keyboards? I have a tilde and a sort of mini backSlash (ASCII 57) Like everyone else. But I see what you meant, your odd char is used to reference or annotate secondary sources in a text. It is a sigla, part of a siglum. How much do you want for that keyboard? Craig ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
html entities
Got a small problem and wondering if there's any way around it. When getting the htmlText of a field, is there any way to make Rev/LiveCode return the numeric html entities of special characters? So for example, if I have a word in Spanish, like día (accented i), if I put that into a text field and get the htmlText property of that field, is there any way to return the string d#237;a instead of diacute;a? When setting the htmlText property, either one works, but Rev always returns the latter. Thoughts? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: This probably reflects my complete ignorance, but...
Chip. That photo is hilarious. Was that some band promo fail or something? Creepy. Perfect for your demo though. On 29 October 2010 01:48, Chipp Walters ch...@chipp.com wrote: go URL (http://www.widgetgadget.com/stuff/testLineDraw.rev;) -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Photoshop Applescript fails , why?
On 10/28/10 5:36 PM, Terry Judd wrote: What happens if you use system events to activate Photoshop first and then tell Photoshop to do its action? tell application System events to tell application Adobe Photoshop CS5 to activate tell application Adobe Photoshop CS5 to do action [action] from [set] Terry... using the QA center works! Mark replied that he thought there must be a bad character in the script... I have no idea why cutting and pasting from Script Editor.app would introduce char that causes LiveCode to fail to compile the applescript... but a hard wired approach works: local tScript put merge(tell application [[quote]]Adobe Photoshop CS5[[quote]]) return after tScript put merge(activate) return after tScript put merge(do action [[quote]]merge leaves[[quote]] from [[quote]]Merge Leaves[[quote]]) return after tScript put merge(end tell) return after tScript do tScript as applescript Case closed for now. I opened a new thread for the next leg of this adventure: looping Sivakatirswami ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: html entities
I use HTML text not at all, but after looking at the dictionary, it seems there is no direct way to do this. I could be wrong. But it would be simple to take the output and do a little massaging. An ampersand seems always to be inserted as a tag when the function encounters a character with ASCII above 128, and a semicolon seems always to act as a terminating tag. You can write a widget to find those characters, and convert them to ASCII with the charToNum function. Craig Newman ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: html entities
One could roll a special getprop handler that lives in the script of the field (and / or controlled by a behavior for several fields ) that can change the text (using replace or merge) to anything you want: *instead of * get the htmltext of fld xxx *call your getprop property instead* get the htmlConvertedEntitiesText of fld xxx On 29 October 2010 07:53, Chris Sheffield cmsheffi...@gmail.com wrote: Got a small problem and wondering if there's any way around it. When getting the htmlText of a field, is there any way to make Rev/LiveCode return the numeric html entities of special characters? So for example, if I have a word in Spanish, like día (accented i), if I put that into a text field and get the htmlText property of that field, is there any way to return the string d#237;a instead of diacute;a? When setting the htmlText property, either one works, but Rev always returns the latter. Thoughts? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: The siglum key explained.
On 10/29/2010 04:41 PM, dunb...@aol.com wrote: Richmond. On Mac keyboards? I have a tilde and a sort of mini backSlash (ASCII 57) Like everyone else. But I see what you meant, your odd char is used to reference or annotate secondary sources in a text. It is a sigla, part of a siglum. How much do you want for that keyboard? Craig ___ Very funny; all the Mac keyboards I have have the siglum key in the top-left corner. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: html entities
I should have been more clear. Use the ampersand and semicolon to locate the original char in the source text. Convert that char with the charToNum function. If your source text actually contains ampersands and semicolons, it is a bit more involved. The ampersand itself comes over as amp. So you can find this string and deal with it. But the semicolon appears all by itself. Still, you can determine whether it is a standalone semicolon or a terminating tag by examining the chars precediing it. I would test extensively. Another, maybe better, way would be to initially replace those two chars with something you never use (I like ASCII 240). Then run your gadget and restore them by replacing the resulting strings with and :. Craig Newman In a message dated 10/29/10 11:29:08 AM, dunb...@aol.com writes: But it would be simple to take the output and do a little massaging. An ampersand seems always to be inserted as a tag when the function encounters a character with ASCII above 128, and a semicolon seems always to act as a terminating tag. You can write a widget to find those characters, and convert them to ASCII with the charToNum function. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: The siglum key explained.
Hmmm. Must be a European thing? Craig In a message dated 10/29/10 11:59:15 AM, richmondmathew...@gmail.com writes: Very funny; all the Mac keyboards I have have the siglum key in the top-left corner. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: The siglum key explained.
On 10/29/10 10:59 AM, Richmond wrote: Very funny; all the Mac keyboards I have have the siglum key in the top-left corner. I've never seen it that way. All my Mac keyboards have a tilde in that position. International differences, maybe? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: html entities
On 10/29/10 11:11 AM, dunb...@aol.com wrote: I should have been more clear. Use the ampersand and semicolon to locate the original char in the source text. Convert that char with the charToNum function. Except that the htmltext doesn't return characters you can convert in these cases, it returns constants that html recognizes, like acute and mdash, etc. Chris will need a lookup table, I think. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: The siglum key explained.
On 10/29/2010 07:31 PM, J. Landman Gay wrote: On 10/29/10 10:59 AM, Richmond wrote: Very funny; all the Mac keyboards I have have the siglum key in the top-left corner. I've never seen it that way. All my Mac keyboards have a tilde in that position. International differences, maybe? http://andregarzia.on-rev.com/richmond/Siglum.png ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: The siglum key explained.
On Oct 29, 2010, at 6:31 PM, J. Landman Gay wrote: I've never seen it that way. All my Mac keyboards have a tilde in that position. International differences, maybe? Yup, my UK English has the siglum and a plus/minus in the upper left corner. There are UK, American, Universal (I think that's the name) English keyboard versions. sims ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
App store audio blog discussion
http://www.coreint.org/audio/CoreInt_34.mp3 Interesting discussion from well know developers Daniel Jalkut is the founder of Red Sweater Software. Manton Reece is the founder of Riverfold Software. sims ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: This probably reflects my complete ignorance, but...
On 10/29/10 1:54 AM, Vokey, John wrote: in the Metacard IDE, as soon as I script-select the line to allow the user to draw the line so my code can get the rect, it switches the IDE to edit mode, which means any subsequent clicks on buttons (to indicate that the line has been drawn, etc.) put that button (or whatever object) into edit mode, so the intent of the object is lost. Suggestions? Remember, they have to work within the Metacard IDE, and I can't know ahead of time when the user has finished drawing or adjusting the line. Obviously, the Metacard IDE itself has solved the problem (e.g., all of the IDE stacks remain in use not edit modes), but I remain baffled. The IDE doesn't matter, it works the same way in any IDE and is normal engine behavior. Both LiveCode and MetaCard manage this by making their IDE stacks into palettes or modeless windows. Those window styles always operate in browse mode. It's been years since I played with this, but if nothing has changed, the engine still sends all mouse messages normally even in edit mode. However, both IDEs trap those messages in a frontscript in order to manage editing actions. You can get around that by temporarily removing the frontscript, waiting for a mouseEnter into a button, and then restoring the frontscript and going back into browse mode. But that can be tricky and prone to error, which is why it is much easier to just provide palettes for user interactions during editing operations. I haven't tried it lately so it may not work anyway. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: The siglum key explained.
See Wikipedia: http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY The siglum at topleft seems to be found in Scandinavian countries and in Holland, at least in the QWERTY layout. The british version at least in this article, doesn't have any siglum key at all (must be an alt/option-key combination). I never realized how much variation there is in these things. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Oct 29, 2010, at 12:41 PM, Jim Sims wrote: On Oct 29, 2010, at 6:31 PM, J. Landman Gay wrote: I've never seen it that way. All my Mac keyboards have a tilde in that position. International differences, maybe? Yup, my UK English has the siglum and a plus/minus in the upper left corner. There are UK, American, Universal (I think that's the name) English keyboard versions. sims ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: html entities
Jacques. I meant he could search for strings bracketed by an ampersand and a semicolon, with the complications as a bonus, of course. Craig In a message dated 10/29/10 12:34:30 PM, jac...@hyperactivesw.com writes: Except that the htmltext doesn't return characters you can convert in these cases, it returns constants that html recognizes, like acute and mdash, etc. Chris will need a lookup table, I think. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
[OT] G3 and USB 2
So; having got a generic USB 2.0 PCI card recognised in my Back-to-the-Future G3 Mac I have started having a lot of 'fun' with it: 1. It works very well with my faithful Belkin Nostromo. 2. When I plug 2 external USB 2 hard-drives into it they are not recognised AND nor is the Nostromo. Queer or what? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: html entities
Yeah, looks like a lookup table of some kind is my best bet. Thanks for the suggestions. Chris On Oct 29, 2010, at 10:34 AM, J. Landman Gay wrote: On 10/29/10 11:11 AM, dunb...@aol.com wrote: I should have been more clear. Use the ampersand and semicolon to locate the original char in the source text. Convert that char with the charToNum function. Except that the htmltext doesn't return characters you can convert in these cases, it returns constants that html recognizes, like acute and mdash, etc. Chris will need a lookup table, I think. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: html entities
If you don't want to use a lookup table then pulling out these entities using repeat while matchchunk and in the loop setting the htmltext of a second field and doing chartonum on the text of the field would work. Cheers Monte Sent from my iPad On 30/10/2010, at 1:53 AM, Chris Sheffield cmsheffi...@gmail.com wrote: Got a small problem and wondering if there's any way around it. When getting the htmlText of a field, is there any way to make Rev/LiveCode return the numeric html entities of special characters? So for example, if I have a word in Spanish, like día (accented i), if I put that into a text field and get the htmlText property of that field, is there any way to return the string d#237;a instead of diacute;a? When setting the htmlText property, either one works, but Rev always returns the latter. Thoughts? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Best practice for creating a custom control
Hello everybody, I'm looking for a kind of best practice for creating custom controls. For example, how to access the data of the custom control ? Do we have to use custom properties or a setProp or getProp handlers or both ? Is it preferable to use a prefix for naming a command ? And for custom properties, do we have to use a set of properties ? With a standard name ? Etc. Thank you for you help. Jerome ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Best practice for creating a custom control
Hi Jerome, You might want to have a look at the scripts of the password field, available at http://qurl.tk/jo -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed. On 30 okt 2010, at 01:14, Jérôme Rosat wrote: Hello everybody, I'm looking for a kind of best practice for creating custom controls. For example, how to access the data of the custom control ? Do we have to use custom properties or a setProp or getProp handlers or both ? Is it preferable to use a prefix for naming a command ? And for custom properties, do we have to use a set of properties ? With a standard name ? Etc. Thank you for you help. Jerome ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Stress-testing SQLite
I have a need coming up for a data store that can robustly handle at least a million records, ideally up to five million, where each record may be as large as 5k. I don't need relationality, so for me SQLite is an option but only an option; I'm happy to consider other options as well. (Yes, it has to be SQLite rather than MySQL, because it needs to work embedded with a commercial application). Have any of you done stress testing on SQLite to that degree? I've tried finding even anecdotal data on the web for SQLite limits, and while I can find citations of theoretical limits I haven't come across real-world usage stories of data sets that large. Should I be confident in SQLite as a storage solution for that? Should I be scared? Thanks in advance for sharing your experiences with large data sets if SQLite. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Stress-testing SQLite
on Fri Oct 29 19:17:40 CDT 2010, Richard Gaskin wrote: Thanks in advance for sharing your experiences with large data sets if SQLite. Hi Richard, How many tables and how many columns per table (on average) are you talking about? That can make a big difference to the performance if there are JOINS involved. If not, then that's not so much a problem. Will the user always apply a WHERE filter to the data? What's the potential return record set count on a typical filter? I'd be happy to do some stress testing if you can give me some details. Regards, Mark Stuart ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: This probably reflects my complete ignorance, but...
Hi John, Check the card script of these stacks: http://andregarzia.on-rev.com/alejandro/stacks/newPentoolScript_v02.zip http://andregarzia.on-rev.com/alejandro/stacks/CurvedDrawingPen_v01.zip Use these scripts as you like, but notice that instead of using a line created by the user, i would provide the user with two round graphics joined by a line, hopefully better that this: ;-) http://andregarzia.on-rev.com/alejandro/stacks/BezierLine1_1.zip Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/This-probably-reflects-my-complete-ignorance-but-tp3018542p3019924.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Stress-testing SQLite
Mark Stuart wrote: on Fri Oct 29 19:17:40 CDT 2010, Richard Gaskin wrote: Thanks in advance for sharing your experiences with large data sets if SQLite. Hi Richard, How many tables and how many columns per table (on average) are you talking about? Probably just a single table, with about 20 columns. That can make a big difference to the performance if there are JOINS involved. None - all flat. I'd even considered rolling my own data storage for this one, but the indexing is more work that I'd care to do if I can use an off-the-shelf solution. If not, then that's not so much a problem. Good to hear. Will the user always apply a WHERE filter to the data? For the most part, yes. I'll have about three or maybe four indexes, and most of the time the searches will be using those. I may have the odd case of a substring search, but the performance hit is anticipated. What's the potential return record set count on a typical filter? It'll vary, and in my own tests that seems to be the only bottleneck with SQLit; queries that return little data are ultra speedy, but once we get into large amounts of return data I see the hit. I'd be happy to do some stress testing if you can give me some details. Thanks. Don't knock yourself out; I'll be continuing with my own tests here, but if this sort of thing passes for entertainment in your house then of course I'd be grateful for any details you turn up. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] G3 and USB 2
Have tried shutting down the computer and rebooting with them still plugged in? If not that will probably mount them but it will be the same everytime. -=JB=- On Oct 29, 2010, at 12:30 PM, Richmond wrote: So; having got a generic USB 2.0 PCI card recognised in my Back-to-the-Future G3 Mac I have started having a lot of 'fun' with it: 1. It works very well with my faithful Belkin Nostromo. 2. When I plug 2 external USB 2 hard-drives into it they are not recognised AND nor is the Nostromo. Queer or what? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Stress-testing SQLite
On 10/29/10 3:10 PM, Richard Gaskin wrote: It'll vary, and in my own tests that seems to be the only bottleneck with SQLit; queries that return little data are ultra speedy, but once we get into large amounts of return data I see the hit. Just a reminder, which you probably don't need at all, but I had this same experience with PostGreSQL recently, but probably for different reasons: but FWIW... I was using and old example SQL stack... small data returns were fast, but a lot of data (select * from table whatever.. i.e. everything) from a PostGreSQL database adding it to a display field. It took forever... Then I remembered Dont' Do That! When I got all the data in a variable and just posted to the field once, it was like 20 times faster. skts ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Stress-testing SQLite
32TB db limit according to this: http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems#Limits Maybe use limit and offset to page through query results though. Cheers Monte Sent from my iPad On 30/10/2010, at 11:17 AM, Richard Gaskin ambassa...@fourthworld.com wrote: I have a need coming up for a data store that can robustly handle at least a million records, ideally up to five million, where each record may be as large as 5k. I don't need relationality, so for me SQLite is an option but only an option; I'm happy to consider other options as well. (Yes, it has to be SQLite rather than MySQL, because it needs to work embedded with a commercial application). Have any of you done stress testing on SQLite to that degree? I've tried finding even anecdotal data on the web for SQLite limits, and while I can find citations of theoretical limits I haven't come across real-world usage stories of data sets that large. Should I be confident in SQLite as a storage solution for that? Should I be scared? Thanks in advance for sharing your experiences with large data sets if SQLite. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] G3 and USB 2
I forgot to mention also have the drive turned on. In other words every time you want to mount the drive have the computer shut down make sure the drives are plugged in and turned on then boot the computer. -=JB=- On Oct 29, 2010, at 6:22 PM, -=JB wrote: Have tried shutting down the computer and rebooting with them still plugged in? If not that will probably mount them but it will be the same everytime. -=JB=- On Oct 29, 2010, at 12:30 PM, Richmond wrote: So; having got a generic USB 2.0 PCI card recognised in my Back-to-the-Future G3 Mac I have started having a lot of 'fun' with it: 1. It works very well with my faithful Belkin Nostromo. 2. When I plug 2 external USB 2 hard-drives into it they are not recognised AND nor is the Nostromo. Queer or what? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [OT] G3 and USB 2
Another important thing to remember is some drives like the LeCie drives can be very touchy. Do not use them to run programs or do much work is the best way to prevent crashes so just use it for a back up drive. And to unmount the drive you might be safest shutting down the computer then turning off the drive and rebooting your computer again instead of using the normal unmount option. I figured it out the hard way but your drive may not give you the same problems I had. And when I say I learned the hard way I had to recover the drive which was more learning and it does not always work recovering files. -=JB=- On Oct 29, 2010, at 7:28 PM, -=JB wrote: I forgot to mention also have the drive turned on. In other words every time you want to mount the drive have the computer shut down make sure the drives are plugged in and turned on then boot the computer. -=JB=- On Oct 29, 2010, at 6:22 PM, -=JB wrote: Have tried shutting down the computer and rebooting with them still plugged in? If not that will probably mount them but it will be the same everytime. -=JB=- On Oct 29, 2010, at 12:30 PM, Richmond wrote: So; having got a generic USB 2.0 PCI card recognised in my Back-to-the-Future G3 Mac I have started having a lot of 'fun' with it: 1. It works very well with my faithful Belkin Nostromo. 2. When I plug 2 external USB 2 hard-drives into it they are not recognised AND nor is the Nostromo. Queer or what? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution