Category Archives: Activities & Adventures

Back in the Land of the One-eyed Bloggers

After a long while of struggling, this blog is now properly secured by SSL. This has been a major goal since returning from Banff and area, Alberta, in October.

Lots of goings on, lately: finished a job made up of a long series of small jobs for a client, got another new job like that for a local building supply store, setting up point-of-sale and inventory.

Working on a few iOS projects and very soon I hope to revisit android too.

There are so many things that go on, blogging about everything is a bad idea unless there is something useful and valuable to say.

So now I’ll say: take care of your eyes. Seriously. Unrelated, sure, but i was striken with a severe case of iritis this week. That is inflammation of the iris. It’s something making me more caring of my vision. Thinking of all those people with sight in only one eye, or fully blind, I am more compassionate to them and others suffering this Christmas season.

20111220-025109.jpg

This is just a pic of my eyes, one dilated with some drops. This is to attempt the breaking-away of, or prevention of, the lens becoming sticky and adhering to the iris. When such a thing does happen, cells can get pulled away from the iris and remain on the lens.

 

 

 

The following accurately depicted my sight on the worst of the days:
The sight from my left eye, with contact in, 20/20.

20111220-025913.jpg

 

 

 

 

 

 

 

 

The sight from either eye on any given day WITHOUT aid by contact or glasses

20111220-030026.jpg

 

 

 

 

 

 

 

The sight in my right eye, clouded and less sensitive to blue light so things become more yellow/orange in color

20111220-030150.jpg

 

 

 

 

 

 

When this is over, I will try to remember the pain and frustration, so the memory keeps me more proactive!

Posted in Activities & Adventures | Tagged , , , , , | Leave a comment

Best Techniques for 360 Panorama on iPhone

360 Panorama is a revolutionary app.  It is made by Occipital (occipital.com) and has been under constant improvement, both the app and the web-site since it was released in late 2010.  Check out the 360Verse web app!

A short history of my use of the app:

I got the app in early December 2010, and captured several Christmas light panoramas.  They were amazing, and the ease at which I could just stand and spin around made me so happy.  Having experience stitching dozens and dozens of photos into 40-80 megapixel panoramas, this made me so happy to save such time. And for better or worse, I am a perfectionist.  Despite how amazing and excited these christmas light panoramas were, I found them flawed. All my attempts were challenged by light intensity, and were full of tilting, so I felt either I needed to figure out some techniques to improve, or the app needed updating or both. And the app has been updated several times with several new features, and greatly improved image blending/stitching! Awesome!

 

Getting a satisfying 360-degree photo is so easy (wahoo!!!), but to add that little extra bit of quality, I’ve come up with a handful of techniques that can be used to improve the finished result.

Quick Bonus Tips! 

  1. Keep the iPhone as close to you as possible, right in front of your face.  Holding it at arms length can confuse it for certain near-by objects.  This tip came directly from Occipital after I finally asked for help in late February 2011.
  2. Also don’t lower it down to your chest or waist when capturing the ground, and don’t stick it way up above your head when capturing the sky.  Only rotate it up and down, right in front of your face, and spin your body to get the side images.

The Best Tips

The following are the most important techniques to solve the most significant problems I found occurring in most panoramas:

  1. Achieving the best camera exposure levels in the first shot
  2. Moving around so the images to blend together properly, primarily to fix broken horizons
  3. Moving so the internal gyroscope does not start to go sideways, resulting in tilted-looking buildings like Leaning Tower of Pisa.. or the horizon on a lake doesn’t tilt.

1. Get Best Exposure for the Environment’s Light

