Re: Installing metacard on linux - cmd line or?

2016-03-27 Thread RM

Oddly enough I've just got MetaCard 2.5 running on Xubuntu 15.10 64 bit!

Mind you, having done that I'm packing it away and getting on with 
producing stuff for my school

using LiveCode 7.1.

Richmond.

On 27.03.2016 02:21, Mark Talluto wrote:

On Mar 26, 2016, at 12:37 PM, Richard Gaskin  wrote:

If you're looking for older versions of the MetaCard engine, Mark Talluto used 
to maintain an archive at his company's site, but I can't find the URL for that 
now.  Perhaps he can chime in with that, but given how much OSes have changed 
since the MC engine was last updated I'd be surprised if it ran on any current 
version of Linux, Mac, or Windows.


http://canelasoftware.com/mc/metacard23/index.html
http://canelasoftware.com/mc/metacard24/index.html
http://canelasoftware.com/mc/metacard25/index.html
http://canelasoftware.com/mc/metacard242/index.html
http://canelasoftware.com/mc/metacard243/index.html


Best regards,

Mark Talluto
livecloud.io 
canelasoftware.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: Delete the first entry of an array.

2016-03-27 Thread Peter TB Brett

On 26/03/2016 23:40, Alex Tweedly wrote:

I haven't found (can't find) a spec for LCB, so I'm not sure exactly
what "proper lists" are - but I think maybe not quite what I meant.


There's a spec in the "Guides" tab of the LC8 dictionary -- look for 
"LiveCode Builder Language Reference".  There's also a whole LCB 
dictionary section in the "Dictionary" tab that describes all the syntax 
relating to working with Lists.



I was thinking of "proper arrays" :-)  i.e. real, old-fashioned indexed
arrays - see Algol, Fortran, etc.

So we would have
read access in constant time
write access in constant time
insertion complexity - there is no such thing as insertion :-)


Yes.  We're talking about the same thing.  The LCB "List" datatype is 
this datastructure.


Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode 2016 Conference https://livecode.com/edinburgh-2016/

___
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: LiveCode and Alexa

2016-03-27 Thread Erik Beugelaar
Paul,

Unfortunately I don’t have a complete example but looking at the Alexa API 
services they are simply HTTP GET requests that return XML.
No need for JSON parsing so far I have seen.

Please take a look at:

1. http://livecode.byu.edu/internet/webServices.php (Example of HTTP GET 
request)
2. http://forums.livecode.com/viewtopic.php?f=7&t=24201 (Example of 
JSON)

For sure there are in the forum more examples of how to deal with webservices.

Good luck,
Erik


Sent from solidit    






On 26/03/16 23:16, "use-livecode on behalf of Paul Foraker" 
 
wrote:

>I have a potential client who wants a Mac desktop app for viewing Alexa
>results. I see that Alexa has several APIs (
>https://aws.amazon.com/tools/?nc1=f_dr) but I can't think of a way for
>LiveCode to hook into one of those solutions.
>
>Anyone have any experience with this?
>
>-- Paul
>___
>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

Grab Me

2016-03-27 Thread RM

Go on: I dare you:

https://www.dropbox.com/s/djb48g4otvv9pgf/FLATdemo.livecode.zip?dl=0

Richmond.

___
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] Blog Post

2016-03-27 Thread BNig
Scott Rossi wrote
> New blog article about crazy fast blur and pixelizing effects, with sample
> stacks.
> 
> 
> http://tactilemedia.com/blog/
> 
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design

Thank you for sharing this. It is a ultra cool use of existing techniques
and as you say amazingly fast.

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-Blog-Post-tp4702647p4702652.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: Delete the first entry of an array.

2016-03-27 Thread Alex Tweedly



On 27/03/2016 10:42, Peter TB Brett wrote:

On 26/03/2016 23:40, Alex Tweedly wrote:

I haven't found (can't find) a spec for LCB, so I'm not sure exactly
what "proper lists" are - but I think maybe not quite what I meant.


There's a spec in the "Guides" tab of the LC8 dictionary -- look for 
"LiveCode Builder Language Reference".

I see that, but the ONLY mention it makes of lists are:
 - it is one of the Types
 - it holds a "sequence of values"
 - what a ListExpression is.

There's also a whole LCB dictionary section in the "Dictionary" tab 
that describes all the syntax relating to working with Lists.
True - but sadly there's no effective way to filter those 523 entries to 
see only the ones that are relevant to a List type.



I was thinking of "proper arrays" :-) i.e. real, old-fashioned indexed
arrays - see Algol, Fortran, etc.

So we would have
read access in constant time
write access in constant time
insertion complexity - there is no such thing as insertion :-)


Yes.  We're talking about the same thing.  The LCB "List" datatype is 
this datastructure.


I suspect we're not quite talking about the same thing - I think 'proper 
lists' are something more powerful than I was picturing, but can do 
everything I am looking for - and a whole lot more. If I simply ignore 
all that "more", then they do what I am hoping for.


Many thanks for you patience explaining this.
I'll go start playing with LCB and try to ask harder questions :-)

Thanks
-- Alex.

___
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


Siege benchmarks for Pierre

2016-03-27 Thread Richard Gaskin

Pierre, thanks for introducing me to Siege in your benchmark posts from Feb.

For those who missed them he has some great stuff there:
http://lists.runrev.com/pipermail/use-livecode/2016-February/223352.html
http://lists.runrev.com/pipermail/use-livecode/2016-February/223496.html
http://lists.runrev.com/pipermail/use-livecode/2016-February/223514.html

Below are this morning's Siege runs here on a small NUC.  Each test is 
just delivering the default Apache page, but done in three ways: first 
Apache alone, then LC Server running under Apache as a CGI, then with 
just a LiveCode standalone handling HTTP directly:



Apache 2.4.12
-
> siege http:///index.html -b -c200 -r10 -q
Transactions:   2000 hits
Availability: 100.00 %
Elapsed time:  29.38 secs
Data transferred:   6.07 MB
Response time:  2.49 secs
Transaction rate:  68.07 trans/sec
Throughput: 0.21 MB/sec
Concurrency:  169.45
Successful transactions:2000
Failed transactions:   0
Longest transaction:   20.78
Shortest transaction:   0.22

Apache + CGI, LC Server 8.0dp16
---
> siege http:///tindex.lc -b -c200 -r10 -q
Transactions:   2000 hits
Availability: 100.00 %
Elapsed time:  53.79 secs
Data transferred:   6.07 MB
Response time:  5.22 secs
Transaction rate:  37.18 trans/sec
Throughput: 0.11 MB/sec
Concurrency:  194.18
Successful transactions:2000
Failed transactions:   0
Longest transaction:   10.42
Shortest transaction:   0.23

lcHTTPd standalone, made with LC 8.0dp16

> siege http://:8080/index.html -b -c200 -r10 -q
Transactions:   2000 hits
Availability: 100.00 %
Elapsed time:  12.55 secs
Data transferred:   6.07 MB
Response time:  1.07 secs
Transaction rate: 159.36 trans/sec
Throughput: 0.48 MB/sec
Concurrency:  170.67
Successful transactions:2000
Failed transactions:   0
Longest transaction:3.29
Shortest transaction:   0.07


Not shown in Siege but observable in Htop is the impact on CPU: both 
Apache by itself and the lcHTTPd standalone run the test without ever 
going much above 25% load, but Apache + LC Server spikes all four cores 
of the N3150 in my NUC for almost the full duration of the test.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for Desktop, Mobile, and Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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: Installing metacard on linux - cmd line or?

2016-03-27 Thread FlexibleLearning.com
MC runs fine on Windows 10, all versions that I use from v4.5  to v7 (except
the MC properties palette under v7 can sometimes cause problems). Can't help
you with Linux

Hugh Senior (Old Guard)
FLCo

> Oddly enough I've just got MetaCard 2.5 running on Xubuntu 15.10 64 bit!
> 
> Mind you, having done that I'm packing it away and getting on with
> producing stuff for my school
> using LiveCode 7.1.
> 
> Richmond.
> 
> On 27.03.2016 02:21, Mark Talluto wrote:
> >> On Mar 26, 2016, at 12:37 PM, Richard Gaskin
>  wrote:
> >>
> >> If you're looking for older versions of the MetaCard engine, Mark
Talluto
> used to maintain an archive at his company's site, but I can't find the
URL for
> that now.  Perhaps he can chime in with that, but given how much OSes have
> changed since the MC engine was last updated I'd be surprised if it ran on
> any current version of Linux, Mac, or Windows.
> >
> > http://canelasoftware.com/mc/metacard23/index.html
> > http://canelasoftware.com/mc/metacard24/index.html
> > http://canelasoftware.com/mc/metacard25/index.html
> > http://canelasoftware.com/mc/metacard242/index.html
> > http://canelasoftware.com/mc/metacard243/index.html
> >
> >
> > Best regards,
> >
> > Mark Talluto
> > livecloud.io 
> > canelasoftware.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: Installing metacard on linux - cmd line or?

2016-03-27 Thread RM
I tried to"upgrade" MetaCard 2.5 using Jacque's stack: 
http://livecodeshare.runrev.com/stack/590/MetaCard-Setup-2-02


and LiveCode 7.1, and ended up with an odd, icon-less "thing" that 
didn't get any further than that.


Quite honestly I cannot see any obvious advantages using the MetaCard 
GUI rather than the LiveCode one: it

looks a bit masochistic frankly.

Richmond.

On 27.03.2016 22:19, FlexibleLearning.com wrote:

MC runs fine on Windows 10, all versions that I use from v4.5  to v7 (except
the MC properties palette under v7 can sometimes cause problems). Can't help
you with Linux

Hugh Senior (Old Guard)
FLCo


Oddly enough I've just got MetaCard 2.5 running on Xubuntu 15.10 64 bit!

Mind you, having done that I'm packing it away and getting on with
producing stuff for my school
using LiveCode 7.1.

Richmond.

On 27.03.2016 02:21, Mark Talluto wrote:

On Mar 26, 2016, at 12:37 PM, Richard Gaskin

 wrote:

If you're looking for older versions of the MetaCard engine, Mark

Talluto

used to maintain an archive at his company's site, but I can't find the

URL for

that now.  Perhaps he can chime in with that, but given how much OSes have
changed since the MC engine was last updated I'd be surprised if it ran on
any current version of Linux, Mac, or Windows.

http://canelasoftware.com/mc/metacard23/index.html
http://canelasoftware.com/mc/metacard24/index.html
http://canelasoftware.com/mc/metacard25/index.html
http://canelasoftware.com/mc/metacard242/index.html
http://canelasoftware.com/mc/metacard243/index.html


Best regards,

Mark Talluto
livecloud.io 
canelasoftware.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: Delete the first entry of an array.

2016-03-27 Thread Ali Lloyd
> True - but sadly there's no effective way to filter those 523 entries to
> see only the ones that are relevant to a List type.

One way to do this is to click the 'lists' filter in the tags section.

On Sun, Mar 27, 2016 at 5:33 PM Alex Tweedly  wrote:

>
>
> On 27/03/2016 10:42, Peter TB Brett wrote:
> > On 26/03/2016 23:40, Alex Tweedly wrote:
> >> I haven't found (can't find) a spec for LCB, so I'm not sure exactly
> >> what "proper lists" are - but I think maybe not quite what I meant.
> >
> > There's a spec in the "Guides" tab of the LC8 dictionary -- look for
> > "LiveCode Builder Language Reference".
> I see that, but the ONLY mention it makes of lists are:
>   - it is one of the Types
>   - it holds a "sequence of values"
>   - what a ListExpression is.
>
> > There's also a whole LCB dictionary section in the "Dictionary" tab
> > that describes all the syntax relating to working with Lists.
> True - but sadly there's no effective way to filter those 523 entries to
> see only the ones that are relevant to a List type.
> >
> >> I was thinking of "proper arrays" :-) i.e. real, old-fashioned indexed
> >> arrays - see Algol, Fortran, etc.
> >>
> >> So we would have
> >> read access in constant time
> >> write access in constant time
> >> insertion complexity - there is no such thing as insertion :-)
> >
> > Yes.  We're talking about the same thing.  The LCB "List" datatype is
> > this datastructure.
> >
> I suspect we're not quite talking about the same thing - I think 'proper
> lists' are something more powerful than I was picturing, but can do
> everything I am looking for - and a whole lot more. If I simply ignore
> all that "more", then they do what I am hoping for.
>
> Many thanks for you patience explaining this.
> I'll go start playing with LCB and try to ask harder questions :-)
>
> Thanks
> -- Alex.
>
> ___
> 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: [ANN] Blog Post

2016-03-27 Thread Jim Lambert
Scott,

Surprisingly fast. Thanks.

Jim Lambert

___
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


Design Challenge -- Round Corner mask on images

2016-03-27 Thread Sannyasin Brahmanathaswami
Our design team finished a design for a mobile app. The used rounded corners 
everywhere.

see

http://wiki.hindu.org/screenshots/radius-all-corners.jpg

Something I wished we had in LC for all controls (groups included) is corner 
radius, but is is only available for graphics objects.


set the roundRadius of grc "roundRectAngleButton" to pValue

I'm digging in the forums for info an masks etc... but I'm out of my depth here.

I'm thinking this is probably (I hope)  not that hard to implement.

it's obviously easy enough to create a background graphic with round corners, 
add a small field on the left site that is transparent, lock that, put an image 
on the right side, make this a small group and give the name of a target and we 
have a nice cool "button" but how do I get the image in the right half of the 
group to take the rounded corners of the background graphic?

BR
___
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


[ANN] DGH 2.1 for LC 8.x and new cloning options

2016-03-27 Thread zryip theSlug
Dear List Members and DGH Users,


I am pleased to announce the release of a new Data Grid Helper
version, compatible with LC 8.


In this new version, we have also:

1. New features:

- Addition of a "Contents" button in the "Content" topic allowing
edition of the selected datagrid's content.
- The cloning (mimestim) feature is fully rewritten. New options are
now available for deciding what part of the datagrid is to clone
amongs "Properties", "Column properties", "Columns" or "Templates".

2. Changes:

The iOS scroller script supports iOS and Android.


If you are a DGH user, you can get this new version by downloading it
directly with DGH. Just hit the "Check for updates" button in the
DGH's preferences panel.

Note the updater button is available only in the DGH commercial version.

For more informations about DGH:
http://www.aslugontheroad.com/ourproducts/2-what-is-dgh

DGH in the LiveCode Store:
https://livecode.com/products/thirdparty/aslugontheroad/data-grid-helper-1-3-4/



Best Regards,
-- 
Zryip TheSlug
http://www.aslugontheroad.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: Delete the first entry of an array.

2016-03-27 Thread Alex Tweedly



On 27/03/2016 20:47, Ali Lloyd wrote:

True - but sadly there's no effective way to filter those 523 entries to
see only the ones that are relevant to a List type.

One way to do this is to click the 'lists' filter in the tags section.

Thanks.
I had tried typing 'list' into the search box, which 
over-enthusiastically reduced the entries to only 7 :-)


The tag works much better 

Thanks
-- Alex.

___
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


scrolbardrag not working LC8 p16?

2016-03-27 Thread Sannyasin Brahmanathaswami
See other post on rounded corners..

I downloaded an old stack by Bernd that has controls to adjust a graphic to 
look like a button.

But scrollBarDrag doesn't seem to work


on scrollbarDrag pValue

put pvalue

put the loc of grc "roundRectAngleButton" into tLoc

set the roundRadius of grc "roundRectAngleButton" to pValue

set the loc of grc "roundRectAngleButton" to tLoc

end scrollbarDrag

Drag the scrollbar and no value is returned.

I don't get any value returned in the msg box.

Am i doing anything wrong?



___
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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Mark Schonewille
I had a mobile app project where the designers did exactly the same. 
They put round corners everywhere, around every element in the app. The 
result was a lot of unused space. It was cumbersome and inefficient and 
in the end it didn't look well. We decided to use straight corbers and 
the app looked a gazillion times better than before.


If you still want this, you can create round rectangles and adjust the 
corners dynamically using the roundRadius. Use the rectangles as 
backgrounds of groups.


Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 28-Mar-16 om 00:26 schreef Sannyasin Brahmanathaswami:

