Re: Population puzzle

2014-08-25 Thread Scott Rossi
I imagine my approach would be faster if it followed ANY logic. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 8/24/14 11:38 PM, "Kay C Lan" wrote: >I imagine Terry & Scott, your approach would on average be faster if >you followed the same logic.

Re: Population puzzle

2014-08-25 Thread Kay C Lan
LOL :-) On Mon, Aug 25, 2014 at 3:27 PM, Scott Rossi wrote: > I imagine my approach would be faster if it followed ANY logic. :-) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 8/24/14 11:38 PM, "Kay C Lan" wrote: > >>I imagine Terry & Scott, your ap

Re: Population puzzle

2014-08-25 Thread Terry Judd
Ditto for me, and mine was messier than Scott¹s as well. Still it kept me occupied while I was eating my lunch :) Terry... On 25/08/2014 5:27 pm, "Scott Rossi" wrote: >I imagine my approach would be faster if it followed ANY logic. :-) > >Regards, > >Scott Rossi >Creative Director >Tactile Med

Re: delete end chars

2014-08-25 Thread JB
You brought a lot to the table. Test code is nice ti have and I thank you for it. I was thinking Peter’s would be faster and I wanted to use it. I got it working in a new stack with the code the others wrote and saved it all. They akk work in the new stack but don’t work properly in the stack t

Sending bulk emails

2014-08-25 Thread jbv
Hi list, Here's my problem : one of our apps is used by different clients of ours for various tasks, one of them being sending bulk emails weekly to their own customers. The number of recipients for each emailing can vary between 800 to 2500. So far we used a php script on our server; this script r

Re: OpenField mystery

2014-08-25 Thread Graham Samuel
For those interested, I have reported the bug below and (separately) the fact that 'openField' can be triggered in surprising circumstances (the subject of my original post under this heading) - which people here have reported as being an ancient quirk of LiveCode, Runtime Revolution and maybe e

Re: Sending bulk emails

2014-08-25 Thread Skip Kimpel
I would suggest something like Constant Contact. The problem you are currently experiencing will continue to grow as your IP address (and possible address block) gets placed on blacklisted servers. One way to check on this is to go to http://whatismyipaddress.com/blacklist-check SKIP > On

Re: Sending bulk emails

2014-08-25 Thread jbv
Thanks for the reply. I have already checked the IP and the domain names, and none seems to be blacklisted. IMHO the problem is on the ISP side : somehow they check the header of the emails for some inconsistencies between the server ip and the sender's domain... Or if too many email addresses of t

Re : Speed

2014-08-25 Thread Beat Cornaz
James wrote : There are significant differences in speed between 5.5 and 6.6. Not so much in deriving the permutations as in displaying the results in a field. I guess that's true. The values in millisecs that I have posted are taken without putting the result into a field. Just the plain calcu

Re: Sending bulk emails

2014-08-25 Thread Stephen MacLean
If the server doesn’t have a valid Reverse DNS lookup for it, then a lot of email systems will reject it. For most, but not all, it doesn’t matter that the server name = the domain name you are sending from, as long as the RDNS is valid. RDNS is usually assigned by your ISP, since they typicall

Re: Sending bulk emails

2014-08-25 Thread Simon Smith
Its best not to send bulk email via a web server. Mail servers will start marking emails as spam as soon as the see a number of incoming messages from a single location. Depending on what you are sending there are a number of newsletter or transactional mail providers - mail chimp / mandrill.com, c

Re: Sending bulk emails

2014-08-25 Thread jbv
Simon Thanks for the reply. It confirms what I thought : using a 3rd party service might be the solution. Nevertheless I have checked a few things : the ip and domain names aren't blacklisted and the ip has a valid Reverse DNS lookup. The strange thing is that when my client sends the same email

Re: Re : Speed