Determining the best exposure is often a bit of a guess, but the best way to get it is aiming the camera toward the brightest point in the 360 environment for light or average environments … obviously the sun, if you’re outside, or some light wall inside, etc.  In a darker environment, aim the camera at the darkest place so it compensates and the rest of the 360 view is easier to see, not all black.  And then, start capturing, and quickly spin around and find any places in the environment that you really like and want to see in the panorama, and if they appear way too dark or too light, then you might want to restart, and aim the camera a bit off from whatever you aimed at initially.  Then you can either assume the camera has a good initial exposure and continue to make the panorama or you can do a quick spot check again.  I usually do one single test and then do the panorama.. Although, I would have done a third on Lake Louise if I had the time (I was annoying family members who were also in the canoe, requesting them to spin the boat around! haha..)

Here are two pairs of panoramas with separate light/dark versions, Lake Louise and Grotto Mountain Pond:

  • Lake Louise light (the water texture is much more detailed than the dark version, but the Fairmont Chateau Lake Louise is farther and harder to see here… the dark one is closer)

 

  • Lake Louise dark (the trees on the mountain are harder to see, and water is darker compared with the light version, but the two landmarks Mount Victoria and Chateau Lake Louise are easy to see)

 

  • Grotto Mountain Pond light (easy-to-see large mountain on left, almost bleached-white mountain on right)

 

  • Grotto Mountain Pond dark (easy-to-see mountain on right, almost total black mountain on left)

I felt rushed for time at Grotto Mountain Pond, so I couldn’t get a well balanced 3rd panorama.  .. Ahem.. Actually, these were the 3rd and 4th. The 1st and 2nd were each destroyed by separate incoming SMS text messages. Bah!! Airplane mode fixed that. hahaha!

This technique was important for the panorama in the field with mountains in Canmore (http://360.io/HkKLEB)  I did 2 or 3 spot checks before I finished the field-with-mountains, because there is a huge amount of dynamic range.

First I aimed at the sun, so the sky was darker and all the clouds were detailed, but the mountains turned totally black.

Then tried lighter a bit, once or twice, until I liked the balance between bright sky clouds and the dark mountains. This was used by Occipital in the 360verse, and a viewer commented on it, inspiring me to write all this information.

 

2. Preventing Broken Horizons

 

Watch the grid when starting, and try to get the horizon in your first image, rather than a total sky image or total ground image.  Then slowly angle the device up and down to get the sky and ground for this initial horizon image, then return to the horizon and start slowly turning around in a circle. The camera decides to take a picture when there is enough new uncaptured environment in the camera view.  When the camera decides to snap a new picture, try to make it so as much of the new image is overlapping the captured images as possible…. so spinning your body slower helps.  Doing this, will greatly reduce the chance of a broken horizon… except in the final stitch-together when you complete the 360 spin.  It’s much more tricky to get the horizon at the end of the 360 spin to be unbroken.  I think it’s a bit of luck, but it’s partly about keeping the iPhone as still as possible, while spinning.  But as I describe in #3 below, the internal gyroscope can get thrown off so sometimes.  Finally, completing the spin around, hopefully there has been very little broken horizons, and there are no trees or buildings or horizon tilted.  Then start spinning slowly again, capturing the sky and ground in the same manner.  I haven’t determined if it makes a difference to capture only the sky in a spin, and only the ground in another spin, or if the second spin can capture both sky and ground perfectly well simply angling up and down as you spin the second time around.

3. Calibrating the Gyroscope Mid-Capture

The fix for the gyroscope, as described above, is important to limit lines both horizontal (like the horizon especially obvious on lakes/oceans) or vertical (like buildings or trees) from tilting left/right.  It’s best, while keeping the iPhone perfectly untilted left or right, to watch the grid on the screen.  If it starts to tilt, then the gyroscope needs calibration.  So, the best way to do that without ruining the panorama is to keeping the iPhone pointed at an image you’ve already captured, and moving the device rapidly back and forth.  I have found various motions work at different times, either outward and inward around 12-24 inches out from your face, or moving the phone in a circle about 12 inches in diameter, or a figure-8 shape, in front of your face.  Alternatively, quickly spin a bit back over the panorama you’ve captured already about 90 degrees, then return and repeat as needed until the grid is straight again.  That is the best technique for calibrating, and at the same time preventing the camera from snapping a new picture for the panorama that you don’t intend.

Now I’ve created almost 30 panoramas, some uploaded and public, and feeling great confidence in the app, and my own improved use of it.  Hope this info can help you get even more enjoyment from the app.

If you want to see some more of mine, click to view my public panoramas occipital account page.

Follow @360panorama on Twitter to hear about the latest news and additions in the 360verse web app.

Posted in Activities & Adventures, Technology, Thoughts | Tagged , , , , , , , , | 4 Comments

Businesses in Cahoots

Businesses will create joint ventures to improve products and market penetration.

A nearby town has a pair of businesses, side-by-side, that together inspire laughs or dread.
So what to think… Coincidence? Or a shady partnership?? I’ll let you draw your own conclusions.

(I saw this in-person years ago but couldn’t successfully get a digital camera photo, so this is from google Street View.)

Two businesses that no-one would want to see partnered together.

Posted in Activities & Adventures | Tagged , , , , , , , , , | Leave a comment

A funny musical instrument

From DailyMotion.comThis is an instrument that is used in serious music productions, but funny by itself, makes me laugh out loud.

It’s known as a jaw harp, or Jew’s harp, or juice harp, or mouth harp, or ozark harp, or trump, or guimbarde. Yes, that many (probably more) various names for the instrument.

So how can it be taken seriously with so many names? How can it be taken seriously when it sounds so funny and is played basically by making a “twang-a-lang” sound inside your mouth?

But it makes for a good laugh. Oh, and I’ve personally owned a jaw harp for at least 15-20 years. But I gave up learning because I didn’t know how it was supposed to be played… sheesh.

http://www.dailymotion.com/video/x4qre7_solo-de-guimbarde_music

Posted in Activities & Adventures, Thoughts | Tagged , , , , | Leave a comment

Which is better: to embed images or link images in HTML emails?

Early this morning, and later in the evening, I was working on a PHP script that composes HTML emails with extra files included, but rather than making images as attachments, the script embeds the images so they don’t actually appear as attachments, but appear instantly within the email.

It works fine for <img> tags, but the big issue comes when trying to use CSS.

<img src=”cid:20110212231111.1we615e” />

This works in Thunderbird, immediately.  And it works in Gmail’s web-interface.
BUT…

body { background-image: url(cid:20110212231111.1we615e); }

This DOES NOT work in Thunderibrd, and NOT in Gmail’s web interface.  These items do however appear as attachments.  So that defeats the purpose of having everything appear instantly and properly.

And given client demands, I need to make everything as perfectly seamless AND painless as possible.

So, I believe I’m going to simply link ALL images.  That will save on bandwidth, plus any email client that has image security will simply display a link that says something sounding like “Do you want to display images in this email?”.  If the recipient clicks to say yes they want to see, then everything will appear, instead of just the <img> tags, but no background.

This is an example of the far-out strange places I go in my work.

Trying to embed and compose HTML emails is difficult on a Windows machine since Thunderbird’s only HTML composing feature is old and not updated to work with the latest version, and Outlook only works (so I’ve read) with HTML composed from within Frontpage (not going to touch that with a 10-foot pole!!).  A few days ago I created an automated emailer that attaches vCard files, and in order to do this, I had to learn about MIME boundaries, content-type, content-disposition (inline vs attachment) and a whole lot of extra stuff.  Lots of technical stuff.  In the end, I’m here wasting time figuring out embedding images, just because Gmail’s web interface doesn’t operate to the most ideal level possible.

Oh well.  So I’ll just link every image.  And that’s a wrap! … several wasted hours later.

Posted in Activities & Adventures, Technology | Tagged , , , , , , , , , | 2 Comments

Optimism, self-development and word-of-mouth

Lots of things going on in life.

I’ve been lethargic/apathetic about a number of important parts of my life, and am really starting to focus.  Helps to rely on good writings by professionals in self-improvement.  Thanks, Brian Tracy!

A large-size whiteboard in my room has a number of papers taped to the perimeter, schedule for the YMCA, a story, a funny editorial cartoon.  Right in the middle, in big coloured letters are the two lines “START DECLARING AFFIRMATIVE STATEMENTS” and “MASTER TIME MANAGEMENT”.

So, that’s what I see when I wake up in the morning… if I look at the white board. hah.

A project that I’m developing, guided by a local real-estate agent, is turning into a minimally profitable venture.  That is good, because most projects I do are not profitable, and I’ve barely survived the last three years (sparing you the story about business partner who don’t pulling their own weight!)

It’s really nice to see projects being useful to other people, and enough so that word of mouth is present, and people start spreading their excitement of their experience with a product or service I have to offer.  Yeah!

Okay this is just a happy post.  I’m crossing my fingers.

Posted in Activities & Adventures, Thoughts | Tagged , , , | Leave a comment

Google’s Android OS and Apple’s iOS – Introduction

Other blog sites probably have content about this subject, but I felt a desire to share my two-cents-worth.

Now I’ve begun to learn Google’s Android OS and it’s helping me appreciate Apple’s iOS more.  Another reason, I found a blog with some good info on it yesterday and had an article something like “10 great things for ____”, and the author created a list of 5 things, and finished the list saying “I’ll get more written soon.”  That was 2 years ago.  Nothing was posted on the blog afterward.  Seems like one of those late-1990’s websites that were PERMANENTLY “under construction”.

So, this is the beginning of a number of writings about the two mobile smartphone operating systems, and I’m writing a bunch of this now, but posting it separately.

Topics:

  • Introduction
  • Hardware
  • OS & Software
  • User Interface
  • Apps
  • … more later, possibly!!

 

Introduction

Recently, I chose to put effort, serious and dedicated effort, into learning the Android OS for smart phones.  When doing development, it helps very much to have one of the real physical devices to test and give a sense of “yes it works!” excitement, and the money expense also helps force the progress, since a financial commitment has been made.

So I now own an iPod Touch 2nd generation, iPhone 4, and Acer Liquid E running Android.  These are my mobile development devices, and I am really getting to understand them both more than I could with only the simulators.  Having the iPod touch for two years before the iPhone 4, and having that 2 months before the Android phone, I would think I understand most everything in terms of how it works on iOS, and be irritated when the Android environment is different.  Well, it’s true in most cases, there are a lot of things I prefer about iOS than the Android OS, but the interesting thing is: I realize that I don’t appreciate Apple’s operating system as much without having something different to compare it to.  Thus I am now beginning to understand some philosophy behind the design in iOS, and how it is different to the Android philosophy.

The main difference is the open-versus-closed models; Android being open-source and you can mess around with the OS and recompile it, and install it on the phone, making it do what you want. That’s for the way-out-there developers, but people can install apps anyway in their own home, downloaded from the internet and installed using the Eclipse IDE, if a person is ambitious enough, and patient enough to go through the necessary steps.   The iPhones and iPod Touches can’t have any app downloaded from the internet and installed… they must be downloaded through the device’s App Store app, or through iTunes on the desktop/laptops and synced onto the phone.  Apps are developed in Xcode on  Mac computers, and can only be installed on the device if a person has paid $100 for a yearly subscription to the “iOS Developer Program”.  Then you can download sample apps from the internet, and install them on your device.

Most the other differences are under the hood, which only developers will see or understand.  For example:  Apple expects apps to be singular, and it’s the normal way of apps on a desktop like Microsoft Word or Firefox/Safari/Google Chrome.  You double click an icon for the program,  or a file that is viewed by the program, and the program opens.

With Android, an app can have different bits that are each disconnected from each-other, but are loosely joined together… for example an app that is designed for note taking, allows you to write notes.  But it can also convert notes to PDF files, and you can email those PDF files with the app.  The PDF part is secondary to the note-creation, and yet the app can be made so that any other app can “create a PDF” and this app will be run, but instead of showing the standard note-taking component, ONLY the PDF converter component will be activated.  I haven’t seen this in practical action yet, because I’m only just learning, but this is the way it is according to the introduction on http://developer.android.com.

So those are two examples of philosophy differences, each with a description for Android and iOS.

 

Next, the more useful information begins.

 

Posted in Activities & Adventures, Technology, Thoughts | Tagged , , , , , , , , , , | Leave a comment

Transfer files from Windows to Mac With Proper Ownership

Here are two computers for work: a machine running windows XP for web development, and art and media development, plus a machine (laptop) running Mac OSX 10.6 for iOS development.
This past year I’ve done a lot of work on the Windows machine and transferred it to the mac to a publicly shared folder on the mac.  Trouble is, Windows Explorer on the Windows machine was always connected to the Mac machine in the regular method, through the standard sharing of folders, etc.
On the Mac, I navigated to System Preferences > Sharing.  Selected and made a checkbox in “File Sharing”, then added folders in the Share Folders box.
On the right, “Everyone” had Read Only access, but for some folders I chose Read & Write.
I was still always connecting as an anonymous account, grouped under “Everyone”.  Tonight I figured out how to not do that.  Numerous sites around the internet give instructions to do various tasks, but I had to read a number of them and put all the bits of suggestions together to form a complete solution.
Still within System Preferences > Sharing, in the top “Computer Name” text box, I put a short simple name for this mac computer.
Then, I created the name for this mac to show up under Windows networks.  I clicked “Show All” to return to System Preferences, and click on “Network” within “Internet and Wireless”, then clicked the Advanced button.
Finally clicking on “WINS”, I arrived at the place where I set the NetBIOS name and Workgroup, and set the NetBIOS name to be the same as in the “Computer Name” text box, and the Workgroup was set explicitly to the same as the Windows XP machine.
Finally, the icing on the cake: control exactly how the windows machine silently logs into the mac machine.  It’s almost always silent, and also silent when connecting to another windows machine. For years I’ve struggled with this.  And it’s all good now.
On the mac, the system username of my account is what shows in finder beside the house icon.  On the windows machine, click on Start > Control Panel > User Accounts.  I selected the account I use to sign into Windows (an Administrator account), and in the upper-left of the User Accounts window, under “Related Tasks” appeared a link “Manage my network passwords”.  I clicked on that, then reviewed the window that appeared “Stored User Names and Passwords”.  I clicked on Add, then typed in the name of the mac computer for Server, then for the username,  I entered [name of mac computer]\[my username on mac computer], and also my password in the last box, and clicked OK.
Now, when I attempt to access the mac machine, windows automatically uses the specific username for the mac, and the password, and files that are transferred have the proper ownership on the mac.
This suits my needs perfectly.
After this, I can easily setup a mapped network drive to any of the shared folders on the mac, and have better file management.
Yahoo!
Posted in Activities & Adventures, Technology | Leave a comment

The app customizing job is complete

The customization of a pre-existing app to a new app for the Apple AppStore is complete.

Technical words:
The cron-job is properly working. It runs the check-feeds script, that loads a CSV file of urls and last-modified headers from each feed url. Then each url is checked if the last-modified date is newer, and if so, or if there is no existing saved feed file, the check-feeds script downloads and saves the feed as a file.  After all feeds have been downloaded (or not) then they’re all loaded and processed, and a static file is created that contains the data pulled directly into the app.

Translation:
I’m going to sleep.

Posted in Activities & Adventures, Technology | Leave a comment

And now for something completely different

Here’s a switch from the first 6 months of 2010… I am working on a different iPhone/iPad application.  Part of it includes building an RSS aggregator.  This post is going to be included in the collection and display of the aggregator.   There is much to be done when building an aggregator.  The entire Google Reader system is a world-class aggregator, but as of this point there is no public, released API.  So primarily, I’m working on simply collecting the data, sorting it all by date, and then saving it as a flat text file for the app to collect.  Wahoo!

Posted in Activities & Adventures, Technology | Leave a comment