Our design team finished a design for a mobile app. The used rounded corners 
everywhere.

see

http://wiki.hindu.org/screenshots/radius-all-corners.jpg

Something I wished we had in LC for all controls (groups included) is corner 
radius, but is is only available for graphics objects.


set the roundRadius of grc "roundRectAngleButton" to pValue

I'm digging in the forums for info an masks etc... but I'm out of my depth here.

I'm thinking this is probably (I hope)  not that hard to implement.

it's obviously easy enough to create a background graphic with round corners, add a small 
field on the left site that is transparent, lock that, put an image on the right side, 
make this a small group and give the name of a target and we have a nice cool 
"button" but how do I get the image in the right half of the group to take the 
rounded corners of the background graphic?

BR
___
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


Selecting Object invokes inspector for "revFrontScriptLibrary"

2016-03-27 Thread Sannyasin Brahmanathaswami
Frequently today.. .when I double click on a control in a stack, the inspector 
pops open with "revFrontScriptLibrary"

It seems to happen  in a sequence like this

1) create graphic

2) double click on graphic --> inspector opens

3) Click to choose colors --> click background color

4) color wheel opens

5) chose color and close color wheel

6) click again on the graphic

Inspector now changes to "revFrontScriptLibrary"  and not the currently 
selected graphic.

can anyone confirm? if so I will "bug it"

BR
___
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: Delete the first entry of an array.

2016-03-27 Thread Dr. Hawkins
On Sat, Mar 26, 2016 at 4:40 PM, Alex Tweedly  wrote:

> e, and hence be able to do completely dense arrays, just like Fortran etc.
> (he said, making about 50 wild assumptions about a language he can't find a
> spec for :-)


Just to throw gas on the flames (petrol for you cross-atlantans) . . .

Fortran can have sparse arrays, far larger than memory or disk storage . . .


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Sannyasin Brahmanathaswami
Did you look at the screenshot?

They are using 10 px radius and there really is not a lot of wasted space

I'm testing now... create a graphic 410 wide and 100 tall, set roundradius to 
1, then put a small image on top over on the right half ... oddly to my eye, if 
I set the right of the image to e.g 411 and the right of the graphic to 412.. 
it *appears* as of the image is masked... I suspect we will see her sharp 
corner of the image on a retina display though, so this is just a temp hack for 
now.



On March 27, 2016 at 12:54:14 PM, Mark Schonewille 
(m.schonewi...@economy-x-talk.com) 
wrote:

I had a mobile app project where the designers did exactly the same.
They put round corners everywhere, around every element in the app. The
result was a lot of unused space. It was cumbersome and inefficient and
in the end it didn't look well. We decided to use straight corbers and
the app looked a gazillion times better than before.

If you still want this, you can create round rectangles and adjust the
corners dynamically using the roundRadius. Use the rectangles as
backgrounds of groups.
___
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: Siege benchmarks for Pierre

2016-03-27 Thread Pierre Sahores
Hi Richard,

Good stuff, this siege, is’t ? Probably more readable than Apache Bench. Stay 
tuned. I will be back soon with more to share : advanced testing against a real 
word web application with up to seventy PostgreSQL calls per request (ways to 
setup best pg urbanization but the goal was in this case to test the app’s 
ability to resist to heavy loads) the results will probably seems amazing at 
some point :

LiveCode application’s server outperforms LuaJIT with an ability to deliver 80 
transactions/second (per core/socket binding) where the Lua version of the same 
web app deliver 13 connections/second only in the same conditions.

It’s not surprising at all as LuaJIT runs the Lua version of this app in 
FASTCGI mode (process started from RAM) where the Livecode one don’t restart at 
all for each socket’s incoming request and, even, is able to cache in hash 
tables redundant PostgreSQL responses (active cache application level proxy).

I’m, at this time, porting my Livecode’s application’s server to Lua (srLua 
should be used) to see if this implementation will become as fast as the LC 
original. It should be the case … or not. I expect to publish both the LC and 
Lua versions of those application’s servers on GITHUB as GPL3 (Livecode) and 
MIT (Lua) licensed stuff as soon as the second one will be up and running.

The more i can say at this point, is that Tomcat7, JBoss2 and PHP5.6 are 
definitively the turtles of the competition :

- Ubuntu / Openresty / Lua round-robin proxy and TCP sockets gateway / Livecode 
Application Server / PostgreSQL : 80 t/s per server’s core
- Ubuntu / Openresty / PHP round-robin proxy and TCP sockets gateway / Livecode 
Application Server / PostgreSQL : 14 t/s per server’s core
- Ubuntu / Openresty / Lua Web Application (server page mode) / PostgreSQL : 13 
t/s per server’s core
- Ubuntu / Openresty / FASTCGI / Livecode CGI server / PostgreSQL : 10 t/s per 
server’s core

note 1 : My Tomcat7’s and JBoss2 first tests went so low performant that i 
stopped to code the Java’s implementations of the test app (Scala code is not 
really a pleasure to write, to the end...) as soon as i could seen that they 
would never do best than PHP…
note 2 : While MySQL/MariaDB running the InnoDB engine are able to be 3 times 
faster than PostgreSQL 9.5 against atomic requests in read mode, PostgreSQL 
become up to 8 times faster than MySQL/MariaDB as soon as real world requests 
(READ with Inner joints, full text search in vector mode, etc…) are served. In 
about write mode requests, PostgreSQL outperforms for years MySQL and, even 
Oracle 8i to 11g (can’t say about 12c) …
note 3 : Livecode and Lua shares 90% of their concepts and anyone coding in one 
of them should be very confortable in the other one in some hours. The main 
difference i can see is that some tierce-party Lua modules are not reliable at 
all (some DB drivers and Json parsers, at least) while in using trusty sourced 
ones only, development cycles are just as fast an reliable as they are in using 
Livecode.
note 4 : Openresty (Nginx + LuaJIT + native RDBMS drivers and lots more) 
outperforms definitively Apache as a Livecode or Lua server side platform. Its 
speed and security model (WAF using locations and IP/Port rules, etc…) are just 
amazing and no far from perfect, conceptually speaking. A pleasure to work with 
!

Cheers,

Pierre
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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: Siege benchmarks for Pierre

2016-03-27 Thread Pierre Sahores
Richard,

If your lcHTTPd standalone is a TCP sockets server, the low TOP load (less than 
25%) is not surprising at all and can even go lots less in using nginx instead 
of apache (6 to 8%) while the power consomption increase on the PostgreSQL 
controllers pool side (-> LC app’s server will never acts as a bottleneck in 
the global service stack). 

Best,

Pierre

Le 27 mars 2016 à 21:10, Richard Gaskin  a écrit :
> 
> 
> Pierre, thanks for introducing me to Siege in your benchmark posts from Feb.
> 
> For those who missed them he has some great stuff there:
> http://lists.runrev.com/pipermail/use-livecode/2016-February/223352.html
> http://lists.runrev.com/pipermail/use-livecode/2016-February/223496.html
> http://lists.runrev.com/pipermail/use-livecode/2016-February/223514.html
> 
> Below are this morning's Siege runs here on a small NUC.  Each test is just 
> delivering the default Apache page, but done in three ways: first Apache 
> alone, then LC Server running under Apache as a CGI, then with just a 
> LiveCode standalone handling HTTP directly:
> 
> 
> Apache 2.4.12
> -
> > siege http:///index.html -b -c200 -r10 -q
> Transactions: 2000 hits
> Availability:   100.00 %
> Elapsed time:29.38 secs
> Data transferred: 6.07 MB
> Response time:2.49 secs
> Transaction rate:68.07 trans/sec
> Throughput:   0.21 MB/sec
> Concurrency:169.45
> Successful transactions:2000
> Failed transactions: 0
> Longest transaction: 20.78
> Shortest transaction: 0.22
> 
> Apache + CGI, LC Server 8.0dp16
> ---
> > siege http:///tindex.lc -b -c200 -r10 -q
> Transactions: 2000 hits
> Availability:   100.00 %
> Elapsed time:53.79 secs
> Data transferred: 6.07 MB
> Response time:5.22 secs
> Transaction rate:37.18 trans/sec
> Throughput:   0.11 MB/sec
> Concurrency:194.18
> Successful transactions:2000
> Failed transactions: 0
> Longest transaction: 10.42
> Shortest transaction: 0.23
> 
> lcHTTPd standalone, made with LC 8.0dp16
> 
> > siege http://:8080/index.html -b -c200 -r10 -q
> Transactions: 2000 hits
> Availability:   100.00 %
> Elapsed time:12.55 secs
> Data transferred: 6.07 MB
> Response time:1.07 secs
> Transaction rate:   159.36 trans/sec
> Throughput:   0.48 MB/sec
> Concurrency:170.67
> Successful transactions:2000
> Failed transactions: 0
> Longest transaction:  3.29
> Shortest transaction: 0.07
> 
> 
> Not shown in Siege but observable in Htop is the impact on CPU: both Apache 
> by itself and the lcHTTPd standalone run the test without ever going much 
> above 25% load, but Apache + LC Server spikes all four cores of the N3150 in 
> my NUC for almost the full duration of the test.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for Desktop, Mobile, and Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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