2014-08-25 Thread Geoff Canyon
On Sun, Aug 24, 2014 at 11:09 AM, Beat Cornaz wrote: > I am a bit at a loss, as I would be surprised if my way would be like 25 > times faster than the fastest known algorithm. Did I make a mistake in > implementing Dicks code (although > Dick also reports 2 minutes to do the job, as my way does

Re: Re : Speed

2014-08-25 Thread Geoff Canyon
On Mon, Aug 25, 2014 at 6:21 AM, Beat Cornaz wrote: > But I think it quite a pity (to put it mildly) that LC 6.xx is so much > slower thank 5.5. Could it be the unicode implementation? Agreed, that would be unfortunate. It would be nice to have a text setting for fields. __

change windows file attribute "hidden"

2014-08-25 Thread Tiemo Hollmann TB
Hi, before I dig into the windows docs, I want to ask, if anybody has a code snippet on hand for the windows shell command to change the file attribute "hidden"? Thank you Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com

iPhone kiosk

2014-08-25 Thread Richard Miller
Hoping someone here knows the answer to this. I realize it's an unusual situation. I am setting up a jail-broken iPhone with a LC app. This phone will be set to boot directly into the LC app. The phone will only ever be used for this one purpose. Think of it as an iPhone kiosk. Users will not

Re: iPhone kiosk

2014-08-25 Thread Colin Holgate
Don’t know the answer to most of your questions, but wouldn’t an iPod Touch be cheaper? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.ru

Re: Speed

2014-08-25 Thread Richard Gaskin
Geoff Canyon wrote: On Mon, Aug 25, 2014 at 6:21 AM, Beat Cornaz wrote: But I think it quite a pity (to put it mildly) that LC 6.xx is so much slower thank 5.5. Could it be the unicode implementation? Agreed, that would be unfortunate. It would be nice to have a text setting for fields.

Should closeField get called when a group is deleted?

2014-08-25 Thread Dr. Hawkins
If a group is deleted but the cursor is in one of it's fields, should closeField be sent? I have fields that set a stack property to id the source of their data on enterField, and delete it on closeField. It seems to me that if the behavior is as above, that the program can conclude that the save

Re: iPhone kiosk

2014-08-25 Thread Charles E Buchwald
Hi Richard, I've used iBackupbot for backups and restores when working with a few different iOS devices. http://www.icopybot.com/itunes-backup-manager.htm It's not very refined, but it's useful. You can use it to help with making clones by restoring as you suggest. I think we all struggle with

Re: iPhone kiosk

2014-08-25 Thread Peter Alcibiades
Its not answering the question, but You could get a much cheaper android phone, make the first one how you want it, and then clone using cyanogenmod backup and resotre using a flash card. Very simple process. The problem with iphone might be that someone else will think of it if your app take

Re: iPhone kiosk

2014-08-25 Thread Richard Miller
Hi Charles, About the update process, I didn't know one could use this approach with an iPhone. You are presumably talking about initially installing a small startup app (which doesn't change), which upon startup, either goes to a stack for the bulk of the apps functionality, or updates that s

Re: iPhone kiosk

2014-08-25 Thread Richard Miller
Need the iPhone 5s camera. On 8/25/14, 10:13 AM, Colin Holgate wrote: Don’t know the answer to most of your questions, but wouldn’t an iPod Touch be cheaper? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscri

Re: iPhone kiosk

2014-08-25 Thread Richard Miller
The Android problem is the almost total lack of LC functionality for video recording and playback. On 8/25/14, 12:16 PM, Peter Alcibiades wrote: Its not answering the question, but You could get a much cheaper android phone, make the first one how you want it, and then clone using cyanog

Re: iPhone kiosk

2014-08-25 Thread Charles E Buchwald
Hi Richard, I haven't used this in a production app (one submitted to the App Store), because as I understand it it violates the rules. But you mentioned a jailbroken device, so I don't see any technical reason why it wouldn't work. Have you considered the App Store scheme they have for corporate

Re: iPhone kiosk

