My WAMALUG LEGO Display at The LEGO Store Potomac Mills

When I’m not making apps, one of the things that I enjoy doing is making things out of LEGO.  When I was younger, I played with LEGO.  Recently, I decided my kids should start building with LEGO too since I think it helps them think spatially, be creative and also learn some things about engineering.  After helping my kids build some things, I realized I enjoyed it too.  A lot.  I find it to be a great stress reliever plus an outlet for my creative side.  It is a nice change of pace to make things with plastic bricks when you are creating software all day.

I found some fellow AFOLs (Adult Fans of LEGO) here in the Washington DC area at WAMALUG (Washington Metropolitan Area LEGO User Group) and they were very encouraging.  This month (January 2012), I even have the honor of displaying some of my creations at The LEGO Store in Potomac Mills Mall!  Here are some pics, but if you are in the area, I’d encourage you to go to the store to see it in person.  It should be on display until January 29th.

 

WAMALUG January 2012 Potomac Mills display front

Here’s the display as you see it from the front.  The display is managed by Rich at WAMALUG (thanks Rich!) and is in the center rear of the store, right before you get to the Pick-A-Brick wall.  You can see Chess on the left, which was inspired by some of the pieces in the Tower Raid set.  The Lion King (from Kingdoms) and a Dragon Knight are minifigs I added as players.

WAMALUG January 2012 Potomac Mills display left

If you walk to the left of the display, you’ll see Connect Four.  I was kind of concerned that people wouldn’t recognize this.  It is one of my all-time favorite board games, since it is so simple but makes you think a few moves ahead.  Plus who can forget the commercial where the kid says “Pretty sneaky, sis!”  Fortunately, kids still play this game today and some of the store employees recognized it.  I’ve got a little boy minifig and a sister as players for this one.

WAMALUG January 2012 Potomac Mills display rear

Here’s the display from the rear.  If you look at the left, there is a game of Checkers, built with the studs going sideways, to make a really shiny board.  I thought that was a nice contrast with the normal studs-up build that I did for the other two MOCs (My Own Creations.)  Note that the checker pieces are interchangeable with the Connect Four game.  I’ve got two British-looking minifigs, the Zookeeper and the Detective from the Collectible series are here since another name for Checkers is English draughts.

WAMALUG January 2012 Potomac Mills display right

Here’s the display from the right.  If you look carefully, you’ll notice that Connect Four is in the configuration that is shown on the box cover (well at least the 2002 edition.)

So, if you like LEGO and you’re in the DC area, you should come out to the WAMALUG meetings.  We meet every month usually on the 2nd Saturday.  You can get more details at the group calendar.  This month we’re meeting on Saturday the 15th at George Mason Library.

Posted in LEGO | Tagged , | Comments Off

My Tribute to Steve Jobs

Steve Jobs inspired me to make apps for the Mac, quit my job and start my own business.  He created the mobile apps industry where I now mostly make my living.  Apple under Steve Jobs set the gold standard for smart phones, tablets, customer experience and even presenting on stage.  I feel fortunate to have felt his RDF (Reality Distortion Field, a shorthand for witnessing his charismatic personality and passion in person) at the “Stevenotes” at WWDC, which I have attended since 2005.

It seems incredible now that with Steve Jobs at the helm, that Apple has gone from a struggling company to being the most successful one today.  It seems normal now to stand in line for Apple products on launch day in front of the Apple Retail Stores, but before they opened, having a retail presence was thought of as a liability.  It seems normal now to have touchscreen phones, but before the iPhone was released, people used to think a hardware keyboard was necessary.  It seems normal now to have a tablet, but before the iPad was released, people didn’t think that they would want or need what seemed to be just a big iPod Touch.

But Steve Jobs was a visionary.  He brought us the future and made it real.  Especially in the past 10+ years, he has pushed the entire tech industry and perhaps the world forward in terms of technology.  He will be missed, but his legacy lives on in the products that we use today.

(Note: I originally posted this earlier today on the Happy Apps blog as Steve Jobs – He Made the Future Real, but I thought it was important enough to repost here.)

Posted in Mac OS X | Tagged , | Comments Off

What would you take in an earthquake?

I was at a co-working space in Herndon, getting ready to type and I noticed the external 20″ monitor that I was connected to was rocking a bit.  I steadied it with my hand and casually asked my office mates: “can you guys feel that?”  I thought perhaps someone was moving something super heavy upstairs.

Then the shaking got stronger and all I can remember is that I shut my MacBook Pro, ripped out the DisplayPort connector, grabbed it like a baby/football and then sprinted out the door just a few yards away…out across the sidewalk, across the street and to the other side of the parking lot.

I felt a bit more shaking while in the parking lot and then all was calm.  It seemed surreal and then later we found out via USGS that there was a roughly 6.0 magnitude earthquake just 90 miles south of where we were!

