Mistakes in Go: JSON (un)marshalling
— golang, protip
Don't reuse the same struct address when unmarshalling JSON with Go. Seriously.
The prince and the magician
— biased bits
"Reality is that which, when you stop believing in it, doesn’t go away."
Throughput impedance (mis)matching
— golang, timehop
An overview of Timehop's push notification system, and how throttling and buffering communication between services on your backend can prevent you from DDoS'ing yourself.
Golang custom transports and timeouts
— golang, timehop, bare metal
Golang, custom transports and slow leaks — the perils of not using timeouts across the board.
Speed up AirDrop transfers
— protip
Airdrop transfers, from ~300KB/s to 10MB/s with a simple command.
BBCyclingLabel: UILabel with animated transitions
— cocoade
A library to perform custom cycling animations when switching text on labels.
A/B testing with Jekyll and Google Analytics
— protip, meta
How to run an A/B test with Jekyll and Google Analytics.
Cocoa data serialization benchmark: Archive framework vs custom serialization
— cocoade, bare metal
Building a custom serialization mechanism that's about 2x faster than Cocoa Archive Framework.
Convert to Base 62 in Cocoa
— protip, cocoade
Quick snippet to convert a number to its Base62 representation in Objective-C.
Bound to be ugly
— biased bits
When things are built for the first time, they're not going to be pretty.
UIImage from ALAsset: getting the right orientation
— protip, cocoade
Finding the True North of an ALAsset
.
A CountDownLatch with GCD
— protip, cocoade
For those who long for java.util.concurrent.CountDownLatch
File System vs Core Data: the image cache test
— cocoade
Benchmarking CoreData vs a simple file-system implementation of an image cache for iOS.
Hide git folder with .htaccess
— protip
Objective C unit tests and Categories: 'unrecognized selector'
— protip
Making sure your categories are available for unit testing on Xcode.
Non-US Apple MBP keyboard layout under Windows
— protip
If you don't have a non-US keyboard layout just move along.
Redis and JedisPool configuration – sensible defaults?
— protip, bare metal
Glueing JedisPool
configuration and Spring.
Netty tutorial – High speed custom codecs with ReplayingDecoder
— bare metal
How to build a high-speed binary custom codec using Netty's ReplayingDecoder
.
CountDownLatch vs wait()/notify()
— protip
A micro benchmark on Java's CountDownLatch
vs wait()
/notify()
semantics.
An enhanced version of ReplayingDecoder for Netty
— bare metal
Tutorial on how to enhance Netty's ReplayingDecoder
for complex use cases.
Handshaking tutorial with Netty
— bare metal
Tutorial on building a client-server handshaking protocol with Netty.
Naming threads created with the ExecutorService
— protip
Assigning custom names to your Java threads for easier debugging.
SSH Tunneling handy one-liners
— protip
Connecting via SSH to a machine within a private network through a gateway.