Better HN
topnewbestaskshowjobs
Log inSign up

kreeger

38 karma · joined Apr 26, 2011 (15y ago) · 24 submissions

[ my public key: https://keybase.io/kreeger; my proof: https://keybase.io/kreeger/sigs/uFj6IbhyCVWibctHR4jWCX60fgi-QDDjpyI4Ub5sr2s ]
Submissions

comment 11y ago · link · parent

For a moment there, I thought this was related to the Eero language project (http://eerolanguage.org).

comment 12y ago · link · parent

While I like Swift (from what I've played with it, around SourceKitService crashing every two seconds), it doesn't provide you with the "just enough rope" that Objective-C does. Many of Objective-C's best capabilities lie in its ability to do some crazy things with metaprogramming (much like Ruby). This is a terrific introduction to that. I'd love to see a full-on book dedicated to the subject, TBH.

As an aside, I can't say I've ever seen these Genius annotations in a blog post before, but the way they're used here make this read like a chapter from a textbook with really useful sidebars. I hope this sort of thing catches on with other development blogs.

3.

Swift enumerations and switch statements(ben.kree.gr ↗)

4 points · by kreeger · 12y ago · discuss

comment 12y ago · link · parent

Correct; Apple has made the latest Xcode beta available to "free" developer accounts, as of today (source: https://developer.apple.com/news/?id=07112014a).

comment 12y ago · link · parent

When I worked for Universal Uclick, we released the GoComics app all at the same time for iOS, Android, and Windows Phone. I worked on the iOS release until its launch, and we had the ear of its developer support team up until and well after its release. We even were able to get the app 'featured' in the App Store shortly after its release.

We didn't experience a cold shoulder at all from Apple after putting out the app for other platforms. But then again, that was just us.

comment 12y ago · link · parent

DHH is reporting that criminals are bringing down the Basecamp network of sites in a blackmail attempt. A working writeup is on a gist from DHH right here: https://gist.github.com/dhh/9741477

comment 12y ago · link · parent

I'm beginning to appreciate the concept of Interactors and Entities more these days (application-specific business logic versus application-independent business logic), now that I'm some sort of a mature adult (jury is still out on that one). This post highlights that as part of the "VIPER"-style architecture. The great part about these patterns is that they can typically be applied to a lot of modern Ruby and iOS projects _both_ to cleanup code.

Great post; I always enjoy reading these sorts of things.

comment 12y ago · link · parent

Granted, to each their own, but the one thing I concern myself with is readability and learning curve, especially on projects where there's even the remotest possibility that somebody could be inheriting my code. If I toss in a library like ReactiveCocoa, that's an incredibly steep learning curve that a developer will have to master in addition to any other curve presented by Cocoa Touch / Foundation / Core Data / whatever's already there.

The argument could be made for lots of other Objective-C libraries and frameworks, I suppose, but ReactiveCocoa doesn't seem to offer more in benefits than what it costs to learn it.

comment 13y ago · link · parent

I glossed over that originally, apologies; I've updated my comment.

comment 13y ago · link · parent

Kudos to Mattt Thompson and the whole community of collaborators that put work into this release. AFNetworking makes a large part of my job making iOS apps a joy, and I can't wait to start working with latest round of changes and features in this new release (including support for NSURLSession in iOS 7).

That said if you haven't used AFNetworking before, I highly recommend doing so. Start with the AFHTTPRequestOperation class(es). And if you're writing an API wrapper of any kind, definitely check out subclassing either AFHTTPRequestOperationManager (for iOS 6) or AFHTTPSessionManager (for iOS 7).

Edit: Derp, I was wrong — AFHTTPClient's been split-up. Thanks for calling me out, @dcaunt; I've updated my remarks.

https://github.com/AFNetworking/AFNetworking/wiki/AFNetworki...

comment 13y ago · link · parent

My favorite line from the article:

"Even so, his specialty has been hardware, designing a product out of materials such as aluminum and glass - not software, which is based in code."

I've been writing software wrong all these years!

comment 13y ago · link · parent

Another person trying to make this a "Hacker News vs. Reddit" thing, which still doesn't appeal to the reason sectors of my brain. Definitely not a ripoff; Mashable's clearly grasping at straws again.

comment 13y ago · link · parent

Split panes is pretty much the main reason I need iTerm2. That, combined with system-wide hotkey toggling (which I used to get on Terminal with Visor), and Send Commands to All Sessions mode (cmd-ctrl-i, I think) makes me a happy command liner.

comment 13y ago · link · parent

I'm with thwarted on this one. I don't want to put my repo on a service where I have to opt-out of things based on extraneous files in my repo. That's extra clutter in my repo for something that could easily be handled in other ways (not to mention the fact that repos would be opted-in by default).

comment 13y ago · link · parent

I'm not a computer scientist, but I speculate it's due to Objective-C's compilation with LLVM.

comment 13y ago · link · parent

As I'm not terribly familiar with AirBnb and its terms, why won't it let the poster spell out "Google"?

comment 13y ago · link · parent

I can't stress enough how important it is to _not_ use `and` and `or`. As a former die-hard fan of those operators, it bit me in the ass so hard when those didn't exactly work the way they were supposed to. I've been using && and || now for years and I haven't looked back. /PSA

comment 13y ago · link · parent

Andrews McMeel Universal / Universal Uclick, Kansas City, MO, looking for a full-time software engineer.

We're an awesome, closely-knit tech department with a core web / design / scripting / app development group of 7 people, looking for an 8th. We work on websites like GoComics.com, Dilbert.com, Doonesbury.com, and ThePuzzleSociety.com. As you may have deduced, we're a comic and editorial syndicate with focuses on both B-to-B and B-to-C channels. We own syndication rights to Dilbert, Peanuts, Calvin & Hobbes, Garfield, FoxTrot, and tons more.

You gotta know your POSIX/UNIX environment, you gotta love building and scaling websites, and you gotta love learning and incorporating new things. We use a lot of Ruby and Perl, along with some Java, Node, and Objective-C.

Hit us up at http://www.amuniversal.com/amu/AMU_Careers.htm!

comment 14y ago · link · parent

The Xbox never was an open platform to begin with, unlike the PC. The PC has never been the kind of platform to lock stuff down; while Microsoft may have their merits for doing so, a lot of people are up in arms about it and rightly so (as the PC is so widely distributed).

Plus, while Mojang did license and partner the code with another firm for the Xbox port, they didn't create it directly themselves.

comment 14y ago · link · parent

Thank you (x3) for the explanation on how this works and what went wrong. Your comment alone is more insightful on any of these articles that've been submitted on this problem. You win my Internets, mitchellh.

comment 14y ago · link · parent

Wait a minute, they snagged the Bukkit guys? I must have totally missed that. I'd love a link, if you've got one.

comment 14y ago · link · parent

You also may want to investigate adding a podspec for CocoaPods. http://cocoapods.org/

comment 14y ago · link · parent

Design or number of users regardless, people really need to stop using the word 'disrupt'. It's one of the top reasons I steer clear of TechCrunch.

comment 14y ago · link · parent

So it's not just me, then. IMO, writing `someThing ||= {}` is much more eloquent than `var someThing = someThing || {}`.

The first point he raises is a valid argument; CoffeeScript's intro does uglify the JS a little to make its point. But it doesn't take much.

> ...merely inaccurate due to a lack of knowledge on JavaScript...

Kinda think the opposite idea was how CoffeeScript came into being, amirite? It was written to make JavaScript look AND act better. It wasn't developed by people that had no idea how to use JavaScript, and it certainly isn't used exclusively by people who don't know how to use JavaScript, too.