Re: [OT] A couple of links about Gnome and usability
Another thing you might like to think about is running a Linux distro on a second hard-disk or partition in a PC running Windows. If at all possible go for the second hard drive option; I have managed to muck a lot of things up trying to go the second partition route. Some Linux distros are very fiddly indeed to install, but Mint Linux and Ubuntu are as easy, if not easier, to install as Windows and Mac. Download an install disk: http://www.ubuntu.com/download/ubuntu/download http://www.linuxmint.com/download.php burn your ISO image to CD/DVD (that depends on its size) and reboot your machine from that disk, and follow the instructions: http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-install-linux-on-a-second-hard-drive-221331/ http://danleff.net/myarticles/fedorainstall/linuxinstallharddrives4.html - Another option, which is probably the safest bet of all, is to buy a second hand PC (any Pentium 4 will do, with a min. of 512 MB RAM) and install Linux on that. Certainly, in my part of the world HP compaq Pentium 4's with 1-2 GB RAM are as cheap as chips [40 Euros]. ___ 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: Android 4
On 25/03/2012 02:33, Mark Schonewille wrote: Does anyone have (good) experience with LiveCode apps running on an Android 4 tablet? I thought I'd ask before upgrading my tablet. Does that mean that LiveCode is not compatible with Android 4 yet? I'm using it with a Sumvision Astro tablet (from ebuyer.com). It's a ~£100 tablet, running ICS. I got some signs of life using LiveCode 5.0.2, but my app was far from done...much too raw to say that any given anomaly was not just my broken code. Since then 5.5 has come out and I haven't had a chance to play with it on Android yet, which is why I didn't respond to your earlier post. -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
Re: Specify file download path with irev/revignitor
Stephen, (and Jacque), Thanks again for your reply -- got it about the browser controlling downloads for security reasons. Also, some very good information here. I hadn't known about StackRunner and your idea of a thin client is great -- I can probably pre-install it on the MP3 players before we send them out. Simply have folk plug the players into the USB port, and when it shows up on the desktop, launch the client to make sure they have this month's content. (Rather than music, we're doing lectures and seminars, etc. Savvy users are already handling their own downloads and ipods. This project is an attempt to wean our non-techie customers off mailed out CDs... gotta be something grandpa and grandma could handle.) Also great link to the LiveCode Server docs -- I did not know about those! I got the freebie version of RunRev when I signed up for hosting at on-rev and have been working with that and it's user manual... Appreciate the help. Tim Selander Tokyo, Japan On 3/25/12 11:13 AM, stephen barncard wrote: Ah - well that's the thing - the security features of web browsers strictly don't allow control of the user's machine from the server side - that's what those warnings for the user for plug-ins like flash and the livecode plug-in are about. Changing stuff on a remote machine by a server is forbidden for users' protection - otherwise the web would be unworkable thanks to the criminal element. Those same protections are built-in by design for Javascript on the browser side for the same reason. Hence the invention of the Livecode plug-in. That's why I thought you had a 'thin' client on the user's side that could do what you want; your mentioning of sending out players. You could do this with a Livecode plugin, but that would require users to install something on their machines anyway, and the future of this plugin has not been defined lately, hence the recent discussions online. I feel a thin client can give a better UI experience anyway and a lot easier to maintain and support. Your comment about the online documentation of Livecode server is correct - a lot of new info is available with the version notes of the latest version (5.0.2), but I get those through my involvement as a purchaser of the server product to run on my own web host. I assume you've seen what the Runrev site offers: http://www.runrev.com/developers/documentation/server/ These limitations that web browsers have do not diminish the coolness of Livecode server; it just requires being open to do it another more secure way. You never want to do stuff without the permission of your users, that would definitely creep them out. Depending on the scope of your project, number of users, etc, is it possible you could do this entirely 'in the cloud'? That way you could control the addition and deletion of files, giving each user their own space for files, and provide the player in a browser. Otherwise I'd suggest you build a thin user client for her to download and live on her machine. Or possibly use a 'splash screen' approach where a small compiled application would hold the basic livecode 'stuff', and a script could do a go URL http://musicsource/playerstack.lc; on startup thereby loading your latest stack version of your player that could be 'updated in the store' anytime you wish, as that stack would live on your server. Yet this client could have access to any folder your user has access to on her machine. This thin client can then easily manage the audio files in the user-selected (or default) folder. I've done this myself as a convenience to run many utility stacks that I store on my server, and run on one of my several machines, a kind of network based Livecode stack player. Mine is a network variation of Ken Ray's Stackrunner.http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm It sounds like a cool project - being open and controlling expectation of what can be and can't be done is the key, work around those limitations (that everyone else has to deal with), and move forward. Livecode gives us many ways to create the solution to our problems. hope this helps. On 24 March 2012 17:00, Tim Selanderselan...@tkf.att.ne.jp wrote: Thanks for your reply, Stephen. Sorry for not being clear. I'm wanting to do this from a web page hosted on the on-rev.com site, using the?irev scripting language with the revignitor framework. The clients have no LC client installed other than a web browser. One of my frustrations of using on-rev and the scripting language is that there does not seem to be any documentation clearly showing what LC features are _not_ available through the server scripting language. But it is still far easier for me to use than php. I have tried, of course, setting the full path/filename of the files I want to download, but it has not worked correctly so far... hence the post! Many thanks, Tim Selander Tokyo, Japan Stephen Barncard San Francisco Ca. USA more about
Re: Collisions
I'm not the developer of Animation Engine (it's way beyond my maths). It has a demo version, so I'd recommend trying it out. It has some tools to demonstrate to you its own capabilities. http://www.derbrill.de/developers.php I've used it to animate features in non-game apps, but I've barely scratched the surface of what it can do. So well worth a look for anyone considering games. Bernard The commercial product Animation Engine is another. ~Roger ___ 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: Collisions
Thanks, Bernard - I just did a face palm. I own animationEngine - got it free, I think, one time when I upgraded or bought LC. Forgot I had it. Will dig deeper into animationEngine. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 25, 2012, at 6:41 AM, Bernard Devlin wrote: I'm not the developer of Animation Engine (it's way beyond my maths). It has a demo version, so I'd recommend trying it out. It has some tools to demonstrate to you its own capabilities. http://www.derbrill.de/developers.php I've used it to animate features in non-game apps, but I've barely scratched the surface of what it can do. So well worth a look for anyone considering games. 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: Collisions
Richard, Collision detection is the easier part. Just calculate the distance between centers and, if it is greater than the sum of the radii (assuming they are circular) you have a collision. The more difficult part is the physics, what happens after the collission. Are they of equal mass and size? You need to conserve momentum and energy. To get started you may look at a pool game. See: http://jamesphurley.com/runrev.html and look for Nine ball pool. You may want to also checkout Bouncing ball tools at the same site to see how to work with collision with different shapes, and how to deal with enclosures that are may be convex. Jim Hurley I'm working on a very simple iPad app where 4 large shapes randomly float around on the screen. What I'd like to do is have them be able to bounce off each other if they happen to touch. Are there any tutorial pages or sample stacks out there that anyone knows of that I could use as a starting point? I can do collision detection with intersect, but before I spend countless hours reinventing the wheel, I thought I'd ask. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se ___ 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: Collisions
P.S. In the simplest case, equal masses, just interchange the velocities of the two balls after the collision. Proof: If one assumes that the solution is unique, and since interchanging the velocities conserves momentum and energy (for balls of equal mass), this solution is THE solution. Jim Richard, Collision detection is the easier part. Just calculate the distance between centers and, if it is greater than the sum of the radii (assuming they are circular) you have a collision. The more difficult part is the physics, what happens after the collission. Are they of equal mass and size? You need to conserve momentum and energy. To get started you may look at a pool game. See: http://jamesphurley.com/runrev.html and look for Nine ball pool. You may want to also checkout Bouncing ball tools at the same site to see how to work with collision with different shapes, and how to deal with enclosures that are may be convex. Jim Hurley I'm working on a very simple iPad app where 4 large shapes randomly float around on the screen. What I'd like to do is have them be able to bounce off each other if they happen to touch. Are there any tutorial pages or sample stacks out there that anyone knows of that I could use as a starting point? I can do collision detection with intersect, but before I spend countless hours reinventing the wheel, I thought I'd ask. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se ___ 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: Problems downloading files from iDisk pages
Hi Mark, Mark Schonewille-3 wrote .Mac was discontinued 3 years ago and taken off-line 1.5 years ago. Just yesterday, Roger Guay published a link to his stack, stored in iDisk: https://idisk.mac.com/irog//Public/SETIproblem.livecode Here is the original message: http://runtime-revolution.278305.n4.nabble.com/ANN-and-OT-Calling-All-SETI-Enthusiasts-td4501954.html How it is this possible, if this service is closed? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-downloading-files-from-iDisk-pages-tp4502114p4503193.html Sent from the Revolution - User mailing list archive at Nabble.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 49
Hi Roger, This stack was created with LiveCode 5.5 Could you post a version that runs in Ken Ray's StackRunner: http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm or this stack actually require new features of latest LiveCode version? By the way, yesterday I was asking about iDisk webpages and Mark Schoneville told me that this service had closed long ago. How did you are using iDisk, if the service was closed? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-use-livecode-Digest-Vol-102-Issue-49-tp4502469p4503230.html Sent from the Revolution - User mailing list archive at Nabble.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: Using Quicktime to record sounds in Livecode
Hi All, After I installed Trevor's DLL named Enhanced Quicktime and opened one of his stack examples... Recording sound using Quicktime is working fine in this computer. Really strange, to say the least. Maybe, just maybe... Trevor's DLL activated something in Quicktime 7.7.1 that allowed to access it's sound recording capabilities. Later, today I will uninstall Quicktime and try again the same steps, until I discover a pattern in the problem. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4503252.html Sent from the Revolution - User mailing list archive at Nabble.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: Problems downloading files from iDisk pages
Hi Alejandro, Glenn's URL's point to homepage.mac.com and Roger's URL's point to idisk.mac.com. I bet it has something to do with that. While it looks like iDisk is going to be moved to iCloud at some point, I'm pretty sure that the web hosting feature has been discontinued. Here's http://qery.us/1wn more info. -- 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 25 mrt 2012, at 16:02, Alejandro Tejada wrote: Hi Mark, Mark Schonewille-3 wrote .Mac was discontinued 3 years ago and taken off-line 1.5 years ago. Just yesterday, Roger Guay published a link to his stack, stored in iDisk: https://idisk.mac.com/irog//Public/SETIproblem.livecode Here is the original message: http://runtime-revolution.278305.n4.nabble.com/ANN-and-OT-Calling-All-SETI-Enthusiasts-td4501954.html How it is this possible, if this service is closed? Al ___ 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] A couple of links about Gnome and usability
On 03/24/2012 06:53 PM, Pete wrote: So now I'm left with the question of which Linux distro to go for Pete More ideas that might interest you :) Since you are mainly working in OS X and I assume you are happy and comfortable working in that interface, you may be interested in a linux distro that is set up out of the box to look and act much like OS X. You can do this in any distro but this would be a simpler route, and for someone who might not want to spend a lot of time and effort fiddling with a system he's not planning to use every day, a very sensible choice. http://www.unixmen.com/pear-linux-comice-os-4-0-has-been-released-screenshots-tour-video/ http://www.pear-os-linux.fr/ Do-it-yourself ideas: http://beta.techradar.com/news/software/operating-systems/how-to-make-linux-mint-look-like-os-x-1040983 http://lifehacker.com/5665765/macbuntu-makes-your-linux-desktop-look-like-mac-os-x http://www.internetling.com/2008/03/24/linux-docks-5-mac-os-x-docks-for-ubuntu-and-other-linux-distros/ http://www.howtogeek.com/45817/how-to-make-ubuntu-linux-look-like-mac-os-x/ http://www.dedoimedo.com/computers/linux-docks.html http://linuxlibrary.org/applications/linux-desktop-docks-panels/ youtube also has lots of videos of people demonstrating their Mac-like Linux desktops. You might enjoy a peek at a few of those. Good luck! Warren ___ 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: Displaying PDF files in an LC stack
Are there controls in the player object to manage the positioning of the pdf pages. This is news to me, where can I learn more? -= Mike On Mar 24, 2012, at 9:20 PM, Pete wrote: Thanks for the reminder Colin, forgot about that. I'll give that a try. Pete On Sat, Mar 24, 2012 at 6:05 PM, Colin Holgate co...@verizon.net wrote: I don't remember that part. My suggestion was to read the PDF in a player object, by setting its filename property. On Mar 24, 2012, at 8:11 PM, Pete wrote: In another thread, I've been soliciting advice about tools to use for Help Text preparation and display. One of the options was to go with a pdf file and display it using revBrowser. ___ 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 ___ 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: Problems downloading files from iDisk pages
Hi Mark, Mark Schonewille-3 wrote Glenn's URL's point to homepage.mac.com and Roger's URL's point to idisk.mac.com. I bet it has something to do with that. While it looks like iDisk is going to be moved to iCloud at some point, I'm pretty sure that the web hosting feature has been discontinued. Here's http://qery.us/1wn more info. Ok. Now I understand. Maybe I should write to Glen and Tom about this. Many thanks for your answers! :-) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-downloading-files-from-iDisk-pages-tp4502114p4503328.html Sent from the Revolution - User mailing list archive at Nabble.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: Displaying PDF files in an LC stack
By positioning, do you mean x and y position? Or do you mean which page is showing? In my suggestion I had proposed that you would set the currenttime of the player to navigate through the pages. On Mar 25, 2012, at 11:06 AM, Michael Doub wrote: Are there controls in the player object to manage the positioning of the pdf pages. This is news to me, where can I learn more? ___ 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: Displaying PDF files in an LC stack
Hi Michael, Am 25.03.2012 um 17:06 schrieb Michael Doub: hint: PDFs are only displayed in a player object on the Mac! Are there controls in the player object to manage the positioning of the pdf pages. No, they are treated like a video and you cannot control them properly if at all. This is news to me, where can I learn more? Nowhere, this is just some kind of accident that the Mac player can display PDFs :-) To have a truly crossplatform solution you should use the Browser object and use that to display PDF files. And even if you want this Mac only is the browser a better solution! I have an example stack that I can send you if you like! -= Mike Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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: [OT] A couple of links about Gnome and usability
Thanks Richmond and Warren for the info. I like the idea of using a Linux distro that is somewhat like an OS X interface. Pete On Sun, Mar 25, 2012 at 8:04 AM, Warren Samples war...@warrensweb.uswrote: On 03/24/2012 06:53 PM, Pete wrote: So now I'm left with the question of which Linux distro to go for Pete More ideas that might interest you :) Since you are mainly working in OS X and I assume you are happy and comfortable working in that interface, you may be interested in a linux distro that is set up out of the box to look and act much like OS X. You can do this in any distro but this would be a simpler route, and for someone who might not want to spend a lot of time and effort fiddling with a system he's not planning to use every day, a very sensible choice. http://www.unixmen.com/pear-**linux-comice-os-4-0-has-been-** released-screenshots-tour-**video/http://www.unixmen.com/pear-linux-comice-os-4-0-has-been-released-screenshots-tour-video/ http://www.pear-os-linux.fr/ Do-it-yourself ideas: http://beta.techradar.com/**news/software/operating-** systems/how-to-make-linux-**mint-look-like-os-x-1040983http://beta.techradar.com/news/software/operating-systems/how-to-make-linux-mint-look-like-os-x-1040983 http://lifehacker.com/5665765/**macbuntu-makes-your-linux-** desktop-look-like-mac-os-xhttp://lifehacker.com/5665765/macbuntu-makes-your-linux-desktop-look-like-mac-os-x http://www.internetling.com/**2008/03/24/linux-docks-5-mac-** os-x-docks-for-ubuntu-and-**other-linux-distros/http://www.internetling.com/2008/03/24/linux-docks-5-mac-os-x-docks-for-ubuntu-and-other-linux-distros/ http://www.howtogeek.com/**45817/how-to-make-ubuntu-** linux-look-like-mac-os-x/http://www.howtogeek.com/45817/how-to-make-ubuntu-linux-look-like-mac-os-x/ http://www.dedoimedo.com/**computers/linux-docks.htmlhttp://www.dedoimedo.com/computers/linux-docks.html http://linuxlibrary.org/**applications/linux-desktop-**docks-panels/http://linuxlibrary.org/applications/linux-desktop-docks-panels/ youtube also has lots of videos of people demonstrating their Mac-like Linux desktops. You might enjoy a peek at a few of those. Good luck! Warren __**_ 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-livecodehttp://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: [OT] A couple of links about Gnome and usability
I am also a big fan of Parallels, especially now they seem to have sorted out access to the Mac's printers. Yesterday I installed Windows 7 on my iMac, running Parallels on top of Lion - this was in addition to XP rather than a replacement, since I need both for testing purposes - and it was astonishingly easy. I was expecting it to be quite agonising including having to contact Microsoft over the internet etc etc but it 'just worked'. In case this seems too glowing, I should say that I'm just a customer of Parallels and have no other axe to grind. Graham On Sat, 24 Mar 2012 18:21:12 -05003, J. Landman Gay jac...@hyperactivesw.com wrote: On 3/24/12 5:48 PM, Pete wrote: I already have a Windows laptop that I only use for testing out the LC apps I develop on my Mac. I don't really want another computer. It seems like Apple has just about shut the door on running anything but OS X on their computers. Can I install Linux on my Windows computer a dual boot it somehow? I've had very good luck with Parallels. And lots of people are using several other emulators too with good results, and many are free. I run Win XP, Vista, Ubuntu (sort of, I'm way behind on that,) and Mac OS X all from my iMac. I don't see any reason these days to have several computers just to use different operating systems. ___ 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: Collisions
This works only if the balls hit head-on. Otherwise you need to do the trig. As a simple example, say there are two balls headed toward each other. Each has a radius of 2^.5. Ball A is moving at -2 units per second on the x axis, i.e. to the left, and its center has a Y coordinate of 2. Ball B is moving at 2 units per second on the x axis, i.e. to the right, and its center has a Y coordinate of 0. When the balls collide, they will be 2 units apart both horizontally and vertically, hence they collide at a 45 degree angle. Let's say that they're at 0,0 and 2,2 at the time of the collision. They won't simply exchange velocities. Their original motion on the x axis is translated entirely into motion along the y axis. After the collision, ball A will have an X coordinate of 2, and be moving at 2 units per second on the Y axis, i.e. up. ball B will have an X coordinate of 0, and be moving at -2 units per second on the Y axis, i.e. down. You need to calculate the angle between the balls at the moment of collision, and use the sine and cosine to figure out what happens from there. All of the above is from my head so feel free to check me. On Sun, Mar 25, 2012 at 8:56 AM, Jim Hurley jhurley0...@sbcglobal.netwrote: P.S. In the simplest case, equal masses, just interchange the velocities of the two balls after the collision. Proof: If one assumes that the solution is unique, and since interchanging the velocities conserves momentum and energy (for balls of equal mass), this solution is THE solution. Jim Richard, Collision detection is the easier part. Just calculate the distance between centers and, if it is greater than the sum of the radii (assuming they are circular) you have a collision. The more difficult part is the physics, what happens after the collission. Are they of equal mass and size? You need to conserve momentum and energy. To get started you may look at a pool game. See: http://jamesphurley.com/runrev.html and look for Nine ball pool. You may want to also checkout Bouncing ball tools at the same site to see how to work with collision with different shapes, and how to deal with enclosures that are may be convex. Jim Hurley I'm working on a very simple iPad app where 4 large shapes randomly float around on the screen. What I'd like to do is have them be able to bounce off each other if they happen to touch. Are there any tutorial pages or sample stacks out there that anyone knows of that I could use as a starting point? I can do collision detection with intersect, but before I spend countless hours reinventing the wheel, I thought I'd ask. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se ___ 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: Collisions
Geoff, What happens when two ball of equal mass collide ellastically is an exchange in velocities. The velocity is a VECTOR. I think that is the source of misunderstanding. Your right there is trig involved. For example from Nine ball... function resetVel xx,yy,xx',yy',vxx,vyy,vxx',vyy' put xx,yy into pme put xx',yy' into pOther put theLineAngle(pme,pOther) into tCentersAngle put tCentersAngle into tCa put xx,yy,xx+vxx,yy+vyy into tVelVector put theLineAngle(tVelVector) into tVa put sqrt(vxx'*vxx'+vyy'*vyy') into v' put sqrt(vxx*vxx+vyy*vyy) into v put xx',yy',xx'+vxx',yy'+vyy' into tVelVector' put theLineAngle(tVelVector') into tVa' --Angle of the vVector relative to the line joining centers put tVa - tCa into tVrA put tVa'- tCa into tVrA' put v*cos(tVrA) into vR' put v*sin(tVrA) into vT put v'*cos(tVrA') into vR put v'*sin(tVrA') into vT' put vR*cos(tCa) - vT*sin(tCa) into vxx put vR*sin(tCa) + vT*cos(tCa) into vyy put vR'*cos(tCa) - vT'*sin(tCa) into vxx' put vR'*sin(tCa) + vT'*cos(tCa) into vyy' return vxx,vyy,vxx',vyy' end resetVel Jim Hurley Geoff Canyon wrote: This works only if the balls hit head-on. Otherwise you need to do the trig. As a simple example, say there are two balls headed toward each other. Each has a radius of 2^.5. Ball A is moving at -2 units per second on the x axis, i.e. to the left, and its center has a Y coordinate of 2. Ball B is moving at 2 units per second on the x axis, i.e. to the right, and its center has a Y coordinate of 0. When the balls collide, they will be 2 units apart both horizontally and vertically, hence they collide at a 45 degree angle. Let's say that they're at 0,0 and 2,2 at the time of the collision. They won't simply exchange velocities. Their original motion on the x axis is translated entirely into motion along the y axis. After the collision, ball A will have an X coordinate of 2, and be moving at 2 units per second on the Y axis, i.e. up. ball B will have an X coordinate of 0, and be moving at -2 units per second on the Y axis, i.e. down. You need to calculate the angle between the balls at the moment of collision, and use the sine and cosine to figure out what happens from there. All of the above is from my head so feel free to check me. On Sun, Mar 25, 2012 at 8:56 AM, Jim Hurley jhurley0305 at sbcglobal.net wrote: ___ 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
DIsplaying PDF files in an LC stack
A quick and dirty way to display PDFs in an LC stack is to create an image of each PDF page and insert each into an LC Image Area You might also make use of the Marked Card feature for bookmarking. Steve Goldberg www.medmaster.net stgoldb...@aol.com Date: Sat, 24 Mar 2012 17:11:06 -0700 From: Pete p...@mollysrevenge.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Displaying PDF files in an LC stack Message-ID: cabx6j9mpd2s5ed+wp_qatpttudwh_ttjnw-jtp7uaz-kbje...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 In another thread, I've been soliciting advice about tools to use for Help Text preparation and display. One of the options was to go with a pdf file and display it using revBrowser. Been having some issues getting that to work but even if it did work, I don't think it will satisfy my needs. I want to use the pdf feature of showing bookmarks in a navigation pane (like the datagrid manual) and apparently that won't happen, at least on a Mac. I could, of course, simply launch the pdf file as a separate process but I'd really like to keep the help file within my LC stack if possible. Are there any other ways of displaying a pdf file within LC other than using revBrowser? I though I remembered seeing some sort of plugin but a quick search didn't come up with anything. I am still looking into ScreenSteps and WordLib. -- 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: [OT] A couple of links about Gnome and usability
As a Mac-o-philiac I have spent some time playing around with PearOS, and can honestly say it sucks; it being neither one thing nor the other. Also, for Mac types; the initial set up does NOT have desktop icons, and it is a right cough-cough-cough finding one's Home folder and so on. The eye-candy is Mac-like; the functionality is not. And by fudging around with GNOME 3 to produce a supposedly Mac-like interface they have just obscured some of the useful features of GNOME 3. This reminds me of attempts in the past to build Linux distros with interfaces that are clones of Windows XP; similarly silly. When one moves to another operating system there is a learning curve involved, and it is disingenuous to pretend there is not. PearOS is rather like Water-wings or those funny little wheels on the sides of bikes; you will become dependent on them, and never learn to swim/ride a bike properly. --- My vote for ease of use for a new Linux user who is coming from Mac, right now, is Xubuntu: http://xubuntu.org/ or Mint with XFCE: http://blog.linuxmint.com/?p=1818 You are more than welcome to e-mail me directly (i.e. off-list) if you have any further questions. Richmond Mathewson. ___ 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: Collisions
P.S. That simple picture of the velocities being exchanged applies only in a frame of reference in which the center of mass is fixed. ___ 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: ANN and OT: Calling All SETI Enthusiasts.
Sorry for your difficulty, Al. The best I seem to be able to do is to provide SETIproblem in Livecode 5.0.2. I can't find StackRunner on Ken's site and the one I have does not open my stack. I can't even open my stack in version 4.6.3 of Livecode! Do you have any other suggestions? My stack is not using any of the new features of LiveCode 5.5. Would you like me to build a standalone? As to the status of iDisk, it is still up and running and rumored to be shut down around June of this year. Cheers, Roger On Mar 25, 2012, at 11:00 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 2 Date: Sun, 25 Mar 2012 07:22:10 -0700 (PDT) From: Alejandro Tejada capellan2...@gmail.com To: use-revolut...@lists.runrev.com Subject: Re: use-livecode Digest, Vol 102, Issue 49 Message-ID: 1332685330385-4503230.p...@n4.nabble.com Content-Type: text/plain; charset=us-ascii Hi Roger, This stack was created with LiveCode 5.5 Could you post a version that runs in Ken Ray's StackRunner: http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm or this stack actually require new features of latest LiveCode version? By the way, yesterday I was asking about iDisk webpages and Mark Schoneville told me that this service had closed long ago. How did you are using iDisk, if the service was closed? Thanks in advance! Al ___ 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: ANN and OT: Calling All SETI Enthusiasts.
Roger- Sunday, March 25, 2012, 11:08:25 AM, you wrote: Sorry for your difficulty, Al. The best I seem to be able to do is to provide SETIproblem in Livecode 5.0.2. I can't find StackRunner on Ken's site and the one I have does not open my stack. Use the Save As menuItem from the File menu and select Legacy for the file type. -- -Mark Wieder mwie...@ahsoftware.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
side-by-side iOS external SDK
I currently use XCode 3.2.6 on OS 10.6.8 with IOS external SDK R7 applied to it to build iOS externals for iOS 4.3. (I build iOS standalones for iOS 4.3 using LiveCode 4.6.4--sometimes with such externals--using XCode 3.2.6.) I would like to also build externals and apps for iOS 5. I think then I'd like to set up this side-by-side with the above configuration: XCode 4.2 for Snow Leopard LiveCode 5.0.2 iOS Externals SDK R10 (I think I got the compatibilities straight on that, but, if not, I welcome feedback.) It is my understanding (or misunderstanding, perhaps) that the latter configuration will build apps and externals for 5 only, not 4.3, so I need both. If possible, I'd like to do the side-by-side setup with the same user and on the same boot. Is this even possible? Or do I need to install these on different boot drives? (I also want to keep XCode 3.2.5 for PowerPC externals.) Dar ___ 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: Difficulty with Reply Size To The List
I am using a Mac and Mail for my email stuff. Often when I reply to posts on this list with as little as 1 or 2 lower quote levels, I get a reply from use-livecode-bounces for exceeding the size limit of 15 KB. Such is the case with a reply I was trying to make today to Thomas McGrath III and Tim Jones re Calling ALL SETI Enthusiasts. Is this normal or am I missing something? There are often, what appear much larger files, appearing on the list! Thanks and cheers, Roger ___ 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: Difficulty with Reply Size To The List
I have run across that, too. I have not seen anything over 15KB since June, 2010, though, and maybe that got special approval. My response was to trim down the mail. It was quite a shock to get the rejection and I felt deep down that I was guilty of some great offense, but I got over that quickly. Mostly. Dar On Mar 25, 2012, at 12:23 PM, Roger Guay wrote: I am using a Mac and Mail for my email stuff. Often when I reply to posts on this list with as little as 1 or 2 lower quote levels, I get a reply from use-livecode-bounces for exceeding the size limit of 15 KB. Such is the case with a reply I was trying to make today to Thomas McGrath III and Tim Jones re Calling ALL SETI Enthusiasts. Is this normal or am I missing something? There are often, what appear much larger files, appearing on the list! Thanks and cheers, Roger ___ 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: Difficulty with Reply Size To The List
Hi Roger, Make sure to reply in plain text rather then RTF text. See the format menu for this. I always read and write all my e-mail in plain text. You can set the default message format to plain text in the Composing tab of the Mail preferences window. -- 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 25 mrt 2012, at 20:23, Roger Guay wrote: I am using a Mac and Mail for my email stuff. Often when I reply to posts on this list with as little as 1 or 2 lower quote levels, I get a reply from use-livecode-bounces for exceeding the size limit of 15 KB. Such is the case with a reply I was trying to make today to Thomas McGrath III and Tim Jones re Calling ALL SETI Enthusiasts. Is this normal or am I missing something? There are often, what appear much larger files, appearing on the list! Thanks and cheers, Roger ___ 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: Collisions
Jim, Thanks for taking the time to respond with such great explanations! Of course, since I spent most of my time in high school math staring at a girl named Lisa, it's a bit challenging for me. I downloaded the 9 ball example and plan on spending a lot of time learning how it works. Thanks for sharing your knowledge - I really appreciate it. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 25, 2012, at 2:03 PM, Jim Hurley wrote: P.S. That simple picture of the velocities being exchanged applies only in a frame of reference in which the center of mass is fixed. ___ 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: Collisions
On 03/25/2012 10:23 PM, Richard MacLemale wrote: Jim, Thanks for taking the time to respond with such great explanations! Of course, since I spent most of my time in high school math staring at a girl named Lisa, it's a bit challenging for me. Something tells me that's a different kind of collision . . . LOL. I downloaded the 9 ball example and plan on spending a lot of time learning how it works. Thanks for sharing your knowledge - I really appreciate it. --- Richard MacLemale Music = http://www.richardmac.com Programming = http://www.macandchee.se On Mar 25, 2012, at 2:03 PM, Jim Hurley wrote: P.S. That simple picture of the velocities being exchanged applies only in a frame of reference in which the center of mass is fixed. ___ 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 ___ 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] A couple of links about Gnome and usability
On 03/25/2012 12:38 PM, Richmond wrote: As a Mac-o-philiac I have spent some time playing around with PearOS, and can honestly say it sucks; it being neither one thing nor the other. Also, for Mac types; the initial set up does NOT have desktop icons, and it is a right cough-cough-cough finding one's Home folder and so on. The eye-candy is Mac-like; the functionality is not. And by fudging around with GNOME 3 to produce a supposedly Mac-like interface they have just obscured some of the useful features of GNOME 3. This reminds me of attempts in the past to build Linux distros with interfaces that are clones of Windows XP; similarly silly. When one moves to another operating system there is a learning curve involved, and it is disingenuous to pretend there is not. PearOS is rather like Water-wings or those funny little wheels on the sides of bikes; you will become dependent on them, and never learn to swim/ride a bike properly. --- My vote for ease of use for a new Linux user who is coming from Mac, right now, is Xubuntu: http://xubuntu.org/ or Mint with XFCE: http://blog.linuxmint.com/?p=1818 You are more than welcome to e-mail me directly (i.e. off-list) if you have any further questions. Richmond Mathewson. ___ 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 :D as I said heaping spoonfuls of salt. Mint is wonderful and XFCE is a very straightforward and traditional DE. Both are fine recommendations, although I am leery of Mint rolling Debian which is the only official XFCE version I could find on the Mint download page. Is it perhaps an alternative install within the Gnome DVD? One thing that maybe could be said that for someone who wants mainly to have a Linux install available to test Livecode apps and perhaps run Livecode to tidy up applications being built for Linux, it may not matter at all which distro or DE you run, the only caveat to that being that you're better off installing a 32-bit version saving you the step of installing 32-bit compatibility libs. So long as you can get easy access to your stacks and apps from your Mac, and create an easy access to Livecode on your your Linux install, you might not find any reason to prefer one distro or DE over any other. That said, I think, Richmond, while it absolutely true that each OS requires adjustment and learning, this is a much more involved topic in approaching Linux due to the extreme variety of choice regarding distro and DE. People seek a certain comfort level and familiarity can be a major factor. The disruption of familiarity is one of the roots of the current DE rumblings. I don't see anything wrong at all with customizing the DE experience to mimic either OS X or Windows, if that makes the user happy. The comment about water wings and training wheels is silly on two levels. It ignores the real value of them - enabling the inexperienced to participate in and enjoy an activity in comfort and safety as they gain familiarity and confidence - and overstates the danger. It's ludicrous to say that anyone who rides a bike with training wheels will never ride without them, or who floats with water wings will never learn swim. Surely you don't believe that! As an extension of that argument, why not promote Gentoo, Arch, and Slackware? Higher learning curve = more genuine experience?! I suspect you don't actually believe that, at least not when put so directly. It is an old attitude in the Linux community that is thankfully becoming less prominent. Please be cautious not to promote it!!! I have never used any version of Pear OS and only presented it as an available alternative with a rationale for why Pete may find it attractive. Have you tried the most recent version? Some people seem to like it, http://sourceforge.net/projects/pearoslinux/reviews/ . Here's a review of a pre-release version which may be interesting: http://www.linuxbsdos.com/2012/02/15/pear-linux-comice-os-4-beta-1-review/ . Just for fun, I'm about to install it in a VM to have a look. (slow download) My DE is KDE 4.8 and I like it very much. I don't use all its features but it does some things that a really love. It works for me and makes me happy. While it's very popular (despite Richmond's feelings about it), it doesn't suit everyone (see Richmond's feelings about it - feelings he's perfectly entitled to, of course). I feel comfortable recommending it as a good option. Kubuntu has a very poor reputation among KDE users, but it sounds like Mint is improving its KDE version. http://youtu.be/ou9HIdlSQq0 http://youtu.be/Em3KOFvQSTY I do agree with Richmond that Mint or Ubuntu may be the most foolproof way to approach Linux. (Saying that does not in any
Re: Difficulty with Reply Size To The List
the limit is still too low, even with plain text On 25 March 2012 12:14, Mark Schonewille m.schonewi...@economy-x-talk.comwrote: Hi Roger, Make sure to reply in plain text rather then RTF text. See the format menu for this. I always read and write all my e-mail in plain text. You can set the default message format to plain text in the Composing tab of the Mail preferences window. -- 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 25 mrt 2012, at 20:23, Roger Guay wrote: I am using a Mac and Mail for my email stuff. Often when I reply to posts on this list with as little as 1 or 2 lower quote levels, I get a reply from use-livecode-bounces for exceeding the size limit of 15 KB. Such is the case with a reply I was trying to make today to Thomas McGrath III and Tim Jones re Calling ALL SETI Enthusiasts. Is this normal or am I missing something? There are often, what appear much larger files, appearing on the list! Thanks and cheers, Roger ___ 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 -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ 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] A couple of links about Gnome and usability
On 03/25/2012 03:13 PM, Warren Samples wrote: :D as I said heaping spoonfuls of salt Also applies to all my opinionated advice, highly biased - and definitely not representative of anyone else's experience - no matter how much I try to make it appear otherwise ;) Warren ___ 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] A couple of links about Gnome and usability
On Sun, Mar 25, 2012 at 1:38 PM, Richmond wrote: As a Mac-o-philiac I have spent some time playing around with PearOS, and can honestly say it sucks; it being neither one thing nor the other. Richmond Mathewson. I am an advocate for simplicity when it comes to choosing a familiar OS. The fairly new and actively supported Ubuntu-based elementaryOS is becoming one of my personal favorites. Unlike PearOS, this one doesn't suck. ;-) It has obvious Mac-inspired features, but doesn't go overboard trying to become a Mac. http://www.youtube.com/watch?v=DqFSMlulxhw They do try to detach the user from the normal desktop, but you can easily get it back. http://www.youtube.com/watch?v=DPd5mWaxkic http://elementaryos.org/discover ~Roger ___ 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] A couple of links about Gnome and usability
On 03/26/2012 12:50 AM, Warren Samples wrote: On 03/25/2012 03:13 PM, Warren Samples wrote: :D as I said heaping spoonfuls of salt Also applies to all my opinionated advice, highly biased - and definitely not representative of anyone else's experience - no matter how much I try to make it appear otherwise ;) Lots of opinionated advice on this Use-List, Thank God. Nobody round here cowed by the pressure of daft political pressure groups. That is what makes this Use-List so great! Warren ___ 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] A couple of links about Gnome and usability
On 03/25/2012 12:38 PM, Richmond wrote: I have spent some time playing around with PearOS, and can honestly say it sucks; I installed the latest version, Comice OS 4, and gave it only a quick look. While I don't mind if someone likes it, I wouldn't recommend it to anyone, especially with hopes that it might an easy transition from OS X. Choosing Comice Classic at login, I did have a working dock with icons which included Finder so finding my home folder was a cinch. The Dock icon set mysteriously changed at some point and I could not find an obvious way to do that deliberately. Beyond that, the control center made me feel mostly like there was little I could do to take control. The software center seems very easy to get, though, and that's a big plus. The UI has with good snap, but in the end, a lot of simple basic stuff is not intuitive for the new user. I think even less than most of the more traditional flavored DEs. I also discovered that my unmodified install is useless with Livecode, which is Pete's interest. There are all kinds of problems with characters in scripts. you can't use /. Quotes are treated literally as in: put something into tAnything; put tAnything returns something with the quotes. If someone can tell me what's the likely cause, I'd be interested to know :D Even more interested in knowing how to remedy it. It was only a cursory look. I've never liked the stock OS X Dock and always ran it without 3D, reflections and animations and set it out of the way in the lower left corner, so this was definitely not a positive feature for me, but that's a matter of taste. That said, this distro has some real drawbacks in my opinion. Pete, this is not the best choice. Sorry to have brought it up. Warren ___ 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