(way OT, WAS: )Re: Delete the first entry of an array.

2016-03-27 Thread Alex Tweedly
Hmmm ... not real Fortran. (that should be said in a deep, impressive 
voice)

Real Fortran died when Fortran 77 took over :-(

And, AFAIK, only those modern variants from (I think) Fortran90 onwards 
have sparse arrays.


(I have to confess I last wrote a line of Fortran professionally in 
1988, and it was indeed in F77, so I'm exaggerating slightly)


-- Alex.



On 28/03/2016 00:03, Dr. Hawkins wrote:

On Sat, Mar 26, 2016 at 4:40 PM, Alex Tweedly  wrote:


e, and hence be able to do completely dense arrays, just like Fortran etc.
(he said, making about 50 wild assumptions about a language he can't find a
spec for :-)


Just to throw gas on the flames (petrol for you cross-atlantans) . . .

Fortran can have sparse arrays, far larger than memory or disk storage . . .





___
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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Scott Rossi
One way is using ink effects.  In a group with the roundRect graphic
layered above the image:
blendSrcOver applied to the group
blendDstIn applied to the graphic

You might want to take a look at the stack provided in this article for
ideas:
http://tactilemedia.com/blog/2015/11/04/livecode-basics-masking-objects/


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 3:26 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>Our design team finished a design for a mobile app. The used rounded
>corners everywhere.
>
>see
>
>http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>
>Something I wished we had in LC for all controls (groups included) is
>corner radius, but is is only available for graphics objects.
>
>
>set the roundRadius of grc "roundRectAngleButton" to pValue
>
>I'm digging in the forums for info an masks etc... but I'm out of my
>depth here.
>
>I'm thinking this is probably (I hope)  not that hard to implement.
>
>it's obviously easy enough to create a background graphic with round
>corners, add a small field on the left site that is transparent, lock
>that, put an image on the right side, make this a small group and give
>the name of a target and we have a nice cool "button" but how do I get
>the image in the right half of the group to take the rounded corners of
>the background graphic?
>
>BR
>___
>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: (way OT, WAS: )Re: Delete the first entry of an array.

2016-03-27 Thread Dr. Hawkins
On Sun, Mar 27, 2016 at 4:36 PM, Alex Tweedly  wrote:

> Hmmm ... not real Fortran. (that should be said in a deep, impressive
> voice)
> Real Fortran died when Fortran 77 took over :-(
>

I've been out-crankied!

>
> And, AFAIK, only those modern variants from (I think) Fortran90 onwards
> have sparse arrays.
>

Yes, I designed the algorithm for my dissertation in Fortran 90, longing
for some of the F95 features that weren't available yet.

Sparse arrays would have been useful, except for the detail that the
elements that I *was* generating in my search dwarfed the size of physical
memory . . .



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Installing metacard on linux - cmd line or?

2016-03-27 Thread Mark Wieder

On 03/27/2016 12:47 PM, RM wrote:


Quite honestly I cannot see any obvious advantages using the MetaCard
GUI rather than the LiveCode one: it
looks a bit masochistic frankly.


Yes, but the OP has her/his (I no longer remember) set on MC, so there 
you go. I supported MetaCard in my apps until it got to the point where 
I could count the MC users without taking my shoes off. Then dropped 
support, and I have yet to hear a complaint.


--
 Mark Wieder
 ahsoftw...@gmail.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


revIgniter installation

2016-03-27 Thread Matt Maier
Can someone help clarify the revIgniter installation instructions?

I'm trying to get started with learning how to work with this tool but it's
assuming more experience than I have.

I want to confirm that I got my own computer and my server setup correctly
for working with FileZilla and revIgniter. The original instructions are
copied below for reference.

1) download revIgniter.zip
2) extract revIgniter.zip
3) open folder revIgniter1.8.1
4) select everything and send it to a new *.zip file
5) rename that new *.zip file something meaningful
6) fire up cPanel for website
7) navigate to public_html/website.com
8) upload somethingMeaningful.zip
9) extract somethingMeaningful.zip
-- now you've got public_html/website.com/index.lc (instead of public_html/
website.com/revIgniter1.8.1/index.lc)
10) go back to your computer
11) create a folder called website.com
12) extract somethingMeaningful.zip into website.com
13) get FileZilla all credentialed up and tell it to synchronize browsing
between website.com on your computer and on the server
14) the base URL in revIgniter's application/config/config.lc will be
www.website.com

A lot of this is because cPanel will only upload multiple files and/or
folders if they're zipped together and FileZilla will only upload
individual items; it won't sync entire repositories.

So, at the end of this, what I've got is the contents of revIgniter1.8.1 is
now the contents of website.com on my computer and server. Now when I edit
or add to revIgniter's templates on my computer I can upload the changes to
the right places on the server using FileZilla. Did I do that correctly?

Installation Instructions

revIgniter is installed in four steps:

   1. Unzip the package.
   2. Upload the revIgniter folders and files to your server. Normally the
   index.lc file will be at your root.
   3. Open the application/config/config.lc file with a text editor and set
   your base URL. If you intend to use encryption or sessions, set your
   encryption key.
   4. If you intend to use a database, open the application/config/
   database.lc file with a text editor and set your database settings.

If you wish to hide the location of your revIgniter files you can rename
the system folder to something more private. If you do rename it, you must
open your main index.lc file and set the gSystemFolder variable at the top
of the page with the new name you've chosen.

To increase security even further you can move your system and application
folder above web root. Before doing so please read the section Managing
Your Application
.

That's it!

If you're new to revIgniter, please read the Getting Started
 section of
the User Guide to begin learning how to build dynamic irev applications.
Enjoy!
___
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: LC8 DP16

2016-03-27 Thread William Prothero
I see similar behaviors in the IDE in DP16. It seems to forget which stack is 
in focus and does unexpected things.
Bill

> On Mar 26, 2016, at 12:17 PM, Sannyasin Brahmanathaswami  
> wrote:
> 
> I had an odd incident in a different context but similar "paradigm"  i.e. as 
> if the IDE lost track or the focused object/stack.  I had a stack open, a 
> button selected, and the inspector open, and the graphics effects selected in 
> the inspector. I pressed delete to delete the button. Instead of deleting the 
> button, one of the buttons of the stack inspector for graphics effects 
> disappeared... after that "all hell broke loose" with respect to selecting 
> any object and trying to open an inspector for it. IDE had gone to the looney 
> farm. Totally unqualified of course... which is impossible to bug report.
> 
> I just quit, rebooted LC and started again.. never able to reproduce this. 
> So, this is not the same as a card, but loss of "where am I exactly"  smells 
> like similar rotten mango, if you get my meaning.
> 
> Which stack is on First?
> 
> BR
> 
> 
> On March 25, 2016 at 2:11:33 PM, p...@livecode.org 
> (p...@livecode.org) wrote:
> 
> Bill,
> 
> I tried this and saw the problem once!, but now I’m not seeing it happen 
> again. That’s kind of a familiar scenario with LC8 for me, often makes me 
> think I’m doing something wrong, but then I can’t find enough evidence to 
> make a recipe for a bug report.
> 
> When I get a few minutes spare I’ll try again with some different stacks, I 
> do see odd results with the PB from time to time and the only way to get rid 
> of them is to close and re-open the PB palette, that’s why I suggested a 
> refresh button, but Mark Waddingham doesn’t want to go down that route. I do 
> understand, but it is still frustrating at times.
> 
> Paul
> ___
> 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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Sannyasin Brahmanathaswami
Scott, thanks stack downloaded

