Showing posts with label tips. Show all posts
Showing posts with label tips. Show all posts

Sunday, January 18, 2009

Why Teachers Don't Share More Often.

One thing that drives me nuts is watching money be wasted. Pretty much every institution finds ways to spend money unnecessarily, but schools are often quite proficient at this skill.

What makes this even more frustrating is that teachers are by nature one of the most sharing and willing to contribute group of people I've known. Teachers create things every day that they'd be willing to share with others. If only someone would coordinate this resource and bring a true community to fruition!

Sadly, it seldom happens. I blame proprietary formats and money-hungry businesses. Teachers have been slammed for so long by the copyright zealots of the textbook publishing industry that they simply are unaware that there can be an open alternative to the way they do their jobs. Certainly within individual schools and districts there may be a large amount of sharing going on. By this I do not mean illegal sharing. Instead, I'm talking about the plethora of lesson plans, activities, and strategies that teachers create and use in their classroom. Most teachers would love to share their creations and utilise the creations of other teachers. This occurs whenever teachers get together at a workshop--they exchange email addresses and promise to send each other their creations.

Many times, though, they feel guilty doing this, or feel that it is too good to be true to be able to "steal" from other teachers. [They use that term, "stealing"! when they should be saying "sharing."] Where does this come from? Maybe from the fact that any time teachers attend a workshop sponsored by major textbook publishers, they are given complimentary copies of what often appear to be wonderful resources. As soon as they open up the book to make a few copies to share in class, though, they see the strict copyright warnings printed on every page. This is so common that they believe it is typical of teachers sharing resources: there's always a cost.

But, there isn't always a cost. Most of the resources that teachers share are not photocopied from copyrighted materials--they're quizes, plans and activities that teachers created by themselves. They should be able to enter these items into the vast network of teachers and create a free and open community of resources for any teacher to contribute to and to use.

There's one problem, though: proprietary formats. If teachers continue to use closed software like Geometer's Sketchpad, we remain slaves to the format. This is changing slowly, however, as there is no longer a stigma attached to writing pdf files or importing doc files into OpenOffice. Geometry teachers could use several of the free and open source alternatives to Geometer's Sketchpad, but few do. Why? Because the textbook publishers are like crack dealers. They know by now how to "give" (although you really don't get any rights to what you're given) teachers a free copy of their software. They also know how to make district tech departments feel like adopting their software will make their lives very easy.

So the district buys a site license to Geometer's Sketchpad and they're all set. Notice the students were never mentioned in this process? That was intentional. They are NOT factored into this process at all. Instead, decisions are made that lock students into having to use expensive software that they have no access to outside of class. Students would have access to all of the open source alternatives at home.

My district has done quite a dance with proprietary software. In the past it was acceptable to pay for access to, say, MacSchool, as it was pretty reliable and did what we wanted it to do. Since then, though, we have used expensive software that was terrible, and freeware (NOT open source) that was generally despised by all involved. Next year we switch to Infinite Campus, which I believe is a good thing. In the meantime, though, we have a semester where teachers are allowed to use whatever they want for a grading program. Really. Whatever we want. Some will no doubt just use the traditional red gradebook and only use computers for reporting final grades. Others will try to find an old copy of Making the Grade or something similar lying around.

I decided to Google "open source grading program teachers" and found Open Grade. It's simple and (dare I say) elegant. I did the Linux make, build, install and now have a pretty cool grading program with few features, but even less annoyances. It works. I can print out student or class reports into text files and fit a lot of info on one page. Also, since it's open source, you can get to the source code (in Perl) and alter the way it works.

We're lucky, as educators, that there are people like Ben Crowell, who created Open Grade. Some may scratch their heads and say, "but why would someone do that and share it for free?" I would say, however, that behavior like that is the rule, not the exception, in higher education, and I have hundreds of examples to prove that point. Here's a couple:

Jason R Briggs has written an excellent Python book for teaching Python to kids.
Dick Baldwin shares a ton of his own work for the Alice programming environment.
Allen Downey has been sharing his Java and Python books for years.
Moodle and Wordpress are used by many teachers, most of which can't believe they're free.

I just wish we had a more efficient way of sharing all these homegrown education resources....

Tuesday, December 23, 2008

Object-Oriented Programming Example

My Java programming project is going a bit slow, but I have many excuses. The one I like to use in OOP (Object-Oriented Programming) is "well, I'm still working on some design issues before I start writing all the code."

So I'm converting Football Strategy, the old Avalon Hill game into a modern Java version, complete with opposing coach AI. OOP will allow me to extend the coach class through time, making better and better opponents for humans to face.

But that all comes later. Since I give my AP Computer Science students the whole year for their project, I too have a lot of time to develop this application. Recently I've been hitting my head against the wall trying to come up with a system for encoding play results that include all the relavent information in one result. For instance, a result of 723 may have used the 7 as a play-type indicator (say, "complete pass play that went out of bounds"), and the 23 might have been the net yardage. On the suggestion of one of my students, however, I have decided to encode all the play results as String objects. Perhaps something like "15cpno023" for complete pass no fumble out of bounds and 23 yards, with the play taking 15 seconds. I don't know, I'm not there yet.

