OT Bulgaria
On 23 May 2010, at 6:00 pm, Richmond wrote: This IS Bulgaria; or, as an American friend once put it; I love Bulgaria, it allows me to experience the same sort of thrills my ancestors experienced in Texas in the middle of the 19th century. Have you seen that film Wild Wild West; a sort of steam-punk America through distorting glasses? The problem about Wild Wild East is that one is unable to remove the distorting glasses. This caused me to have another Bulgarian flashback. I was staying in Burgas in a block of flats (apartments) on about the 8th floor back in the days of communism, when I heard the distant but unmistakable whine of a dot matrix printer. I realised it came from a room on the same floor, so I balcony hopped round (I was young, fit and stupid) and peeped in the window. It was a room empty but for about 15 C64 machines all doing stuff, windows open, because of the heat. Almost anywhere else that would have been unremarkable, but I never saw any other digital equipment, in private hands, hospitals or University. It was like coming across a showroom full of sportscars, or a supermarket with a good range of products in it. Whatever it was going on, it had to be state business, which meant security. What was I thinking? David Glasgow ___ 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: Error go to card 1 of stack from a Menupick
Hi Josep, Are you sure that your error is complete? It seems to me that a few numbers are missing at the start of the list. Do you still get an error if you temporarily disable any (pre)openstack handlers? It would be useful if you posted the entire script that causes the error. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new projects. Contact me for a quote http://economy-x-talk.com/contact.html Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 27 mei 2010, at 04:17, JosepM wrote: Hi List, I have a strange error when I call a go to card 3 of stack X. The stack is opened and the card showed but some errors are throw, one at line 0 the the openstack and other at line 5 of the menupick, just in the switch line. I paste the error. Error: 361 Target: card id 31507 of stack /Users/joss/Desktop/ps_glx_v1/beta/1.0.2rc70/Beta/MacOS/MainGLX.app/ Contents/MacOS/components/s_main_productos_v1.rev 361,0,0 361,0,0 90,9,22 449,9,7,575 535,9,1,575 253,6,1 241,6,1,Openstack 353,0,0,card id 31507 of stack /Users/joss/Desktop/ps_glx_v1/beta/1.0.2rc70/Beta/MacOS/MainGLX.app/ Contents/MacOS/components/s_main_productos_v1.rev Any idea or tip that I must know... :( Salut, Josep ___ 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: destroystack wrong behavior...
Hi all, Thanks to all for your suggestions. I've found a solution to this question. not sure if it is completely resolved, but seems to work quite well. So, better share in the hope it will help few of you... I've changed the filename of my stack, that's it ! then the name and the filename properties are different, which was not the case before. I leave the explanations to the IDE gurus :) ps: running the stack with Suspend Development Tools on, was also working before. Regards, 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
[Datagrid] Truncating items
Is it my imagination or is there some automatic way of truncating items that are too long to fully display within a column that replaces the extra characters with an ellipsis? Terry... ___ 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] Truncating items
You can do that using a column behavior. Would be easiest with a monospaced font of course, as then you would know exactly how many chars you could display. Otherwise, check the formattedwidth of the displaying field. Hope that gets you started, malte___ 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: Error go to card 1 of stack from a Menupick
Hi Mark, I guess that error is complete... The code on the card 3, no preopenstack, only openstack. on Openstack Global tLine put the menuHistory of btn opt_search_supplier of card 3 into tLine put 0 records found. into fld lbl_status of card 3 set the uUTF8Text of fld f_buscar_supplier of card 3 to empty ## Establecer tamaño del stack y centrar if the environment is not development then set the resizable of me to false set the height of me to 575 set the width of this stack to 865 set the loc of this stack to the screenLoc else set the resizable of me to true end if uiNewSupplier uiRefreshSupplierList end Openstack The code on the menu. on menuPick pChosen replace ... with empty in pChosen --set the lockMessages to true switch pChosen case Items put glxapp_getProp(executable folder) /components/ s_main_productos_v1.rev into tStackName go to card 1 of stack tStackName break case Suppliers put glxapp_getProp(executable folder) /components/ s_main_productos_v1.rev into tStackName go to card 3 of stack tStackName break end switch --set the lockMessages to false end menuPick -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Error-go-to-card-1-of-stack-from-a-Menupick-tp2232529p2232977.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: Error go to card 1 of stack from a Menupick
Josep, Do you still get an error if you temporarily disable the openstack handler? I.e. if only the menuPick handle runs? I used http://runrev.info/error.html to parse your error. The beginning of the error report is: Type: Object (can't set this property) Object name: script Line:(row 0 col 0) Hint: Apparently, there is a problem with a property being set. If the script you posted is indeed a card script, then it will throw an error at set the resizable of me to true because cards don't have a resizable property. You need to replace me with this stack. Don't forget to make the same changes in the part of your script that runs in a standalone only. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new projects. Contact me for a quote http://economy-x-talk.com/contact.html Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. On 27 mei 2010, at 13:59, JosepM wrote: Hi Mark, I guess that error is complete... The code on the card 3, no preopenstack, only openstack. on Openstack Global tLine put the menuHistory of btn opt_search_supplier of card 3 into tLine put 0 records found. into fld lbl_status of card 3 set the uUTF8Text of fld f_buscar_supplier of card 3 to empty ## Establecer tamaño del stack y centrar if the environment is not development then set the resizable of me to false set the height of me to 575 set the width of this stack to 865 set the loc of this stack to the screenLoc else set the resizable of me to true end if uiNewSupplier uiRefreshSupplierList end Openstack The code on the menu. on menuPick pChosen replace ... with empty in pChosen --set the lockMessages to true switch pChosen case Items put glxapp_getProp(executable folder) /components/ s_main_productos_v1.rev into tStackName go to card 1 of stack tStackName break case Suppliers put glxapp_getProp(executable folder) /components/ s_main_productos_v1.rev into tStackName go to card 3 of stack tStackName break end switch --set the lockMessages to false end menuPick ___ 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
Brainfade time - what's the proper name for a 'local' handler?
I remember that one of the recent(ish) versions of Runrev introduced handlers that sit inside handlers and can only be called from within that handler, but what's the proper name so that I can look up how to use them? Thanks in advance, Ian ___ 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: Brainfade time - what's the proper name for a 'local' handler?
I think the term you're looking for is private e.g. private function xx On 27 May 2010, at 13:34, Ian Wood wrote: I remember that one of the recent(ish) versions of Runrev introduced handlers that sit inside handlers and can only be called from within that handler, but what's the proper name so that I can look up how to use them? Thanks in advance, Ian ___ 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 -- Phil Jimmieson p...@liverpool.ac.uk Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. ___ 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: Brainfade time - what's the proper name for a 'local' handler?
No, that keeps it local to the object that contains the handler. I *think* I'm talking about one handler nested inside another one. Thanks, Ian On 27 May 2010, at 13:36, Phil Jimmieson wrote: I think the term you're looking for is private e.g. private function xx On 27 May 2010, at 13:34, Ian Wood wrote: I remember that one of the recent(ish) versions of Runrev introduced handlers that sit inside handlers and can only be called from within that handler, but what's the proper name so that I can look up how to use them? Thanks in advance, Ian ___ 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 -- Phil Jimmieson p...@liverpool.ac.uk Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. ___ 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: Brainfade time - what's the proper name for a 'local' handler?
Ian Wood wrote: I remember that one of the recent(ish) versions of Runrev introduced handlers that sit inside handlers and can only be called from within that handler, but what's the proper name so that I can look up how to use them? In other languages like JavaScript and Scheme that sort of thing is referred to as a closure - here's an example from Wikipedia: // Return a list of all books with at least 'threshold' copies sold. function bestSellingBooks(threshold) { return bookList.filter( function (book) { return book.sales = threshold; } ); } But I don't know of a way to even emulate closures in RevTalk (though it might be handy at times if we could). The Engine Change Log included with the install covers changes back to v3.0, and I don't see anything there like this. Can you recall more details about the feature you're thinking of? -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.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: Brainfade time - what's the proper name for a 'local' handler?
On 27 May 2010, at 13:57, Richard Gaskin wrote: But I don't know of a way to even emulate closures in RevTalk (though it might be handy at times if we could). The Engine Change Log included with the install covers changes back to v3.0, and I don't see anything there like this. Can you recall more details about the feature you're thinking of? Sounds like I was getting garbled, in that case. Oops. Ian ___ 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] Microsoft to announce Visual Studio for iPhone OS?
If Apple allows VS made apps in the App Store I will be pissed! On Thu, May 27, 2010 at 2:42 AM, Richmond Mathewson richmondmathew...@gmail.com wrote: On 27/05/2010 06:56, Richard Gaskin wrote: The weird world gets weirder: Microsoft's Steve Ballmer to Present During WWDC 2010 Keynote? Barrons reports that one analyst is predicting that Microsoft CEO Steve Ballmer will be part of Steve Jobs' WWDC Keynote presentation. According to Trip Chowdhry, an analyst with tiny Global Equities Research, 7 minutes of Steve Jobs' keynote is allotted for Microsoft. Microsoft will reportedly be talking about their development tool Visual Studio 2010. The new version of Visual Studio will reportedly allow developers to write native applications for the iPhone, iPad and Mac OS. http://www.macrumors.com/2010/05/26/microsofts-steve-ballmer-to-present-during-wwdc-2010-keynote/ Or, the world gets 'smellier'. Methinks Jobs had cut some sort of deal with Microsoft way before he cocked a snook at Adobe. The fast that ballmer will be presenting at the WWDC means that Jobs is going to get a slice of the pie from the version of Visual Studio for iPhone, iPad et al, while he would not have got a brass farthing from Adobe. Or, maybe, the 2 Steves are in love; mind you, sharing a bed with an iPhone and an iPad could be a bit lumpy . . . :) Let's at least hope the new Visual Studio is 100 times better than the awful MS Visual Basic 5 I had to learn at the University of Abertay: the only purpose that served was to make me realise how wonderful RunRev was by comparison! ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ 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: Detecting which column was clicked in a Table field
I found that the best way to get a column number is to use item 1 of the clickloc, subtract the left of the field to get the relative x- value for the click in the field (you may have to also correct for the borderwidth of the field)), then compare with the tabstops. This always gives the accurate column number no matter whether you click on white space or text. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On May 26, 2010, at 6:53 PM, J. Landman Gay wrote: Mark Stuart wrote: on 5/26/2010, Jacqueline wrote: Something like this: put word 4 of the clickchunk into tCharNum subtract (the number of chars in line 1 to \ (word 2 of the clickline)-1 of me) +1 from tCharNum set the itemdel to tab put the number of items in char 1 to tCharNum of the value of the clickLine Hi, I tried your script and it worked as is, but not as planned. When clicking in the white space of a column, it returns the number 4. When clicking on the text of a column, a number is returned. But when clicking in the far left column, it returns 0 (zero). That's technically correct because there aren't any items before the text starts. You could put in a single exception for that special case: if tNumber 1 then put 1 into tNumber. -- 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 ___ 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] Microsoft to announce Visual Studio for iPhone OS?
Doesn't xCode already recognize C code? How difficult would it be for MS to make VS2010 Objective-C capable? Probably not very. ___ 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: Phantom Table field
Good ol' Jacques. Thanks. Makes perfect sense. It is the inner workings that I am interested in. Never occurred to me that such shenanigans were going on behind the scenes, but given that a data grid is actually dozens of objects all roped together, why not? Craig In a message dated 5/26/10 4:38:31 PM, jac...@hyperactivesw.com writes: Rev puts up a cell-sized field over the clicked cell so that you can edit the contents. When you are done editing, Rev puts the new content back into the relevant item chunk in the field and removes its own field. The field is temporary. The reason you can't retrieve any click/selected/text chunking info is because Rev is trapping all that in order to process the text and pop it into its editing field. If you don't use the cRevTable cells option in the inspector, none of that will happen and you can manage the field text and trap selections normally. ___ 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] Truncating items
On May 27, 2010, at 5:41 AM, Terry Judd wrote: Is it my imagination or is there some automatic way of truncating items that are too long to fully display within a column that replaces the extra characters with an ellipsis? This lesson has an example showing how to truncate text. The Data Grid has a built-in command called TruncateTail. http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7327-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell- -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.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] Microsoft to announce Visual Studio for iPhone OS?
jim, The language is not the problem, the problem is the surrounding frameworks. creating a objective-c thing for VS is relativelly easy, the hard part is the Cocoa/CocoaTouch stuff. Now, if they reimplemented everything in VS making VS some kind of XCode alternative for windows user, then it is one thing, now, if they are doing the other way around and cross compiling from VS to iPhone App, then it is basically what RunRev was doing and that jobs said we can't... let us wait and see... I bet it is not that but they will offer some kind of iWork Mobile integration for office... On Thu, May 27, 2010 at 10:44 AM, Jim Kanter j...@d-film.com wrote: Doesn't xCode already recognize C code? How difficult would it be for MS to make VS2010 Objective-C capable? Probably not very. ___ 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 -- http://www.andregarzia.com All We Do Is Code. ___ 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] Microsoft to announce Visual Studio for iPhone OS?
I personally am betting on some sort of web technology a la ComponentOne's iPhone web product. Its inconceivable that Apple would shun flash but sign up for dot net which is just another virtualization technology that would threaten Apple control. Neal Campbell Abroham Neal Software ___ 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: never ending scroll?
The field's scrollbar is usually understood as an absolute indicator. When it is up, so should the scroll, when down, the same. The wheel has no such indication as to its relationship with the scrolling object. So I think you should create a wheel of some sort that you operate. A little arrows would do, I guess. Then it is easy to create a closed loop of data as it passes through a field based on the action of your wheel thingie. You just keep appending as you go (Hmmm. Can one depend when you go the other way?) 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: Brainfade time - what's the proper name for a 'local' handler?
Recursion? On 27 May 2010 05:34, Ian Wood revl...@azurevision.co.uk wrote: I remember that one of the recent(ish) versions of Runrev introduced handlers that sit inside handlers and can only be called from within that handler, but what's the proper name so that I can look up how to use them? Thanks in advance, Ian ___ 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 ___ 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: Brainfade time - what's the proper name for a 'local' handler?
On 27.05.2010 at 13:44 Uhr +0100 Ian Wood apparently wrote: No, that keeps it local to the object that contains the handler. I *think* I'm talking about one handler nested inside another one. Thanks, Ian Would you mean behaviours? Robert ___ 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: Reverse Intersect
Bob- Here's another idea: IIRC you've got a remote MySQL database and a local SQLite database. How about converting the local one to MySQL and then you could issue a single SQL query joining the two databases? Seems like that would simplify things, cut down on the amount of data transferred, and let you work with smaller recordsets... -- -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: Brainfade time - what's the proper name for a 'local' handler?
I have never seen a handler nested inside another. It would mean; on soAndSo on doThis end doThis end soAndSo There must be a semantic misunderstanding here. Perhaps what is meant is a handler call: on soAndSo doThis end soAnd So One might say that a handler sort of lives inside another. Craig Newman In a message dated 5/27/10 11:35:27 AM, r...@robelko.com writes: No, that keeps it local to the object that contains the handler. I *think* I'm talking about one handler nested inside another one. ___ 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
Brainfade time - what's the proper name for a 'local' handler?
Ian, Can't a function call within a Handler do what you are wanting? Regards, Mark Stuart Ian Wood wrote: I remember that one of the recent(ish) versions of Runrev introduced handlers that sit inside handlers and can only be called from within that handler, but what's the proper name so that I can look up how to use them? In other languages like JavaScript and Scheme that sort of thing is referred to as a closure - here's an example from Wikipedia: // Return a list of all books with at least 'threshold' copies sold. function bestSellingBooks(threshold) { return bookList.filter( function (book) { return book.sales = threshold; } ); } But I don't know of a way to even emulate closures in RevTalk (though it might be handy at times if we could). ___ 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: Brainfade time - what's the proper name for a 'local' handler?
On Thu, May 27, 2010 at 10:57 AM, Mark Stuart mstu...@adaptcrm.com wrote: In other languages like JavaScript and Scheme that sort of thing is referred to as a closure - here's an example from Wikipedia: // Return a list of all books with at least 'threshold' copies sold. function bestSellingBooks(threshold) { return bookList.filter( function (book) { return book.sales = threshold; } ); } This is what's known as a lexical closure. It's a first-class function that's created on the fly and whose data is bound to a lexical environment. Difficult to explain, but very powerful, and Rev does not have support for them. Very few languages do (think Lisp, Scheme, JavaScript, and probably a dozen others), but the count is growing. Many languages that claim closures actually don't support them, but simulate them functionally (which is very different). But that's another discussion outside this scope. You should ask yourself if you really need this feature to accomplish your end-goal. Most likely the answer is no, even if it might make things easier for you. What exactly is it you want to do? I'm sure you'll get a plethora of suggestions from people here itching to solve a problem and write some code in Rev. ;-) Jeff M. ___ 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] Microsoft to announce Visual Studio for iPhone OS?
Pourquoi préférer les allumettes quand deux cailloux suffisent... Apple = Microsoft = Crânes d'Huitres ;-/ Best, Pierre Le 27 mai 2010 à 05:56, Richard Gaskin a écrit : The weird world gets weirder: Microsoft's Steve Ballmer to Present During WWDC 2010 Keynote? Barrons reports that one analyst is predicting that Microsoft CEO Steve Ballmer will be part of Steve Jobs' WWDC Keynote presentation. According to Trip Chowdhry, an analyst with tiny Global Equities Research, 7 minutes of Steve Jobs' keynote is allotted for Microsoft. Microsoft will reportedly be talking about their development tool Visual Studio 2010. The new version of Visual Studio will reportedly allow developers to write native applications for the iPhone, iPad and Mac OS. http://www.macrumors.com/2010/05/26/microsofts-steve-ballmer-to-present-during-wwdc-2010-keynote/ -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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] Microsoft to announce Visual Studio for iPhone OS?
Dogs and Cats living together. Harumph. On 27 May 2010 09:48, Pierre Sahores psaho...@free.fr wrote: Pourquoi préférer les allumettes quand deux cailloux suffisent... Apple = Microsoft = Crânes d'Huitres ;-/ Best, Pierre Le 27 mai 2010 à 05:56, Richard Gaskin a écrit : The weird world gets weirder: Microsoft's Steve Ballmer to Present During WWDC 2010 Keynote? Barrons reports that one analyst is predicting that Microsoft CEO Steve Ballmer will be part of Steve Jobs' WWDC Keynote presentation. According to Trip Chowdhry, an analyst with tiny Global Equities Research, 7 minutes of Steve Jobs' keynote is allotted for Microsoft. Microsoft will reportedly be talking about their development tool Visual Studio 2010. The new version of Visual Studio will reportedly allow developers to write native applications for the iPhone, iPad and Mac OS. http://www.macrumors.com/2010/05/26/microsofts-steve-ballmer-to-present-during-wwdc-2010-keynote/ -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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 ___ 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] Microsoft to announce Visual Studio for iPhone OS?
http://www.macrumors.com/2010/05/26/microsofts-steve-ballmer- to-present-during-wwdc-2010-keynote/ That is weird, and raises some interesting questions - Does this mean .net for Mac, iP*? Would this also provide additional food to a federal investigation? MS previously announced that Windows Phone 7 would only support MS tools and Silverlight. Or maybe this means Silverlight on iPhone? Does this mean MS employees no longer have to hide their iPhones in Redmond? ;-) Lets see, lining up: Apple Adobe Microsoft Google Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.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
Brainfade time - what's the proper name for a 'local' handler?
Jeff M. wrote: ...I'm sure you'll get a plethora of suggestions from people here itching to solve a problem and write some code in Rev, ;-) YES! That's what I like about RunRev and this forum. It inspires people. Thanx for your explanation of all this Jeff. Now I will ask my VS .NET 2010 guy if he knows about this. -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: [OT] Microsoft to announce Visual Studio for iPhone OS?
On 27/05/2010 20:11, Lynn Fredricks wrote: http://www.macrumors.com/2010/05/26/microsofts-steve-ballmer- to-present-during-wwdc-2010-keynote/ That is weird, and raises some interesting questions - Does this mean .net for Mac, iP*? Would this also provide additional food to a federal investigation? MS previously announced that Windows Phone 7 would only support MS tools and Silverlight. Or maybe this means Silverlight on iPhone? Does this mean MS employees no longer have to hide their iPhones in Redmond? ;-) Lets see, lining up: Apple Adobe Microsoft Google and guess who gets 'squished': we do, and, maybe so does the efforts of our favourite software developer to keep up with developments. Remember Clash of the Titans? - http://en.wikipedia.org/wiki/Clash_of_the_Titans_(1981_film) ___ 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: Error go to card 1 of stack from a Menupick
Hi Mark, Do you still get an error if you temporarily disable the openstack handler? I.e. if only the menuPick handle runs? Yes, I get the same error only in standalone, in IDE all run fine I changed the me for this stack and I get the same error... I don't know what happen... Seems that the error is in the card 1 and related to the datagrid, some value is not a integer... :( I have modified the FillData in the datagrid of the card 1 but this work fine. Any idea? I need solve this asap... Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Error-go-to-card-1-of-stack-from-a-Menupick-tp2232529p2233547.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
Avoiding Global Variables
Hi from Beautiful Brittany, Thanks for your Update and News concerning Avoiding Global Variables. Very instructive, not covered in the Doc. Progress is a series of monumental ***k-ups ! Even after years of RunRev, we can still learn ! Keep up the good work ! -Francis ___ 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: never ending scroll?
Nicolas, Most of the iPhone's scroll-wheels are linked to tables and the tables are lazily loaded (via reusable cells) at runtime. Most of the scroll-wheels I have seen stop at the top or bottom of the content that it is trying to scroll. Where or what are you referring to? (To better understand the action you are looking for.) In a different project I have an iPhone scrolling window and not a table that still lazily loads it's views from a reusable view in the same way as the cells are reused in a table with scroll-wheel. So, The scrolling windows in my case can wrap around to the beginning if the view or cell is lazily loaded when needed. Maybe there is a way to lazily load content or fields IN groups in RR to emulate that. I would look at a group that has a scroll-wheel and see if items can be deleted from one side (hidden from view) and loaded on the other side (hidden from view) based on the scroll position. Let us know, Tom McGrath III Lazy River Software http://lazyriver.on-rev.com 3mcgr...@comcast.net I Can Speak - Communication for the rest of us... http://mypad.lazyriver.on-rev.com I Can Speak on the iPad Store http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8 DeMoted - Have you DeMoted Someone today? http://demoted.lazyriver.on-rev.com DeMoted on the iTune App Store http://itunes.apple.com/us/app/demoted/id355925236?mt=8 On May 26, 2010, at 9:32 PM, Nicolas Cueto wrote: Hello, I'm trying to simulate the iphone's scroll-wheel, and am wondering how to recreate its never-endingness effect (i.e., the vertical list of items returns to its first item when its last item is reached). All I could think of so far is to use a scrollable field, but whose scroll action is handled by button script rather than directly through the field's scrollbar. Any ideas? Thanks. -- 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 ___ 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] Microsoft to announce Visual Studio for iPhone OS?
I fell asleep reading my iPad the other night and woke up laying on half of it and I can definitely say it was not lumpy. It was flat and hard, and uncomfortable but not lumpy. This was probably due to the anti-lumpy app I had installed. Tom McGrath III Lazy River Software http://lazyriver.on-rev.com 3mcgr...@comcast.net On May 27, 2010, at 1:42 AM, Richmond Mathewson wrote: Or, maybe, the 2 Steves are in love; mind you, sharing a bed with an iPhone and an iPad could be a bit lumpy . . . :) ___ 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] Microsoft to announce Visual Studio for iPhone OS?
I'll bet 500 dollars this won't happen. As a long time professional windows and mac developer I'm infuriated by these nonsense posts and hypothetical scenerios. Its not true because 1. VS2010 is already released. It was in beta for many many months and then delayed. MS doesn't just surprise developers with one more thing. 2. Do you have any freaking idea of the work it would take to get objective-c and cocoa working in vs. And then MS will have to constantly update with any Apple change. 3. MS is pushing managed languages. 4. how would you test an app..I'm sure MS wants to encourage developers to buy Macs and iphones 5. why would MS spend all that effort trying to kick windows and windows mobile 7 in the nuts. Wasn't vista and windows mobile bad enough. 6. No one seems to be paying attention to what steve says. A clear No means no. He hates cross platform compilers. So if your dreaming of ways this could be true that also means no silverlight. But maybe I'm wrong and ballmer really wants to see if Bill has the guts to fire him. I should start a blog and say Santa and the easter bunny will be at WWDC and see if that gets me on slashdot. best, Tuviah Microsoft's Steve Ballmer to Present During WWDC 2010 Keynote? Barrons reports that one analyst is predicting that Microsoft CEO Steve Ballmer will be part of Steve Jobs' WWDC Keynote presentation. According to Trip Chowdhry, an analyst with tiny Global Equities Research, 7 minutes of Steve Jobs' keynote is allotted for Microsoft. Microsoft will reportedly be talking about their development tool Visual Studio 2010. The new version of Visual Studio will reportedly allow developers to write native applications for the iPhone, iPad and Mac OS. http://www.macrumors.com/2010/05/26/microsofts-steve-ballmer-to-present-during-wwdc-2010-keynote/ -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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 ___ use-revolution mailing list use-revolution@lists.runrev.com 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: Reverse Intersect
Hi Mark. That would work too I suppose. I thought about it, but remember that I want this method to be portable, that is I want it to work no matter what two databases are used, and no matter what the amount of data is. Importing a HUGE mySQL database every sync cycle would not be efficient. And once the sync occurs for the first time, the actual amount of data I will need to import is minimal. Trevor found an issue with sqlYoga where named database objects were reloading the database schema every time a call was made using the object. He has fixed that so speeds using sqlYoga are not noticeably any slower than the native Rev API calls. Thanks again Trevor for getting right on that. Because of that my paging method is working really well in conjunction with sqlYoga. My next big hurdle is issuing one query that will update multiple records at a time. I know with SQL I can separate multiple commands with the semi-colon. But I think I read somewhere that I cannot pass a semi-colon to the Rev API, which will mean I will have to update records one at a time. I hope that is not the case, because that will make any method I use with Rev unscalable for large databases. I will have to experiment on that today. Bob On May 27, 2010, at 8:47 AM, Mark Wieder wrote: Bob- Here's another idea: IIRC you've got a remote MySQL database and a local SQLite database. How about converting the local one to MySQL and then you could issue a single SQL query joining the two databases? Seems like that would simplify things, cut down on the amount of data transferred, and let you work with smaller recordsets... -- -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 ___ 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: Brainfade time - what's the proper name for a 'local' handler?
Can you even do that?? I don't think you can. Bob On May 27, 2010, at 5:44 AM, Ian Wood wrote: No, that keeps it local to the object that contains the handler. I *think* I'm talking about one handler nested inside another one. Thanks, Ian ___ 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: Error go to card 1 of stack from a Menupick
I will bet that Openstack is getting sent to your calling stack, but now the new stack is the focus, and it does not contain the object you are referencing in the calling stack. I've been bit in the butt by this before. What I usually do is check to see if the short name of this stack is the mainstack of me. If it is I execute the code for that particular stack. If not I pass openStack. Bob On May 26, 2010, at 7:17 PM, JosepM wrote: Hi List, I have a strange error when I call a go to card 3 of stack X. The stack is opened and the card showed but some errors are throw, one at line 0 the the openstack and other at line 5 of the menupick, just in the switch line. I paste the error. Error: 361 Target: card id 31507 of stack /Users/joss/Desktop/ps_glx_v1/beta/1.0.2rc70/Beta/MacOS/MainGLX.app/Contents/MacOS/components/s_main_productos_v1.rev 361,0,0 361,0,0 90,9,22 449,9,7,575 535,9,1,575 253,6,1 241,6,1,Openstack 353,0,0,card id 31507 of stack /Users/joss/Desktop/ps_glx_v1/beta/1.0.2rc70/Beta/MacOS/MainGLX.app/Contents/MacOS/components/s_main_productos_v1.rev Any idea or tip that I must know... :( Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Error-go-to-card-1-of-stack-from-a-Menupick-tp2232529p2232529.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 ___ 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] Microsoft to announce Visual Studio for iPhone OS?
On May 27, 2010, at 2:31 PM, Tuviah Snyder wrote: 1. VS2010 is already released. It was in beta for many many months and then delayed. MS doesn't just surprise developers with one more thing. You must be referring to the Windows version. I think a VS for Mac would be popular. 2. Do you have any freaking idea of the work it would take to get objective-c and cocoa working in vs. And then MS will have to constantly update with any Apple change. C and C++ are permitted, so they could publish to iPhone without needing to use Objective-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: [OT] Microsoft to announce Visual Studio for iPhone OS?
On May 27, 2010, at 2:31 PM, Tuviah Snyder wrote: I'll bet 500 dollars this won't happen. It appears that Microsoft agrees with you: http://twitter.com/Microsoft/status/14850981422 ___ 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] Microsoft to announce Visual Studio for iPhone OS?
http://www.mobilecrunch.com/2010/05/27/microsoft-steve-ballmer-will-not-be-speaking-at-wwdc/ On Thu, May 27, 2010 at 2:31 PM, Tuviah Snyder tuv...@gmail.com wrote: I'll bet 500 dollars this won't happen. As a long time professional windows and mac developer I'm infuriated by these nonsense posts and hypothetical scenerios. Its not true because 1. VS2010 is already released. It was in beta for many many months and then delayed. MS doesn't just surprise developers with one more thing. 2. Do you have any freaking idea of the work it would take to get objective-c and cocoa working in vs. And then MS will have to constantly update with any Apple change. 3. MS is pushing managed languages. 4. how would you test an app..I'm sure MS wants to encourage developers to buy Macs and iphones 5. why would MS spend all that effort trying to kick windows and windows mobile 7 in the nuts. Wasn't vista and windows mobile bad enough. 6. No one seems to be paying attention to what steve says. A clear No means no. He hates cross platform compilers. So if your dreaming of ways this could be true that also means no silverlight. But maybe I'm wrong and ballmer really wants to see if Bill has the guts to fire him. I should start a blog and say Santa and the easter bunny will be at WWDC and see if that gets me on slashdot. best, Tuviah Microsoft's Steve Ballmer to Present During WWDC 2010 Keynote? Barrons reports that one analyst is predicting that Microsoft CEO Steve Ballmer will be part of Steve Jobs' WWDC Keynote presentation. According to Trip Chowdhry, an analyst with tiny Global Equities Research, 7 minutes of Steve Jobs' keynote is allotted for Microsoft. Microsoft will reportedly be talking about their development tool Visual Studio 2010. The new version of Visual Studio will reportedly allow developers to write native applications for the iPhone, iPad and Mac OS. http://www.macrumors.com/2010/05/26/microsofts-steve-ballmer-to-present-during-wwdc-2010-keynote/ -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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 ___ use-revolution mailing list use-revolution@lists.runrev.com 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] Microsoft to announce Visual Studio for iPhone OS?
I quote: At present, developers may only create iPhone and Mac OS applications from within Apple's own Xcode development suite which only runs on Macs. That is not strictly true. You can use any environment whose native language is either Javascript, ObjectiveC or C++. I am not sure there IS another environment that fits those restrictions, but technically if there were, you could. Bob On May 26, 2010, at 8:56 PM, Richard Gaskin wrote: The weird world gets weirder: Microsoft's Steve Ballmer to Present During WWDC 2010 Keynote? Barrons reports that one analyst is predicting that Microsoft CEO Steve Ballmer will be part of Steve Jobs' WWDC Keynote presentation. According to Trip Chowdhry, an analyst with tiny Global Equities Research, 7 minutes of Steve Jobs' keynote is allotted for Microsoft. Microsoft will reportedly be talking about their development tool Visual Studio 2010. The new version of Visual Studio will reportedly allow developers to write native applications for the iPhone, iPad and Mac OS. http://www.macrumors.com/2010/05/26/microsofts-steve-ballmer-to-present-during-wwdc-2010-keynote/ -- Richard Gaskin Fourth World Rev training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com revJournal blog: http://revjournal.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] Microsoft to announce Visual Studio for iPhone OS?
Wait! I thought Santa and the Easter Bunny were merely different spacial manifestations of the same alien? Bob On May 27, 2010, at 11:31 AM, Tuviah Snyder wrote: But maybe I'm wrong and ballmer really wants to see if Bill has the guts to fire him. I should start a blog and say Santa and the easter bunny will be at WWDC and see if that gets me on slashdot. best, Tuviah ___ 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] Microsoft to announce Visual Studio for iPhone OS?
UGH! Please, prefix posts like this with **SPOILER ALERT**. My entire day was just ruined! ;-) Jeff M. On Thu, May 27, 2010 at 1:49 PM, Bob Sneidar b...@twft.com wrote: Wait! I thought Santa and the Easter Bunny were merely different spacial manifestations of the same alien? Bob ___ 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] Microsoft to announce Visual Studio for iPhone OS?
Jeff Massung wrote: UGH! Please, prefix posts like this with **SPOILER ALERT**. My entire day was just ruined! ;-) Jeff M. On Thu, May 27, 2010 at 1:49 PM, Bob Sneidar b...@twft.com wrote: Wait! I thought Santa and the Easter Bunny were merely different spacial manifestations of the same alien? Bob We won't even mention the Tooth Fairy then. -- 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: Reverse Intersect
perhaps COMMIT and ROLLBACK for multiple transactions that may need to be undone. On 27 May 2010 11:33, Bob Sneidar b...@twft.com wrote: Hi Mark. That would work too I suppose. I thought about it, but remember that I want this method to be portable, that is I want it to work no matter what two databases are used, and no matter what the amount of data is. Importing a HUGE mySQL database every sync cycle would not be efficient. And once the sync occurs for the first time, the actual amount of data I will need to import is minimal. Trevor found an issue with sqlYoga where named database objects were reloading the database schema every time a call was made using the object. He has fixed that so speeds using sqlYoga are not noticeably any slower than the native Rev API calls. Thanks again Trevor for getting right on that. Because of that my paging method is working really well in conjunction with sqlYoga. My next big hurdle is issuing one query that will update multiple records at a time. I know with SQL I can separate multiple commands with the semi-colon. But I think I read somewhere that I cannot pass a semi-colon to the Rev API, which will mean I will have to update records one at a time. I hope that is not the case, because that will make any method I use with Rev unscalable for large databases. I will have to experiment on that today. Bob On May 27, 2010, at 8:47 AM, Mark Wieder wrote: Bob- Here's another idea: IIRC you've got a remote MySQL database and a local SQLite database. How about converting the local one to MySQL and then you could issue a single SQL query joining the two databases? Seems like that would simplify things, cut down on the amount of data transferred, and let you work with smaller recordsets... -- -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 ___ 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 ___ 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] Microsoft to announce Visual Studio for iPhone OS?
http://www.mobilecrunch.com/2010/05/27/microsoft-steve-ballmer -will-not-be-speaking-at-wwdc/ No monkey-boy dance for iPhone developers... Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ 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: Jobs vs Gates
http://www.youtube.com/watch?v=qHO8l-Bd1O4 Sorry, can't help it... :-) Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.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: Hard CASE: cracking the nut?
Marty Knapp wrote: What I have is a standalone that contains template stacks from which a user creates their own stacks. These stacks are saved outside of the standalone. I wanted to institute an updating feature, where the user's stack version is compared to the template (which may have had revisions from being updated) on launch and if needed to have the standalone copy the scripts from the template into the user stack, rather than making them create a new stack. But if any of these scripts exceed the 10 statement limit it will not work. So I stripped the template stack of as much code as I could, which also minimizes the need for updating in the first place :) But this user stack needs access to the standalone stacks and scripts to function properly, so now I've found that if the user launches the standalone by double-clicking their stack, that once in a while the stacks/scripts it needs are not available and I get errors when the user stack loads. Not always, but probably 1 in 10 times. I've tried a number of routines to check for this, but these routines need to be in the user stack and I run into the 10 statement limit . . . I hope that's understandable! Only sort of, I'm still a little confused. But basically when I have a system with templates, I put almost nothing in the template except very generic handler calls. I put all the actual, working handlers in the app's script, where I can change them without updating the templates. I'm not sure why your templates need to contain any updating code. They should just call a handler like checkUpdates, which the main stack executes. It can then act on any stacks it needs to change (with the exception of long scripts, but if you use the generic approach to handlers, that shouldn't be a problem.) If your users double-click a stack to launch your app, your app will first get all the startup, preOpenStack, openStack etc. messages, and then will open the user stack. The mainstack's script should automatically be shared as a backscript, but if that isn't always happening you can specifically insert it on preOpenStack. That should clear up any issues your user stacks may have accessing the mainstack script. Also make sure the handlers in the user stack pass any necessary system messages if your mainstack needs to operate on those. -- 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: Brainfade time - what's the proper name for a 'local' handler?
// Return a list of all books with at least 'threshold' copies sold. function bestSellingBooks(threshold) { return bookList.filter( function (book) { return book.sales = threshold; } ); } did I get it right?? as I understand it, the closure replaces a loop? Assuming the function book loops through the books? for the example I assume we have a pile of cards for each book... function bestSellingBooks threshold put the number of cards of stack books into numberOfBooks put empty into theResult for i = 1 to numberOfBooks put field theSales of card i into @iSales put booklistFilter (threshold, @sales) after theResult end loop return theResult end function function bookListFilter threshold, sales if sales threshold then return sales , else return empty end function if that is right, yeak closure is more compact elegant! but did I miss something? brainfade! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Brainfade-time-what-s-the-proper-name-for-a-local-handler-tp2233056p2233641.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: Brainfade time - what's the proper name for a 'local' handler?
On Thu, May 27, 2010 at 2:10 PM, Robert Mann r...@free.fr wrote: // Return a list of all books with at least 'threshold' copies sold. function bestSellingBooks(threshold) { return bookList.filter( function (book) { return book.sales = threshold; } ); } did I get it right?? as I understand it, the closure replaces a loop? Assuming the function book loops through the books? Sort-of. The closure does not replace the loop. The closure is called by the loop. The loop is the filter function. Think of it like this (pseudo-code that does not work, but might be easier to read and get the idea across): function make_adder(N) return function (X) return N+X end end Now, we can do this: add_10 = make_adder(10) add_5 = make_adder(5) Then we can call them like so: add_10(20) = 30 add_5(4) = 9 Now, in your example, there's a function filter that takes a function (closure) as an argument. It expects that function to return true or false, and if true, it will keep the element, otherwise it will toss it. More pseudo-code written in RevTalk style: function filter tList, tFunction local tFilteredList repeat for each line tItem in tList if tFunction(tItem) is true then put tItem cr after tFilteredList end if end repeat return tFilteredList end filter Now, with our function, we could (in theory) do something like so (in a field control): function filterBookByName tTitle -- only keep titles that start with an article if the first word of tTitle is among the items of a,an,the then return true end if end filterBookByName And we can pass our lovely filter function to and get rid of a bunch of books: put filter(fld All Books, filterBookByName) into fld Filtered Books Obviously this is just for show to try and indicate how the original JavaScript might translate over into RevTalk conceptually. It doesn't work, it doesn't even come close to doing the exact same thing and can't since RevTalk doesn't support lexical environments. What I did above would be closer to what's known as a first-class function. Hope this helps some. Jeff M. ___ 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] Truncating items
On 28/05/10 1:02 AM, Trevor DeVore li...@mangomultimedia.com wrote: On May 27, 2010, at 5:41 AM, Terry Judd wrote: Is it my imagination or is there some automatic way of truncating items that are too long to fully display within a column that replaces the extra characters with an ellipsis? This lesson has an example showing how to truncate text. The Data Grid has a built-in command called TruncateTail. http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7327-How-Do- I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell- That's it. Thanks Trevor. Terry... ___ 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
How to Dial Using Rev ?
Thanks everyone for the useful feed back on this question ! I will free up some time to work on it and get back when I have a result (hopefully positive). Cheers : ) Gary ___ 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
Writing to the resource fork
Hi, For a new project, it is essential that I can read from and write to the resource fork of a file. I am not looking for a way to copy resource forks. I am trying to use the setResource function, but it doesn't work. I tried it with Rev 4.0 on Mac OS X 10.5 and Rev 2.6.1 on Mac OS 9.2.2. With both systems, I get the same result: the resource is created (including ID, name and flags, but the data are not written to it. On Mac OS X, contrary to what the documentation claims, the file isn't created automatically, if the file doesn't exist yet. Therefore, I create the file before writing the resource fork. Does anyone have a clue about what might be wrong with the following two lines? put empty into url binfile:~/desktop/resource test.dat get setresource(/Users/Mark/desktop/resource test.dat,MARK, 999,Test,U,Hello World) Althought the serResource function doesn't work correctly for me, the getResource and getResources functions work fine on both systems. I tried to find a solution in the archives, but it looks like this function is rarely used. I need it though. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new projects. Contact me for a quote http://economy-x-talk.com/contact.html Download Clipboard Link http://clipboardlink.economy-x-talk.com and share the clipboard of your computer over the local network. ___ 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: never ending scroll?
Tom, The scroll-wheel I've in mind is in the Add alarm section of the iPhone's Clock. Lazily loaded? I guess I'm off to search that. In the meantime, I'd still welcome example scripts of something that'd do an endless scroll of text in a text field, rather than a group, a table, a window, etc. Cheers. -- 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: never ending scroll?
Craig, Then it is easy to create a closed loop of data as it passes through a field based on the action of your wheel thingie. Easy? Sorry, I don't understand this sentence. (Hmmm. Can one depend when you go the other way?) That'd be prepend. Might not now about closed loops and lazy loading, but that at least I do know. Anyway. I'd still welcome any easy script examples of, not the scroll action but, how to endlessly and seamlessly append/prepend scrollable data. Cheers. -- 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: Apad - The Andriod iPad
On Mon, May 24, 2010 at 9:24 AM, Kay C Lan lan.kc.macm...@gmail.com wrote: 5 who bought iPads (well put their name on a list because the 3Gs were all sold out) were all 60+ and some mentioned they had a Kindle and the main purpose of the iPad purchase was to read. Just had another opportunity to pop into an Apple store, of the 3 people who came into pick up their iPads - they'd received their email giving them 24 hrs to collect - only 1 did, the other two declined, indicating that they'd decided to put their name down for a model with larger RAM. Times are tuff? ___ 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: never ending scroll?
Depend. I was joking. There is a rotate concept that takes abcd and makes bcda and then cdab. When I say easy, I mean straightforward. Implementing in reality means all sorts of fun and frustrating machinations to get it just the way you want. But you seem to get that. But it should be, er, easy to display rotated data at a certain rate in the field. Just apprehend as needed. Probably best implemented as a function: on mouseStillDown put rotate(fld yourField) into fld yourField wait a few ticks end mouseStillDown function rotate var put return line 1 of var after var delete line 1 of var return var end repeat You need to do this backwards, as well, of course. This is not tested at all. There is no way I will be the first to send you a complete working script, as I am away from my computer, and you know what kind of people monitor this list. Just wait an hour or so. But you really should write this gadget yourself. 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: never ending scroll?
But you really should write this gadget yourself. Oh, I am, I am... Just taking a chance that someone posts something all nice and pat way before I finally get it done. And, as I struggle up the hill, new issues I hadn't thought of pop up. The latest: how to determine acceleration. So that the faster the user flicks the scroll-wheel, the more data gets whizzed by. Oh well. -- 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: never ending scroll?
Nicolas, The clock application uses a specially made DatePicker object loosely based on a PickerView. xCode provides the DatePicker for use in projects and it has it's own settings for either Date Time, Time, Date, and Timer which then populates the cells of the DatePicker. If I were to build something like the DatePicker in xCode (a custom picker) I would use the PickerView and provide it a dataSource with say 1 to 100 and then set it up so that the cells were both reusable and lazily loaded. That way when the Picker View gets to 96 (5 rows are displayed in a Date Picker) it is displaying 96, 97, 98, 99, 100, and when I scroll to 97 it will populate the last cell with 1 which used to be 100 and so on. Lazy loading only loads enough cells in this case to have them loaded just prior to viewing them on screen. The same would hold true going in the reverse. I think this would be possible but difficult with a text field using it's own scrollbar. Maybe it is more doable with a data Grid? I haven't played heavily with a DG yet. Maybe someone can chime in on this. For me, I still think a group is the way to go though and using cells made up of text fields. Load the data in the cells when needed and have 15 cells where only 5 are visible and keep adding a cell to the bottom of the list or top depending on which direction you are going in. Cheers, Tom McGrath III Lazy River Software http://lazyriver.on-rev.com 3mcgr...@comcast.net I Can Speak - Communication for the rest of us... http://mypad.lazyriver.on-rev.com I Can Speak on the iPad Store http://itunes.apple.com/us/app/i-can-speak/id364733279?mt=8 DeMoted - Have you DeMoted Someone today? http://demoted.lazyriver.on-rev.com DeMoted on the iTune App Store http://itunes.apple.com/us/app/demoted/id355925236?mt=8 On May 27, 2010, at 6:56 PM, Nicolas Cueto wrote: Tom, The scroll-wheel I've in mind is in the Add alarm section of the iPhone's Clock. Lazily loaded? I guess I'm off to search that. In the meantime, I'd still welcome example scripts of something that'd do an endless scroll of text in a text field, rather than a group, a table, a window, etc. Cheers. -- 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 ___ 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: never ending scroll?
Hi. How does the user flick? With the mouse? Is the mouse down when you flick? If you use anything like what I suggested, you should be able to use the mouseMove function to determine flick speed, and set the speed of rotating the data based on that. Once you have a max start speed, you can reduce it gradually to 0. Amazing how the small details become large challenges. 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: Avoiding Global Variables
From: Of Francis Nugent Dixon Hi from Beautiful Brittany, Thanks for your Update and News concerning Avoiding Global Variables. Where was this? -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.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: never ending scroll?
Nicolas Cueto wrote: But you really should write this gadget yourself. Oh, I am, I am... Just taking a chance that someone posts something all nice and pat way before I finally get it done. And, as I struggle up the hill, new issues I hadn't thought of pop up. The latest: how to determine acceleration. So that the faster the user flicks the scroll-wheel, the more data gets whizzed by. Scott Rossi has a nice acceleration script example on his web site, it works pretty well even though he labelled it alpha. Go here and look for Ease: http://tactilemedia.com/site_files/software/tutorials.html -- 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
VLC and Rev
I was wondering if anyone has done any work with VLC and Rev? If so, can you share your experiences! regards, Glen ___ 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: Avoiding Global Variables
Thanks for your Update and News concerning Avoiding Global Variables. Where was this? Here ya go: http://www.runrev.com/newsletter/may/issue93/newsletter3.php 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: OT: Jobs vs Gates
Can't help but respond ;-) http://money.cnn.com/2010/05/26/technology/apple_microsoft/index.htm On Fri, May 28, 2010 at 3:04 AM, Lynn Fredricks lfredri...@proactive-intl.com wrote: http://www.youtube.com/watch?v=qHO8l-Bd1O4 Sorry, can't help it... :-) Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.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