It turns out that in January 1970, the UK government was in the middle of an experimental change to a year-round GMT+1 timezone. Some operating systems seem to be aware of that fact; some aren’t
Argh; time.
[Python-ideas] Please reconsider the Boolean evaluation of midnight
It’s not so hard to write a script that puts your strings in compiled code and lets you avoid a whole class of bugs. After all, asset catalogs are just nested folder structures with JSON metadata, and storyboards are a pretty readable dialect of XML.
objc-assetgen takes your asset catalogs and objc-identifierconstants takes your storyboards and outputs a couple of small source code files that turn this code:
UIImage *buttonImage = [UIImage imageNamed:@"GreenButton"];
UITableViewCell *cell = [self.tableView dequeueReusableCellWithIdentifier:@"Cell with Switch" forIndexPath:indexPath];
into this code:
UIImage *buttonImage = [AppCatalog greenButtonImage];
UITableViewCell *cell = [self.tableView dequeueReusableCellWithIdentifier:AppStoryboardCellWithSwitchIdentifier forIndexPath:indexPath];
– Square Engineering Blog
squashed:
Somebody is going to say something like, “Dan, lighten up. It’s just coffee. You don’t need to have so many feelings about it. Go out and change the world instead of fretting about coffee on the internet.” This will not be somebody who drinks much coffee.
We were having the staff play against other people. And a journalist — a game journalist, a Japanese guy — approached me and said, “Hey, check this out. I found this crazy Magic Throw with Guile.” And he showed it to me. When I first saw that, the first thing I thought was, “I have to quit. I can’t do this anymore. I think I’m gonna quit my job.”
The best reference for working with Android ViewDragHelpers I’ve found. It’s still new enough that there’s not a lot of good stuff out there, but I learned a lot from this piece.
Each Navigation Drawer hides a ViewDragHelper - Flavien Laurent