Difference between revisions of "Talk:LSL Portal To-do"

From Second Life Wiki
Jump to navigation Jump to search
 
 
(27 intermediate revisions by 9 users not shown)
Line 1: Line 1:
:Is that necessary?  This is a wiki after all, the entire point is to just pick up something that needs to be done and do it, whenever the mood strikes. [[User:Gigs Taggart|Gigs Taggart]] 09:37, 25 January 2007 (PST)
<div style="float:right">__TOC__</div>
: Well, I know I'd be pretty miffed if I worked for hours on a function page, only to find out someone else already did it. It would be courteous to let others know whats being worked on to prevent duplicate efforts. [[User:Darien Caldwell|Darien Caldwell]] 10:11, 25 January 2007 (PST)
Removed old conversations. See: [https://wiki.secondlife.com/w/index.php?title=Talk:LSL_Portal_To-do&oldid=14812 https://wiki.secondlife.com/w/index.php?title=Talk:LSL_Portal_To-do&oldid=14812]
:: ...which is why you work on the page incrementally.  I strongly suggest working on only the lede of the article and then just posting it, with all the other sections blank.  Then edit each section individually to avoid edit conflicts like the kind you describe, and save it between every paragraph. (Don't worry, as far as I know, this does not waste disk space because of the way the wiki stores pages in the history.)
== Pointless ==
:: Besides, it is ''far'' too early to start working on the articles yet - the layout hasn't been agreed upon. For example, we need to construct an infobox for all the stats being added willy-nilly right now, like Energy cost and Sleep. At the very least, things need to be templatized so that we can flag articles as missing data or broken whenever we do something that ends up requiring changes or additions in all the other articles.  It'll get very very difficult to reformat things as more articles are created, especially if there's no way to keep track of progress.
:: I'm going to remove the table for now, but feel free to replace it if you have some other reason to want it.  (It's still in the history.) [[User:Celierra Darling|Celierra Darling]] 11:35, 25 January 2007 (PST)
:: One more thing: the table is currently split up on a bunch of other pages (most notably [[:Category:LSL Functions]], so there's no need for a huge to-do list here.  Just follow the red links.  If you'd rather look at the old list (just as a creation checklist, not as an "assignment" table!), see https://wiki.secondlife.com/w/index.php?title=LSL_Portal_To-do&oldid=6209 - I just wouldn't want to see pages start being "assigned" or even "claimed", since that can give people a very wrong idea. [[User:Celierra Darling|Celierra Darling]] 11:44, 25 January 2007 (PST)


(''table was removed'' - see https://wiki.secondlife.com/w/index.php?title=LSL_Portal_To-do&oldid=6209 to look at it)
This page is hopelessly out of date, I think if we want to keep it, it should be blanked and restarted with relevant information.  [[User:Gigs Taggart|Gigs Taggart]] 13:08, 4 March 2007 (PST)


: agreed it's a bit early to start working on articles, but the perfect time to iron these kinds of issues out. As long as I'm able to determine what's needed and what's already done, i'm happy :) [[User:Darien Caldwell|Darien Caldwell]] 12:18, 25 January 2007 (PST)
:I agree --[[User:Anthony Reisman|Anthony Reisman]] 15:11, 5 March 2007 (PST)
 
:I'm more into doing work then talking about doing it. I've not used the page for anything other then to tell everyone what works needs to be done. [[User:Strife Onizuka|Strife Onizuka]] 21:00, 5 March 2007 (PST)
 
== LSL Color-coding like wakka wiki? ==
 
Should I add this to the to do list? [[User:Ina Centaur|Ina Centaur]] 02:29, 15 March 2007 (PDT)
:That is something LL needs to do. -- [[User:Strife Onizuka|Strife Onizuka]] 02:41, 15 March 2007 (PDT)
::There is a GeSHi plugin for Media Wiki, and I could modify GeSHi's PHP syntax file to fit LSL with fairly little effort, but yes, LL still needs to do the actual additions. --[[User:Meyermagic Salome|Meyermagic Salome]] 17:56, 14 April 2007 (PDT)
::Yes, I heard about the various color-coding addons for MediaWiki at HD in the last WikiMania. Amazed none has been implemented yet.. ([[User:Ina Centaur|Ina Centaur]] 16:37, 1 May 2007 (PDT))
:::It's been a while since anyone has put pressure on LL to implement this. Considering the current climate I wouldn't press this issue (they have enough thing on their plate). -- [[User:Strife Onizuka|Strife Onizuka]] 17:38, 1 May 2007 (PDT)
 
== need for https(?) ==
 
Is there actually a need for the https protocol to be used on this wiki? (Not even wikipedia, MediaWiki's flagship implementation, uses https...) ([[User:Ina Centaur|Ina Centaur]] 16:35, 1 May 2007 (PDT))
 
:You should ask this question again on [[Talk:Main_Page]] it doesn't belong on this page. -- [[User:Strife Onizuka|Strife Onizuka]] 17:36, 1 May 2007 (PDT)
 
== LSL Wish List ==
 
Tanya prays to the code-gods and rubs her little 6-bit lamp...
<ul>
<li> a <b>switch</b> for casing
<li> ability to call a function from a list of string variable names
</ul>
 
<lsl>
 
func(integer x) {
    switch(x) {
        case 0:
          llSay(0,"Borked");
          break;
        case 1:
          llSay(0,"Grid");
          break;
        case 2:
          llSay(0,"Foobar");
          break;
      default:
          llSay(0,"Unknown");
          break;
    }
}
 
</lsl>
<p>
<lsl>
 
list func_list=["do_this","do_that","do_whatever"];
 
do_this(list params) {
  llSay(0,"Doing this.");
  if (llList2String(params,0)=="param") llOwnSay("hoorah");
 
do_that(list params) {
  llSay(0,"Doing that.");
 
do_whatever(list params) {
  llSay(0,"Fooing bar.");
 
 
default {
 
  state_entry() {
    llListCall(func_list,0,["param","params","others"]);
 
  }
 
}
</lsl>
 
----[[User:Tanya Avon|Tanya Avon]] 16:12, 10 September 2012 (PDT)
 
:Switch statement is doable without a large amount of work. "eval" like function would be a huge amount of work. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 21:28, 10 September 2012 (PDT)
 
::Could you give an example? Right now... if i have over 100 various menu options to parse, i typically do something like this....
<lsl>
if (var!=0) {
    if (var!=1) {
        if (var!=2) {
            if (var!=3) {
                llOwnerSay("Error: var:"+(string)var+" "+llGetScriptName());
            } else pick_nose();
        } else play_tunes();
    } else send_card();
} else init_foo();
 
</lsl>
with only 3 or 4 cases, its not a big deal, but seriously, i do have scripts that have
well over 100 cases to parse. It costs me an entire script to do that and it will utilize
link messages to handle all the menu options.  A good <b>switch</b> block internally could save a lot of memory using a hash/call at low level. ----[[User:Tanya Avon|Tanya Avon]] 13:53, 11 September 2012 (PDT)

Latest revision as of 17:46, 11 September 2012

Removed old conversations. See: https://wiki.secondlife.com/w/index.php?title=Talk:LSL_Portal_To-do&oldid=14812

Pointless

This page is hopelessly out of date, I think if we want to keep it, it should be blanked and restarted with relevant information. Gigs Taggart 13:08, 4 March 2007 (PST)

I agree --Anthony Reisman 15:11, 5 March 2007 (PST)
I'm more into doing work then talking about doing it. I've not used the page for anything other then to tell everyone what works needs to be done. Strife Onizuka 21:00, 5 March 2007 (PST)

LSL Color-coding like wakka wiki?

Should I add this to the to do list? Ina Centaur 02:29, 15 March 2007 (PDT)

That is something LL needs to do. -- Strife Onizuka 02:41, 15 March 2007 (PDT)
There is a GeSHi plugin for Media Wiki, and I could modify GeSHi's PHP syntax file to fit LSL with fairly little effort, but yes, LL still needs to do the actual additions. --Meyermagic Salome 17:56, 14 April 2007 (PDT)
Yes, I heard about the various color-coding addons for MediaWiki at HD in the last WikiMania. Amazed none has been implemented yet.. (Ina Centaur 16:37, 1 May 2007 (PDT))
It's been a while since anyone has put pressure on LL to implement this. Considering the current climate I wouldn't press this issue (they have enough thing on their plate). -- Strife Onizuka 17:38, 1 May 2007 (PDT)

need for https(?)

Is there actually a need for the https protocol to be used on this wiki? (Not even wikipedia, MediaWiki's flagship implementation, uses https...) (Ina Centaur 16:35, 1 May 2007 (PDT))

You should ask this question again on Talk:Main_Page it doesn't belong on this page. -- Strife Onizuka 17:36, 1 May 2007 (PDT)

LSL Wish List

Tanya prays to the code-gods and rubs her little 6-bit lamp...

  • a switch for casing
  • ability to call a function from a list of string variable names

<lsl>

func(integer x) {
    switch(x) {
       case 0:
          llSay(0,"Borked");
          break;
       case 1:
          llSay(0,"Grid");
          break;
       case 2:
          llSay(0,"Foobar");
          break;
      default:
          llSay(0,"Unknown");
          break;
    }
}

</lsl>

<lsl> list func_list=["do_this","do_that","do_whatever"]; do_this(list params) { llSay(0,"Doing this."); if (llList2String(params,0)=="param") llOwnSay("hoorah"); } do_that(list params) { llSay(0,"Doing that."); } do_whatever(list params) { llSay(0,"Fooing bar."); } default { state_entry() { llListCall(func_list,0,["param","params","others"]); } } </lsl>


Tanya Avon 16:12, 10 September 2012 (PDT)

Switch statement is doable without a large amount of work. "eval" like function would be a huge amount of work. -- Strife (talk|contribs) 21:28, 10 September 2012 (PDT)
Could you give an example? Right now... if i have over 100 various menu options to parse, i typically do something like this....

<lsl> if (var!=0) {

   if (var!=1) {
       if (var!=2) {
           if (var!=3) {
               llOwnerSay("Error: var:"+(string)var+" "+llGetScriptName());
           } else pick_nose();
       } else play_tunes();
   } else send_card();

} else init_foo();

</lsl> with only 3 or 4 cases, its not a big deal, but seriously, i do have scripts that have well over 100 cases to parse. It costs me an entire script to do that and it will utilize link messages to handle all the menu options. A good switch block internally could save a lot of memory using a hash/call at low level. ----Tanya Avon 13:53, 11 September 2012 (PDT)