This tool updates your Go import lines, adding missing ones and removing unreferenced ones.
$ go get github.com/bradfitz/goimports
It’s a fork of gofmt, and will also format your code, so it can be used as a replacement for your gofmt-on-save hook in your editor of choice.
Very simply put, you can no longer sign a bundle (like your .app) if any nested bundle in that package is unsigned. These nested bundles are things like helper executables, embedded frameworks, plug-ins and XPC services. The result is that you’ll need to update your Xcode projects as soon as you start building on 10.9. It’s taken me several days to understand what these changes are, and with the help of Perry Kiehtreiber on the developer forums, I’d like to share what I’ve learned.
"Alice & Bob & Eve & Mallory & Trent" t-shirt (by 0-day Clothing: T-Shirts for hackers, engineers and geeks)
Tempted to buy this, but hardly anyone will get the joke…
Want to work on my team, on cutting-edge mobile database and sync technologies like Couchbase Lite? Want to work full-time on open source software and be well-paid for it? We have an opening for a development engineer…
PS: If you apply for this, tell ‘em I (Jens Alfke) sent you!
Software Development Engineer - Mobile (iOS or Android)
Play a key role in the development of our mobile NoSQL database product. Yes, that’s right…NoSQL on your mobile device, synced with Couchbase server. This product clearly differentiates us from other NoSQL competitors!
PonyDebugger is a remote debugging toolset. It is a client library and gateway server combination that uses Chrome Developer Tools on your browser to debug your [iOS] application’s network traffic and managed object contexts.
Someone demoed this to me this morning, and it’s effin’ amazing.
Many web services choose to return dates in something other than a unix timestamp (unfortunately).
Recently I set out trying to identify performance bottlenecks with a large import operation in our iOS app. Having tweaked most of the variables, I was surprised to find out that date parsing was actually one of the biggest bottlenecks….
vombat cleverly discovered that SQLite’s strftime function parses ISO-8601 (i.e. JSON) dates an order of magnitude faster than NSDateFormatter does, even with the overhead of having to generate and evaluate a SQL SELECT statement to run it.
I decided to go one step farther — I tweezed out the ~250 lines of C code from SQLite that implement the actual parsing, and got them to build independently. This adds another factor of 2x speed.
You can get the resulting code here. It’s pure C with no dependencies other than the standard C library.
Says it all
I can believe they came up with a system like this, but I can’t believe they didn’t realize within two years what an incredibly stupid idea it was.
XcodeColors is an Xcode plugin that “allows you to use colors in the Xcode debugging console. It’s designed to aid in the debugging process.”
The colors are escape sequences but they seem to be different than the ANSI escapes that Terminal recognizes. Still, this should be hugely useful for making my logging easier to read.
Amazon must rely on barcodes and human hands to find the ordered items and drop them into the proper bins — without robots, Amazon utilizes a system known as “chaotic storage,” where products are essentially shelved at random.
By storing items randomly instead of categorically, the warehouse has a much better flow of material. Even without robots or automation, Amazon can compile a “picking list” that locates where each item needs to be taken off the shelf and scanned again before it can be shipped.
The real advantage to chaotic storage is that it’s significantly more flexible than conventional storage systems. If there are big changes in a product range, the company doesn’t need to plan for more space, because the products or their sales volumes don’t need to be known or planned in advance if they’re simply being stored at random.
Furthermore, free space is much better utilized in a chaotic storage system. In a conventional system, free space may go unused for quite a while simply because stock is low or there aren’t enough products to begin with. Without any kind of fixed positions, available shelf space is always being used.
Sounds like a real-world hash table.