Daniel Forhan
Computer Science Teacher and Java Programmer

November 2005 Entries

Working with Arrays

This past week we have been studying arrays and ArrayLists in my AP class. It didn’t take long for students to become excited about using them once they saw how valuable of a tool they are. One of the issues I try get across with them is how arrays/ArrayLists are a key part to use of sorting/searching algorithms. Since sorting and searching doesn’t come up officially until later in the course I take this opportunity to discuss it a little with them now saving the in-depth discussion...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

LINQ

There is an awesome article about LINQ on Azam Sharp's blog today, http://geekswithblogs.net/A... The Microsoft Faculty Advisory team had a nice opportunity to hear about this from Anders Hejlsberg at our meeting in Redmond. Chanel 9 also has a nice interview with him as well where he talks about some of the exciting features of LINQ. I am really excited about this new programming tool. I hope to now download it an see what I can do with it. Once I get it running...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Microsoft In the news

I came across an interesting article today about Microsoft. I would be curious to hear peoples opinions on it. Looks like this could be an exciting opportunity for Microsoft's customers. Microsoft Acquires FolderShare, a File-Synchronization Technology Provider.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Apple's and Banana's

By now you are thinking, what the heck is a title like this doing on a computer science teachers blog? Now that I have official entered the blog world and started dumping my thoughts/opinions into cyberspace I have also started reading many blogs that other people are writing as well. One thing I have noticed is that in many respects blogs have become an extension of the office “water cooler“, and other respects they are more like a intellectual symposium . Either case may very well have...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Method overloading, is this.good(idea) ?

The short answer is yes, but… The ability to overload is one the many powerful tools built in to the Java Language (as well as many other programming languages). Like many of the powerful tools in the Java language that we use to program there are often complexities that get in the way of proper use. I hope to describe some of them here. There can be certain stumbling blocks/pitfalls that my students will encounter when using this technique. I hope to clarify some confusion with this matter...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Networking 101 -the Student way

Yesterday after school a few students from my AP class came by for our weekly computer club meeting. At this meeting they took a computer system, which was an amalgam of spare parts, and installed Ubuntu ( a user-friendly open source Linux shell) with the intent on building a Web server for our school. They then installed Apache, MySQL, and a PHP web interface for remote access to our Web server. The whole experiment went great. We did have to call the cable company to get port 80 forwarded to or...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati