Tech Tips from Appdev to Virtual PC

Quick Tips on Virtual PC development, LDAP, Training, Security, and eBay

virtual

Just an assortment of hopefully useful miscellaneous items from things I’ve been working on lately along with resources for further review.

  • Virtual PCs (VPC): If you’re in consulting you will find it necessary to develop programs on various platforms- Windows 2003, 2008, XP, Vista.  The client doesn’t always have these available for testing purposes…that’s where the invaluable virtual PC comes into play.  By purchasing a Microsoft Technet subscription for $200/year you’ll get access to download all versions of Windows OS’s and tools.  This in conjunction with Microsoft Virtual PC software will allow you to run any OS inside the virtual environment along with necessary tools.  These virtual PC’s can take up quite a bit of disk space, so it’s a good idea to also buy a small USB external drive to store these images.  This has the advantage of providing multiple virtual images on a small portable drive you can use on almost any PC.  I literally couldn’t do my job without these tools and rely on them every day.
  • Getting VPC 2007 running on Windows 7: I found there are a few quirks when installing and running Microsoft Virtual PC 2007.  Firstly, if you’ve already installed the newer Windows Virtual PC on Windows 7, you’ll have to UNINSTALL it via the control panel applet (clicking on the Windows components will show this option, it’s not in the normal list of programs).  If you do not do this, you will get errors when running VPC 2007.  Next, when running make sure you always run VPC as an administrator (right click on the program icon and choose “Run as Administrator”), otherwise you’ll get an error that the virtual hard drive is read only and other cryptic errors.  Once I did those two things, the program runs flawlessly!
  • Server 2008 and Active Directory/LDAP lookups: I’m currently working on a prototype webapp which takes the current logged in Windows user, looks up that user in active directory, and pre-fills fields with user info such as full name, email, and phone number.  To do this, first create a VPC (see above) for Windows Server 2008 and Visual Studio.  You’ll also have to set up active directory and a domain controller on that test image.  Then, refer to the following article I found which covers this topic in great and useful detail: http://www.codeproject.com/KB/system/everythingInAD.aspx .  The code is remarkably simple in .NET 3.5…a definite improvement over 2.0.
  • Online video training:  I’m constantly studying various Visual Studio features for certifications.  I find that reading books or on-line articles extremely boring and recently purchased a 1 year subscription to AppDev online training. You can occasionally find deals to get full access to all classes for $1000, otherwise you can purchase just what you’re interested in. I find the video training really engaging and a nice complement to traditional book studying.  This in conjunction with transcender practice tests gives excellent coverage for the Microsoft certification exams.  Note- I’m not affiliated with these companies, just a happy customer.
  • Windows Phone 7 Development:  Microsoft’s new mobile platform is shipping soon and it looks to be very competitive.  Here’s some more info from Paul Thurrott’s site: Hands On With Windows Phone 7.  There’s free tools available now to develop applications, I haven’t tried them out yet but will do so eventually: http://developer.windowsphone.com/�
  • eBay, PayPal, and the USPS: I recently sold something on eBay…it’s been a while and was really happy with the transaction. The whole process is now seamless and user-friendly from listing through payment and even to shipping via USPS.  I was pleased to learn that after you’re paid in PayPal, you can print (and pay for) a shipping label right from PayPal including insurance.  Both you and the buyer gets an email receipt with confirmation number. The USPS flat rate priority mail boxes (provided for free from the post office) are the way to go…you can stuff them with any amount of stuff for about $10, apply your shipping label, and even have your mail carrier pick it up for you.  Nice!
  • Security Updates:  The hacker conference Black Hat is going on now, and so the annual parade of security flaws uncovered is flowing fast. This is just a friendly reminder to keep everything up to date as there’s been serious flaws found in FireFox, Windows (a really bad one involving .lnk shortcuts), Flash, and Itunes/Quicktime.  Don’t waste a moment downloading and installing the latest updates for these programs.  And why you’re at it, have you updated your backups lately?  I thought so….