Fascinating technique.

But your example uses an oval... but if I use  graphic style  "round rectangle" 
-- the technique fails -- or I am missing something.

Can you try it there?

tks


On March 27, 2016 at 1:42:52 PM, Scott Rossi 
(sc...@tactilemedia.com) wrote:

One way is using ink effects. In a group with the roundRect graphic
layered above the image:
blendSrcOver applied to the group
blendDstIn applied to the graphic

You might want to take a look at the stack provided in this article for
ideas:
http://tactilemedia.com/blog/2015/11/04/livecode-basics-masking-objects/


Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 3:26 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>Our design team finished a design for a mobile app. The used rounded
>corners everywhere.
>
>see
>
>http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>
>Something I wished we had in LC for all controls (groups included) is
>corner radius, but is is only available for graphics objects.
>
>
>set the roundRadius of grc "roundRectAngleButton" to pValue
>
>I'm digging in the forums for info an masks etc... but I'm out of my
>depth here.
>
>I'm thinking this is probably (I hope) not that hard to implement.
>
>it's obviously easy enough to create a background graphic with round
>corners, add a small field on the left site that is transparent, lock
>that, put an image on the right side, make this a small group and give
>the name of a target and we have a nice cool "button" but how do I get
>the image in the right half of the group to take the rounded corners of
>the background graphic?
>
>BR
>___
>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


[OT] KickStarter - OLO 3d Printer

2016-03-27 Thread Kay C Lan
For anyone interested in 3D printing, or just a runaway KickStarter campaign:

https://www.kickstarter.com/projects/olo3d/olo-the-first-ever-smartphone-3d-printer

Where will technology take us tomorrow?

___
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: LC8 DP16

2016-03-27 Thread Mark Wieder

On 03/27/2016 06:42 PM, William Prothero wrote:

I see similar behaviors in the IDE in DP16. It seems to forget which stack is 
in focus and does unexpected things.


I tried using the Project Browser yesterday, and three times I deleted 
the wrong object because I couldn't tell which one was actually 
selected, and had to revert to backups because you can't undo that.


--
 Mark Wieder
 ahsoftw...@gmail.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] KickStarter - OLO 3d Printer

2016-03-27 Thread Mark Wieder

On 03/27/2016 07:01 PM, Kay C Lan wrote:

For anyone interested in 3D printing, or just a runaway KickStarter campaign:


I ordered mine in the first half-hour after it went live.

--
 Mark Wieder
 ahsoftw...@gmail.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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Scott Rossi
An oval is the same as a roundRect, just with larger radii.  The technique
doesn't "fail" as shown in the demo stack, so yes, you may indeed be
missing something.  Make sure you have the inks applied properly.

go url "http://tactilemedia.com/download/RoundCornerSample.livecode";

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 6:52 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>Scott, thanks stack downloaded
>
>Fascinating technique.
>
>But your example uses an oval... but if I use  graphic style  "round
>rectangle" -- the technique fails -- or I am missing something.
>
>Can you try it there?
>
>tks
>
>
>On March 27, 2016 at 1:42:52 PM, Scott Rossi
>(sc...@tactilemedia.com) wrote:
>
>One way is using ink effects. In a group with the roundRect graphic
>layered above the image:
>blendSrcOver applied to the group
>blendDstIn applied to the graphic
>
>You might want to take a look at the stack provided in this article for
>ideas:
>http://tactilemedia.com/blog/2015/11/04/livecode-basics-masking-objects/
>
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 3/27/16, 3:26 PM, "use-livecode on behalf of Sannyasin
>Brahmanathaswami" bra...@hindu.org> wrote:
>
>>Our design team finished a design for a mobile app. The used rounded
>>corners everywhere.
>>
>>see
>>
>>http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>>
>>Something I wished we had in LC for all controls (groups included) is
>>corner radius, but is is only available for graphics objects.
>>
>>
>>set the roundRadius of grc "roundRectAngleButton" to pValue
>>
>>I'm digging in the forums for info an masks etc... but I'm out of my
>>depth here.
>>
>>I'm thinking this is probably (I hope) not that hard to implement.
>>
>>it's obviously easy enough to create a background graphic with round
>>corners, add a small field on the left site that is transparent, lock
>>that, put an image on the right side, make this a small group and give
>>the name of a target and we have a nice cool "button" but how do I get
>>the image in the right half of the group to take the rounded corners of
>>the background graphic?
>>
>>BR
>>___
>>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



___
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: LC8 DP16

2016-03-27 Thread Sannyasin Brahmanathaswami
I've been building GUI from ground zero today in LC8 dp16 and it's gets worse 
and worse the longer the session remains open. The inspector switch to 
"revFrontScriptLibrary" starts to occur more and more frequently.  Now I just 
opened the project browser and it is completely blank.

I'm having to save and restart quite frequently just to get work done... 
Currently working in test stacks because I don't want to corrupt a production 
stack while I work in this round radius corners problem.

I'm also getting some weird artifacting after setting inks on a group and 
dragging around over a stack with a black background... trails of the selection 
points (four corners) of objects are left rendered on the screen like little 
white rivers of small white squares.



On March 27, 2016 at 4:06:50 PM, Mark Wieder 
(mwie...@ahsoftware.net) wrote:

On 03/27/2016 06:42 PM, 
William Prothero wrote:
> I see similar behaviors in the IDE in DP16. It seems to forget which stack is 
> in focus and does unexpected things.

I tried using the Project Browser 
yesterday, and three times 
I deleted
the wrong object because I couldn't tell which one was actually
selected, and had to revert to backups because you can't undo that.

--
Mark Wieder
ahsoftw...@gmail.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] KickStarter - OLO 3d Printer

2016-03-27 Thread Roger Eller
I've been 3D printing "the old fashioned way" (wow that was weird to say)
since I bought my filament-based 3D printer in December.  In fact, I'm
printing now!

My concern about using a smart phone, using its screen as the light source,
is that you don't have a phone anymore.  You know, to make and receive
calls, go onto Facebook, etc.

~Roger
On Mar 27, 2016 10:01 PM, "Kay C Lan"  wrote:

> For anyone interested in 3D printing, or just a runaway KickStarter
> campaign:
>
>
> https://www.kickstarter.com/projects/olo3d/olo-the-first-ever-smartphone-3d-printer
>
> Where will technology take us tomorrow?
>
> ___
> 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


IMG resize advice wanted

2016-03-27 Thread jameshale
I current;y have an app for indexing ans searching ePub files. The focus of
the app being the ability to apply complex searches against the text of the
ePub.
That being said some ePubs have embedded images which my app can display in
situ.
At this time the on;y change I make is to ensure the image sits by itself
(i.e. There is Aline breaker both before and after the image.)
However images can be large.
Their height is of no real concern but their width is.
If their width is greater than the width of the field displaying the text
they are embedded within I need to allow horizontal scrolling. The image
could also end up being displayed in multiple text panes, something I really
want to avoid.
There has been some recent discussion about resizing images and so I thought
it was time to tackle this in my app.
When I read in an ePub I extract all resources and put the text into a
SQLite dub and the images into a separate folder.
My question is this.
What would make more sense, resize the actual image files to fit into the
desired text field without requiring scrolling or read in the existing files
and resize on the fly within LC.
The advantage of the first is that it only needs to be done once (unless the
user is constantly resizing the app).
The disadvantage is that the original image is lost. 
The advantage of the second is that nothing happens to the original image.
The disadvantage is that all the   links within the text would require
rewriting and each image would require processing each time it was needed.
After writing the above the first option looks better.

Anyway, can anyone give me a hint as to how to use LC to read in an image,
resize it and then write it out again?



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/IMG-resize-advice-wanted-tp4702682.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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Sannyasin Brahmanathaswami
Thanks for the re-assurance and, that's a relief, that its a simple solution...

