Monday, February 16, 2009

Hardware woes, begone!

Okay, I think I've finally finished fiddling with this finicky figurer (the only synonym for "computer" that I could find that started with F).

After my last post, I ran across some other info that said that the power supply might be to blame, and I began seeing other evidence to support that theory. Shortly thereafter the computer just refused to boot, so I had to do something. With the exception of the first item below, most of my attempted somethings were done this past Saturday...
  • Bought a beefier power supply. Still nothing.
  • Bought a new motherboard. Got it home and found that it didn't have enough slots to take all my existing RAM sticks.
  • Exchanged the motherboard for a newer one that required a new CPU (picked a nice energy-efficient dual-core). Got home and found that the location of all the externals (keyboard and audio hookups, plus the location of the PCI slots) wouldn't work with my case.
  • Trekked to Best Buy for a new case. I was tired of messing with hardware, so I paid them to move all the guts from the old box to the new one while we went and had a nice Valentine's Day family dinner.
  • Came back a few hours later to find that my old RAM wouldn't work with the new motherboard, and that the board only had one IDE connector, so the DVD drive had no place to connect. Bought new RAM and a new SATA DVD drive, and had the Geek Squad install both. Brought everything home.
  • Nothing booted. Found that the hard drives were connected in the wrong order. Had to swap their positions in the case because of the awkwardness of the IDE cable.
  • Found that the DVD drive wasn't being recognized because it was connected to the wrong SATA connector on the motherboard.
  • Booted into BIOS, set everything up, then started to boot into Windows. Had to re-authorize Windows, which ended up taking several phone calls to MS. Thankfully I brought the old machine home, or I would not have had access to the product key label that was conveniently stuck to the back of the case.
Based on information that I read in some of the articles I found online after the last post, I thought that I would have to run a repair install of Windows in order to get it to play nice with the new hardware. Once the re-authorization was finished, though, Windows booted up without any issues and just started bugging me about all the new hardware it was finding. I haven't had any BSOD's or any noticeable system hiccups.

In the end, all this hardware futzing cost about the same as (or more likely more than) a new MAChine (*ahem*), and in the end I wound up with essentially a new machine, so I guess it kinda served its purpose. Our key concern was getting access to all the data on my hard drives again (especially financial data). It also got us thinking about where we want some of said data to reside for better long-term, computer-independent access.

So there we go! Done!



I hope!

Monday, January 05, 2009

Most definitely NOT the monitor

In the ongoing fight to get my desktop system fully functional again, I feel I've pretty much eliminated monitor problems from the equation. I just finished two quick tests. I moved the monitor to my wife's machine and hooked it up via the DVI input. No problem. I then moved it back to my machine, pulled out the new graphics card, and ran the motherboard's on-board VGA output to the monitor's VGA input. No problem. In fact, I'm using that VGA hookup now, which is the first time I've been able to use the desktop for the past several days.

All signs at this point are aiming squarely at the motherboard, and specifically the PCI Express slot in which the video card sits. The rest of the board seems to be working fine, as my presence here (hopefully) indicates. While it's nice to have a fairly solid target at which to direct my next efforts, it's not the target I wanted. If it were the monitor or video card, it wouldn't be much of an issue. Get a new one, plug it in. With the video card, there would be drivers to install, but that's still a piece of cake compared to the work involved when swapping motherboards.

A new board typically means reinstalling Windows from scratch. At least that's what it used to mean. However, I just found a couple web pages that have detailed instructions on how to swap motherboards without affecting Windows. It's still more work than installing a new video card or monitor, but much less work than a full re-install.

So....here we go!

Sunday, January 04, 2009

Curse on Apple lifted....for now

Wouldn't you know it....I found a solution not five minutes after that last post:

Import the photos into iPhoto. Then go back to iMovie and drag the photos in from the iPhoto library.

But seriously...that's still a few steps too many. They should "just work" (famous last words, Apple) when dragging the photos in from the Finder, no?

The day I curse Apple

That day is today.

I don't know why they did this, but in iMovie HD, all vertically-oriented photos get rotated back to horizontal orientation, and there is NO way provided in the software to rotate them back.

Sure, I could import them into a photo editor, lay them over a horizontal black background, save them out, then pull them back into iMovie....but come on. I just wanna make a stinkin' slideshow with some videos intercut here and there. What happened to the ease of use that they keep touting in all their ads?

