For me, one of my personal holy grails has been the elimination of all frames – another step has been taken in that direction and is now in the trunk of Sakai for you to use and play with. Over the past few weeks I have been working on changing the Sakai PDA portal to eliminate the *last* frame and blend the navigation of Sakai with the tool.
Here is a picture of frameless Sakai running on the PSP and some pictures of the portal running on my Treo.
http://www-personal.umich.edu/~csev/images/2007/04/DSC01054.JPG
http://www-personal.umich.edu/~csev/images/2007/04/DSC00039.JPG
http://www-personal.umich.edu/~csev/images/2007/04/DSC00041.JPG
http://www-personal.umich.edu/~csev/images/2007/04/DSC00043.JPG
I got a PSP for my son Brent yesterday for his birthday and he was quite unhappy as I immediately took it from him for several hours as I tested it out on the new Sakai frameless PDA portal. He will be even less happy if I tell him I need to take his brand-new PSP to the IMS Learning Impact meeting all next week so I can do demos. :)
Author Archives: Charles Severance
Thoughts on How Many Conferences
This is a proposal I sent to the Sakai Foundation Board as to my thoughts on whether or not we should have one or two large Sakai conferences per year. Since there is a public discourse on this now, I will put it up on my blog.
Sometimes it is the Simplest Thing…
We depend too much on automatic things like maven and ant sometimes and forget how to to the simple things. For example – how do you compile a java program on the command line and use a jar like jdom-1.0.jar and then run that with the java command finding the dependencies in the jar.
rm *.class
javac -extdirs . HelloWorld.java
java -cp .:jdom-1.0.jar HelloWorld
Sometimes it is the Simplest Thing…
We depend too much on automatic things like maven and ant sometimes and forget how to to the simple things. For example – how do you compile a java program on the command line and use a jar like jdom-1.0.jar and then run that with the java command finding the dependencies in the jar.
rm *.class
javac -extdirs . HelloWorld.java
java -cp .:jdom-1.0.jar HelloWorld
How to Copy a File in Apple’s Finder
This may seem obvious but it needs to be documented so I can refer back to it later.
The way you copy a file from folder to another folder on Apple Mac OS/X in the finder is to hold down the option key while dragging the file.
It is hard to find documentation on something this simple – so I am providing this blog entry as a public service and as a personal reminder to save me a minute or so re-deriving it.
Funny how this is so much simpler in the Terminal program where you type “cp ” and then drag the file into the terminal window then type ” .” and enter. :)
Defragmenting my MacBook Pro with iDefrag
I just defragmented my MacBook pro with iDefrag – and the simple answer is that I should have gotten this a long time ago. I do a lot of video and a lot of development and my drive runs between 75% – 85% full all the time.
I used the variant of iDefrag that makes a boot ROM and then can totally defrag my disk. It was horribly fragmented – particularly the free space.
My main issue was that I could not keep up with capture (on a dual 2GHz Intel!) and lost frames.
Once iDefrag came up it was clear – there was no real clear free space so it was seeking like crazy and not able to keep up with frames – reminds me of the old days with a PC :)
iDefrag of my 90GB out of 120GB took about 5 hours with a cool picture all the time so you don’t get nervous. On reboot all is well. I will likely defrag after every large media project from this point forward.
I really need to get a 200GB drive to do all this video :)
How to Integrate an External Tool In Sakai
The Question:
The trickiest one is tool integration: how do you integrate non-Sakai tools into the framework? I know this is complex (probably why I put it off for so long). Are there recognised steps required to integrate a non Sakai tool. I know this also depends on the type of tool and what integration really means, lets assume for now that the tool needs to know enough about Sakai to behave like a native tool.
Of course, Plan B in all of this would be to write a portlet wrapper around the tool and just plug it in to 2. 4. Would this approach introduce any limitations on what could be integrated and the level of integration?
iFrames are gone in the PDA Portal
It took less than 24 hours :)
I have code that I will check into trunk soon that eliminates the last iframe in the Sakai PDA view.
http://www.dr-chuck.com/images/2007/04/index.php?img=05-04-07_143454_01.jpg
Thanks to David and Stephen for testing the PDA portal and making sure I kept thinking about this :)
Presense is still in an iframe – but it can be suppressed as it is optional and browsers that ignore iframes.
Dreaming of a frameless portal…
I woke up this morning and while laying in bed at the Cupertino Inn – it dawned on me that there might be a way to remove the tool frame from the PDA portal. I am giving myself the next 24 hours to get it done.
I apologize if I seem distracted in meetings today…
How to use Sakai to QA a new Release of Pluto
Simple – Check out Sakai – check out /svn/portlet – checkout /contrib/portlets (yes – one is singular and one is plural – sorry).
Start with fresh Tomcat.
Compile everything – “maven sakai” or “maven bld dpl” depending on your fun. This compiles with the old jars – but is necessary to get everything downloaded to your maven repo.
Go into tomcat/shared and do “find . -name ‘*pluto*'” – blast everything – these should be the previous verison of Pluto – there should be four of them.
Edit master/project.properties and increment the version of Pluto
Go into ~/.maven/repository/org.apache.pluto/jars and wack all the files
Based on the URL in the message on the pluto-dev list, use CURL to pull down the most recent jars. You need four of them.
curl -O http://people.apache.org/builds/portals-pluto/m2-staging-repository/org/apache/pluto/pluto-container/1.1.3/pluto-container-1.1.3.jar
curl -O http://people.apache.org/builds/portals-pluto/m2-staging-repository/org/apache/pluto/pluto-descriptor-api/1.1.3/pluto-descriptor-api-1.1.3.jar
curl -O http://people.apache.org/builds/portals-pluto/m2-staging-repository/org/apache/pluto/pluto-descriptor-impl/1.1.3/pluto-descriptor-impl-1.1.3.jar
curl -O http://people.apache.org/builds/portals-pluto/m2-staging-repository/org/apache/pluto/pluto-taglib/1.1.3/pluto-taglib-1.1.3.jar
Go into ~/dev/sakai/portal
maven -o bld dpl
This makes sure you don’t pull the old jars back down.
Just for fun and to keep your mind at ease – go to tomcat/shared
find . -name ‘*pluto*’
There should be four files with the *new* version.
Start Tomcat – tail the log like any good hacker (or if you are cool use the debugger).
Make a site – add the “Test Portlet – Sakai Test Portlet (JSR-168)” to your site – it is the one near the bottom.
Click around – test everything – watch the log. It is normally quite chatty – so you are watching for failures.