Don’t forget when creating a VM lab in VMWare player: When using host networking, don’t forget the VMWare host takes the first IP address.
I came across this the other day:
A Github repository of various free programming books. Looks like it covers a wide variety of topics, and is regulary updated. Some of the books require registration on a site, but that’s the purpose of a burner account if you want. Most are either HTML or PDF, but I’ve found a number of them in EPUB or MOBI format as well.
Never take Oracle’s recommended minimums as gospel. Double them.
I’m installing Oracle Database 11gR2 into a VM on my Mac for testing a few things. Reading Oracle’s docs, they state minimum recommended is 2GB Ram, 1GB Swap on Solaris 11 x64. No big deal, right? Yeah, well the installer blows up with ‘out of memory errors’. At first, I thought it was possibly ulimit errors, since I had plenty of disk space. Checking the system logs doesn’t seem to say much, but eventually I got a line about out of swap space…Ugh.
Shut down the VM, bump it to 3GB, restart and then change swap to 6GB. At least using ZFS makes this brain-dead simple. There is no need to boot to single user mode, this can be done while the system is running:
zfs set volsize=6G rpool/swap
I’d forgotten how much I like ZFS. Shame Apple killed support for it in Mac OSX 10.6.
I’ve spent a few days on this one: Adding external headers to Xcode 4.6.3 in the project settings pane didn’t seem to work.
It turns out there are two sets of settings, one for the project, and one for the build target. If you find that your headers aren’t being found, then select the build target in the build settings pane, and you’ll then find another set of header search path selection.
Add the external path (in my case, it was /usr/local/include), and viola! Building this target works!
I’ve been playing with Xcode’s Git implementation. I’ve traditionally used SVN for my source control, but with the rise of DVCS, I wanted to learn more about Git. I’ve used in the past, but just for the basic stuff under Windows–and I just used the command line. I wanted to see what IDE integration would bring to the table.
Anyway, Xcode’s got some basic git tools installed. A couple of things I ran into with using it on Bitbucket.org though:
I haven’t tried using the command line tools under Xcode, but I’m sure they’ll work fine. Just remember to preface the command with ‘xcrun’
You get the idea.
I replaced my 2009 MacBook Pro’s drive with an SSD. I used a tip from my scale modeling hobby when removing the screws: Back each screw out until you feel the click of the threads on the hole. Then put a piece of tape on the head and lift it out. The tape will hold the screw, preventing it from being lost to the carpet monster.
Oh, and the 3 long screws go the back right 3 holes.
I’m working on developing a few plugins for some Mac OS X applications. I was having a hard time debugging the plugins, since I had use an NSLog() statement to write out to a file every time I launched the application and used the plugin.
I thought there had to be a better way. Turns out there is.
Xcode 4.6 (not sure about earlier versions) can launch the application for you, and then you can set breakpoints and all the regular debugging tools when the plugin is activated.
The trick is in the Schemes. Under Product, you can look at the various project schemes you have available to you. Under Run, open the Info tab, and you can select the executable to launch when you run the project. After doing this, run your project, and the executable will be launched.
With the release of Menalto Gallery 3 I’ve upgraded the photo gallery. Let me know if you have any issues with it.
I will be attending another open house on June 26th from 10:00 to 2:00. The address is 2015 Texas st, Salt Lake City, UT.
I will have my equipment there to take portraits, and welcome anyone to attend. I will be giving away several free prints and sittings, just mention you saw this blog for other discounts and surprises.
Turns out there were some permissions issues with the gallery that I wasn’t aware until yesterday. The landscapes and models section should be filled now. I’ll be adding an animal section soon.