The point of using an OOP approach, however, is to allow you to think of things as actual objects. What better way to do that then open up the Football Strategy game box and see what objects in the game may lend themselves to objects in Java. One that clearly lends itself to being a Java class is the scoreboard. Before OOP, making a football simulation would have been a long and tedious process, as the data would just be flying around the program, jumping from function to function. With OOP, though, you get to break things up and decide where the data lives. In the case of a footballScoreboard class, you can easily think of the data fields (homeScore, awayScore, down, yardsToGo, fieldPosition, etc) and the various behaviors (incrementDown, incrementHomeScore, etc). What was so nice about this, though, was that there is an actual object in the real world that is so familiar to anyone who has ever been a football fan. Ask some football fans at random to draw a football scoreboard and a lot of them would draw something like this post's image.

Coming from a procedural programming background, OOP was a bit strange at first. Now I can't imagine programming relatively large projects without it.

Monday, December 22, 2008

Ubuntu Gets Even Better

Joey Stanford's recent post about Ubuntu Ethos came at a perfect time for me.

Last night I did a fresh install of Ubuntu 8.10: Intrepid Ibex. I had avoided switching to the new Ubuntu version simply because I had a lot of things set up on my laptop that I use for teaching math and teaching programming classes.

After copying most of my home folder files to an external hard drive (I love the Western Digital Passport series), I did the install from the live cd.

After install, I did the usual updates and installed all the Linux applications I use for programming: things like Eclipse, Geany, IDLE for Python, Comix for reading comic books, and so on. I also installed the Sun Java 6 JDK using the package manager. After a nice little test of HelloWorld.java, I got the latest versions of BlueJ and Greenfoot and installed them.

Now this is where things were different than in the past. Back in the days of Feisty Fawn, I had to mess around a lot with the xorg.conf file and set some class paths for Java. I always considered these steps to be necessary evils and a small price to pay for a great, free alternatives to MS Windows.

This time, however, I didn't have to do any of those steps. None. Everything worked correctly right away. I even was able to turn off tapping on the touchpad without having to do anything on the command line.

I like the command line. In fact, I use it quite a bit. The point here, though, is that you really don't have to use it anymore. That's a good thing for helping spread Ubuntu. If you have ever considered Linux, but were intimidated for one reason or another, now is the time. The Ubuntu community can help you with the switch.

If you're a math or computer science teacher, you'll be amazed at how Ubuntu can help you with your job.

Sunday, September 28, 2008

Tube Worms on the Ocean Floor

Had a lot of school work to do this weekend. Nonetheless, I still got to play with the GIMP a little and make some desktop backgrounds. I've been working on a certain technique I came up with almost at random, combining gradients, iWarp, and the Cubism effect. It produces things that look like tube worms embedded in the ocean floor. Click on the image for more detail.

Topic shift: If you like Old Time Radio, head on over to the Internet Archive and browse the collection of thousands of old radio shows available in a variety of formats (including mp3s). Some of the series on there are simply wonderful, like Dimension X or The Creaking Door.

Sunday, September 14, 2008

Sunday Morning Java: Cold-Brewed.


Got an email from my Mom this week along the lines of "still waiting for the cold-brewed coffee recipe..."

I will never use our auto-drip coffee maker again--nor any other hot-brew method. The coffee produced in this cold-brew way seems to taste so much better, and it's not a lot of work. Here's how:

First, you need a large container, like a one-gallon jar. I like glass but plastic seems to work fine. Fill that container with 12 or so cups of room temperature water. Now float three cups of ground coffee on the top (see the photo).

Now leave it sit for several hours. I tend to make mine early in the morning and let it sit for 12 hours. Overnight would be perfect. You may be tempted to shake it up, but I don't think that's necessary--the grounds tend to slowly fall down one by one to the bottom over time. This gives every ground a good chance to let off its flavor. If I look at it after several hours and don't see much of it falling, though, I give it a shake to mix it. I tend to shake it a few times before straining it, also. Not sure if it helps or not.

Now, when you're ready to harvest the coffee, you'll need some kind of filter. You could, at this point, simply pour the mixture into a drip coffee filter over a coffee pot. I use a steel mesh coffee filter and a funnel I bought in the automotive department at Wal-Mart. I pour the mixture into the filter sitting in the funnel and let it drain into an empty glass jug. I get about three quarts of "coffee concentrate" from this process. It will look like very thick, black coffee. I store it in the fridge for a week, using it when I want. Here's how to enjoy it:

For Hot Coffee: Fill a mug one fourth to one third full with the concentrate. Boil water in a teapot and top off the mug with the boiling water, leaving a little room for milk or cream.

For Cold Coffee: Mix one part concentrate with one part cold water, adding ice cubes.

For Kathy's Favorite: Put several ice cubes in a large mug. Pour some coffee concentrate in, filling the glass about one third full. Now add chocolate milk to fill the mug two thirds full. Add a little skim milk and stir. This makes the absolutely best tasting iced mocha you'll ever have--trust me.

A few notes:

1. For best results you can use distilled or spring water. I don't, though, and it still tastes great.

2. Even cheap coffee will taste better this way than expensive coffee that is scalded in an automatic drip pot that is allowed to heat the coffee after it is brewed. Some say the coffee produced this way has less acid.

3. If you grind the coffee yourself, you can grind it a little coarser than usual. Or not.

Special thanks to David Adamson, who mentioned cold-brew coffee to me one afternoon in a little cafe in Pittsburgh. Thanks, Dave! You sure know your Java (both types).

Wednesday, August 6, 2008

Baby, You're the Greatest!

Spent most of this morning working on Alice. The image you see is from the classic FirstEncounter scene that is used in the Learning to Program with Alice book.

What's so cool about Alice is how advanced you can make your programs become. Rather than merely doing the scene as asked for in the text, I introduced for loops and turned the robots motion into a much more complex and realistic set of instructions. [He now lifts up his back middle leg, walks on his other four legs, then lowers the back middle leg down for support after walking.] That would not have been easy to do without Alice's awesome interface, which lets you click, drag, and drop various methods of the various objects. Oh, and I added the penguin just as a shout out to Tux.

Last year I used Alice while teaching the IMP Math unit All About Alice, which teaches students exponential functions. It was remarkably easy to have my students program the examples from the text into scenes using Alice, so that when Alice doubled here size ten times in a row, students got to see just how big that would make her.

Alice is a free gift from Carnegie Mellon University. If you haven't played around with it yet, give it a try.

Saturday, July 26, 2008

Tip: Taking your bookmarks with you

Okay, so tomorrow morning I leave for CMU in Pittsburgh.

Haven't packed yet. Haven't decided whether or not to take my laptop. Since they have Mac labs where I'll be going, I'll miss Linux but at least I won't have to use Windows.

Anyway, to make sure I can access all my favorite web pages, I went into Firefox under Bookmarks/Organize Bookmarks/Import and Backup/ Export HTML and exported all my bookmarks into one handy HTML file. Then, I go to Google and upload it to my Google Docs account. Now, if I leave my beloved laptop behind, I'll at least be able to access all my bookmarks.

I probably should set up some remote login or something to get at all my files, but I'm just not that ambitious....

I'll try to report in from Pittsburgh on my Java workshop from time to time.

Wednesday, July 16, 2008

What a waste of a good TV....

I've seen a lot of people that have high definition televisions and their picture looks like crap. It's either cropped or it's a low def picture stretched out across the whole screen.

You haven't really seen a good high definition TV in action until you've seen a true HD channel received via an antenna.

Antenna? No one uses an antenna!

That's sad but true. Most people already have cable or satellite and just hook there nice HDTV up to it. The problem is that few people actually get it set up correctly and pay the extra money for the HD feed. Thus, their image looks like crap.

Even when watching DVDs you have to know what you're doing. Although their are HD Bluray players, an upconverting normal DVD player will give an amazing picture, but only if you configure the DVD player and the set correctly. For a couple days I watched a cropped picture until I found out how to set the DVD players aspect ratio to the correct 16:9 setting.

If you have a true HDTV, try hooking up a tv antenna to it. You can go to this site in order to find out what stations you may be able to receive. [Note: the site is very good and legitamate--just don't enter any of the non-required fields and you won't get any ads from them.] It does not have to be a fancy HDTV antenna--older antennas will work. Once you see a true HD image from a true HD over the air signal you won't believe how good it looks.

The image above is an outdoor UHF antenna that I've recently purchased to use for receiving HDTV signals over the air....

Thursday, July 10, 2008

Tomboy notes.


A few days ago I wrote about not using my Moleskine journals anymore. Well, thanks to Joey Stanford, I now have found what I consider to be an incredible alternative: Tomboy notes.

Tomboy is a Gnome Linux application, so if you use Ubuntu Tomboy is installed by default. Because Tomboy is open source, you can of course get all the source code. Tomboy is a nice little application to start looking at if you're interested in helping write code for open source applications. But you don't have to be a programmer: there are other ways to contribute.

You can also see a list of other great Gnome applications.

As I've been thinking more and more of writing fiction lately--I now have to consider the effects of using something like Tomboy to plan with. Heck, I may even use it for my lesson plans....

Sunday, July 6, 2008

Tip: Easy Blog Backup

From time to time I'll try to include a tip or two in this blog that may be useful to other people. Here's today's tip:

EASY BLOG BACKUP METHOD

Although I've used software to do complete backups of my blogs in the past, it got quite complicated, as each link was copied, along with the destination of most of the links, and they called three friends, and so on and so on....

For now what I do is configure my blog to show the last "n" posts on the main page, with "n" being any number up to 500. That way, it's all on one big page, even if it may take a minute to load.

Then, in Firefox, I go to "File/Save_Page_As" and choose "web page complete". This will save the entire page, including all the pictures.