Arch Linux

Posted in Uncategorized with tags on January 2, 2011 by billmagee

It is a wise man who is able to look his own deficiencies in the face. Recently I have discovered that I am a distroholic. I simply cannot stop downloading Linux distros and running them in VirtualBox.

Usually, this is a harmless habit, but every now and then it results in a lost weekend (like so many habits).

Last weekend I discovered Arch Linux. I spent all weekend wiping computers and reinstalling Arch. Now I am the proud possessor of two laptops running this simple, lightweight Linux distribution.

Arch is a beautiful and elegant distro. Although all Linux distros give you control over your system, I finally feel completely in control of my computer.

Check out the website for Arch Linux here. Have a lost weekend!

#! Crunchbang

Posted in Uncategorized with tags , , , on November 19, 2010 by billmagee

Here at Wamlabs we believe in freedom of choice, and we always choose GNU/Linux.

Recently I acquired an Asus U45JC laptop eqipped with Nvidia Optimus. Optimus is a proprietary Window$ software that switches graphics functions between onboard Intel graphics and a Nvidia Geforce card. Linux users cannot access this card nor even turn it off. Nvidia’s despicable plan is clear: force all users to use W7. But I am not willing to become a Window$ mind-slave just to get better graphics. Onboard graphics will have to suffice (and they are not bad), until that happy day when brave Linux hackers break through the Optimus defenses. Just be careful when you buy your next laptop that it does not have this unfortunate technology in it.

Saddened by the efforts of corporate jackals to make a buck by limiting my personal freedom of choice, I fought with VirtualBox. VirtualBox allows users to run operating systems in a virtual machine without actually accessing the computer hardware. See www.virtualbox.org. With VirtualBox in place I went distro-hopping at DistroWatch and began downloading free operating systems. A great variety of Linux distros are available these days. Even if you are a Window$ user you can have the greatness of GNU on your computer with VirtualBox, all for free. In fact, you should install Linux in a VirtualBox if only order to surf the net without acquiring nasty viruses, trojans, and spyware.

Since I usually run the latest Ubuntu, I test-drove some excellent non-Ubuntu operating systems: Linux Mint, Linux Mint Debian Edition, Sabayon (Gentoo-based), Archlinux, Archbang, a distro I put together myself on the openSuse build service, and finally #!Crunchbang. All of these distros are reviewed on the web, so I will only say here that each and every one of them is far superior to anything Micro$oft has to offer.

I finally decided to commit to #! Statler Alpha 2 64 bit, a Debian Squeeze distro running Openbox. #! Statler is fast, fully-functional, and very stable. It boasts a famously friendly and knowledgable online community. Except for the fact that I had to install it from a CDROM instead of the more usual USB drive (some glitch I could not resolve) #! has been a peak OS experience. Perfect for marginal machines like my eeepc 901 and lightning-fast on newer machines like this laptop. See crunchbanglinux.org.

Openbox has also been a great pleasure. It is a no-desktop windows manager that I am now using not only on #! but also to replace Gnome on my desktop Ubuntu Maverick machine. It is infinitely configurable through XML files. What joy! See urukrama.wordpress.com/openbox-guide/.

The moral of the story is, software is like sex: it’s better when it’s free.

OpenSim Tibetan Classroom

Posted in Uncategorized with tags , on January 11, 2010 by billmagee

OpenSimulator is a BSD Licensed Open Source virtual world capable of supporting standalone or grid-structured servers. Dharma Drum Buddhist College is currently running the Diva distribution of OpenSim on an Ubuntu 9.10 server.

The OpenSim Tibetan Classroom is a virtual environment for learning the Tibetan language. Facilities include:

  • TibSlate Realtime Writer
  • Cube of Tibetan Consonants
  • Tibetan Number Puzzle and Grammar Verse
  • The Collected Topics Set Arbiter
  • Wall of WylieWriters
  • Preset WylieWriter Lessons (with and without audio)
  • Tibetan Tutorial Viewscreen

Download the Tibetan Classroom OAR file: If you are running OpenSimulator and would like to have your own copy of the OpenSim Tibetan Classroom, you may download it here.

Students and teachers are also welcome to visit and use the Tibetan Classroom in Second Life: Catocala Region (167, 122, 600).

Helpful links:


Download the Diva distribution.

Consult the OpenSim Wiki.

Read about the OSGrid Open Metaverse.

Digital Resources for Buddhist Studies

Posted in Uncategorized on October 26, 2009 by billmagee

Lately I have been blogging about writing the Buddhist canonical languages in Second Life and OpenSim over at the Digital Resources for Buddhist Studies blog.

My colleagues over there are mainly database guys, so I thought a little metaverse chit-chat might liven things up.

