Re: Datagrid Basics
Le 19 août 10 à 04:43, Ray Horsley a écrit : Greetings, Anybody with some basics on how to provide users with the ability to double click in a cell and get an insertion point to edit text? This works fine in development but after saving a standalone the grid comes up unresponsive. Ideally there would be a simple way to specify individual columns to be editable or not. Thanks, Ray Horsley LinkIt! Software Bonjour, Assuming you have a Splash stack, did you create a substack of it, whose name beging with Data Grid Templates ? This is necessary in order the Standalone Builder includes the revDataGridLibrary See lesson 7.1 in the doc from Trevor : What Do I Need to Do To Deploy a Standalone With A Data Grid? http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- HTH Best regards from Grenoble André ___ 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: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table?
On Thu, Aug 19, 2010 at 1:48 AM, Josh Mellicker j...@dvcreators.net wrote: If you set a custom behavior for the column you want the sum in, and where it has the section for filling data, put put the dgDataOfIndex[ the dgIndex of me] of the dgControl of me into theDataA set the text of field 1 of me to (theDataA[Col 2] + theDataA[Col 3]) Should work fine. Not positive this is the best method, but seems to work dandy fine with small datasets. Haven't tried it with big ugly datasets. If you didn't want to fetch all of the data for the entire row you could use GetDataOfIndex. GetDataOfIndex only retrieves the value of a specific column. put the dgIndex of me into theIndex set the text of field 1 of me to (GetDataOfIndex(theIndex, Col 2) + GetDataOfIndex(theIndex, Col 3)) And this code goes into FillInData in the table's behavior, right? You have two options: - change the script in the column behavior for the column you want to display a sum. - or define a default column behavior for the datagrid If you choose the first option, change your script with a code like this: on FillInData pData local tTheIndex put the dgIndex of me into tTheIndex put sumOfColumn(tTheIndex,Col2,Col3) into pData set the text of the long id of me to pData end FillInData function sumOfColumn pTheIndex local tTheSum put 0 into tTheSum repeat with x = 2 to the paramcount add GetDataOfIndex(pTheIndex,param(x)) to tTheSum end repeat return tTheSum end sumOfColumn If you prefer the second solution, you're welcome to download and use the code of the sample stack I proposed in my first reply ;) Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Datagrid Basics
On Thu, Aug 19, 2010 at 4:43 AM, Ray Horsley r...@linkit.com wrote: Greetings, Ideally there would be a simple way to specify individual columns to be editable or not. Hi Ray, You can define if a column is editable or not by using the dgColumnIsEditable property of a datagrid Example for locking the content of a column named myColName set the dgColumnIsEditable [myColName] of group myDataGrid to false Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Accessing custom props using array notation
Devin, Put the custom prop into an array var, then you can access the contents. put the uMyArray of btn test into tArray put tArray[prop1] into tVar On Wednesday, August 18, 2010, Devin Asay devin_a...@byu.edu wrote: Anyone know if it's possible to access custom properties from an objects default custom property set using array notation? This is easy to do for custom property sets you create yourself. set the myPropSet[prop1] of btn myBtn to foo -- works But I can't figure out if you can do the same thing with the default set: put the customKeys[prop1] of img myImg into bar -- doesn't work If this could be done it would be nice for constructing custom property names dynamically when access custom props, as in a sequence of prop names like prop1, prop2, prop3, etc. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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: Pattern recognition of basic shapes in Rev
I am working on two such filters. The first is a brute force recognizer looking for matches to standard shapes (point, line, angle, triangle, rectangle, polygon, oval, conic and cylindric sections) and how closely a user drawing matches platonic forms of these (exp. right and equilateral triangles, square, right rectangle, golden rectangle, parallelogram, circle) at any rotation. The second filter is one I have been working on for 15 years and is a universal pattern engine which does the same as above but without a set of arbitrarily pre-defined target shapes. From the self-evolving AI perspective from which I work, I consider the first filter set cheating and embarrassing (but hey, it is far easier to pull off). By the way, anyone can copy a code library or algorithm. I am always interested in the ways different people go about solving problems like this. The way I attack a problem is by collecting salient data. What can I know about these user created polygons (number of points (or line segments), vertice angles between segments, relative segment lengths, relative distance of each vertices from the object's center of area, open or closed, etc.)? Once this data is collected and stored for all user polygons, it can be compared with the same data collected from platonic shapes. How would you go about solving this problem? On Aug 17, 2010, at 1:38 AM, David Bovill wrote: Thanks Mark - great paper! There does not seem to be a lot of code around - nearest I can find is herehttp://www.codeproject.com/KB/GDI-plus/blobby.aspx. I'd have thought it was something built into the touch screen OS's as it is kind of essential for vector graphic drawing on touch screens? On 17 August 2010 04:58, AcidJazz mpe...@gmail.com wrote: Here's a link to a technical article that discusses the fuzzy logic involved in pattern recognition of shapes. It doesn't provide the exact algorithm, but should get you a little further down the road in your search. ___ 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: Datagrid Basics
André, Zryip, Very helpful. Thanks, especially to Trevor who has put together this wonderful instructional site. After combing through it I'm missing just one thing. Is there any way to 'lock' the first column when scrolling horizontally? In my case I'm using the first column to simply number the lines so if there's any way to show line numbers and leave them locked on screen when scrolling that would work too. Thanks, Ray On Aug 19, 2010, at 3:11 AM, Andre.Bisseret wrote: Le 19 août 10 à 04:43, Ray Horsley a écrit : Greetings, Anybody with some basics on how to provide users with the ability to double click in a cell and get an insertion point to edit text? This works fine in development but after saving a standalone the grid comes up unresponsive. Ideally there would be a simple way to specify individual columns to be editable or not. Thanks, Ray Horsley LinkIt! Software Bonjour, Assuming you have a Splash stack, did you create a substack of it, whose name beging with Data Grid Templates ? This is necessary in order the Standalone Builder includes the revDataGridLibrary See lesson 7.1 in the doc from Trevor : What Do I Need to Do To Deploy a Standalone With A Data Grid? http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- HTH Best regards from Grenoble André ___ 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: What's the name for the function that..
I am probably showing my ignorance, but I cannot think conceptually of how 5 wraps around 1 and 4. What is the significance of this? Bob On Aug 18, 2010, at 9:57 PM, Chipp Walters wrote: wraps a number around given a certain limit set? For instance, if I have a lower and upper limit of number, say 1 to 4 and I put in msg (I know wrap is not the function name) put wrap(5,1,4) it would return 1 I can't seem to find it in the docs. Anyone? -- Chipp Walters CEO, Shafer Walters Group, Inc. ___ 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: What's the name for the function that..
Never min I looked it up. Got it now. 6 would return 2. Had I the second example I would have seen it. :-) Bob On Aug 18, 2010, at 9:57 PM, Chipp Walters wrote: wraps a number around given a certain limit set? For instance, if I have a lower and upper limit of number, say 1 to 4 and I put in msg (I know wrap is not the function name) put wrap(5,1,4) it would return 1 I can't seem to find it in the docs. Anyone? -- Chipp Walters CEO, Shafer Walters Group, Inc. ___ 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: Datagrid Basics
On Thu, Aug 19, 2010 at 3:58 PM, Ray Horsley r...@linkit.com wrote: André, Zryip, Very helpful. Thanks, especially to Trevor who has put together this wonderful instructional site. After combing through it I'm missing just one thing. Is there any way to 'lock' the first column when scrolling horizontally? In my case I'm using the first column to simply number the lines so if there's any way to show line numbers and leave them locked on screen when scrolling that would work too. As far as I know there is no way to lock a column in a data grid. The only trick I see is to use two datagrids. One for the fix column and the other one for the scrolling columns. By synchonizing the scrollbar of the both, you could obtain what you want. The dgHScroll property could be helpful in this task, by reading the value of the scrolling DG and apply this value to the locked DG. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Pattern recognition of basic shapes in Rev
Given that computers are as dumb as a post and don't know anything about geometry to start with, I don't think the first example is so embarrassing after all. You have to tell the computer what each shape is before it gets smart enough to recognize it. The real difference lies in the purpose you are making the function for. If you are trying to give the user a way to hand draw standard shapes and then perfect them for him, the first method seems ideal. But if you are making a way for the user to draw complex objects with mixed curves and straight sides and what not, then the second method seems like the only way to go. Maybe the recognition method is not granular enough. Maybe you should be thinking more like Illustrator does, with lines, curves and connection points. A subtle curve may be a shaky hand or exactly what the user wanted to draw. The difference between a perfect circle and a subtle oval would be indiscernible to a computer. How does the computer know the difference? You would have to give the user a way to choose. Just my 2¢ Bob On Aug 17, 2010, at 11:30 AM, Randall Reetz wrote: I am working on two such filters. The first is a brute force recognizer looking for matches to standard shapes (point, line, angle, triangle, rectangle, polygon, oval, conic and cylindric sections) and how closely a user drawing matches platonic forms of these (exp. right and equilateral triangles, square, right rectangle, golden rectangle, parallelogram, circle) at any rotation. The second filter is one I have been working on for 15 years and is a universal pattern engine which does the same as above but without a set of arbitrarily pre-defined target shapes. From the self-evolving AI perspective from which I work, I consider the first filter set cheating and embarrassing (but hey, it is far easier to pull off). By the way, anyone can copy a code library or algorithm. I am always interested in the ways different people go about solving problems like this. The way I attack a problem is by collecting salient data. What can I know about these user created polygons (number of points (or line segments), vertice angles between segments, relative segment lengths, relative distance of each vertices from the object's center of area, open or closed, etc.)? Once this data is collected and stored for all user polygons, it can be compared with the same data collected from platonic shapes. How would you go about solving this problem? On Aug 17, 2010, at 1:38 AM, David Bovill wrote: Thanks Mark - great paper! There does not seem to be a lot of code around - nearest I can find is herehttp://www.codeproject.com/KB/GDI-plus/blobby.aspx. I'd have thought it was something built into the touch screen OS's as it is kind of essential for vector graphic drawing on touch screens? On 17 August 2010 04:58, AcidJazz mpe...@gmail.com wrote: Here's a link to a technical article that discusses the fuzzy logic involved in pattern recognition of shapes. It doesn't provide the exact algorithm, but should get you a little further down the road in your search. ___ 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: Accessing custom props using array notation
On Aug 19, 2010, at 4:43 AM, Chipp Walters wrote: Devin, Put the custom prop into an array var, then you can access the contents. put the uMyArray of btn test into tArray put tArray[prop1] into tVar Thanks Chipp. That works if the custom prop is an array to start with, but my question is whether it is possible to access all kinds of custom property data in the default custom property set using array notation. Here's the situation: I have an image object that has several different visual states. The state is represented by image data stored in custom properties of the image, labeled like this: state1 state2 state3 state4 When I want to change visual states I simply set the image text to one of the custom properties. It would be much easier to do if I could do something like this: set the text of img myImg to the customKeys[state currStateNum] of img myImg Instead, I have to construct clumsy do statements to make the changes. Unfortunately this doesn't work when using properties in the default set. It does work when you have created the properties in your own sets: set the text of img myImg to the myPropSet[state currStateNum] of img myImg (From memory, so I may be missing a detail of the syntax.) So the question is, can you access non-array data in custom props using array syntax when using just the default property set? Devin On Wednesday, August 18, 2010, Devin Asay devin_a...@byu.edu wrote: Anyone know if it's possible to access custom properties from an objects default custom property set using array notation? This is easy to do for custom property sets you create yourself. set the myPropSet[prop1] of btn myBtn to foo -- works But I can't figure out if you can do the same thing with the default set: put the customKeys[prop1] of img myImg into bar -- doesn't work If this could be done it would be nice for constructing custom property names dynamically when access custom props, as in a sequence of prop names like prop1, prop2, prop3, etc. Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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: Accessing custom props using array notation
On 19/08/2010 16:48, Devin Asay devin_a...@byu.edu wrote: Put the custom prop into an array var, then you can access the contents. put the uMyArray of btn test into tArray put tArray[prop1] into tVar Thanks Chipp. That works if the custom prop is an array to start with, but my question is whether it is possible to access all kinds of custom property data in the default custom property set using array notation. Here's the situation: I have an image object that has several different visual states. The state is represented by image data stored in custom properties of the image, labeled like this: state1 state2 state3 state4 When I want to change visual states I simply set the image text to one of the custom properties. It would be much easier to do if I could do something like this: set the text of img myImg to the customKeys[state currStateNum] of img myImg Instead, I have to construct clumsy do statements to make the changes. Unfortunately this doesn't work when using properties in the default set. It does work when you have created the properties in your own sets: set the text of img myImg to the myPropSet[state currStateNum] of img myImg (From memory, so I may be missing a detail of the syntax.) So the question is, can you access non-array data in custom props using array syntax when using just the default property set? Can't you do something like this: put xyz into tVar set the tVar of btn 1 to a You'll end up with a property called xyz that contains a in the default set. Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone ___ 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: Pattern recognition of basic shapes in Rev
Yes, my code always presents a ghost shape (what the code thinks the user is after) sub-imposed below the user's sketch. A key stroke tells the code if the user has chosen the suggested shape. And, of course it is also reasonable to present platonic geometric shapes that have been roughed up a bit to look hand drawn (they hold their target platonic shape in custom property... screen rendering is skin-specific). -Original Message- From: Bob Sneidar b...@twft.com Sent: Thursday, August 19, 2010 8:44 AM To: How to use Revolution use-revolution@lists.runrev.com Subject: Re: Pattern recognition of basic shapes in Rev Given that computers are as dumb as a post and don't know anything about geometry to start with, I don't think the first example is so embarrassing after all. You have to tell the computer what each shape is before it gets smart enough to recognize it. The real difference lies in the purpose you are making the function for. If you are trying to give the user a way to hand draw standard shapes and then perfect them for him, the first method seems ideal. But if you are making a way for the user to draw complex objects with mixed curves and straight sides and what not, then the second method seems like the only way to go. Maybe the recognition method is not granular enough. Maybe you should be thinking more like Illustrator does, with lines, curves and connection points. A subtle curve may be a shaky hand or exactly what the user wanted to draw. The difference between a perfect circle and a subtle oval would be indiscernible to a computer. How does the computer know the difference? You would have to give the user a way to choose. Just my 2¢ Bob On Aug 17, 2010, at 11:30 AM, Randall Reetz wrote: I am working on two such filters. The first is a brute force recognizer looking for matches to standard shapes (point, line, angle, triangle, rectangle, polygon, oval, conic and cylindric sections) and how closely a user drawing matches platonic forms of these (exp. right and equilateral triangles, square, right rectangle, golden rectangle, parallelogram, circle) at any rotation. The second filter is one I have been working on for 15 years and is a universal pattern engine which does the same as above but without a set of arbitrarily pre-defined target shapes. From the self-evolving AI perspective from which I work, I consider the first filter set cheating and embarrassing (but hey, it is far easier to pull off). By the way, anyone can copy a code library or algorithm. I am always interested in the ways different people go about solving problems like this. The way I attack a problem is by collecting salient data. What can I know about these user created polygons (number of points (or line segments), vertice angles between segments, relative segment lengths, relative distance of each vertices from the object's center of area, open or closed, etc.)? Once this data is collected and stored for all user polygons, it can be compared with the same data collected from platonic shapes. How would you go about solving this problem? On Aug 17, 2010, at 1:38 AM, David Bovill wrote: Thanks Mark - great paper! There does not seem to be a lot of code around - nearest I can find is herehttp://www.codeproject.com/KB/GDI-plus/blobby.aspx. I'd have thought it was something built into the touch screen OS's as it is kind of essential for vector graphic drawing on touch screens? On 17 August 2010 04:58, AcidJazz mpe...@gmail.com wrote: Here's a link to a technical article that discusses the fuzzy logic involved in pattern recognition of shapes. It doesn't provide the exact algorithm, but should get you a little further down the road in your search. ___ 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
Re: Accessing custom props using array notation
On Aug 19, 2010, at 10:00 AM, Kevin Miller wrote: Can't you do something like this: put xyz into tVar set the tVar of btn 1 to a You'll end up with a property called xyz that contains a in the default set. True enough, but can you do the opposite? put state 1 into tPropName put the tPropName of image myImg into foo Unless memory fails, you can't do that--I've tried it; i.e., you can't dynamically build property names to access existing custom props. I would be love to be proven wrong. ;-) Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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: Accessing custom props using array notation
On 19/08/2010 17:16, Devin Asay devin_a...@byu.edu wrote: True enough, but can you do the opposite? put state 1 into tPropName put the tPropName of image myImg into foo Unless memory fails, you can't do that--I've tried it; i.e., you can't dynamically build property names to access existing custom props. I would be love to be proven wrong. ;-) Well it should work and it does here. Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone ___ 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: Datagrid Basics
Zryip, Thanks for the suggestion. I'll give it a try. Ray On Aug 19, 2010, at 11:37 AM, zryip theSlug wrote: On Thu, Aug 19, 2010 at 3:58 PM, Ray Horsley r...@linkit.com wrote: André, Zryip, Very helpful. Thanks, especially to Trevor who has put together this wonderful instructional site. After combing through it I'm missing just one thing. Is there any way to 'lock' the first column when scrolling horizontally? In my case I'm using the first column to simply number the lines so if there's any way to show line numbers and leave them locked on screen when scrolling that would work too. As far as I know there is no way to lock a column in a data grid. The only trick I see is to use two datagrids. One for the fix column and the other one for the scrolling columns. By synchonizing the scrollbar of the both, you could obtain what you want. The dgHScroll property could be helpful in this task, by reading the value of the scrolling DG and apply this value to the locked DG. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Accessing custom props using array notation
On Aug 19, 2010, at 10:25 AM, Kevin Miller wrote: On 19/08/2010 17:16, Devin Asay devin_a...@byu.edu wrote: True enough, but can you do the opposite? put state 1 into tPropName put the tPropName of image myImg into foo Unless memory fails, you can't do that--I've tried it; i.e., you can't dynamically build property names to access existing custom props. I would be love to be proven wrong. ;-) Well it should work and it does here. Well, shut my mouth! That'll teach me to rely on faulty memory! (I blame space aliens and nano-brain-implants.) This works perfectly: put state tNum into tMyProp set the text of img myImg of me to the tmyProp of img myImg Jacque, could I get a copy of your time warp stack so I can not write my original post yesterday? Thanks, Kevin! Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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: Pattern recognition of basic shapes in Rev
On 17 August 2010 19:30, Randall Reetz rlre...@gmail.com wrote: I am working on two such filters. The first is a brute force recognizer looking for matches to standard shapes (point, line, angle, triangle, rectangle, polygon, oval, conic and cylindric sections) and how closely a user drawing matches platonic forms of these (exp. right and equilateral triangles, square, right rectangle, golden rectangle, parallelogram, circle) at any rotation. The second filter is one I have been working on for 15 years and is a universal pattern engine which does the same as above but without a set of arbitrarily pre-defined target shapes. From the self-evolving AI perspective from which I work, I consider the first filter set cheating and embarrassing (but hey, it is far easier to pull off). By the way, anyone can copy a code library or algorithm. I am always interested in the ways different people go about solving problems like this. The way I attack a problem is by collecting salient data. What can I know about these user created polygons (number of points (or line segments), vertice angles between segments, relative segment lengths, relative distance of each vertices from the object's center of area, open or closed, etc.)? Once this data is collected and stored for all user polygons, it can be compared with the same data collected from platonic shapes. How would you go about solving this problem? I'd Google for a library :) But that's because it is not the problem I'm interested in, but a tool that would improve the user experience. It's also because I'm pretty sure it's a problem that soon will be addressed by the gesture recognition stuff in the OS, and developing my own hack would well just be another hack. If I were to do it now, my guess would be to avoid logical solutions based on knowledge of geometry, and to take one of the C++ based genetic algorithm libraries out there and train it on a set of user data. I did play with both neural networks and GA's in MetaCard, and used some of that work in music composition. Certainly very interesting areas - but right now I just want the user to be able to draw polygons with their finger :) ___ 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: Accessing custom props using array notation
On 8/19/10 11:38 AM, Devin Asay wrote: Well, shut my mouth! That'll teach me to rely on faulty memory! (I blame space aliens and nano-brain-implants.) This works perfectly: put state tNum into tMyProp set the text of img myImg of me to the tmyProp of img myImg Jacque, could I get a copy of your time warp stack so I can not write my original post yesterday? LOL! I'll send you a copy in a few years, no problem. I was going to say, before Kevin answered, that you aren't entirely crazy. It used to not work, but somewhere along the way it got fixed and now does. You can also reduce the above to one line, which works: set the text of img MyImg of me to the (statetNum) of img myImg That's off the top of my head so if I'm wrong, it's because I'm thinking of how it was ten years from now. -- 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: Accessing custom props using array notation
That's off the top of my head so if I'm wrong, it's because I'm thinking of how it was ten years from now. LOL!!! ...you folks really crack me up... ...and thanks, I especially needed that today and probably will again seven years from yesterday of last month. :-) Best regards, David C. ___ 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: Accessing custom props using array notation
On Aug 19, 2010, at 1:05 PM, J. Landman Gay wrote: That's off the top of my head so if I'm wrong, it's because I'm thinking of how it was ten years from now. Sigh. It was all so different before everything changed. Or will change. Nostalgia ain't what it used to be. Or is it ain't what it will be? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ 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: Datagrid Basics
On Thu, Aug 19, 2010 at 6:32 PM, Ray Horsley r...@linkit.com wrote: Zryip, Thanks for the suggestion. I'll give it a try. Ray, I just upload a new stack in the Slug's lab implementing this trick. You can download it by following this link: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categorydownload=9:experiment-014-dg-with-a-locked-columnid=7:data-gridItemid=63 Click on the show script button to open the script. And I share here the handler added in the second data grid: on dgScrollbarDragV set the dgVScroll of grp datagrid 1 to the dgVScroll of me pass dgScrollbarDragV end dgScrollbarDragV To correct myself I'm using: - the dgVScroll property more appropriated to the task - and the dgScrollbarDragV sent to the Data Grid engine when an user used the datagrid's vertical scrollbar. As far as I know the dgScrollbarDragV is not described in the data grid API but it exists in the engine. The dgScrollbarDragH as well. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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] Top Rev headlines from the time warp
Since there appears to be some interest, I brought these back with me from my last trip. I apologize for the lack of dates, I don't know exactly when I was because there's a bug in the chronometer. Also, my socks have gone missing. 1. Google's competitor, Giggle, is rapidly gaining momentum as the top search engine of choice. Because it only returns hits on light-hearted, amusing content, it has proven immensely popular. Companies are gaming the system by filling metatags with jokes and laugh words. Rev has changed its marketing focus to The IDE that fills you with joy and is showing regularly in the top ten results. 2. A Rev customer has ignited a flame war in the Rev Virtual Meeting Rooms, berating the company for not fully complying with current holographic standards. While trying to walk around inside his datagrid he got entrapped by a nasty case of self-induced recursion in a poorly-calculated formula cell. He claims RR should have forseen the error and dumped him out. In actuality that is exactly what happened, but since he had programmed the exit clause as a modal escape hatch, he couldn't hit the default button. Room members are divided on whether he should be left in the cell until his anger subsides, or whether someone should try to access him remotely. 3. The now-leaking stormy internet cloud is being updated and replaced by the Universal Grid, which allows direct connections via embedded bio-ports. RR is reworking its IDE to allow access to this embeddable biosystem. They warn that there are still issues to work out, particularly whether or not the human navel is really a button. 4. Due to recent changes in international law, restrictions on the amount of realism allowed in holographic human projections have caused issues for many companies. RunRev has been forced to remove the native human feature set originally planned for its products. However, RR cannot, and does not intend to, prevent its users from assembling realistic human projections by use of carefully crafted skins. 5. RunRev re-issued a strongly-worded statement again today, warning that its libTeleport library is still in early alpha and should not, under any circumstances, be used for production work. Last week two customers disappeared for an undetermined length of time and were later found in the CEO's sock drawer wearing each other's clothing. The socks were inexplicably missing. One long-time user commented, It's just uncanny. I've been with RR since the beginning, and the disappearing sock phenomenon was discussed many years ago, yet no one paid any attention. If you ask me, they deserve what they got. CEO Kevin Miller has vowed to return the customers to their homes immediately when the technology reaches beta. ...more when I get there. -- 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: revNavigator
Good lord! It is very important. There is no replacement that I can think of. My favorite feature is filter. You type in an object type or name into the search field and Navigator shows everything that matches. Just wonderful. Best regards, Mark Talluto http://www.canelasoftware.com On Aug 17, 2010, at 6:26 PM, Geoff Canyon Rev wrote: I was referring to the fact that for most people revNavigator just takes up space in their install (since they don't use it). But as Andre pointed out, there is a more recent version available, which is significantly more capable than the original. A question to those who still use it: does it still have features that make it worthwhile compared to other tools, or do you stay with it out of familiarity/inertia? I haven't checked out the competition over the last five or six years so I don't know if it has been superseded. gc On Tue, Aug 17, 2010 at 12:53 PM, stephen barncard stephenrevoluti...@barncard.com wrote: I thought it shipped in the plugins folder within every new install of Rev! sqb On 17 August 2010 10:27, Geoff Canyon Rev gcanyon+...@gmail.comgcanyon%2b...@gmail.com wrote: aw gee, thanks guys -- nice to know it lives on in some people's tool boxes. gc On Mon, Aug 16, 2010 at 1:30 PM, Mark Talluto use...@canelasoftware.com wrote: Super tool! I have been using it for years and I did make my very affordable payment back then. I too could not survive without it. Best regards, Mark Talluto http://www.canelasoftware.com On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: revNavigator hasn't been updated for several versions, so it's entirely possible that the dev environment has changed since I wrote it. Or I might just have done a bad job with it ;-) That said it still works -- I don't do much work with Rev anymore, but when I do I couldn't live without it. While I'm thinking about it, I hereby declare revNavigator to be free for anyone to use. gc ___ 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 -- 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 ___ 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
Mark V. Shaney algorithm
Hi all, Take a look at this webpage: http://www.yisongyue.com/shaney/ Have anyone created such code in revTalk? From Wikipedia: Mark V Shaney is a fake Usenet user whose postings were generated by using Markov chain techniques. The name is a play on the words Markov chain. Many readers were fooled into thinking that the quirky, sometimes uncannily topical posts were written by a real person. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Mark-V-Shaney-algorithm-tp2331932p2331932.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: [OT] Top Rev headlines from the time warp
Good stuff! BTW, is this yours? It just appeared out of nowhere. [image: dirty sock.jpg] http://www.widgetgadget.com/stuff/dirty sock.jpg ___ 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: Datagrid Basics
On Thu, Aug 19, 2010 at 9:37 PM, zryip theSlug zryip.thes...@gmail.com wrote: On Thu, Aug 19, 2010 at 6:32 PM, Ray Horsley r...@linkit.com wrote: Zryip, Thanks for the suggestion. I'll give it a try. Ray, I just upload a new stack in the Slug's lab implementing this trick. You can download it by following this link: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categorydownload=9:experiment-014-dg-with-a-locked-columnid=7:data-gridItemid=63 Click on the show script button to open the script. And I share here the handler added in the second data grid: on dgScrollbarDragV set the dgVScroll of grp datagrid 1 to the dgVScroll of me pass dgScrollbarDragV end dgScrollbarDragV I have just pushed the experiment a little ahead by synchronizing the lines selected: on selectionChanged pHilitedIndex, pPrevHilitedIndex set the dgHilitedIndex of grp datagrid 1 to pHilitedIndex end selectionChanged I updated the corresponding lab's stack. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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] Top Rev headlines from the time warp
On 8/19/10 5:39 PM, Chipp Walters wrote: Good stuff! BTW, is this yours? It just appeared out of nowhere. [image: dirty sock.jpg] Kevin's. He wants it back by airmail. But you could probably just put it in the dryer and it'll get to him. -- 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: Datagrid Basics
Trevor may have developed the Data Grid (and I am really glad he did), but Zyrip the Slug is going to make it ultimately more usable when he releases his Data Grid Helper. It is a phenomenal piece of work that will make creating and managing your data grids a snap. He has it out for beta testing now and I can't wait until it is released. I will not hesitate to purchase it. ** Stewart Lynch CreaTECH Solutions sly...@createchsol.com 604.484.8499 Skype:StewartLynch There are only 10 kinds of people. Those who understand binary and those who don't. ** zryip theSlug zryip.thes...@gmail.com on August-19-10 at 4:35 PM -0700 wrote: I have just pushed the experiment a little ahead by synchronizing the lines selected: on selectionChanged pHilitedIndex, pPrevHilitedIndex set the dgHilitedIndex of grp datagrid 1 to pHilitedIndex end selectionChanged I updated the corresponding lab's stack. Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc This message and any attachments are intended only for the use of the individual to whom they are addressed and it may contain information that is privileged or confidential. If you have received this communication by mistake, please notify us immediately. ___ 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: (data grid) is there a good workaround for obtaining other column values in FillInData for a Data Grid Table?
Wow, I just looked at this, fabulous!!! Thanks!!! On Aug 18, 2010, at 1:19 PM, zryip theSlug wrote: On Wed, Aug 18, 2010 at 4:15 AM, Josh Mellicker j...@dvcreators.net wrote: Let's say you had a data grid table with three columns, and you wanted the first column to be the sum of the other two, like this: 10 7 3 5 2 3 7 4 3 How would you calculate the first column while the table is filling in? --- Originally, we looped through the data and did the calculations, then put the data into the data grid. Now the data set is getting so large that this is too slow, looping through once to calc, then again for the grid. So we're thinking doing the calculation in FillInData would be more efficient. If possible. It's easy to find any field value in a Data Grid form, since pData is an array with the row values, but we'd like to avoid switching to a form.___ I have just upload an experiment stack in the Slug's website: http://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categorydownload=8:experiment-013-doing-sum-in-a-column-of-a-data-gridid=7:data-gridItemid=63 The experiment shows how doing a sum of three columns in a column of a data grid: - when the dg is filling in - when you change a value in one of the three columns. The stack using a custom column behavior. You can access to the script by clicking on the edit script button. HTH Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ 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: Mark V. Shaney algorithm
On 8/19/10 4:53 PM, Alejandro Tejada wrote: Hi all, Take a look at this webpage: http://www.yisongyue.com/shaney/ Have anyone created such code in revTalk? From Wikipedia: Mark V Shaney is a fake Usenet user whose postings were generated by using Markov chain techniques. The name is a play on the words Markov chain. Many readers were fooled into thinking that the quirky, sometimes uncannily topical posts were written by a real person. I tried it but all it did was repeat what I entered. I didn't see any changes. -- 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
[revMobile] could not play sound
Just got the latest build of the RevMobile plugin and am testing out (among other interesting things) the sound playback on iPhone and iPad of a revMobile-built app. In the IDE, the sound works, but in the real devices themselves and in the iPhone simulator, no sound! I've tried with wav, aiff, and mp3 soundfiles. And I've tried with these files located as URLs and in the application itself (using Rev's File Import sound). The button scripts are: on mouseUp play helloWorld.wav -- the imported soundfile put the sound cr the result into field result end mouseUp on mouseUp put tTheURLPath helloWorld.wav into tPath play tPath put the sound cr the result into field result end mouseUp And the result feedback from these shown on my iPhone and iPad: done could not play sound Tried using the system beep a too, like this: on mouseUp beep end mouseUp But, nothing heard that way either. Any ideas? Please note I realize RevMobile explanatory note's warn sound playback is somewhat buggy in the iPhone simulator. But, as I say, this sound playback problem happens both in real devices and in the simulator. Thank you. -- Nicolas Cueto ___ 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: Mark V. Shaney algorithm
Jacque- Thursday, August 19, 2010, 9:26:05 PM, you wrote: I tried it but all it did was repeat what I entered. I didn't see any changes. You have to give it a lot of text so it has some food for the database. I fed it the text of The Big Sleep and it came up with * I scuttled out after the rain is a young kid. I didn't go very near him. * It was a cigarette for me. I had a bad record--probably in high school. * Why should I? No reason at all. * I was looking for somebody he thought it necessary to tell her who you are. Her very blue eyes gave me another cute glance and went back around the butt. * But if you think you can tell me so, but I can't make much money and blow for a spin once in a small button of a man who had gone away. * The fingers strained. * It was five days since I had a flounced cover. * Your husband disappeared and Eddie, knowing everybody knew there had to be in my pocket and started towards the ceiling by three brass chains. * He said very quietly: You talk too damned much, Eddie Mars sighed. * I was making out a white frame house was there, light in the coffee cup. -- -Mark Wieder mwie...@ahsoftware.net ___ 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: Mark V. Shaney algorithm
(sigh) I broke it. I got carried away and fed it the text of Gravity's Rainbow and got a Request Entity Too Large error. -- -Mark Wieder mwie...@ahsoftware.net ___ 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