Featured Post

ZorKa and Miester to present at the WLUG on Thursday

“Miester and Me have teamed up for a presentation at the Washtenaw Linux Users Group for this coming Thursday the 17th. The topic will be covering Debian Linux. We have worked up a Debian Install HOWTO over the past few days. Visit Lugwash for more info on the meeting.”

Read More

PowerShell – Speak Number of Lines of Code

Posted by Keith Elder | Posted in PowerShell | Posted on 26-02-2010

0

Ok, this is a total trivial post using PowerShell but it just shows some of the crazy fun things one can do with PowerShell.  Here is what this does. It uses the speech APIs in Windows to speak the number of lines of code found in a folder.

$speak = new-object -com “SAPI.SPVOICE”
$x = (dir -Include *.cs, *.aspx -Recurse | Select-String .).Count
$speak.Speak($x)

Of course if you just want the number of lines of code then just run the line in the middle.  But you have to admit, it isn’t near as fun!

NOTE: I am no PowerShell expert, please use the above code at your own risk!

Cleaning Out Old Calendar Entries in Outlook

Posted by Keith Elder | Posted in Outlook | Posted on 25-02-2010

1

Do you get those annoying messages from Exchange Server telling you your mailbox is over quota and you need to clean things up?  Me too! My problem is I run a pretty tidy mail system.  If I need something for later I archive it, otherwise I don’t keep it around. I also don’t use email for reminders of tasks (Evernote takes care of that).  But for the life of me I couldn’t figure out why I was getting these annoying alerts about my mailbox being full.  I finally had some time to research the problem during lunch today and here is what I found. 

First I opened up my “Folder Sizes” in Outlook to see who the memory hog was.  Turns out it was my calendar.  Here is how you can find out your folder sizes:

image

This will open the window which allows you to go through the folder sizes.  As you can see my calendar was eating up about 87MB.  When you only have a 100MB quota that doesn’t leave very much room for email.

image

After looking for a way to clean up the calendar data I gave up and asked one of our gurus at work and this is what he pointed me to.

In Outlook click on your calendar so it is open.  Then in the menu go to “View->Arrange By->Date”.  Then sort by the “End” column.  This will sort all of the things in your calendar by the end date.  The view will look similar to this:

image

Now that we’ve got the dates sorted simply go back as far as you want and highlight the older dates that have ended and then delete those records.

image

Tip:  Select the one at the top you want to start with.  Then scroll down to the last one you want to delete and press the shift key while you click on the row.  All the items from the first one you selected to the last one will be selected. Right click and then delete.

NOTE: If you select everything as described above then any reoccurring appointments will also be deleted.  Be careful!

As you can see much space has been recovered.  But now they are all in “Deleted Items” which must now be purged in order to reclaim the space officially. 

image

Now back to emailing.

Bing – It Does Way More Than You Think

Posted by Keith Elder | Posted in Internet, MVP10 | Posted on 21-02-2010

0

No doubt you’ve heard Bing marketed as the “Decision Engine”.  I’ve watched and used Bing over the past several months and the one thing that has impressed me the most is how quickly it has been advancing.  If your perception is that Bing is only good to find answers to programming questions you couldn’t be more wrong.  It does so much more and we are only seeing the beginning. 

Cards

Right now the Winter 2010 Olympics are underway.  A lot of people are no doubt traveling to Vancouver, Canada for the event.  If you go to Bing and type in Vancouver you will see something presented on the results page that is quiet interesting.  Below the ads is a box which has a culmination of things in it like pictures, weather, attractions and so on.  Now you may think that someone at Microsoft went in and created this section on the site.  Here is what I am referring to.

image

(red box is mine)

This highlighted section is called a “Card” and it is completely auto generated. In other words, no one at Microsoft created that section of the page. Everything is automatic.  These cards are created entirely by the decision engine.  If you see this in the future now you know what it is.

Maps – There’s an App For That

Most people know that Bing has maps support.  But what many don’t know is Bing is doing all sorts of neat things to take online maps to a new level.  One way Bing is doing this is using Silverlight to bring a much richer experience to the online map experience.  When you visit http://bing.com/maps look for the following on the page:

image

When you click “Try it now” the user interface will be switched from HTML/JavaScript to Silverlight.  This opens up more possibilities for a richer online experience.  Let’s look at some of the things you may not be aware of when you turn this feature on.

Once the new version is loaded look toward the bottom of the screen on the left.  There is a “MAP APPS” link.

image

This is where things start to get real interesting. Like for example you are able to view maps of the recent Haiti earthquake before an after.

image

I’ll let you explore around on your own but one of my favorite apps is from Microsoft Research.  The app is called “Destination maps”. The app is simple, you enter an address and highlight around the area of the location.  Press go, and viola! You have a map to your party, anniversary or bar mitzvah.  For example, let’s say I was going to host a crawfish boil at my house for friends. I go to this app and enter my home address.  I then select the surrounding area to cover enough roads leading to my house.

image

Once satisfied press the continue button and Bing will generate your map in a variety of styles.

image

Once done your map will appear.  In this example I left the hand drawing version.

image

I have to say this is really accurate for a simple map to get someone to my house.  And it sure beats drawing it by hand.  There are other applications as well, play around and see which one you like the best.

Future Innovation

Does augmented reality sound interesting to you?  Bing is doing a lot of work in capturing data and adding even more data to put on top of that data.  The best thing to do is just show you.  Check out Blaise Aguera’s talk at TED located at http://www.ted.com/talks/blaise_aguera.html.  It is only about eight minutes long and you won’t be disappointed. 

image

Hopefully this gives you just enough reason to look into some of the other Bing features I haven’t even mentioned.  The best way is to just head on over and start playing.

Visual Studio Tutorial – Part 2 – Our First Project

Posted by Keith Elder | Posted in MVP10, Visual Studio | Posted on 21-02-2010

0

After over 6,600 views on the previous Visual Studio tutorial and multiple comments like “When is part two coming out?” I finally find the time to record and produce part two of this series.  This version is done in HD which provides a much better experience for those watching.  Be sure if you watch you watch from the YouTube website in full screen in HD.

Part two walks through how to create one’s first project and runs the project using the debugger.

Deep Fried Bytes Ringtones!

Posted by Keith Elder | Posted in MVP10, Podcast | Posted on 13-02-2010

0

A lot of our listeners recognize the Deep Fried Bytes theme song.  We thought we’d allow you to carry it with you wherever you go.  Thus, we made DFB Ringtones!  Not only will this impress your friends but it could also score you a free t-shirt, sticker, mug or other prizes if we hear it at a community event.  Here’s how to get it onto your phone.

Download the ringtones for your specific device:

DFB Ringtone for the iPhone
DFB Ringtone for Android and Windows Mobile

Windows Mobile Setup

Download the file to your computer and then plug in your phone.  Then copy the file to your phone and change the device in settings to use the new ringtone.

Android Setup

Download the file to your computer and then follow the steps in this article to get the ringtone on your phone.

iPhone Setup

Download the iPhone version of the ringtone (ends in .m4r).  Save it to a permanent location on your computer.  Then plug your iPhone into your computer and let iTunes launch.

In iTunes go to the File->Add File to Library…

image

Once added the ringtone will show up in iTunes under “Ringtones”.

image 

Select your iPhone in iTunes and click on the Ringtones tab.

image

Make sure the ringtone is going to sync with your iPhone and press the “Sync” button at the bottom.

After the sync, go to Settings->Sounds->Ringtone on the iPhone and select the Deep Fried Bytes ringtone.