Re: [OT] Browsing the internet... It is safer from Linux?

2010-11-01 Thread Peter Alcibiades
Chipp, not saying you are wrong, but how would you know? That's the thing that got me, and why I think Alejandro's thought of taking Windows offline is quite sensible. The problem with windows getting compromised is I am not sure you necessarily know when its happened. Most studies on anti

Re: LiveCode Linux version: graphic effects issue with the name of a push button

2010-11-01 Thread Peter Alcibiades
Yes, I get this too. Always assumed it was a feature, just the way it works. How are you modifying the button graphic? What I have done is underlay a graphic with a transparent button not showing its name, but you'll have thought of that. Peter -- View this message in context:

Re: [OT] Browsing the internet... It is safer from Linux?

2010-11-01 Thread Chipp Walters
Peter, AVG does regular scans of my drives. Furthermore, I every now and then do spyware checks and I do a lot of high end rendering, which needs about 99% of my processor, so I'm fairly familiar with the services and apps I run. I have a network monitor gauge on my desktop which let's me know

Building array from list

2010-11-01 Thread william humphrey
I was wondering. If you have a list: apple,1 orange,1 grapefruit,1 tango,2 blue,3 green,3 yellow,3 zebra,9 And you want to convert it into an array: (apple,orange,grapefruit[1]) (tango[2]) (blue,green,yellow[3]) (zebra,[9]) What would be the easiest way. I'm always a little confused by arrays

Re: [OT] Browsing the internet... It is safer from Linux?

