AlanBarber.Org

 

§ Christianity

§ Podcasts

§ Weblogs

§ Fashion & Art

 
 

§ Music

§ Games

§ Comics

§ Tech Sites

§ Operating Systems

§ Web & ISPs

 

Join the Love Revolution

Twitter Twitter Updates

@Josh_Smith yea, i'm running a bit nonstandard setup here at home so it's being a punk... trying to track down the problem but no love yet
Wed Jul 28, 2010 8:52 PM
trying to figure out how to setup activesync on my droid to connect to my home exchange server.
Wed Jul 28, 2010 8:27 PM
Got my droid incredible today in the mail... setting up now. fun new toys!
Wed Jul 28, 2010 5:15 PM
I always love finding crazy code in old apps... Today I present some VB6 code! "If Now() > CDate(Date &" 12:00:00 AM") Then"
Wed Jul 28, 2010 1:50 PM

Follow me on TwitterTwitter

Saturday, January 23, 2010

The 2010 Heartland District Technology Conference Schedule

Yet another technology conference season is upon us!

There a many great events being planned and some are already announced.

Here is a short list of events and links to their websites. Save this link, as I hear of new events I’ll make sure to update this blog post to add them.  Just a reminder that most of these events are in the “Heartland District” as defined by Microsoft which includes Michigan, Ohio, Kentucky and Tennessee but I’ll add events in other neighboring states as well. Don’t mistake me, this isn’t just a list of Microsoft events either! Any technology event in the area that I hear about I will list. If you know of any drop me a line and I’ll get it added!

February 2010

Grand Rapids Code Retreat - Grand Rapids, MI - February 6th, 2010 (Free)

March 2010

Roanoke Code Camp - Roanoke, VA - March 13th, 2010 (Free)

Southern Maryland Give Camp - St. Mary’s City, MD - March 19th - 21st, 2010 (Free)

Lansing Give Camp - Lansing, MI - March 26th - 28th, 2010 (Free)

April 2010

Pittsburgh Code Retreat - Pittsburgh, PA - April 3rd, 2010 (Free)

Philadelphia Emerging Technologies for the Enterprise - Philadelphia, PA - April 8th - 9th, 2010 ($325.00)

Philadelphia Code Retreat - Philadelphia, PA - April 10th, 2010 (Free)

Kalamazoo X Conference - Kalamazoo, MI - April 10th, 2010 ($35.00 Professional / $15.00 Student)

Great Lakes Ruby Bash - Lansing, MI - April 17th, 2010 (????)

Grand Rapids Silverlight 4 Firestarter - Grand Rapids, MI - April 17th, 2010 (Free)

Pittsburgh Code Camp - Pittsburgh, PA - April 17th, 2010 (Free)

May 2010

Ann Arbor Day of .Net - Ann Arbor, MI - May 1st, 2010 ($10.00)

Chicago Code Camp - Chicago, IL - May 1st, 2010 (Free)

Stir Trek: Iron Man Edition - Columbus, OH - May 7th, 2010 ($25.00)

IndyTechFest - Indianapolis, IN - May 22nd, 2010 (Free)

June 2010

CodeStock - Knoxville, TN - June 25th - 26th, 2010 ($55.00)

July 2010

Ann Arbor Give Camp - Ann Arbor, MI - July 16th - 18th, 2010 (Free)

Cleveland Give Camp - Cleveland, OH, July 16th - 18th, 2010 (Free)

August 2010

DevLink - Nashville, TN - August 5th - 7th, 2010 ($100.00)

September 2010

Ohio Linux Fest - Columbus, OH - September 10th - 12th, 2010 (Free)

October 2010

erubycon - Columbus, OH - October 1st - 3rd, 2010 (~$300.00)

November 2010

NO EVENTS

I can’t stress enough how much fun these events are. Not only can you learn a lot of things but you get a chance to hang out and socialize with some of the top developers in the area. I encourage all developers to try to attend at least one local event. You will not regret it!

Posted by AlanBarber on 01/23/2010 at 06:30 PM
Bookmark and Share Computers & TechnologyTechnology EventsComputer Conferences • (1) CommentsPermalink

Saturday, July 03, 2010

Codestock 2010

IMG_3303


Another CodeStock has gone and passed and what an event it was! They finally moved from The Pellissippi State Community College out in the boonies of Knoxville, TN to The University of Tennessee Conference Center in downtown Knoxville. Even better the “official” hotel of the event was the Hilton right across the street. Major props to the event organizers for setting this up so well.

Thursday

I had a nice 7 hour drive from Bowling Green, Ohio to Knoxville and by nice I mean a pain in the butt. I ran into major traffic slowdowns several times and hit two torrential downpours that had the entire highway driving 20-25mph through the mountains.

Luckily I managed to make it safely and got checked into the hotel. The hotel was very nice! Much better than the Laquinta I’ve stayed in the past 2 years!
I ended up meeting up with a large group and we went over to the Downtown Grill and Brewery for some good eats and drinks and then back to the hotel to hang and enjoy a few cigars.

Friday

Awake at the crack of 7:30am I was showered and across the street to the UT Conference Center.

I started out my day in Jeff Barnes (@jeff_barnes) session “Building Reliable and Scalable Systems with NServiceBus”.  This was a great intro to service buses and similar technology for scaling systems. I learned a lot from Jeff’s presentation and could see a few potential uses for this system at my own company if we were to re-engineer some of the core systems.

Sessions 2 was Robert Cain’s (@arcanecode) “The Decoder Ring for Data Warehousing / Business Intelligence with SQL Server”. Thank you so much Robert! You were amazing! I’ve been trying to get my head around the basics of data warehouses for some time now and for some reason I just couldn’t “get it” until you explained it. I have a few book suggestions from him as well so I need to pick those up to get moving forward on this for my company as well.

Next I hit the early lunch session and wandered over to the open spaces.

Sidenote, I love the way they did lunches at CodeStock. Instead of the usual set lunchtime that everyone eats at they just had lunch available for two sessions so that you could grab food between sessions and eat in a session. I liked that much better as it lets early or late eaters choose when they want to eat and it doesn’t waste precious learning time. I call it genius!

So at open spaces I ended up getting into a very long discussion about changes in society and the devaluation of information, free market, piracy, etc.  Holy cow was that a great conversation. This is one of the reasons I love events like this. So many smart people in one little area to share and disseminate knowledge, ideas and thoughts.
After that discussion I spend a good majority of the time speaking with a few people about my beliefs that our industry needs to be professionalized like engineers, doctors and lawyers. This is a highly volatile area of thought so I won’t go into the discussion now but it was fun to share my thoughts with other people.

The last session of the day I caught was Layla Driscoll (@LaylaDriscoll), .Net CLR Program Manager at Microsoft, on “.Net from within: CLR 4.0 and beyond”. It ended up being a very good presentation on some of the new 4.0 features and even a chance to ask questions about how Microsoft adds features. Very informative and cool to get some inside scoop on how MS works.

The day finally ended and we all hiked over to the Bijou Theater for the keynote. I wasn’t so sure I liked the idea of the keynote being 3 blocks away but it worked out so no complaints.

Rachel Appel (@RachelAppel), Developer Evangelist for Microsoft, gave the keynote on the topic of community. She brought up many people to talk about their experiences in the technology community. It was a fun keynote and best of all they did the prize giveaway there. Again, great idea staff! It’s nice not to have to wait after the event is over for an hour of prize giveaways since many people want to get on the road home.

Again, I headed back to the hotel for a few drinks at the bar and cigars. I was feeling very happy by the end of the night!

Saturday

Once again I was awake and at the event ready to go.

Session 1 was by Michael Eaton (@mjeaton) on “Going Independent 101: Lessons learned from a decade of independence”. This was a top notch session and it was very nice of Michael to share so many good tips and suggestions for how to move into the path of consultant.

I had planned to see Jennifer Marsman’s (@jennifermarsman) presentation on Win7 multitouch next but I ended up in Open spaces again chatting with people on many different topics.

Lunch time I sat in on Michael Kimsal’s (@mgkimsal) session “Getting start with Twilio”. This was probably the most useful session I sat in on. I do a lot of telephony work at my job and Twilio could end up being the perfect fit replacement for managing our own phone systems. I’m very happy that Michael did this presentation so I could be exposed to this technology.

After that session I sat around OpenSpaces for a while talking about jQuery, Sharepoint, sharing work horror stories and finally bailing out early to watch the USA soccer game.

