{"id":3450,"date":"2013-12-06T23:30:56","date_gmt":"2013-12-06T23:30:56","guid":{"rendered":"http:\/\/sl.governormarley.com\/?p=3450"},"modified":"2013-12-06T23:30:56","modified_gmt":"2013-12-06T23:30:56","slug":"come-on-come-on-hurry-up-array-come-on","status":"publish","type":"post","link":"https:\/\/sl.governormarley.com\/?p=3450","title":{"rendered":"Come On, Come On, Hurry Up Array, Come On!"},"content":{"rendered":"<p><em>We&#8217;re going down the pub! <\/em>Warning, this post may containt geekiness and nuts.<\/p>\n<p>One of the things that has always puzzled me in Second Life has been the lack of arrays in LSL. I mean arrays, they are sexy, they are useful, they store data, they beat lists, strided lists and any other sort of list by a country mile. Basically arrays are too sexy to be bodged as lists.<\/p>\n<p>I didn&#8217;t do much scripting in Second Life because scripting consumes much time in my day job, so I felt it would be like a busman&#8217;s holiday, but arrays, how can you not have arrays? That was one of my first questions to myself back in 2007 when I joined Second Life and it remains a questions that puzzles me as we come close to 2014.<\/p>\n<p>I was so scarred by Second Life not having arrays that <a title=\"Cloud Party arrays\" href=\"http:\/\/wiki.cloudparty.com\/wiki\/Scripting#Array_Objects\" target=\"_blank\">when I took a look at Cloud Party and saw that they supported arrays<\/a>, I cheered!<\/p>\n<p>The power of arrays should not be underestimated, indexof, finding matches of, adding, removing, substrings, two dimnensional! Arrays are bloody sexy and more importantly, they are bloody useful.<\/p>\n<p><!--more--><\/p>\n<p>Today, whilst at work and using Windows Powershell to build an array, sort it, use it, seduce it, kiss it, thank it, I found myself thinking of Second Life and its lack of arrays. I actually felt sorry for Second Life!<\/p>\n<p>Really, arrays are so damn powerful, they may even be able to end poverty and bring world peace, that&#8217;s how awesome arrays are, and LSL doesn&#8217;t support them! If you use Second Life and you script, then you should want arrays. On the other hand if you&#8217;re an end user who thinks scripting is for geeks who wear awful jumpers and glasses, you should still want arrays, because they are bloody awesome for making the tools you want.<\/p>\n<p>LSLArrays.Add(&#8220;We Want Them&#8221;)<\/p>\n<p>Second Life needs to kiss and make up with arrays!<\/p>\n<p><a class=\"twitter-share-button\" href=\"https:\/\/twitter.com\/share\" data-url=\"http:\/\/sl.governormarley.com\/?p=3450\" data-via=\"Ciaran_Laval\">Tweet<\/a><br \/>\n<script type=\"text\/javascript\">\/\/ <![CDATA[\n!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=\/^http:\/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+':\/\/platform.twitter.com\/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');\n\/\/ ]]><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re going down the pub! Warning, this post may containt geekiness and nuts. One of the things that has always puzzled me in Second Life has been the lack of arrays in LSL. I mean arrays, they are sexy, they are useful, they store data, they beat lists, strided lists and any other sort of &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/sl.governormarley.com\/?p=3450\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Come On, Come On, Hurry Up Array, Come On!&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[392,3,14],"tags":[631,19,272,1022],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6rJUK-TE","jetpack-related-posts":[],"jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/3450"}],"collection":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3450"}],"version-history":[{"count":1,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/3450\/revisions"}],"predecessor-version":[{"id":3451,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=\/wp\/v2\/posts\/3450\/revisions\/3451"}],"wp:attachment":[{"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sl.governormarley.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}