2010-11-01 Thread Pierre Sahores
Hello All, While i develop all my stuff under OSX and deploy mainly on Linux or OSX, i have to deploy some kind of AI 24/7 calculation solutions under Win7 because, as anyone knows, the most usefull feature of win is that it runs twice faster as POSIX systems (no ixinetd,... services

Re: Building array from list

2010-11-01 Thread Gregory Lypny
Hello William, This will give you an array with four keys corresponding to [1] fruit, [2] dances, [3] colours, and [4] animals. repeat for each line thisLine in theList put the first item of thisLine comma after myArray[the second item of thisLine] end repeat The contents of each has a

Re: Building array from list

2010-11-01 Thread Mike Bonner
Can also do it as follows: repeat for each line tLine in field 1 put the number of items in tdataA[(item 2 of tLine)] + 1 into tItemNum put item 1 of tLine into item tItemNum of tDataA[(item 2 of tLine)] end repeat Can most likely combine the 2 lines of the repeat into a 1

Re: Building array from list

2010-11-01 Thread Mike Bonner
Oh, might want to set the array to empty prior to the repeat so you avoid duplicates if you run the conversion more than once. On 11/1/10, Mike Bonner bonnm...@gmail.com wrote: Can also do it as follows: repeat for each line tLine in field 1 put the number of items in tdataA[(item 2

Re: Building array from list

2010-11-01 Thread william humphrey
Thanks. I will experiment with both. I knew there had to be a simple way. It's funny how so many coding solutions require lots of experience before you can look at the solution without getting a headache. ___ use-revolution mailing list

Re: Building array from list

2010-11-01 Thread Ken Ray
If you want to factor the code out so it's more reusable but a bit more code, you could do this: repeat for each line tLine in fld 1 appendArray tDataA,(item 2 of tLine),(item 1 of tLine) end repeat command appendArray @pArray,pKey,pValue if pArray[pKey] is empty then put pValue into

Re: LiveCode Linux version: graphic effects issue with the name of a push button

2010-11-01 Thread zryip theSlug
On Mon, Nov 1, 2010 at 8:35 AM, Peter Alcibiades palcibiades-fi...@yahoo.co.uk wrote: Peter, Thanks for your reply. Yes, I get this too.  Always assumed it was a feature, just the way it works. This is working like a charm with windows and OS X, not on linux. How are you modifying the

Re: LiveCode Linux version: graphic effects issue with the name of a push button

2010-11-01 Thread Peter Alcibiades
Zryip, another thing which is probably a Linux peculiarity, the DGH is asking should it do an upgrade. So you say yes, but then it can't open the file. Its probably permissions. The LC app is installed into /opt, and of course the user does not have write permissions in /opt, which is what the

a weird thing about registration, Linux

2010-11-01 Thread Peter Alcibiades
Has anyone else had this? I installed and registered my 4.5 copy. Works fine. Now, I want to update the Slug's package. It won't let me, most likely because its installed the app in /opt and as user I have no write privileges there. OK, no problem, become root with the root environment,

Re: LiveCode Linux version: graphic effects issue with the name of a push button

2010-11-01 Thread zryip theSlug
On Mon, Nov 1, 2010 at 3:11 PM, Peter Alcibiades palcibiades-fi...@yahoo.co.uk wrote: Zryip, another thing which is probably a Linux peculiarity, the DGH is asking should it do an upgrade.  So you say yes, but then it can't open the file. Its probably permissions.  The LC app is installed

RE: Stress-testing SQLite

2010-11-01 Thread Lynn Fredricks
Check out information from one user from about eight years ago (!) in building a kiosk project, comparing Valentina with MS Access. Of course, you probably wouldn't do this with Access today, but worth considering is that this is with major hardware constraints, the overhead of

Re: a weird thing about registration, Linux

2010-11-01 Thread Mike Bonner
My guess would be that it puts a dot file in your user account on first run that manages prefs and registration info. Since you don't run it as root, no .file, same for all other users. Still leaves it as being a pain in the tookus to set it up as multiple users, but i'm curious... It's been a

Re: a weird thing about registration, Linux

2010-11-01 Thread Mike Bonner
Oh, another thought. If it WILL keep seperate preferences/settings for each user, you can change where it points for your plugins, and move it to a folder you Do have write permissions to, but then that means every plugin change you would hve to update the plugin on all installations. Since it

Where's my keyboard shortcut for import as control?

2010-11-01 Thread tkuyp...@telenet.be
Could be me, but I'm missing the keyboard shortcut for importing an image into a stack... It was still there in LiveCode 4.5.0 build 1080, but it is gone in the versions after that. (at least on my Mac, didn't try Windows...) Can someone confirm this? Ton Kuypers Met vriendelijke groeten,

Re: a weird thing about registration, Linux

2010-11-01 Thread Peter Alcibiades
Yes, there is a .revolution folder. And it does indeed have a cryptic preferences text file in it. But what I'm having trouble understanding is that if I just acquire root permissions, by doing su rather than doing su - Then I retain the same home directory. So if I then fire up

Re: Keyboards

2010-11-01 Thread Mike Kerner
Final note on this thread before I put it down to the archives and posterity for the next person looking for a kb. I got a Das Keyboard Silent Ultimate on Friday. It's mechanical, but it eliminates the click portion of the sound that an M style mechanical keyboard makes. Instead you hear the

Re: a weird thing about registration, Linux

2010-11-01 Thread zryip theSlug
On Mon, Nov 1, 2010 at 3:26 PM, Peter Alcibiades palcibiades-fi...@yahoo.co.uk wrote: Has anyone else had this? I installed and registered my 4.5 copy.  Works fine.  Now, I want to update the Slug's package.  It won't let me, most likely because its installed the app in /opt and as user I

Re: Escape key doesn't work with fullScreen?

2010-11-01 Thread Bob Sneidar
I have never seen that bug. looks around to see if anyone is buying it Bob On Oct 31, 2010, at 8:16 PM, Mike Bonner wrote: I have that problem crop up quite often. My brother tells me its a problem between the keyboard and chair. I've never been quite sure what he meant by that.. On

Re: Escape key doesn't work with fullScreen?

2010-11-01 Thread Peter Brigham MD
At the risk of repeating something posted to this list last year I hate this damn computer I wish that I could sell it. It never does what I want it to, Only what I tell it! -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Nov 1, 2010, at 12:54 PM, Bob

Re: a weird thing about registration, Linux

2010-11-01 Thread Mike Bonner
Well now i'm curious. If you su, then cd ~ then pwd, it doesn't switch you to the root home account? I just setup dsl in a virtual machine and tried it, the home directory changes to match root when su'd. not su -. If nothing else, check your system variables, for me, after su, my HOME variable

Re: [OT] Browsing the internet... It is safer from Linux?

2010-11-01 Thread Bob Sneidar
Peter, with all due respect, in every case except the most recent, the hacks involved convincing a user to click here on this button, enter your admin user name and password and click OK. Don't worry we are only trying to help. I don't deny that there have been vulnerabilities related to

Re: [OT] Browsing the internet... It is safer from Linux?

2010-11-01 Thread Bob Sneidar
Hah! I made the same mistake, but caught myself mid-reply. :-) Bob On Oct 31, 2010, at 1:07 PM, roger.e.el...@sealedair.com wrote: Roger.E.Eller wrote: It is in many cases the virus makers themselves who infect Windows, and then use FAKE anti-virus messages that offer to cleanse your

Re: Where's my keyboard shortcut for import as control?

2010-11-01 Thread Devin Asay
On Nov 1, 2010, at 9:40 AM, tkuyp...@telenet.be wrote: Could be me, but I'm missing the keyboard shortcut for importing an image into a stack... It was still there in LiveCode 4.5.0 build 1080, but it is gone in the versions after that. (at least on my Mac, didn't try Windows...) Can

