David Green

Technique first. Then speed. Then power.

  Home  |   Contact  |   Syndication    |   Login
  5 Posts | 0 Stories | 3 Comments | 0 Trackbacks




Sunday, March 24, 2013 #

Another NoSQL presentation, this time on MongoDB. This was my first run at it….hopefully will present again at Carolina Codecamp, Codestock, and MADExpo…Inshallah! As with each attempt, hopefully the style and content will get refined, we’ll see!

“...The emphasis will be primarily on the development-side as we explore how to stand up a simple data store and perform basic CRUD type operations as well as a few advanced topics. To that end, in tonight's exercise we will create a blog from scratch in ASP.NET MVC4 using MongoDB as our back end. Additionally time will be spent covering some basic NoSQL theory as it relates to MongoDB and addressing typical use-case scenarios for where best to use MongoDB.”

I've always felt that if I'm ever going to teach, there always has to be some kind of tactile learning element, esp. with software development...hence the creating a simple-blog-from-scratch example. Ironically, it took me about three times as long fighting the MVC4 framework than it did actually putting together any of the MongoDB code.

Note: You would need to become a member of TriNug (if you aren’t already) to access the .pptx slides, but the code sample is available via the link aforementioned in the comments section.

Sunday, October 7, 2012 #

I did a talk on RavenDB back on 9/19/2012. Here was my abstract:

"RavenDB is a document database which is gaining popularity in the 'NoSQL' movement. This session will introduce you to some non-relational concepts and describe how they compare/contrast with the relational solutions you're already familiar with. We'll go through the basics of RavenDB and show how easy it is to use from .NET”

My next goal is to figure out how to post the slidedeck here (and maybe the code samples if I'm feeling ambitious). Then, the slides can be downloaded for only three easy payments of $39.99. However  for this one time special offer they are currently being given away absolutely FREE with a signup to http://meetup.trinug.org

Footnote: I probably shouldn't have to say this, but my last comment about charging for my slidedeck was a joke. I have an odd sense of humor for those who don't already know me :)

Saturday, September 29, 2012 #

Disclaimer: I've been a PC guy my entire working career. I'd probably characterize myself as a power user. Never afraid to bust out the console line. But working with a Mac is totally foreign to me. So for those Mac guys who are curious, this is how your world appears from the outside to a computer literate person :)

My Macbook Air has arrived! And it's a thing of beauty:

First, the specs: 13" MacBook Air, 2.0GHz Core i7 processor. Upgraded to 8GB of RAM for an additional $100, SSD flash storage  = 256GB. The plan is ultimately to use this baby for some iOS development but also some decent lifting in Windows with Visual Studio. Done a lot of reading  and between VMWare Fusion, Parallels and Bootcamp...I'm going to go with VMWare Fusion for $49.99

And now my impressions (please re-read disclaimer before proceeding!):

  • I open the box and am trying to understand exactly how the magsafe connector works (and how to disconnect it).  Why does it have two socket outlet plugs? Who knows.  I feel like Hansel in Zoolander. The files are "in" the computer.
  • Stuck in my external hard drive (usb). So how do I get to the files? To the Googles!

  • Argh...it can't read my external NTFS drive. Fat32 can't support field over 4GB…problematic since some of my existing VMWare image files are much larger than 4GB. Didn't see this coming.

  • Three year old loves iPhoto. Super easy to use. Don't even know what I'm doing but I've already (accidentally) discovered the image filtering options. Fun stuff.
  • First thing I downloaded ever => Chrome. I need something to ground me, something familiar. My token, if you will (sorry, gratuitous Inception joke).

  • Ok, I get it… Finder == windows explorer. But where is my hierarchical structure? I miss the tree :(
  • On that note, yeah…how do I see what "path" my files reside in? I'm afraid to know the answer. You know what scares more though…this notion of a smart folder. Feel like the godfather - just get the job done, I don't care how you handle it, I don't want to know...just get it done. 
  • What the hell is AirDrop?
  • Mail…just worked. Still in shock that they have a free client for yahoo mail (please no yahoo jokes).
  • mail -> deleting a message takes 5 seconds. Have they heard of async?
  • "Command" key instead of "Control" ok, then what the $%&^! is the control key for then
  • "aliases" == shortcuts I think
  • I don't see the file system. And I'm scared. All these things I'm downloading…these .dmg files (bad name) where are they going? Can't seem to delete when they're done
  • Ugh...realized need to buy a mini-to-vga adaptor if I want to use my external monitor ($13 on ebay, $39 in apple store).
  • Windows docking is trickiest for me…this notion of detached windows with a menu bar at the top. I don't like this paradigm, it's confusing. But maybe because I've been using Windows for too long.
  • Evernote, Dropbox desktop clients seem almost identical…few quirks here and there I need to get used to.
  • iTunes is still a bit gross. In a weird way it's actually worse on a Mac if thats possible. This is not the MacBook's fault…this is a software design issue.

Overall: UI will take some getting used to. Can't decide if this represents the future and I'm stuck in the past…or this is the past and I've been spoiled by the future (which would be Windows…don't be hating I happen to be very productive in Win7) 

So there you go - my 90 minute first impression of the MacBook universe.

Wednesday, August 1, 2012 #

After some deep soul searching, I’ve decided to venture into the world of Objective-C and the wonderful world of iOS development. Mind you, its not some whimsical fancy. As a .NET developer by trade it pains me a little to admit this.

Now I’ve been to a few “Intro to iOS development seminars” and have come away horrified at the tooling and the Objective-C language in general (in fairness, the last one of these code camp talks I attended was two years ago and I’m sure much has improved since then, with the tooling at least). Compared to the elegance of C# (yes, I said elegance!) and my comfort working with the Visual Studio IDE it was a no contest decision for me to stay solely within the Microsoft stack and not stray to the dark side…

And while I continue to work within the MS stack exclusively for work purposes, I find my interests taking me outside/beyond. For a while I went on a (short-lived) “Ruby on Rails” phase. I went on a (also short-lived) Android/Java phase too. More recently I’ve been on a RavenDB kick…and this continues as I don’t foresee that ending soon. So why are some things phases while others tend to “stick”. Maybe I’ll talk about that more in a future blog post. But I digress… The point is this, to make this stick I need a plan. And to this end, here is my plan:


  • Acquire a Mac. We only have PC’s in my house, and I’m thinking of giving my 3yr old Sony Vaio to my wife (who was using a 6yr old HP) and getting a new machine for myself . And since my one year at AIS is coming up at I’ll also be eligible for our company discount (woohoo).  I’ll do a separate blog post on what Mac I decide on, but here’s a hint – it’s going to be a laptop of some kind.
  • Learn Objective-C. The glory would seem to be in all the fancy-schmancy GUI stuff you can do in Cocoa developing for iPhone/iPad. But I’m kinda glad that without access to a Mac for the next month and a half I can’t do any of that stuff…I’m forced to spend time learning the underlying language. I’m thinking of working my way through Programming in Objective-C (4th Edition) (Developer's Library) by Stephen G. Kochan . I’ll do a blog post on my adventures with Cygwin and gcc later Smile
  • Develop a native iPhone app. I have a few ideas I’m mulling around. I’ll get to what I end up deciding in a later blog post.


So there’s the plan. I’ll be posting updates along the way. And so the journey begins…

Sunday, December 25, 2011 #

Finally getting around to getting this thing off the ground. My goal for this blog is to talk about my ongoing learning/discovery of technology related to Microsoft’s .NET framework. On occasion I anticipate exploring tangential topics and the sociological/anthropological aspect of what of issues professional software developers encounter on a day-to-day basis.