iPad in my Pad

iPad

Having used my wi-fi iPad for a couple weeks now, I wanted to write some thoughts down on how I’m using it, favorite apps, and some tips.

General Thoughts

The iPad seems geared for ease of use for video/audio use, and it does that extremely well in a fun, refined fashion.  The touch interface is very intuitive, smooth, and responsive.  The fact it works like my iPhone makes it very easy to figure things out and I’m finding that watching video, web surfing, and reading books/magazines are preferable here over my laptop.  The instant on and portable nature of it’s operation is very appealing.  This is a very fun, immersive gadget (albeit expensive starting at $499).  On the downside it’s heavy (1.5 lbs) making one handed holding difficult for long periods and the highly reflective screen is annoying.  Not all web pages display correctly and much video content is unplayable due to Adobe Flash not being supported.

iPad Applications

The i-universe is all about the apps and there’s plenty to choose from even at this early stage.  Some of the ones I use a lot lately include:

Netflix – If you have a Netflix subscription this is a MUST.  You can easily stream the “instant play” items in your queue to the iPad, and the bright 9 inch screen plays videos gorgeously.  The speaker isn’t too bad either and is much louder than the iPhone’s.

GoodReader – There’s no native support for PDF viewing or many other filetypes, plus no real concept of a filesystem so this app category is important.  It displays PDF’s really well and supports Microsoft Office files also.

TweetDeck – My favorite twitter client because in portrait mode you can scroll through tweets on the bottom and when clicked, they show up in a window at the top without leaving the application.

ABC Player – I hope all streaming video players are this good.  Currently the only network with an iPad app, ABC programs are easily accessible and playable with clear fidelity.

PhotoFrame HD – This one surprised me because most photo programs are worthless, but this takes photos from the Flickr service (either your own or random public ones) and displays them.  You can customize the tags used to select pictures.  All the pictures are interesting, professional, and oddly fascinating to wonder what will come up next.

NPR – An innovative design makes this program stand out.  Three independently scrolling sections put NPR content in a “newspaper” format for easy reading, yet you can access the vast library of audio content on demand with a couple finger taps.

TWiTPad – If you’re a fan of Leo Laporte’s This Week In Tech (TWIT) network (and you should be!), this will allow access to archived programs, show schedules, and the live video stream whenever you need a tech news fix.  I particularly like Windows Weekly, This Week In Google, and This Week In Tech.

NYT Editor’s Choice – The New York Times paper translated to the tablet in a very visually appealing and easy to use fashion.  You don’t get all NYT content, but a selection of stories updated throughout the day.

iPad Accessories

Eco-Vue Case from Marware

The picture above shows my iPad in the Eco-Vue case ($45), and I really like it.  It’s a very sturdy leather-like case which has two nice features- a band to slip your hand through to make holding easier, and a small extension which holds the pad in landscape mode at a slight angle for easy typing/viewing.  We also made a clever and cheap holder from a wire hanger which allows more upright viewing.  See the picture for more details but essentially you just hook one end into the other on the case to hold it open.

My video demonstrating wire hanger holder (youtube).

iPad holder

Griffin Screen Kit

This screen protector has a slight matte finish which is perfect for taming that highly reflective screen.  You don’t lose any of the touch responsiveness or color, but can now use it in a location which has light sources that would normally make it difficult to see the screen.

Griffin Video out Cable

Some applications such as Netflix, Youtube, and Video player can display their content on an external screen.  Any iPod video out connector should work (you don’t need Apple’s expensive iPad version) and you can then see your videos on any external screen/TV.  The Griffin I bought also has a charger, so you can charge while watching the video…a nice touch.

I’m sure there will be updates as I use the iPad more, and I’ll occasionally add or update information in this post.


The Nearly Forgotten Baltimore Skywalks

And now for a non-tech diversion:  I recently discovered a little used yet interesting section of downtown Baltimore- a series of skywalks and skybridges crisscrossing many blocks and leading through hotels, office buildings, and parks.  It’s actually possible to use these walkways and go from Harborplace at the Inner Harbor up to the convention center and finally Charles Plaza several blocks away over the loud and constant traffic.  It’s peaceful, fun, and slowly disappearing as Baltimore has over the years been demolishing these bridges.   I took some pictures with my iPhone  and wrote up a summary.  You can find the article in the “Misc” section of this blog or by clicking: The Nearly Forgotten Baltimore Skywalks

Why Closed Systems Like iPad Will be Successful

wire fence
Wire Fence

There’s lately been much discussion about closed vs. open software systems, particularly as it relates to the smartphone, tablet , and video game system markets .  The iPhone and iPad (and to an extent their desktop/laptop systems) are seen as “closed” since Apple tightly controls how applications are developed, approved, and sold on those platforms.  Other systems such as Microsoft and Google are seen as more “open” since they do not have such controls on applications developed for their products.  Which approach is better and will be the most successful?

Most techies (and therefore most discussions recently on the web) think everything should be open…that having the    flexibility, choice, and freedom is the only way to go and is the BEST way for everyone.  Most people, though, are only casual tech users or even tech ignorant and they don’t care- they just want their gadgets to work like an appliance without fussing over it.

Since the market for casual or non-tech users is much larger than the market for early adopters and tech savvy users, systems like the iPad will appeal  to the casual market and be incredibly popular.  Most people don’t want to mess with files, folders, anti-virus software, backups, driver configuration, and third party peripherals – they just want to instantly have their gadget turn on, have apps which launch quickly, and have a consistent and pretty interface to the internet and social networks.

The concept of “technology appliances” meet these goals.  They can be expanded within constraints set by the manufacturer, but these gadgets are now web enabled, which makes them much more powerful even with these constraints.  The information is open but is presented within a constrained, consistent, easy-to-use interface.

Open systems like Google’s Android OS are great for techies and can be infinitely configured, tweaked, and controlled but that does lead to more crashes, instability, battery usage, and a general mistrust of what apps are really doing.  They can do anything and aren’t filtered by a single source, but instead rely on the community for this function- it may take some time for a rogue piece of software to be discovered and for others to get the word out about it.

While the technical elite will still buy these closed platforms for curiosity and review, it will be the huge masses of casual technology users who now have a web-enabled computer appliance which is easy to use that will make systems like the iPad hugely successful and popular over the coming years.


Fun with How-To Videos

help keyboard

A while ago I added some beginner how-to videos to my Senior Citizen’s website, and it was an interesting and fun process.  These videos are published on YouTube, and some people have even viewed and commented on them!  Here’s what I did, and it’s easy:

–  Using Microsoft Virtual PC, I created a virtual machine running Windows 7.  This would allow me to record video in a “clean” environment without distracting customizations which others wouldn’t have.

–  I practiced my demos, both working on the timing of actions and wording, and found it was easiest to record the actions first, then add the audio narration later in an audio track with the video editing software.

–  I used Camtasia Recorder to record screen movements and highlight mouse movements/clicks.  There’s other software out there but this package worked reliably and easily.  I used a Logitech USB headset to record audio.  It’s pretty cheap and resulted in good quality audio in a hands free fashion.

– After adding some titles and fade in effects with Camtasia, I recorded the audio track while watching the video.  It’s best to do this soon after creating the video while the pacing and timing are fresh in your mind.

–  I uploaded the video to YouTube and within 30 minutes it was available online and in HD quality…..fun!  I occasionally check the views and comments for questions/responses.

Here are the videos created so far:

  • The key to connecting and reconnecting with friends and family is creating an email account.  This video shows how to easily create a free Google GMail account if you don’t already have one.