Re: Where's my keyboard shortcut for import as control?

2010-11-01 Thread Andre Garzia
others shortcuts are missing too... I can't seem to find CMD+K for stack inspector On Mon, Nov 1, 2010 at 3:34 PM, Devin Asay devin_a...@byu.edu wrote: On Nov 1, 2010, at 9:40 AM, tkuyp...@telenet.be wrote: Could be me, but I'm missing the keyboard shortcut for importing an image into a

Re: Where's my keyboard shortcut for import as control?

2010-11-01 Thread J. Landman Gay
On 11/1/10 10:40 AM, tkuyp...@telenet.be wrote: Could be me, but I'm missing the keyboard shortcut for importing an image into a stack... It was still there in LiveCode 4.5.0 build 1080, but it is gone in the versions after that. (at least on my Mac, didn't try Windows...) Can someone confirm

Re: [OT] Browsing the internet... It is safer from Linux?

2010-11-01 Thread Bob Sneidar
Let me weigh in one more time, for those who think that setting up a machine with all the security measures you can, but without using some kind of anti-virus/anti-spyware solution is safe enough. Recently, our radio station web site was hacked via a simple php exploit. The people who we

Re: a weird thing about registration, Linux

2010-11-01 Thread Peter Alcibiades
pe...@:/opt/runrev/livecode-4.5$ ls Documentation livecode.x86 Resources Runtime Externals Pluginsrevpdfprinter.so Toolset License Agreement.txt Release Notes.pdf revsecurity.so pe...@:/opt/runrev/livecode-4.5$ ./livecode.x86

Re: [OT] Browsing the internet... It is safer from Linux?

2010-11-01 Thread Alejandro Tejada
Hi Chipp, Chipp Walters wrote: AVG does regular scans of my drives. [snip] And seeing how I make my living on my Windows machine, and have since around 1994 (before that it was a Mac), I would find it very debilitating to have to take it off the network because I was scared of malware.

Re: a weird thing about registration, Linux

2010-11-01 Thread Mike Bonner
Working directory, and home directory are different things. It's looking for the .Revolution file on the home directory, working directory makes no difference, and as soon as you su, the home directory is changed to roots home. And yeah, not really an effective solution. For all user install,

Re: Where's my keyboard shortcut for import as control?

2010-11-01 Thread Devin Asay
On Nov 1, 2010, at 11:57 AM, J. Landman Gay wrote: On 11/1/10 10:40 AM, tkuyp...@telenet.be wrote: Could be me, but I'm missing the keyboard shortcut for importing an image into a stack... It was still there in LiveCode 4.5.0 build 1080, but it is gone in the versions after that. (at

Re: Stress-testing SQLite

2010-11-01 Thread Pierre Sahores
Le 1 nov. 2010 à 16:09, Lynn Fredricks a écrit : Check out information from one user from about eight years ago (!) in building a kiosk project, comparing Valentina with MS Access. Of course, you probably wouldn't do this with Access today, but worth considering is that this is with

Re: [OT] Browsing the internet... It is safer from Linux?

