Archive for October 17, 2016

Monday, October 17, 2016


ShareLaTeX looks like a sort of Google Docs for LaTeX (via Harlan Haskins). I would have loved to have this in college.

Undocumented Xcode Sanitizer Settings

Peter Steinberger (tweet):

Here’s what I gobbled together based on Google; mostly thanks to WebKit being open source. (I only tested CLANG_ADDRESS_SANITIZER so far, but based on Google the other flags should work as well).

There are also CLANG_THREAD_SANITIZER and CLANG_MEMORY_SANITIZER. The address sanitizer seems most useful, though:

Since this flag is undocumented it might change without warning, and there are some hints that this might be renamed to ENABLE_ADDRESS_SANITIZER.

Using this flag makes it simpler to dynamically switch this on or off without having to create a separate Xcode configuration that would be much harder to maintain, and you can configure your CI to run tests both with and without ASan to both have a great assurance of memory correctness and testing the binary that you actually ship to customers.

Update (2017-02-18): Peter Steinberger:

The ASAN_OPTIONS hack is no longer needed, this now works as expected in Xcode 8.2+

ScanSnap and Sierra Update

Katie Floyd:

Good news, earlier this month Fujitsu issued a fix and an online update for the current model scanners, the iX500, iX100, SV600, S1300i, S1100i. This week, the patch came for older models including the S1500, S1500M, S1300, S1100. You can find more details on Fujitsu’s website. According to Fujitsu, update should allow you to safely use the above scanner models with macOS Sierra.


Unfortunately this fix does not appear to address older PDF content that was modified by macOS Sierra resulting in data loss.

Also, unfortunately, as Ashley Bischoff notes, there is no information listed for the ScanSnap S500M (which I have) or the S510M. Fujitsu’s FAQ says:

ScanSnap S500M does not support macOS Sierra. There are no plans for adding support in the future since the support for ScanSnap S500M has already ended.

It looks like the scanner has been officially unsupported since Mac OS X 10.8, although I’ve been successfully using version 2.2.12 of the software for years. I also successfully installed version 3.2.80 in a Mac OS X 10.11 VMware to use while waiting for Sierra compatibility. This version is listed as supporting the newer S1500M, but it seemed to work fine with my S500M.

ScanSnap Manager 3.2.90 does not seem to be available as a standalone download, but I was able to install 2.3.80 and then install the update. Even though my scanner is not officially supported, it seems to be working with Sierra (albeit more slowly).

Previously: macOS 10.12 Sierra Notes, Automatic Download of macOS Sierra.

Update (2016-10-26): Some PDFs that the ScanSnap created display as all black in Preview, however they look fine in Quick Look and PDFpen. As I have also seen this with PDFs downloaded from other sources, this may be a Sierra bug rather than a ScanSnap bug.

Brooks Duncan notes that macOS 10.12.1 includes ScanSnap fixes.