Enjoy your digital resources!

Installing OpenSim-0.6.7

Posted in Uncategorized with tags on October 17, 2009 by billmagee

In my previous post I installed the Diva distribution of OpenSim and began porting my Tibetan language objects into it from Second Life. This has gone well. I have my complete Tibetan classroom running here behind the firewall on Dharma Drum Mountain. Diva has run splendidly. The only problems I have encountered involve saving and loading OARs (opensim archive files). There is a bug such that the OAR loads fine in the root region (SW) but loading an oar file in the other regions causes aproximately 30% of its prims to become phantom. See the bug report here: http://opensimulator.org/mantis/view.php?id=4163

Since I need to exchange OARs with other users, I decided to pass beyond the Diva distro by downloading and compiling the latest OpenSim release: opensim-0.6.7.

This tutorial is very limited: it will describe how I installed a standalone instance of OpenSim onto my Acer laptop running Ubuntu 9.04, mono 2.0.1, and MySQL. If you already use Ubuntu with these packages installed, read on. If you lack these packages or if you want a grid architecture instead of a standalone, I suggest you consult the OpenSim wiki: http://opensimulator.org/wiki/Main_Page

Ubuntu users will also need to install these compiling tools:

sudo apt-get install mono-devel libmono-microsoft8.0-cil libmono-oracle2.0-cil nant

Use MySQL or phpmyadmin (or some other MySQL manager) to create a MySQL database named opensim or such. It does not need to be populated with tables at this point. I named my new database “opensimRelease” to differentiate it from my “opensim” diva database. Make sure you have privileges.

Download opensim source code from: http://dist.opensimulator.org/opensim-0.6.7-release.tar.gz

Unzip it into its own directory somewhere controlled by you.

Then compile:

$ ./runprebuild.sh
$ nant

If there are problems with the compilation, the problem may be your mono installation. Consult the internet. But if all went smoothly, you will need to configure for a standalone server. Begin by copying the OpenSim.ini.example file to an operational ini files:

cp OpenSim.ini.example OpenSim.ini

Now you will edit the ini file.

In OpenSim.ini all references to databases should look like this:

storage_plugin=”OpenSim.Data.MySQL.dll”
storage_connection_string=”Data Source=localhost;Database=yourdatabase;User ID=root;Password=yourpassword;”;

Use XEngine:

DefaultScriptEngine = “XEngine”

This is my network section:

[Network]
ConsoleUser = “Test”
ConsolePass = “secret”
http_listener_port = 9000
default_location_x = 1000
default_location_y = 1000
http_listener_ssl = false ; Also create a SSL server
http_listener_cn = “localhost” ; Use the cert with the common name
http_listener_sslport = 9001 ; Use this port for SSL connections
http_listener_ssl_cert = “” ; Currently unused, but will be used for OSHttpServer
grid_server_url = “http://172.30.102.148:9000”
grid_send_key = “1234”
grid_recv_key = “1234”
user_server_url = “http://172.30.102.148:9000”
user_send_key = “1234”
user_recv_key = “1234”
asset_server_url = “http://172.30.102.148:9000”
inventory_server_url = “http://172.30.102.148:9000”
messaging_server_url = “http://172.30.102.148:9000”

Kill the evil dotnetengine:

[ScriptEngine.DotNetEngine]
Enabled = false

Now the StandaloneCommon.ini must be edited:

cp StandaloneCommon.ini.example to StandAlone.ini

edit it:

StorageProvider = “OpenSim.Data.MySQL.dll”
ConnectionString = “Data Source=localhost;Database=yourdatabasename;User ID=root;Password=yourpassword;”

At this point you should be able to run ./OpenSim.exe from the bin. It will ask you questions about your region. Your answers create a /bin/network/network.ini file. It should be configured like this:

[MY Cool World]
RegionUUID =
Location = 1000,1000
InternalAddress = 0.0.0.0
InternalPort = 9000
AllowAlternatePorts = False
ExternalHostName = your machine’s IP // Note: not 127.0.0.1
MasterAvatarFirstName = Master
MasterAvatarLastName = Avatar
MasterAvatarSandboxPassword = password

If all goes well you will be rewarded with a console prompt. Your region is now ready for use. Visit it with the SL client or Hippo (my favorite). Make sure your loginuri is set to http://127.0.0.1:9000 or whatever your setup demands.

More regions can be added in the /bin/regions/regions.ini file. Each region needs a unique UUID (get them here: http://www.famkruithof.net/uuid/uuidgen) and the coordinates and ports must be increased incrementally. For instance, in the next region the coordinates might be 1000,1001 and the port might be 90001.

Now that I have OpenSim running in standalone mode, my next steps will be to configure it for grid mode and connect my world to the OSGrid.

Added next day: Sucessfully configured the installation to run in grid mode. The process is straighforward. All errors involved wrong port numbers, so be careful about ports. See the Grid Mode section of the wiki:

http://opensimulator.org/wiki/Configuration

Moving to OpenSim

Posted in Uncategorized with tags on October 6, 2009 by billmagee

Wamlabs Mediatronics has been involved in virtual reality education since 2007. One of our projects, the Hopkins Tibetan Treasures Multimedia Archive (http://haa.ddbc.edu.tw), boasts an innovative eLearning platform for teaching Tibetan language in Second Life (http://www.secondlife.com: Catocala 176,107,600). Tibetan students worldwide visit and use this unique facility.

Now, WLM boasts its own OpenSim (http://opensimulator.org/) virtual platform, currently running in stand-alone mode behind the Dharma Drum Buddhist College (Taiwan) campus firewall. We have begun porting the Catocala installation into this sim (using the XML capabilities of the Open Source Meerkat Viewer), and students have successfully connected to our virtual world via their own personal computers.


opensim_terrain

Terraforming without limitations

OpenSim is a BSD Licensed Open Source virtual world capable of supporting standalone or grid-structured servers. OpenSim is written in C#, and can run under Mono or the Microsoft .NET runtimes. Our sim is running the Diva distribution (http://github.com/diva/diva-distribution/downloads) of OpenSim on a normal desktop machine running Ubuntu 9.04. Unlike other OpenSim distributions for linux, Diva is pre-compiled. Installation of the Diva software under Ubuntu is relatively straightforward assuming that the host machine already has a fully-functional Mono installation for LSL script comilation and MySQL database to manage persistence.


Wamlabs OpenSim home

Wamlabs OpenSim home

OpenSim has numerous advantages over the Second Life platform. Site administrators have complete control over all aspects of the sim. There are no corporate-imposed limitations on build size or number of prims allowed in-world. Entire regions can be backed up in XML format to the local hard drive for archival purposes or public distribution. Because it runs locally it is private and free of lag. Upgrades are handled seamlessly by the Diva distro. Since the software is cross-platform, an instance of OpenSim can be installed on almost any machine with two or more gigabites of RAM. Most importantly, it is Open Source and completely free.

Of course, there are disadvantages as well. The current release of OpenSim is alpha. Compared to Second Life, it has limited scripting and voice functionality and users must rely on forums and chat rooms to resolve bugs and other problems. However, these issues are being addressed by the core software developers. OpenSim is certainly usable now, and looks to become fully functional in future releases.

Our future plans include connecting our OpenSim to the OSGrid archipelago (http://www.osgrid.org/elgg/), expanding its size beyond its current four regions, and hosting classes, conferences, and “visiting” dignitaries on our private, Open Source, virtual campus.

Download the Diva distribution here:
http://github.com/diva/diva-distribution/downloads

Consult the OpenSim wiki here:
http://opensimulator.org/wiki/Main_Page

Read about the Open Metaverse here:
http://www.osgrid.org/elgg/

A Tibetan Language Classroom in Second Life

Posted in Second Life with tags on April 12, 2009 by billmagee

I am pleased to announce the opening of the first Tibetan Language Classroom in Second Life.

Tibetan Classroom in Second Life

Tibetan Classroom in Second Life

This digital language-learning platform offers all of the pedagogical advantages of Second Life plus the following Tibetan-specific facilities:

* a programmed object (the Cube of Tibetan Consonants) for learning the Tibetan consonants;

* a programmed object (the Sliding Number Puzzle) for learning the Tibetan numerals;

* a configurable wall (the Wall of Wyliewriters) which parses Wylie Transliteration input into Tibetan;

* 28 pre-programmed lessons for the Wall of Wyliewriters;

* Yang-jen-ga-wa-lo-dro’s “yi ge’i thob thang nyer mkho rab gsal me long” (accessible when the Sliding Number Puzzle is solved);

* a mediatron for playing machinima tutorials;

* 3 machinima tutorials giving detailed explanations on using the facilities (see my web page);

The Tibetan Language Classroom in Second Life can be visited in the Catocala region (172,112,600). Feel free to test-drive the Cube, Puzzle, and Wall. Anyone who would like to conduct classes in the facility or who would like a free copy of the programmed objects should contact Wam7c Macchi in Second Life or email me:

William Magee, Ph.D.
Dharma Drum Buddhist College
Jinshan, Taiwan
billmagee@ddbc.edu.tw

Here is a link to the video: Tibetan Classroom in Second Life. Or view it from my web page.

Follow

Get every new post delivered to your Inbox.