2010-11-01 Thread Chipp Walters
Alejandro, Steve Gibson is a well known security consult who makes his living dealing in cyber security-- and he lives right here in Austin, TX. I've known him for a long time, and he's very respected in the industry, as is Leo Laporte. Steve's extremely detail oriented to the point of compulsion

Re: a weird thing about registration, Linux

2010-11-01 Thread Mike Bonner
Try su -m That leaves env vars the same, and should allow you to do your upgrade since home is still home. On 11/1/10, Mike Bonner bonnm...@gmail.com wrote: Working directory, and home directory are different things. It's looking for the .Revolution file on the home directory, working

Re: Underscore in script for windows?

2010-11-01 Thread Ken Ray
I am using the following script to open a text file for both windows and Macintosh. My question is do I need two separate scripts one for the Mac and one for for Windows (XP, Vista, Windows 7) with a space instead of an underscore? For example /S504_Student for /S504 Student for Windows.

Re: Underscore in script for windows?

2010-11-01 Thread charles61
Ken, Thanks very much! Charles Szasz csz...@mac.com On Nov 1, 2010, at 4:12 PM, Ken Ray [via Runtime Revolution] wrote: I am using the following script to open a text file for both windows and Macintosh. My question is do I need two separate scripts one for the Mac and one for

Re: Best practice for creating a custom control

2010-11-01 Thread Ken Ray
I'm looking for a kind of best practice for creating custom controls. For example, how to access the data of the custom control ? Do we have to use custom properties or a setProp or getProp handlers or both ? Is it preferable to use a prefix for naming a command ? And for custom properties,

Re: a weird thing about registration, Linux

2010-11-01 Thread Peter Alcibiades
Nope, same thing. Also su -m -p, or su -p, also same thing. Weird. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/a-weird-thing-about-registration-Linux-tp3022230p3022902.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: a weird thing about registration, Linux

2010-11-01 Thread Mike Bonner
not sure why then. /shrug If you copy the prefs to root does it still think it needs to be registered when su'd? Either way, think its time for a bigger hammer. On Mon, Nov 1, 2010 at 4:30 PM, Peter Alcibiades palcibiades-fi...@yahoo.co.uk wrote: Nope, same thing. Also su -m -p, or su -p,

Re: a weird thing about registration, Linux

2010-11-01 Thread J. Landman Gay
On 11/1/10 5:34 PM, Mike Bonner wrote: not sure why then. /shrug If you copy the prefs to root does it still think it needs to be registered when su'd? Either way, think its time for a bigger hammer. Prefs don't store the licensing info, it's stored separately. I'm not sure where it's

Re: a weird thing about registration, Linux

2010-11-01 Thread Mike Bonner
Peter did it once, but.. well easier to read the whole thread. He's coming at things from a different angle than the initial install. On Mon, Nov 1, 2010 at 4:51 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 11/1/10 5:34 PM, Mike Bonner wrote: not sure why then. /shrug If you copy

determining active language (iphone)

2010-11-01 Thread Harald Müller
Hello all. Finishing my first App for iPhone I'm searching for a clean way to check the active language on the users iPhone. The best solution I found is an old one which works fine on Mac and the iPhone Simulator. On a real phone it crashes, perhaps because of this shell-thing?

[ANN] DGH 1.1.3 is ready for Linux

2010-11-01 Thread zryip theSlug
Dear LC users, I would like to announce that we updated the Data Grid Helper plugin to support Linux. So DGH is now usable and tested on all the available platforms: Mac OS X, Windows and Linux. We also fixed a bug in the validation of the preferences window. You can update to this new

Re: [OT] Browsing the internet... It is safer from Linux?

2010-11-01 Thread Bob Sneidar
I listen to Leo on the radio every Saturday. I really respect his knowledge and expertise, as I am an IT guy, and can verify that what he says is almost always spot on. However, a lot of what is discussed in these podcasts are what COULD be done, not what is ACTUALLY HAPPENING on a regular

OT: linux question

2010-11-01 Thread Tim Selander
A question to the Linux users here I'm trying to set up a 16 drive Debian NAS to hold our production company's footage archive. Bought a HighPoint 2680 SATA card because they claimed Debian compatibility. But their stock drivers are so old, I can't even find the distribution they match.