Tuesday, March 10, 2009

I'm a company

I finally got around to filing my LLC with the state yesterday.  Turns out it only took about 15 minutes and $50.  Easy.  

"Brian's Brain" is off and running!

Wednesday, March 4, 2009

Running Windows on my Mac (gasp!)

Well, I've finally been forced to figure out how to run Windows on my Mac.  The culprit?  Quicken.  

I love Quicken.  But they just don't support the Mac.  Intuit is in Beta on "Quicken Financial Life" for the Mac, but it is currently scheduled for release this summer, and that is at least a 6-month delay from the original announced date.

So, for the last year or so, I've been running Quicken on my wife's Vista laptop.  But it is SERIOUSLY slow!

I finally decided to try VMWare Fusion, but I couldn't find my original Windows Me install CD (no surpise there), and my old Windows XP Home Upgrade CD wouldn't install without it.  So I got the Windows 7 beta, and installed it.

The Windows 7 beta installed fine on Fusion, but it was also SERIOUSLY slow.  And it crashed.  So that sucked.

But then I remembered a stack of old CDs I had laying around with the intent of eventually using them in a yard project, and managed to find some old Windows 98 betas.  And the XP home upgrade installer recognized one of them!  Stay tuned...

Well, it turned out to install flawlessly.  And I have Quicken installed and working.  It was kinda slow, so I upgraded my Mac to 4GB and gave 1GB to VMWare.  We'll see if that helps.

Tuesday, March 3, 2009

Buttons & Books

I have spent the last couple of days adding some buttons to my app. I don't know if I'm back up to speed, or if the books I bought are really helping, or it's the Buffy "Once More, With Feeling" soundtrack I've been listening to, or what, but it has gone pretty smoothly!

About the books, here's what I picked up at Powell's:
So far the first two have come in handy.  Hoping the last two help when I need to see "under the hood".

Monday, February 23, 2009

Mobile Tagging

Attending a presentation on mobile tagging. The simplest example is a 2D barcode that encodes a URL, printed as part of an advertisement. Load mobile app, shoot barcode with camera, and URL is loaded in your browser.

Google is extending AdSense and YouTube to support QR Code generation. MS has proprietary tag format.

Can be read from print, screen even plaque.

Privacy issues. Is URL malicious? Perhaps creator of reader (eg google) could provide clearinghouse that qualified URL before redirecting to it.

Sunday, February 8, 2009

Debug Logging

Today I'm taking some time to enhance my debug logging.  I now have so many debug log messages that I need a way to enable/disable them quickly at compile time.

I have it mostly done, so now's the time when I usually find out that this capability is already provided for me somehow...  ;-)

Wednesday, February 4, 2009

XCode & Subversion

I'm back to full-time iPhone development, and I am determined to solve a problem I've been having with Subversion. Our project repo is up on projectlocker.com. I can access it fine via every mechanism (XCode Repository browser, Safari, svn command-line) EXCEPT from within the "Groups & Files" window. It always fails as follows:

