Nokia viNe tutorial in pictures
Here's my Nokia viNe Tutorial in pictures. Has Nokia viNe been discontinued? Seems to be quiet. Meanwhile Nokia Sports Tracker just had a new release and while more complicated seems to be better.
Here's my Nokia viNe Tutorial in pictures. Has Nokia viNe been discontinued? Seems to be quiet. Meanwhile Nokia Sports Tracker just had a new release and while more complicated seems to be better.
Well it's been 2 weeks and I've been too busy to do much with my BUG Labs BUG but here's the current state of affairs:
Summary:
Successfully updated my kernel on my BUG and then the ROOT FS (order is important, you must upgrade the kernel FIRST and then shutdown and then update the Root FS). However GPS is still not getting a fix!
Typos and minor bugs in the R1.44 Kernel upgrade procedure:
Typos and minor bugs in the R1.4 Root FS upgrade procedure:
command is:
cat /dev/ttymxc/1
("V" on the GPGLL lines mans "void" i.e no GPS FIX AFAIK!) - Antenna is pointing out the window which means it should get a fix since my other GPSes i.e. E71 and LD-4W have no problem getting a fix there!)
$GPGLL,,,,,081149.577,V*18
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,11,89,179,27,24,76,162,,08,57,214,,27,32,183,*72
$GPGSV,3,2,12,07,28,280,,19,28,046,,28,24,317,,03,17,062,*74
$GPGSV,3,3,12,20,17,150,,13,03,220,,23,-1,196,,29,-1,293,*77
$GPRMC,081149.577,V,,,,,,,170309,,*23
$GPVTG,,T,,M,,N,,K*4E
$GPGGA,081150.577,,,,,0,00,,,M,0.0,M,,0000*5E
$GPGLL,,,,,081150.577,V*10
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,11,89,179,27,24,76,162,,08,57,214,,27,32,183,*72
$GPGSV,3,2,12,07,28,280,,19,28,046,,28,24,317,,03,17,062,*74
On Wednesday, the official release of Bug Labs R1.4 came out. Summary: I tried to upgrade my Bug Root File System, and my Bug no longer works and I am not sure where to document my problem (should I put it on the wiki or the forums?). I guess I will get on good 'ole IRC to get this fixed on Monday (I really dislike IRC, it reminds of the 1990s, full of people trying to help you but no RSS feed, no archives without bots that require Kevin Marks level knowledge to keep them up and running, and no distillation of knowledge so you are doomed to explain the same things over and over again!). Help! If you can help, twitter me @rtanglao or email me roland AT rolandtanglao or I'll try to get help on IRC as well as post on the Bug Labs R1.4 thread on community.buglabs.net. Anybody who helps me, gets a free beer the next time they are in Vancouver (how about a Bug Labs meetup at Open Web 2009 in June 11-12 in Vancouver?) Read on for all details.
R1.4 = Bug Labs SDK 1.81 + Root FS 1.4 + Kernal 1.4 (Suggestion to Bug Labs: bundle these together or tag future releases so that tag 1.5 for example is the same release tag for SDK, FS and Kernal)
The Bug Labs documentation and web presence is confusing even for somebody like me who has been developing software for 20 years and uses confusing open source software like git and Drupal so that's saying something! And Bug Labs seems to admit it in this blog post from December, "Finding BUG Tutorials and Documentation". My off-the-cuff recommendation given my developer relations experience at Nortel would be to create a single wiki page "Busy Developer's Guide to writing software for the BUG" (BDGB) with the bare minimum of info that is always up to date and to have the dev relations person (Alicia?) post a blog post on bugblogger.com whenever the BDGG is updated! Anyways...
Tried to upgrade my Root FS to R1.4 using the Mac instructions from HOW to upgrade ROOT FS aka "Update your BUG memory card" (see "Yak Shaving" section below for full details)
The Root FS upgrade appeared to work but when I boot the Bug it doesn't come up and doesn't activate the Ethernet over USB so I can't ssh in to check things out.
I expected it to "just work" and then I could proceed to upgrading the kernal to R 1.4
dd if=/dev/disk1s1 of=BUG_backup.ext3.bin
tar xvfjv bug-image-production-bug-R1.4-rootfs.ext3.bz2
dd if=bug-image-production-bug-R1.4-rootfs.ext3.bz2 of=/dev/disk1s1
95105+1 records in
95105+1 records out
sudo /usr/local/sbin/fsck.ext3 /dev/disk1s1
e2fsck 1.39 (29-May-2006)
Couldn't find ext2 superblock, trying backup blocks...
/usr/local/sbin/fsck.ext3: Bad magic number in super-block while trying to open /dev/disk1s1
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
sudo /usr/local/sbin/resize2fs /dev/disk1s1
resize2fs 1.39 (29-May-2006)
/usr/local/sbin/resize2fs: Bad magic number in super-block while trying to open /dev/disk1s1
Couldn't find valid filesystem superblock.
It's been 6 months since a few mobile folks met in Helsinki for Nokia Open Lab 2008 as Mike Maddaloni and CT Moore have pointed out and my mind is still reeling. It's time to start thinking about a Mobile Open Lab 2009. I say worldwide, done via our mobiles, self organized and distributed! What say you? [the following is in the order it was on the 2008 wiki, forgive me for omissions and typos!] Mike, Steve Dembo, Rebecca, Whatleydude, Gwapz, Eddie, Nick, Solobasssteve, Philip, CT, Glenn, Mickipedia, Rahul, Steve Rumsby, Chletten, Apocalypso, Jussi, Jason, Rafe, Jen, Thej, cybette, tnkgrl, Matti, Mikko, Nate, Antti, Nick, Vinnie, Kristine, Yuhui, Anne, Janne, Anssi, Brian, Luis, and Stefan please update the Mobile Open Lab 2009 wiki page with your ideas or leave a comment here! And let's get the ball rolling!
Ideas from Roland Tanglao (Vancouver, Canada)
flickr: roland, twitter:rtanglao, nokia chat:rtanglao, jaiku:roland, qik:roland
(NB these are just brainstorming ideas!!!!!! No commitment implied :-) ! )
[Cross posted from my Raincity Blog. In Vancouver and want to discuss this? Then come to to the Tweet Meat at Burrard and Pender at Japadog, Thu 12 March at noon.]
[See previous git blog post for more background on how this procedure isn't supported and other blah blah!]
In my never ending quest to make things simpler, I have distilled the process of using git with Acquia Drupal 6 (version 1.2.4 currently) down to 5 points:
And it's even simpler for upgrading:
After the jump, more git and Drupal geekery and the way forward with git submodules (tutorial)
I can hear the questions in your minds. Herewith a mini-faq!
It's as easy as "git pull". Check out my commits on my public rt-d6 repository if you want to see what's up on my server (which admittedly is of limited interest). If you just want to use Acquia 1.2.4, then check out:
Text art is part of the Nokia Beautiful Connections (this URL does not rock, IMHO it should be something like nokia.com/beautiful-connections) project. It draws your text onto a algorithmically generated graphic (see above pic for an example). It's cool but wouldn't it be cooler if the art that was generated was rooted in the GPS coordinates and the place, e.g. if you were in Stanley Park, it drew art based on algorithms written by Salish aboriginals?
From Nokia E71: Beautiful Connections:
QUOTE
I recently had the privilege of being commissioned by Wieden + Kennedy to creating an artwork for Nokia’s new smartphone E71. It’s a new model featuring a full QWERTY keyboard, and is intended to function as a complete communication platform for people on the move. As a response to this purpose, W+K’s campaign focused on the idea of “Beautiful Connections”.
My contribution was a mobile app that allows the user to type in a short SMS-style message, which is then used as the basis for a generative animation that results in a visual compositions of curling forms. The final image can then be sent to other users as a MMS or saved to the phone memory for use as a wallpaper.
END QUOTE
We are happy that people enjoyed watching Barb and I dance (our dance is the Lindy Hop but we love and admire all social dancing and dance in general) at the Northern Voice 2009 opening party at Federico's. It's always for us been about having fun with whoever we are dancing with and the music; not the steps. People ask us how we did it or they wistfully say, I'd love to do it but can't because I don't have a partner or my partner won't dance with me or I don't have time or ...
Well this blog post is to say "YES YOU CAN"!
You don't have to be musical and you don't have to be a natural born dancer. You just have to practise practise practise practise.
The Lindy hop basic step ("the swingout") is difficult. It took us two series of dance lessons and social dancing with each other and lots of other people for six months two to three times a week to "get it". Which is to say 75-100 hours.
Then before the kid was born we danced twice a week, took more dance classes went to two Lindy Hop week long dance Camps (Swingout northwest 2000 and 2002) and so after about 1000 hours we are where we are at today. Able to dance with any Lindy Hop Dancer socially. Aware of the imperfections in our technique but having fun with the music and the dance on the rare occasions when we do get out. And all of this without either of us being dancers or having been dancers in our youth (which would obviously accelerate the process a wee bit although I think Barb's musicality and my obsession with swing music and Duke Ellington's music helped a bit).
So what are you waiting for? Find the time, and get out there and dance :-) ! Or develop software or fix bicycle flats or whatever you REALLY want to do that you have been puting off! Just make the time and do it! (And thanks to our awesome swing and Lindy Hop teachers: Graeme and Lisa and Elizabeth, Tyler and Viva, JoJo, Toby and Tanya, and so many others! And thanks to those who we've had the pleasure of dancing with over the years!)
Here's my Northern Voice 2009 presentation (PDF) about Mobile Video Streaming circa 2009:
Again, I don't have the time but here's a fun game design session for MooseCamp 2009. If you are interested, edit the wiki page and come to the session if approved!
The following ideas are DRAFT (and i bet others have already thought of similar things). Please ADD YOUR OWN and let's discuss at MooseCamp 2009!
Hope to run this game as part of BarCamp Vancouver 2009 or earlier!
Identicon = unique graphic generated from a number (originally used by WordPress and other blogging systems to identify people based on their IP address for comments) in this case the number would be latitude and longitude, i.e. GPS coordinates
Yarn Bombing = grafitti with yarn in the real world aka 'knit grafitti'
It's hard to believe how time flies, but the 5th Northern Voice (for the 5th time I am one of the organizers) starts tomorrow with the Federico's dining and dancing opening party,(Scott Nelson with a bit of assistance from myself are providing the WiFi, thanks Scott!), Friday begins the conference proper with a fab social media 101 track organized by Rahel Anne Bailie and Anita Webster, a fantastic mobile track, the MooseCamp unconference and a Stewart Butterfield keynote and Saturday is the more traditional conference day.
So, I don't really have the time but since I love Mozilla, here's one of my Mossecamp ideas for Friday (if you like it, see you on Friday assuming it's accepted!):
I have updated this site from Drupal 5 to Drupal 6 using Acquia Drupal that on github I checked into github earlier this week (comment on Acquia's forum). No glitches except an Drupal contrib image module update problem (which I fixed by ignoring since I only had 4 images)
It appears nobody in Vancouver uses Nokia phones and ShoZu even though it's FANTASTIC because nobody has taken me up on my free ShoZu help in exchange for coffee offer. Bloodied :-) (ok, not really!) I am but undaunted as well, here's another offer: Free photo GPS tagging tutorials using Nokia ViNe and Nokia Sports Tracker and Nokia phones in exchange for coffee. Interested? Email roland AT rolandtanglao.com or text me: 604 729 7924 or twitter rtanglao
From Geotags help locate photos by Jeffrey Simpson in the Georgia Straight
QUOTE
An avid cyclist, Tanglao takes photos during his rides and has more
than 44,000 photos on Flickr, a great many of them geotagged. Recently,
he’s been taking pictures with a Nokia N95, a smartphone with a
five-megapixel camera whose image quality rivals that of some basic
stand-alone digital cameras. With a built-in global-positioning-system
receiver, the N95 automatically tags photos with geographic data
END QUOTE
The Nokia Software Updater won't let me update my European N95-1 and N82-1 to the latest firmware even with my valid Fido SIM installed and even though the Nokia Canada site says there are updates for these two phones. This used to work with my Fido SIM with prior versions of the Nokia Software update and prior N95-1 and N82-1 updates. I also tried using my Belgian, Finnish and AT&T SIMs and that didn't work either. Any ideas? Is this Canada specific? I can't believe NSU would be updated to block these firmware updates but anything's possible with Rogers and Fido I suppose !
UPDATE: also on flickr at http://flickr.com/photos/roland/3208339940/
60 Skyte (aka "SkyTrain") photos per second Video with cool Derek Miller Soundtrack, "In Phase One". Thanks Derek!
Pinging Ian Bell, John Biehler (use the new Korg Beat box John :-) ) and Ryan Dempsey for alternate 30 second soundtracks!
Eclipse is a maze of twisty passages all alike for those not used to it :-) Herewith a quick and dirty guide for those not used to it! More in my Bug Adventures wiki
There doesn't seem to be a way to single step through code on the Bug itself. This seems to work no problem on the Virtual Bug but I don't use simulators, sorry! I used to do this via adb/gdb/xdb/ in the 1990s with HP-UX and other unix variants so there must be a way to do this on the Bug. Pointers appreciated!
Let's say you had 1796 photos in a directory from flickr and wanted to animate them in Shoes which is built on Ruby, how would you do it?
Here's how I did it (forgive my bad code, it was just a fun 1st project and of course you could do this in QuickTime Pro with no programming but that wouldn't be as much "fun" :-) !):
Dir.chdir("/a directory with 1796 skyte photos")
skyte_pics = Dir.glob("*.jpg")
size = skyte_pics.size
@skyte = image skyte_pics[0]
animate(200) do |frame|
close if frame > size
@skyte.path = skyte_pics[frame]
end
end
}
See the accompanying UBC mobile brief wiki for notes to this presentation which I gave to the UBC Faculty of Land and Food Sciences on January 13, 2009 (note that this presentation was prepared using the 280 Slides web app which i highly recommend!)
(Part 2 of my Bug Adventures series, for more real time wiki action check out my Bug Adventures wiki where I flesh out my thoughts before posting them here!)
Why doesn't my GPS aka BUGgps seem to work?
By "not working", I mean it doesn't get a GPS satellite lock which
results in a Java exception for those using the high level API and void
values e.g. "$GPGLL,,,,,022837.595,V*1D "for apps reading the RAW GPS
sentences. My guess is it's a low level software bug that will be
fixed in the "real soon now" R1.4 software release. Note that I have
attached the external antenna and put it on the window sill where my
other GPSes (Nokia LD-4W, Nokia E71) have no problems obtaining a GPS
lock!
Herewith my debugging notes: