Graphic Designers Needed

I am looking at productizing a portion of my business based on an opportunity that is begging to be taken advantage of. What I need is a few graphic design firms that are interested in offering a logo package (not necessarily a full corporate branding package) for a website logo so that I could offer customers a few choices in creating a logo for their site that I will be building. Contact me if interested.

 

http://twitter.com/jmiles_tms or http://www.twomilessolutions.com/contact-us/

  • Share/Bookmark

.NET Style Properties (Getters/Setters) in PHP

DSC01202 On any given day, I can be programming in one of many languages (C# .NET, PHP, JavaScript, CSS, & HTML [I know I may be pushing it calling CSS & HTML languages], and soon Visual Basic .NET because of a collaborative project).  Don’t get me wrong, I love that part of my job.  It keeps me sharp.  Sure there is the occasional mishap where I forget that the . is the member accessor in the .NET languages, but it is the concatenation operator in PHP and I will throw the occasional $ into my C# code…

Another thing to know is that I am an object oriented programmer to the core…I am currently cleaning up after another developer who was not an object oriented guy…grr…there is data access code everywhere and he didn’t know the definition of object…finally I just took the functionality down because it was so bug ridden that whenever I would fix one bug, it would expose another.  One thing that has constantly bugged me since I started coding in PHP that I didn’t like its method of using __get and __set for getters and setters (mainly because I still use a modified version of Hungarian notation, but that is a discussion for another blog post, so I didn’t like what the getters and setters would look like).

Then, tonight, as I was coding, I had an epiphany, I could use PHP’s optional operator syntax for a function to get something close to what I would want.  So, where I would have coded this before:

   1:  <?php
   2:   
   3:  class Test {
   4:   
   5:  private $m_intId;
   6:   
   7:  public function setId($value) {
   8:   
   9:  $this->m_intId = $value;
  10:   
  11:  }
  12:   
  13:  public function getId() {
  14:   
  15:  return $this->m_intId();
  16:   
  17:  }
  18:   
  19:  }
  20:   
  21:  ?>

where I would do the following to access it $objTest->setId(1); or $intId = $objTest->getId(); (I would have to explicitly call the getter or setter)

Tonight I realized, I could code it this way:

   1:  <?php
   2:   
   3:  class Test {
   4:   
   5:  private $m_intId;
   6:   
   7:  public function Id($value = 0) {
   8:   
   9:  if($value != 0) {
  10:   
  11:  $this->m_intId = $value;
  12:   
  13:  } else {
  14:   
  15:  return $this->m_intId;
  16:   
  17:  }
  18:   
  19:  }
  20:   
  21:  ?>

Now, I can access the id by doing the following: $objTest->Id(5); or $intId = $objTest->Id();

What are your thoughts developers?

  • Share/Bookmark

Beginner’s Guide to Facebook Fan Pages

So you are a celebrity, band, or business owner and you want to create a Page for your business.  What a lot of people don’t know is that it is against the Facebook terms of service to promote your band or business with a Facebook personal profile.  So now what?  That’s where Facebook Pages come in.  This tutorial will walk you through creating your own Fan Page.

You can create a page in one of two places:

Facebook.com

http://www.facebook.com

or

002_facebook_com_pages

http://www.facebook.com/pages

After you fill out the basic information for your page you may be directed to the Ads and Pages application, if not, you can access it by clicking the button shown in the picture below.

003_facebook_com_pages_home

After you are directed to the Ads & Pages application, click the pages link to access your page.

004_facebook_com_pages_business_dashboard

After clicking pages you will see a list of pages that you are an administrator for.  You have a couple options, if you click your page name (#1) you will be directed to what users will see when they see your page.

005_facebook_com_pages_pages_manage

If you click Edit Page (#2) you will be taken to the admin screen (expanded view below).

006_facebook_com_pages_pages_edit

Edit the settings to your liking as well as add users who you want to be able to administer the page.  When you are done, click the view page link at the top of the screen.  You will be taken to a page like this.

007_facebook_com_twomilessolutions

Make sure you write something about your company in the box on the left, then click the info tab to edit your information.

008_facebook_com_pages_Inner-View-Consult

Once on the Info tab click the Edit Information link and you will see a screen like this.

009_facebook_com_pages_Inner-View-Consult_279613585020#_pages_Inner-View-Consult

After you edit the basic information, click on the Detailed Information header and you will see a section like this.

010

Once you are ready, publish the page by clicking the link at the top of the page.

011

Now tell your friends about your page and let them become fans.  After you have 25 fans, go to http://www.facebook.com/username and you can set a vanity URL for your page.

004.5

Please let me know if this tutorial has helped you out or if you have any questions.

  • Share/Bookmark

Seven Questions about the last year

On December 29th, 2009 Michael Hyatt posted a very thought provoking article on processing what the last year has contained.  You can read it here.  The gist is that there are 7 questions you should ask yourself about the last year.  This post is my attempt to process these questions for myself from a business perspective.   I will be doing resolution/goal setting posts next week, but here is a look back.

  1. If the last year were a movie of your life, what would the genre be?
    I would have to say suspense.  Two Miles Solutions, LLC will be celebrating its 3rd birthday in March of 2010 so we are still on that upward curve where you don’t know sometimes where that next paycheck is coming from.  This is especially true given what the economic climate in our country was this year.  All that being said, Two Miles Solutions, LLC is ending the year on a great foot and things look very good for 2010.
  2. What were the two or three major themes that kept recurring?
    - Gaining a deeper understanding…this was a year where I grew a lot as an individual, from a business owner perspective, I have learned quite a lot about the politics that you have to play as a business owner sometimes and as much as you try and stay out of the BS, it finds you.  I have learned how to use a lot of cool tools this year and have developed quite the toolbox for myself to help other customers.
    -  Survival of the Fittest…as most of you know this was a tough year economically for a lot of people because of the recession, many businesses shut down, but Two Miles Solutions, LLC is still alive and kicking and looking forward to what 2010 will contain.
  3. What did you accomplish this past year that you are the most proud of?
    I think the first thing I have to say is that I survived.  A lot of business owners I know had to close shop this year.  I am proud to say that Two Miles Solutions, LLC is right on the verge of some really cool things that look to be shaping up for the 2010 calendar year.
  4. What do you feel you should have been acknowledged for but weren’t?
    This one is a personal question that I don’t feel I should post for the world to see.
  5. What disappointments or regrets did you experience this last year?
    There are a few projects that I worked on this year that should have gained traction but for one reason or another didn’t.  All four projects hold the promise of residual income that will allow me to spend less time working and more time with my family, but for reasons I can’t elaborate to the entire world (most if not all of them completely out of my control) none of them turned out the way we expected.  Things are looking better for 2010 on all four projects, but we will see.
  6. What was missing from last year as you look back?
    Sleep.  Most people who know me know that I don’t get a whole lot of sleep.  I hope to change this in 2010 and going forward.
  7. What were major life-lessons you learned this past year?
    -
    When with your family, you need to disconnect from the office.  This is a huge thing for me given that I work from home.  What this means for me is that sometimes I leave my cell phone in my office so that I am not checking my email at the dinner table.
    - Sometimes you just need a break.  As much as I would like to think that I am superman, I am not, sometimes I just need to stop and relax.

Hopefully, you found this post insightful, I would recommend doing the same as you get ready to start the new year and set goals for the upcoming year.  You can’t figure out where you are going if you don’t know where you have been.

  • Share/Bookmark

Social Media Profiles: To link or not to link, that is the question…

Twitter, Facebook, LinkedIn, FriendFeed, Digg, StumbleUpon, Flickr, Google Profiles, MySpace, the list goes on and on…  If you have no idea what I am talking about, read no further, but if you have profiles or pages on at least 2 of these sites, please continue to read.

Are you still with me?  Good.  I’m glad you came.

As a part of my job, I set clients up with blogs and social media profiles to help them get their name out into cyberspace in a way that their customers can find them.  A lot of times, I am dealing with someone who does not sit in front of a computer all day so in order to help them better manage their online presence, I recommend them linking their Social Media profiles.  For a typical business, I recommend they have a Facebook Fan Page for their business as well as at least a Twitter account, and most of the time, depending on who they are trying to reach, an account on LinkedIn.  All three of these websites offer some degree of interconnectivity, see graphic below…

social media mess

Not only that but as you can see from the graphic, there are services like Ping.fm and hootsuite.com that allow you to aggregate your profiles (the list of applications here is endless) and there you are standing off to the side trying to coordinate this mess.

What is the typical person to do?

First off, what are all these things?  (Starting from the top left)

  1. Twitter – this is what is called a microblogging service.  It gives you 140 characters to broadcast your life to people who have decided to “follow” you…
  2. Facebook Profile – this is a social networking site where you can connect with friends.  I have over 700 friends on Facebook, but here is the kicker, I either know every single one of the people or have done business with them at some point.  Facebook DOES NOT allow you to have a profile for business entities…that is where the next item comes into play.
  3. Facebook Fan Page – this is Facebook’s answer to the business world.  Using a fan page you create a Facebook presence for your business.  This is the officially accepted way of doing the Facebook thing for your business.  With this page, you do not have to be friends with all of your business contacts, but they can become fans of your organization and can receive your updates.
  4. Me – substitute your picture if you would like, but the center of your social media universe, if all is in check, is yourself.
  5. LinkedIn – this is a business network social media site.  In the Madison, WI area LinkedIn is pretty active.  I have both business contacts and personal contacts on this site mainly because some of the people I went to college with who are now in the business world are on LinkedIn.
  6. Aggregate services like Ping.fm & HootSuite – these services try to bring some semblance of order to your social media world.

Now that I have given a brief explanation of what these services are, I will now address the main focus of my blog post…should you link your accounts?  Built into each of these services is the inherent ability to link to other accounts…for instance your Facebook Fan Page can be linked up with your Twitter account so that if you publish a status update it will automagically be published to Twitter, the same thing is true for your LinkedIn profile…throw a couple blogs into the list with plugins that update your statuses who knows where a status update could end up.

If you are just getting into the social media scene then I would recommend just linking your few accounts and going for it.  For more advanced users, or those who are like me and have profiles that are a mix of business and personal (I know, shame on me…), I recommend using a service like Ping.fm or hootsuite.com.  Personally, I use hootsuite.com.  They do not have support yet for Facebook Fan Pages, but I am online enough that I can update that status manually.  Here is how my accounts are set up.

  • Facebook profile: This is a primarily personal account, but since I am a business owner and friends of mine are business people, I have a lot of connections.
  • Facebook Fan Page: This is strictly business, no personal information is posted to this account.
  • Twitter: what is this account not…personal, business, ministry, you name it, it’s on there for me.
  • LinkedIn: again another amalgam between personal and business due to the nature of the friends and colleagues of mine who are on these mediums.

Throw on top of this that I currently run 2 blogs (a business and personal blog) and will soon be running 2 more (ministry related) my ducks must be in a row.  That is why I recommend NOT linking your accounts unless you absolutely have to or are not online very often (I disabled the Facebook Fan Page link to my Twitter account, but I keep LinkedIn linked to Twitter because it gives you the choice on whether or not you want to publish).  This will keep you from inadvertently posting a status update to the wrong site.  Instead I use hootsuite because it gives me this cool little area:

three_amigos_of_social_media

What this allows me to do is be selective of my account updates because I can choose which networks I want my update to go to.

Hopefully you found this post to be informative, please discuss in the comments.

  • Share/Bookmark

.NET: One line could save your 64-bit bacon!

I have a customer that recently had to purchase a new computer due to her previous computer finally biting the dust.  Knowing what programs she was running on her computer, I advised her that she should purchase a 32-bit version of Vista (then upgrade to the 32-bit version of Windows 7 when it came out).

She bought a 32-bit machine that was running Vista and everything seemed fine except the OS was corrupt.  So she took the computer back in to have it replaced and they gave her a shiny new Windows 7 machine (she was only days away from the release of Windows 7) .  She asked them to give her the same computer, but they gave her a 64-bit version of Windows 7 so when she went to install her programs she ran into a ton of problems because the programs were not written for the 64-bit versions of the operating system (a lot of legacy applications are not written for 64-bit operating systems, this isn’t Microsoft’s fault, this is a fault of the application programmers).

I have a small application that I wrote that for ease of use and not having to install any other programs, I chose to use Microsoft Access as the database for the application (say what you will, it was a side project that turned into something I could sell), but there is no 64-bit JET driver for reading Access databases so for 64-bit operating systems, I was hosed, until I found out that one line could change everything.

In the csproj file of your C# .NET application, in the first property group, add this line:

<PlatformTarget>x86</PlatformTarget>

So your property group should look something like this:

<PropertyGroup>
<PlatformTarget>x86</PlatformTarget>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{A16625F1-A4BA-46FA-BD05-737257A18EBD}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>UPurMEMORY</RootNamespace>
<AssemblyName>UPurMEMORY</AssemblyName>
<ApplicationIcon>UPurMEMORY.48.ico</ApplicationIcon>
<FileUpgradeFlags></FileUpgradeFlags>
<UpgradeBackupLocation></UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
</PropertyGroup>

That one little line saved my bacon and allows me to sell that piece of software for $10 to anyone who runs a 64-bit operating system.  I’m not saying this will solve all of your problems, but it helped me.

Related Links:

- UPurMEMORY – memorization utility ($10.00 USD)
- Windows 7 Home Premium (upgrade)
- Windows 7 Professional (upgrade)
- Windows 7 Ultimate (upgrade)

Related Posts:

- What’s the big deal about Windows 7?

  • Share/Bookmark

PHP Coding: chmod() my new best friend

phpFor all of you coders out there, I just found a new best friend, its name is chmod().  For those of you familiar with Unix/Linux this command will look familiar.

Background: I was implementing an online store for a customer who already had an existing website, but wanted to be able to sell her goods online (I’m trying to keep things vague on purpose when describing the website).  I built her a custom content management system for her online store that allowed her to upload pictures of her goods and input pricing data.  My code would take the image she uploaded, save it, then copy it and resize the copy to make a thumbnail image.  For whatever reason though, her web host was locking down permissions on the first file.  This became problematic because it doesn’t do any good to have a file that you can’t read…

Solution: After using the move_uploaded_file() command I used the chmod() command to reset the file permissions.

Here is the format of the chmod() function: chmod($filename$mode );

I also ran into a gotcha that I didn’t expect…when specifying the mode, do not specify it as a string, (ie. “755″), instead you specify it as a number (ie. 755), even further though, you have to throw in a leading zero (ie. 0755).

Hopefully, you found this post helpful, happy coding.

  • Share/Bookmark

What’s the big deal about Windows 7

Windows 7 ProfessionalIf you have been watching any TV lately, you have probably seen the new Mac ads or the new Windows 7 ads and you are wondering what’s the big deal.  Hopefully this post will answer some of your questions.

After the debacle that was Vista, Microsoft had a lot to prove and I think they did it.  I’m not the only one who thinks so, according to a lifehacker.com poll posted this morning a large percentage of their users are fans see actual numbers (from 2:00 pm on October 28th, below)

  • Love it – 59% (8,681 votes)
  • Like it – 27% (3,956 votes)
  • Indifferent – 5% (804 votes)
  • Not Thrilled – 4 % (590 votes)
  • Hate it – 2% (290 votes)
  • Ambivilent – 2% (251 votes)
  • Other – 2% (242 votes)

So roughly 86% of the people who responded like it so they must have done something right.  Here are a few of the reasons:

As stated above, I have loved my experience with Windows 7 to this point.  I installed the Release Candidate when it came out and was really impressed.  I have since upgraded my Release Candidate copy to a fully licensed copy of Windows 7 Professional (upgrade).  Here are my three favorite features.

Windows 7 Taskbar
With every previous version of Windows, I would do one of two things, either overload the quick launch bar with icons or download a Mac OS X style dock for holding application icons.  I don’t need to do that with Windows 7, take a look at my taskbar (cropped to fit)
taskbar
Everything is right where I need it, I don’t have to go to the start menu at all.  To get an icon onto the taskbar, from the start menu or file explorer right click on the program icon and click Pin to Taskbar that’s it (see below).
pin to taskbar

Rotating Desktop images
As you can see from the backgrounds of the two images already posted in this blog my desktop background has switched and here’s the cool thing, I didn’t  have to switch it by hand.  I just told Windows 7 to monitor a folder and then tell it how often to rotate.  To get there, right click on your desktop and choose Personalize.  Then, in the bottom left, click on Desktop Background.  Click the image for a full size view.
desktop
I know this is a minor deal, but for me it is a productivity issue, I can’t stand having the same desktop background all the time.

Window Snapping
One of my favorite features of Ubuntu while I was using it was the ability to grab a window and drag it to another screen or part of the screen and have it snap to the side.  Windows 7 has implemented this and done even more.  First, for you mouse users, you can grab a window by its title bar and drag it to either the top of the screen (this will maximize the window), the left side, or the right side (snapping a window to the left or right side will make the window 50% of the screen width and the full screen height.
In the screenshot below you see two windows snapped to the sides of the screen, this is great for side by side viewing.  (click on the image for a larger view)
snapped windows

For those of you who are keyboard users, the windows key is your friend.  (look to the left of your spacebar)
windows_key
By using the keyboard shortcut windows+left arrow you can cycle a window to the left through its different snap modes, windows+up arrow you can maximize the current window, or with windows+right arrow you can cycle a window to the right through its different snap modes.

My other favorite feature is that is just runs well, runs fast, and is pleasing to the eyes.  Let me know your thoughts in the comments below.  If you found this blog helpful, use the Share/Save button below to share this blog entry with your friends.

Get your own copy by clicking a link below:

Also, if you need help installing Windows 7 contact Chris at Robson Computer Technologies, tell him Jeff sent you.

  • Share/Bookmark

AliMcWilliams.com is live!

Ali McWilliams iconI have had the pleasure of working with Faith Dey and Alison McWilliams on the Siren Fitness site as they have grown.  I was responsible for keeping site content up to date and making little tweaks here and there as they needed them.  As they have grown, they have realized that it was time to move on and create separate business entities but still work closely together as well as work closely with other businesses in the health and fitness industry.  As a part of starting her new business Alison approached me to do her website and I am pleased to announce that AliMcWilliams.com is live.  The site is built using WordPress and features integration with Facebook and Twitter as well as a PayPal shopping cart for customers to purchase fitness packages from her.  Ali was a lot of fun to work with and I really admire the work she does with empowering women in the Madison community.  The logo and business image were created by Bluestem Creative based out of Stoughton, WI.  This is a really exciting time for Alison and Faith, check them out.

  • Share/Bookmark

Madison Business Connection: Doc Jams Printer Service & Repair

Doc Jams Printer Service & RepairThis post has been on hold for almost 2 weeks now.  On October 1st (the day my wife went into labor) I was able to sit down with James Kademan, the owner of Doc Jams, and learn about what they do.  Doc Jams has been in business for 3 years and serves to repair and service desktop and other small format printers (James has been doing printer repair for 9 years).  The goal of Doc Jams is to get onsite within 2 hours of receiving the call for printer service or repair.  I especially like their slogan “Getting You Back To Printing”.

Doc Jams is certified to work on Xerox, Tektronix, & Hewlett Packard printers.  So before you toss your printer out the window, call (608) 837-2739 and get Doc Jams out there to solve your problem.  If you are out of ink or toner, Doc Jams also sells toner and ink cartridges.  Being the computer guy that I am I was very fascinated at the lengths the big box companies like Xerox and HP do to keep companies like Doc Jams out of business by coming out with so many new models of printers each year to try and protect their lucrative corner on the market of toner and ink.

So, as the marketing pens they provide state…”Don’t screw it up yourself, Call…Doc Jams Printer Repair” (One end of the pen is a screwdriver)…I like their style.

Doc Jams definitely knows their stuff and I would recommend them for your printer woes.

  • Share/Bookmark




Two Miles Solutions, LLC
Create your WordPress blog in minutes!

I use HostMonster.com for my hosting and love it. They usually have a special for $5.95/month for hosting plans.

They feature 1-click installers for many popular website scripts like WordPress for blogging.

Click the image below to signup

Get Adobe Flash playerPlugin by wpburn.com wordpress themes