Sunday, March 21, 2010

Get the Build Version of your iPhone app at runtime

March 19, 2010 by Josh Highland  
Filed under iPhone app dev, tutorials

Get the Build Version of your iPhone app at runtime

This is how to get the version number of your app at run time. I find this helpful in to use in the “about” section of my apps.

SQL Server 2008: FIXED “Saving changes is not permitted”

February 8, 2010 by Josh Highland  
Filed under software, tutorials, windows

SQL Server 2008: FIXED “Saving changes is not permitted”

Working in SQL Server 2008 I received this confusing error when editing the structure of a table:
“Saving changes is not permitted. The changes that you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes [...]

Remove Unwanted Firefox Auto-Suggest Entries

February 6, 2010 by Josh Highland  
Filed under internet, linux, mac, tutorials, windows

Remove Unwanted Firefox Auto-Suggest Entries

Firefox 3 is awesome we all know that, but there are some things that that would just be nice to have. One of those things would be the ability to control what appears for the auto suggest when you type in the URL bar.
Most of the time FireFox does a very good job of figuring [...]

SQL Server 2008: FIXED “Data has changed since the Results pane was last retrieved”

February 3, 2010 by Josh Highland  
Filed under MySQL, Programming, software, tutorials, windows

SQL Server 2008: FIXED “Data has changed since the Results pane was last retrieved”

Today I was trying to edit the value in a table cell through the query browser in Microsoft SQL Server Management Itudio and I kept getting the following error:
Data has changed since the Results pane was last retrieved. Do you want to save your changes now?
(Optimistic Concurrency Control Error)
Click Yes to commit your changes to [...]

I got a Drobo!

February 2, 2010 by Josh Highland  
Filed under Josh's Rambling, Tech, hardware, video

I got a Drobo!

I have entered into a relationship with a new piece of high tech equipment, Drobo. Drobo is a self proclaimed “Data Robot”. In technical terms its a ASD (Attached storage device) running a custom version of RAID 5. When coupled with a DroboShare, it becomes a NAS (network attached storage) device.
In non tech terms, its [...]

follow up to my iPad predictions

January 28, 2010 by Josh Highland  
Filed under Tech, hardware, mac, video

follow up to my iPad predictions

So Apple has announced the iPad. This is a follow up to the predictions  I posted last week.
Things I was right about:

Apple will announce a tablet device
new version of the iPhone OS, 3.2.2
iPad will run on the iPhone OS
iPad will run iPhone applications
The iPad will have a 10 inch screen (9.7 inches is close enough)
16, [...]

iPhone OS 4.0 / iSlate Predictions

January 21, 2010 by Josh Highland  
Filed under Tech, hardware, iPhone, mac, video

iPhone OS 4.0 / iSlate Predictions

How To detect an internet connection with the iPhone SDK

December 22, 2009 by Josh Highland  
Filed under Programming, Tech, iPhone, iPhone app dev, tutorials

How To detect an internet connection with the iPhone SDK

There are several ways to problematically detect if an iPhone has an internet connection, but most of them cant tell you how the iPhone is connected to the internet.
Apple has sample code to accomplish just this task. The Reachability class is not shipped with the SDK, but is part of a sample project of the [...]

String Comparison in the iPhone SDK

November 30, 2009 by Josh Highland  
Filed under iPhone app dev, tutorials

String Comparison in the iPhone SDK

(“String comparisons in objective-c” != “c” || “c++” || “php”)

Removing trailing comas with PHP

November 2, 2009 by Josh Highland  
Filed under php, tutorials

Removing trailing comas with PHP

Dealing with trailing comas in lists is common problem for developers. I found the best way to handle this situation in PHP is with the following regular expression.

$string = eregi_replace(’,$’, ”, $string);

Before: string = “2, 6, 9,”
After: string = “2, 6, 9″
Only the trailing coma will be stripped. If no coma is found, the string [...]

Next Page »