[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: lua-l Digest, Vol 25, Issue 25
From: Rajendra Pondel <neostar20 () gmail ! com>
Date: 2012-08-23 15:57:00
Message-ID: CANiFVmmDL0z=0YrGCU9WU0LD_OODE6HJN+OKF0QLajjg95zpkg () mail ! gmail ! com
[Download RAW message or body]
Hi Schreijer,
as per your request, i have updated the licensing of the code, you can
check it out at http://developer.coronalabs.com/code/bezier-curve-corona-sdk
You can use, modify, redistribute if you keep the copyright notice intact.
Regards,
Rajendra Pondel
On Thu, Aug 23, 2012 at 4:30 PM, <lua-l-request@lists.lua.org> wrote:
> Send lua-l mailing list submissions to
> lua-l@lists.lua.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/lua-l-lists.lua.org
>
> or, via email, send a message with subject or body 'help' to
> lua-l-request@lists.lua.org
>
> You can reach the person managing the list at
> lua-l-owner@lists.lua.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lua-l digest..."
>
>
> Today's Topics:
>
> 1. Re: Bezier Curve for Corona SDK (Thijs Schreijer)
> 2. Change value of upvalue from within function (Eric Tetz)
> 3. Re: Change value of upvalue from within function (Alex Queiroz)
> 4. Re: Change value of upvalue from within function (Rob Hoelz)
> 5. Apology for slowness of list this week (Daniel Silverstone)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 22 Aug 2012 23:03:59 +0200
> From: "Thijs Schreijer" <thijs@thijsschreijer.nl>
> Subject: Re: Bezier Curve for Corona SDK
> To: "Lua mailing list" <lua-l@lists.lua.org>
> Message-ID:
> <ed8a7bbfd55aba9b2d340b87776acf63.squirrel@www.ellenkuipers.nl>
> Content-Type: text/plain;charset=iso-8859-1
>
> > I have created a Bezier Curve function which accepts unlimited number of
> > control points, which allows you do get any type of curve you dreamed of.
> >
> > You can check it out at
> > http://developer.coronalabs.com/code/bezier-curve-corona-sdk
> >
>
> Nice, but Your post lacks the license you have for your code. Is it MIT?
> Could you please add it? Makes it easier to reuse your code.
>
> Thijs.
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 22 Aug 2012 15:52:12 -0600
> From: Eric Tetz <erictetz@gmail.com>
> Subject: Change value of upvalue from within function
> To: Lua mailing list <lua-l@lists.lua.org>
> Message-ID:
> <CADqrHeUmqy9sadQTpbcrAY0UhLOT9mapikTsKsLE=
> UcvqSuvCg@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> If I have a C function called by Lua. It has an upvalue and I'd like
> to change it's value. Possible?
>
> static int closure_that_has_upvalues( lua_State* L )
> {
> ...
> // how can I change the value of, say, the upvalue at
> lua_upvalueindex(1)?
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 22 Aug 2012 23:54:18 +0200
> From: Alex Queiroz <asandroq@gmail.com>
> Subject: Re: Change value of upvalue from within function
> To: Lua mailing list <lua-l@lists.lua.org>
> Message-ID:
> <
> CABpjPcLm_HFfn6HRHrH3zNyLqWROAXYgJsGikczvzCfzWjOesA@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hallo,
>
> On Wed, Aug 22, 2012 at 11:52 PM, Eric Tetz <erictetz@gmail.com> wrote:
> > If I have a C function called by Lua. It has an upvalue and I'd like
> > to change it's value. Possible?
> >
>
> Box the actual value inside a table and then set the table as the upvalue.
>
> --
> -alex
> http://www.artisancoder.com/
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 22 Aug 2012 23:56:20 +0200
> From: Rob Hoelz <rob@hoelz.ro>
> Subject: Re: Change value of upvalue from within function
> To: lua-l@lists.lua.org
> Message-ID: <20120822235620.7917ca72@hoelz.ro>
> Content-Type: text/plain; charset="us-ascii"
>
> An upvalue index is just like a regular stack index, so you can use
> lua_replace with it:
>
> lua_newtable(L);
> lua_replace(L, lua_upvalueindex(1));
>
> -Rob
>
> On Wed, 22 Aug 2012 15:52:12 -0600
> Eric Tetz <erictetz@gmail.com> wrote:
>
> > If I have a C function called by Lua. It has an upvalue and I'd like
> > to change it's value. Possible?
> >
> > static int closure_that_has_upvalues( lua_State* L )
> > {
> > ...
> > // how can I change the value of, say, the upvalue at
> > lua_upvalueindex(1)?
> >
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 198 bytes
> Desc: not available
> Url :
> http://vlists.pepperfish.net/cgi-bin/mailman/private/lua-l-lists.lua.org/attachments/20120822/fe9cf01d/signature-0001.pgp
>
> ------------------------------
>
> Message: 5
> Date: Thu, 23 Aug 2012 11:08:59 +0100
> From: Daniel Silverstone <dsilvers@digital-scurf.org>
> Subject: Apology for slowness of list this week
> To: Lua mailing list <lua-l@lists.lua.org>
> Message-ID: <20120823100859.GM29334@somnambulist.local>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I should apologise for the slowness of lua-l this week. Starting Monday, a
> botnet was using a cracked password of one of my users' mail accounts to
> send
> vast quantities of spam through Pepperfish.
>
> Fortunately the checks and balances I have in place stopped the outgoing
> queue
> pretty quickly; but I still had to deal with incoming mails at the rate of
> 10
> to 40 per second, and combine that with the huge queue which took ages to
> clear
> down, it slowed lua-l for probably the majority of Monday and a bit of
> Tuesday
> until it was all clear.
>
> I have now reached the point that I'm confident that it's not recurring
> and so
> I thought I'd best let everyone know so they don't worry about it.
>
> Thanks,
>
> Daniel.
>
> --
> Daniel Silverstone http://www.digital-scurf.org/
> PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69
>
>
>
> ------------------------------
>
> _______________________________________________
> lua-l mailing list
> lua-l@lists.lua.org
> http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/lua-l-lists.lua.org
>
>
> End of lua-l Digest, Vol 25, Issue 25
> *************************************
>
[Attachment #3 (text/html)]
Hi Schreijer,<br><br>as per your request, i have updated the licensing of the code, \
you can check it out at <a \
href="http://developer.coronalabs.com/code/bezier-curve-corona-sdk">http://developer.coronalabs.com/code/bezier-curve-corona-sdk</a><br>
<br>You can use, modify, redistribute if you keep the copyright notice \
intact.<br><br>Regards,<br>Rajendra Pondel<br> <br><br><div class="gmail_quote">On \
Thu, Aug 23, 2012 at 4:30 PM, <span dir="ltr"><<a \
href="mailto:lua-l-request@lists.lua.org" \
target="_blank">lua-l-request@lists.lua.org</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Send lua-l mailing list submissions to<br> <a \
href="mailto:lua-l@lists.lua.org">lua-l@lists.lua.org</a><br> <br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/lua-l-lists.lua.org" \
target="_blank">http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/lua-l-lists.lua.org</a><br>
<br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:lua-l-request@lists.lua.org">lua-l-request@lists.lua.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:lua-l-owner@lists.lua.org">lua-l-owner@lists.lua.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of lua-l digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Bezier Curve for Corona SDK (Thijs Schreijer)<br>
2. Change value of upvalue from within function (Eric Tetz)<br>
3. Re: Change value of upvalue from within function (Alex Queiroz)<br>
4. Re: Change value of upvalue from within function (Rob Hoelz)<br>
5. Apology for slowness of list this week (Daniel Silverstone)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 22 Aug 2012 23:03:59 +0200<br>
From: "Thijs Schreijer" <<a \
href="mailto:thijs@thijsschreijer.nl">thijs@thijsschreijer.nl</a>><br>
Subject: Re: Bezier Curve for Corona SDK<br>
To: "Lua mailing list" <<a \
href="mailto:lua-l@lists.lua.org">lua-l@lists.lua.org</a>><br> Message-ID:<br>
<<a href="mailto:ed8a7bbfd55aba9b2d340b87776acf63.squirrel@www.ellenkuipers.nl">ed8a7bbfd55aba9b2d340b87776acf63.squirrel@www.ellenkuipers.nl</a>><br>
Content-Type: text/plain;charset=iso-8859-1<br>
<br>
> I have created a Bezier Curve function which accepts unlimited number of<br>
> control points, which allows you do get any type of curve you dreamed of.<br>
><br>
> You can check it out at<br>
> <a href="http://developer.coronalabs.com/code/bezier-curve-corona-sdk" \
target="_blank">http://developer.coronalabs.com/code/bezier-curve-corona-sdk</a><br> \
><br> <br>
Nice, but Your post lacks the license you have for your code. Is it MIT?<br>
Could you please add it? Makes it easier to reuse your code.<br>
<br>
Thijs.<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 22 Aug 2012 15:52:12 -0600<br>
From: Eric Tetz <<a \
href="mailto:erictetz@gmail.com">erictetz@gmail.com</a>><br>
Subject: Change value of upvalue from within function<br>
To: Lua mailing list <<a \
href="mailto:lua-l@lists.lua.org">lua-l@lists.lua.org</a>><br> Message-ID:<br>
<CADqrHeUmqy9sadQTpbcrAY0UhLOT9mapikTsKsLE=<a \
href="mailto:UcvqSuvCg@mail.gmail.com">UcvqSuvCg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
If I have a C function called by Lua. It has an upvalue and I'd like<br>
to change it's value. Possible?<br>
<br>
static int closure_that_has_upvalues( lua_State* L )<br>
{<br>
...<br>
// how can I change the value of, say, the upvalue at<br>
lua_upvalueindex(1)?<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 22 Aug 2012 23:54:18 +0200<br>
From: Alex Queiroz <<a \
href="mailto:asandroq@gmail.com">asandroq@gmail.com</a>><br>
Subject: Re: Change value of upvalue from within function<br>
To: Lua mailing list <<a \
href="mailto:lua-l@lists.lua.org">lua-l@lists.lua.org</a>><br> Message-ID:<br>
<<a href="mailto:CABpjPcLm_HFfn6HRHrH3zNyLqWROAXYgJsGikczvzCfzWjOesA@mail.g \
mail.com">CABpjPcLm_HFfn6HRHrH3zNyLqWROAXYgJsGikczvzCfzWjOesA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Hallo,<br>
<br>
On Wed, Aug 22, 2012 at 11:52 PM, Eric Tetz <<a \
href="mailto:erictetz@gmail.com">erictetz@gmail.com</a>> wrote:<br> > If I have \
a C function called by Lua. It has an upvalue and I'd like<br> > to change \
it's value. Possible?<br> ><br>
<br>
Box the actual value inside a table and then set the table as the upvalue.<br>
<br>
--<br>
-alex<br>
<a href="http://www.artisancoder.com/" \
target="_blank">http://www.artisancoder.com/</a><br> <br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 22 Aug 2012 23:56:20 +0200<br>
From: Rob Hoelz <<a href="mailto:rob@hoelz.ro">rob@hoelz.ro</a>><br>
Subject: Re: Change value of upvalue from within function<br>
To: <a href="mailto:lua-l@lists.lua.org">lua-l@lists.lua.org</a><br>
Message-ID: <<a href="mailto:20120822235620.7917ca72@hoelz.ro">20120822235620.7917ca72@hoelz.ro</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
An upvalue index is just like a regular stack index, so you can use<br>
lua_replace with it:<br>
<br>
lua_newtable(L);<br>
lua_replace(L, lua_upvalueindex(1));<br>
<br>
-Rob<br>
<br>
On Wed, 22 Aug 2012 15:52:12 -0600<br>
Eric Tetz <<a href="mailto:erictetz@gmail.com">erictetz@gmail.com</a>> \
wrote:<br> <br>
> If I have a C function called by Lua. It has an upvalue and I'd like<br>
> to change it's value. Possible?<br>
><br>
> static int closure_that_has_upvalues( lua_State* L )<br>
> {<br>
> ...<br>
> // how can I change the value of, say, the upvalue at<br>
> lua_upvalueindex(1)?<br>
><br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: signature.asc<br>
Type: application/pgp-signature<br>
Size: 198 bytes<br>
Desc: not available<br>
Url : <a href="http://vlists.pepperfish.net/cgi-bin/mailman/private/lua-l-lists.lua.org/attachments/20120822/fe9cf01d/signature-0001.pgp" \
target="_blank">http://vlists.pepperfish.net/cgi-bin/mailman/private/lua-l-lists.lua.org/attachments/20120822/fe9cf01d/signature-0001.pgp</a><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Thu, 23 Aug 2012 11:08:59 +0100<br>
From: Daniel Silverstone <<a \
href="mailto:dsilvers@digital-scurf.org">dsilvers@digital-scurf.org</a>><br>
Subject: Apology for slowness of list this week<br>
To: Lua mailing list <<a \
href="mailto:lua-l@lists.lua.org">lua-l@lists.lua.org</a>><br>
Message-ID: <20120823100859.GM29334@somnambulist.local><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi,<br>
<br>
I should apologise for the slowness of lua-l this week. Starting Monday, a<br>
botnet was using a cracked password of one of my users' mail accounts to send<br>
vast quantities of spam through Pepperfish.<br>
<br>
Fortunately the checks and balances I have in place stopped the outgoing queue<br>
pretty quickly; but I still had to deal with incoming mails at the rate of 10<br>
to 40 per second, and combine that with the huge queue which took ages to clear<br>
down, it slowed lua-l for probably the majority of Monday and a bit of Tuesday<br>
until it was all clear.<br>
<br>
I have now reached the point that I'm confident that it's not recurring and \
so<br> I thought I'd best let everyone know so they don't worry about it.<br>
<br>
Thanks,<br>
<br>
Daniel.<br>
<br>
--<br>
Daniel Silverstone <a href="http://www.digital-scurf.org/" \
target="_blank">http://www.digital-scurf.org/</a><br> PGP mail accepted and \
encouraged. Key Id: 3CCE BABE 206C 3B69<br> <br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
lua-l mailing list<br>
<a href="mailto:lua-l@lists.lua.org">lua-l@lists.lua.org</a><br>
<a href="http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/lua-l-lists.lua.org" \
target="_blank">http://vlists.pepperfish.net/cgi-bin/mailman/listinfo/lua-l-lists.lua.org</a><br>
<br>
<br>
End of lua-l Digest, Vol 25, Issue 25<br>
*************************************<br>
</blockquote></div><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic