May 29, 2006

Sakai Fun Facts (approximate)

Three large-scale Production sites with > 50,000 users (UNISA, IU, and UM)
Over 20 pilot production installations with > 100 users
Over 200 Sakai servers installed worldwide
Over 20 staff at institutions around the world work on Sakai > 75% of the time
Over 100 staff around the world work on Sakai at > 10% of their time
Sakai collaboration site has 1421 users.

Posted by csev at 10:26 AM

May 26, 2006

Clay Fenlason's "About Sakai"

I laughed until I cried when I read this one-upmanship response from Clay to Open Forum.

(At the Sakai Conference in Vancouver)
After the karaoke contest, and before the hockey game, there's also
going to be an open-mike poetry reading.** In preparation for this
I've been doing research on Sakai metaphors and allusions, just in
case it dissolves into a freestylin' throwdown and I need more
ammunition. I went to wikipedia for my research, and I've learned
that the name has indeed a rich and storied tradition. For example:

"Saburo Sakai was a Japanese fighter ace during World War II. On
August 8, 1942, during the air group's first missions of the battle of
Guadalcanal, he was seriously wounded in combat with Douglas Dauntless
dive bombers. Although suffering from a serious head wound and blind
in one eye, he managed to fly his seriously damaged Zero back to
Rabaul, where he insisted on making his mission report to his superior
officer before collapsing. He was invalided back to Japan where he
endured a long surgery without anesthesia."

This one's easy: Sakai does indeed teach us fortitude through agony.
But I'm having a harder time coming up with meaningful interpretations
for these others:

"Masaaki Sakai is a Japanese popular performer from Tokyo. He fronted
the mod-rock group The Spiders, formed in 1962, whose popularity
lasted throughout the 1960s, spawning several hit songs and five
films. He created a dance called "the Monkey" which became a craze in
Japan."

A modder, hmm, Peacock-ish dandies, scooters. Maybe something in
there I can use about natty sophistication and battling uncouth
"Rockers." Or I can just go low-brow and fall back on the monkey
angle.

"Noriko Sakai is a J-pop singer and actress. Her debut single was
released nine days short of her sixteenth birthday. The name of that
song was "Otoko no Ko ni Naritai" (I Want to Be a Boy)."

OK, someone help me out here.

~Clay

** wink

Posted by csev at 01:37 PM

About Sakai

This was brought to my attention by Daniel Memmi from University of
Quebec at Montreal.

The city of Sakai in Japan is a very unique town. It was the only
"free town" in Asia during the middle ages when Europe was creating
"free towns" ( http://en.wikipedia.org/wiki/Burgh). The town of Sakai
(http://en.wikipedia.org/wiki/Sakai%2C_Osaka) was the only town of
this type in Asia.

Since Sakai was a "free town" it became very wealthy and was a big
trade center in Japan.

So another view of Sakai is that it is an oasis of freedom in an area
where the surrounding ares is controlled by an Emperor.

Other more intellectual folks than me can likely make this much
clearer and better grasp the deep and groovy symbolism that is here.

Posted by csev at 01:34 PM

May 17, 2006

Apple XServe and MySql Notes

How to make MySql start on Boot:

Set MYSQL=-YES- in the /etc/hostconfig file.

How to make it so folks other than mysql and Root can run the mysql command:

sh-2.05b# chmod 775 /var/mysql
sh-2.05b# ls -ld .
drwxrwxr-x 10 mysql wheel 340 May 17 16:02 .

How to make it really let you use 3306:

sudo vi /etc/mysqlManager.plist

Change "no" to "yes" and reboot. (10.4.5 xserve and higher)

http://gwhiz.wordpress.com/2006/03/02/mysql-tiger-server-1045-and-mysqlmanagerplist/

Posted by csev at 04:27 PM

May 14, 2006

IMS Common Cartridge in Sakai Notes (IMS CC)

svn co https://source.sakaiproject.org/contrib/migration/branches/ims-common-cartridge

diff -r ims-common-cartridge/legacy/tools/ sakai-2.1.2-imscc/legacy/tools/

cp ims-common-cartridge/legacy/tools/src/java/org/sakaiproject/tool/sitesetup/SiteAction.java sakai-2.1.2-imscc/legacy/tools/src/java/org/sakaiproject/tool/sitesetup/SiteAction.java

cp ims-common-cartridge/legacy/tools/project.xml sakai-2.1.2-imscc/legacy/tools/project.xml


diff -r ims-common-cartridge/legacy/tools/ sakai-2.1.2-imscc/legacy/tools/

mkdir sakai-2.1.2-imscc/import

cp -r ims-common-cartridge/import/* sakai-2.1.2-imscc/import/

cd ims-common-cartridge

cp -r ims-common-cartridge/import/* sakai-2.1.2-imscc/import/

cd sakai-2.1.2-imscc

maven sakai


neted

Posted by csev at 09:48 PM

Pluto 1.0 Notes


charles-severances-computer:~/dev/pluto csev$ maven fullDeployment


PortletEntityRegistryServiceFileImpl.java Reads the file
./portal/src/webapp/WEB-INF/data/portletentityregistry.xml



testsuite

testsuite.TestPortlet1

TEST
TEST_VALUE
ANOTHER
false

and ./portal/src/webapp/WEB-INF/data/xml/portletentitymapping.xml

charles-severances-computer:~/dev/pluto/portal/target/WEB-INF/config csev$ vi services.properties

org.apache.pluto.portalImpl.services.config.ConfigService = org.apache.pluto.portalImpl.services.config.ConfigServiceImpl

org.apache.pluto.portalImpl.services.log.LogService= org.apache.pluto.portalImpl.services.log.LogServiceImpl


org.apache.pluto.portalImpl.services.factorymanager.FactoryManagerService = org.apache.pluto.portalImpl.services.factorymanager.FactoryManagerServiceImpl

org.apache.pluto.portalImpl.services.portletdefinitionregistry.PortletDefinitionRegistryService = org.apache.pluto.portalImpl.services.portletdefinitionregistry.PortletDefinitionRegistryServiceContextImpl

org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegistryService = org.apache.pluto.portalImpl.services.portletentityregistry.PortletEntityRegistryServiceFileImpl

org.apache.pluto.portalImpl.services.pageregistry.PageRegistryService = org.apache.pluto.portalImpl.services.pageregistry.PageRegistryServiceFileImpl

charles-severances-computer:~/dev/pluto/portal/src/java/org/apache/pluto/portalImpl/services csev$ ls
ConfigurationException.java ServiceManager.java factorymanager pageregistry portletentityregistry
Service.java config log portletdefinitionregistry

Posted by csev at 09:47 PM

Pluto 1.1 Notes

http://hnsp.inf-bb.uni-jena.de/pluto/gettingstarted_1.1/

svn co http://svn.apache.org/repos/asf/portals/pluto/trunk pluto-1.1

http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-2.0-bin.zip


vi .bash_login

PATH=$PATH:/Users/csev/dev/maven-1.0.2/bin:/Users/csev/dev/apache-ant-1.6.1/bin:$COG_INSTALL_PATH/bin:/usr/local/mysql/bin:/Users/csev/bin:/usr/local/bin:/Users/csev/dev/maven-2.0/bin

162:~ csev$ mvn --version
Maven version: 2.0

162:~/dev/pluto-1.1/pluto-1.1 csev$ mvn install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Apache Pluto
[INFO] Pluto Descriptor Service API

mvn pluto:install

Posted by csev at 09:45 PM

May 13, 2006

Don't compile Sakai with maven 1.0 - use 1.02 at least

If you see a bunch of messages that look like this:

BUILD FAILED
File...... /Users/csev/.maven/cache/sakai-2.0.0/plugin.jelly
Element... maven:reactor
Line...... 34
Column.... 6
The build cannot continue because of the following unsatisfied dependencies:

sakai-gradebook-app-business-.jar
sakai-gradebook-service-api-.jar
sakai-gradebook-service-hibernate-.jar
sakai-gradebook-service-impl-.jar
sakai-sections-api-.jar
sakai

Then you need to upgrade your maven to at least 1.0.2.

The problem is that the file

~/dev/sakai/gradebook/app/proect.xml

Extends

~/dev/sakai/gradebook/project.xml

Which extends

~/dev/sakai/master/project.xml

Which reads

~/dev/sakai/master/project.properties

And finds this property:

sakai.version=dev

The problem is that in Maven 1.0 the inheritance path does not find the properties and so the jars are improperly named.

In Maven 1.0.2 this all works.

I was scratching my head for a few days on this one.

Posted by csev at 06:39 PM

May 09, 2006

What is Next for MP3 Players

Bluetooth headsets so you can use with your phone or your MP3 player.

This will trigger a whole new generation of "the coolest" MP3 Players.

Posted by csev at 05:06 PM

May 08, 2006

WSRP to 2.2

Some Notes. Mostly cruft.

Dependencies Added for 2.2
sakai-tool-api
sakai-tool-util
sakai-site-api
sakai-util-api

Dependencies Removed for 2.2
sakai-session
sakai-active-tool
sakai-id
sakai-thread_local
sakai-legacy-service

Make sure this is OK.

+++ src/java/org/apache/wsrp4j/producer/provider/sakaiproject/driver/SakaiPortlet.java (working copy)
@@ -234,6 +234,7 @@
{
p = new org.sakaiproject.util.Placement(
IdManager.createUuid(),
+ tool.getId(), // Added for 2.2
tool,
getConfiguration(false),
defaultContext,
Index: src/java/org/apache/wsrp4j/producer/provider/sakaip

Posted by csev at 08:36 AM

May 07, 2006

Making an ISO from A Mac

http://www.macosxhints.com/article.php?story=20031225124417353


dd if=/dev/disk1s0 of=x.iso bs=2048

Insert a new disk - Press "Ignore" when finder dialog popps up.

Start Disk Utility

Press "Burn" icon - Navigate to the iso and select it.

Press "Burn" button.

Posted by csev at 12:32 PM

May 04, 2006

My notes going to 2.2

I don't have Eclipse - vi is my IDE so I had to hand-edit some import statements. Here are my rules so far. I do not sugest these are perfect.

I am sure there are more - these are the ones I came across while doing the .jws files.

I like the rename - things are shorter and less wordy.

Simple remappings/rename (do these first)

.session. -> .tool.
.authzGroup. -> authz
.security. -> authz

Sometimes we had an import like

import org.sakaiproject.util.xml.Xml;

We removed the little extra "xml"

util.X.Y -> util.Y

More changes:

service.legacy.X -> X.api

service.legacy.X.cover -> X.cover

api.kernel.X -> X.api

service.framework.config.cover -> component.cover

Posted by csev at 07:24 PM

May 03, 2006

Clearing the Favicon Cache

And learned how to clear Safari's icon cache

http://www.askdavetaylor.com/
can_i_selectively_remove_safari_favicon_icons.html

$ rm -v `find ~/Library/Safari/Icons -type f -print | xargs grep -l localhost`

Posted by csev at 12:15 AM

Making the JSF File in Master

presentation
syllabus
roster
help
profile

roster uses myfaces. Is this needed?

../../master/sakai-jsf-sun-ri-tool.xml

Posted by csev at 12:10 AM

Lance Helped Me on Eclipse

Subclipse
http://subclipse.tigris.org/

Help -> Software Updates
http://subclipse.tigris.org/update_1.0.x/

File Import


Window -> Preferences -> Java -> Build Path -> Class Path Variables

MAVEN_REPO
/Users/csev/.maven/repository

Posted by csev at 12:09 AM