Showing posts with label codepoetry. Show all posts
Showing posts with label codepoetry. Show all posts

Sunday, January 2, 2011

Networked Communication of Second Life® Objects using LSL, php, and MySQL.

In 2009, I was tasked with the creation of a new donation system for American Cancer Society's Relay For Life of Second Life. The 2010 system was very robust and fast with new features, one being the real time updates of team totals. To accomplish this, I created a Hub and Spoke network communicating to the kiosks from a centralized database using the LSL HTTP server method.

I believe my method to be very fast, stable and scalable. I have detailed how I accomplished it in the below paper.

Networked Communication of Second Life® Objects using LSL, php, and MySQL.

Wednesday, March 24, 2010

Ada Lovelace Day

In honor of Ada Lovelace Day, I post an essay I wrote for an Ada Exhibit that took place in Caledon in July of 2008.

-=[Ada Lovelace, Queen of Engines, Queen of my Heart]=-
-=[Poetical Science and the Art of CodePoetry]=-


It is a sad tale to be separated from your soul mate by 120 years. But that is the way I feel about Lady Ada and me. The roads we have traveled has lead us to many of the same places. Though divided by the centuries she has set the path before me and I have walked it. You can say Lady Ada drew the plans, but I have been able to build it. She was the daughter of Lord Byron the Poet. Her mother, fearing that Ada may become a poet schooled her in science and mathematics. Even so, she still inherited the soul of a poet asking her mother, “if you can't give me poetry, can't you give me "poetical science?" “ In the same way I approach writing computer programs an artistic pursuit which I call “CodePoetry”.

During Ada's lifetime, Charles Babbage designed a machine called the Analytical Engine. This machine if built would have been the worlds first general purpose computer. Capable of performing any computational task, like the computer that sits on your desk today. The leading experts of her time saw the Analytical Engine as a means of calculating numbers flawlessly taking the tedium and error out of number crunching. Ada on the other had, saw the potential of Analytical Engine writing, "the Engine might compose elaborate and scientific pieces of music of any degree of complexity or extent."

But Ada was not a flighty poet by any means she had the training and knowledge of an accomplished mathematician and a grasp of computing beyond that of many of her peers. In a translation of a paper on the Analytical Engine by Luigi Menabrea she appended notes that were longer than the original paper itself, and in one of these notes included a method for calculating Bernoulli numbers on the Analytical Engine. It is this program that is considered today to be the world's first computer program.

I carry on this tradition every time I write a new computer program that for a moment in time is the world's latest computer program. And the Spirit of Ada guides me in my pursuit. Creating CodePoetry, is not simply programming, it is programming in a certain mindset, focusing on elegance, efficiency, and ingenuity. It is programming as an artistic pursuit, not as a technical science.