I could've sworn that I used some vertical shots in a movie project a while ago, but for the life of me I can't remember how/if I pulled it off, and an hour (or more) of Googling has not yet led me to a solution.

That said, the evening wasn't a total waste. I did manage to develop a headache! Thanks, Apple!

Saturday, January 03, 2009

Third time's a (very frustrating) charm

This is just getting more annoying all the time. My initial tests led me to think it was the monitor, but later I was able to get the monitor to work with the laptop, so I thought it had to be the video card. Now I've got a brand new video card, but I still have no image from the desktop machine, and the laptop still works just fine with it. So where does that take me next? The motherboard. Ugh...

I think I'm going to see if I can get the motherboard's on-board video to work. If so, then my guess is that it would mean that something tied to the PCI Express slot is messed up.

However, that still doesn't explain why my wife's monitor worked fine with my computer in one of my earliest tests. I think I'll try that one again as well. If that still works....well, I'll be completely stumped.

NOT the monitor!

Looks like I typed that last entry too soon. While things worked okay last night, I got absolutely no signal this morning. After more cable wiggling, more detaching and reattaching, and more under-the-desk spelunking, I decided to try plugging my Mac laptop into the monitor. Bingo! Beautiful picture...and it was via the DVI input. After all the other tests, that could only mean one thing:

I've got a dead video card.

Oh joy....

(BTW...absolutely meaningless bonus points for those who can decipher the slightly cryptic reference in this post's title. Think early 90's TV...)

Friday, January 02, 2009

Minor Monitor Mayhem

I seem to have this thing with monitors. About a year-and-a-half ago, my trusty CRT died on me in the middle of a live Q&A with my Animation Mentor class. That paved the way for the purchase of the current widescreen LCD monitor, which was humming along just fine...up until this morning.

I powered the computer on, fiddled around for a half-hour or so, then hit the sleep button on the keyboard before heading off to shower. Upon returning a little later, I hit the space bar on the keyboard to wake up the machine. The computer woke up, but the monitor didn't.

At first I thought it might just be a really long delay while the system was processing something before it would fire up the video signal. It had occasionally behaved that way in the past, but after a minute or so of no picture, I figured something else was amiss, so I started testing things. Cable wiggling got me nowhere. Borrowing my wife's monitor (identical to mine...the result of one of those "as long as you're replacing yours, would you mind getting a new one for me?" requests) and plugging it into my box gave me a good picture. That told me that the video card and cable were probably fine, but that the DVI input on my monitor was probably dead, so after work I bought the necessary accoutrements to use the SVGA input, and it doth work again. Yea, verily! Glad to know it's not a total goner. The SVGA signal doesn't look horrible, but it is a tad blurry. Still, I'll gladly sacrifice a little clarity in order to save some dough.

I hope everyone had a great Christmas, and wish you all the best in 2009!

Friday, December 19, 2008

Lights up, claws out!

I was watching a movie recently with some friends. I had really enjoyed the film -- much more than I expected that I would going into it -- and was eager to discuss it with my friends after it was over. The credits rolled, the lights came up, and folks started talking.

Not one single positive comment was made.

To their credit, they weren't being venomous or vicious with their comments, and I agreed with some of what they were saying. Still, I had hoped that someone would mention at least one part that they liked.

Nope. Nothing but criticism.

I swear, it was like someone took a needle and just popped my enthusiasm balloon.

Tuesday, December 02, 2008

Big Idea nearly gone

Randy came up to me today and asked if I knew if Greg Hardin was still at Big Idea. "I think so," I said. "Why?"

"Well, because his status on FaceBook sounds like he may have been let go."

"What?!?"

Sure enough, he was gone...along with about two-thirds of the rest of the crew. Big Idea is down to eleven people, with most of them in marketing, and only three on the creative crew.

This brings back unpleasant memories of the layoff that happened right before Christmas of 2002. The studio was already on edge after the round of layoffs that practically coincided with the theatrical release of Jonah: A VeggieTales Movie, and a bunch of folks losing their jobs right before the holidays didn't help. Layoffs at any time of year are a pain, but it tends to feel especially cold if it happens before Christmas. I'm not saying that it's a decision that anyone felt good about, either then or now. It's just really rare for a single company to have to dip into those particularly cold waters twice. My gut says that for those who are left who remember both dips, the lingering chill from the second submersion probably has a bit more bite.

