Monthly Archives: June 2008

Multi-Connection Router – LinkSys RV042

I have had both cable modem and DSL now for a long time and intend to keep both. I do so much work from home – that I cannot afford the 2-3% outage that my cable modem seems to have. So I added the second cheapest DSL from ATT as a backup. It does give me free ATT WiFi in a few airports for free.
Up til now, I have been just going downstairs and switching cables when one r the other service went down – or just used the slower DSL all the time.
But thanks to Bryan Holland I found a LinkSys RV042 router that does a dual network connection for the home.
It installs pretty easily. Initially it only uses one link and uses the other as backup. SO I switched it to load balancing – this was very cool – except little things did not work. Mostly YouTube messes up – my guess is that it gets two IPs on successive requests and decides a session has been stolen and zaps you :( My guess is that hyper sensitive software will do the same.
So I go back to the failover mode by default – at least my family does not have to switch the wires while I am traveling. It is simple enough to switch back and forth.
If I am going to do a lot of uploads or downloads, I temporarily turn on load balancing and then turn it back off when my need for bandwidth is back to normal.
It was pretty reasonably priced.
Review: LinkSys RV042
P.S. I typed this entire post waiting for my fresh checkout of Sakai’s trunk to recompile. Actually while waiting for the compile – I went to get a cup of coffee, talked to my daughter for a few minutes – and *then* typed this blog post. Well – got to run – the compile is *almost* done – it is compiling sakai-reset-pass

I Got Music Off an iPod after the PC that Owned it was reformatted

I keep losing iPod home directories when I format a PC Laptop. So family members are forever redoing their iPods because I had not taken time it takes to hack into an iPod. Don’t tell my daughter who re-ripped her collection over three days – that I could have pulled off all her music.
Today I faced yet another family iPod with some music and a XP iTunes install that was totally formatted. I decided to give it a try again. It seemed so hard the other times I googled things – but this time was different. First I did this search:
Google://restoring music from an ipod
The first link was here from like three years ago:
http://www.engadget.com/2004/11/02/how-to-get-music-off-your-ipod/
It led me to this software:
http://www.ilinkpod.com/
This rocks – it mounts the music – you can just copy it back on to your main system. The key is that he file names are four character things like BLMX.MP4 – don’t worry abut this – just drag them back into iTunes and there is enough metadata to reconstruct the artist, etc.
Sweet – I need to send the ilinkpod dude some cash.

Stepping into Multi-Tenancy Users for Sakai – SAK-13671

This is a set of proposed changes to a very core API – UserDirectory services – so I would like folks to take a look and comment before work gets started. Take a look at the JIRA for more detail:
http://bugs.sakaiproject.org/jira/browse/SAK-13671
The basic idea is to make it so we can have enterprise IDs from multiple sources – probably the best use case is if you wanted to build a friend-like capability using perhaps Radius and OpenID to compliment your local accounts perhaps coming from a campus LDAP/Kerberos or something. You want to be able to tolerate an account “csev” from any of the three sources – i.e. you don’t want it to be a security hole if the local csev account is a teacher for a course and an account named “csev” shows up from an OpenID or Radius Source – and all of a sudden they are teaching all my courses.
Since Sakai has an internal random ID for all users in places like Realm tables, etc – the is a pretty surgical change in terms of data structure. We only record the Enterprise ID (eid) in one table: SAKAI_USER_ID_MAP – I propose to add an ESOURCE column to this table. The EID/ESOURCE combination is the unique key now for the table.
We leave the column NULL for all accounts on the system and all the current calls to mae new users leave the column NULL – so unless you start adding these users from another Enterprise, nothing changes.
If on the other hand, you come up with some new approach to login – such as Shibboleth or a Radius login – and this login process starts making new users with different ESOURCE values – then these accounts with non-NULL ESOURCE values do not collide with the normal internal and default enterprise users. The accounts “pass in the night” from an AuthZ, etc perspective.
The Changes to UserDirectoryService are pretty simple – anywhere there is an Enterprise ID – we add a new method with one more optional parameter – the Enterprise Source – sourceId – so the methods look like this:
Old:
addUser(String id, String eid)
New:
addUser(String id, String eid, String sourceId)
Old:
authenticate(String loginId, String password)
Added:
authenticate(String loginId, String sourceId, String password)
We keep the old methods – they are the same as calling the new methods with a sourceId of NULL.
There is more detail in the JIRA http://bugs.sakaiproject.org/jira/browse/SAK-13671
Feel free to add comments there. Since this touches a pretty core API – I want to make sure that it is well discussed before starting the branch. Assuming we like the general approach – then it can be coded up in a branch and folks will get many more opportunities to review it in detail and comment. I just wanted to get the dialog started early.
I have no current plans in this JIRA to change the provider API – for now we can use the providers for the “default” enterprise so nothing needs to change. At some point we might want multiple providers – one for each enterprise source – or perhaps just pass in the enterprise source as a parameter. You are welcome to think this through – I would like to do that as a separate JIRA.
The folks who find this the most useful are those who might want to use Sakai as a platform for software as a service.
If you can think of risks and/or issues – please bring them up on the dev list or in the JIRA.

Energy Savings – Just slow down

I did an experiment during my commute yesterday – I tried to see how my gas mileage would be affected by just slowing down.
I remember in the 1970’s when the national speed limit was reduced to 55 MPH during the energy crisis. I also remember how much this p*ssed me off – I even got some speeding tickets going above 55 MPH but below 70MPH – they called it “an Energy Speed Violation” – I called it government intrusion into citizen’s private matters. I was pretty young so it made me so mad that I took up flying single engine planes because airplanes did not have what I considered to be a silly and pointless 55 MPH speed limit – I never checked gas mileage :).
So yesterday – I was not in a rush for my 55 mile commute so I decided to set the cruise to 55MPH and see what happens. I have a totally cool Buick LeSabre that gives me instant feedback on my mileage – it may not be perfect – but it is suitable for A-B comparisons.
My car is rated for (and usually gets) about 29-30 miles per gallon – this is pretty cool for a nice comfortable quiet car – that is even with the air conditioning on. SO it is not too bad of a commute car – particularly because it has low maintenance and is nice and solid in case of an accident.
So back to the experiment. The first thing I notice while driving 55MPH is that *everyone* is driving faster than you. Even the semi trucks give you a dirty look when they go around you – because you are messing up the cooperative traffic flow that prefers 62-72 MPH in crowded conditions. I did this experiment at 7PM so traffic was less than during rush hour – but I still was a problem and at times I caused a bit of a back up ad a truck passed me and the rest of the left lane had to slow to 62 MPH behind the truck.
The other nice thing about 55MPH was that I never had to change lanes – I putted along in the right lane and never had to even engage my brain about how to drive – everyone else had to go around me – I felt like a grandpa – not very cool at all. But this was for science – looking like a Grandpa is a necessary sacrifice for science.
So after 35 miles on cruise at 55MPH my car reported an average of 41 MPG! This is a 40% increase in gas mileage just by dropping 15 miles per hour! I was starting to feel a bit like a Prius.
I also did a simple less scientific test in our Subaru Tribeca (a small SUV) and found that gas mileage went from 18 MPG to 25 MPG by dropping from 70 to 55 MPH. Again about a 40% increase in gas mileage. I will do more testing and a bit more scientific.
Experiment detail: This was using cruise control – you can play games like coasting, drafting and careful throttle control up and down hills – to get even better gas mileage – I did not do any of those things. I was interested in something simple that required no particular skill – so I just set the cruise to exactly 55MPH and let the trucks and traffic flow around me.
Effectively by dropping down 15 MPH, you increase mileage by 40% – which is like getting a discount on your gasoline. This makes my $4.00 gasoline effectively $2.85 – at a cost of some more time on the highway.
This is a a way that we can drop our demand for fuel overnight – I kind of understand now why in the 1970’s they simply lowered the speed limit to 55MPh. I have a bad feeling that someone in government will see this and drop the speed limit – this will tick me off – particularly when I am late going to the airport.
So just for yucks – try to see what it would be like with a national 55MPH speed limit – for as long as you can (yesterday I did it for an hour and it was mind-numbing) – set your cruise for 55MPH – if you have a little info gauge – reset your fuel economy average at the beginning of the experiment and see what gas mileage you get. I reset it while I was warmed up and up to speed – I wanted to measure only the highway mileage. I was pretty surprised at what I got – you may be too.
Update: Just to be scientific – I repeated the experiment on the inbound commute and the results held – the inbound MPG for 55MPH was 41.4 on one leg and 42.4 on the other leg.

