Re: Help with C externals
Ruslan, you might need to include some information about why someone might prefer to learn the Valentina API (accessible from V4REV) by citing some features of Valentina that are superior or unavailable in sqlite e.g. encryption, full-text searching (I'm not sure if the latter has been enabled with Runrev's distribution of sqlite). You might also want to provide benchmarks or design-decisions that make Valentina a better choice. Perhaps provide some links to show what is possible with Valentina Reports - but since Valentina Reports works with sqlite, that's not much of a reason for learning to use Valentina as a database :) I looked around for embeddable encrypted databases, and Valentina was one of the only databases that offered on-the-fly encryption. Bernard On Thu, Mar 8, 2012 at 7:54 AM, Ruslan Zasukhin ruslan_zasuk...@valentina-db.com wrote: 2) why tease self with SQLite if exists Valentina DB and now many ways with Valentina DB Reports are FREE! Even for deployment and sales. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
post command on Android not working (?)
Hello, I'm having problems getting a post command routine which works fine between an onrev cgi file and my Windows desktop standalones to also work fine on Android. Whereas on the desktop setup the cgi sends back data as expected, on Android nothing seems to be happening. And this happens both on the target device (Android tablet) and in the LC IDE environment itself. Here are the barebones of the stack's mouseUp/urlProgress script and the cgi scripts, with comments interspersed: /// local pURL on mouseUp put http://kweto.com/cgi-bin/TheCGI.cgi; into tURL put URLEncode(tURL) into tURL put tURL into pURL put ThePassword cr theStatement into tQueryFormat put URLEncode(tQueryFormat) into tQueryFormat post tQueryFormat to URL tURL -- HAVE ALSO TRIED post tQueryFormat to URL(tURL) put it into tSQLqueryResult -- on Windows, it contains data, but on Android it is empty end mouseUp on urlProgress pUrl, pStatus -- I don't actually understand how to implement urlProgress! if pStatus is contacted then answer Contacted with Okay end if end urlProgress /* [the http://kweto.com/cgi-bin/TheCGI.cgi; cgi file:] */ #!TheLiveCodeEngine -ui on startup -- put $REQUEST_METHOD into buffer put Hello world into buffer put Content-Type: text/plain cr put Content-Length: the length of buffer cr cr put buffer end startup /// The result from this is that tSQLqueryResult is empty. But oughtn't it to be Hello world? I hope I'm overlooking something simple... Thanks for your consideration. -- Nicolas Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Become a man with staying power
Hi from Beautiful Brittany, On 3 Mar 2012, at 6:00 pm, Richmond wrote: the ultimate Sanskrit input system; and working hard towards the finishing line. Colonel Pickering would be proud of you! The rain falls mainly on the plain. I think he's got it ! By George, he's got it ! -Francis Windows is just a series of panes ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] New Wine in old skins
Hi from Beautiful Brittany, Richard wrote : don't expect everything to work as well as it does with real Windows. Richmond. I hope you don't mind if I pass on that statement ! However, it reminds me of the definition of Real and Virtual Memory on the IBM computers of the 70's. 1 - If it's there, and you can see it - it's Real. 2 - If it's not there, and you can see it, it's Virtual 3 - If it's not there, and you can't see it, it's Gone ! -Francis Windows is just a long series of panes ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: post command on Android not working (?)
Hi Nicolas, You're right, this doesn't work. It is a bug. Currently, I don't know of any solution, except for using GET instead of POST. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 8 mrt 2012, at 12:34, Nicolas Cueto wrote: Hello, I'm having problems getting a post command routine which works fine between an onrev cgi file and my Windows desktop standalones to also work fine on Android. Whereas on the desktop setup the cgi sends back data as expected, on Android nothing seems to be happening. And this happens both on the target device (Android tablet) and in the LC IDE environment itself. Here are the barebones of the stack's mouseUp/urlProgress script and the cgi scripts, with comments interspersed: snip script ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: post command on Android not working (?)
That bugs prevents anyone from implementing any social network stuff on Android, should be marked as blocker. =/ On Thu, Mar 8, 2012 at 11:07 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Nicolas, You're right, this doesn't work. It is a bug. Currently, I don't know of any solution, except for using GET instead of POST. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 8 mrt 2012, at 12:34, Nicolas Cueto wrote: Hello, I'm having problems getting a post command routine which works fine between an onrev cgi file and my Windows desktop standalones to also work fine on Android. Whereas on the desktop setup the cgi sends back data as expected, on Android nothing seems to be happening. And this happens both on the target device (Android tablet) and in the LC IDE environment itself. Here are the barebones of the stack's mouseUp/urlProgress script and the cgi scripts, with comments interspersed: snip script ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Test using 5.1 Retina Simulator
Since the new xCode is an App bundle it isn't recognized as a folder for dev in LC. But you can still run LC apps in the simulator. As long as you have not deleted the old xCode /developer folder (or if you did and then moved it back after install) and you are using Lion 10.7.3 xCode 4.3.1 and iOS 5.1 SDK and LiveCode 5 + Here's how: Find the new Simulator at: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ and copy it to the old simulator folder here: /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ Then in LC just select Test and then from within the 'new' Simulator choose Hardware/Device/iPad (Retina) -- Then choose scale 50% from the Window menu. Also, even though the screen is reduced to 50% the Copy Screen command and the Save Screen Shot command both produce the 1536 × 2048 pixel png. SDK next… -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sqlite and performances in LiveCode
On Thu, Mar 8, 2012 at 1:16 AM, Pete p...@mollysrevenge.com wrote: Hi Trevor, I tried this approach in Livecode an it works great. I do have one strange thing going on which I hope you can help with. There are 12 lines in my datagird. I put a breakpoint in GetDataForLine and I see it being called 12 times followed by a slight pause, then it's called another 12 times. I've double checked my code and I'm certain I'm only setting dgNumber ofRecords once. Any ideas? Not sure. I just tested the example stack by logging calls to the message box and GetDataForLine is only called 7 times for 5 lines of data. Not sure if either will make a difference but make sure cache controls = false and that fixed row height = true. You could try logging the executioncontexts on every call to GetDataForLine and seeing where the 2nd set of twelve are originating from. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com-www.screensteps.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: use-livecode Digest, Vol 102, Issue 12
Andre you almost made coffee come out my nose! Apple damned by the stock market if they dont make things bigger, brighter and better at least twice a year and damned by their developers when they do! jeff On Mar 8, 2012, at 2:04 AM, use-livecode-requ...@lists.runrev.com wrote: I've heard that Google is dealing with that by shipping a new Android Emulator in the SDK. This new emulator will randomize the rect of the device upon every launch with values between 124 and 2048. =) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: post command on Android not working (?)
You're right, this doesn't work. It is a bug. Mark, That got me thinking that there might be a bug report on this already. And there is! Report# 9964. That report offers this workaround: I can confirm there is a bug in Android post to URL. The post data is transmitted to the server, but the Content-Type header is not being set. By default, the Content-Type header should be set to application/x-www-form-urlencoded but this is not being done. As a workaround, you can set this header manually using the httpHeaders property: set the httpHeaders to Content-Type: application/x-www-form-urlencoded You should set the httpHeaders to empty once the post command has completed to avoid it affecting any subsequent url access. - That bug report also states this bug has been fixed for 5.5.0-dp-1. But, apparently it hasn't. At least, not on 5.5.0-dp-2. So, I tried that set the httpHeaders workaround. Also not working. Here's something else very odd that's happened after further experimentation. If on my stack I first click a button with this script: get url get url (http://www.google.com;) put it into field text and then after that click the button with the post (plus workaround) script: set the httpHeaders to Content-Type: application/x-www-form-urlencoded put URLEncode(tQueryFormat) into tQueryFormat put URLEncode(http://helloWorld.cgi;) into tURL post tQueryFormat to URL tURL put it into field text that second it contains the google.com page's data. And I tried that get url with a different url, and the same odd result happened. So, whereas in my first post, it was returning empty, now it contains pre-fetched data. Guess that bug report ought not to be resolved as Fixed? -- Nicolas Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Apple iPad announcement evokes yawn
On Mar 7, 2012, at 5:17 PM, Gerry Orkin wrote: Tim Jones wrote: I agree that the higher pixel density will provide for more comfortable reading, but it also means that we'll now need to add still another screen size to the three that we already must check for (iPhone, iPhone Retina, and iPad). I know! Horrendous! Android would never treat us so poorly :) But that's another discussion. This was about another overblown Apple launch event that was much ado about nothing. A lot of catch-up on things, but nothing truly new. I'm happy that Apple management haven't lost Jobs' flair for the dramatic, but a new screen, an updated camera, and finally getting to 1080p isn't something that I'd have been happy about traveling to San Francisco for as a journalist. Show me a Mac Book Air Pad (touch screen MBA) and I'll get excited. Show me a new rack-friendly Mac Pro, and I'll shout to the heavens. Show me Thunderbolt peripherals that are actually available and I'll most likely faint. But a new screen and an overdue update on existing products??? Sorry to sound so jaded and cynical, but I've been in this space for too long (since the Apple ][ circa 1982), and I just expect more. Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Apple iPad announcement evokes yawn
Would a quad core make you a bit happier? How about 4G LTE? I don't think it was about nothing. These are all somethings, and all together they comprise a significant upgrade. Also, I think that in the midst of economic uncertainty, it would be foolish of Apple to embark on some great new technology. They DID have a rack mounted Mac Pro. It was called Xserve, and very few people (relatively speaking) bought them. They are AWESOME servers (I have 6 in my network here) but they were pricey, and it took a long time for the Server OS to get to where an enterprise would feel comfortable integrating it into their existing Active Directory infrastructure, and there was no real benefit to doing so. Apple understandably canned the product line. A touchscreen in and of itself is not a very good interface for a laptop IMHO. I have had the opportunity to use one running Windows, and I found myself going back to the trackball or touchpad in frustration. If you interact with the system a lot, reaching out your hand and touching the screen multiple times in a minute can get tiring after not too long. Try doing it all day! Even with an iPad I would not like to have to use it all day as my main computing device. The times, they ARE a changin', and not necessarily for the better. Gas prices are going through the roof and businesses will not absorb this cost themselves. They will predictably pass that cost on to the consumer, in the form of more expensive utilities, food, pretty much everything. Consumers will then have even less free cash to spend on new technology. I think Apple did just enough. Bob On Mar 8, 2012, at 9:02 AM, Tim Jones wrote: This was about another overblown Apple launch event that was much ado about nothing. A lot of catch-up on things, but nothing truly new. I'm happy that Apple management haven't lost Jobs' flair for the dramatic, but a new screen, an updated camera, and finally getting to 1080p isn't something that I'd have been happy about traveling to San Francisco for as a journalist. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sqlite and performances in LiveCode
Hi Trevor, The properties you mentioned are both set correctly. I tried logging executioncontexts but everything looked exactly the same each time though. I also logged the line number parameter of GetDataForLine each time through and displayed them immediatly after the line of code that sets dgnumberofrecords and it showed the line numbers there twice. I'm concluding that it's not something in my code, since the display is right after setting dgnumberofrecords and there's only one call to it. However, it's not really a big deal, the amount of time consumed in setting up 12 lines twice instead of once isn't worth worrying about. I was really letting you know about it in case it was a known bug. Incidentally, I was wrong on the number of lines in my datagrid. As in your example, GetDataForLine seems to get called a couple more times than there are lines in the datagrid. Theer are eleven lines in mine and it is being called 12 times. Pete On Thu, Mar 8, 2012 at 6:43 AM, Trevor DeVore li...@mangomultimedia.comwrote: On Thu, Mar 8, 2012 at 1:16 AM, Pete p...@mollysrevenge.com wrote: Hi Trevor, I tried this approach in Livecode an it works great. I do have one strange thing going on which I hope you can help with. There are 12 lines in my datagird. I put a breakpoint in GetDataForLine and I see it being called 12 times followed by a slight pause, then it's called another 12 times. I've double checked my code and I'm certain I'm only setting dgNumber ofRecords once. Any ideas? Not sure. I just tested the example stack by logging calls to the message box and GetDataForLine is only called 7 times for 5 lines of data. Not sure if either will make a difference but make sure cache controls = false and that fixed row height = true. You could try logging the executioncontexts on every call to GetDataForLine and seeing where the 2nd set of twelve are originating from. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com-www.screensteps.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn
Whoa - I touched a sensitive nerve ending with that one.. Everything that you mention was all stuff that could have been announced via press release. The quad core is the GPU only. The 4G-LTE support is again - catch up. Economic uncertainty is not part of the reality of Apple. They made the largest net profit in the company's history last quarter. The Xserve was never anything like a Mac Pro (or a PowerMac). the Mac Pro is used for serious ME production and is NOT designed to be a server while the Xserve was primarily an enterprise server system and was never designed (or sold) for desktop use - the two can never be confused. Apple canned the Xserve because they underestimated the efforts of supporting an enterprise environment. For another company, $415M a year is big money. For Apple, it's not worth maintaining since it's so far removed from their core efforts. Get on the phone and call any major studio's system support team and ask them what the best thing Apple could give them and you'll get the same story from all of them - new licenses for Final Cut Pro 7 and a 12 core Mac Pro that will fit in a rack. This is what I do for a living. I - and a lot of folks in the ME space - regularly use our iPads 10 to 12 hours (or more) a day and we love them. Just because it's something you wouldn't appreciate doesn't mean that the rest of the world also doesn't appreciate it. In fact, this is sent from my iPad, but I remove that silly tag at the bottom. Heck, Peter Frampton even used one on stage last night. I love my Apple products, and I own multiple, but I am confused by your statement relating gas prices to the Apple event (??). Tim On Mar 8, 2012, at 10:30 AM, Bob Sneidar wrote: Would a quad core make you a bit happier? How about 4G LTE? I don't think it was about nothing. These are all somethings, and all together they comprise a significant upgrade. Also, I think that in the midst of economic uncertainty, it would be foolish of Apple to embark on some great new technology. They DID have a rack mounted Mac Pro. It was called Xserve, and very few people (relatively speaking) bought them. They are AWESOME servers (I have 6 in my network here) but they were pricey, and it took a long time for the Server OS to get to where an enterprise would feel comfortable integrating it into their existing Active Directory infrastructure, and there was no real benefit to doing so. Apple understandably canned the product line. A touchscreen in and of itself is not a very good interface for a laptop IMHO. I have had the opportunity to use one running Windows, and I found myself going back to the trackball or touchpad in frustration. If you interact with the system a lot, reaching out your hand and touching the screen multiple times in a minute can get tiring after not too long. Try doing it all day! Even with an iPad I would not like to have to use it all day as my main computing device. The times, they ARE a changin', and not necessarily for the better. Gas prices are going through the roof and businesses will not absorb this cost themselves. They will predictably pass that cost on to the consumer, in the form of more expensive utilities, food, pretty much everything. Consumers will then have even less free cash to spend on new technology. I think Apple did just enough. Bob On Mar 8, 2012, at 9:02 AM, Tim Jones wrote: This was about another overblown Apple launch event that was much ado about nothing. A lot of catch-up on things, but nothing truly new. I'm happy that Apple management haven't lost Jobs' flair for the dramatic, but a new screen, an updated camera, and finally getting to 1080p isn't something that I'd have been happy about traveling to San Francisco for as a journalist. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Help with C externals
Hi Monte, The callbacks that Paul mentions in his reply is one thing - would be great to be able to display some sort of progress messages during a lengthy db operation. But seems like that might be a problem according to Paul. I guess I've come across several niggling issues in the last few months. The latest one I found is that revDatabaseColumnNames took around 1.5 seconds to retrieve the column names for one table. I'd been chasing my tail trying to find the cause of slow performance thinking it was something to do with datagrids or slow sqlite performance, but turns out to be LC. Using the equivalent PRAGMA to get the column names took hardly any measurable time. During the same exercise, I create a cursor with a SELECT rowid FROM table statement. Right after that, I issue a revDatabaseColumnNamed call for rowid and get an error that the column doesn't exist. I found from calling revDatabaseColumnNames that the cursor has used the primary key column of the table instead of rowid. Arguably, that shouldn;t be a problem but I I select rowid, then rowid is what should be in the cursor. I can get round it by using revDatabaseColumnNumbered. If you followed the recent thread on putting empty into integer column in sqlite, you'll know that when you get the data back out agin, it comes back as zero, not empty. Similar to the rpevious example - you should get back whatever you put in. I should add that QCC folks have recognised this as a bug and plan to fix it. On a performance front, there's been a recent thread regarding how much faster SQLiteManager is than the LC equivalent calls. Turns out a lot of that was because of a neat technique used by SQLiteManager but there's still a performance issue. Issuing SELECT rowid FROM table in LC takes about 5 times longer than it does in SQLIteManager for the same table. I'll admit that the numbers are small but for tables with large enough number of rows, that's a significant amount of time. There's a number of useful SQLite externals out there. These are usually funcations that you can include in SELECT statements or expressions. SQLite provides a function to load external libraries but it only works if that functionality is enabled when the database is opened. LC doesn't provide a way to make that happen and there is no PRAGMA way to do it. There's more but this is already too long! I'll finish by saying that most of the stuff I'm writing is in the nature of general purpose tools for SQLite db administrators and developers so I'm probably using LC calls that wouldn;t be used by the majority of people who develop a standard app using a database with a known structure. Pete On Wed, Mar 7, 2012 at 10:27 PM, Monte Goulding mo...@sweattechnologies.com wrote: Hmm... what are the issues you are finding? Cheers Monte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Help with C externals
Hi Paul, Yes the callbacks are certainly one of the things I want to get access to but you're raising doubts as to how feasible that might be. But there are other things too. I guess the first thing I'm trying to ascertain is if it will be possible to call the C API's directly from LC or if there will have to be some intermediate external glue that sits between LC and the SQLite C API. Pete On Wed, Mar 7, 2012 at 11:04 PM, Paul D. DeRocco pdero...@ix.netcom.comwrote: From: Pete I'm seriously considering trying to use the C API for sqlite databases instead of the rev db functions. I'm finding too many little inconsistencies and inefficiencies in the rev routines. The problem is I know nothing about using external libraries with LC or the sqlite C API. I'm hoping there's someone out there who can at least tell me if this is feasible. Check out http://www.sqlite.org/c3ref/intro.html for documentation of the C APIs for sqlite My experience with externals is that it is just a load of busywork to write an interface layer that calls external functions. The difficulty arises when you need to deal with callbacks, and I assume SQLite uses some mechanism like this for reporting progress or timeouts, or allowing long operations to be aborted. So that's what you should investigate first, to decide whether you can do everything you need with an external. In the past, I've dealt with the issue of callbacks from asynchronous events by having those callbacks record their state in a variable or fifo, and then use timer messages to poll the variable or fifo at a rate sufficient to the application. But that doesn't deal with callbacks that occur during the time when a function called by your code is in progress, since you're not handling timer messages during that time. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn
I also seemed to have touched a nerve! :-) I wasn't relating gas prices to the apple event (a drastic oversimplification of what I was saying) I was relating an unstable economy that has all the signs of destabilizing even more (using the rising gas prices as one vector on the issue as an example, perhaps I didn't make that clear,) to the seemingly apparent unwillingness of Apple to produce any dramatically new products or technology into the market right now. And sure Apple is catching up. Why wouldn't they? After they released the revolutionary iPad, other companies one upped them. As is so often the case, Apple does the innovation and takes the chance. Once other companies see that there is a market they come along with Me Too products. No surprises there. If Apple didn't bring the iPad up to speed, they would be roundly criticized for THAT! The Xserve was never anything like a Mac Pro? Really? Sure they were different products optimized for different purposes, but nothing like?? Same chip set, same bus architecture, they used the same memory in Mac Pro's of the same chipset, etc. No high end graphics card true, and precious little space to put one, but still, nothing like is a bit of an overstatement, don't you think? There is nothing about the Xserve to prevent it from running the stock non-server OS X except perhaps the installer will refuse to run on it and that is something Apple decided to do, as far as I know. And you CAN run OS X Server on the Mac Pro. Really, the only thing to prevent someone from using an Xserve as a desktop computer is the horribly loud fans, and the (once) excessively high price tag on the OS. I run Parallels and up to 4 virtual machines running Windows on two of my Xserves. There is no software I can run on a Mac Pro that I cannot run on an Xserve. Nothing like is another drastic oversimplification in my opinion. Economic uncertainty IS a part of EVERY company's reality, ESPECIALLY companies who produce what amounts to luxury products to the consumer market. And I could argue just as easily that Apple's profits last quarter are due at least in part to them not overextending themselves by developing any radically new products until they are certain the economy is really recovering. I do agree however that there needs to be more done with Thunderbolt. It's way too expensive right now, and not a lot of peripherals are available that use it. I'm just not sure what Apple can do to change that. They cannot really twist the arm of the 3rd party hardware developers. Let's agree to disagree. Bob On Mar 8, 2012, at 9:55 AM, Tim Jones wrote: Whoa - I touched a sensitive nerve ending with that one.. Everything that you mention was all stuff that could have been announced via press release. The quad core is the GPU only. The 4G-LTE support is again - catch up. Economic uncertainty is not part of the reality of Apple. They made the largest net profit in the company's history last quarter. The Xserve was never anything like a Mac Pro (or a PowerMac). the Mac Pro is used for serious ME production and is NOT designed to be a server while the Xserve was primarily an enterprise server system and was never designed (or sold) for desktop use - the two can never be confused. Apple canned the Xserve because they underestimated the efforts of supporting an enterprise environment. For another company, $415M a year is big money. For Apple, it's not worth maintaining since it's so far removed from their core efforts. Get on the phone and call any major studio's system support team and ask them what the best thing Apple could give them and you'll get the same story from all of them - new licenses for Final Cut Pro 7 and a 12 core Mac Pro that will fit in a rack. This is what I do for a living. I - and a lot of folks in the ME space - regularly use our iPads 10 to 12 hours (or more) a day and we love them. Just because it's something you wouldn't appreciate doesn't mean that the rest of the world also doesn't appreciate it. In fact, this is sent from my iPad, but I remove that silly tag at the bottom. Heck, Peter Frampton even used one on stage last night. I love my Apple products, and I own multiple, but I am confused by your statement relating gas prices to the Apple event (??). Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: Help with C externals
From: Pete I guess the first thing I'm trying to ascertain is if it will be possible to call the C API's directly from LC or if there will have to be some intermediate external glue that sits between LC and the SQLite C API. I haven't written an external since Rev 3.5, but I don't think anything fundamental has changed. Yes, you have to write a wrapper layer, because everything called from LiveCode has to accept arguments and return results as null-terminated ASCII strings. So you spend a lot of time converting between decimal ASCII and binary, and so forth. (If current LC has advanced beyond that, I'd be interested to hear.) But like I said, it's just busywork, and on modern machines it's not so slow as to be a problem. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sqlite and performances in LiveCode
Trevor, yes I'm going to try. But I think it would be a good idea if you could change your stack in the lesson Displaying Large Amounts of Data to demonstrate the performance of LiveCode. Jérôme Le 8 mars 2012 à 05:19, Trevor DeVore a écrit : Jérôme - you might try something like this in LiveCode. If you set up the data grid like the example stack then you would call SELECT rowid FROM table to get the number of records and a list of ids. Then in GetDataForLine you would execute SELECT * FROM table WHERE rowid=N to fill in the row data that is being displayed. -- Trevor DeVore Blue Mango Learning Systems www.clarify-it.com-www.screensteps.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sqlite and performances in LiveCode
On 3/5/12 12:53 PM, � wrote: Your acid test is very interesting. Using sqlite3 directly is one solution to increase performance of LiveCode. And you're right, a response time of less than a second is acceptable from a user's perspective and and limit the number of registration is a way to reach this performance. Also the method you use for displaying records in a field is important. Perhaps you already know this: Never push your data to the field one line at a time. Build a var with results first and then put the var into the field. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn
Can I agree to disagree too? :) I think that when people actually SEE the iPad 3 they'll get what the big deal is. It's the best tablet screen you can buy as of right now. But yeah, iPad 3 is an evolutionary not revolutionary product. Heck in the K-12 market, the much bigger announcement was that the iPad 2 is going to be $399 for the general public. So hopefully education can score package deals with an even better price. This will be a big deal in the K-12 market. Regarding the XServe vs. Mac Pro. From our perspective (I'm basically a District level network admin for a large school district) Apple killing the XServe was a big deal. It didn't necessarily run faster than the Mac Pro, but it had dual power supplies, fit in a rack mount, and was designed so that you could stock spare parts and very easily swap them out. It was a great server for a data center, whereas the Mac Pro tower sucks - can't rack mount it (without using a shelf and taking up tons of space), no dual power supplies, harder to swap components out. Apple was stupid to discontinue the XServe because there are tons of data centers that require specs like can be rack mounted and has dual power supply. We run Moodle on 3 XServes - the next time we update our hardware we'll be switching to Linux because the XServe is gone and we need enterprise worthy servers. The XServe was doing a good job getting Apple into IT shops and server rooms. It was a foot in the door with the server nerds. And now that's gone. They looked at the spreadsheet but they should have looked further. They're doing the same thing with OS X Server. They've taken out a lot of stuff that the education market was still using. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 8, 2012, at 1:38 PM, Bob Sneidar wrote: I also seemed to have touched a nerve! :-) I wasn't relating gas prices to the apple event (a drastic oversimplification of what I was saying) I was relating an unstable economy that has all the signs of destabilizing even more (using the rising gas prices as one vector on the issue as an example, perhaps I didn't make that clear,) to the seemingly apparent unwillingness of Apple to produce any dramatically new products or technology into the market right now. And sure Apple is catching up. Why wouldn't they? After they released the revolutionary iPad, other companies one upped them. As is so often the case, Apple does the innovation and takes the chance. Once other companies see that there is a market they come along with Me Too products. No surprises there. If Apple didn't bring the iPad up to speed, they would be roundly criticized for THAT! The Xserve was never anything like a Mac Pro? Really? Sure they were different products optimized for different purposes, but nothing like?? Same chip set, same bus architecture, they used the same memory in Mac Pro's of the same chipset, etc. No high end graphics card true, and precious little space to put one, but still, nothing like is a bit of an overstatement, don't you think? There is nothing about the Xserve to prevent it from running the stock non-server OS X except perhaps the installer will refuse to run on it and that is something Apple decided to do, as far as I know. And you CAN run OS X Server on the Mac Pro. Really, the only thing to prevent someone from using an Xserve as a desktop computer is the horribly loud fans, and the (once) excessively high price tag on the OS. I run Parallels and up to 4 virtual machines running Windows on two of my Xserves. There is no software I can run on a Mac Pro that I cannot run on an Xserve. Nothing like is another drastic oversimplification in my opinion. Economic uncertainty IS a part of EVERY company's reality, ESPECIALLY companies who produce what amounts to luxury products to the consumer market. And I could argue just as easily that Apple's profits last quarter are due at least in part to them not overextending themselves by developing any radically new products until they are certain the economy is really recovering. I do agree however that there needs to be more done with Thunderbolt. It's way too expensive right now, and not a lot of peripherals are available that use it. I'm just not sure what Apple can do to change that. They cannot really twist the arm of the 3rd party hardware developers. Let's agree to disagree. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Help with C externals
please consider voting for report #2783 in quality center which calls for typed variables (an example being for passing parameters to externals) http://quality.runrev.com/show_bug.cgi?id=2783 Best regards François Le 8 mars 2012 à 19:48, Paul D. DeRocco a écrit : From: Pete I guess the first thing I'm trying to ascertain is if it will be possible to call the C API's directly from LC or if there will have to be some intermediate external glue that sits between LC and the SQLite C API. I haven't written an external since Rev 3.5, but I don't think anything fundamental has changed. Yes, you have to write a wrapper layer, because everything called from LiveCode has to accept arguments and return results as null-terminated ASCII strings. So you spend a lot of time converting between decimal ASCII and binary, and so forth. (If current LC has advanced beyond that, I'd be interested to hear.) But like I said, it's just busywork, and on modern machines it's not so slow as to be a problem. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] New Wine in old skins
On 03/08/2012 02:28 PM, Francis Nugent Dixon wrote: Hi from Beautiful Brittany, Richard wrote : don't expect everything to work as well as it does with real Windows. Richmond. I hope you don't mind if I pass on that statement ! You are very welcome to. I don't like Windows to be honest, as I feel it is shoddy, and wonder what on earth would make people pay for something prone to viruses when there are FREE alternatives around that do not suffer from viruses. It would, however, be dishonest to claim that WINE does Windows, because it doesn't; it does run a lot of Windows programs well, but it is not a replacement for Windows. The replacement for Windows is Linux; and to run a machine with Linux, but then use some system to run Windows programs is a half-cock job. If you want Windows, then run a machine with Windows (and pay the price; both the Windows licence fee, and what happens if a virus hoses your computer), and if you want Linux, run Linux; or, run both on separate machines, or partitions on the same machine. However, it reminds me of the definition of Real and Virtual Memory on the IBM computers of the 70's. 1 - If it's there, and you can see it - it's Real. 2 - If it's not there, and you can see it, it's Virtual 3 - If it's not there, and you can't see it, it's Gone ! -Francis Windows is just a long series of panes ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Test using 5.1 Retina Simulator
Tom, you understand this so much better than me - could you explain whether and what upgrades on the Apple side I can do and still work with the current version of LC (5.0.2). Presumably you've seen the email from Apple Update your apps for iOS 5.1. Can we? I understand your point about the Simulator (just), but I don't know really understand your 'app bundle' point and what prevents LC being compatible with the new xCode. Really the mother ship should explain all this, but I'm not holding my breath, so I would be grateful for any clarification, and I suspect I will not be the only one. TIA Graham On Thu, 08 Mar 2012 09:31:36 -0500, Thomas McGrath III mcgra...@mac.com wrote: Since the new xCode is an App bundle it isn't recognized as a folder for dev in LC. But you can still run LC apps in the simulator. As long as you have not deleted the old xCode /developer folder (or if you did and then moved it back after install) and you are using Lion 10.7.3 xCode 4.3.1 and iOS 5.1 SDK and LiveCode 5 + Here's how: Find the new Simulator at: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ and copy it to the old simulator folder here: /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ Then in LC just select Test and then from within the 'new' Simulator choose Hardware/Device/iPad (Retina) -- Then choose scale 50% from the Window menu. Also, even though the screen is reduced to 50% the Copy Screen command and the Save Screen Shot command both produce the 1536 ? 2048 pixel png. SDK next? -- Tom McGrath III ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Help with C externals
Would something like SWIG help with the construction of LC externals? I confess to not knowing anything about externals, and almost nothing about C. But I've used some products which are cross-platform and provide interfaces in many different languages. At their base they use SWIG (or something similar) to generate the interfacing code. Bernard ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Help with C externals
Probably helps if I provide a link: http://www.swig.org/ On Thu, Mar 8, 2012 at 9:34 PM, Bernard Devlin bdrun...@gmail.com wrote: Would something like SWIG help with the construction of LC externals? I confess to not knowing anything about externals, and almost nothing about C. But I've used some products which are cross-platform and provide interfaces in many different languages. At their base they use SWIG (or something similar) to generate the interfacing code. Bernard ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Test using 5.1 Retina Simulator
This is not an easy egg to crack. I have been trying for a few hours now. When and if I get somewhere I will get back to you. Tom -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 8, 2012, at 4:11 PM, Graham Samuel wrote: Tom, you understand this so much better than me - could you explain whether and what upgrades on the Apple side I can do and still work with the current version of LC (5.0.2). Presumably you've seen the email from Apple Update your apps for iOS 5.1. Can we? I understand your point about the Simulator (just), but I don't know really understand your 'app bundle' point and what prevents LC being compatible with the new xCode. Really the mother ship should explain all this, but I'm not holding my breath, so I would be grateful for any clarification, and I suspect I will not be the only one. TIA Graham On Thu, 08 Mar 2012 09:31:36 -0500, Thomas McGrath III mcgra...@mac.com wrote: Since the new xCode is an App bundle it isn't recognized as a folder for dev in LC. But you can still run LC apps in the simulator. As long as you have not deleted the old xCode /developer folder (or if you did and then moved it back after install) and you are using Lion 10.7.3 xCode 4.3.1 and iOS 5.1 SDK and LiveCode 5 + Here's how: Find the new Simulator at: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ and copy it to the old simulator folder here: /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/ Then in LC just select Test and then from within the 'new' Simulator choose Hardware/Device/iPad (Retina) -- Then choose scale 50% from the Window menu. Also, even though the screen is reduced to 50% the Copy Screen command and the Save Screen Shot command both produce the 1536 ? 2048 pixel png. SDK next? -- Tom McGrath III ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn
Richard MacLemale richard@... writes: They're doing the same thing with OS X Server. They've taken out a lot of stuff that the education market was still using. Speaking of which, has anyone tried out Lion Server? -- Mark Wieder ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn
I would, but most of my servers are too old to run anything beyond Leopard, and the ones that could are not doing anything that would benefit from it. Bob On Mar 8, 2012, at 4:45 PM, Mark Wieder wrote: Richard MacLemale richard@... writes: They're doing the same thing with OS X Server. They've taken out a lot of stuff that the education market was still using. Speaking of which, has anyone tried out Lion Server? -- Mark Wieder ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn
On Mar 8, 2012, at 4:45 PM, Mark Wieder wrote: Richard MacLemale richard@... writes: They're doing the same thing with OS X Server. They've taken out a lot of stuff that the education market was still using. Speaking of which, has anyone tried out Lion Server? I'm a-scared. 10.6 server is running fine and stable. I hear unfortunate things on Apple's server email list about capabilities removed or just moved around or messed with for no apparent reason. No experience personally, and loving it. .Jerry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn
I'v tried out Lion Server and Mountain Lion (10.8) Server. But I'm under NDA for 10.8 Server. I can say that in my District we're skipping 10.7 Server and will be deploying 10.8 Server. I can also say that for schools using Workgroup Manager for clients, they'll want to keep a 10.6 Server to manage 10.4, 10.5, and 10.6 clients, and then a 10.8 Server to manage 10.7, 10.8, and the iOS devices. But that's not my biggest pet peeve with Apple. My biggest pet peeve is that the Color Vampire attacked the side bar in the Finder in 10.7. Seriously, they removed all of the color from the sidebar. What moron came up with that brilliant idea? Are we Goth now or something? OS X - Goth Edition. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 8, 2012, at 7:45 PM, Mark Wieder wrote: Speaking of which, has anyone tried out Lion Server? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Help with C externals
Brenard, Havn't looked in detail but this sounds like it might help with developing some sort of wrapper for the C externals. Plus I always a good SWIG makes my code so much nicer! Pete On Thu, Mar 8, 2012 at 1:34 PM, Bernard Devlin bdrun...@gmail.com wrote: Probably helps if I provide a link: http://www.swig.org/ On Thu, Mar 8, 2012 at 9:34 PM, Bernard Devlin bdrun...@gmail.com wrote: Would something like SWIG help with the construction of LC externals? I confess to not knowing anything about externals, and almost nothing about C. But I've used some products which are cross-platform and provide interfaces in many different languages. At their base they use SWIG (or something similar) to generate the interfacing code. Bernard ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn
And what really eats at this long time mac aficionado is that soon I will be forced to upgrade. I LIKE Leopard/Snow Leopard! I don't wanna give it up! Bob On Mar 8, 2012, at 4:58 PM, Richard MacLemale wrote: I'v tried out Lion Server and Mountain Lion (10.8) Server. But I'm under NDA for 10.8 Server. I can say that in my District we're skipping 10.7 Server and will be deploying 10.8 Server. I can also say that for schools using Workgroup Manager for clients, they'll want to keep a 10.6 Server to manage 10.4, 10.5, and 10.6 clients, and then a 10.8 Server to manage 10.7, 10.8, and the iOS devices. But that's not my biggest pet peeve with Apple. My biggest pet peeve is that the Color Vampire attacked the side bar in the Finder in 10.7. Seriously, they removed all of the color from the sidebar. What moron came up with that brilliant idea? Are we Goth now or something? OS X - Goth Edition. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 8, 2012, at 7:45 PM, Mark Wieder wrote: Speaking of which, has anyone tried out Lion Server? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Help with C externals
Done. Although it looks like this goes back to 2005 so doesn't seem like it's likley to get fixed after all this time. Pete 2012/3/8 François Chaplais francois.chapl...@mines-paristech.fr please consider voting for report #2783 in quality center which calls for typed variables (an example being for passing parameters to externals) http://quality.runrev.com/show_bug.cgi?id=2783 Best regards François Le 8 mars 2012 à 19:48, Paul D. DeRocco a écrit : From: Pete I guess the first thing I'm trying to ascertain is if it will be possible to call the C API's directly from LC or if there will have to be some intermediate external glue that sits between LC and the SQLite C API. I haven't written an external since Rev 3.5, but I don't think anything fundamental has changed. Yes, you have to write a wrapper layer, because everything called from LiveCode has to accept arguments and return results as null-terminated ASCII strings. So you spend a lot of time converting between decimal ASCII and binary, and so forth. (If current LC has advanced beyond that, I'd be interested to hear.) But like I said, it's just busywork, and on modern machines it's not so slow as to be a problem. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Strange Rev 3.5 problem
I'm recompiling an old program with a few minor mods, and now I'm getting the following error on a line in my first handler that merely says local s: stack main: compilation error at line 139 (local: name shadows another variable or constant) near s, char 3 If I change s to some other variable, that error goes away, but appears on the next handler (of many) that says local s in it. Nowhere do I have a global variable or constant called s. The Message Box global variables doesn't show anything called s. None of the other fileds or controls have anything called s that I can find. The dictionary doesn't show anything built-in called s. What's the big deal about s all of a sudden? -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Strange Rev 3.5 problem
Hi, You might have something like this: local s on mouseUp local s put s end mouseUp which should be either on mouseUp local s put s end mouseUp or local s on mouseUp put s end mouseUp If you use local s in multiple handlers, then the error will show up for every handler containing local s, until you remove the local s that's outside your handlers. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 9 mrt 2012, at 03:35, Paul D. DeRocco wrote: I'm recompiling an old program with a few minor mods, and now I'm getting the following error on a line in my first handler that merely says local s: stack main: compilation error at line 139 (local: name shadows another variable or constant) near s, char 3 If I change s to some other variable, that error goes away, but appears on the next handler (of many) that says local s in it. Nowhere do I have a global variable or constant called s. The Message Box global variables doesn't show anything called s. None of the other fileds or controls have anything called s that I can find. The dictionary doesn't show anything built-in called s. What's the big deal about s all of a sudden? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Strange Rev 3.5 problem
Might look here: http://www.runrevplanet.com/index.php?option=com_contentview=articleid=205:52-tips-in-as-many-weeks-tip-52catid=57:tip-of-the-weekItemid=65 #23 and possibly here: http://runtime-revolution.278305.n4.nabble.com/What-does-shadows-mean-td3889721.html Not sure if there is anything applicable in this one but might be. My guess though would be the mark answer. On Thu, Mar 8, 2012 at 7:35 PM, Paul D. DeRocco pdero...@ix.netcom.comwrote: I'm recompiling an old program with a few minor mods, and now I'm getting the following error on a line in my first handler that merely says local s: stack main: compilation error at line 139 (local: name shadows another variable or constant) near s, char 3 If I change s to some other variable, that error goes away, but appears on the next handler (of many) that says local s in it. Nowhere do I have a global variable or constant called s. The Message Box global variables doesn't show anything called s. None of the other fileds or controls have anything called s that I can find. The dictionary doesn't show anything built-in called s. What's the big deal about s all of a sudden? -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Apple iPad announcement evokes yawn
On Fri, Mar 9, 2012 at 1:30 AM, Bob Sneidar b...@twft.com wrote: Gas prices are going through the roof It always puts a smile on my face when people who have it so cheap think it's expensive. I guess you might side with the Mayan's if Gas prices were to hit $8.33 a Gallon by the end of the year. And that is US Dollars and US Gallons. But I wouldn't assume I'm at the top of the list, others must be paying a lot more for gas than that because I only purchase the cheap stuff and I have no doubt that it will be well above $8.50 by year's end. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [WOT] Warning - long winded discussion - was Re: Apple iPad announcement evokes yawn
Which device is serving DHCP? Where does it get ITS IP#? How are the DHCP served addresses set up? Be sure there is only ONE DHCP server on your network. Everything else should bridge. On Mar 8, 2012, at 9:15 PM, Kay C Lan wrote: As we are WOT and you guys are clearly Server savvy I thought I might pose a problem I have not been able to solve. I've posted on the Apple forums, at least twice dating back to Leopard, and have never received a response. Apple Genii have less clue than I do. Simply put, my home network seems to be limited to 10 devices (wired + WiFi). I understand there is a 10 user limit on AFP (non-Server), but I don't have 10 devices with File Sharing switched On (iTunes Sharing maybe, iPhoto Sharing less so). Apart from desktops (wired), laptops and iOS devices (WiFi), there is a TimeCapsule (wired), 2 x Airport Expresses (1 wired to network, the other via WiFi), a printer (wired) and an AV Amp (wired). The Expresses are suppose to have 10 User limit (WiFi) whilst the TimeCapsule is suppose to be limited to 50 Users (not clear if this WiFi or wired + WiFi). ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Apple iPad announcement evokes yawn
On 09/03/2012 03:09, Kay C Lan wrote: paying a lot more for gas than that because I only purchase the cheap stuff and I have no doubt that it will be well above $8.50 by year's end. Prices are insane. I just filled my tank here in the UK, and paid £1.45 per litre for diesel. That's 1.45 x 4.54 (to convert to gallons) x 1.57 ( from xe.com, to convert to dollars) = $10.33 per gallon, and my car holds about 18 gallons. Youch! -Ken ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[Now Seriously OT] Re: Apple iPad announcement evokes yawn
On 9 Mar 2012, at 14:43, Ken Corey wrote: That's 1.45 x 4.54 (to convert to gallons) x 1.57 ( from xe.com, to convert to dollars) = $10.33 per gallon, and my car holds about 18 gallons. Gallons are the exeception that proves the rule that everything is bigger in America. A Gallon is a mere 4/5ths of an Imperial gallon. The culprit is not in fact the gallon that is still 8 pints. It is the pint which is only 16 fluid ounces where as an Imperial pint is a full 20 fluid ounces. Regards Peter ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode