iD Tech Camps

Save money on camp with this special offer

Search Our Site

The World's #1 Tech Camp

iD News and Blog

Request a Brochure

You are currently browsing our archives.

Preparing for Camp

Summer is just around the bend and it’s time to start thinking about camp. What will you bring? How will you prepare? These are common questions from both first-time and seasoned campers. Let’s explore some of the answers below.

How to prepare:

I suggest starting to pack early, even a week in advance. This will allow you time to go out and buy anything you realize you still need before you have to leave. Please make sure your registration is in order and that your camp account is paid and up-to-date. You may want to bring with you the confirmation of your registration and your map/driving directions.

What to bring:

If you’re an Overnight Camper, please refer to the iD Tech Camps’ checklist. But in general, just bring your daily essentials. We advise you not to bring anything you wouldn’t want to lose. Medications and other essentials should be clearly marked and all health conditions should be reviewed at check-in. For the benefit of your child, please make sure to disclose all medical issues with the registration materials. This way the Director and staff are informed in advanced and can make your child’s experience that more enjoyable.

And remember…

We’re here to help! Should you have ANY questions prior to, during, or after camp, our Client Services Representatives are available to assist you by phone or email. While at camp, your child is encouraged to bring any questions or concerns to the camp staff since all staff are extensively trained and ready to help.

However, the most important thing to bring to camp is your eagerness to learn and have a fun week. You’ll find that attending iD Tech Camps will be one of the most exciting and long lasting things you’ll do this summer. And you’ll make many friends who share similar interests. Now you can even stay in contact by visiting The iD Basement – Enjoy it!

May 27th, 2009

Posted in: iD Tech Camps

Trip to iD Tech Headquarters: Part 3

Welcome back guys! I had intended to post the conclusion to this prank last week but I was busy at our annual staff training at Lake Forest College in Chicago (more on that soon!)

For those just tuning in, this is the final installment covering the annual prank on Pete. In my last blog I documented how we covered Pete entire house with little green army men, now, it’s after hours and my team of merry pranksters has infiltrated the iD Tech Headquarters and we about to cover the office just the same.  We decided to Make Pete’s desk the epicenter of the green army men but start with a line of them from the elevator, that would meet up with a similar line of them coming from his desk and include a tableaux in the middle.

Ken, from IT, spearheaded the battalion starting at the elevator, arranging his soldiers in a tight single-file formation:

Jami, SoCal Regional Manager, lead her troups into battle starting from Pete’s desk. Jami implemented more guerilla style tactics, marching her soldiers in a staggered, tessellated pattern:

They meet in the middle:

It’s an ambush!?

And finally, the view from Pete’s war-torn desk!

Despite all these solders, we are all about peace a love at iD! We just have a funny way of showing it with these goofy pranks – Pete is always a great sport!

May 22nd, 2009 | Tags: , ,

Posted in: iD Tech Bloggers

Making a Poll in PHP from Scratch: Part 1

There are plenty of ready-made Internet polls out there, particularly if you are using a framework for your site such as WordPress, vBulletin, or Joomla/Drupal. But occasionally it is worthwhile to create your own from scratch, whether for learning or to simply fulfill specific features you need in your application. In this series of posts, that is exactly what we will create – a homemade PHP/MySQL voting page. You should be then able to modify this code for your specific needs.

First, let’s talk about the inherent flaws in Internet voting. In the most basic form, an Internet poll is just a choice a person makes on a page that is stored in the database. Without any checks, a person could just refresh the page and vote over and over again. Or, worse, they could employ a script of their own that does this automatically. You could potentially register millions of votes this way, given enough time. So what checks and balances do we have? There are three main options.

User Login

A user login system is the most secure of your options, especially if the accounts are linked to a unique email address. If you are using a system like WordPress or Drupal, then it is trivial to store the userid of the voter in the database as well. Do you want to use this option with your poll? If the user is already logging in for other reasons, then this is probably fine. Making a user register just to vote in a poll brings the convenience factor way down, most likely deterring most people. Plus, is it really worth it? If a user has the time and inclination, they can simply register over and over again, especially if they have their own domain or email server from which to pull infinite accounts. You could employ some IP-checking with your account checks to make sure they are unique, but then it just becomes an arms race. This option is too burdernsome for us to use in this project.

Cookies

We could use cookies set on a person’s machine to determine whether they’ve voted or not, but all it takes is a browser switch, cleared cache, or a privacy mode and suddenly our checking goes right out the window. This option is almost too simple for the user to overcome.

IP Address

The last major option is an IP address check. There are several flaws with this method, like the others, but we can overcome a few of them more easily. First, IP addresses are not a one-address-to-one-person mapping. The system can go either way, in fact. You can have multiple IPs for a single person, if they have multiple systems, a cellphone, so on. You can also have multiple people for an IP, in the case of a corporate network. You could have 10,000 people registering as a single IP. But these are problems we can find workarounds for.  We’ll use IP checking in conjuction with a few tricks as our authentication method.

Database Structure: Your Favorite Fruit

For this poll, I’m creating two different database tables, mypoll and mypolltally. The first table will contain all of the choices in our poll and the second the individual votes. This means that we can only have a single poll at a time, but this is a trivial matter in the future to extend (we would simply add another column to mypoll, pollid, containing a unique identifier. Then we would just need a column in mypolltally to store the pollid of each vote).

         mypoll                                 mypolltally
--------------------------      --------------------------------------------
| id |      choice       |      | id | isvotefor |    ipaddress    | value |
--------------------------      --------------------------------------------
| 0  | banana            |      | 0  |     3     | 255.255.255.255 |   1   |
| 1  | apple             |      | 1  |     4     | 254.255.255.255 |   1   |
| 2  | orange            |      | 2  |     1     | 251.255.255.255 |   1   |
| 3  | strawberry        |      | 3  |     2     | 252.255.255.255 |   1   |
| 4  | blueberry         |      | 4  |     2     | 253.255.255.255 |   1   |
--------------------------      --------------------------------------------

The Fields

mypoll:

  • id: A unique identifier for records in the table. When we register a vote in mypolltally, we’ll need to know which option we are voting for. We’ll use this value to do so.
  • choice: The text for each option. Our poll question is “What is your favorite fruit?”, so here we lay out the choices such as
  • banana, apple, and orange.

mypolltally:

  • id: A unique identifier for each vote in the system.
  • isvotefor: This field points identifies which option in mypoll that this vote is selecting.
  • ipaddress:The IP address of the voter.
  • value:We can extend our features a little by having this field. Instead of simply registering a “Yes” for a particular option, we can register a range. We can then allow people to indicate how much they like the option. Perhaps a 1 value is a little, a 5 value is a lot, and anything negative means they do not like it. For now, a value of 1 will just mean yes but later we’ll extend it for enhanced voting.

That’s enough of the theory for now. In the next part of the series we’ll launch into the actual PHP code and finish up with the basic functionality. In Part 3 we’ll extend our code to allow for more features.

May 14th, 2009 | Tags: , , , , , , , ,

Posted in: iD Tech Bloggers

Trip to iD Tech Headquarters: Part 2

Welcome to the exciting continuation of “Trip to iD Tech Headquarters”. If you are just tuning in let me bring you up to speed. We are the annual iD Tech Paella party, hosted by none other than CEO Big Pete himself.  Every year at this event my department, the regional managers, play a big prank on Pete. So what was the prank this year?

Our weapon of choice: little green army men, approximately 1,000 of them

Our mission: secretly fill every nook-and-cranny of Pete’s house with them

While Pete was distracted cooking Paella and dancing the “eclectic slide” my cohorts and I rotated in and out of Pete’s house, with pockets full of little green army men. Here are some photo’s from our embedded reporters:

However it doesn’t stop there! Under the cover of darkness, at around midnight, a special “Delta Force” of soldiers was mobilized and invaded the iD Tech Headquarters! Though the assault on Pete’s house was fun, we out did ourselves in the office!!! Tune in next week for the exciting conclusion of operation “Make Pete Crazy with 1,000 little Green Army Men” and see Pete’s reaction!

May 8th, 2009

Posted in: Uncategorized

Randomizing your Flickr to vBulletin Feed

Last time I discussed pulling your Flickr feed into a vBulletin installation (or really, any php-based CMS/website). That solution pulled the lastest photos up to some amount and displayed them. But what if you want to randomize them and not always display the pictures in the same order? We’ll be pulling a large amount of photos from Flickr and I don’t always want only the last ones to show up in the same order. Instead, I’d like to pull the last, say, 200 photos and randomly display 10 of them. Here’s the code modification from last week’s post:

require_once("includes/phpFlickr.php");

// Create new phpFlickr object
$f = new phpFlickr("yourapikey");

$f->enableCache("db","mysql://user:password@server/database");

$limit = 200;
$count = 10;

// Find the NSID of the username inputted via the form
$person = $f->people_findByUsername('iDTechCamp');

// Get the friendly URL of the user's photos
$photos_url = $f->urls_getUserPhotos($person['id']);

// Get the user's first X($limit) public photos
$photos = $f->people_getPublicPhotos($person['id'], NULL, NULL, $limit);

$flickrbox = "<table class='flickrbox'><tr>";
$nonrepeatarray = array();

for ($i = 0; $i < $count; $i++) {
    $rand = rand(0,199);
    while(in_array($rand,$nonrepeatarray)) $rand = rand(0,199);
    array_push($nonrepeatarray, $rand);

    $photo = (array)$photos['photos']['photo'][$rand];
    $flickrbox .= "<td><a class='flickrimg' href=$photos_url$photo[id]>";
    $flickrbox .= "<img border='0' alt='$photo[title]' "
               ."src=" . $f->buildPhotoURL($photo, "Square") . ">";
    $flickrbox .= "</a></td>";
}

$flickrbox .= "</tr></table>";

You can see I’ve highlighted the altered sections in red. First, we up the $limit to 200. Then we introduce a new variable, $count. This variable will contain the number of photos we’d like displayed of the 200 we’re pulling. Next we change our foreach loop into a regular for loop. We will then randomly generate a number between 0 and 199 (remembering that arrays begin at 0, not 1). We run a while loop to check if that number is already in an array we’ve been keeping called $nonrepeatarray. If it is there, we draw another number. If it isn’t, we exit that loop, add it to the array, and keep moving with the portion of the loop dedicated to building the image display.

Although this may not be the most efficient method, it is simple. Plus, we have caching enabled through the phpFlickr API, so that will help. Other ways of doing the exact same thing include generating an array containing the values 0-199, shuffling the array, and then popping off one element each time. You are guaranteed not to have repeats.

For other methods of generating random, non-repeating numbers, with sample code, see here: http://www.phpbuilder.com/board/showthread.php?t=10329337.

May 7th, 2009 | Tags: , , , , , ,

Posted in: iD Tech Bloggers

4th Winner of a Free Week of Camp!

Win A Free Week of Camp! Rita Cecil is the fourth winner of a free week of Day Camp for iD Tech Camps this season! Congratulations to Rita and we are excited to have your family join the iD Family!

Come see us at a camp fair event near you and enter for your chance to win! To find a camp fair in your area, simply call our client service department at 1-888-709-TECH (8324), option 1.

- TeamiD

May 5th, 2009

Posted in: iD Tech Camps, Uncategorized

Learn more about yourself and your interests at iD!

Meet another one of our Do Something Big success stories: Mike!

By first attending, then teaching at iD Tech Camps, Mike was able to find his passion for technology while combining it with his love of music. Mike is now pursuing both of these interests at college and on his own time.

Read an excerpt from our interview with Mike, below:

iD: What’s your hometown and state?

Mike: West Chester, PA

iD: How many years at iD (attending and working)?

M: Attended for 3 years at Villanova in 2001, 2002, and 2003 and instructed at Villanova and Sacred Heart University in 2008.

iD: What are your favorite things about our summer camp?

M: The people are a ton of fun and are all interested in learning, whether in the classroom, outside or just through conversation.

iD: How has iD inspired you?

M: iD has taught me to think bigger. After attending and working for iD Tech I was convinced I wanted to work with computers when I was older. It also taught me that I don’t have to restrict myself to one thing. I love technology, but I also love music. I’ve decided to combine those skills in my continuing studies.

iD: Is iD a good place to make friends?

M: iD is absolutely a great place to make friends. I still talk to a few of the kids I went to camp with years ago, not to mention the staff I worked with this summer.

iD: What’s your favorite tech gadget?

M: My MacBook Pro or iPod Touch; they get me through the day and keep me organized.

iD: How has iD helped you improve in other aspects of your life besides technology?

M: iD taught me a lot about being myself. When I was younger, I was a traditional geek, but iD broke the stereotypes and made me realize that you should be who you are – regardless of stereotypes. Aspire to better yourself at all times.

iD: How did iD Tech Camps prepare you for your current position?

M: Attending iD Tech gave me the idea to major in Music Industry, combining music with technology and business. Working for iD gave me experience to talk to kids and teach. This teaching is something I now do quite often to help underclassmen register for classes, etc.

Mike, we’re so proud of what you’ve accomplished and look forward to welcoming you back to instruct this summer!

Check out the full interview with Mike by clicking here.

Find out more about the courses Mike taught and the locations he worked at – this could be your chance to do something big with your summer!

May 1st, 2009 | Tags:

Posted in: Do Something Big

Trip to iD Tech Headquarters: Part 1

Hey guys, this is a very special blog entry as I’m writing you from the iD Tech Headquarters. Most of the year I work from a smaller satellite office in SoCal, but I frequently visit the headquarters in San Jose for company summits. This particular summit, is one of our most important as it is the last time the whole company will meet before camp. We’ll be setting many important policies to ensure a smooth and safe camp experience for student and their families but we’ll also be focusing on another important initiative: everyone having FUN! Can you believe that we have as much fun in headquarters as we do at our camps!? In fact, sometimes I have a hard time telling the two apart! Just like our camps, our company has a lot of fun quirks and traditions, here are just a few that I got photo’s of while at HQ.

One of our most classis traditions is our “acknowledgement” ceremonies. It is how we conclude most days at iD Tech Camps, giving students and staff the opportunity to “acknowledge” someone who they feel deserves recognition. Some are heartfelt and some are silly, many are both. There are many different way of conducting them, but all incorporate a top-secret thigh-slapping, hand clapping, finger snapping sequence (I think I just gave it away). Many of our students and staff probably don’t believe that we do this at headquarters, but we do! And we have a lot of fun doing it!

Here are some pictures of an acknowledgement ceremony lead by SoCal regional manager Jami:

Big Pete and Stefan, from accounting, rock-paper-scissors for who gets to give the next acknowledgment:

A more recent tradition was started by our Field Support mastermind, Nancy, which is our 3:00 Pilates (and occasionally yoga) session. That’s right, every day at 3:00 iD staff can participate in an optional Pilates session (though in my office that’s usually when we take a trip to See’s candy downstairs). Here are some pic’s:

While there, I took a moment to introduce our newest regional manager, Charlie, to some of the other staff at headquarters as he also works offsite:

Charlie meets Rick and Crystal from IT                 Charile with Nina from Strategic Programs

But, I’m leaving out the BIGGEST iD TRADITION of all: PRANKS. Every year Pete generously opens his house for a “Paella Night” party, where he cooks up some delicious Paella for the whole company. However, an integral part to this event is that every year my department, the regional managers, play a big prank on him!

In the past, we’ve covered his lawn with forks, stolen all of his shoes, toilet papered his house and even stolen his car, however I think the prank this year may take the cake!!! Tune in next week for pictures!

May 1st, 2009

Posted in: Uncategorized

Blog Categories

ACCED-I Meeting Exelence On CampusThe World's Best Summer Camps

Blog Archives

CEO's Blog

Tech Bloggers