Haven’t had a need for this since discovering it, but it looks like a useful web development tool that’s cross-platform and generally excellent.
Hat tip to One Thing Well, a blog worth following if you’re a nerd / geek / similar species.
Ironically, SMART is one of the dumbest, least likeable tech companies around, but unfortunately I’m responsible for quite a few of their interactive whiteboards.
So when they decided to force everyone to upgrade to their not-smart subscription-licensed “SMART Notebook 14” by leaving the previous version broken on OS X Yosemite, I was in a bit of a pickle.
Thankfully, a bit of determination (a.k.a. trawling through crash reports and Google results for “yosemite ruby 1.8 HALP PLZ”) was all it took to figure out that getting Notebook 11.4 working on Yosemite is as easy as copying Ruby 1.8 from a Mavericks machine over to Yosemite.
/System/Library/Frameworks/Ruby.framework/Versions/. I just tar’d the 1.8 folder up and copied it over.
So, this looks a little bit important.
Based on my testing this morning, although the caching service on OS X Mavericks Server is supposed to cache iOS updates, and although it does a perfectly good job caching App Store content, it does NOT cache iOS 8 itself.
For those of us who manage large iPad deployments (and would prefer iOS 8 to be installed by end-users), this is a problem. Potentially a multiple-terabytes-through-a-finite-pipe problem.
Thankfully the Squid hack I figured out during the iOS 7 launch works with iOS 8 too. Otherwise we’d be in trouble.
I didn’t understand all the angst over getting U2’s latest album for free–until I read Marco’s latest post. Now, I’m inclined to agree. Very clumsy work by Apple.
I didn’t realise software could be compassionate or otherwise, but this piece makes some interesting points (using poignant examples from the non-tech world). Worth a read.
(Language warning: one bad word.)
John Gruber put this together late last year, and I’ve had it queued for posting since then. It remains a helpful summary of Apple’s approach to privacy, especially as it applies to delivering iMessages between devices.
Assurances from corporations aren’t always very, um, assuring, but so far it seems Apple are leaders in respecting the privacy of their users (even if it’s just to minimise their exposure to subpoenas and such).
My experience with the Retina iPad mini alongside full-size iPads (including a brief play with the iPad Air, which does indeed perform like a “desktop-grade” device) confirms everything Shawn Blanc has written here.
If you can’t decide which iPad to buy, go have a read!
Need your macOS-hosted PHP code to talk to Microsoft SQL Server? Here’s the guide I couldn’t find when I needed it.
Or you could just download my macOS-ready mssql.so (compiled for PHP 5.6.30 on macOS Sierra 10.12.6) and skip to the end. (18 Aug 2017)
Previous versions are available below.
If you’re a Homebrew user,
brew install autoconf is easier than the following.
$ tar zxf autoconf-latest.tar.gz $ cd autoconf-2.69 $ ./configure $ make $ sudo make install
FreeTDS is on Homebrew too:
brew install freetds
$ tar zxf freetds-patched.tar.gz $ cd freetds-1.00.54 $ ./configure $ make $ sudo make install
Don’t worry, unlike some of the Internets will tell you, there’s no need to rebuild PHP itself. Nor do you need to write an essay after
Update (18 Aug 2017): phpize doesn’t seem to work out-of-the box anymore. If it can’t find the files it needs (you’ll see grep errors), try adding a symbolic link like this:
sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/php/ /usr/include/php. System Integrity Protection will need to be disabled first.
$ tar zxf php-5.6.30.tar.gz $ cd php-5.6.30/ext/mssql $ phpize $ ./configure --with-php-config=/usr/bin/php-config --with-mssql=/usr/local/ $ make $ sudo cp modules/mssql.so /usr/lib/php/extensions/no-debug-non-zts-20131226/
If you have trouble with the final step, System Integrity Protection is probably enabled. Disable it temporarily.
Finally, add this line to your
php.ini (probably in
And restart Apache if necessary.
If you’re running an old version of macOS, you might find one of these binaries helpful:
Dear Fellow OS X Server Geeks,
If you’ve upgraded from OS X Server 2.0 on Mountain Lion, you’ll have to open up remote access from scratch. Data is retained (flawlessly in my case), but the PostgreSQL instance has been moved and a new database (with a new name) created beside the old one.