- not now
- Stay on target
- STOP!
- Just keep doing the thing.
- Whatever. You’ll get it next time.
- What exactly are you saving this for?
- I've decided not to let it bother me.
- Remember your toolbox.
All the rage was the Scarlet Johansson-branded protective helmet. It's a colorful helmet, it is a planter with 11 specific draining holes, and it's an important crucible for ideas.
We met at a media event held at a junior high. Scarlet was polite, but perfunctory.
Then there was a very small hotel room with glass walls and doors. Stocked with Herbal Bourbons — ice machine didn't work. Scarlet said "No way am I drinking that shit." She was serious and smart. Might be Las Vegas.
Here's what I carry in a Tom Bihn Synapse 19 bag when I travel for 1-to-n days. In general, I optimize for low-weight items, with a secondary focus on reducing maintenance. You can peruse a gallery of pictures, too.
| As of iOS 11/macOS High Sierra, and only including ones in Foundation and CoreFoundation | |
| Strings: | |
| _NSCFString - a CFStringRef or CFMutableStringRef. This is the most common type of string object currently. | |
| - May have 8 bit (ASCII) or 16 bit (UTF-16) backing store | |
| _NSCFConstantString - a compile time constant CFStringRef, like you'd get with @"foo" | |
| - May also be generated by dynamic string creation if matches a string in a pre-baked table of common strings called the StringROM | |
| NSBigMutableString - an NSString backed by a CFStorage (https://github.com/opensource-apple/CF/blob/master/CFStorage.h) for faster handling of very large strings | |
| NSCheapMutableString - a very limited NSMutableString that allows for zero-copy initialization. Used in NSFileManager for temporarily wrapping stack buffers. |
(A book that I might eventually write!)
Gary Bernhardt
I imagine each of these chapters being about 2,000 words, making the whole book about the size of a small novel. For comparison, articles in large papers like the New York Times average about 1,200 words. Each topic gets whatever level of detail I can fit into that space. For simple topics, that's a lot of space: I can probably walk through a very basic, but working, implementation of the IP protocol.
| // Props to the fine folks on this thread http://bbs.iosre.com/forum.php?mod=viewthread&tid=694 | |
| // | |
| // Example output of a call to dailyUsageStasticsForBundleIdentifier or weeklyUsageStasticsForBundleIdentifier | |
| // Inline comments are educated guesses at meaning | |
| // { | |
| // Airdrop = 0; // Has App used Airdrop | |
| // Airplay = 0; // Has App used Airplay | |
| // BBCondition = 0; // ?? BB = Backboard? This number is a float (ie 24.8766038700895) | |
| // | |
| // // No idea what the below units are, or what BLD means |
| // This ensures that the automaticallyAdjustsScrollViewInsets magic works | |
| // On our newly added view controller as well. | |
| // This triggers _layoutViewController which then triggers | |
| // _computeAndApplyScrollContentInsetDeltaForViewController: | |
| // which finally updates our content inset of the scroll view (if any) | |
| // rdar://19053416 | |
| [self.navigationController.view setNeedsLayout]; |
| // | |
| // DynamicTypeLabel.swift | |
| // | |
| // Created by Indragie on 10/16/14. | |
| // Copyright (c) 2014 Indragie Karunaratne. All rights reserved. | |
| // | |
| import UIKit | |
| class DynamicTypeLabel : UILabel { |