How to create a free Google gmail email account

  • You can safely and conveniently shop online with Amazon.com and have the items shipped directly to your house.  Here’s how to create your free Amazon.com account.  You’ll also need an email address (any email service from google, yahoo, etc. is fine), so follow the Google GMail account video above first if needed.  Watch the video by clicking the link:

How to create an account with Amazon.com

  • Connect and reconnect with friends and your community by creating a Facebook account.  We’ll have more tutorials on using Facebook later, but for create your account now.  Watch the video by clicking the link:

How to create a facebook account

  • A video showing how to download and install the new excellent FREE Microsoft Security Essentials software.  This software protects your computer from viruses, malware, and spyware.  If you currently have a virus scanner running, you must first uninstall that software.   Watch the video by clicking the link:

How to video installing Microsoft Security Essentials

Goal-Centered Design

Alan Cooper’s  About Face 3: The Essentials of Interaction Design is the standard for user centered design, in my opinion.  The original 1995 version changed how I approached designing computer programs & interfaces and every programmer who writes user facing systems should read any version of this book.   Warning:  If you’re currently working on a GUI intensive app, reading this book may cause you to rework lots (but the users will benefit).

The latest version is much expanded from the original but the second half especially has useful information on proper use of dialogs, toolbars, menus, etc. The first part covers mental models and behavioral aspects of human-computer interaction and the last part goes through many current UI paradigms which could be vastly improved.  An interesting read on many levels and worth the time if you’re interested in this area.



5 Tips for Crash-Proof Consulting

Are you considering a career in computer consulting?  Here’s some semi-serious personal tips I’ve developed from years in the trenches…consulting

  1. Expect Chaos, Deliver Zen: Consultants are brought in because the client lacks resources or expertise for an important project they’re willing to pay good money for.  Things will be disorganized, confusing, and probably behind schedule yet you should project a calm, confident demeanor no matter what the craziness.  Some calm words and projecting zen-ness will be greatly appreciated, and necessary to save your sanity.
    .
  2. Skim the Docs, Step the Code: Clients will dump documents galore on you, the fact is most are out of date and incomprehensible because you aren’t intimately familiar with this specific project-speak.  Spend minimal time skimming these documents, but spend lots of time actually stepping through sample project code in a debugger.  The code doesn’t lie, and gives priceless insight into how the application works, technical architecture, and standards.  Get a quick demo of any relevant apps, then insist on code access and test accounts to start stepping through the code line by line, module by module.
    .
  3. Under Estimate, Over Deliver: Before even memorizing your network login you’ll be asked to give project estimates.  Be honest but realistic, then add some buffer.  If your original estimates are accepted, everyone will be ecstatic that things come in ahead of schedule.  If you’re ahead of schedule, squeeze in some extra documentation and deliver more than expected.  You’ll feel like a hero, and your client will feel even better.  Everyone wins.
    .
  4. Less Is More:  When asking for decisions, give about three proposals but no more.  This gives some valid, thoughtful choices, but doesn’t paralyze with too many details.  Don’t over complicate designs or decisions with too many choices…it’ll all change in a few weeks anyway and require new decisions.
    .

  5. Three Days to the Future: The mood and experience of the first three days will predict the future, things will not change.  Wonderful, fabulous people with interesting projects will stay that way.  Conversely- boring, aggravating, disorganized projects won’t miraculously get better.  If a project you’re on rubs you the wrong way immediately it might be time to find something else.  It’ll save lots of pain and suffering in the future.
    .

There’s tons more tips, but I think these 5 can really result in increased performance and realistic expectations.  Keep them in mind for a successful consulting job or just improving your current job.

How to Develop iPhone Apps For Free

There’s an interesting (and free) resource if you’re interested in learning how to program the iPhone- how about a class from Stanford University including video lectures, pdf’s of lecture materials, and other reference materials? The class web page can be found here: Stanford iPhone Class

iphone appsStanford actually offers many free classes via Apple’s iTunes U program and a summary of these classes can be found here: Stanford iTunes classes.  All you have to do is subscribe via iTunes and you get access to a wealth of materials.