The only thing left to do was attend the world renowned Alan Steven‘s (@alanstevens) Post-Stock party at his place. It’s so nice of Alan and his wife to open up their house to dozens of nerds to enjoy a fun night. There were drinks flowing aplenty and plenty of folks smoking pipes and cigars outside. We even had a bonfire to sit around while several people took turns playing guitars and singing songs.

IMG_3398 IMG_3395


Sunday

Getting up was a killer after staying up so late at Alan’s place but I managed to get checked out by 10:00am and on the road home to Ohio. Traffic flowed better but I still managed to get caught in two separate torrential downpours again that slowed traffic to a crawl. Man what is it about the mountains and rain?

I finally pulled into my home around 6pm and was glad to be back with my family and my own bed.

Now all I can think about is my next big adventure… DevLink!

Posted by AlanBarber on 07/03/2010 at 11:10 AM
Bookmark and Share Technology EventsComputer Conferences • (0) CommentsPermalink

Monday, May 17, 2010

C# Mutex for running single instance of a program

Here is some sample code that can be used in a c# application to make sure that only one instance of the program can run at a time.  In order to do this you will use a Mutex (Mutual Exclusion) which is a type of system wide lock. In laymens terms a Mutex is like a claim to ownership of a idea. You’re telling the world that no one else can have that idea as long as you are holding claim to it. As so as you don’t need it you can let go of the ownership and then someone else can claim ownership.

Sample Code:


class OneAtATimePlease {
// Use a name unique to the application (eg include your company URL)
static Mutex mutex = new Mutex (false, "oreilly.com OneAtATimeDemo");

static void Main() {
// Wait 5 seconds if contended – in case another instance
// of the program is in the process of shutting down.
if (!mutex.WaitOne (TimeSpan.FromSeconds (5), false)) {
Console.WriteLine ("Another instance of the app is running. Bye!");
return;
}
      try {
Console.WriteLine ("Running - press Enter to exit");
Console.ReadLine();
}
finally {
mutex.ReleaseMutex();
}
  }
}


A good feature of Mutex is that if the application terminates without ReleaseMutex first being called, the CLR will release the Mutex automatically.

As you can see it’s pretty simple code. You create a Mutex object. However, until you call the WaitOne function you do not actually make your claim to ownership of the mutex. So remember to do that!

* Disclaimer: This code and content are taken from multithreading in C# by Joseph Albahari. I do not claim any ownership or rights to this content. I am merely copying for my own future reference and to share the knowledge.

Posted by AlanBarber on 05/17/2010 at 09:11 AM
Bookmark and Share Computers & TechnologyCoding • (0) CommentsPermalink

Wednesday, April 07, 2010

Ann Arbor Day of .Net 2010 Registration Open

The Ann Arbor Day of .Net 2010 registration is now open.

There will be a small nominal fee of $10.00 this year to help cover expenses. Lets be honest her folks, for the great amount of information you be getting and the amazing opportunities to network with other professionals it’s worth the small fee.

It will be held Saturday, May 1st, 2010 in Ann Arbor, MI at Washtenaw Community College again.

Hurry up and go get registered before it’s too late!

Posted by AlanBarber on 04/07/2010 at 09:20 AM
Bookmark and Share Technology EventsComputer Conferences • (0) CommentsPermalink

Monday, March 22, 2010

Setting PreLogin Banner on SSH Server

If you are running your own server I’m sure you’ve thought about setting your own login banner for SSH connections. This can be handy to post any important information such as service notices or a legal warning before a user logs in. You can see a sample login banner below in this screen shot.

SSH PreLogin Banner

This is extremely easy to setup

Step 1: Login in as root and navigate to “/etc/ssh”.

Step 2: create a file named “sshd-banner” using your editor of choice.

Step 3: create your banner content and save the file.

Step 4: open “sshd_config” for editing.

Step 5: Add the following line to your config file “Banner /etc/ssh/sshd-banner” and save.

Step 6: Restart the sshd server. On a linux server this would be “/etc/init.d/sshd restart”

Feel free to log back into your server to test.

Posted by AlanBarber on 03/22/2010 at 07:26 PM
Bookmark and Share Computers & TechnologyBSD / Linux • (0) CommentsPermalink
Page 1 of 90 pages  1 2 3 >  Last »