Here's my very rough draft Nokia Sports Tracker Tutorial for the recently released version 2.06. It still is too complicated and harder to use than Nokia viNe but appears to be regularly updated unlike viNe. And it still doesn't remember my Live Sharing Pref which I think is a bug and is annoying because I want my maps to be always shared ]!
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.
BUG Adventures - GPS still not getting a fix, need another antenna perhaps or is GPSConfig not working?
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:
- fixed my compiler in Eclipse to be R1.4 compliant by setting Preferences->Compiler->Compiler compliance level to 1.4
- Started my Bug and the following log is displayed in /var/log/concierge:
- [Sun Apr 05 21:32:13 GMT 2009] [INFO] GPSModlet defaulting to passive (external) antenna
- [Sun Apr 05 21:32:13 GMT 2009] [INFO] Started modlet from factory com.buglabs.bug.module.gps...
- I take it this means that the antenna is set to use the external antenna
- Wait 7 minutes and I still see the BUG with no fix
- Then I download the GPSConfig app as recommended by the BUG Labs folks and I see:
- GPSConfigServiceTracker: start
- [Sun Apr 05 21:40:31 GMT 2009] [INFO] AppManager started /usr/share/java/apps/GPSConfig.jar
- Then I tried using the joystick controller and the select button to configure the GPSConfig app to use the external antenna (and see this log:
- Switching to external (passive) antenna
- But the GPS Module display on the 2 line LCS still shows Passive which means it's NOT using the external antenna
- Do I have a defective antenna?
- Am I doing something wrong with the GPSConfig app?
- Or is the GPS Module incorrect when it states that the antenna is Active i.e. internal antenna instead of Passive i.e. external antenna?
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!
- bug_kflash was in /usr/bin NOT /sbin
- version is:
- Linux version 188.8.131.52 (buildbot@darner) (gcc version 4.1.2) #104 PREEMPT Thu Mar 12 11:32:33 EDT 2009
- which is slightly older than the version in the instructions (probably because the person who wrote the instructions has an experimental, newer version)
- on the Mac, e2fsck and resize2fs are in /usr/local/sbin
Here's what the GPS is showing
("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!)
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...
Here's what I did:
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)
Here's what happened:
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.
Here's what I expected:
I expected it to "just work" and then I could proceed to upgrading the kernal to R 1.4
Guesses as to what went wrong
- A bug in the Root FS image?
- A bug in the ext2fsx software that I used namely 1.4d4
- Something else?
Yak Shaving (or what I did in exquisite detail)
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)
[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:
- Install git and create your RSA SSH key
- cd /var/www/html
- git clone email@example.com:rtanglao/acquia-drupal-6.git
- edit settings.php, apache config, etc.
- install.php (i.e. install Drupal as normal!)
And it's even simpler for upgrading:
- On staging or dev server, backup your database and take site offline
- git pull
- update.php (i.e. upgrade Drupal following the normal Drupal installation process)
- repeat on live server
I can hear the questions in your minds. Herewith a mini-faq!
- Q: How do I install git on my dev and live and staging servers? A: Can't help you there since this varies from OS to OS and server to server. Google is your friend. We do plan on making git available on our Bryght Hosting products but unfortunately I can't give you an ETA.
- Q: But what about Drupal 5? A: Sorry don't have time for Drupal 5, this is a side project after all! However my previous git blog post should give you enough info to figure this out.
- Q: Why doesn't Acquia do this? A: Don't know. I am guessing they have other priorities and Acquia will come up with something that rocks harder eventually!
- Q: I love Drupal 6 and Acquia Drupal 6 but I need contrib modules that aren't in your git repo. What do I do? A: Wait until I come up with a git submodule solution (a git repo where Acquia Drupal 6 is a sub repo, hopefully that will be the next blog post) or develop it yourself and let us know or fork the repo on github and I'll find out through the magic of github.com!
- Q: Your repo s*cks! The CVS history from drupal.org is gone! How do I get it back? A: Use Mikl's Git repo which is a mirror of the drupal.org CVS. Good luck! This is only for version control geeks and those who care about upcoming releases like Drupal 7 and require that version control history to be in git.
- Q: What happens with the next release of Drupal Acquia comes out i.e. post 1.2.4? How fast will you update your github.com Acquia Drupal repository? A: Again, no guarantees since this is a side project, but hopefully a week or less after Acquia updates and of course if you can't wait, fork the repo, let us know and if it looks good, we'll pull your commits from your forked repo.
- Q: You are a johnny-come-lately, surely others have done this right? A: Of course, yes I am a dilettante, who's been working at a Drupal company since 2004 :-) Some interesting git and drupal links: Drupal installation profile for indy media sites in git, Maintaining/upgrading drupal installations with git (Chris Searle)
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?
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.
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!)
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'
Identicons, Yarn bombing and Mobile - An eternal golden braid
The idea is a unique mobile tech twist on a scavenger hunt and yarn bombing.
- the organizers of the game put up a bunch of identicons on a map to identify locations that have been 'yarn bombed'
- goal: find all the yarn bombs ('ybs') before the other players do
- mobile twist: you have to prove you found the yarn bomb by using your mobile phone in one of the following ways
- post a picture of the yb to flickr, picasa, twitpic, etc or somewhere on the web and tag it and text the url to the organizers or in some way the organizers can get it electronically
- send a text to the organizers proving you found the yb
- send an MMS to the organizers proving you found the yb
- do a Bright Kite Checkin proving you found the yb
- basically anything that you can do from a mobile phone to prove you found the yb without phoning the organizers or leaving them voicemail!
- don't put the identicons on a regular map i.e. make the locations part of the hunt or hint at them e.g. all skytrain stations in Yaletown
- business model: do this for events as an ice breaking thing
- don't use the identicon algorithm to generate the graphic, create an algorithm so that the graphic hints at the location
- generate the identicons on the fly by putting the ybs on a bicycle or something moving using a mobile app that updates a map on the web or some sort of web based hint!
VIDEO CONTEST - What is one way that the Internet has changed my life? Possible Northern Voice 2009 Moosecamp Session
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!):
In a nutshell:
- 10 people will signup up to have Roland tape 1-12 second videos of them live (i.e. no editing) on "One way the internet has changed their life."
- Roland will post them to flickr with a Creative Commons Attribution License to the Mozilla Net Effects Flickr Group
- The people in the session will watch them and vote on the "best" one (majority rules, my "best" definition: bonus points for fun, other languages, cool things but of course your definition is up to you!)
- Winner gets a prize. Prize will be a free 1:30 second video taped by Roland on his Nokia N82 on Friday at Moosecamp and edited on iMovie by Roland and submitted to flickr and possibly some Mozilla swag from Zak
More background from Zak:
- flickr group - http://www.flickr.com/groups/mozillanetfx/
- Mozilla Net Effects page - https://wiki.mozilla.org/Foundation/Program/Net_Effects
- Zak's blog post: explaining why videos and the idea behind this! - http://zak.greant.com/what-does-the-net-mean-to-you
Disclaimers and other Blah Blah
- Zak is an employee of the Mozilla Foundation
- Roland is Zak's friend, doesn't work for Mozilla but loves Firefox
Convinced? Sign up today only 10 spots available
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
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
Nokia Software Updater won't let me update my European N95-1 and N82-1 to the latest firmware even with Fido SIM installed
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/
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
- How do I use f***ing Eclipse?
- Easy: always make sure the Dragonfly Perspective is open from Window->Open Perspective->Other
- How do I load code from a JAR from other people for a Bug APP that's not on BUGnet?
- "New Bug Project" (one of the funny icons on the top left , the one in the middle)
- Select All Services, and select your Bug, then click Finish
- Right Click->Import->General->Archive File->Browse->blah.jar that you received from your friend or fellow developer
- Select "Yes To All" when asked about "Overwrite .project" in folder
- Right Click "Send to Bug
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!
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
animate(200) do |frame|
close if frame > size
@skyte.path = skyte_pics[frame]
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!)