These forums are CLOSED. Please visit the new forums HERE
Wiki Wiki Wiki |
|
Argent Stonecutter
Emergency Mustelid
![]() Join date: 20 Sep 2005
Posts: 20,263
|
05-04-2009 15:57
Avaunt!
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/
"And now I'm going to show you something really cool." Skyhook Station - http://xrl.us/skyhook23 Coonspiracy Store - http://xrl.us/coonstore |
Strife Onizuka
Moonchild
![]() Join date: 3 Mar 2004
Posts: 5,887
|
05-04-2009 17:29
I've changed it to "Caution" and added an Icon...
What do folks think of the icon? Should the other sections get icons too? _____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
05-04-2009 18:06
I like it conceptually, but think it'd be more useful where that "!" is at the top... I often miss that because it's out to the side (though the right justified placement is good there because it doesn't interfere with the basic syntax)
_____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |
Strife Onizuka
Moonchild
![]() Join date: 3 Mar 2004
Posts: 5,887
|
05-04-2009 18:30
I like it conceptually, but think it'd be more useful where that "!" is at the top... I often miss that because it's out to the side (though the right justified placement is good there because it doesn't interfere with the basic syntax) Very good point. Will make it so (later when I have time). _____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey |
Prajna Vella
Registered User
Join date: 27 May 2008
Posts: 59
|
05-05-2009 00:56
Hmmm... I don't see any changes? Are these updates on the function references? I still see Caveats and no icon.
|
Nexii Malthus
[Cubitar]Mothership
![]() Join date: 24 Apr 2006
Posts: 400
|
05-05-2009 06:07
https://wiki.secondlife.com/wiki/User:Strife_Onizuka/LSL_Style
I'm glad the thread has turned around to something much more constructive and practical. _____________________
![]() Geometric Library, for all your 3D maths needs. https://wiki.secondlife.com/wiki/Geometric Creator of the Vertical Life Client |
Lear Cale
wordy bugger
![]() Join date: 22 Aug 2007
Posts: 3,569
|
05-05-2009 07:19
Just on the style thing using color like has been done already: llSetColor(vector color, ...) llSetColor(<red, green, blue>, ...) When I read these, the first way tells me more immediately about what I dont know than the second way. vector ??? whats a vector ??? click on word and get explanation of this. ok kool I got that. ok now what ??? Read the following explanation of how to use a vector to make colors using this function. ok. If is the second way then I dont know what a vector is, unless is explained to me that the writer is using <red, green, blue> to represent a vector. And when they dont explain this, then they assuming I already know what a vector is. I just find is easier when learning something new, if teachers not make these kinds of assumptions about me. Im a bit of an idiot really when I dont know what I dont know. Is really hard to learn stuff sometimes when others assume I do know and also assume that Im not an idiot. Sure, some folks prefer to see an example to seeing what's actually required. However, many beginners will misinterpret the example, thinking that the angle brackets are part of the function call for llSetColor. It's better to be correct and complete and a bit obscure than to generalize and be misleading. As Einstein said, "Things should be put as simply as possible, but no simpler." As Knuth said, it's better to be accurate even if a bit confusing, than to be inaccurate. The confusion caused by accuracy is far easier to correct. |
Lear Cale
wordy bugger
![]() Join date: 22 Aug 2007
Posts: 3,569
|
05-05-2009 07:42
I disagree with the idea of adding a "Concept" line.
The problem is, everyone has a different concept, since it's something we're making up. Try to apply this to every LSL function and ... oh my. Imagine how differently 3 different writers would write up this Concept line. The results would be quite different in each case. Compare that with the prototype line. They would all agree, except for different parameter names. Of course, good parameter names are important, and hopefully, most of the variations would be people using different synonyms, so the actual difference would be small. But now we're adding some new thing called a "Concept", which isn't defined. What to put there? Oh, well, put what makes sense to YOU when you think of this function! Bad idea. Be accurate. Be clear. And add tutorial and example information for the beginners. But don't just make stuff up and promote it to the top of the page. The thing that's really important to get right is the *purpose* statement. It should be as clearly understandable as possible by a newbie. Still, there are some functions that would be impossible to state the purpose of without using rather obscure technical knowledge, especially those involving rotation conversions. One of the challenges for documenting any function is identifying the background of obviousness. Without knowing that background, it's impossible to communicate effectively. Getting it wrong either way leads to problems. Getting it wrong by putting the bar too low causes needless repitition and verbosity. Getting it wrong too high leads to unanswerable questions. We should not assume the background of obviousness is the same for all functions. Ones like llSay() and llSetColor() should be written with a relatively low level. For llSetColor() it does behoove us to say that a vector is used to represent a color, with details on this easily found (either on the page or by a link -- ideally a link, because the color concept occurs in lots of functions). Functions that deal with vectors and rotations shouldn't have to be written assuming you have no clue what a vector or rotation is. However, they should point you to good information on vectors and rotations. The current layout achieves this objective. If the current layout (with prototypes) causes confusion, then we need tutorial pages explaining how to read the prototypes, and an easy way to find them. |
Lear Cale
wordy bugger
![]() Join date: 22 Aug 2007
Posts: 3,569
|
05-05-2009 07:44
What was wrong with "Caveats"? It was the perfect word for the purpose.
Someone said they "didn't like it" without justifying their dislike in any way. What's wrong with that word? It's like saying "I don't like A#," when talking about a musical composition. |
Lear Cale
wordy bugger
![]() Join date: 22 Aug 2007
Posts: 3,569
|
05-05-2009 07:52
A little OT, but there's something I don't understand about how to edit the wiki pages, having to do with templates.
Consider llResetOtherScript(): http://wiki.secondlife.com/w/index.php?title=LlResetOtherScript I figured out how to add a caveat. But if I wanted to edit the first one, "If name is missing from the prim's inventory or it is not a script then an error is shouted on DEBUG_CHANNEL. ", how would I find that text? That's just an example, but it seems that every time I see a minor flaw in the text that I'd like to fix, I can't find it, because of some template magic. Thanks! |
Cerise Sorbet
Registered User
![]() Join date: 8 Jun 2008
Posts: 254
|
05-05-2009 08:50
LOL, welcome to template hell! The shout text is hiding in Template:LSL Function/inventory so if you want to change it you have to look at all the pages that use it to see if it makes sense everywhere.
|
Strife Onizuka
Moonchild
![]() Join date: 3 Mar 2004
Posts: 5,887
|
05-05-2009 09:15
A little OT, but there's something I don't understand about how to edit the wiki pages, having to do with templates. Consider llResetOtherScript(): http://wiki.secondlife.com/w/index.php?title=LlResetOtherScript I figured out how to add a caveat. But if I wanted to edit the first one, "If name is missing from the prim's inventory or it is not a script then an error is shouted on DEBUG_CHANNEL. ", how would I find that text? That's just an example, but it seems that every time I see a minor flaw in the text that I'd like to fix, I can't find it, because of some template magic. Thanks! Cerise is correct, it's in https://wiki.secondlife.com/wiki/Template:LSL_Function/inventory I really should add a parameter to disable the caveat... What did you want to do to the caveat on llResetOtherScript? _____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey |
Strife Onizuka
Moonchild
![]() Join date: 3 Mar 2004
Posts: 5,887
|
05-05-2009 09:57
I like it conceptually, but think it'd be more useful where that "!" is at the top... I often miss that because it's out to the side (though the right justified placement is good there because it doesn't interfere with the basic syntax) I didn't like the sign icon in that context... so i found a bug icon (a red ant) to use instead. Thoughts? _____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
05-05-2009 12:08
maybe a yellow ! sign... the red is used on most forums to report bad posts...
the ant is counter intuitive to most net use since people like to put insects on pages to mess with users.... and it doesn't draw much attention (I'd have thought someone was being cute) _____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |
Strife Onizuka
Moonchild
![]() Join date: 3 Mar 2004
Posts: 5,887
|
05-05-2009 20:27
I tried a yellow icon but it didn't stand out enough...
JIRA Bug: https://wiki.secondlife.com/w/index.php?title=User:Strife_Onizuka/LSL_Style&oldid=347122 Red/Orange Sign: https://wiki.secondlife.com/w/index.php?title=User:Strife_Onizuka/LSL_Style&oldid=347102 Red Ant: https://wiki.secondlife.com/w/index.php?title=User:Strife_Onizuka/LSL_Style&oldid=346542 _____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey |
Eren Padar
Registered User
Join date: 14 Sep 2005
Posts: 94
|
05-05-2009 23:45
I tried a yellow icon but it didn't stand out enough... QUOTE] For a yellow icon to stand out, it would need to be outlined in red or black. : ) |
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
05-06-2009 00:01
I tried a yellow icon but it didn't stand out enough... Try a chartreuse :} _____________________
Thread attempting to compile a list of which animations are freebies, and which are not:
http://forums.secondlife.com/showthread.php?t=265609 |
Lear Cale
wordy bugger
![]() Join date: 22 Aug 2007
Posts: 3,569
|
05-06-2009 05:06
Cerise is correct, it's in https://wiki.secondlife.com/wiki/Template:LSL_Function/inventory I really should add a parameter to disable the caveat... What did you want to do to the caveat on llResetOtherScript? More importantly, how would I have found this text? I didn't want to change THAT one, but a number of other times, I've tried to fix some clumsy text or typos and could not find the source of the text due to being nested deep in templates. Either the templates list at the bottom of the edit page is incomplete, or I just plain don't understand it (assuredly the latter, but possibly the former as well). The whole idea of Wiki is so that users can edit the text. So, my simple question is: how do we find where to edit the text? Use the one above as an example. But, I want to learn to fish; I don't want a grilled trout on a plate. |
Meade Paravane
Hedgehog
![]() Join date: 21 Nov 2006
Posts: 4,845
|
05-06-2009 07:42
Random comment: I wish the font size of stuff enclosed within <lsl> tags was smaller. I've always thought that fixed-width fonts were easier to read at smaller sizes than variable-width fonts but the wiki seems to use the opposite - regular text seems a bit smaller than lsl text.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224 - If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left |
Jesse Barnett
500,000 scoville units
![]() Join date: 21 May 2006
Posts: 4,160
|
05-06-2009 11:28
Random comment: I wish the font size of stuff enclosed within <lsl> tags was smaller. I've always thought that fixed-width fonts were easier to read at smaller sizes than variable-width fonts but the wiki seems to use the opposite - regular text seems a bit smaller than lsl text. Seems to be resolution dependant. Anything in lsl tags for me in the wiki is always smaller then the rest of the text and I have to magnify it. This is using IE, Chrome & Firefox. _____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum |
Meade Paravane
Hedgehog
![]() Join date: 21 Nov 2006
Posts: 4,845
|
05-06-2009 11:37
Weird. I've noticed it both at home and at work.. Maybe I've got some funky version of the font installed..
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224 - If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
05-06-2009 13:01
well I do notice that on default text zoom (FF) that fixed width appears bigger, but isn't actually (probably just the effects of the spacing increasing individual letter definition) but zoom doesn't seem to affect preformatted text =/ (useful for my large screen dimensions), so bumping lsl down might be painful compared to bumping general up (although it's at 12pt so I dunno....)
_____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
05-06-2009 13:15
Random comment: I wish the font size of stuff enclosed within <lsl> tags was smaller. I've always thought that fixed-width fonts were easier to read at smaller sizes than variable-width fonts but the wiki seems to use the opposite - regular text seems a bit smaller than lsl text. http://jira.secondlife.com/browse/WEB-727 _____________________
Thread attempting to compile a list of which animations are freebies, and which are not:
http://forums.secondlife.com/showthread.php?t=265609 |
Strife Onizuka
Moonchild
![]() Join date: 3 Mar 2004
Posts: 5,887
|
05-06-2009 17:14
More importantly, how would I have found this text? I didn't want to change THAT one, but a number of other times, I've tried to fix some clumsy text or typos and could not find the source of the text due to being nested deep in templates. Either the templates list at the bottom of the edit page is incomplete, or I just plain don't understand it (assuredly the latter, but possibly the former as well). The whole idea of Wiki is so that users can edit the text. So, my simple question is: how do we find where to edit the text? Use the one above as an example. But, I want to learn to fish; I don't want a grilled trout on a plate. Hmmm. The start of the rabbit hole is at the top of the article. There you will see some templates, if one of the templates parameters involves a function parameter that is involved with the text you want to change, go to that templates source. Now inside those templates anything can be going on. Those templates work by setting the equivalent of environment variables (they persist after the template has finished executing; their values are later used when generating the layout). They also may include other templates that work the same way; but in practice, the depth is rarely more than two deep (with the exception of llSetPrimitiveParams, where it can get to be three deep I think). But the trick to tracing these things is with the function parameter names. The names get inlined and to do that they have to be passed from one template to the next. The only other templates currently that are used are templates to hold the tables of constants. They are typically not at the top of the article but in the template body. Just look for "|constants=". But to aid in editing, I'll start wrapping inlined text in span tags with an id parameter listing where they are from (so you can use FireBug to aid in editing). I've never seen it not include a template it is using in the list. But if you think the list is out of date, click the Preview button. _____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey |
Lear Cale
wordy bugger
![]() Join date: 22 Aug 2007
Posts: 3,569
|
05-07-2009 10:13
Thanks, Strife -- the light bulb is beginning to glimmer.
I understand the usefulness of the templates. It's too bad they tend to make much of the wiki uneditable by anyone but a very few. I believe the template in question was indeed listed but it just didn't register on my radar. I'll work on my radar. ![]() |