Hello,
I’ve a strange error :
I have an application where you can change the GPS coordinates from a marker on
a map, in a browser widget.
For this I use the code "myJSHandler" which allows to retrieve in Livecode the
GPS values of the map thanks to javascript.
The code works fine on desktop,
Hi Skip,
Forgive me if this is not the answer you seek, or an oversimplification, but
there is an easy way to find if the jobs can be exactly evenly distributed,
with nothing left over:
if (tjobs mod tdrivers) = 0 then // it is evenly distrutable.
.Jerry
> On Apr 16, 2020, at 7:41 PM, Skip Kimp
Maybe I’m misunderstanding but if you just want to divide the jobs you could
have a counter for the current driver and after assigning a job you increase
the counter and wrap it when you exceed the number of drivers.
If you’re looking for a more fancy job division algorithm you should take a
lo
I have working on creating a loop that would divide the number of jobs by
the number of users and then checking to see to see if it is evenly
divisible but that is kind of where I am stuck. Everything I have tried
thus far has proven to be unsuccessful.
SKIP
On Thu, Apr 16, 2020 at 10:36 PM Skip
It was already mentioned somewhat, but you need some sort of weight metric for
each job. Save the “smallest” job. For each driver, assign the largest and
smallest job remaining. When done, add the weight for each driver and give the
remaining job to the one with the least work.
Thanks,
Brian
Dev, I have already sorted the jobs out by proximity so I don't need to
worry about that. Just need the distribution piece down. I agree, you
have a good point an might prove valuable in the future.
SKIP
On Thu, Apr 16, 2020 at 10:33 PM Skip Kimpel wrote:
> Haha... Let me specify, I am lookin
Haha... Let me specify, I am looking to do this programmatically :)
SKIP
On Thu, Apr 16, 2020 at 10:31 PM Dev via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Since you would probably have long trips and short trips, I would try and
> allocate on an estimated time to complete basis so
Since you would probably have long trips and short trips, I would try and
allocate on an estimated time to complete basis so that all were busy for about
the same time.
> On 16-Apr-2020, at 8:23 PM, Skip Kimpel via use-livecode
> wrote:
>
> I have 15 "jobs" that need to be assigned to 7 "driv
On Apr 16, 2020, at 7:23 PM, Skip Kimpel via use-livecode
wrote:
>
> I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
> evenly distribute the jobs to the drivers?
Fire two drivers.
:_)
If they complain, fire two more, and it’s still easy . . .
__
I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
evenly distribute the jobs to the drivers? In this case one of the drivers
would have 3 jobs while the others have two.
Obviously, the number of drivers and number of jobs would fluctuate.
This has been my mind twister for t
Hello Graham,
When you created the development provisioning profile, I assume you added your
iPhone’s UUID to the list of allowed test devices. In the Standalone
Application Settings—> iOS—> Basic Settings (tab) did you select the correct
profile. (Simulator doesn’t care about profiles but your
I wrote the docs, so I guess I can fix them. The issue is that for widgets
that is how the syntax for handlers is displayed. What can be done is to add
an example that shows it as a command without the parentheses.
Thanks,
Brian
On Apr 16, 2020, 4:41 PM -0400, J. Landman Gay via use-livecode
On 4/16/20 2:04 PM, Graham Samuel via use-livecode wrote:
Sadly, my test targets are just simulators. No real device is mentioned.
Missed this the first time around. You can still do everything from LC, once you launch a
simulator which you need to do from XCode. Wait until it is fully launche
On 4/16/20 3:12 PM, Graham Samuel via use-livecode wrote:
Why is it so complicated? How can anyone write a single piece of software (I’m
talking about XCode) that uses up more bytes than would be needed for the
Library of Babel?
That. But it is what it is, and I plan to spend double or triple
I feel for you Ralph. My general solution is that it is time for my wife to get
a new computer - ie pass on my old one. Pain in the neck and so on, but it
doesn’t happen too often. I don’t know how old yours is, but I usually get 5-6
years out of a Mac laptop, and that means my $$$/yr stays in j
First of all. Make A new Provisioning Profile and put a date or other
identifying indicator suffix at the end of the profile name.
To download it open up Xcode preferences. In the Accounts tap click on
"Download Manual Profiles". Then reopen LC and use the new profile that can be
identified with
On 4/16/20 2:00 PM, Brian Milby via use-livecode wrote:
The ability to create additional SVG Icon Libraries is something that I
helped get done a while back. Here's a thread with a stack that I
developed that helps organize libraries:
I should have guessed you'd had a hand in this. ;) Someone
Ralph, I am using a development provisioning profile for iPhone. It was created
this month and expires next year. I will try to go over the whole process
again. I did as much as I could to include all the icons and splash pages
needed for all the phones I was likely to encounter (that was about
Just got the same error with an iPhone 5, which is only running iOS 10.4 - so
whatever is wrong, it’s not to do with the newness of the operating system in
the device. Why is it so complicated? How can anyone write a single piece of
software (I’m talking about XCode) that uses up more bytes than
You can ignore the "this version of Xcode (10.1) was not compatible with the
iOS 13 on my iPhone XS"
Make sure your using a development provisioning profile. Create a new one and
try using it. If I remember correctly I've also seen this when not all Icons or
Splash pages are included.
Ralph Di
Sadly, my test targets are just simulators. No real device is mentioned.
However, following Ralph’s advice (thanks), i reconnected with my phone
unlocked. Things looked promising, but then a message came up saying that maybe
this version of Xcode (10.1) was not compatible with the iOS 13 on my i
The ability to create additional SVG Icon Libraries is something that I
helped get done a while back. Here's a thread with a stack that I
developed that helps organize libraries:
http://forums.livecode.com/viewtopic.php?f=10&t=30411
I need to take another look at it now that we have the ability
I can’t recall whether this is specific to a particular LC license but when
physically attaching a device to the computer, on my setup that mobile device
appears under the menu Development —> Test Target (along with simulator
options) and can simply be selected as the test device… which saves th
Graham,
When you attach a device to the Mac it should appear in the devices window of
Xcode. A couple of things:
1) Make sure the device is unlocked when attaching.
2) The first time you attach it you should get a message box that will say
something to the effect "Do you trust this Mac?"
Ralph
Just a quick ‘Thank You’ to Andrew, Devin and Bill for their ultra-rapid and
detailed replies. There is a lot to take in there, and I’ll respond later if I
have to ask yet more questions. It does seem a bit of a dog’s breakfast (if I
can say that), doesn’t it? I did not realise you could buy in
I’m following the LC lesson 'How do I build an iOS application?’. I think I’ve
done everything they mention, and I have my Apple developer credentials and
three iOS devices registered. I have saved my iOS app as a standalone. But when
I get to this instruction about getting my app on a real devi
Hi Graham,
TL/DR: It’s doable, but there is a learning curve.
Making your apps look native is doable, but how to get there is a mixed bag. As
you’ve discovered, you have to use a range of capabilities.
1. Widgets. They are mostly straightforward to figure out. See my lesson at
http://livecode.
> - Fields to display information, some of which must allow input via
> keyboard or pasting. Although there is a Native Android Field widget, there
> isn?t one for iOS, so I don?t know what my options are. I want the kind of
> fonts and font sizes that are typical of iOS, but so far I haven?t
Graham,
I feel your pain!
Weren’t there some app building lessons that took you through the process of
building a number of commonly included ios apps? I did a couple of them a few
years ago. They were kind of quirky to follow, and not using the latest stuff,
but perhaps they could inform you in
Folks, I know this is a desperately naive question, but as I progress with my
first serious attempt at an iOS app, which I’m trying to do in a hurry with
only my experience of developing LC desktop apps to go on, I am struck by how
un-iOS-like it looks. Richard Gaskin has already suggested that
Dear list members,
We are pleased to announce the release of LiveCode 9.6.0 DP-4.
Developer Preview Release
=
Warning: this is not a stable release. Please ensure that you back up your
stacks before testing them.
Getting the Release
===
You can get the
31 matches
Mail list logo