Today another experimental module was deemed “good enough for subjects”. This time we’re teaching the idea of common denominators through the task of dividing up one bar into equal sized parts, then cloning one of the parts a number of times to achieve a desired length. I’m proud of this experiment even though the only part I had in making it was the server, database, and framework for showing the problems and collecting data. Problems were designed by Zipora Roth, and problem presentation was done by Warren Longmire. Credit where credit is due. It’s come together into something quite nice.
Archive for the ‘Computers’ Category
Slice & Clone – experiment deployed
Wednesday, May 7th, 2008Done At Last
Wednesday, April 2nd, 2008This week I delivered the third of three online learning modules. I built them as I was building the framework that they use, so the process was very dangerous and difficult. Actually, due to the rapid development rate, there are many many known problems with the code, but hey it works and that’s what’s important right now at this moment.
I’ve already started on my next coding project, which is another experiment on how to teach kids to measure things. I think with the new framework available it shouldn’t be much of a problem.
One of the general development problems I keep running into stems from the conflict between creating new code quickly and maintaining older versions of the code. Here’s what happens:
We get a new job that’s a lot like the job we’re working on now, except instead of wanting it to be delivered yesterday, they want it last week. Okay, we’ll have to make quite a few changes to the existing project in order to implement the desired features, but since the existing project doesn’t require those features, and we don’t want to break that project in the process, we create a new copy of everything and add the features to that (just to be safe).
Now while we’re working on this new project, we also fix a bug in code we copied from the original. It’s difficult to realize that we should immediately stop and apply the same fix to the original (and of course test it thoroughly in case it has unintended consequences) so in most cases we don’t apply the change to the original. Later, however, when we’ve delivered the original and someone notices the bug there, we’ll get to go back and fix it there too. Multiply this by several projects and it becomes very tedious.
One way around this is to utilize shared library files. This way, when you fix the library file, everything that uses it benefits from the bug fix. The tradeoff is that if the behavior of the library file changes, all the projects that use it suffer. If different projects implemented different workarounds for that bug, they’ll all need their own individual debugging sessions. Gah! Also tedious!
Another option is to use some kind of source control and try to merge versions. This so-called automated function usually requires at least as much effort as debugging all dependent projects after a library change, because you have to test them anyway, even after you figure out how to incorporate the changes from source control. Also tedious!
I guess what it comes down to is that developing several related projects at the same time is tedious. It involves a balancing act between code sharing and code separation, and it demands testing of every project after every change to library files. This is where automated testing is very beneficial. It lets you spit out a test command and collect results of all your tests. Unfortunately, I haven’t got automated testing down for GUI code. People can come up with so many odd behaviors that I’d never think to write a test for.
actionscript2
Saturday, February 16th, 2008As the title of this post implies, I’m now coding in Actionscript 2.0. This is the scripting language used by Flash MX 2004 through Flash 8. It’s Macromedia’s attempt to add object-oriented design tools to their scripting language, and I’m appreciating their efforts in this direction. The parts that are wonky for me are the points of interaction between Actionscript and the graphical symbols on the stage. I’ll figure it out though. Just gotta keep tweaking on it.
I’m coding Actionscript because I’m creating a web-based PLM architecture to support this and all our future learning modules. We’re getting a dedicated server this month too, which should help. The server’s problem sequencing procedures can get kind of complicated, and I’d hate to have to rely on a massively shared webserver to support all our projected users.
Today I made the login screen. Again. This time as an object. I’m not sure how to integrate it with the rest of the framework, because as yet the rest of the framework does not exist. I’ll leave that for tomorrow though.
random
Monday, December 4th, 2006It’s Monday again. I haven’t written here much lately because I’ve been pretty distracted.
I’m developing a new program at work using Flash and PHP. This is surprising because I barely know how to do anything in both of these realms, and yet I’m planning to rebuild my application framework using these two technologies by the end of next month.
It’s been getting colder. Not compared with other parts of the world maybe, but sub-70F feels cold to me and I don’t like it. I prefer 90F or more, to be honest. More chaos.
Saranya is getting easier to manage and also cuter.