My heart goes out to everyone involved: those who are no longer with the company who have to figure out what to do next, and those few who are still with the company...who also have to figure out what to do next.

Monday, October 27, 2008

Site down

Looks like some clever hackers found a way into my site and planted some oh-so-fun phishing scripts in there. I was contacted earlier today by my host, and informed that they've suspended my site until we can get it worked out. Here's hoping it won't take long.

Wednesday, October 08, 2008

I am voice actor. Hear me flail!

I was asked to provide vocal noises for the guy in the large plastic ball in this DriveTime spot that we produced at work about a month ago. Most of the stuff in the early part of the spot had to be mixed really low under the main voiceover, but you can hear me loud and clear (well, muffled and clear) when the guy goes rolling toward the camera. No pay for this gig, but it was fun all the same.


Monday, October 06, 2008

Python decorators: getting a little closer...

After further searching, I finally ran across a very well-written article that attempts to explain Python decorators from a very basic level. While it hasn't brought to mind any situations in which I would want to use decorators in my code, I at least have a handle on what exactly they are and how they work.

To clarify my earlier post, one of main things that (at first) didn't click for me with regard to decorators was how exactly they allowed the programmer to effectively modify a function after it was written. Sure, I'd learned that you could assign a function to a variable and pass it around like any other piece of data, but even in that context I saw the function itself as essentially static. If I passed a function as an argument, I only expected the target function to call the function I passed as-is. I never thought about the possibility that a target function could actually do something else with/to the function I had passed.

As with other things I've unearthed in the process of learning Python, I have a hunch that this would've been easier to learn if I had a more formal background in computer science, and that's probably the biggest frustration that still crops up as I dig through Python documentation. Bits of programming terminology are often casually thrown around with the assumption that the average reader knows what they mean. One example is the term "first-class objects" that can be found at the head of the article linked above. I've seen that term used in several places, but even though the sentence immediately following the phrase in the above article is related to the phrase's definition, I still had no idea what it meant until I dug it up via a Google search. The way it was phrased in that article, it felt like the status of Python functions as first-class objects was a separate concept from that which immediately followed it, so I was left thinking, "Okay...so what are first-class objects?"

That's probably not the best example of my frustration, though. I guess the point is that it feels like there's a gap somewhere. At one end there's good introductory material, such as the tutorial by Guido von Rossum that covers a lot of ground-level topics. At the other end there is very nice reference material that covers the individual modules in the standard library, the data types that the language offers, etc. However, between Guido's tutorial and the other reference material there's a bit of a void, because some of the reference material makes reference to programming concepts that aren't explained in Guido's tut. I'm not necessarily implying that they should be covered by Guido's tutorial, but it's a gap all the same, and one that many in the Python community seem to ignore. Perhaps that is an inaccurate observation, and I'd be more than happy to be shown evidence to the contrary. However, from my observations, many experienced Python programmers seem to assume that you're either a newbie learning the basics, or you're a fellow pro. The folks in the middle who aren't totally new but aren't full-on professional programmers seem to get overlooked.

The most frustrating part is that I feel like I'm square in that gap. Yeah, I've been scripting/programming since I was about 12, but sadly that doesn't necessarily mean that I have a complete understanding of modern programming terminology and concepts. I've taken very few formal programming courses, and those few took place a long time ago. Everything else I know has been the result of self-study and on-the-job experience. However, the farther I delve into this stuff, the more I feel like self-study (at least what I'm currently doing) isn't cutting it.

So here comes the million-dollar question: do I stick with self-study and see how far it gets me, or do I go back to school? I've been around enough self-taught animators to know that it's possible to get to the very top of that game without formal instruction, but I don't know if the same holds true for the world of programming.

Wednesday, September 17, 2008

Still can't figure out decorators

After a couple months (roughly) of Python programming, I'm very happy with how far I've come and what I'm able to accomplish. When all this started my biggest struggle was the basic object-oriented programming mindset. After further study and a good bit of trial and error, though, I feel I've got a pretty good handle on it. I'm not a whiz by any stretch, but I'm a lot more comfortable with it now than I was when this all began.

That leads me to the next programming concept I'd like to grok: decorators.

I just stumbled across a blog post in which the author claims that Python's decorators are "radically simple." I'm sorry, but I've read a good number of explanations behind decorators -- including the Wikipedia article on the subject, which includes a pseudo-example in Python -- and this "radically simple" outline (i.e. the slides that Mr. Diederich used in his PyCon UK talk) hasn't made the concept any clearer for me.

Does anyone know where I can find a truly clear description of Python decorators? Perhaps this is something that could be more easily understood if I had a solid computer science background instead of an animator-who-fell-in-love-with-programming-on-the-side background.

Yarg....

Saturday, September 13, 2008

iPod Touch vs. the clock

I noticed recently that my iPod Touch wasn't syncing its date and time properly with the computer. At first I thought it might be a glitch in the Touch software, so I experimented by syncing several times in a row to see if I could find a pattern. The only pattern I noticed was it gave me a different time (and I assume a different data) with each sync: 1:24 AM, 4:11 PM, 9:18 AM, etc.

A quick Google search led me to a thread that outlined the true source of the issue: iTunes. If you put your computer to sleep with iTunes open, and then try to sync the iPod Touch after waking it up, iTunes appears to invent a random date and time to send to the device. To avoid this, simply close and re-open iTunes before syncing.

Friday, September 12, 2008

Python and list copies

While working on a tool at Reel FX, I couldn't figure out why the data lists across several different class instances were all returning the same information. Normally working with lists in Python is tons-o'-fun (especially when compared to the gymnastics required to do similar operations in MEL), but that fun can come to a screeching halt if you forget one little important detail: copying a list doesn't necessarily copy the list.

For example, say there's a list assigned as follows:
   data = ["apples","oranges","pears"]
Some time later you want stuff to be a copy of data:
   stuff = data
If you've come to Python with some previous programming/scripting experience, you might assume (as I've done more than once) that this would do the trick. However, that just tells stuff to reference the list assigned to data. If you end up changing data later on, and then look at stuff, you'll notice that it shows the same changes. That's because they're both pointing to the same list in memory.

So how does one get around this little annoyance? Pretty simply, actually:
   stuff = data[:]
That bit on the end tells Python to make stuff equal to the entire contents of data, instead of making it just another pointer. To be more accurate, it duplicates the list to which data is pointing, and then points stuff to that new list.

Dictionaries also exhibit this same point-instead-of-copy behavior, but the syntax is different if you want to make a true copy:
   newdict = olddict.copy()
(Pardon the crazy formatting. I've never tried to insert code blocks into a blog post, and getting it to look decent with the controls available in the Blogger editor is driving me nuts. Methinks it's time to consider an alternative blogging system...)

Saturday, September 06, 2008

Open Season 2 trailer

Pop on over to the Reel FX web site to take a look at the first trailer for Open Season 2. I think it was a little over a year ago when we animated the test for Sony, we started working on cycles in October, and primary animation ran from early November through June/July of this year. Even with the initial animation stress mentioned in an earlier post, the overall project went very smoothly, with very little overtime, and everyone did an outstanding job. From what I understand, it'll hit shelves around January of '09.

Tuesday, September 02, 2008

RIP Don LaFontaine

The man known by many in the voiceover industry as "the voice of God" has returned to the one who lent the voice. Don LaFontaine died on September 1st at the age of 68, following a rocky battle with a collapsed lung and subsequent complications. I never had the privilege of meeting Don, but those who have speak of him as the most humble of men and a willing mentor, despite his place at the pinnacle of the voiceover industry.

Rest in peace, Don.

Saturday, August 30, 2008

The "joys" of technology

Oh yes, technology can be so "fun" at times, it just makes my mouth hurt to smile to much.........NOT!!

Okay, here's the condensed version of the problem and what I found to be the solution in my case. I'm posting this here in case anyone else runs into a similar issue, but I can't promise that the same solution will work for you.

I had to re-install Windows a few weeks ago (long story behind THAT bit of "fun"), and for the most part things were humming along just fine as I gradually re-installed stuff. However, somewhere in the past week -- maybe a little more -- I noticed that the system performance would occasionally take a big hit...and stay hit. Looking at the Windows Task Manager, I saw that the CPU usage meter was hovering up around 75% or so, even though the main view showed that the System Idle process was the one supposedly taking up 99% of the CPU. In short, there was clearly something very un-idle cranking away, but Task Manager wouldn't show it to me.

