Apple's Swift Blog

This new blog will bring you a behind-the-scenes look into the design of the Swift language by the engineers who created it, in addition to the latest news and hints to turn you into a productive Swift programmer. I LOVE the new, open-er Apple. From the barriers between iOS and OSX coming down, some Apple devs being more open on twitter and in the dev forums, and now this blog. It’s an amazing time to be using Apple dev tools

On Working From Home and Running a Business

Shawn Blanc talks about how he organizes himself and his company for working from home. One day... I cannot express enough just how absolutely critical it has been to have a budget — both for our company and for our personal household expenses. Did you know that most of America’s millionaires are people who earn low- six-figure incomes? They have a high net worth (between $1 – $10 million) because they live simply and budget their money. When we were saving for the down pay payment on our condo we were…

Format JSON and save to gist with Alfred

At work, we have an Angular app that deals with a lot of custom JSON. With a distributed dev team, we pass a LOT of JSON around.  Copying from Chrome’s net tab, formatting, adding to a Github gist for easy transport is a PITA when you are doing it 20 times a day. I have 2 Alfred workflows to help with this. My Use: Copy unformatted JSON to clipboard Alfred “JsonLint”. Formatted JSON is now in my clipboard Alfred “gist”. URL to raw gist is now in my clipboard One of these days I’ll chain these together To…

Whatever goes up, that’s what we do

This is a quite from a Facebook employee: We’re blind. It doesn’t matter what any individual person thinks about something new. Everything must be tested. It’s feature echolocation: we throw out an idea, and when the data comes back we look at the numbers. Whatever goes up, that’s what we do. We are slaves to the numbers. We don’t operate around innovation. We only optimize. We do what goes up. There is a flip side to this too, right? Facebook HAS that kind of data. What I wouldn't DO for that kind of data…

SwiftInFlux

SwiftInFlux, a community-based project for cataloguing the changes that Apple is probably going to make to Swift before 1.0 ships I'm really happy someone is doing this. Even between seeds 1 and 2 there was a number of changes. The differences were buried in the Xcode release notes. I think they deserve their own diffs. If you agree, please file a radar

Don't Be Scared Of Functional Programming

This article made a LOT of things click for me. I hadn't quite grasped the concepts of functional programming. (I hadn't really tried to). It's a little long. But, worth it. Functional programming can be daunting, but remember that it isn’t only for PhDs, data scientists and architecture astronauts. For most of us, the real benefit of adopting a functional style is that our programs can be broken down into smaller, simpler pieces that are both more reliable and easier to understand.

Launch Center Pro to Trello via IFTTT

I previously wrote about automating adding to Trello from my phone using Launch Center Pro.  That method involved some scripting and Pythonista. It was fun to figure out, but cumbersome to update. Now that LCP has IFTTT integration, this process can be simplified. You can chain an event from LCP through IFTTT to email a card to Trello. Note: This will only work for 1 list per board. I haven’t figured out if there is a way to email to multiple lists on the same board. Set up the Launch Center Pro channel on…

Opening SourceTree from the Command line

SourceTree is my weapon of choice for a git GUI. I do most of my git work from the command line, but it’s great to look at diffs and branch trees. I was finding it tedious to open SourceTree with Alfred, then opening the correct project. I use this alias to open it right from my working directory: Then, just from where I am

Delayed Liveblog on the WWDC 2014 Keynote

I was stuck in meetings most of the day but I was able to download the keynote for the train ride home :) Here are some thoughts. If I live tweeted, it probably would have gone something like this. Maybe a few more here.. The dev intro video was awesome. It’s like Apple saying “We love you, we’ve heard you” That’s a lot of Apple engineers present It’s a shame I can’t risk my laptop. I want to play with Yosemite! I dig the new look Ooo dark mode Mail drop is huge for work Airdrop from phone to laptop…

Reordering a NSFetchedResultsController

