To install RAM on a MacBook Pro
Posted by jaker in Uncategorized on July 1, 2009
It’s well-known that one of the easiest upgrades you can perform on any hardware is a RAM upgrade. Nowadays RAM is so cheap, it makes no sense whatsoever not to spend the less-than-$100 to give your computer extra life. Today I decided to grant this blessing to my MBP. At the same time, the MBP decided to grant me a couple lessons in messing around with it’s internals.
So, the machine I have is a MacBookPro4,1 (from circa early 2008), one of the last models before they switched to the new single-case style. The laptop has a Core2 Duo at 2.4GHz and shipped with 2GB of RAM. I wanted to kick it up a notch and go to 4GB of RAM. So I purchased said RAM, and attempted to install it.
On my first attempt, I installed the new sticks of RAM and tried to boot. Nothing happened. I waited and waited, but the only activity I saw was the CD-ROM spinning up and the power light staying solid.
Second attempt: back to the old sticks of RAM. I booted, and got 3 Simon (the game)-like beeps. Quick research showed that this meant “no good banks.” I was fairly certain that my RAM didn’t go bad just from removing it.
Third attempt: 1 stick of the new RAM, 1 stick of the old RAM: boots.
Fourth attempt: tested the other two, still one of each: boots.
Fifth attempt: back to the 2 new sticks of RAM: CD-ROM spins up and power light is solid. No activity.
Sixth attempt: back to the original sticks of RAM: boots.
It was at this point that I realized something: the new sticks of RAM were rated at 800MHz, whereas the stock sticks were 667MHz. Now, this has never made any difference in the past, but I decided to run with it since nothing was making sense at this point. I fortunately had my personal laptop at work which had 4GB of DDR2 667, so I put those in the MBP and attempted to boot. Success.
I guess the MBP is picky about what RAM speed you have, or perhaps they just don’t like OCZ. Either way, my MBP now has 4GB of RAM.
Oh, and the personal laptop? The Inspiron 1520? He runs just fine with the 4GB of DDR2 800. They’re just clocked down to 667, like every machine should..
~Jaker
A Warning to ATi users who are going to install Gentoo
Posted by jaker in Uncategorized on June 3, 2009
Be sure to check out this bugzilla page: http://bugs.gentoo.org/show_bug.cgi?id=263686
The untested solution?
http://www.x.org/wiki/radeonhd
~Jaker
Twitter Test Post
Posted by jaker in Uncategorized on May 20, 2009
This should post to twitter saying I have a new blog entry (sorry to everyone who thought there’d be something interesting to read here!)
Infection Found!
Posted by jaker in Uncategorized on May 1, 2009
Well, I found out why my blog had an infection. The good news is I found a fix. The bad news is it affected everything on my site.
Basically it seems someone found an exploit for Dreamhost that installed a small IFRAME script on any page that starts with “index.” This IFRAME redirects the user to a site (odmarco.com) and attempts to install spyware by exploiting Adobe Acrobat.
Because there’s just a crazy amount of stuff on my site, doing this manually would be a pain. Fortunately, I found a script that fixes this for me.
I use DreamHost for quite some sites, both my own and of friends. Recently I got informed that one of my sites was triggering a warning in anti-virus software and when I went to investigate, it turned out quite a few sites got hit by an annoying script that inserts a hidden iframe. Removing all those by hand would be an annoying job, so I decided to automate it. Given that I don’t know much shell scripting but have a firm knowledge of PHP, I decided to give that a go.
First of all, let’s look at the hack. At this point I am unsure what exactly caused so many of my files to contain the odmarco string. It looks like quite some people on DreamHost got hit by this problem, so I am guessing a vulnerable script on one of their servers caused this. Now, I should blame myself as well, because apparently I didn’t take notice to a lot of files in my websites being writable by the server. It’s no excuse, but a lot of the sites that I have are very old sites, where I definitely didn’t pay as much attention to such details as I do now.
Anyway, from a comment on siteadvisor I learned that the script called in the iframe is trying to abuse an exploit in Adobe Acrobat. Though I hate all stuff like this, I hate exploits more than mere referrer spam injection, so I felt I needed to take care of this quickly, even if a lot of the sites are hardly maintained anymore. So I sat down to hack up a little PHP script that would remove the offending string. Why PHP? Simple, it’s the only language I know good enough to hack something like this up in a short time.
After some hacking around I came up with this script. It’s not perfect, but it does the job and it does it well, so I’m happy. Anyone interested, feel free to use this script to clear up the mess in your site. It’s meant to be run from the command line, inside the directory that you want to (recursively) clean. What I did was put it in the homedir on DreamHost, and then go into a directory that needed cleaning and issue the command:
/usr/local/php5/bin/php ../clear_odmarco.php
As you notice, at DreamHost you need to explicitly specify the php5 path because for some reason, the “php” command still defaults to php4. Then I put in a relative path to the clear_odmarco.php file (you could put the full path if you want).
If you have anything hosted on my site with your own user account, you should run this script.
~Jaker
Disconnect at&t from your Yahoo Mail
Posted by jaker in Uncategorized on April 28, 2009
Back when I had at&t DSL, I made the mistake (?) of associating my yahoo account with my at&t account. This turned out to be problematic, as once I cancelled the service, the at&t branding remained.
Just recently did I figure out how to remove it:
Complete the following steps to disconnect your Free AT&T Email and Portal account.
Note: A Free AT&T Email and Portal account provides access only to the AT&T Email and Portal (http://att.net). Your Internet access is provided by a company other than AT&T and will not be disconnected.
- Go to http://att.com/internetaccount and login
- Click Profile Management
- Enter password and click OK
- If the Member Management screen displays, select your Member ID
- Scroll down to bottom of the page and select disconnect my portal service
- Click Yes
~Jaker
Windows 7 RC1 Confirmed!
Posted by jaker in Windows Seven on April 27, 2009
Microsoft has confirmed it! The first Release Candidate for Windows 7 will be available April 30 for MSDN/TechNet subscribers (booyah!), and May 5 for the public.
Yes, you’ll see details about this release here.
~Jaker
Hello world (version 4.3)!
Posted by jaker in Uncategorized on April 27, 2009
We’re back, with a complete rebuild of the blog. Whatever was hiding the shadows is gone for sure!
I hope..
~Jaker
Welcome to version 4.2!
In a best-effort to emulate the answer to life, the universe, and everything, I hereby present Jaker’s Blog 4.2. Why the revision change? Well, the site got a much-needed update for WordPress (making the dashboard look pretty).
More importantly, a problem that has been existing for an unknown period of time has been resolved. Turns out a plug-in I was using injected some unwanted code into my website, causing some users to possibly become infected with spyware (the lucky exploit, to be exact). As soon as I discovered this, I quickly determined it’s cause, removed it, and made the blogosphere happy again.
If your machine was infected by this because of myself, I apologize. It was not my intent to have my website a space for malware to grow and spread. Besides, that was sooo version 4.1 !!
~Jaker
No longer active in Azeroth, but…
I noticed in the WoW 3.1 patch notes:
Horde characters may now obtain the quest “CLUCK!” from Chickens. While Farmer Saldean won’t be selling Special Chicken Feed to the Horde, perhaps “Westfall” William Saldean in Brill might…
This is funny to me, only because I had found a “bug” with this in the past and make several GM reports (all which came back with nothing–it seems as though my message finally got through).
The bug? I’d be in Brill, and find a chicken. Just as the quest is done, I’d spam this poor chicken with /chicken until it replies with “The chicken looks at you quizically.” Normally you’re supposed to right-click on the chicken. Instead, as Horde, the chicken would turn into an “enemy”–you could only attack it, and the local guards would run to the chicken and kill it.
Now–this action makes sense, programatically. The quest was is meant for Alliance, so the chicken gained the Alliance faction.. Hence why I call it a “bug”–the game’s logic was flawless. The chicken’s existance in Brill, however, was not.
~Jaker
Windows 7 Build 7057
If Microsoft is still obsessed with getting Windows 7 out this year, they are definitely on track for doing so. So far I’ve been quite impressed with how Windows 7 has been shaping up. I’ve been using two machines as my test rigs:
The first machine is one of the most important machines in my apartment–the media center. While I do some testing of Windows 7 on this machine, it’s main focus is the Media Center application (and it’s ability to play whatever media I throw at it).
The other machine is the MacBook Pro, which is more or less ironic (it’s a circus to get all the correct drivers installed on that thing).
The latest build on both of these machines is 7057 (although I’ll be testing 7068 shortly). While the build work absolutely great, there’s a slight problem when logging in–I’m presented with this annoying notepad window of my desktop.ini file.
Fortunately there’s a quick workaround for that:
- Click Start and type shell:common startup (then press enter)
- When the All Users startup folder window appears, right click on the desktop.ini file and select Properties
- Check the “Hidden” checkbox, and click OK.
Reboot, and you’re set!
Another item I’m looking into is Media Center’s ability to play non-native file types (right now, I’m focusing on matroska files). I’ve done some registry editing so Media Center at least acknowledges that the files exist, but it won’t play them. I’ll be testing this more on build 7068.
~Jaker
