Archive for the ‘OS X’ Category
Playing with python
Monday, September 29th, 2008
Show some interesting videos on showmedo regarding virtualenv and PasteScript. Go check out percious’ tutorial.
The problem is I always forget how to initial setup all this up, so I’m going to do a quick documentation of it all.
$ virtualenv projectname --no-site-packages $ cd projectname $ source bin/activate $ easy_install pastescript $ mkdir src $ cd src $ paster create mypackage $ cd mypackage $ python setup.py develop
Dual boxing with a Mac
Friday, September 19th, 2008
Great article over at WoWInsider. Take a look at
Addon Spotlight: Mac Dual-boxing
Gonna paste contents here just in cast this gem disappears!
The new Recruit-A-Friend program has taken the World of Warcraft community by storm, perhaps more so in the dual- and multi-boxing circles. I’ll admit that while I advocate enjoying the leveling process and experiencing the lore through quests and in-game events, once you’ve hit 70 a couple of times, the magic tends to wane. With the coming of Wrath of the Lich King, we’ve had some time to re-evaluate our WoW experience. For many of us, finishing up some alts has become a way to prepare for the expansion. I’ve had a number of alts since I started playing, but have only managed to ding two paladins and a rogue. Each time I play in a battleground I see a member of another class do something crazy cool and ponder rolling whatever class it is.
With the RAF program in full effect, I decided that dual-boxing with the 300% XP and Summon Friend ability would be the most efficient way to get my alts Wrath-ready. This How-To is specifically for players using Macs, but in essence many of the principles remain true for PC users.
Setup
The first thing you need to do is set up your “friend’s” account. This is done via your Account Management interface on the official site. Simply send yourself an invite via the Recruit-A-Friend button. Once done, you can set up your new account by following the link in the email to your “friend”. This requires that you purchase a copy of the game for your second account. You can actually do it all online without having to install a second copy the hard way. (Although if you want copies of the discs, you’ll want to pick up a copy at a retail location.) Otherwise, you can simply copy your World of Warcraft folder in the Applications folder on your Mac. Once copied, paste the second copy to another folder. (You’ve got some options here, the important part is that your computer having and recognizing two instances of the game client.) I use an external harddrive to keep things easy, and have not noticed significant performance problems when playing the second copy from an external source.
Because I’m running OS X Leopard, I am able to run copies of WoW in different screen via the Spaces feature. (This creates a virtual second display for my “slave” account.) Otherwise, just stack the game clients. Once I have a copy of each client running with my characters logged in, I open up CloneKeys.
CloneKeys
CloneKeys is a free program used to clone keystrokes from one client to another. It has an ultra-simple interface that requires only one click to set up. In the interface, you’ll simply click the “Add” button and then click on your “slave” copy of WoW. From this point forward, anything you do in your “master” account will be cloned to your “slave” account. You can suspend and restart cloning by pressing the “Start” and “Stop” key. (It’s shaped like a STOP sign.)
Keybindings
This is where a fair amount of work is done to setup your two accounts to work well together. The basic idea here is to remove many of the keybindings from the slave, so that the master can fully function without “confusing” the slave with redundant keystrokes. As an example, I remove the W, S, A and D keybindings from the slave altogether, meanwhile I unbind the arrow keys from the master. This way, the master is controlled via the standard W, S, A and D keys, while the slave can be steeed using the arrow keys. As you can see, you’ll need to spend some time planning your keybindings. An important thing to keep in mind is that you will want to re-bind all of the slave’s actionbar buttons with unique keystrokes not used by the master. Let’s talk about why.
Macros
Here is where you start laying the foundation for the slave’s interaction with the master. I spent time writing macros that enabled the slave to assist the master. Each combat and healing ability I use regularly on my slave (a Balance Druid) has an associated macro to assist the focus target. (Which I designate at the beginning of gameplay as my master.) Here are a couple of examples of macros I am using.
/assist focus
/startattack
I use this when I don’t really need much help and want to regen mana via
/target focus
/cast Regrowth
One of the healing spells cast on the master
/target Self
/cast Regrowth
Slave heals himself
/follow focus
Used to facilitate both toons moving together
/assist focus
/cast Starfire
A basic macro to cast a variety of offensive spells (Starfire in this case)
/drink
/eat
/dance
A few basic administrative-type abilities plus the Moonkin dance for laughs. (Note that these three are different macros.)
Once you’ve written macros to correspond to the abilities and/or actions for your slave, you’ll want to lay them out in the slave’s UI and bind them to bindings not used by your master client. (I use bindings like Alt+Ctrl+1 and so forth.)
Voice Commands
This is where the fun comes in, you will need to make sure that “Enable Assistive Devices” is enabled in your System Preferences (in the Universal Access menu.) From here, open up the Speech menu and navigate to the Voice Recognition tab. Set up your system to recognize your voice commands in your preferred method. (With or without a Push-To-Talk key and a preparatory command.) Now, click into your master client and begin creating voice commands. This is done by saying “Define a keyboard command”. Once you get it to work, a window will pop up and you’ll need to enter a name (which you will speak to initiate the command) and a keybinding. This is where you will want to marry up the three elements of the command.
For example:
I want my druid to cast Starfire on my current target. I have created a macro to do so, placed it on my action bar and bound it to Shift+Ctrl+4. I then create a voice command called “Star” and enter “Shift+Ctrl+4″ as the keystroke. Then, while playing my master account, I say “Star”, which passes Shift+Ctrl+4 to the game. This does nothing for the master (my warrior), but because of CloneKeys, my druid gets the same command and subsequently casts Starfire on my target. (via my Starfire macro.)
The greater part of all this work serves to facilitate voice commands to your slave that encompass the majority of abilities used in a group setting. I also bind the druids forms, Tranquility and other non-target-specific abilities to keybindings to be used via voice commands.
In the end I can effectively play two characters. I control my warrior (master) in the traditional way, while controlling my druid (slave) via voice commands. Everything from changing forms, mounting and following to spells and attacks are controlled by voice. (Think of it like playing with a novice player, you just have to tell him or her every little thing they need to do and when.)
Addons
I only use one addon to contribute to a more efficient dual-boxing experience. Twobox Toolkit allows you to designate a master for a character and a number of features suddenly come into play. The slave will auto-accept invites from the master, relay whispers to the master, auto-accept shared quests and much more. I would say this is a must-have for a budding dual-boxer. (I also borrowed the “master” and “slave” theme from this addon.) I’ve yet to test MultiboxerV2, but many multi-boxers swear by it. If you’re interested in getting started down this road, I’d highly recommend reading through the wiki and forums over at Dual-Boxing.com, the hub of dual-boxing information on the tubes.
Should you decide to try your hand at dual-boxing, I wish you the best of luck. I’ve found it to be a fun way to level alts, an entirely new experince that requires focus and good WoW know-how to pull off well. Share some stories about your dual-boxing experience! I’d love to hear some tips on how to PvP with two toons, I always get slapped around on my two, even by solo players looking for fun. Dismissed!
AT&T USBConnect USB + 3G = remote access
Saturday, September 13th, 2008
Out of the office more and more. The effect? Having to struggle around firewalls, proxies, and filters.
Finally got tired of it all and got an AT&T USBConnect Mercury. Nice little device. Great coverage. Works great on my MacBook Pro. When I’m 3G, even WoW is playable!
$60/month, 2 year deal
But I could not find much better deal anywhere else.
Added the new expense to my iPhone account.
Singing the (Microsoft) Windows Blues
Monday, September 1st, 2008
It finally happened. A family member got a really nasty computer-virus and is now playing the re-installation game.
The only reason Windows has such a large market share is because it come on the PC you buy pre-installed. There is absolutely no way someone with moderate technical skills can install windows+drivers by themselves.
I could rant on this subject for hours.
Here is my advise.
* For a -home- computer, buy a Mac. Use what you want at work, but for home, get a Mac
* If you want to stay with Microsoft, install AVG from free.avg.com, it’s $0, so you won’t get caught without an up-to-date anti-virus solution
* You still want to stay Microsoft? Backup all your data to an external device that you DISCONNECT after the backup is finished! If this does not make sense, call me, email me, comment on this blog and I WILL HELP YOU!
I’ll add, if you got a Mac, anti-virus isn’t really as important as it is on windows (this will probably change). If you got a Mac, there is built-in software to make backups of all your data to an external device -and- on computers Apple controls on the Internet!
I’ll be blogging about this more…
Running the Apple Hardware Test software
Saturday, August 2nd, 2008
Good article over on TUAW on hardware testing. Check it out.
Dell sucks? BIOS upgrade and OS Recovery
Tuesday, July 29th, 2008
Working on a Dell System Workstation 670 with a raw drive. The original drive crashed and burned.
So starts the pain.
I reach for the recovery cdrom, nadda, customer doesn’t have it. So I go to Dell’s web site and 3 hours later I have an iso to burn.
Boot the newly minted cdrom.
I get some weird error about CPUID is limited. So I do some Googlefu and find that the problem might be related to an old BIOS.
Jump into CMOS and find “BIOS Version A06 (09/12/05)” ZOMG! 2005!? Back to Dell’s crap difficult to navigate web site and find a BIOS upgrade from 2006.
Downloaded the .exe, instructions say put it on the C:, run DOS and execute the .exe. Ahhh, remember raw drive, no OS!
Ok, no DOS/Windows, so it says put the .exe on a floppy (WTF!) and boot from the floppy. When was the last time you bought a Dell with a floppy drive?
Download a DOS bootable iso image! Fark with the iso and get the BIOS update .exe onto the image. Munch it, burn it, and boot it.
BIOS .exe wants r/w media! Arrgh! Stupid!
Gave up for now. Will attempt to get a bootable windows iso image and make sure it has usb drivers and put the BIOS .exe on the usb pen drive and see if I can get this to work.
I really hate Dell and windows.
The irony, debian etch netinstall boots and installs just fine. Ditto for ubuntu hardy. Go figure.
OSX Quick News
Friday, July 25th, 2008iPhone 2.0
Tuesday, July 15th, 2008
With my laptop back I’m finally upgrading my iPhone to 2.0! Cadin has been giving me a hard time about not upgrading. Looking forward to playing with the new features.
Excellent service from Apple!
Tuesday, July 15th, 2008
Last week my MacBook Pro was acting weird. Friday it just died. It would power on, but not POST, no video, no Apple “bong”, etc.
Hit Apple’s support site and got some troubleshooting steps.
Reset of the PRAM, Reset of the Power Management, etc, didn’t fix anything. So, I called the local Apple store. To my dismay none of the local stores were taking Genius Bar appointments because it was iPhone 3G release day.
I settled for a 1:15pm appointment on Saturday.
The “Genius” listened to my troubleshooting steps, politely nodding his head and feigning interest, will he performed the exact same troubleshooting steps I already did!
Several minutes later, he pronounced my laptop’s logic board dead. R.I.P. Off to Chicago my laptop goes.
I was told I should expect it back Tuesday or Wednesday.
I’m driving home on Monday and I get a phone call from the Apple store telling me my laptop is there and it’s ready to be picked up!
Wow! Saturday 1:15pm dead laptop Monday 7pm fixed laptop. That’s pretty good service!
Thank you Apple!
