Difference between revisions of "User:Strife Onizuka"
m |
m (→Tenebrous: Replaced <source> with <syntaxhighlight>) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<div style="float:right;"><videoflash>hTIsIjZCvHk</videoflash></div> | <div style="float:right;"><videoflash>hTIsIjZCvHk</videoflash></div> | ||
<div style="float:right; clear:right; border:1px solid #AAAAAA; margin-top:8px;"><div style="margin: 0 8px;"> | <div style="float:right; clear:right; border:1px solid #AAAAAA; margin-top:8px; background-color:white;"><div style="margin: 0 8px;"> | ||
'''Subpages''' | '''Subpages''' | ||
* Personal | * Personal | ||
Line 9: | Line 9: | ||
** {{Sub|hexchars}} | ** {{Sub|hexchars}} | ||
** {{Sub|Float Functions}} | ** {{Sub|Float Functions}} | ||
** {{Sub|String Tree}} | |||
** [[GetRootLocalPos]] | ** [[GetRootLocalPos]] | ||
* Articles | * Articles | ||
Line 48: | Line 49: | ||
=== Synopses === | === Synopses === | ||
Strife is an avid scripter, wiki author and SL forum denizen. Not content in selfish information gathering, he shares what he knows through various mediums, so that others may benefit and learn. He volunteers his time to work on many public projects which include: giving scripting advice, writing LSL documentation, providing and improving LSL scripts and libraries. Secondlife has been on Strife's brain for that last {{ | Strife joined 3/3/2004, and is an avid scripter, wiki author and SL forum denizen. Not content in selfish information gathering, he shares what he knows through various mediums, so that others may benefit and learn. He volunteers his time to work on many public projects which include: giving scripting advice, writing LSL documentation, providing and improving LSL scripts and libraries. Secondlife has been on Strife's brain for that last {{AgeUnit|03|03|2004}}. | ||
=== SL Status === | === SL Status === | ||
Strife is | Strife is unemployed. Leave me a note on my talk page. | ||
=== Honors === | === Honors === | ||
Line 65: | Line 66: | ||
I'm an immigrant from URU. Was in all 3 of it's beta's. | I'm an immigrant from URU. Was in all 3 of it's beta's. | ||
Wiki Gnome (causing drama isn't why I'm here). | Wiki Gnome (causing drama isn't why I'm here) for about {{#expr:(({{ #time: U | {{LOCALDAY2}}.{{LOCALMONTH}}.{{LOCALYEAR}} }} - {{ #time: U | 3.3.2004 }}) / 31557600) round 0}} years. | ||
I have a webpage but haven't updated it in a few months... | I <del>have</del><ins>had</ins> a webpage but I haven't updated it in <del>a few</del><ins>many</ins> <del>months</del><ins>years</ins>... | ||
Wiki's are the way of the future when it comes to making documentation Ad-hoc | Wiki's are the way of the future when it comes to making documentation Ad-hoc. With popularity graffiti becomes a worsening problem. The wiki owner is left between a rock and a hard place: cope with graffiti edits or cope with out-of-data information. The popular choice is to restrict editing, which ultimately drives away legitimate editors. | ||
also contribute to some other | I also contribute to some other wikis: | ||
*[http://history.secondserver.net/index.php/Main_Page History Wiki] | *[http://history.secondserver.net/index.php/Main_Page History Wiki] | ||
*[http://www.AviSynth.org/BlindWanderer AviSynth:BlindWanderer] | *[http://www.AviSynth.org/BlindWanderer AviSynth:BlindWanderer] | ||
Line 85: | Line 86: | ||
== Scite/ESL == | == Scite/ESL == | ||
My config files: | My config files: | ||
*[ | *[https://drive.google.com/folderview?id=0B78L5DGHe6YrV2FFWlE2VTJ4S28&usp=sharing Google Drive] | ||
* | ** lsl.api | ||
* | ** lsl.properties | ||
* | ** stripper.zip - Whitespace stripper | ||
*[http:// | ** clipboard.zip - copies text to clipboard | ||
*[https://github.com/Makopo/lslint lslint] (Makopo's fork) | |||
**[http://kwdb.googlecode.com/hg/outputs/builtins.txt builtins.txt] - Up to date keyword file for lslint (generated by [http://code.google.com/p/kwdb/ kwdb]) | |||
*[http://gnuwin32.sourceforge.net/packages/indent.htm indent - code beautifier] (picks up where the whitespace stripper leaves off) | *[http://gnuwin32.sourceforge.net/packages/indent.htm indent - code beautifier] (picks up where the whitespace stripper leaves off) | ||
*[http://msdn.microsoft.com/vstudio/express/visualc/ MSVC Express] | *[http://msdn.microsoft.com/vstudio/express/visualc/ MSVC Express] | ||
Line 102: | Line 104: | ||
==BitCount== | ==BitCount== | ||
< | <syntaxhighlight lang="lsl2">integer bitcount(integer n) | ||
{//MIT Hackmem 169, modified to work in LSL | {//MIT Hackmem 169, modified to work in LSL | ||
integer tmp = n - ((n >> 1) & 0x5B6DB6DB)//modified mask | integer tmp = n - ((n >> 1) & 0x5B6DB6DB)//modified mask | ||
- ((n >> 2) & 0x49249249); | - ((n >> 2) & 0x49249249); | ||
return (((tmp + (tmp >> 3)) & 0xC71C71C7) % 63) - (n >> 31); | return (((tmp + (tmp >> 3)) & 0xC71C71C7) % 63) - (n >> 31); | ||
}</ | }</syntaxhighlight> | ||
==Tenebrous== | ==Tenebrous== | ||
< | <syntaxhighlight lang="lsl2">string ignore = "c228d1cf-4b5d-4ba8-84f4-899a0796aa97"; | ||
list Tenebrous(){ | list Tenebrous(){ | ||
Line 126: | Line 128: | ||
} | } | ||
return out; | return out; | ||
}</ | }</syntaxhighlight> | ||
{{visl | {{visl | ||
Line 140: | Line 142: | ||
|}} | |}} | ||
[[Category:SL Certification Participant|{{PAGENAME}}]] | [[Category:SL Certification Participant|{{PAGENAME}}]] | ||
[[Category:User pages in need of haiku|{{PAGENAME}}]] |
Latest revision as of 15:26, 3 February 2023
Subpages
- Personal
- Code
- Articles
About Strife
Synopses
Strife joined 3/3/2004, and is an avid scripter, wiki author and SL forum denizen. Not content in selfish information gathering, he shares what he knows through various mediums, so that others may benefit and learn. He volunteers his time to work on many public projects which include: giving scripting advice, writing LSL documentation, providing and improving LSL scripts and libraries. Secondlife has been on Strife's brain for that last 2 decades.
SL Status
Strife is unemployed. Leave me a note on my talk page.
Honors
Through his public works Strife became a pillar of the SL community.
Strife is a Hippo award winner, awarded "Best Community Organizer" in the 2007 Linden Lab Innovation Awards, and here is his mention as a runner-up in the 2008 "Best Documentation" category: "Last year's winner, Strife Onizuka, continued to be insanely prolific, with thousands of edits over the past year.... Anyone learning LSL is almost certainly indebted to Strife's work in some way."
Own Words
I'm an immigrant from URU. Was in all 3 of it's beta's.
Wiki Gnome (causing drama isn't why I'm here) for about 21 years.
I havehad a webpage but I haven't updated it in a fewmany monthsyears...
Wiki's are the way of the future when it comes to making documentation Ad-hoc. With popularity graffiti becomes a worsening problem. The wiki owner is left between a rock and a hard place: cope with graffiti edits or cope with out-of-data information. The popular choice is to restrict editing, which ultimately drives away legitimate editors.
I also contribute to some other wikis:
When it comes to writing I tend to go towards concise. A short accurate description is better then a long equally accurate description; less to get confused with, easier to find the important information (because it is all important).
Scite/ESL
My config files:
- Google Drive
- lsl.api
- lsl.properties
- stripper.zip - Whitespace stripper
- clipboard.zip - copies text to clipboard
- lslint (Makopo's fork)
- builtins.txt - Up to date keyword file for lslint (generated by kwdb)
- indent - code beautifier (picks up where the whitespace stripper leaves off)
- MSVC Express
TightList
See TightList
Float Functions
See /Float Functions
BitCount
integer bitcount(integer n)
{//MIT Hackmem 169, modified to work in LSL
integer tmp = n - ((n >> 1) & 0x5B6DB6DB)//modified mask
- ((n >> 2) & 0x49249249);
return (((tmp + (tmp >> 3)) & 0xC71C71C7) % 63) - (n >> 31);
}
Tenebrous
string ignore = "c228d1cf-4b5d-4ba8-84f4-899a0796aa97";
list Tenebrous(){
integer link = llGetNumberOfPrims();
list out;
string s;
for(link -= (link == 1); !llGetLinkNumberOfSides(link);)
{
list t = llGetLinkPrimitiveParams(link, [PRIM_TEXTURE, ALL_SIDES]);
integer i = t != [];
while((i -= 4) >= 0)
if(ignore != (s = llList2String(t, i)))
out = [i >> 2, s] + out;
out = llGetLinkKey(link--) + out;
}
return out;
}