maintenance
Tuesday, September 26th, 2006It’s Tuesday again. Maintenance day. Yesterday Joel installed and configured phpBugTracker on our lab server. This involved hours and hours of puzzling over why Apache wasn’t responding to changes in its config file (answer: there were two versions of apache installed and guess which one wasn’t running), wondering why php pages were being served raw and unprocessed (answer: php wasn’t installed), struggling to get phpBugTracker to connect to the database (surprisingly, MySQL wasn’t installed either) and a long list of more trivial disconnections and missing dependencies. At the end of the day, it turned out that several hours of hacks and soft links and reinstalls could have been replaced by three config file adjustments. That’s computers for you.
It’s been getting colder. Seems like I write more blog entries during times like this. The dropping temperature seems to put me in a morose, contemplative mood. Watching the world begin to die.
My daughter is fussing in the next room. My wife just walked out of that room and went back in with a tool of some kind. My sense of self preservation is keeping me from inquiring further.
Happy Friday
Friday, September 1st, 2006It’s time to get back into writing a regular blog.
Saranya is getting bigger and better developed. This morning she rolled over onto her tummy (with a little help) and held her upper body off the ground by resting on her elbows! Before today she’d just lie on her face with her arms lying limp at her sides, and she’d kick her feet and arch her back to lift her head off the ground a bit. This was a big step for her.
Work is going pretty well. Today I finally converted my main coding project from VC6 to VC8 and got it to work! I’m finally using a modern compiler again.
We’re about to get a new contract with a major corporation. I’m not supposed to talk about the details, but it’s going to keep us quite busy for some time. Mainly me, since I’m doing all the programming. I’m going to need a new computer system soon though, since VC8 doesn’t run on my old work computer (Win2k). I’d better get shopping.
coming back to life?
Wednesday, January 18th, 2006Last night I found out my dad has colon cancer. I’m not worried though. I’ve always known he’d die of heart disease, and a little colon cancer isn’t going to get in the way of heart disease. Still, you know what they say: “Everyone dies of cancer, unless something else kills them first.”
I’ve been spending most of my free time playing WoW, though I’ve been especially careful to always take care of work first. I’ve started getting back to guitar playing every day. I may even be getting tired of WoW, though I still play it. It’s an addiction.
Tonight is the release of a new experiment we’re making. Testing algebra transformation recognition skills in high school kids, and seeing which of our approaches results in better learning (faster/more accurate/least drudgery). I’m ironing out the last kinks right now, and it’s compiling while I’m writing.
/chicken
Monday, January 9th, 2006You know, it sucks when your character dies to mobs for whom you receive no xp for killing. It’s embarrassing. :(
So yeah, I played a lot of WoW this weekend. I also saw the latest Harry Potter movie. Quick review: good but poor flow. Oh, and Hermione was whiny and (true to the books) Harry and Ron were jerks. I also thought the parallel between the Death Eaters and the KKK was a bit overdone, and Dumbledore’s violent attack on Harry was also too much. Still, for all that, it wasn’t too bad.
another weekend report
Tuesday, October 4th, 2005Saturday was supposed to be the day when I finally got to play music with Mark and Teetee. Mark writes really neat, folksy songs with very unusual key changes, and I’ve been dying for some tutoring from him to see how he does it. Teetee is an amazing singer and just an all around pleasure to be with. I was really looking forward to it.
Then Mark crashed his scooter and injured his hand. Our music plans went up in smoke.
To help cheer Mark up, and to have an excuse to hang out with those guys, Sangeeta and I decided we’d make them some momo. Momo, for those of you who haven’t heard of it, is a Nepali dumpling (wonton wrapper filled with ground turkey, vegetables, and spices, then steamed and served with chutney (sort of like salsa)). We decided that Teetee’s apartment was most convenient for all concerned, since she lives about midway between us and Mark. So we went to her place and cooked. She and Mark bought all the ingredients, and we brought the hardware and some of the spices.
It went really well. The chutney was tomato heavy but was probably the best I’ve had. The turkey that Mark got was very high quality organic turkey, and it made for very delicious momo. Everyone helped, and making them was almost as fun as eating them. Afterward, we hung out and helped Teetee get ready for Scott’s birthday outing. When she left, so did we.
Sunday we visited my parents and their new pets. After Georgie died, they adopted his two dogs and one cat. The cat’s having some adjustment problems, but the dogs seem happy as anything. I enjoyed playing with them. Rob and Jenn (my brother and his new wife) also hung out, and we all went to dinner where we met Greg and Sam. I found out that Greg got a job as a school teacher! That’s just about the most unlikely job I could imagine for him, but as I think about it I find that it makes a certain kind of sense. He’s a good guy, and maybe he really does like kids after all…
So that was my weekend. It was good. I can tell because yesterday (Monday) sucked really bad. Sarala spent the day at my place while Sangeeta worked, and it was all I could do to not go postal. I ended up hanging out in the lab all afternoon. Sure enough, she was still there when I got back. *sigh*
Today’s a little better. I sent off some files to Phil, which will hopefully solve some problems he’s been having with my vocabulary application. I’m crossing my fingers.
Testing!
Tuesday, May 24th, 2005My New Moon project has gone into its playtesting phase! Finally, after four long and difficult years of planning, coding, scrapping, stealing, cajoling, manipulating, testing, redesigning, crying, and a lot of drinking, it’s almost ready to go.
Hopefully no catastrophic flaw will show up to sink it all again. This is the 3rd rewrite and I don’t know that I’d survive a fourth.