Abstract: Workshop – Teaching with Sakai

This workshop will discuss how to teach with Sakai. The workshop will cover using Sakai at Michigan (Ctools) to enhance a classroom-based course. The workshop will also show the use of ETudes and show how Sakai can be used in a distance education context. In addition, an invitation to the community will be sent out to invite other presenters. Also time will be set aside for the attendees to show their use of Sakai during the presentation.

This workshop will discuss how to teach with Sakai. The workshop will cover using Sakai at Michigan (Ctools) to enhance a classroom-based course. The workshop will also show the use of ETudes and show how Sakai can be used in a distance education context. In addition, an invitation to the community will be sent out to invite other presenters. Also time will be set aside for the attendees to show their use of Sakai during the presentation.

Dr. Severance is a Clinical Assistant Professor at the University of Michigan School of Information (www.dr-chuck.com). He is the former Executive director of the Sakai Foundation and the former Chief Architect of the Sakai Project. He now teaches using Sakai at the University of Michigan.
This was submitted to the Sakai Paris Conference – July 2008

Abstract: Functionality Mashup – Evolving to the Next Generation of Learning Management Systems

Virtual Learning Environments need to adopt approaches like Facebook, iGoogle and YouTube for learning application integration. IMS Learning Tools Interoperability 2.0 is a standard under development which addresses this functionality mash-up use case.
Virtual Learning Environments need to adopt approaches like Facebook, iGoogle and YouTube for learning application integration. IMS Learning Tools Interoperability 2.0 is a standard under development which addresses this functionality mash-up use case.
The current crop of Learning Management Systems are focused very much on meeting the needs of the institution in providing a basic, uniform technology platform for teaching and learning. However, faculty and students are often familiar with setting up accounts, joining various types of sites and adding themselves and friends to those sites, and figuring out new systems by trial and error. The next generation of Virtual Learning Environments needs to allow this type of organic “mash-up” and make it simple enough to place in the hands of the end users of these systems. IMS Learning Tools Interoperability 2.0 is a standard under development which addresses this functionality mash-up use case. This presentation will talk about issues and approaches for building the next generation of Virtual Learning Environments.
Charles is a the IMS Global Learning Consortium Developer Network Coordinator. He is also a Clinical Assistant Professor at the University of Michigan School of Information. (http://www.imsglobal.org/severance.html)
Submitted – Sakai Paris Conference – July 2008

Exporting to Flickr from iPhoto – Also Private sharing of photos

I am using iPhoto 8 – 7.3.1 (634) and wanted to get Flickr export working. This is what worked for me:
http://www.dustin.li/Publish/Software/Entries/2007/12/26_Free_Flickr_eXport_iPhoto_Plugin.html
It was free, installed properly and worked.
This did not work:
http://sourceforge.net/projects/flickrexport
It looks like the guy open sourced it – stopped supporting it and now sells a 12 pound version of it. The open source version no longer works with the version of Mac OS and/or iPhoto that I have.
I am happy for folks to make money off free software – I also think that as part of an intelligent market to go to the lowest price acceptable alternative. It also kind of bothers me when folks open source the crap version and then close source the current version. But some open source is better than none in case someone wants to pick up the open source fork and move it forward.
Frankly I used the plugin once and then realized that what I was trying to do was not going to work – create a private distribution of photos – for 4-5 precise people – not just my Flickr friends. Because the material needs to be vetted before it is made public.
Funny – it turns out that sending around a few DVDs is the best solution for now. Strange. But all in all it was nice to use some free software for 30 minutes and understand my requirements.
Separately funny – Picasa from Google might make me happy – it seems totally locked down – but for the life of me – I cannot find the site where you see Picasa photos online. Everywhere I go, it wants me to sign up – and when I try to sign up it tries to install PC software on my macintosh – hmmm… Crazy.
After wasting a few hours trying to find a decent way to share photos privately with a small group of people – I gave up and burned a DVD. Funny in this day and age…

Sharing iPhoto Library across multiple Accounts on OS 10.5 (Leopard)

I just want several users to see the same photo library on one iMac computer. This is what worked:
Taken from: http://ad.hominem.org/log/2005/07/acl.php
Move the library you want to share to /Users/Shared/Pictures/iPhoto\ Library
Make a soft link
cd ~csev/Pictures
ln -s /Users/Shared/Pictures/iPhoto\ Library/ iPhoto\ Library
Turn on ACLs on:
sudo /usr/sbin/fsaclctl -p / -e
Give each account permission on the iPhoto Library
sudo chmod -R +a “drchuck allow read,write,append,delete,list,search,add_subdirectory,delete_child,file_inherit,directory_inherit” /Users/Shared/Pictures/iPhoto\ Library
sudo chmod -R +a “csev allow read,write,append,delete,list,search,add_subdirectory,delete_child,file_inherit,directory_inherit” /Users/Shared/Pictures/iPhoto\ Library
sudo chmod -R +a “brent allow read,write,append,delete,list,search,add_subdirectory,delete_child,file_inherit,directory_inherit” /Users/Shared/Pictures/iPhoto\ Library
Interestingly this page did not work – perhaps it does not work if the iPhoto library already exists:
http://www.macosxhints.com/article.php?story=20050904072808460&lsrc=osxh