In retrospect, it seems odd that I took the time to grab my laptop.  If I was at home, my wife and I would’ve just grabbed our kids and headed out away from any buildings.  I always heard that you should just drop and leave everything.  Maybe I need to work on my backup strategy so I feel more secure in leaving my laptop in an emergency.

Posted in Northern Virginia | Tagged | Comments Off

What I wish I knew when I first attended WWDC

I’ve been attending WWDC since 2005.  This year will be my seventh WWDC in a row.  Woohoo!

Jeff Biggus and I at WWDC 2005

So I was thinking that if I was able to go back in time in a flux capacitor-powered DeLorean to June 5, 2005 (yes I sometimes daydream) and give myself some advice on the eve of WWDC, then here’s what I’d tell myself:

0 Sell everything you have and invest it in Apple stock. It’s gonna go up 800%! Actually, save some of that money for the Intel Macs that are going to come out because they’re going to basically be twice as fast for programming as your current PowerBook G4.

1 Go to the labs. Specifically, go to the Performance Labs and ask for a tutorial on how to spot slow areas in your app and detect memory leaks in Shark.  You’re going to do this in 2006, so better to learn this stuff earlier.Also take those sketches of Webnote you have and run them by the UI Design Lab.Oh and don’t even bother asking about writing a Safari Plug-in.  That won’t come out until 2010.

2 Good idea to write down the questions that you have. That’ll help you with figuring out what to focus on and which sessions/labs to go to.Take notes and don’t be afraid to ask questions at the end.

3 Shut off all your shared services and put up the firewall. Bonjour iChat isn’t going to work well at all with so many people and you don’t want to accidentally leak your data.  Sharing your iTunes might be nice but people aren’t going to be listening to music in sessions anyways.

4 Keep in touch with the people you meet. So get their business cards and try to keep the conversations that started at WWDC going.  The community will only get bigger and it’ll be harder to keep track of people.  See there’s this thing called the iPhone that’s going to come out…

If you really feel like re-living the WWDC 2005 experience, check out the June 2005 archives.

Stay tuned for some more blogging from WWDC 2011…

Oh and if you are in the Washington DC metropolitan area, consider attending a local iOS conference I’m organizing on August 13th: iOSDevCampDC 2011.

Posted in Conferences | Tagged | Comments Off

What to put in your gitignore

A question that comes up frequently is what to put in your .gitignore files.  I recently stumbled across a nice GitHub project which has .gitignore templates for every language it seems.

Here’s a few which are useful in my daily workflow:

iOS and Mac projects in Objective-C, using Xcode - This seems to cover both Xcode 3 and 4.

Android projects in Java and Eclipse

OS X (mainly for .DS_Store)

There’s also a nice explanation of how (project-specific) .gitignore and global .gitignore files work.

By the way, if you accidentally checked in a bunch of files you didn’t want to, use “git rm” to remove them from the repository.

Posted in Rails | Tagged , , , , , | Comments Off

Fixing SASL For Colloquy When You Are Using A MiFi

I got a MiFi the other day.  It has performed great so far, with the exception of IRC.  Why use IRC you say?  Well, here in the DC area, we have an active Mac, iPhone and iPad programmer group called NSCoderNightDC and when we’re not meeting weekly, we like to meet online.

However, on my new MiFi, I kept getting a strange error when firing up Colloquy: “Notice — You need to identify via SASL to use this server”.  There’s a ticket for that: #2590 Sasl Support? There’s a fix already, but not in anything released.  The latest nightly is from late last year.  But hey, that’s the beauty of open source!  Just download, compile and go.  So that’s exactly what I did and what you can do too if you run into this problem.  Here’s three easy steps:

1. Download the source

I like to use git.  Colloquy uses Subversion.  Git-SVN to the rescue:

git-svn clone -s http://source.colloquy.info/svn/ colloquy

The “-s” is to make it use the “standard” format of svn, which has trunk, branches, tags.  My friends at Viget have written up more info about git-svn that I use as a reference.

2. Download the latest F-Script

3. Copy FScript.framework into ~/Library/Frameworks

4. Open up the “Old” Colloquy project

open Colloquy\ \(Old\).xcodeproj/

I tried all the other projects and while they built successfully for me, they didn’t seem to work and the main menu was not fleshed out.

5. Build

This will probably take a while.  Note that I used Xcode 3 to build.

6. Run and enjoy your SASL-enabled, MiFi-compatible, Colloquy hand-built from source.

Note that you will probably be asked to update to a “newer” build.  Don’t do it and overwrite your hard work.

BTW if you’ve tried all these steps and still can’t get it to build from source, you can download my latest build of Colloquy that is SASL-enabled and MiFi-compatible.

UPDATE: @rudemateo tried this at NSCoderNightDC while on my MiFi and it turns out you need to register your nick and supply it in the Connection info or else you get that SASL error still. He did it by getting the Colloquy iPhone app, then he was able to log in with the build above on his Mac.  Also, @atomicbird has a 3G MiFi that isn’t affected, so perhaps it is isolated to Verizon’s 4G LTE network.

Posted in Mac OS X | Tagged , , , | Comments Off

Fully Baking this Blog

Brent makes a plea for “fully baking your blog.” Another way to put it in the Mac community is to make sure your website can stand up to being “Fireballed” (verb) – when John Gruber links to your post and brings a deluge of traffic onto your website, bringing it crashing down like a house of dynamically generated cards.

I used to use Movable Type – which was nice but made me endure long generation times.  Hopefully that has improved since then.

Now I’ve installed WP-SuperCache on this blog as well as my company Happy Apps Blog (which are both powered by self-hosted WordPress). I think that’s probably the best compromise for self-hosted blogs without rolling your own blog software. It also allows you to continue using native clients like MarsEdit.

For some other sites that I host, like NSCoderNightDC, iPad DC and iPhoneDevCampDC that don’t change often, I think static files are indeed the best.

Posted in Blogging | Comments Off

Pavlov’s Inbox

I realized this week that I’m like Pavlov’s dog.  The New Mail bell rings, I see the number of unread messages in the Mail.app dock icon and I compulsively check my mail.  I’m not sure, but I might have gotten hungry too.

I think this realization came from the book The Power of Less.  He advocates checking your email twice a day.  That’s not quite enough for me, but then again I realized I was sabotaging my productivity with the continuous Inbox checking.

A good compromise I think is to:

1. Turn off all sound notifications

2. Turn off all dock badges

3. Check your email on some other schedule that you control

I use Mail.app and SpamSieve.  So here are screenshots of what your preferences for each should look so that all sound notifications and dock badges are turned off:

Mail.app

Mail.app - no notifications or dock badge

SpamSieve

SpamSieve - no notifications or dock badge

I hope this improves your productivity without shutting off the outside world of email.  It has worked well for me the past few days.

Posted in Productivity | Comments Off

East Coast Cocoa Conferences

I’ve been thinking about upcoming Cocoa (Mac and iPhone) conferences for the past week, ever since the last NSCoderNightDC.  Daniel posted his big uber list of Fall Conferences, so I won’t repeat that.  Instead, I’ll focus on East Coast Cocoa Conferences.  Actually I’ll expand it out to be the whole Eastern US.

First up is Voices That Matter in Philly, PA on October 16-17.  Early bird pricing runs until September 10th.  Daniel’s got a nice coupon / discount code that’s worth another $100 in savings I think.

I’m probably going to head up there.  Never been to a VTM before but I’ve heard they’re good.  They’re held twice a year I think and I missed the last one in Seattle, which was right after the iPad DC conference we had earlier this year.

Second, I hear that rising up from the ashes of C4 is SecondConf in Chicago, IL from October 22-24.  That is the next week right after VTM.  Not too many details yet, but they are having BlitzTalks (aka Lightning Talks with an awesome Blitz app to drive it.)

Third, there’ll hopefully be at least two if not more Apple Tech Talks.  I went to one in December last year in New York City.  It’d be even better if there was one further south, say in Washington DC, Baltimore or Philadelphia.

There’s three other conferences too, but they’re all in the West and I’m trying to stay closer to home since we had a new addition to the family in the past few months.

Update: There is a Fourth east coast Cocoa conference: Cocoa Camp in Atlanta, GA on September 25th.

Posted in Cocoa, Conferences | Comments Off

Blog Reboot

Twitter – that’s one word for where a lot of my writing energy has gone.  It’s such an easy way to get out a few words and there’s no pressure to be perfect.

Then again the pressure to be perfect really comes from myself.  But lately I’ve been feeling more of a pressure to write down more of my thoughts and that’s overriding that perfectionism.  So here I am again, this time armed with the latest and greatest MarsEdit 3.0.4.

Of course, every good story has some conflict.  Tonight I realized that my blog had been hacked.  It seems like there were some spam links that were hidden in the page. The only things I did notice was that:

1. Sometimes my theme would get reset.  Not a huge deal but annoying.

2. Every once in a while a new WordPress user would register for no reason.

3. MarsEdit couldn’t my recent posts, instead offering up a -32700 error.

Fortunately that last error got me to Daniel Jalkut’s helpful support forum which helped me find the answer: the wordpress.net.in spam injection hack.

So a quick backup, removal of the old site, and installation of WordPress 3.0.1 and this blog is back in business, now spam link-free.  It’s kind of like encountering the Blue Screen Of Death and hitting Control-Alt-Delete.  A Blog Reboot.

Now I remember why I use Apple products.  So is there a more hack-proof blogging engine out there that will preserve old WordPress entries?

Posted in Blogging | 2 Comments