Are you working in LC8 dp 16?

BUT: What's happening here is:  I'm getting some serious rendering issues. Your 
stack opens fine and I could see the lovely roundrect grc mask... then as soon 
as I touch anything we get this kind of behavior

http://wiki.hindu.org/screenshots/IDE-rendering-ssues.jpg

If I save the stack the whole effect is lost. Thinking this is a temporary 
rendering issue, I saved, quit and reboot LC

but then we get this:

http://wiki.hindu.org/screenshots/round-corner-after-save.jpg

And the group, inks etc. are all corrupted in the saved stack... at least here 
on my mac.

What version of LC are you working in?

I thought dp16 was stable enough to work in, and I want to pitch in on the beta 
testing so that LC team could get as much feedback on 16 as I could provide, 
but now I have to get real work done, so i think I need to step back from this 
bleeding edge... DP15 was actually pretty stable. What are you using?

Can anyone else test this please?  Open Scotts stack in LC8 DP16

go url "http://tactilemedia.com/download/RoundCornerSample.livecode";

then set the selectGroupedControls to True, choose the selection tool and move 
the graphic mask around...does everything stay OK?  If the problem can be 
duplicated elsewhere... I will bug it

actually I bugged it anyway

http://quality.livecode.com/show_bug.cgi?id=17247

BR





On March 27, 2016 at 4:12:58 PM, Scott Rossi 
(sc...@tactilemedia.com) wrote:

An oval is the same as a roundRect, just with larger radii. The technique
doesn't "fail" as shown in the demo stack, so yes, you may indeed be
missing something. Make sure you have the inks applied properly.



Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 6:52 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>Scott, thanks stack downloaded
>
>Fascinating technique.
>
>But your example uses an oval... but if I use graphic style "round
>rectangle" -- the technique fails -- or I am missing something.
>
>Can you try it there?
>
>tks
>
>
>On March 27, 2016 at 1:42:52 PM, Scott Rossi
>(sc...@tactilemedia.com) wrote:
>
>One way is using ink effects. In a group with the roundRect graphic
>layered above the image:
>blendSrcOver applied to the group
>blendDstIn applied to the graphic
>
>You might want to take a look at the stack provided in this article for
>ideas:
>http://tactilemedia.com/blog/2015/11/04/livecode-basics-masking-objects/
>
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 3/27/16, 3:26 PM, "use-livecode on behalf of Sannyasin
>Brahmanathaswami" bra...@hindu.org> wrote:
>
>>Our design team finished a design for a mobile app. The used rounded
>>corners everywhere.
>>
>>see
>>
>>http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>>
>>Something I wished we had in LC for all controls (groups included) is
>>corner radius, but is is only available for graphics objects.
>>
>>
>>set the roundRadius of grc "roundRectAngleButton" to pValue
>>
>>I'm digging in the forums for info an masks etc... but I'm out of my
>>depth here.
>>
>>I'm thinking this is probably (I hope) not that hard to implement.
>>
>>it's obviously easy enough to create a background graphic with round
>>corners, add a small field on the left site that is transparent, lock
>>that, put an image on the right side, make this a small group and give
>>the name of a target and we have a nice cool "button" but how do I get
>>the image in the right half of the group to take the rounded corners of
>>the background graphic?
>>
>>BR
>>___
>>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



___
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: (way OT, WAS: )Re: Delete the first entry of an array.

2016-03-27 Thread J. Landman Gay

On 3/27/2016 6:59 PM, Dr. Hawkins wrote:

I've been out-crankied!


LOL. But actually I think the final score is three out of four, so you 
are still in the running. :)


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Scott Rossi
If you have acceleratedRendering enabled, try disabling it.

Regarding your second screenshot, you're likely getting that result
because you repositioned the graphic within the group.

LC8 might be more sensitive to acceleratedRendering than previous
versions, but enabling the property in general sometimes causes
idiosyncrasies that need to be worked around.  It's possible ink effects
won't work for your situation, so you may need to resort to other methods.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 8:00 PM, "use-livecode on behalf of Sannyasin
Brahmanathaswami"  wrote:

>Thanks for the re-assurance and, that's a relief, that its a simple
>solution...
>
>Are you working in LC8 dp 16?
>
>BUT: What's happening here is:  I'm getting some serious rendering
>issues. Your stack opens fine and I could see the lovely roundrect grc
>mask... then as soon as I touch anything we get this kind of behavior
>
>http://wiki.hindu.org/screenshots/IDE-rendering-ssues.jpg
>
>If I save the stack the whole effect is lost. Thinking this is a
>temporary rendering issue, I saved, quit and reboot LC
>
>but then we get this:
>
>http://wiki.hindu.org/screenshots/round-corner-after-save.jpg
>
>And the group, inks etc. are all corrupted in the saved stack... at least
>here on my mac.
>
>What version of LC are you working in?
>
>I thought dp16 was stable enough to work in, and I want to pitch in on
>the beta testing so that LC team could get as much feedback on 16 as I
>could provide, but now I have to get real work done, so i think I need to
>step back from this bleeding edge... DP15 was actually pretty stable.
>What are you using?
>
>Can anyone else test this please?  Open Scotts stack in LC8 DP16
>
>go url "http://tactilemedia.com/download/RoundCornerSample.livecode";
>
>then set the selectGroupedControls to True, choose the selection tool and
>move the graphic mask around...does everything stay OK?  If the problem
>can be duplicated elsewhere... I will bug it
>
>actually I bugged it anyway
>
>http://quality.livecode.com/show_bug.cgi?id=17247
>
>BR
>
>
>
>
>
>On March 27, 2016 at 4:12:58 PM, Scott Rossi
>(sc...@tactilemedia.com) wrote:
>
>An oval is the same as a roundRect, just with larger radii. The technique
>doesn't "fail" as shown in the demo stack, so yes, you may indeed be
>missing something. Make sure you have the inks applied properly.
>
>
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 3/27/16, 6:52 PM, "use-livecode on behalf of Sannyasin
>Brahmanathaswami" bra...@hindu.org> wrote:
>
>>Scott, thanks stack downloaded
>>
>>Fascinating technique.
>>
>>But your example uses an oval... but if I use graphic style "round
>>rectangle" -- the technique fails -- or I am missing something.
>>
>>Can you try it there?
>>
>>tks
>>
>>
>>On March 27, 2016 at 1:42:52 PM, Scott Rossi
>>(sc...@tactilemedia.com) wrote:
>>
>>One way is using ink effects. In a group with the roundRect graphic
>>layered above the image:
>>blendSrcOver applied to the group
>>blendDstIn applied to the graphic
>>
>>You might want to take a look at the stack provided in this article for
>>ideas:
>>http://tactilemedia.com/blog/2015/11/04/livecode-basics-masking-objects/
>>
>>
>>Regards,
>>
>>Scott Rossi
>>Creative Director
>>Tactile Media, UX/UI Design
>>
>>
>>
>>
>>On 3/27/16, 3:26 PM, "use-livecode on behalf of Sannyasin
>>Brahmanathaswami" >bra...@hindu.org> wrote:
>>
>>>Our design team finished a design for a mobile app. The used rounded
>>>corners everywhere.
>>>
>>>see
>>>
>>>http://wiki.hindu.org/screenshots/radius-all-corners.jpg
>>>
>>>Something I wished we had in LC for all controls (groups included) is
>>>corner radius, but is is only available for graphics objects.
>>>
>>>
>>>set the roundRadius of grc "roundRectAngleButton" to pValue
>>>
>>>I'm digging in the forums for info an masks etc... but I'm out of my
>>>depth here.
>>>
>>>I'm thinking this is probably (I hope) not that hard to implement.
>>>
>>>it's obviously easy enough to create a background graphic with round
>>>corners, add a small field on the left site that is transparent, lock
>>>that, put an image on the right side, make this a small group and give
>>>the name of a target and we have a nice cool "button" but how do I get
>>>the image in the right half of the group to take the rounded corners of
>>>the background graphic?
>>>
>>>BR
>>>___
>>>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/

