Thursday, June 18, 2009

Ugh, My Mac book, Yay the Genius's

So my Mac Book Pro of 2.5 years went and died the other day. I had my Mac here on my table and closed it then took it off to a coffee shop. Once I got to the coffee shop I opened it up and it flashes the screen (as if it was to wake up), then black screened.
Without going through all the specifics, after 2 hours of debugging, (trying to restart with and without battery, resetting PRAM, PMU, and others). So what was I to do?? Off to the Genius Bar and deal with the arrogant Mac jerks.
Now as you probably know I am a programmer, and build computers (for family and such) so I am not by any means a novice to technology. Unfortunately, whenever I go to the Mac store, the 'geniuses' treat you like a dumb ass. "Well sir, this is a computer, these buttons on the top are called 'keys' you type on it and magic happens then words appear on the screen. Am I going to fast??" So For this reason, I constantly dread going to them because i don't want to deal with their pompousness.
Thankfully, this time I got someone that didn't suck. I went in and explained to him (Mike) what the problem was. I then explained to him what I have already tried to fix it and he just replied with "Sounds good, you know your stuff.. well these are all things that we would have done. So I will have to take this in and send it out." I then asked If apple had some sort of 'lemon' policy, he stated that they didn't officially, however I could call Apple Care and ask them to help me out (get a new laptop). So I asked him if this was his laptop, what would he do? He stated that he would probably call Apple Care, and that I might get lucky. I then thanked him for all the help, and expressed how much I appreciated him not being a douche, and he just laughed and replied with 'ya, probably cause I am an older guy'
So The next day, I call Apple Care, and explain the problems. After 1.5 - 2 hours of talking with them they say that they will mail me a box for me to ship back the broken laptop. I then asked to speak to the guys superior and after talking with him I convinced him to give me a new laptop. So, I now am using a brand new Mac Book Pro!! The man apologized for the inconvenience and said that I should get it by mid week. So I sent my laptop in Friday at 3pm, and received my new MBP on the following Tuesday ~ 11am
The reason I am writing this is mainly just to say how pleased I was with Apple. They have done right in my book. They listened to my problem, and, albeit after much whining, they fixed my problem by giving me a new computer faster than I could have hoped for. So thank you very much Apple!!

Tuesday, June 9, 2009


Hello all, here is my random AS3 statement / question of the day. I have posted this on numerous forums, however no one seems to feel like replying, so I figured I would put it on the blog and see what answers I can catch here.

I am trying to mimic a paint brush in AS3 (in flex) for a mock art studio. Right now I am simply checking for mouse down + mouse move then putting a copy of some bitmapData on a sprite, then adding that to the main application. This sucks because after a while it starts to get bogged down.

As a result I checked out graphics.lineBitmapStyle() (an AS3 Flash 10 Feature documentation can be found here), I was able to get that to work (technically) but not how I wanted to use it. Right now it just tiles it (yes, I know there is a switch to turn repeating off) thus causing it to act like a 'scratch off' lottery ticket. What I mean by this is that it looks like there is a static image underneath (this is my bitmap) and my 'drawing' on the stage just makes it visible. Any help would be greatly appreciated... code is below:

var oldWay:Canvas = new Canvas()
//get bmpdata
var bRect:BitmapData = new BitmapData(100, 100); //create bitmap
var c:Canvas = new Canvas(); //create spoof canvas; //start fill,0, 100, 100,10,10); //draw that stuff!; //end fill
bRect.draw(c); //draw this out to the bmpdata
//now draw it on the stage,0); //start a line style,null,true,false) //set bitmap style, nY1); //move the point to my previous point, nY2); //draw to new location

Image of results here:

and with repeating on:

Saturday, June 6, 2009

HTPC hardware issue

So here's the deal, I recently (back in Feb 09) decided to build a HTPC (Home Theater Personal Computer) and at first it worked great! Now it is F-ed. I am looking for help where people are willing, here is the skinny: When building it, I used the following hardware:
I got the computer, built it and all was well. I was using Windows Vista Ultimate (trial version) and that worked awesomely, everything was going super. I left the machine on at all times, and let it sleep when it ws inactive for > 3 hours. Then out of the blue, the computer started dying every once in a while (usually at night time, and I found it dead the next morning, no I didn't have any jobs set to run at night aside from windows update)

So I do some debugging and figure its the HD, this was 'confirmed' by the memory test running 10 times all turning up positive, along with seeing the following message on the bios screen "SATA Drive 1:"

So I contact NewEgg and (as always) they exchange it for me with no problems. 1 week later I get my new HD, and re-install everything (same setup as before). After about 2 months, the same thing happens, and I get the nice old friendly "Bzbzbzbzbzbzbz" again. Once again I test everything, and while running my good ol' friend Knoppix, it shows that there is no hard drive... fucking super.

So I sent out and got ANOTHER HD (3rd one) and install linux ( a distro of kbuntu and it is not even instaleld for a day or so and the Bzbzbzbzbz begins... so obviously, something is F-ed In the A somewhere else on the machine.

So the question is how do I start going about debugging this fuck-fest? If you can think of a way to help i will give you... um... a virtual hug.