I’m working with a NSFetchedResultsController backed UITableView.  Up until now I’ve just been ordering the items by the time they were added. I’m moving on to Delete and Edit.  Editing the content itself isn’t needed, once an item is added to this list, it can’t be changed. Deleting is straightforward in With reordering, I have a conundrum.  I have an approach for the actual re-order that will have the View and the data playing nice. But, now I need to persist the order.  I don’t have a property in Core…

The Old Reader on Good Ol’ RSS

It’s always odd to hear people say RSS is dead. The fact is, RSS is easily the most successful stealth, insurgent technology on the web. It is pervasive and is the engine for much of the Internet. Long live RSS!

Up and Running with MindSea: Doing it the Right Way

I once worked with a company that told me if just two lines of code are repeated, then there’s probably a better abstraction that I should be using instead. A bit extreme, I know, but I took that to heart. I haven’t looked back and that advice has served me well. Ash Furrow talks about the benefits of abstraction and how it can aid in ramp up. A good, short read

Poking at an AngularJS model from within an iFrame

Full Disclosure: This is dirty and hacky. You may feel unclean after reading. Grab soap. For a few infrastructure reasons I won’t get into, we have an iFrame on a page that Angular renders.  It pulls in a page that exists within our code base and on the same site. Thankfully, no Cross Domain issues to worry about.  The page within the iFrame needs some configuration from the parent page. When a user is done in the iframe and hits a button inside of it, the parent page needs some information from it.  This…

Facebook Launches AppLinks To Make Deep Linking Between Apps Easier

So with this new scheme, you just pass the app a web URL and if a compatible mobile app is installed, it will automatically load that app instead of the web version. AppLinks will learn which links are handled by which apps. “We crawl the web for you. You don’t have to do it – but you can, you just don’t have to,” Sukhar said. Developers simply mark up their web pages with a few new meta properties. Facebook also offers a Parse module and an API to support these features. Nice. Not the better inter-app…

How to be an open source gardener

A good read on triaging issues using the Rails project as an example What are Issues? The very first thing your project needs to do is to figure out what Issues are supposed to be for. Each project is different. For example, in Rails, we keep Issues strictly for bugs only. Help questions go to Stack Overflow, and new feature discussion and requests go to the rails-core mailing list. For Rust, we have issues for feature requests, meta-issues… everything. For some repositories, closing all of the issues is…

Ember, iCloud & App Reviews by @dancounsell — Realmac Blog

The worst thing is we can't reply to those users. It makes me sad to see users that are having issues and know that we can help, but yet have no way of contacting them. This is one thing that needs to change on the App Store. I agree. I sometimes have luck with stalking people down on twitter. But, it breaks my heart when I could easily help someone if they have an issue with Weather Notifications

Build 2014

Justin goes over his experience at the Microsoft Build conference this year: With things like C#, the Roslyn compiler/frameworks, and the modern WinRT runtime, it feels like Microsoft is way ahead of Apple in the future looking regard. As a developer, I’m jealous of a lot of the technologies coming out of Microsoft. As a user? They’ve got a long ways to go before I consider using Windows over a Mac. That said, this is the new Microsoft. They don’t need me to use Windows or Windows Phone as long as I use…

“Security”

Were the National Security Agency an agency charged with the security of our nation, it would have reported the Heartbleed bug immediately instead of exploiting it.

NSA Said to Exploit Heartbleed Bug for Years

If an organized hacker ring sabotaged security standards and major tech infrastructure for years, compromising the security of hundreds of millions of people and many governments including our own (and potentially causing billions of dollars in damages when these exploits were found by others), and exploited any flaws they found or created to spy on millions of people in the world including our own citizens, what should they be charged with? Mass criminal sabotage, cybercrime, cyberwarfare, and computer…

Brian on Data Migration

Pretty much any migration can be done without stopping the world. You migrate in steps, with double writes and double reads at some points. Here’s the general outline