After a number of Google searches, I came across a site that recommended using a little-known program called Windows Process Explorer to take a deeper look at system processes. The moment I ran it, I immediately saw the problem. Apparently that 75% of the CPU time was being taken up by hardware interrupts. More Googling led me to a number of possible solutions to that particular problem, but most of them didn't help. However, I finally stumbled across a comment in an NVIDIA forum thread about NVIDIA IDE drivers sometimes causing problems (apparently they're optional drivers, and sometimes have a hard time operating properly when the computer comes out of sleep mode, which I use a LOT as an alternative to fully shutting down). I dug into the Device Manager and found an entry under IDE ATA/ATAPI controllers named "NVIDIA MCP51 Serial ATA Controller". I right-clicked on it, chose "Disable," and immediately the CPU meter in Windows Task Manager dropped to near zero. Woohoo!

Saturday, August 23, 2008

"Animate a Face" available once again!

Just added a "Buy Now" link to the info page for my "Animate a Face" CD-ROM set. There are only 12 sets remaining from the original production run that Anzovin Studio made. Once those are gone....well, we'll see.

I also added a "Donate" button to the tweenMachine info page. No, I'm not gonna do any major begging or anything like that. Not even minor begging. It's all up to you. If you feel inclined to toss a few coins in the pot, bless you. If not, bless you anyway. Either way you look at it, you're blessed. Not bad, eh?

Thursday, August 21, 2008

Here there be Pythons!

I recall first hearing about Python when it was added many years ago to Blender, a cool little 3D app that I used for a stretch near the end of my days at the Art Institute. However, its inclusion in Blender was largely meant (from what I can remember, anyway) as a means to assist in the development of interactive 3D applications...namely, games. I wasn't interested in doing games, so I ignored it. I discovered Animation:Master not long before graduation, so Blender went bye-bye, and so did any thoughts of Python.

The next time I recall hearing about Python was some time in the last year or so, when I heard that we use it at Reel FX. It's becoming very popular to embed Python support into 2D and 3D production software, and number of the tools that we use are apparently making the shift to Python from their own proprietary scripting languages. I noticed its inclusion in recent versions of Maya, but didn't dig into it right away for some unknown reason. I think that part of my hesitancy was because I heard that Python was an object-oriented language, and the few times I had tried to wrap my head around object-oriented programming, something just wasn't clicking.

One of the things that was discussed in my annual review was broadening my knowledge base in the area of programming/scripting languages. It was recommended that I start with Python, so after we wrapped animation on Open Season 2 and things settled down a bit, I started digging into it. I've only been working with it for a short stretch -- less than a month, I think -- but I feel it's pretty safe to say that I've become a Python junkie.

I just can't get enough of it! I don't think I've ever found a language that was so powerful, and yet so easy to learn. While I spent a good bit of time reading about it before I sat down to start actually using it, I found that I was able to jump into real, usable programs very quickly because the core syntax is so intuitive and easy to learn, and because there are so many things you can do with the collection of modules that come packaged with it. After using it for only a couple days, I was able to start writing some fairly in-depth tools for work, and in some cases it's the kind of stuff that would be literally impossible to do with MEL (the Maya Embedded Language). The majority of what I've done with it so far has been organized in a very "structured" way, similar to how I would build a MEL script. However, I'm starting to explore classes and objects as I work on porting our existing MEL-based pose library tool into a Python-based animation library tool, and it's coming along really well.

I certainly wouldn't call myself a "Pythonista" at this point, but I'm very pleased with what I've been able to do with it so far, and I'm super excited about all the possibilities that it opens up. In addition to using it at work, I plan on using Python for a number of personal projects. One idea I'm toying with is rewriting some (or possibly all) of my tweenMachine tool in Python, which I hope would speed up some of its operation, and also would make it easier to add some of the new features that I've had in the back of my mind for a while. I also plan on using Python for a personal web project that was originally going to be driven by PHP, and might convert some existing PHP-based web stuff to Python as well.

Yeah, I now...I can see some folks making the hammer/nail comparison when I talk about it like that (i.e. when a guy gets a new hammer, all the world becomes a nail). However, Python isn't just a hammer. It's an entire toolbox, and that's what I think I like about it the most. As the Python community likes to say, it comes with "batteries included," and I'm eager to put those batteries to use!

P.S. Yes, this is one of the reasons why I haven't yet posted a link for purchasing the last few Animate a Face sets. I do hope to get that up soon, though, and I appreciate those who have written so far to express interest in it. Watch for an announcement here in the hopefully-not-too-distant future! :)