Re: [OT] KickStarter - OLO 3d Printer

2016-03-27 Thread Kay C Lan
On Mon, Mar 28, 2016 at 10:07 AM, Mark Wieder  wrote:
>
> I ordered mine in the first half-hour after it went live.
>
Well you could have shared that,... or did I miss the email. All the
cheap pledges have long since gone... although seriously, the price to
cool ratio is still way awesome and I think my CFO would have pledged
the same amount anyway :-)

And just think, someone's sure to come up with an update to the print
software so that when their's an incoming call it auto responds:
"Sorry Roger isn't able to answer the phone right now as his phone is
busy printing a 3D image of a Hungarian Horntail which he desperately
needs for his next D&D adventure". ;-)

___
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: LC8 DP16

2016-03-27 Thread Mark Wieder

On 03/27/2016 07:33 PM, Sannyasin Brahmanathaswami wrote:

I've been building GUI from ground zero today in LC8 dp16 and it's gets worse and worse 
the longer the session remains open. The inspector switch to 
"revFrontScriptLibrary" starts to occur more and more frequently.  Now I just 
opened the project browser and it is completely blank.

I'm having to save and restart quite frequently just to get work done... 
Currently working in test stacks because I don't want to corrupt a production 
stack while I work in this round radius corners problem.


That seems to be the only way to get out of trouble. I only use LC8 for 
stacks I don't really care about, so when things crash I just go on to 
something else.



I'm also getting some weird artifacting after setting inks on a group and 
dragging around over a stack with a black background... trails of the selection 
points (four corners) of objects are left rendered on the screen like little 
white rivers of small white squares.


Yeah, I just try to ignore the artifacts.

--
 Mark Wieder
 ahsoftw...@gmail.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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread J. Landman Gay

On 3/27/2016 5:26 PM, Sannyasin Brahmanathaswami wrote:


I'm thinking this is probably (I hope)  not that hard to implement.

it's obviously easy enough to create a background graphic with round
corners, add a small field on the left site that is transparent, lock
that, put an image on the right side, make this a small group and
give the name of a target and we have a nice cool "button" but how do
I get the image in the right half of the group to take the rounded
corners of the background graphic?



I could reproduce it this way:

Have your designer create the entire content of the image area, 
including the beige left-side label area, but without any text. Import 
the image.


Make a button the same dimensions as the image. Set the button 
properties to:


Showborder: false
Opaque: true
Backpattern: the ID of the image
Margins: 4,4,250,4
Textsize: 28
Label: set it in the msg box or script:
   set the label of btn x to "Three" &cr& "Line" &cr& "Label"

You can't type in a multi-line label in the inspector, but you can set 
one via script.


This gives you a regular button that you can attach a script to normally.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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] KickStarter - OLO 3d Printer

2016-03-27 Thread Mark Wieder

On 03/27/2016 08:21 PM, Kay C Lan wrote:

On Mon, Mar 28, 2016 at 10:07 AM, Mark Wieder  wrote:


I ordered mine in the first half-hour after it went live.


Well you could have shared that,... or did I miss the email. All the
cheap pledges have long since gone... although seriously, the price to
cool ratio is still way awesome and I think my CFO would have pledged
the same amount anyway :-)


OLO sent out pre-announcement emails Saturday night to those of us who 
had expressed interest a while back. They were about 45 minutes late in 
bringing the KS page live, so I was busy reloading the page.


...and I completely missed the fact that there were a couple hundred $99 
dual printer sets being offered as an easter egg.


--
 Mark Wieder
 ahsoftw...@gmail.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: IMG resize advice wanted

2016-03-27 Thread Scott Rossi
Can you use referenced images and lock their widths to the width of your
field/s?

I believe others on the list have mentioned system-level tools that can be
used for image processing, but if you want to resize within LC, the
"traditional" method is to scale the image and set the imageData of the
resized image to itself.  Alternatively, you might be able to scale the
image and export a snapshot of the image to itself.

(And while we're at it, someone should really add the word "heidth" to the
English language because "height" doesn't really go with "width".)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 7:11 PM, "use-livecode on behalf of jameshale"

wrote:

>I current;y have an app for indexing ans searching ePub files. The focus
>of
>the app being the ability to apply complex searches against the text of
>the
>ePub.
>That being said some ePubs have embedded images which my app can display
>in
>situ.
>At this time the on;y change I make is to ensure the image sits by itself
>(i.e. There is Aline breaker both before and after the image.)
>However images can be large.
>Their height is of no real concern but their width is.
>If their width is greater than the width of the field displaying the text
>they are embedded within I need to allow horizontal scrolling. The image
>could also end up being displayed in multiple text panes, something I
>really
>want to avoid.
>There has been some recent discussion about resizing images and so I
>thought
>it was time to tackle this in my app.
>When I read in an ePub I extract all resources and put the text into a
>SQLite dub and the images into a separate folder.
>My question is this.
>What would make more sense, resize the actual image files to fit into the
>desired text field without requiring scrolling or read in the existing
>files
>and resize on the fly within LC.
>The advantage of the first is that it only needs to be done once (unless
>the
>user is constantly resizing the app).
>The disadvantage is that the original image is lost.
>The advantage of the second is that nothing happens to the original image.
>The disadvantage is that all the   links within the text would require
>rewriting and each image would require processing each time it was needed.
>After writing the above the first option looks better.
>
>Anyway, can anyone give me a hint as to how to use LC to read in an image,
>resize it and then write it out again?
>
>
>
>--
>View this message in context:
>http://runtime-revolution.278305.n4.nabble.com/IMG-resize-advice-wanted-tp
>4702682.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



___
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: IMG resize advice wanted

2016-03-27 Thread Mark Wieder

On 03/27/2016 08:52 PM, Scott Rossi wrote:


(And while we're at it, someone should really add the word "heidth" to the
English language because "height" doesn't really go with "width".)


I've been told repeatedly to stay away from synonyms, so I'm staying far 
away from that .


Besides, maybe we should just rename "width"... "height" goes just fine 
with "weight".


--
 Mark Wieder
 ahsoftw...@gmail.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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Alejandro Tejada
Hi,

Could a bitmap mask (alphadata) work for this?

>From the archives 2008 and 2011, 
http://lists.runrev.com/pipermail/use-livecode/2008-November/117324.html
http://lists.runrev.com/pipermail/use-livecode/2011-December/165123.html

http://www.sanke.org/Software/MoreAboutMasks.zip

Back in the old days, I published this stack:
http://andregarzia.on-rev.com/alejandro/stacks/mask_bitmap02.zip



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Design-Challenge-Round-Corner-mask-on-images-tp4702659p4702692.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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Scott Rossi
Jacque's backPattern idea is an option purely for masking images as well,
though you're more limited using that option.  The image and graphic need
to be the same height, and you need to have "extra" image on the left side
so you can crop off the rounded corners on the left.

The advantage of that option is you probably won't get any rendering
artifacts with acceleratedRendering enabled (no ink effects needed).  The
disadvantage is the image needs to be fit precisely to the masking
graphic, while in a group with ink effects, you have more flexibility in
placing/sizing the image.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 8:38 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:

>On 3/27/2016 5:26 PM, Sannyasin Brahmanathaswami wrote:
>
>> I'm thinking this is probably (I hope)  not that hard to implement.
>>
>> it's obviously easy enough to create a background graphic with round
>> corners, add a small field on the left site that is transparent, lock
>> that, put an image on the right side, make this a small group and
>> give the name of a target and we have a nice cool "button" but how do
>> I get the image in the right half of the group to take the rounded
>> corners of the background graphic?
>>
>
>I could reproduce it this way:
>
>Have your designer create the entire content of the image area,
>including the beige left-side label area, but without any text. Import
>the image.
>
>Make a button the same dimensions as the image. Set the button
>properties to:
>
>Showborder: false
>Opaque: true
>Backpattern: the ID of the image
>Margins: 4,4,250,4
>Textsize: 28
>Label: set it in the msg box or script:
>set the label of btn x to "Three" &cr& "Line" &cr& "Label"
>
>You can't type in a multi-line label in the inspector, but you can set
>one via script.
>
>This gives you a regular button that you can attach a script to normally.
>
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] KickStarter - OLO 3d Printer

2016-03-27 Thread Kay C Lan
On Mon, Mar 28, 2016 at 11:51 AM, Mark Wieder  wrote:
> ...and I completely missed the fact that there were a couple hundred $99
> dual printer sets being offered as an easter egg.
>
Not only that, I've since read that as a lead up to the KickStarter
Solido3D ran a competition where the winners were going to get a OLO,
but in the end, with only 100 entrants, Pietro and Filippo decided to
give all 100 entrants an OLO!

___
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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread J. Landman Gay
My method doesn't use a graphic at all. The button itself just uses the 
image as a backpattern.


I'll leave my test stack here for a while:


On 3/27/2016 11:03 PM, Scott Rossi wrote:

Jacque's backPattern idea is an option purely for masking images as well,
though you're more limited using that option.  The image and graphic need
to be the same height, and you need to have "extra" image on the left side
so you can crop off the rounded corners on the left.

The advantage of that option is you probably won't get any rendering
artifacts with acceleratedRendering enabled (no ink effects needed).  The
disadvantage is the image needs to be fit precisely to the masking
graphic, while in a group with ink effects, you have more flexibility in
placing/sizing the image.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 8:38 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:


On 3/27/2016 5:26 PM, Sannyasin Brahmanathaswami wrote:


I'm thinking this is probably (I hope)  not that hard to implement.

it's obviously easy enough to create a background graphic with round
corners, add a small field on the left site that is transparent, lock
that, put an image on the right side, make this a small group and
give the name of a target and we have a nice cool "button" but how do
I get the image in the right half of the group to take the rounded
corners of the background graphic?



I could reproduce it this way:

Have your designer create the entire content of the image area,
including the beige left-side label area, but without any text. Import
the image.

Make a button the same dimensions as the image. Set the button
properties to:

Showborder: false
Opaque: true
Backpattern: the ID of the image
Margins: 4,4,250,4
Textsize: 28
Label: set it in the msg box or script:
set the label of btn x to "Three" &cr& "Line" &cr& "Label"

You can't type in a multi-line label in the inspector, but you can set
one via script.

This gives you a regular button that you can attach a script to normally.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: IMG resize advice wanted

2016-03-27 Thread Scott Rossi
Weight a minute...

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 8:57 PM, "use-livecode on behalf of Mark Wieder"
 wrote:

>On 03/27/2016 08:52 PM, Scott Rossi wrote:
>
>> (And while we're at it, someone should really add the word "heidth" to
>>the
>> English language because "height" doesn't really go with "width".)
>
>I've been told repeatedly to stay away from synonyms, so I'm staying far
>away from that .
>
>Besides, maybe we should just rename "width"... "height" goes just fine
>with "weight".
>
>-- 
>  Mark Wieder
>  ahsoftw...@gmail.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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread J. Landman Gay
Addendum: I forgot to make the background around the image transparent. 
You'd need to do that.


On 3/27/2016 11:25 PM, J. Landman Gay wrote:

My method doesn't use a graphic at all. The button itself just uses the
image as a backpattern.

I'll leave my test stack here for a while:



On 3/27/2016 11:03 PM, Scott Rossi wrote:

Jacque's backPattern idea is an option purely for masking images as well,
though you're more limited using that option.  The image and graphic need
to be the same height, and you need to have "extra" image on the left
side
so you can crop off the rounded corners on the left.

The advantage of that option is you probably won't get any rendering
artifacts with acceleratedRendering enabled (no ink effects needed).  The
disadvantage is the image needs to be fit precisely to the masking
graphic, while in a group with ink effects, you have more flexibility in
placing/sizing the image.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 8:38 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:


On 3/27/2016 5:26 PM, Sannyasin Brahmanathaswami wrote:


I'm thinking this is probably (I hope)  not that hard to implement.

it's obviously easy enough to create a background graphic with round
corners, add a small field on the left site that is transparent, lock
that, put an image on the right side, make this a small group and
give the name of a target and we have a nice cool "button" but how do
I get the image in the right half of the group to take the rounded
corners of the background graphic?



I could reproduce it this way:

Have your designer create the entire content of the image area,
including the beige left-side label area, but without any text. Import
the image.

Make a button the same dimensions as the image. Set the button
properties to:

Showborder: false
Opaque: true
Backpattern: the ID of the image
Margins: 4,4,250,4
Textsize: 28
Label: set it in the msg box or script:
set the label of btn x to "Three" &cr& "Line" &cr& "Label"

You can't type in a multi-line label in the inspector, but you can set
one via script.

This gives you a regular button that you can attach a script to
normally.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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







--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Scott Rossi
Oh, I understand -- I'm just saying a graphic + backPattern may be a good
option because you have control over the shape (the roundRadius of the
corners be changed), the radius will auto-scale across different screen
sizes, and you don't have to pre-process all the images with rounded
corners.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 3/27/16, 9:25 PM, "use-livecode on behalf of J. Landman Gay"
 wrote:

>My method doesn't use a graphic at all. The button itself just uses the
>image as a backpattern.
>
>I'll leave my test stack here for a while:
>vecode?dl=0>
>
>On 3/27/2016 11:03 PM, Scott Rossi wrote:
>> Jacque's backPattern idea is an option purely for masking images as
>>well,
>> though you're more limited using that option.  The image and graphic
>>need
>> to be the same height, and you need to have "extra" image on the left
>>side
>> so you can crop off the rounded corners on the left.
>>
>> The advantage of that option is you probably won't get any rendering
>> artifacts with acceleratedRendering enabled (no ink effects needed).
>>The
>> disadvantage is the image needs to be fit precisely to the masking
>> graphic, while in a group with ink effects, you have more flexibility in
>> placing/sizing the image.
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>>
>>
>>
>>
>> On 3/27/16, 8:38 PM, "use-livecode on behalf of J. Landman Gay"
>> > jac...@hyperactivesw.com> wrote:
>>
>>> On 3/27/2016 5:26 PM, Sannyasin Brahmanathaswami wrote:
>>>
 I'm thinking this is probably (I hope)  not that hard to implement.

 it's obviously easy enough to create a background graphic with round
 corners, add a small field on the left site that is transparent, lock
 that, put an image on the right side, make this a small group and
 give the name of a target and we have a nice cool "button" but how do
 I get the image in the right half of the group to take the rounded
 corners of the background graphic?

>>>
>>> I could reproduce it this way:
>>>
>>> Have your designer create the entire content of the image area,
>>> including the beige left-side label area, but without any text. Import
>>> the image.
>>>
>>> Make a button the same dimensions as the image. Set the button
>>> properties to:
>>>
>>> Showborder: false
>>> Opaque: true
>>> Backpattern: the ID of the image
>>> Margins: 4,4,250,4
>>> Textsize: 28
>>> Label: set it in the msg box or script:
>>> set the label of btn x to "Three" &cr& "Line" &cr& "Label"
>>>
>>> You can't type in a multi-line label in the inspector, but you can set
>>> one via script.
>>>
>>> This gives you a regular button that you can attach a script to
>>>normally.
>>>
>>> --
>>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>>> HyperActive Software   | http://www.hyperactivesw.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
>>
>
>
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.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: Design Challenge -- Round Corner mask on images

2016-03-27 Thread Sannyasin Brahmanathaswami
The "mess" you saw in the screen shots was present immediately after

a) starting LC
b) downloading your stack
c) acclerated rendering is false for this stack
d) Mask looks perfect
d) choose pointer tool
e) start moving objects
f) inks are "wrecked" and artifacts appear on screen
g) masking effect is gone
h) save, close, quit restart
i) open the stack again.
j) the graphic and the group have the inks applied
g) no masking effect though




On March 27, 2016 at 5:16:41 PM, Scott Rossi 
(sc...@tactilemedia.com) wrote:

If you have acceleratedRendering enabled, try disabling it.

Regarding your second screenshot, you're likely getting that result
because you repositioned the graphic within the group.

LC8 might be more sensitive to acceleratedRendering than previous
versions, but enabling the property in general sometimes causes
idiosyncrasies that need to be worked around. It's possible ink effects
won't work for your situation, so you may need to resort to other methods.
___
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