Error: 170001 (Authorization failed) Description: PROPFIND request failed on ...
Error: 170001 (Authorization failed) Description: PROPFIND of ... : authorization failed (https://seed1.projectlocker.com)

Oh, this works fine for my partner.

Google has been no help. Nor have the ProjectLocker nor Apple Developer web-sites.

So, I created a new dummy repo, uploaded some dummy code, and ... it works.

Hmm. So it is something with the files in my project repo. Is some path hardcoded maybe? I did demote the code under a "trunk" path at some point..

Oh, I can't believe it.  In Project Info - General, there is an "SCM Repository" field.  It was set to my local file:// repository for some reason.  Probably because that's where I had done my original development.  Not sure why it didn't default to the repo from which it was checked out - Doh!

Anyway, it works now.  Yea!

Thursday, December 11, 2008

iPhone Tips

Check out these iPhone tips.  My tip: learn all 10 of them.

Saturday, September 27, 2008

What to do after you reflash your iPhone

Apple does a good job of keeping backups of your iPhone data, but they don't backup everything.  Here's a list of stuff you have to fix after you reflash your iPhone:
  • Passcode Lock: Settings - General - Auto-Lock, Passcode Lock
  • E-mail: If you leave mail on the server, your iPhone will forget which e-mails you have already read, so you'll have to read or delete them.  A couple of tricks:
    • Reduce the number of messages displayed in your inbox - Settings - Mail... - Show
    • In Mail, hit "Edit", then select a bunch of messages and delete them all at once
I'll keep adding to this list as I remember stuff.

Wednesday, September 24, 2008

Tonchidot - Amazing iPhone app

Seriously, Tonchidot is so amazing I can't believe it isn't a hoax.  

I can't figure out how they figure out orientation of the device - GPS can tell you where it is, but how does it know where it is pointing?  Image recognition?

Tuesday, September 23, 2008

GTD

I'm trying to get serious about planning using Getting Things Done (GTD).  I've tried Remember The Milk and Nozbe, both web-based apps.  I like them fairly well, but each has some limitation that drives me crazy.  So today I downloaded "Things" from Cultured Code.

Things is free (while in Beta) on the Mac, and $10 on the iPhone.  The two can be sync'd via wifi.  I haven't tried the iPhone version, but I really like the Mac version.  The UI just makes sense, and I like the way tags work.  We'll see how it does over time...

OK, that's enough time.  I REALLY like it.  Time to buy the iPhone version...

Easily installed, easily sync'd.  I like the way the sync works - very bluetooth-pairing-like.

For some reason the iPhone app is missing the "Areas" tab - maybe it isn't implemented yet.. yup... patience, patience...

Update 2008.09.23: Lovin' Things.  Again - UI "just makes sense".

Friday, August 8, 2008

iPhone OS 2.0.1

Downloading now - let's see what it fixes...

249MB download - but it went pretty fast.  rebooted, seems to be working...

...2 days later, and so far, so good, but I haven't noticed any noticeable performance or stability improvements.  Seems to work a little better with XCode.

Wednesday, August 6, 2008

Subversion Hosting

I've been looking at hosting my Subversion repository somewhere other than my Mac.  Here's why:
  • my partner gets updates as soon as I make them, rather than waiting for when I have time to deliver a memory stick
  • I get my partners updates the same way
  • we can keep non-Xcode code and documents under revision control, too
  • other tools, e.g. issue tracking and wiki
  • its effectively an off-site backup of our stuff
After a bunch of searching through hosting sites listed on the Subversion site, I chose ProjectLocker's $30/year plan.  Lots of sites have free or close-to-fee hosting, but I liked ProjectLocker's alerts (e-mail, rss and twitter), unlimited monthly data transfers, and disk space.  They also, as many sites do, provide Trac, and uploading of an existing repository.  Seems like a good choice for a small team.

Thursday, July 10, 2008

App Store On-Line

The app store is on-line!  I downloaded a bunch of free apps to play with.  Some seem really good, some are crashing fairly regularly.  But then again, so does mine!

Reviews of the iPhone 3G

Check out Walter Mossberg's review of the iPhone 3G (Wall Street Journal)
And here's David Pogue's (NY Times)

Friday, June 13, 2008

WWDC Day 5

1:00 - Getting help from the Table View Lab
11:45 - Time for lunch
10:30 - How Do I Do That? Tips and Tricks for iPhone Development
9:00 - Mastering iPhone Table Views
8:10 - Quick trip, but I did figure out my SQlite problem.
7:00 - Last Day on the Bus. Got my own seat. Must be some people working at home today.

Thursday, June 12, 2008

WWDC Day 4

10:30 - Debugging and Profiling Your iPhone Application - have to try to pay attention while working on my app...
9:00 - Can't get into "Mastering Interface Builder", so I'll sit in "Building an Advanced iPhone Web Application, Hands On" and work on my code...
8:45 - Jeez, problem was that the db file wasn't getting copied to the simulator when I though it was, so it had an old version. Once again, not the code...
8:00 - Arrg! Can't get the friggin' SQLite code working.
7:00 - On bus, still working on that first app.

Wednesday, June 11, 2008

WWDC Day 3


6:05 - On the bus, hacking away!
5:25 - I'm not a dork - its an XCode bug - applied workaround - RUNNING IN MY IPHONE!!
5:15 - Go to XCode lab with problem
5:00 - Decide to see if I can download an app into my iPhone rather than go to session
4:25 - iPhone OS installed!
3:30 - iPhone Multi-Touch Events and Gestures
3:25 - SDK Installed!
3:20 - Installing Beta 7 of SDK and iPhone OS
2:00 - "Can't disclose" session (sorry!)
12:30 - Small Teams, Complex Pipelines: Writing Software at Pixar
10:30 - Controls, Views, and Animation on iPhone
9:00 - iPhone Application User Interface Design
8:30 - At WWDC. Made good progress on my first app - may even get it working today.
7:00 - On bus, working on my first app that isn't just a sample app

WWDC Impressions

Here are my main impressions of WWDC:
  • Here's a link to a survey that suggests that 70% of planned iPhone apps may be free.  I think that is quite right, as many existing services will provide free iPhone apps to access their service.
  • 5200 developers in attendance
  • Standing in Lines - reminds me of college - it's like people are looking for lines to stand in.
  • I'm special! - I'm one of 4000 approved iPhone developers.  That seems like a big number, but I've met a number of people who haven't been approved.  I have no idea why I was approved...
  • The iPhone is big. Really big. - I don't know who is going to develop the killer app, or how many people will make a lot of money, but there are some cool applications under development.  It will be amazing to watch what happens over the next year.  Lowering the price of an iPhone to $199 while adding several important new features is also going to help in a huge way.
  • As far as I can tell, there are no diet-colas available here.  17 other kinds of drinks plus coffee, but no diet-colas.  I'm seeing some serious withdrawal symptoms...

Tuesday, June 10, 2008

Missing iPhone Features

OK, so it has been announced.  What is the new iPhone missing?
  1. Voice dialing - why is this missing?  It is a phone, right?  I can get a free cell phone that does this!
  2. Copy and paste - this might actually be #1 - how often have I tried to do a simple copy and paste on my iPhone, only to be disappointed...
  3. Video - I really liked being able to take short video clips with my Windows Mobile phone.  The iPhone is a video playing powerhouse, why not be able to capture, too?
  4. Global search - I'd love to be able to search everything - e-mail, contacts, etc.
  5. Voice Recording

WWDC Day 2

6:10 - Ducked out a few minutes early so I could make the last bus
5:00 - Designing Applications with Interface Builder
3:30 - Understanding iPhone Table Views
2:00 - Understanding iPhone View Controllers
12:30 - Lunch
12:18 - Developers Conferences are the only events on the planet where the lines for the Men's restrooms are longer than the lines for the Women's restrooms!
11:50 - Bean bag chairs?  This is a different kind of developers conference!
11:45 - Time for lunch, and perhaps a bit of development?
10:30 - Introduction to the iPhone Development Tools - very cool tools. The instruments capability makes me want to inject bugs just to have fun finding them...
9:00 - iPhone Application Development Fundamentals
8:50 - Just looked over to see the Army Colonel who was in the video clip during the keynote. In the clip, he said something like "We are the most mobile IT environment in the world, with one of the largest user bases. And the only one whose users get shot at."
8:14 - On the bus to WWDC day 2, trying to figure out which sessions to attend today. There is some unfortunate overlap to deal with.