The 4GB my mid-2010 13″ MacBook Pro came with just wasn’t cutting it for me anymore so I picked up a couple of 4GB DDR3 1333MHz sticks for about $40. If you’re like me, you don’t tend to pay too much attention to the nitty-gritty details of something as trivial as a RAM upgrade. Of course, I knew that my model MacBook Pro only supports up to 1066MHz DDR3 RAM, but I assumed that the faster RAM would downclock itself to match the 1066MHz limitations of the MacBook Pro itself. Unfortunately, this was not the case and when booting with 8GB of RAM, my Mac’s loading indicator would freeze when booting the OS.
I created a video on the whole process which you can view below, or alternatively click the Read More link to view a more concise version in this article.
The UIMenuController is something well loved by all iOS owners. With its introduction came copy/paste, a well received (and long due) feature. But what if one wants to harness the power of UIMenuController for their own gains?
It’s quite possible by utilizing the menuItems @property of the UIMenuController class. Simply stick in your NSArray containing UIMenuItems and you’re good to go, right? Well, maybe, but the following is what I got and it simply wasn’t good enough for me:
Notice how I was able to get my “Test” UIMenuItem inserted into the UIMenuController, it worked! However, the UIMenuController brought everyone else to the party leading to a very crowded feel (this actually filled my iPhone’s screen).
I wanted just my customer UIMenuItems in the controller. How to remove the rest of them? Well, if you try tapping on one of em, odd’s are your app will crash with an “unrecognized selector sent to instance” error. This actually turns out to be exactly what we need to get rid of the ones we don’t want! We are told which selector our UIView doesn’t implement and can filter it out in the canPerformAction:withSender: method that your UIView overrides. By utilizing the code below, I was able to get just my one custom UIMenuItem to display in the UIMenuController, exactly what I wanted!
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
{
if (action == @selector(copy:))
{
return NO;
}
if (action == @selector(cut:))
{
return NO;
}
if (action == @selector(paste:))
{
return NO;
}
if (action == @selector(select:))
{
return NO;
}
if (action == @selector(selectAll:))
{
return NO;
}
if (action == @selector(delete:))
{
return NO;
}
if (action == @selector(_setRtoLTextDirection:))
{
return NO;
}
if (action == @selector(_setLtoRTextDirection:))
{
return NO;
}
if (action == @selector(promptForReplace:))
{
return NO;
}
else
{
return YES;
}
}
This effectively got rid of the default UIMenuItems giving me my desired result as shown below:
Wow, time flys. It seems like only yesturday that I was setting up this blog. I haven’t been as active with it as I would have liked, but I’m going to try to change that even though I’m busier than ever at this point in my life. Recently I’ve gotten into DJ’ing and creating mixes. My favorite stuff to mix is electronic music, especially dubstep. Here’s my first promo mix. Feel free to have a listen, download it if you like, and please give me feedback on what you liked/didn’t like.
Here is a short film I helped make for my Introduction to the Arts class. It was inspired mainly by Left 4 Dead but also influenced by pretty much all the zombie movies out there. It takes a somewhat humorous approach at what would happen if the people most prepared for a zombie apocalypse were doomed. The editing and special effects were done by me (it was my first time to do both).
Just thought I’d share some pics of my current PC. I won this at Quakecon 2007, it was the “Dream Machine” sporting the following specs:
Intel Quad Core QX6700 Extreme Edition
2GB Corsair XMS PC6400 DDR 2
(2) EVGA 8800 Ultra’s in SLI
1200 watt Thermaltake PSU
Cooler Master CSX custom paint job case
(2) 750GB HDD’s + (1) 150GB WD Raptor
ASUS Striker Extreme mobo (now an EVGA 680i SLI)
The specs are still the same, the only thing I’ve done with it is add watercooling and make it pretty. This also might be useful for anyone looking to watercool a Cooler Master CSX case. I completed this project back in July of 2008, but just recently took some pictures, enjoy!
It has been a long 7 months, but finally the CGEC is over and Project Curdled (now called Overdose) is completed. Check out the video below (although it seems someone forgot to record gameplay sound). We built an arcade cabinet for this game, but I don’t have any good pictures of the finished product so you’ll have to wait until the judging is over for me to post them.
I’ve never been a big fan of HP. My dad bought a HP Pavilion dv9000 a couple of years ago and the thing has completely crapped out twice despite its being used on a desk 90% of the time. My aunt’s newer HP laptop was a pain to install XP on as I had to slipstream the SATA drivers into an XP install.
Even furthering my hate for HP laptops, my friend asked me to install Windows XP on his new HP Pavilion DV4-1222nr and I had to once again search for a way to get Windows XP installed. I first tried using the custom XP CD I used for my aunt, but after being greeted with a friendly "STOP: 0x0000007B" blue screen I quickly realized that the CD didn’t work because it was made for an HP laptop with an Intel processor, I was going to have to hunt for the AMD drivers and create a new CD…great.
I’ve had the iPhone 3G since it first came out. I camped out the night before, #2 in line for 15+ hours. I love my iPhone, so naturally my obsession with the device led me to jailbreak it. I’m running 2.2.1 software on there (haven’t "unlocked" it yet since I’m on AT&T for a long time), but it is jailbroken.
I’ve used PdaNet quite a bit and just recently, they released desktop software (XP/Vista only right now) that allows you to simply plug in your iPhone via USB and "pipe" the 3G Internet connection directly into your desktop or laptop. This is quite handy as you can turn off WIFI which will save quite a bit of power/heat vs the old way of tethering and also serves to charge your iPhone while sipping from its Internet connection!
About a week ago, the campus apartment Time-Warner internet here slowed to a crawl. It went from a typical 1.5Mbps connection to less than 100Kbps with huge latency spikes. I became fed up with this and decided to give the newest version of PdaNet a try.
Last week, I showed you how to create your own minimal XP install for the Acer Aspire One using nLite. By following my config, you should be able to shave somewhere between 300 and 500MB off of your stock SP3 Windows XP install. By doing this alone, you should have a pretty minimal fresh install of XP as a lot of unnecessary programs are already cut out, saving a few background processes along the way.
However, there are a few more tweaks we can do to your freshly cut down XP install to make it even less resource intensive. I’ll show you which background services and processes I have found pretty safe to disable, resulting in a super-minimal install and configuration of Windows XP.
I love my Acer Aspire One. I originally planned on purchasing one of the new MacBook Pro’s and bought the Aspire One simply to take notes in class. However, I really see no need to blow more money on a full-sized notebook anymore. The only downside to my Aspire is that I got the 110L with the 8GB solid-state hard drive.
I’ve gone through many operating systems on my AAO, and while Ubuntu is definitely my favorite, it’s just not up to where I need it to be. The battery life is only around 2 hours, 3D doesn’t work properly in 8.10, and the wifi would crap out sometimes among other things. The only real option for me is Windows XP and I’ve installed many different versions of that as well, ranging from stock SP3 installs to nLite installs posted elsewhere on the Internet.
Until now, I’ve never really been happy with the end result. A stock XP install was way too bloated and required a lot of work to remove components and tweak services and settings to work well on the AAO’s limited screen and HDD space; yet some of the custom versions I attained had features like Remote Desktop missing which I use frequently to connect to servers on my home network. Anyway, enough with the background story, I finally bit the bullet and created my own custom "Acer Aspire One" version of Windows XP using nLite. I based a lot of my removal of components off a similar guide for the Asus EEE PC here. The install ended up taking up about 600MB (down from 1.2GB) with 18 initial processes running and just under 80MB of page file usage.