The iPhone development class has been offered for a while and is very popular (millions of downloads).  I’ve downloaded the first couple lectures and found them very interesting and a great way to expand your knowledge with only your time investment.  One catch- in order to actually work the assignments you need access to a system running MacOS 10 and the iPhone SDK (free from Apple’s developer site).  You’ll also have to learn a new programming language (Objective-C).   A summary of the steps can be found in this article: 8 Steps to iPhone Development.

There is a .NET development environment called MonoTouch by Novell, but this does cost $399, a convenient (albeit expensive) alternative for Microsoft developers which still requires a Macintosh to do the actual development.


Give it a try and maybe you’ll develop new skills or create the next great iPhone and iPad application.

The Simple Things

While working on some enhancements for a client’s application I was reminded how sometimes simple changes can be powerful, useful, and appreciated by end users.

I was giving a demo of new functionality, some of which was pretty slick, but the changes which got the most positive reaction and comments from users were three simple and seemingly boring ones: sorting a list in descending order so newest items were at top, defaulting some date fields to the current date, and filtering out old records (but giving a way to show all of them).  These ideas came from the users themselves but I never realized how useful they could be.

Not having these simple changes were really annoying on a daily basis to users because it forced extra steps to complete very common functions.  Nobody wants to click through an extra long list because the default sort order in database is ascending rather than descending…and constantly entering today’s date for a field when no other date makes sense is irritating.

It’s so easy for programmers to get stuck in the rut of just getting things done when some time should be spent in the user’s head..imagine how your application is perceived and used doing real work throughout the work day.  You might discover something simple which can make a huge difference to many people.

Save Those Snaps: Digitizing Your Photos

snapshots

It’s something we all think about…sorting and digitizing our old family and vacation photos.  Every year they fade, get damaged a little more, and pile up.  I recently took on this project with great success and wanted to share some tips.  Some of these tools and products make the process much easier and affordable than in years past.

  1. I bought a portable scanner (Pentax DSmobile 600 Scanner).  There are others but I liked this one because it’s small and easy to use with my laptop. Note that if you’re using Windows 7 you’ll have to go to the Pentax support website and download the updated drivers and software first (use the Vista drivers).
  2. Gather up your pictures and sort them in a logical order- maybe by date or person.  You can do this in the image management software but it’s easier to get the order correct before scanning.
  3. Set up the scanner options (resolution, filetype, and file location options).  I chose .jpeg format, color, and 400 DPI.  You may have to experiment a bit to find what you like.  Remember, disk space is cheap so file size shouldn’t be an issue anymore.
  4. Scan your pictures into your computer from the scanner.  The Pentax makes this very easy- just insert an edge into the scanner and it’ll “grab” it.  Using the Mobile Scan software click on the green “Scan” button and within a few seconds you’ll have the scan file on the hard drive.
  5. After scanning all pictures, I used the free Google Picasa software to clean up and manage the scans.  Inside Picasa you can apply some filters, tag with captions, and even use the creepy but really cool face recognition features of the software.  I found the “I’m Feeling Lucky” function very effective in adjusting faded pictures and obvious defects.
  6. These scans are precious- Back up the files onto an external drive and onto a cloud based service in case disaster strikes.
  7. There are some options available in Picasa for sharing.  You can upload into a web album and share with friends and family, create a DVD movie slideshow, make a poster, or make a collage.  Experiment and have fun with it!  If you need more advanced capabilities, Adobe Photoshop Elements 8 (under $80) has much of the functionality of Photoshop for way less.
  8. An online company called Blurb allows you to create physical books (hardcover or softcover) in an easy fashion for very reasonable prices (how about up to 120 pages for $20?).  You download their authoring software and can control many aspects of the photo layout and wording.  This would be a great gift to family or friends.

After completing this project you’ll feel f relieved that those precious memories are digitally stored and available for use in all sorts of new ways on your computer and the web.