Slashdot Mirror


Introduction to Linden Scripting Language

prostoalex writes "Dr. Dobb's Journal runs a lengthy introduction to Linden Scripting Language, the language behind avatars and their interaction in Second Life: "LSL is a scripting language that runs server-side, on a piece of software called the simulator. The simulator does just what it's name implies — it simulates the virtual world of Second Life. Each simulator runs everything for 16 acres of virtual land — buildings, physics, and of course, scripts. While you manipulate the script text in a form that is somewhat easy to read, the actual code that runs on the simulator is compiled. A compiler is a piece of software that takes the text version of the script and converts it into something that can actually run. In the case of LSL, the compiler exists within the Second Life viewer itself. In the future, it is likely that the compiler will move from the viewer into the Second Life simulators, but where the code is compiled isn't very important. What matters is that the text is converted into a form that can run on the simulators.""

139 comments

  1. Another? by Ramsees · · Score: 0

    Great, just what the world needs, another scripting language.

    1. Re:Another? by MilenCent · · Score: 1

      Actually, there are reports that they're considering moving to a more standard language, and Mono for internal representation, in a future revision.

    2. Re:Another? by pooh666 · · Score: 1

      My first thought, OH GOD NO, PLEASE MAKE IT STOP!! ARRRRGGGHHHH!!! I wonder if it will replace other lang in popularity, but "not quite" have full support for things like prepared statements in its MySQL driver. Its small "but growing" list of modules and extensions is sure to have that feature soon, meanwhile we are working on an apache module to so we don't have to rely on CGI and.... No, I didn't read TFA and I am closing my eye to yet another attempt to do it all over again..

    3. Re:Another? by TheCouchPotatoFamine · · Score: 1

      My first thought, OH GOD NO, PLEASE MAKE IT STOP!! ARRRRGGGHHHH!!! Not another person whos closing their eyes to anything other then SQL!

      okay, whatever other points you have, SQL is an outdated dog, and somebody from the 50's is turning in their grave that we're still using it.

      --
      CS majors know the time/space tradeoff, but they never get taught the 3rd, crucial, tradeoff of the set: comprehension!
    4. Re:Another? by justinchudgar · · Score: 2, Interesting
      Ya know, I was going to mod the parent up; but, I felt the need to express just how much I agree with him or her. I know that Linden is probably an excellent language for its niche; but, the number of languages in fairly common use seems to have exploded. I am all for the freedom of choice; and, I think that having a variety of tools that can be selected based on performance, flexibility or preference is wonderful.

      My perception is that there is a optimal balance between choice and usefulness. If we were living in a world where the only languages were Assembler and BASIC programming would be hugely difficult and software would be suck because the tools were so mismatched to the application. On the other extreme, if there was a language created for every project, programming would be hugely difficult and software would suck because not only would the application have to be written, but the language as well.

      Somewhere in the middle is the perfect balance between endless variety of languages and extreme limitations. My feeling is that if some of the effort by the very intelligent and skilled developers who are creating new languages were instead channeled into improving existing languages, the limitations of current tools would be greatly reduced and the experience of all those who know existing languages would be relevant to solving problems. If a developer has to devote time and effort learning a new language, basic syntax, code conventions, optimal design patterns, etc., then that developer is losing time actually writing useful code.

      I have written "Hello World" or some generic "Music Store" type app learning:
      • BASIC
      • Pascal
      • HyperCard
      • Fortran
      • C
      • C++
      • Java
      • Perl
      • PHP
      • Python
      • DOS/CMD Batchfiles
      • Shell Scripting
      • Kixtart
      • Ruby
      • Visual Basic
      • C#
      • MSH/Monad/Microsoft's new shell
      • Lisp
      Now, I am not a programmer by profession. I've taken courses and I like to write little programs for personal use; so, my knowledge of these languages is minimal. But, I have had to learn what I know so that I could use existing code or frameworks to accomplish what I wanted. The same requirements for redundant learning applies to those who write code on a professional level. If a highly skilled C++ programmer wants to contribute to a project written in MONO/C#, there is a learning curve. If he then wants to work on a project in Python, another learning curve.

      I would be willing to bet that some projects miss out on a lot of contributed code because people who are willing and have the algorithmic skills to assist are simply unwilling to take the time to learn whatever language is used.

      Sorry it this was less than readable. It is late and I am tired and hungry. Off to the kitchen...
      --
      WARNING: Smoking this sig may cause lowered IQ, insanity or short term memory loss. It is also really bad for your monit
  2. A Way For Closed Source Scripts? by excelblue · · Score: 5, Interesting

    Is this a way for Linden Labs (and possibly for others) to provide closed source scripts and objects? This seems to be a very possible thing with such technology.

    What if someone only made available a compiled copy of something? It'd be scary if you can't tell what's really going on with all the stuff.

    1. Re:A Way For Closed Source Scripts? by Anonymous Coward · · Score: 1, Insightful

      If you don't trust the person writing the script with only a compiled version, why are you trusting their script at all? Having the source code to something only means that you can probably find the malicious code, not that it doesn't exist.

    2. Re:A Way For Closed Source Scripts? by Yetihehe · · Score: 2, Informative

      Yes. No. Well, sort of. You can just sell or give someone an object with compiled script. If he doesn't have rights to modify script, he don't see source code.

      --
      Extreme Programming - Redundant Array of Inexpensive Developers
    3. Re:A Way For Closed Source Scripts? by turrican · · Score: 1

      "What if someone only made available a compiled copy of something? It'd be scary if you can't tell what's really going on with all the stuff."

      MIcrosoft is gonna be jazzed! The'll want to go this route when releasing a virtual copy of Windows for use within the SecondLife game...

    4. Re:A Way For Closed Source Scripts? by AndrewNeo · · Score: 1

      Well, Linden Labs is planning on using Mono for LSL, and possibly to provide other languages such as C#..

    5. Re:A Way For Closed Source Scripts? by MilenCent · · Score: 1, Interesting

      In fact, as people found out recently during the whole CopyBoy ruckus, using an outside client with the game allows people to copy almost any object in Second Life, but the scripts in objects were still safe. There is no known way to get the source code off an object for which it hasn't been provided, even through decompilation, since the object code, once on their servers, would seem to reside and run there entirely.

    6. Re:A Way For Closed Source Scripts? by ajlitt · · Score: 2, Insightful

      Who cares? Linden owns the production systems, so you're not guaranteed that execution on the simulator is one-for-one with the game.

    7. Re:A Way For Closed Source Scripts? by Zekasu · · Score: 1

      In the actual game, Second Life, which is Linden Labs' game that uses LSL, it does allow you (and more specifically, anybody) to create a script, and make it "close-sourced." Others are not able to view your script, nor are they able to edit it, if you so choose to set it taht way.

      However, you can also make it a publicly viewable script. Most people don't do that, however, because they would rather have the script they worked on remain a unique work.

      I can actually see the problem created by this, "what if someone creates a malicious script and hands it out to everyone?" To be truthful, I believe this HAS happened before. It has been Linden Labs' reponsibility to make srue the scritps are safe, for the most part, and that something horrendous doesn't happen in game because of someone scripting a malicious thing.

    8. Re:A Way For Closed Source Scripts? by makomk · · Score: 2, Interesting

      Yes. No. Well, sort of. You can just sell or give someone an object with compiled script. If he doesn't have rights to modify script, he don't see source code.

      In fact, he can't even see the object code. (Actually, SL doesn't let you obtain the object code for scripts even if you do have the right to modify them. Combine this with the fact that compilation is currently client-side, and just inspecting the source of a script someone gave you isn't sufficient to ensure it's not malicious - you need to recompile it, and the only people who can tell if anyone's exploiting this are Linden Labs.)

      This also makes Second Life a GPL-violater's paradise (no way to prove it) - and there's a lot of people in there who don't seem to understand or care about open source or the GPL. (A particularly egregarious example - one infamous indifidual, I think it was Prokofy Neva, claimed that if a script or object was set transfer-allowed, this gave anyone the right to set it no-modify, no-resale, and sell it en masse, no matter what the conditions given with it were. There have been many others... such as the "open source" window blind script that forbidded redistribution; in fact, most of the "open source" items I've seen aren't.)

    9. Re:A Way For Closed Source Scripts? by Faylone · · Score: 1

      Oh boy, when that happens, somebody will run second life in windows in second life, would that be third or fourth life?

    10. Re:A Way For Closed Source Scripts? by suv4x4 · · Score: 1

      What if someone only made available a compiled copy of something? It'd be scary...

      You're too easily scared. Open or not, the script runs on the server, so that script kiddies can't tweak it on their clients.

      Also they are migrating to .NET soon, so maybe this will let you sleep at night.

    11. Re:A Way For Closed Source Scripts? by enrgeeman · · Score: 1

      That would be beyond no life, that would be -1 life.

      --
      sent from my slashdot browser.
    12. Re:A Way For Closed Source Scripts? by mwvdlee · · Score: 1

      It depends on your definition of Open Source.

      If by open source you mean having access to the code, enabling you to fix or change the code then there is no problem with disallowing redistribution of it.

      If by open source you mean that the code is free (as in beer), then you'd need more rights.

      Open source != GPL

      (GPL is just one flavor of open source)

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    13. Re:A Way For Closed Source Scripts? by makomk · · Score: 1

      No, but open source does mean "conforming to the Open Source Definition", which software that doesn't allow redistribution definitely doesn't do. ("Open Source" is actually a trademark...)

  3. Credit where credit is due by Chairboy · · Score: 5, Funny

    Credit where credit's due, it's important to note that LSL is the first scripting language to have furry specific classes. This is an oft-overlooked aspect of modern languages.

    1. Re:Credit where credit is due by mrcdeckard · · Score: 5, Interesting


      it's funny, i just checked out 2nd life last night -- first time since a year or two ago -- and i was pretty amazed -- the place is one big car lot or sex club. really. i guess there are two kinds of people in 2nd life now -- the people selling "sex", and the people trying to sell their objects to buy the "sex".

      it really was a cool online social experiment -- it only ultimately confirmed what we knew all along -- the internet is good only for porn and consumerism.

      now, think about this for a second. first, it's not real sex that is drawing people. it's not even imagery of real people having sex. it's interaction of poorly-rendered avatars in a virtual world. this is a testament to the power of the sexual drive in humans, and what we decide to do with our best technology..... just a friendly reminder that yes, we are doomed.

      mr c

      --
      "Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - R. Feynman
    2. Re:Credit where credit is due by Linker3000 · · Score: 1

      Is that anything like fuzzy logic?

      --
      AT&ROFLMAO
    3. Re:Credit where credit is due by tomhudson · · Score: 1

      ... and of course, the language lacks a "redeemLindenDollarsForRealMoney()" function.

      Even Linden Labs now admits (after the taxman commeth ... and the online gambling investigators ...) that Linden$$$ are just play tokens, with no relation to real-world currency.

    4. Re:Credit where credit is due by kahei · · Score: 1


      I agree with your above post except that I would insert 'not' before 'doomed' in the last line.

      If we were incapable of finding channels for commerce and amusement in new environments, then yeah, we'd be doomed.

      Having said that, if people really buy sex on 2nd life, that's kind of sad. Not because buying sex is sad but because it suggests it's a less positive environment than, say, FurryMUCK was in the last decade.

      --
      Whence? Hence. Whither? Thither.
    5. Re:Credit where credit is due by AndroidCat · · Score: 1

      I thought that was already present in YIFF.

      --
      One line blog. I hear that they're called Twitters now.
    6. Re:Credit where credit is due by Blakey+Rat · · Score: 1

      You used to have to go to MUDs or MUCKs to have fake sex with your anthropomorphic wolf lover, but now you can do it in Second Life with graphical avatars and animations and everything! Please kill me now!

    7. Re:Credit where credit is due by vadim_t · · Score: 1

      it's not in the language, but it's on the website:

      https://secure-web7.secondlife.com/currency/sell.p hp

    8. Re:Credit where credit is due by vadim_t · · Score: 1

      LSL has no classes, and about the most furry thing about it is the ear attachment points. Tails go on the pelvis attachment point.

      Makes me wonder where do the mature bits go when you have a tail, as there can be only one object attached to every point, but that's not something I intend to figure out.

    9. Re:Credit where credit is due by DaleGlass · · Score: 2, Interesting

      Nah, there are plenty of people in SL which aren't in it for the porn. A significant portion of the grid is PG. There are quite a few people who use it as a chat, or because they like scripting and building.

      I don't have or do anything porn-related in there, and don't spend any significant amounts of money either. So far I'm getting more out of it than I spend.

    10. Re:Credit where credit is due by MilenCent · · Score: 3, Insightful

      But what is real currency? All money is fake, on a basic, fundamental level. Online games simply use faker money than usual, but with real world transactions becoming increasingly virtual, the difference between the two is becoming much more uncertain over time.

      It is in the best interest of any online world to convince the government that their money is fake, since that means they won't have to subject their servers and source code to government oversight, which would ultimately make the game much harder to implement. Most games are content to let it rest at that, since they see their money as play tokens themselves.

      Linden Labs is one of the first companies to realize that there is a value in allowing the public, if not regulators, to think otherwise. All L$ cashouts are probably, technically, at LL's discretion; to give players a true, real-world legal right to convert money would mean the government would ultimately start taking a hard look at them, since from a real-world standpoint they would start looking like a bank at best, and a potential tax dodge at worst.

      It is important to note, though, that Linden Labs' business requires that the illusion be maintained. If they actually did refuse to cash out L$, it would shake user faith in the system. Trading between real-and-virtual money may be ultimately by permission only, but to exercise that authority would be dangerous to their business, and they seem like they're in this some degree of foresight instead of hoping to make a quick buck, so L$ are still, practically, safe to buy and sell. Mostly.

    11. Re:Credit where credit is due by MilenCent · · Score: 0

      it really was a cool online social experiment -- it only ultimately confirmed what we knew all along -- the internet is good only for porn and consumerism.

      If it is a cool online social experiment, then it is such regardless of what the evidence produced by that experiment is. A serious argument could be made that the division between sex and the rest of our lives has only arisen since the onset of Christianity, and that SL's focus on sex is part of a natural "repaganizing" of civilization.

      Well, it's a thought at least.

    12. Re:Credit where credit is due by Anonymous Coward · · Score: 0

      Please kill me now!
      Why not wait until they combine SL with furry teledildonic attachments?
    13. Re:Credit where credit is due by DaleGlass · · Score: 1

      Why not wait until they combine SL with furry teledildonic attachments?


      Not sure about the furry part, but it already exists: http://www.slashdong.org/
    14. Re:Credit where credit is due by WilliamSChips · · Score: 1

      Are you seriously saying that SL's focus on sex is something new on Internet? Even though "The Internet Is For Porn" is the most annoying and evil song to ever swim from the dank bowels of Avenue Q, it has a kernel of truth.

      --
      Please, for the good of Humanity, vote Obama.
    15. Re:Credit where credit is due by notthepainter · · Score: 4, Informative

      it's funny, i just checked out 2nd life last night -- first time since a year or two ago -- and i was pretty amazed -- the place is one big car lot or sex club. really. i guess there are two kinds of people in 2nd life now -- the people selling "sex", and the people trying to sell their objects to buy the "sex".
      This is why I started my web site http://www.secondseeker.com/. The parent poster is mostly right and completely wrong.

      All that is easy to find is sex.

      There is a lot more out there, it is just hard to find. I've spent a lot of time sailboat racing in SL. I no longer have access to a boat and I really missed it. It it the same? Certainly not. Is it better, than nothing. You bet! When I raced sailboats I was on a big boat with others, now I'm at the helm. I couldn't afford to do that in the real world.

      I hate to sound like spam but if you think sex is all that there is to SecondLife, just check out my web site, you might find something to do there that interests you. (Note, the site is supported by AdSense ads, if that offends you, please don't visit, or at least don't click on the ads!)

      Paul aka Seeker Gray

    16. Re:Credit where credit is due by notthepainter · · Score: 1

      This is the kind of SecondLife positive message that needs to get out. It is so often true and so often unsaid.

      Paul

    17. Re:Credit where credit is due by Anonymous Coward · · Score: 0

      ... and of course, the language lacks a "redeemLindenDollarsForRealMoney()" function.

      That doesn't mean you can't do it. It's built-in to the viewer, and you can do it from the Linden Labs website. You can cashout without even logging into the game.

    18. Re:Credit where credit is due by grimJester · · Score: 1

      Makes me wonder where do the mature bits go when you have a tail, as there can be only one object attached to every point, but that's not something I intend to figure out.

      My first thought was that you could make tails and penises joined as single objects.
      My second that you could make pluggable objects with an open API to make it possible to switch tails and penises independently.
      My third thought - "Hey, this could be a business idea!"

      I've been on the Internet too long. The most frightening thought is that the second step corresponds to the "Step 2: ???" meme. Was that the answer all along?

    19. Re:Credit where credit is due by Ash-Fox · · Score: 1

      People already do this on Second life.

      Also people tend to attach their 'sex' to their stomach attachment point.

      --
      Change is certain; progress is not obligatory.
    20. Re:Credit where credit is due by Ash-Fox · · Score: 1

      I confirm what the parent poster is saying.

      --
      Change is certain; progress is not obligatory.
    21. Re:Credit where credit is due by mapkinase · · Score: 1

      You are doomed if you see your life as a materialistic roller-coaster. Then there is no essential difference between you and animal.

      If you do what you are created for with recognition of that fact, then you are filling the shoes of a Human.

      --
      I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
    22. Re:Credit where credit is due by tomhudson · · Score: 1

      ... and every time someone tries to cash out any significant amount, the value drops several 100 percent - there's no real float, no "market makers". Plus, with the feds getting into the whole "you can't gamble on the intarweb", they either have to shut the virtual casinos down, or completely decouple Linden$ from the real world.

    23. Re:Credit where credit is due by Ash-Fox · · Score: 1

      and every time someone tries to cash out any significant amount, the value drops several 100 percent
      It's not changed that considerably for me enough to increase/decrease prices on things I sell in Second Life to pay for things in first life that have fixed monthly prices.

      Plus, with the feds getting into the whole "you can't gamble on the intarweb", they either have to shut the virtual casinos down, or completely decouple Linden$ from the real world.
      I don't live in the States.
      --
      Change is certain; progress is not obligatory.
    24. Re:Credit where credit is due by ZorinLynx · · Score: 1

      There isn't anything furry-specific in Second Life as an architecture.

      Sure, there's a lot of furries there, and a lot of furry content, but that's because.. hey, it's a virtual environment where you can be ANYTHING. Of course it's going to attract people who want to roleplay as a non-human.

      If you're curious about the whole furry thing, come to Luskwood on Second Life. Not all furries are sex-crazed anti-social dumbasses-- just a very vocal few.

      -Z

    25. Re:Credit where credit is due by MindStalker · · Score: 1

      Well thats how the US built up its currency, but backing it by gold. Once it became popular enough they no longer needed to back it and people used it anyways. Given there are a lot of third party L$ traders and people willing to buy from third parties that offer better prices than SL themselves does, its not impossible the LL could just stop someday and the economy could continue.

    26. Re:Credit where credit is due by myowntrueself · · Score: 1

      this is a testament to the power of the sexual drive in humans

      I've often thought that the internet, in general, gives us something like a microscope into human sexuality.

      --
      In the free world the media isn't government run; the government is media run.
    27. Re:Credit where credit is due by tomhudson · · Score: 1

      Plus, with the feds getting into the whole "you can't gamble on the intarweb", they either have to shut the virtual casinos down, or completely decouple Linden$ from the real world.
      I don't live in the States.

      You don't have to - the servers are there, and if the feds say "no refund or exchange of Linden$" the credit card companies will do as they're told, same as the rest of the online gambling sites.

    28. Re:Credit where credit is due by mwvdlee · · Score: 1

      I agree with your statements, especially regarding the mutual need to keep up the illusion if real currency value.

      It just reminds me of one thing; the "end-game scenario" for Second Life.

      No doubt that someday, Second Life will be replaced by something bigger and better. It may not be soon but it is inevitable. Second Life is a platform based on networking technology of several years ago, at some point they will be surpassed.

      Then what happens? At that point, when Second Life's demise is inevitable and predictable, Linden Labs will have no reason nor obligation to maintain this illusion. Will they just L$-to-US$ money transfers completely? There's really nothing to stop them from doing that, apart from moral objections. At that point in time, it will be the most profitable decission for them to make.

      --
      Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
    29. Re:Credit where credit is due by saberwolf · · Score: 1

      Plus, with the feds getting into the whole "you can't gamble on the intarweb", they either have to shut the virtual casinos down, or completely decouple Linden$ from the real world.

      I don't live in the States.


      You don't have to - the servers are there, and if the feds say "no refund or exchange of Linden$" the credit card companies will do as they're told, same as the rest of the online gambling sites.

      I'd imagine that if American laws make it too difficult to do business then Linden will do the same thing the poker companies have done and just move somewhere else. They're already opening an office in the UK and are hiring developers. There's no real reason why all the servers have to be in the US, they've already indicated they're looking to build datacenters in other countries.

    30. Re:Credit where credit is due by tomhudson · · Score: 1

      Moving the servers doesn't solve the problem of the credit card companies not allowing their US customers to make charges.

      Then there's also the problem of being arrested ... if they were willing to arrest a British citizen (who ran gambling servers that were NOT in the US) who flew into the US, how much easier will it be to prosecute the higher-ups at Linden?

    31. Re:Credit where credit is due by Dimentox · · Score: 1

      Actually, there are alot of us who RP in SL w/o the sex. Check out the Toxia Sim. I scripted a combat system, and we have rp going on constantly. So no SL is not just for Sex or money. Its actually quite entertaining to rp in a free form env. Instead of MMORPGs where everything is so hardcoded.

      --
      string sig = llGetSig("dimentox"); llSay(0,sig);
    32. Re:Credit where credit is due by Ash-Fox · · Score: 1

      Moving the servers doesn't solve the problem of the credit card companies not allowing their US customers to make charges.
      Nope, but everyone else will be able to continue doing charges. I'm not too concerned about US customer ability since I don't live there, nor intend to.

      Then there's also the problem of being arrested ... if they were willing to arrest a British citizen (who ran gambling servers that were NOT in the US) who flew into the US, how much easier will it be to prosecute the higher-ups at Linden?
      Wasn't that British citizen providing that 'illegal' service to US users?
      --
      Change is certain; progress is not obligatory.
    33. Re:Credit where credit is due by MilenCent · · Score: 1

      That could be the case, if Linden Labs themselves plan on shuttering the doors permanently upon Second Life's demise. Otherwise they'll destroy their reputation as responsible virtual world stewards.

      In fact, if the illusion is shattered for Second Life, it would harm confidence in all VWs that seek to be anything more than MUDs or graphical MUDs. Linden Labs still has a fairly positive reputation, so for them to suddenly turn evil, it'd do more than wreck confidence in that one company, but in the idea that a company can be a responsible steward of a virtual world at all.

      Whether one can be or not, I don't rightfully know.

  4. Duh! by Anonymous Coward · · Score: 0

    Duh!

  5. What happened to Mono? by IL-CSIXTY4 · · Score: 4, Interesting

    There was talk about converting the server-side scripting engine to Mono, with huge (50x) performance gains. There was supposed to be a LSL->CIL compiler at first, then libraries for other .Net languages. Has anyone heard anything about this recently?

    1. Re:What happened to Mono? by Erbo · · Score: 3, Informative

      It's still being worked on, and, in fact, there have been some recent developments that have moved this work forward significantly. See this entry by Babbage Linden on the Official Linden Blog from last month for more details. It involved finding a memory leak in the Mono runtime which would have caused memory usage in the simulator code to grow unacceptably over time. LL personnel like Babbage worked closely with Mono team members to resolve this.

      --
      Be who you are...and be it in style!
  6. Has anyone.. by Anonymous Coward · · Score: 0

    Has anyone written a webserver in it yet?

    1. Re:Has anyone.. by Ash-Fox · · Score: 1

      Has anyone written a webserver in it yet?
      There is no socket functions in LSL. You can however accept XML-RPC requests in a script.
      --
      Change is certain; progress is not obligatory.
    2. Re:Has anyone.. by Nurgled · · Score: 1

      I'm not sure how exactly it works, but the InfoNet project provides a world-wide bulletin board of sorts that operates completely inside the virtual world. It's centralized, though. It'd be neat if someone could develop a proper decentralized network, but now that you can make arbitrary HTTP requests from LSL scripts there doesn't seem much point when you could just use the real Internet.

  7. As clear as mud by Linker3000 · · Score: 3, Funny

    "A compiler is a piece of software that takes the text version of the script and converts it into something that can actually run."

    Glad that's all cleared up!

    --
    AT&ROFLMAO
    1. Re:As clear as mud by StarfishOne · · Score: 2, Funny

      *Compiles Forrest*

      *Done*

      Run Forrest, Run! :D

  8. what a strange summary by aluser · · Score: 2

    The summary quote uses 108 words to explain that there exists a compiler for this language.

    1. Re:what a strange summary by jfengel · · Score: 5, Informative

      The article isn't much better. It spends a lot of time going over what most Slashdotters already know, like what an "integer" is, and very little on what's novel about a scripting language for an interactive world (or whatever you want to call Second Life.)

    2. Re:what a strange summary by MrJozef · · Score: 1

      The summary quote uses 108 words to explain that there exists a compiler for this language.
      And then still calls it a scripting language :(
    3. Re:what a strange summary by seaturnip · · Score: 2, Insightful

      Yeah, all I'm interested in hearing about is, why is it necessary to have a special-purpose language for Second Life in the first place? Is there a good reason or is it just Not-Invented-Here syndrome? Why not use Lua (a simple, extensible language commonly used to script games) or something instead?

    4. Re:what a strange summary by UbuntuDupe · · Score: 1

      Yeah, when I played SL back in '03, it was rather easy to learn LSL. If you know C++, you're basically set.

      First thing I did was make a listening bug to spy on people. Hope they've handled that problem since I left...

    5. Re:what a strange summary by MilenCent · · Score: 1

      Scripting languages run scripts, no matter what the nature of those scripts may be. Many such languages do some degree of compiling internally, these days.

      The determiner of whether it is a scripting language is not its basis, but what it does, whether it orchestrates the behavior of other objects, things like files and programs, according to what looks like a "script."

    6. Re:what a strange summary by Gorobei · · Score: 1

      Right. The scripting language seems like a typical home-made C clone: Lua, Python, etc, would do just as well with less cost to all involved.

      I was hoping to see a langauge that really captured the concepts of virtual worlds and actors. LSL ain't it.

    7. Re:what a strange summary by angel'o'sphere · · Score: 1

      The article is quite oki imho, and yes it explains what your follow up is asking: Is there a good reason or is it just Not-Invented-Here syndrome?

      And furthermore I doubt that many /. ers know what the special thing about LSL is.

      In short: LSL is a state machine and event based program language.

      Events are what are methods in an OO language. In game objects have various standard states and standard events like "touch" and you can script the behavior for events and state changes.

      Actually its a quite nice language and I would love if parts would get incorporated into Java e.g.

      angel'o'sphere

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    8. Re:what a strange summary by angel'o'sphere · · Score: 1

      LUA is not used to script games but to script UIs of games.

      LUA is a pascal like imperative (procedural) language, while LSL is basically a state machine, aka special purpose programming language.

      In an interactive object world, object states and their interaction events are far easier to map to a special purpose programming language, than it is, e.g. to register a LUA function for each event you are interested in.

      And bottom line, except old fashioned /. ers, no one really wants to program in pure procedural languages except he really must. Code reuse via cut and paste simply sucks to much.

      angel'o'sphere

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    9. Re:what a strange summary by WilliamSChips · · Score: 1

      Actually, Lua(which isn't an acronym) is a dynamic enough language that you can use their "tables"(which are the same as dictionaries/maps/associative arrays/whatever else they're called) to make working object-orientation.

      --
      Please, for the good of Humanity, vote Obama.
    10. Re:what a strange summary by jfengel · · Score: 1

      That's what I wanted the summary to say. And I wanted the article to say what kinds of events are unique to Second Life, how event processing in LSL is different from event processing in other languages, etc.

      Be careful what you wish for in wishing to add features to languages. Java, for example, already has an event model. It's not as succinct as in a language designed explicitly for it, but when you add to much to a language it makes it hard to read and hard to get started in. That didn't stop Perl, but most language designers are much happier with a minimal set of constructs that do just the right things.

    11. Re:what a strange summary by jfengel · · Score: 1

      Join a theater troupe. Works for me.

    12. Re:what a strange summary by makomk · · Score: 3, Informative

      The summary quote uses 108 words to explain that there exists a compiler for this language.

      The compiler sucks. For example, when you define a vector, it generates three "float literal" instructions rather than one "vector literal" instruction. This means that 2 instructions and 2 bytes more code than necessary are generated for each vector literal in the code (similarly with quaternons/rotations). (Remember, there's a 16Kb per script limit for code+data.) As a second example, there are two types of instruction for transferring data from the stack to local/global variables - store and pop (which is equivalent to a store, followed by a drop). For one, the compiler only ever seems to use the "pop" variant, whilst for the other it always uses a "store; pop" pair (despite this being inefficient) - I've never seen a lone "store".

      Also, the goto is broken - due to a compiler bug/design error, only the last jump to a particualr label actually does anything. (The code for matching gotos to labels can only track one goto for each label.) This is a long-standing and well-known bug which I doubt would be difficult to fix, yet no-one's bothered.

      There are also other useful instructions which are never used (such as various dups, an instruction for setting the instruction pointer directly - making jump tables/efficient switch statements possible - and an instruction for freeing arbitrary amounts of stack quickly). The compiler never optimises anything, either. It's why I don't hold out much hope for speed improvements from Mono (and indeed, the predicted improvements mostly vanished when they started running actual LSL scripts with it.)

    13. Re:what a strange summary by Ash-Fox · · Score: 1

      LUA is not used to script games but to script UIs of games.
      Oh nos! I wrote a MUD engine that used Lua for scripting rooms, objects, mobs etc.

      Now it's going to implode on itself!

      In an interactive object world, object states and their interaction events are far easier to map to a special purpose programming language, than it is, e.g. to register a LUA function for each event you are interested in.
      Event handlers aren't hard to add in Lua in my opinion.
      --
      Change is certain; progress is not obligatory.
    14. Re:what a strange summary by Ash-Fox · · Score: 1

      Right. The scripting language seems like a typical home-made C clone: Lua, Python, etc, would do just as well with less cost to all involved.
      I'm not too sure on the memory usage of other scripting languages. LSL was designed to be compiled in bytecode (like python) and then executed in virtual machines. The maximum amount of memory a script can use (including it's bytecode) on SL is 13kb. Are you sure the alternatives would be able todo the same LSL can do within the same memory constraints?

      Anything I can look at to compare with?
      --
      Change is certain; progress is not obligatory.
    15. Re:what a strange summary by Gorobei · · Score: 1

      I'm not too sure on the memory usage of other scripting languages. LSL was designed to be compiled in bytecode (like python) and then executed in virtual machines. The maximum amount of memory a script can use (including it's bytecode) on SL is 13kb. Are you sure the alternatives would be able todo the same LSL can do within the same memory constraints?

      Anything I can look at to compare with?


      Pretty sure. Most stack-based VMs (Smalltalk-80, Forth, Python, etc) are approximately equivalent (with a factor of 3) in terms of memory and CPU efficiency.

      One nice thing you get with the bytecode VM/many user processes approach is that you can write a better memory allocator than general C: assign each user process a fixed block of RAM (say 16K,) and repoint malloc to just grab a block from this space, repoint free to do nothing. Just kill any user process that goes over bounds. It's a fast mempool approach that avoids fragmentation on long running servers.

      Do the same thing for CPU: just kill any user process that eats more than 1M bytecode executions. You're now well on your way to a serious server running several hundred thousand untrusted user processes.

    16. Re:what a strange summary by Anonymous Coward · · Score: 0

      QQ more crybaby. If you were the least bit hardcore you'd be writing code using your own homemade assembler.

    17. Re:what a strange summary by Nurgled · · Score: 1

      At least this is one problem that can be addressed by hacking the open-source viewer; the compilation's done client-side, so you wouldn't need any LL co-operation to use and distribute an improved compiler.

    18. Re:what a strange summary by Anonymous Coward · · Score: 0

      How do you propose doing that within Second Life? What they implement serverside is all we have to work with. We can't run arbitrary code on their servers. LSL only, LSL compiler only.

    19. Re:what a strange summary by angel'o'sphere · · Score: 1
      Yeah sure,

      Sorry. Surely you can use and surely there are games I'm not aware about that indeed use LUA as scripting language. The question is, if that is the language wise best solution. Implementation/problem wise it might be. After all its a free (as in money) language with a wide availability of interpreters/programmers and libraries.

      Event handlers aren't hard to add in Lua in my opinion.
      Arg, thats not what I said! Programming event handlers in LUA is an outdated programming model. And thats not bound to LUA, programming event handlers in any procedural language is repetitive and boring and is on the lowest level of abstraction thinkable. Its just the same boring thing like writing C++ code that implements GUI event handling in MFC, manually. No one really does that, because event handling tables are a mess.

      If you use LUA or Pascal or C you always have code similar like this one:

      environment.registerHandler("OBSCURE_KEY_FOR_MY_EV ENT", myLUAFunction);
      ... where the LUA function has to implement a certain signature.

      This I have to do in EVERY module, that is interested to intercept that particular event.

      In a language like LSL I "overwrite" the event just as I would overwrite a method in a derived class. No registration necessary. For your MUD an OO scripting language would surely simplify a lot.

      angel'o'sphere
      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
  9. I'm not so sure. by maxwell+demon · · Score: 2, Insightful

    In the future, it is likely that the compiler will move from the viewer into the Second Life simulators, but where the code is compiled isn't very important.

    Well, if it is running on the simulators, the simulated humans might be given access to it, and thus being able to script their own lifes!
    Well, maybe I should try if those scripts already work on our world! :-)
    --
    The Tao of math: The numbers you can count are not the real numbers.
    1. Re:I'm not so sure. by StarfishOne · · Score: 1

      Well, maybe I should try if those scripts already work on our world! :-)

      I would like to suggest to start your experiments by looking up suitable scripts at sites about "dating", "how to meet hot women", "NLP" and so on. ;-D

    2. Re:I'm not so sure. by Laserwulf · · Score: 1

      Well, if it is running on the simulators, the simulated humans might be given access to it, and thus being able to script their own lifes! Well, maybe I should try if those scripts already work on our world! :-)

      How the HELL did this get modded "insightful"???
      --
      "Make cyberlove, not cyberwar!" -Khaed(544779)
  10. the summary: intro to computers by mrcdeckard · · Score: 4, Funny


    hello class, this is a COM-PU-TER. computers run a set of instructions called a PROOOGRAAAM. programs are nothing but 1's and 0's. heheheh, but we don't program in 1's and 0's, we program in a language, such as linden script. another computer program, called a com-pi-ler, compiles the script into a format the computer can understand. ok, class, this is a DISK DRIVE . . .

    sheesh, i thought this was /.

    (actually, it must be -- even *I* am complaining about the summaries...)

    mr c

    --
    "Physics is like sex. Sure, it may give some practical results, but that's not why we do it." - R. Feynman
  11. Who is this Dr. Dobb? by gandracu · · Score: 1, Funny

    And why is he allowed to publish his journal if he doesn't know when to use "it's" vs. "its"?

    1. Re:Who is this Dr. Dobb? by elrous0 · · Score: 1
      Probably for the same reason that you're allowed to post here without realizing that a quotation mark at the end of a sentence should contain the sentence punctuation.

      -Eric

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
  12. If it controls every aspect of (Second) Life... by dws90 · · Score: 0, Troll

    Can I use it to make me that father of Anna Nicole Smith's baby?

    1. Re:If it controls every aspect of (Second) Life... by gardyloo · · Score: 0, Offtopic

      Can I use it to make me that father of Anna Nicole Smith's baby? I can't believe your posting got moderated as a "Troll". Especially since it's currently right below the posting mentioning flying penises. I sense a fortuitous collaboration!
  13. Arf by Anonymous Coward · · Score: 1, Funny

    Doesnt the C in C# stand for Canines? Everyone keeps saying its a language to sink your teeth into.

  14. Python and Perl Can Compile by plasticsquirrel · · Score: 1

    Compilation is also very possible with Python (Freeze, cx_Freeze, py2exe, and PyInstaller) and Perl (Perl2Exe, PerlBin). I'm not sure exactly why they're reinventing the wheel with this scripting language, because compilation is not a unique feature by any stretch of the imagination.

    --
    Systemd: the PulseAudio of init systems
    1. Re:Python and Perl Can Compile by maxume · · Score: 1

      The python stuff you listed isn't really compilation, they all take script files and bundle them in a file with an interpreter(python scripts are compiled into an intermediate byte code before they are executed, but that happens whenever they are run). I think the Perl stuff is the same, but I am not sure.

      They create independently executable files, but they aren't compiled in the same sense as C or whatever.

      --
      Nerd rage is the funniest rage.
  15. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  16. JIT do? by DrSkwid · · Score: 1
    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  17. Not a very good article... by Cereal+Box · · Score: 4, Funny

    I was expecting a tutorial on how to program an army of flying penises to interrupt a virtual press conference...

    1. Re:Not a very good article... by Anonymous Coward · · Score: 0

      I'd prefer a talking penis with a katana wired up to a nuclear bomb that delivers pizza...

  18. Re:and more by maxume · · Score: 1

    http://codespeak.net/pypy/dist/pypy/doc/news.html
    http://mark.dufour.googlepages.com/

    are also among the many python->machine code projects.

    --
    Nerd rage is the funniest rage.
  19. I do a pretty good bit of LSL... by FishWithAHammer · · Score: 3, Informative

    ...or have done, really. The language is a bastard child of C, basically. Its major problem is its lack of arrays; you have a strange construct called a list that sort of does the same thing, but I really don't know why it's there instead of arrays. LSL is fairly underpowered. What I've taken to doing is using its HTTP system, though, to ping my web server, do something, and feed it back into the game. To do anything really impressive with LSL, it does seem to take an outside server to do the heavy lifting. It's kind of fun, though...

    --
    "You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
    1. Re:I do a pretty good bit of LSL... by Anonymous Coward · · Score: 0

      Its major problem is its lack of arrays; you have a strange construct called a list that sort of does the same thing
      You crazy fool, they're both linear data structures that have similar interfaces. You lose random access with lists, but you gain the ability to add an arbitrary number of elements. One could easily rephrase your sentence as:

      C's major problem is its lack of built-in lists; you have a strange construct called an array that sort of does the same thing.
    2. Re:I do a pretty good bit of LSL... by WilliamSChips · · Score: 1

      Linked lists are simple enough to add to C that you can add them basically as if they were builtin. Actually, arrays in C are just a simpler syntax for pointer arithmetic. Also: Python arrays have both random access and arbitrary addition. Quis ridet nunc?

      --
      Please, for the good of Humanity, vote Obama.
    3. Re:I do a pretty good bit of LSL... by PostPhil · · Score: 1

      Linden Labs chose the familiar C/C++ style syntax to make things comfortable for the greatest majority of programmers. But scripting is a high-level task, so in some cases it is more practical to use some features of more dynamic languages. There is nothing exotic about a "list" (i.e. dynamic heterogenous arrays). Quite a few languages have it, and Python in particular actually calls their version a list and is also enclosed in brackets too. At the *high-level*, there is nothing an array offers over a list, although arrays have been around longer in lower level languages and will of course run faster.

      But I definitely agree about the "bastard child" part. LSL seems to have made a laundry list of requirements and then plucked the features from other languages without making it all coherent. It tries to look like a traditional static language like C, but then adds dynamic-language features without having a clean way to manage them. Their "list" isn't very flexible compared to real languages that have them, string manipulation is a PITA, and retrieving data with XMLRPC seems to be the best way to actually store any data. Worst of all, the scripts don't always react to stimulus in a timely manner or at all. It's sometimes hard to tell whether the script is buggy, the function has been disabled by LL, or it just decided not to work, try again in 30 seconds.

    4. Re:I do a pretty good bit of LSL... by Anonymous Coward · · Score: 1, Informative

      Also: Python arrays have both random access and arbitrary addition.
      You don't get both for O(1) though. The interface can have both but you're paying for one of them. Lists you pay O(n) for random access and arrays you pay O(n) for arbitrary insertion since you need to copy the whole thing.
    5. Re:I do a pretty good bit of LSL... by makomk · · Score: 2, Informative

      You crazy fool, they're both linear data structures that have similar interfaces. You lose random access with lists, but you gain the ability to add an arbitrary number of elements.

      Actually, LSL's lists do have efficient random access. The main catches are that they're immutable, which means that every time you want to change anything you have to copy the list (which is, of course, limited by LSL's 16Kb memory limit), and that you can't have lists of lists. (Also, their implementation of lists isn't particularly space efficient - each entry has to have its own heap entry, complete with a 7-byte header, and the list is an array of 4-byte pointers to the heap, giving 13 bytes/entry total overhead.)

    6. Re:I do a pretty good bit of LSL... by Ash-Fox · · Score: 1

      and that you can't have lists of lists.
      You can, but you need to improvise slightly.

      <list name> += llDumpList2String(<list that should go into this list>,"|");
      --
      Change is certain; progress is not obligatory.
    7. Re:I do a pretty good bit of LSL... by makomk · · Score: 1

      <list name> += llDumpList2String(<list that should go into this list>,"|");

      Yes, but that's not so much a list of lists as a list of pipe-deliminated strings. (BTW, I don't think it would be particularly difficult for them to implement lists-of-lists - they don't have to worry about circular references due to the aformentioned immutability, the design of lists makes it easy to add lists as an item data type, and the reference counting is probably mostly implemented already.)

  20. Interregional physics by fm6 · · Score: 1

    Each simulator runs everything for 16 acres of virtual land -- buildings, physics, and of course, scripts.

    I've never done 2nd life. What happens if you stand at the border and throw a rock into the next region?

    OK, I guess there's probably some handoff mechanism. But I have to say that I find the "physics" of 2nd life disappointing. In the real world, there's an enormous cost in time and energy in moving stuff from place to place. That's an important part of our economy. In 2nd life, they've gone to a lot of trouble to create a serious economic system — but you can still wave your hands and move around arbitrarily — even fly.

    1. Re:Interregional physics by DaleGlass · · Score: 1

      Objects get frozen as they're transferred to the next region then resumed when they get there.

      But I don't understand why would you want completely realistic physics. Some amount of physics is a good thing, as it allows for example creating realistic vehicles. But SL is its own world, there's no reason to impose limitations on it that don't have a reason to exist in it. The things that make the world more fun get added, the ones that don't, don't.

    2. Re:Interregional physics by Nappa48 · · Score: 1

      ITS A FREAKIN GAME!
      Its not meant to recreate the laws of physics exactly, if it did, it would never be as popular as it is (becoming).
      We wouldn't be able to do all the neat things a "world with no boundaries" should allow if it was the same.

      The matrix isn't for a little while yet, just be patient...i'm already taking the necessary steps >_>

    3. Re:Interregional physics by fm6 · · Score: 1

      I'll say it again, then give up: having a cost to moving things in space and time has economic impact. Second life places a big emphasis on economics.

    4. Re:Interregional physics by fm6 · · Score: 1

      ITS A FREAKIN GAME!

      Gee, thanks for clearing that up. BTW, do you know who's buried in Grant's Tomb? That's always confused me.

      Games have rules, and the choice of rules is what makes the game interesting or boring. By leaving an important economic factor out of an economic game, Second Life has made itself rather less interesting.

    5. Re:Interregional physics by DaleGlass · · Score: 2, Insightful

      So?

      SL has a service based economy. There isn't a shipping industry in SL because it isn't needed. But there are plenty services being offered. If you pay me enough L$ I could script something for you. There are people who will build custom objects, draw graphics, make custom avatars, etc.

      RL physical constraints aren't needed in SL to have an economy. Time still is money. Skill still takes effort to develop.

      The RL constraints gave us the RL economy, the SL constraints result in a slightly different one. There's no reason why the RL world is the only way of having an economy.

    6. Re:Interregional physics by edschurr · · Score: 1

      Well, that may be a good thing. I'd love a complex and familiar economy, but there is a potential problem in implementing such an economy into a computer game: the most boring thing in MMORPGs is the grind. If transporting goods is a grind then who needs it. But if such an activity were scriptable it might work. However, I don't know what sort of economy emerges when robots do all the boring stuff.

      Never played Second Life, btw.

    7. Re:Interregional physics by swordgeek · · Score: 1

      You've made a good point, but now you're hanging onto it as if it is The Truth, without doubt.

      The game is, in fact, a game. In many ways it's a simulation of real life, but not in all ways. Since there are no physical constraints, there are no 'essential' rules. Gravity? Optional. Shipping costs? There's nothing to ship, therefore no costs required.

      Having a cost to move things in space and time DOES have economic impact. So does NOT having a cost to move things in time and space. You're deleting one real life modeling variable in your simulation. That makes it less authentic as a simulation, but may in fact lead to such things as the exploration of pure skill-based economies.

      Think of it as experiment: What could things be like if we didn't have that constraint? It's worth playing with, even if just for
      fun.

      --

      "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
    8. Re:Interregional physics by fm6 · · Score: 1

      You have a good point. It's much too easy to get bogged down in detail. I guess where I'm coming from is the desire to wander and explore. That's always my favorite part of any "adventure" game. If you can magically transport yourself anywhere, it takes away all the fun.

    9. Re:Interregional physics by fm6 · · Score: 1

      Jeez, dude, now you're the one who seems to have forgotten It's Just A Game.

    10. Re:Interregional physics by Nappa48 · · Score: 1

      ...you actually dislike the game because gravity is nearly non-existent?

      oh wow... i..i seriously don't know what to say to that.

      You actually want the game to have gravity, that would remove most of the fun and freedom from the game. The game was built based on being able to do anything (almost..actually scrap that, anything).

      Having gravity would seriously slow down everything and make it boring, enough for most to quit.

      You think people would sit and build up the stuff thats in the game if gravity was a factor in the game? HELL NAW, people would get pissed off at it, not to mention how slow the game would run, do you realise how hard it would be to process gravity on most of the things in game for second life?

      As i said, sit down, and wait a little while till the Matrix comes out, i will make sure you are a King when it happens, happy?

    11. Re:Interregional physics by fm6 · · Score: 1

      The game was built based on being able to do anything (almost..actually scrap that, anything).
      Are we talking about the same game? The one where you can't build a house unless you buy land first?
    12. Re:Interregional physics by Anonymous Coward · · Score: 0

      The owner of each parcel of land can choose the limitations, including disabling flight. Also a lot of zones have structures up in the air (you can make objects up to 4096 units in to the air, though your avatar can only go up to around 170 above the ground on its own (using a flight script, an aircraft, or a make-shift transporter allows you to ignore that limit, and go up to nearly infinite heights (recently I was in a weapons zone and someone hit me with an orbit weapon that sent me to several 100,000 units into the air, which really sucked (if I had a warp object set up I could have easily shot straight back down to the land, or just teleported to an neighboring zone and walk back in, though I did the lazy way and flew back down at insane speeds). There is a LOT to explore in SL, the quality of the sims vary massively, since most all of them are created by end users. Some of the really awesome ones I've been to are The Ivory Tower of Primitives (tutorial on making stuff, the building is really awesome looking), The Particle Labortory (and the other places in that Sim were awesome as well), and Overdrive Island (really awesome city type area that I believe was largely inspired by Ghost in the Shell as well as various other anime series). And no, I'm not associated with any of those areas (though I am a customer of C-Tech on Overdrive Island, really awesome avatars there).

    13. Re:Interregional physics by SirTalon42 · · Score: 1

      Actually you can apply gravity to objects if you set them to Physical. Of course if everything was physical then all of the flying cities would come crashing to the ground and a lot of the realistate in Second Life would be lost (unless you put a script on every object in the air that just constantly set their position, which would look horrible since everything would stutter, and the grid would probably explode in a beautiful, yet deadly, fire ball.

    14. Re:Interregional physics by Nappa48 · · Score: 1

      ..you can still build one without land.. just as long as nobody sees you >_>
      Sky ftw! (i mean above the sky limit, just set your height manually)

    15. Re:Interregional physics by fm6 · · Score: 1

      So, basically, you're saying that there are no rules at all in 2nd Life. Sounds pretty boring.

    16. Re:Interregional physics by Nappa48 · · Score: 1

      Well there are rules... just that most smart people tend not to follow them >_>
      Just manually set your height in someones area above the limit and bham, there you go.
      That person in the CNET interview with the flying penises (forgot her name) apparently lets anyone build on her areas. You can also just use a sandbox, even know they are reset every so often, but thats why you group and save things you build!

  21. Holy crap what happened to DDJ? by Tim+Browse · · Score: 1

    I turn my back for a couple of years and they're publishing articles where the authors find it necessary to explain what types like integers and floats are?

    1. Re:Holy crap what happened to DDJ? by Bill,+Shooter+of+Bul · · Score: 1

      Yeah, I was thinking about checking old DDj out to see if its worth subscribing again. Thanks for saving me the trouble slashdot!

      --
      Well.. maybe. Or Maybe not. But Definitely not sort of.
    2. Re:Holy crap what happened to DDJ? by edschurr · · Score: 1

      This article doesn't seem to be in the print version of DDJ.

  22. Using print publishing delays for web articles... by sstamps · · Score: 1

    The LSL Wiki http://www.lslwiki.com/ went down permanently in mid-January when a new, more stable wiki was started as a part of the official Linden Lab Wiki http://wiki.secondlife.com/.

    In its defense, it did say it was a "primer", targeted at beginners. Chances are, it was lifted from the SL book itself.

    LSL has a lot of limitations, some of which can be gotten around. However, the biggest issue is that LL is constantly breaking crap in their futile effort to scale their unscalable grid design to support the "millions of new residents" brought in from all the hype.

    --
    -SS "Teach the ignorant, care for the dumb, and punish the stupid."
  23. I get it now by Anonymous Coward · · Score: 0


    A compiler is a piece of software that takes the text version of the script and converts it into something that can actually run.



    So that's what a compiler does\ldots

  24. BTW, it is Linden Lab, not Linden Labs by notthepainter · · Score: 1
    Really, there is no 's' in the name of the company that created Second Life.

    It is Linden Lab not Linden Labs.

    Pau aka Seeker Gray

  25. yeah give SL access to your bank account... by Anonymous Coward · · Score: 1, Interesting

    I just signed up with SL - I notice they want some heavy access if you are using paypal...

    PAYPAL BILLING AGREEMENT FOR PREAPPROVED PAYMENTS

                      This Policy was last modified on August 1, 2006

    1. General Agreement between Buyer and Merchant
    A merchant with specific transactional needs may ask you to enroll in a PayPal Billing Agreement. When enrolling in any Billing Agreement with a Merchant, you are giving that Merchant permission to access funds from your PayPal account according to arrangements made between you and the Merchant. If you enroll, you are giving the Merchant the ability to charge your PayPal account on a one-time, sporadic, or recurring basis until you cancel the specific Billing Agreement from the PayPal website. PayPal facilitates the transaction between you and the Merchant, but does not enforce contractual obligations for payment from you or for delivery of goods or services by the Merchant. Any grievances may be addressed according to PayPal's Buyer Complaint Policy.

    2. Waiver of Advance Notice
    When a merchant charges your PayPal account, and PayPal withdraws funds from your bank account, you have the right to insist on 10 days' advance notice before the payment is pulled from your bank account. This is designed to protect you as a consumer from insufficient funds charges. By signing up for this Billing Agreement, you are agreeing to get this advance notice only when your total payments to a merchant exceed the billing limit. At any time, you may set another funding source as your preferred method of payment or you may disable your bank account entirely from all Billing Agreements. To do so, please click the 'Edit Funding Sources' link below or access your account profile.

    3. Specific Billing Agreement
    Each Merchant must secure your acceptance of the Billing Agreement independently. Each Billing Agreement is only effective for the single Merchant with whom it was entered into.

    4. Funding Source Use
    When the Merchant charges your PayPal Account, PayPal will always attempt to withdraw funds from your PayPal balance first. If funds in your balance are insufficient, PayPal will look for and attempt to charge a Preferred Funding Source that you have set up for a specific Billing Agreement. You will have the option to select a Preferred Funding Source during enrollment, and can update or deselect this Preferred Funding Source at any time through the PayPal website. If the Preferred Funding Source fails (for example, a credit card expires), then PayPal will use other available funding sources within your PayPal Account. You will have the ability to disable funding sources for use with all Billing Agreements, with the exception that if you have one or more credit or debit cards linked to your PayPal account, then at least one of those cards must be enabled for billing. You will be able to disable or enable funding sources for use with all Billing Agreements both within the enrollment flow, and from the Account Profile on the PayPal website.

    1. Re:yeah give SL access to your bank account... by Anonymous Coward · · Score: 0

      Ummm, thast's all Paypal's crap, not Linden's. For those unfamiliar with Paypal, it's that thing that exists to serve as an overpaid middleman so you don't have to share your financial details with merchants, and which also sucks. If you use a normal credit card, it works as painlessly as any other online card purchase.

  26. Second Life employs Leisure Suit Larry? by Pluvius · · Score: 1

    And to do all of the world scripting, no less? No wonder that place is full of perverts!

    Rob

  27. SL scripting = teh suq by jasonhamilton · · Score: 1

    While it's been a few months since I last used SL, the scripting language leaves much to be desired.

    It is EASY for someone to write a script that bogs down the server. Also scripts can be automated and self replicating. There was a problem a while back (Not sure if it's still an issue) about someone writing scripts that fly around really high (higher than a normal user can go without scripting super powers into a worn object) scanning land blocks for land for sale. It then alerted the owner of the script if anyone mistakenly setup some land for sale really cheap. It would randomly lag everyone as it passed by. The flying object was not just set really high in the sky, but also invisible. Since it moved at such speed, it took a while for people to even come to the conclusion that they even existed.

    Fun stuff.

    --
    SearchIRC - Now with live chat directory!
  28. Re:Using print publishing delays for web articles. by Ash-Fox · · Score: 1

    However, the biggest issue is that LL is constantly breaking crap in their futile effort to scale their unscalable grid design to support the "millions of new residents" brought in from all the hype.
    Only thing I've noticed they've broken is the online detection when you query the dataserver (which isn't something that's used in the majority of scripts anyway). Other than that -- I really can't think of anything else.

    Care to enlighten me?
    --
    Change is certain; progress is not obligatory.
  29. Unseen aspect by Anonymous Coward · · Score: 0

    What surprised me in SL.. was how easy I can understand objects and their parralel states... when i see them in 3D during development.. someone can say its small unimportant feature.. but i can understand much better code once i see it deeply 360.

    If somebody does massive parallel application.. try second life as your design playground .. but probably they use already some better 3d code visualisation

  30. ok, only two questions by octogen · · Score: 1

    1) How do you make something like a really big gun that can shoot things in second life?
    2) Where is the microsoft headquarters in second life? ;-)

  31. Not at all. by Anonymous Coward · · Score: 0

    If you understand the fundamental concepts, learning the particular syntax of any given language is not a big deal at all. And the idea that creating a language specifically suited for a task is bad is crazy. Creating languages is very easy if you do it intelligently (linden did not of course). Using languages which make compiler/interpreter creation easy like ML makes this downright trivial. You end up saving alot of time writing the ideal language and using that vs making do with a language that is not designed for the task at hand. Do yourself a favour and read SICP. Or if you like, take the opencourseware version of the class: http://ocw.mit.edu/OcwWeb/Electrical-Engineering-a nd-Computer-Science/6-001Spring-2005/CourseHome/

  32. No! Bad dog! by Anonymous Coward · · Score: 0

    I am hitting you with a rolled up newspaper right now. A list is not a dynamic heterogenous array, its not even close. First of all, lists contain all the same thing, just like arrays do. If you want to have a list of different things, you need to use a list of variant types (or their shitty half-assed C version unions). Second, its not a dynamic array, that's a vector. An array is a contigous block of items, accessed in 0(1) time, but cannot be inserted into. A list is individual items, each containing a pointer to the next. This makes access O(n) but insertion is now possible (and 0(1)). Faking insertion with an array involves creating a new array and copying the old contents with the new elemented inserted into it.