Though the writing of CodePoetry is an artistic pursuit, it is by no means extravagant or sloppy. It is based on certain rules (as all programs are) so the foundation must be extreme technical skill, once mastering the rules, one can learn to bend them, but never to the point of breaking (for if you break a rule, your program won't compile!).

I see writing CodePoetry as akin to playing improvisational jazz, or the architecture of someone like Frank Lloyd Wright, with a strong foundation of technical skill, going in an unexpected direction, and arriving at beauty.

It was Ada that first envisioned arriving at beauty with a computer, I like to think my centuries-separated soul mate smiles on me and I make her proud realizing her dream she had so long ago today.

-- ZenMondo Wormser
July 19, 02008.
Caledon Steam Sky City

Tuesday, January 8, 2008

Adventures of the CodePoet: SkyDancing

In spring of 2006, I was still starting out as a CodePoet, and I found myself living in a small artist's community named Grainne O'Malley. A small Irish village, and I was given an apartment rent free above an art Gallery. I would be a resident CodePoet for the village, where the other artists could come to me for their scripting needs. It was a good beginning.

One day, at the end of April, a new artist came to Granny. Tall, wearing a black & yellow jumpsuit. This was Dancoyote Antonelli. He was opening a small space in Granny to show his work.

Soon he approached me for some scripting. On May 2, 2006 DC and I entered into a formal arrangement for some pretty simple scripts, for a very low price, L$300. He drew up a contract for this job, and this surprised me -- all my other work had been done with handshake deals. But I accepted, and he even named our partnership: ZenCoyote Ltd.

I later found out that it was less a job and more of an audition to see if we could work well together. I must have passed, for here we are in 2008, and DC & I are STILL collaborating.

Our latest collaboration is the THIRD incarnation of the ZeroG SkyDancers perfomance entitled Second Spring. I am the technical director of the SkyDancers, and provide most of the scripted elements for the performance. This latest production sees some of our best work yet.

DC also has me working as a host for these shows, greeting, and getting people seated, and helping with client settings. The show runs through March, and I do encourage you to come if you can. If you do make it, you will most likely see me there.

Here is the trailer for Second Spring:

Friday, August 31, 2007

Enter the Bibliomancer: A new career for the CodePoet

ZenMondo Wormser of the Library Militant
Photograph by Lady Lavendar Beumont


I try to make it known that I am willing to serve my nation in whatever means possible. Usually this involves me employing my trade as a CodePoet, providing codepoetry for various things around Caledon. If it benefits Caledon, my services have been gratis. It was in this spirit, that JJ Drinkwater approached me with work for the library.

He seemed to be pleased with my work, and offered me a continuing relationship with the Caledon Library by inducting me into the Library Militant. In so doing I have taken my vows of Literacy, Obstinance and Bibliomancy, and received the livery (see photo, above). I will receive my Orders at a later time. My responsibilities will primarily being supporting my current work, taking on more work as needed or consulting on any scripting work that needs to be done. I am happy to do it and my heart soars to serve my community this way.

At the urgings of Mr. Drinkwater, my work for the Caledon Library will all be released open source under a Creative Commons license. I needed a little urging in this direction, as my work is valuable for the most part, and this will prevent me from reselling it to other libraries and interested parties. But Mr. Drinkwater convinced me that it was for the greater good to put GOOD code out there for others to learn from and use. Once the scripts are deployed in the library, I will be posting them to various wikis and the scripting library forum. For doing this, JJ as styled me as an Information Hero, but really I am just doing what I feel is the right thing.

Tuesday, August 14, 2007

An island of Caledon in a Hyperformalist Sea

Long ago, before I even heard of Caledon, I lived with a small community of artists in a small Irish village named Grainne O'Malley. It was rent free, the only condition was to create art. I soon settled in as the resident CodePoet, providing scripts for the other artists in residence. This was the first time I started having a steady income from scripting in Second Life, and I started learning a lot. Then I met Dancoyote Antonelli, who had a small gallery in Granny, and needed some scripting to be done. A simple teleport system for his Museum in uvvy, (the first of many I think), and something to hand out a landmark and notecard. Simple stuff, I didn't charge him much, but he insisted on writing up a contract and naming our partnership ZenCoyote Ltd. At the time I had done everything by handshake deal, and this felt kind of weird to me, but I did it. Little did I know that these small jobs (which lead to my first build, a scripted 2 prim pop up invitation) was really an audition to see if we would work well together. Best I can reconstruct that was May of 2006. Here we are a year and a quarter later, and our partnership is still going strong. I don't even know how many scripts I have provided for Dancoyote's artwork, and I don't feel like counting. But they have been numerous and varied.

DC has just opened an exhibit called “Full Immersion Hyperformalism” in the sim of Arts and Letters, filling the entire sim with his artwork. http://slurl.com/secondlife/Arts%20and%20Letters/45/133/707/

A brief word about Hyperformalism. I have been living with it, helping DC realize it in my own small way (I am not the artist, just a tool like a brush, or as DC has called me his "sixth finger") I have my own understanding of it, and I probably get it more than most, but if I try to explain I am sure to get something wrong, so I will quote the artist himself on the topic:

"Hyperformalism is formalist abstraction in hyper medium. By turning off rendering of facsimiles of real life, an eerie surreal space for viewing art is created where things no longer conform to the field of view of your avatar and where scale and context are no longer measured against the arbitrary figurative standard. "

In short, the Art that DC exists for the most part could not exist in the real world. Coming to Arts and Letters, you will see nothing that is not hyperformalist -- nothing familiar to the real world -- except, off to one side, a small Victorian cottage.



Dancoyote has decided to honor me and my contribution with a small space that represents me.
It was his idea to populate a small Victorian Cottage with little things and doo-dads to represent Zen, the CodePoet. He knows I strongly identify as Caledonian, so a small Caledonian island in a sea of hyperformalism is the Zen Exhibit. Which can be found at:

http://slurl.com/secondlife/Arts%20and%20Letters/203/224/295/

It is a small space that says "me" So its a house by Coyote Momiji, Furniture by Desmond Shang, and little trinkets of mine scattered about of my creations. Such as a Quizaphone (Build by Alfonso Avalanche), A portrait of Ada Lovelace that says a poem when you touch it, A clockwork heart, an Omnilocator Device and an Apple II (all built by Drystan Knight), My Cheshire Cat (built by RyanRabbat Bunyin), and my Music Box (built by ME(!)).

But do come and see the rest of the show as well, there are little pieces of my soul throughout the sim. DC says there are about 4000 scripts running and I figure about 99% of them are mine in his artwork.

All of the stuff I must stress is DC's vision and work. I just write the scripts, I have no say in how he uses them. :) In fact I am often suprised to see my little creations used the way he does. Its a true synergistic relationship, I could not do what he does with my scripts and he could not not do them without my scripts in them. One of the things there though is an item I worked very hard on. The ZenCoyote Pixel Board.



This was actually built mostly by me. Its 200 prims, and 100 scripts are needed to make it work. I hope you will come play and draw on it. I did a lot of work on it, but the vision was DC's. With the pixel board I was realizing the artist's vision. DC has named it a social expression appliance. Basicaly you can draw little pixelated drawings on the small control board which are then seen on the large Display board.

There are many wonders to behold here, I am happy to have done my small part, and that DC has seen fit to honor me so with a small space in his exhibit.

Monday, May 14, 2007

Opening a business

I have often said that I am not a merchant. I write Bespoke Codepoetry (custom scripting) I don't sell stuff. Often one will try to entice my services or lower my fee by entreating that I could resell thier project and make *. (where * can be "a mint" "lots of money" "a million linden dollars" etc.) When I suggest a license where THEY sell it, and give me a percentage, thier enthusiasm seems to diminish.

Well Then there was SteamSkyCity, and it got me to thinking about things steampunk. I always thought it would be nice to have a shoppe, and I started going through my inventory and trying to see what scripts I could put into steampunk inspired builds. I was inspired, and I got on the waiting list for SteamSkyCity, and started work. SteamSkyCity was delivered, and I opened my doors to ZenMondo's CodePoetry & Steamworks.


The Proud CodePoet in front of his shoppe


My first repackaging of a Script in a steampunk housing is the ZenMondo's Steam-Powered Clockwork Kinotoscope. The script is based on the TVs I scripted for Sun Microsystems, that you can see at thier pavilion. The Build is by the Talented Cornelia Rothschild, based on a sketch I gave her. She did a fantastic job realizing my vision. She wanted to do it first for trade for a script, but then she got what she needed elsewhere, and she would not think of charging me for the build! Well I showed her, I set up my vendor to pay her a comission with ever sale.

The SPCK is configurable by notecard and can hold 22 videos or streams. It sets up your media texture automaticaly. All controls are done with a menu you get simply by touching the SPCK.


The next invention to get the SteamPunk Treatment is ZenMondo's Clockwork Quizaphone. Again this is based on a script I was originaly hired by Sun Microsystems to write. They wanted a Java Quiz, and instead of hard-coding a quiz, I made a modular, configurable system. The upside is that I have a quiz system that is infinatly upgradable, able to conduct any quiz fed to it via notecard. I provide a small handful of quizzes to get one started as well as instructions on how to write your own. As more quizzes become available I will provide them in my shoppe free of charge. ALSO I will pay a L$100 bounty for any quiz submitted to be distributed with the Quizaphone.

The Build is by Professor Alfonso Avalanche. Based on a Wax Cylinder Gramaphone he had previously built, adding a microphone horn and a bell (which lead me to adding the ringing of a bell in the script!). The Professor also wanted to donate the build for free, but I convinced him to allow me to pay him a commission with every sale. (What is it with Caledonians and wanting to work for free?)


My third housing is an old script in a new steampunk housing. My "talking body part" attachment Becky's Heart has been transformed into a creation of brass and gears and is now Becky's Clockwork Heart. The original was a gift for my then Girlfreind, Becky Book. This was in my time B.C. (Before Caledon). Basicaly its a little menu driven emote system, letting ones "heart" speak for you. It also listens on a channel relaying what is said, allowing you to make the heart say whatever you want.

This build was made by the talented Drystan Knight (who also did all these signs). Becky as co-inventory gets a fifty percent comission, and Drystan gets a cut as well, and whats left over I keep.









This one doesn't need steampunk housing, as its an invisible product. You wear ZenMondo's No Touchy Parts, in lieu of the more intimate offerings by xcite et. al. If someone chooses to get fresh with you and click your person in a most untoward manner, they will be pushed away (in push enabled land) and a message, "No Touchy " will be said. Letting everyone know just what kind of cad they are.






Thats all the products I have downstairs. More will be on the way. I have a Cheshire cat in my shoppe, (invisible most of the time, but will appear for you if you come near) I am unsure if I will be selling him or not, I am letting him hang out in my shoppe to see if there is any interest, but I fear he is unnoticed by many. I need to make some kind of visible draw to bring people to that part of the shoppe I guess. More thought about it. I mean, why would anyone walk up to an apparantly empty crate?

So comes what I sell Upstairs.

Namely, Myself. Though the products seem fun and all, my real joy is writing Bespoke CodePoetry for people. Its my bread & butter. I always say the hardest part of programming is the ideas, and I am more than happy to bring other people's ideas to life. I have done small quick jobs, and jobs that have taken a month to realize, and everything in between. I am thinking the stuff I sell downstairs though good stuff, is really more of an advertisement for my scripting prowess. When it comes down to it, I am the real product.

So I am quickly running out of prims (I fear I have to get rid of my 23 prim winged leather chairs upstairs) but I hope to have more product in the upcoming weeks, including two "freebies" A Mailbox and a tip jar (steam-powered ofcourse), as well as my A-Life Goldfish, if I can find a good build to house them in (read lower prim).

I am not looking to become rich as a merchant, its just for fun, and a fun thing to do in a very fun space that is SteamSkyCity. If I make enough to cover rent I am happy, and even if I don't, I am content.

Saturday, May 5, 2007

About CodePoetry

-=[ About Code Poetry ]=-

A tenet of the Hacker Ethic is, "You can create art and beauty on a computer." This is abundantly clear in Second Life, but not so much when I was learning to program on very limited resources. The first computer I programmed on (at age 6!) was an Apple II+ with 48Kb of RAM, and a processor running at 1 Mhz. Even in High School, we were still in the land of 640k of RAM on PCs. It's true that even then you could create art and beauty on a computer, that others could appreciate, but the real art, the real beauty, could be the underlying code -- the CodePoetry.

Creating CodePoetry, is not simply programming, it is programming in a certain mindset, focusing on elegance, efficiency, and ingenuity. It is programming as an artistic pursuit, not as a technical science.

Though the writing of CodePoetry is an artistic pursuit, it is by no means extravagant or sloppy. It is based on certain rules (as all programs are) so the foundation must be extreme technical skill, once mastering the rules, one can learn to bend them, but never to the point of breaking (for if you break a rule, your program won't compile!).

I see writing CodePoetry as akin to playing improvisational jazz, or the architecture of someone like Frank Lloyd Wright, with a strong foundation of technical skill, going in an unexpected direction, and ariving at beauty.

If you chose to hire me for your project, you are not just hiring another scripter, I will approach your assignment with an artist's eye, and a poet's soul, and deliver you a thing of beauty.

All my scripts come with lifetime technical support, and I am not done until you are satisfied!

-- ZenMondo Wormser