Dom & Tom Workshops – iPhone Apps – August 28th + 29th (Manhattan)

Dom & Tom Workshops Dom & Tom Workshops
TOM@DOMNTOM.COM

Follow Us - twitter
Join Us - Linked In
Be Our Fan - Facebook

Dom & Tom

Whether you are a new entrant into one of the fastest growing market in the world, or a seasoned iPhone developer looking to get a leg up, this workshop is essential for you. Learn from accomplished iPhone application developers who are already in the field. Obtain the tools and training to take your idea and make it come alive on the iPhone today. By the end of our workshops you will make several iPhone apps, from start to finish.

FUNDAMENTALS IN iPHONE APPLICATION DEVELOPMENT

  • Learn Objective-C 2.0
  • Discover the innovative Model-View-Controller interface
  • Practice coding techniques and standards
  • Become familiar with the Apple Human Interface Guide
  • Create and test multiple iPhone applications
  • Learn from seasoned veterans working in the field
Posted in Technology, cell phone, development | Leave a comment

Supersize it!

Okay, but don't tell my wife

Posted in development | Leave a comment

The Perfect 4th of July Mini-Burger

This really belongs over at http://phoneticsmellings.com, but I’m choosing to post it here, for no real reason.

Mini burgers are all the rage, and great for a 4th of July barbecue, or any time you’re having a bunch of people over. They cook fast, so you can get something in hungry peoples stomachs quickly, make more if need be, and even hold on to them if you don’t end up using it all. It’s also great for the inevitable “I’m craving a burger, but watching my red meat intake, so I don’t want to eat a whole one” guest.

Ingredients

1 lb ground beef. (80% lean is best, but you can use leaner if you like, just note the special instructions)
1 large egg
1/2 teaspoon cumin
1 tablespoon total of mustard or hot sauce (or 1/2 tablespoon of each)
2 cloves well minced garlic (or 1/2 teaspoon garlic powder)
1 teaspoon oregano
1 teaspoon soy sauce
1 teaspoon teriaki sauce
1/4 teaspoon savory
1/4 teaspoon dill
1/4 teaspoon pepper
12 pack King’s Hawaiian Sweet Rolls

What do I do with it?

Mix it all up. If you chose to use extra lean ground beef, you’ll want to add about 2 tablespoons of fresh bread crumbs to the mix. The best method is in a big bowl, digging in with your hands getting them nice and dirty. If you’re afraid of gunk, throwing it all in a gallon Ziplock bag and mashing it through the protective plastic works, and keeps you safe from amoebas.

Mash out (or roll out) the well mixed beef mixture into a rectangle a little bit larger than the size and shape of that 12-pack of rolls. They will be fairly thin, and don’t be surprised if they aren’t as “firm” as the burgers you usually make. Blame the egg for it, but note that they’ll cook up perfectly fine. Chop it up into 12 small burgers, and throw on the grill for about 3 minutes each side. They don’t take long, and try not to move them until its time to flip! With these burgers, you don’t even need any fixins, they’ll be nice and juicy and already seasoned, but some grilled onions go nicely with it, if you must.

Have a happy fourth of July everyone!

Posted in random | Tagged , , , | 2 Comments

The iPhone is NOT a computer.

The iPhone is NOT a computer.

The iPhone is NOT a computer.

I’d repeat it a few more times, but let me be perfectly clear: Comparing the iPhone to your home or office computer is a waste of time.

I see and hear thing like this constantly, and I’d like to address and put an end to some of them.

1) The iPhone is a mini-computer!

Sure. It is like a mini-computer. It has many of the capabilities that a computer has. It computes, and can run applications. However, this is true of Blackberry devices, Palm devices, and Windows Mobile devices. The multitasking capabilities of a Windows Mobile device bring it slightly closer to being a “computer”, but not quite far enough. The limitations place on all of these devices for either corporate or practical purposes still leave all of these devices to be one thing: A phone with advanced PDA features.

2) Software distribution for computers should be just like the iPhone app store!

No. Dear God, no. There are so many things wrong with this. First of all, the app store is designed to deliver applications to a single type of device, running a single type of operating system. The app store build on the age old model of the software repository, which many linux distributions today follow. Sounds fantastic, right? It is.

Here’s the problem. Every single piece of software on that store is managed by Apple. Apple collects profits for every sale. They also have, under their sole discretion, the option to remove any piece of software from the store at any time. The store is censored, and does not allow for free (libre) knowledge, speech, or software. It is a backward step in software freedom, and a pain in the ass for developers. It has now been 2 weeks since submitting my first iPhone app, and it is not yet available, nor has their been any feedback yet. I could have been selling the same piece of software on my website for two weeks now if Apple allowed it.*

3) I can send e-mail, pictures, do calculations, schedule appointments….

If your iPod a computer? Most people would say no.  The iPhone has a lot of great applications that take full use of the iPod Touch system. Did you know that nearly the only difference between the iPod Touch and the iPhone is the wireless radio, and phone application that go along with it? I have a Windows Mobile phone (that I hate), and it does a lot more than the iPhone ever could (including multi-tasking). I would never even consider to say that it’s a “tiny computer”… Yet it has Office Mobile, Google Maps, and many other usefull applications.

It is however, a phone. A telephone. A telephone with a lot of useful features. Just like the iPhone.

* Apple does allow this. It’s in a little footnote like this, they charge $300 a year for the right to do so, and you’ll be hard-pressed to find a single iPhone owner that knows about it.

Posted in cell phone, development | Tagged , | 4 Comments

PHP Elapsed Time Function

After a time searching the internet, I couldn’t find a good function to return “human” elapsed time, so I wrote one. I’m sharing it with you in hopes that you’ll find it as useful as I did. This will give you a result that ends up looking very similar to the way Twitter shows time elapsed, and exactly the way I display it on AnonTwit. Syntax highlighted code available at  http://pastebin.ca/1466334 for those interested.

function elapsed_time ( $start, $end = false)
{
if ($end == false) //if you don't pass a second parameter,
$end = time(); //we assume you're comparing to now.

$diff = $end - $start;
$days = floor ( $diff/86400 ); //calculate the days
$diff = $diff - ($days*86400); // subtract the days

$hours = floor ( $diff/3600 ); // calculate the hours
$diff = $diff - ($hours*3600); // subtract the hours

$mins = floor ( $diff/60 ); // calculate the minutes
$diff = $diff - ($mins*60); // subtract the mins

$secs = $diff; // what's left is the seconds;
if ($secs > 0) {
$returnval = "$secs second".(($secs>1) ? "s":"")." ago";
}

if ($mins > 0) {
$returnval = "$mins minute".(($mins>1) ? "s":"")." ago";
}

if ($hours > 0) {
$returnval = "$hours hour".(($hours>1) ? "s":"")." ago";
}

if ($days > 0) {
$returnval = "$days day".(($days>1) ? "s":"")." ago";
}

$return = "About "; //change the wording to what you like
return $return . $returnval;
}

Posted in development | 2 Comments