2014-08-25 Thread Richard Miller
I'd like to know more about the corporate distribution option as well. Anyone here have experience with that? My app requires jailbreaking to connect to a custom hardware device. On 8/25/14, 12:29 PM, Charles E Buchwald wrote: Hi Richard, I haven't used this in a production app (one submitte

Re: iPhone kiosk

2014-08-25 Thread Rick Harrison
Hi Richard, The iPod Touch 5th Generation and earlier down to I believe 3rd generation all have cameras and video capability. Why would I as a user want a one trick pony for all of that money for a new device when a simple app that would run under iOS would be sufficient? (Especially if I alread

Re: iPhone kiosk

2014-08-25 Thread Colin Holgate
My guess is that he’s making use of the 120 fps camera. The iPod Touch 5th gen does do 60 fps, which is twice the rate of the older devices, but I think it only has a front camera. On Aug 25, 2014, at 12:55 PM, Rick Harrison wrote: > >The iPod Touch 5th Generation and earlier down to I believ

Re: iPhone kiosk

2014-08-25 Thread Rick Harrison
Hi Colin, I have an iPod Touch 5th Generation and it has both front and back facing cameras. According to Wikipedia: The new iSight camera has 5 megapixels and is capable of 1080p video recording with an illuminated sensor and a LED flash. The front facing camera was also upgraded to 1.3 mega

Re: iPhone kiosk

2014-08-25 Thread Richard Miller
This is used in a kiosk. The user never sees the phone and doesn't even know the kiosk is powered by it. I need the 120 fps only available in the 5s. On 8/25/14, 12:55 PM, Rick Harrison wrote: Hi Richard, The iPod Touch 5th Generation and earlier down to I believe 3rd generation all have ca

Re: iPhone kiosk

2014-08-25 Thread Rick Harrison
Hi Richard, http://www.apple.com/iphone-5s/specs/ I only see 30fps recording and 60fps for playback for this device. (iPhone 5s.) Where are you getting 120fps technical information for this? Here’s the 5th Generation iPod Touch specs too. http://www.apple.com/ipod-touch/specs.html So as I u

Re: iPhone kiosk

2014-08-25 Thread Colin Holgate
Read the Slow Motion entry on this page: https://www.apple.com/iphone-5s/camera/ On Aug 25, 2014, at 2:02 PM, Rick Harrison wrote: > http://www.apple.com/iphone-5s/specs/ > > I only see 30fps recording and 60fps for playback for this device. (iPhone > 5s.) > Where are you getting 120fps tec

Re: iPhone kiosk

2014-08-25 Thread Richard Miller
Hi Rick, https://www.apple.com/iphone-5s/camera/ I own it and use the 120 fps slo-mo feature regularly. This is not a contract-free arrangement. It's a conventional purchase of an iPhone from Verizon with monthly payments. There's no attempt to conceal the phone. Why would Apple care what w

Re: OpenField mystery

2014-08-25 Thread J. Landman Gay
On 8/25/2014, 5:46 AM, Graham Samuel wrote: For those interested, I have reported the bug below and (separately) the fact that 'openField' can be triggered in surprising circumstances (the subject of my original post under this heading) - which people here have reported as being an ancient quirk

Re: Population puzzle

2014-08-25 Thread Michael Doub
Well, I have been trying to come up with a logical approach since I posted the puzzle and I still don’t have a solution. You all may not have a logic based approach, but at least you got a solution. Right now the straight forward approach with some randomness thrown in looks pretty good to m

Re: iPhone kiosk

2014-08-25 Thread Rick Harrison
Hi Richard, So, the person you sell your device to will have to sign up for the Verizon/AT&T phone contract which will reveal the fact that there is indeed an Apple iPhone involved in the product? (Isn’t the 2 year contract about $2,000 total?) If the product is not concealing the iPhone, then a

Re: iPhone kiosk

2014-08-25 Thread Richard Miller
The slo-mo mode of the phone works really well. If you want to see regular playback of a video, you can record at 30 fps. There is no point in recording at 120 fps to see regular playback, as it will look identical to a recording made at 30 fps. The only reason to record at 120 fps is to see slo

Re: iPhone kiosk

2014-08-25 Thread Mark Wilcox
Jailbreaking is a pain - do you really need it? I ask because iOS has a kiosk mode - look up "Guided Access". If you have to jailbreak you always get new devices with the latest firmware and then have to wait for someone to create a new jailbreak. If you retain control/ownership of the devices the

Re: Window manager plugin?

2014-08-25 Thread Mark Schonewille
John, Here's my complete solution: on mouseUp put item 1 of the screenLoc & comma & round(item 2 of the screenLoc / 3) into myLoc askAt "Hello","Write something",myLoc if it is not empty then answerAt "You wrote:" && the result,myLoc,"Yep","Nope" end if put

Re : Speed

2014-08-25 Thread Beat Cornaz
> But I think it quite a pity (to put it mildly) that LC 6.xx is so much > slower thank 5.5. Geoff wrote : Could it be the unicode implementation? Agreed, that would be unfortunate. It would be nice to have a text setting for fields. I talked about this just a couple of hours ago with my brot

Re: iPhone kiosk

2014-08-25 Thread Richard Miller
Jailbreaking is a pain, but I see no way around it. We use a custom hardware add-on that can only communicate to the iPhone if it is jailbroken. As far as jailbreaking new devices is concerned, the idea is to maintain a cloned image of an earlier jailbroken device and then restore that image

Re : Speed

2014-08-25 Thread Beat Cornaz
Geoff Canyon wrote: > On Mon, Aug 25, 2014 at 6:21 AM, Beat Cornaz wrote: > >> But I think it quite a pity (to put it mildly) that LC 6.xx is so much >> slower thank 5.5. > > > Could it be the unicode implementation? Agreed, that would be unfortunate. > It would be nice to have a text setting

Re: iPhone kiosk

2014-08-25 Thread Rick Harrison
Hi Richard, Yes, I understand the 120fps thing but some marketing people were touting 120fps as being the best for totally unnoticeable flicker especially for 3D type application viewing etc. It’s overkill for the human eye under most circumstances. Since your buyers will know that it is an iPho

Re : Speed

2014-08-25 Thread Beat Cornaz
Now for the permutations. Geoff, great. Your script is by far the fastest. Almost 10 times faster than my own script which comes second. I could improve a little bit even on your script with the suggestion of Kay. -- Kay wrote : I obtained a 10% speed increase by changing this: repeat with n

Re: iPhone kiosk

2014-08-25 Thread Charles E Buchwald
Thanks, Mark. I'd heard about MDM, but this points me in the right direction for more. I don't have Richard's needs for the custom hardware add-on, so this sounds like it will work for my project. I'll post here as I find out more. Cheers, - Charles On 25 Aug 2014, at 2:31 PM, Mark Wilcox wrote

Re: iPhone kiosk

2014-08-25 Thread Richard Miller
120 fps is vital if you are analyzing any high-speed movement one frame at a time. It has nothing to do with flicker. If I sell you an ATM machine for your store, do you care one bit what kind of hardware is in it? Do you care that the PC in it can surf the net or do graphics work? You just wa

RE: iPhone kiosk

2014-08-25 Thread Ralph DiMola
35mm film is shot at 24 FPS with each frame shown twice when projected for an effective frame rate of 48 fps. No flickering was due to the 48 fps frame rate and temporal anti-aliasing of the 24 fps source. High frame rates are not always cost/data effective. NTSC also did temporal anti-aliasing wit

Re: iPhone kiosk

2014-08-25 Thread Colin Holgate
Sounds like a golf shop. On Aug 25, 2014, at 4:33 PM, Richard Miller wrote: > If I sell you an ATM machine for your store, do you care one bit what kind of > hardware is in it? Do you care that the PC in it can surf the net or do > graphics work? You just want a machine that does its stated t

Open App/file

2014-08-25 Thread JB
Is there a way to send a double click to a file or application if I have the file path? Or any other code that would allow me to open a file or application? I do not mean I want a binary read/write I just want the file or app to open like it does when I click on it in the finder. John Balgenorth

Re: Open App/file

2014-08-25 Thread Colin Holgate
launch [document path] with [application path] should work, shouldn’t it? Read the Dictionary entry for other variations. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscrip

Re: iPhone kiosk

2014-08-25 Thread Mark Wilcox
I'm no jailbreaking expert but as I understood it, the issue is not that you can't get new versions of iOS quickly but that you can't install older firmware to a device unless you have already jailbroken it. You can't overwrite legitimate firmware with anything but newer legitimate firmware because

Re: Open App/file

2014-08-25 Thread JB
Thank you! I was looking in the dictionary for open and couldn’t find it. This will do the job. Thanks. John Balgenorth On Aug 25, 2014, at 2:13 PM, Colin Holgate wrote: > launch [document path] with [application path] should work, shouldn’t it? > > Read the Dictionary entry for other vari

Re: iPhone kiosk

2014-08-25 Thread Richard Miller
The hardware device controls an iPhone remotely through bluetooth... not a process Apple supports. This isn't a game controller. It is complete control of the phone. On 8/25/14, 5:26 PM, Mark Wilcox wrote: I'm no jailbreaking expert but as I understood it, the issue is not that you can't get

Re: Re : Speed

2014-08-25 Thread Geoff Canyon
This routine will permute to any depth that memory/time allows. It has the added benefit of using characters starting from any ASCII value you like, allowing you to work around what you want to eventually permute using the PLines routine. It also has the speed benefit you get from using items rath

Re: Sending bulk emails

2014-08-25 Thread Jonathan Cooper
When I worked at the Art Gallery of New South Wales (Sydney, Australia), I researched a number of bulk email providers and concluded that the best one was Campaign Monitor (https://www.campaignmonitor.com/). And we were VERY happy with them. They have an excellent tool for reducing both the spam