HNHacker News
TopNewBestAskShowJobs

bengotow

1,228 karma · joined December 24, 2012

[ my public key: https://keybase.io/bengotow; my proof: https://keybase.io/bengotow/sigs/jqshHYRogDU7morbFrScpmEYgdW4Nkp4_pyv0ToKYis ]
submissionscomments
bengotow··on How To Survive a Ground-Up Rewrite
If you're reading about surviving a ground-up rewrite when you're supposed to be _doing_ a ground up rewrite, you're doing it wrong. Read about design patterns, focus on your core business, and stop trying to focus on the "five things to make your rewrite successful".
bengotow··on Three.js editor
Wow this is really impressive—just out of curiosity, how did you show the standard Mac OS X color picker from the browser window? That particular bit seemed very cool for some reason :-)
bengotow··on News Corp. Has a Tablet for Schools
I'm at SXSWedu this week and News Corp has spent a fortune advertising the Amplify platform here. They've demoed many of their educational apps and the content they're developing, and it actually looks well tailored to classroom needs. It's a shame that News Corp is just about the least trusted brand in the country, because any other organization—Amazon, Apple, Microsoft—would be much more well received and praised for innovating within an industry which needs it so badly. I don't trust News Corp with student data, but there are no other companies creating an end-to-end platform this ambitious.
bengotow··on Msgpack can't differentiate between raw binary data and text strings
Thanks for replying. When I explored Msgpack, it was the Objective-C library that I tried using. Overall it was a great experience - nice work on the wrapper. I think you're right - I was trying to use Msgpack to do more than I could do with JSON (namely, to transmit NSData without having to stringify it). When I realized all the NSData objects were being automatically converted into strings when the data structure was inflated, I figured I'd need to prevent that behavior and do it on only certain keys (which would need to be specified somehow, hence my thought of a schema). Thanks for clarifying!
bengotow··on I built a better Google. It was easy.
Haha wow - sorry, but if you think you can create a "better Google" by limiting the scope of searches to specific sites that you've selected ahead of time, you're missing the point of the this entire decade.
bengotow··on Msgpack can't differentiate between raw binary data and text strings
I'm fine with the fact that Msgpack does not differentiate between binary data and text strings. Sure, it requires a schema, but if you're concerned with data size and parsing speed, you should choose an encoding appropriate for your task anyway.

The bigger problem is that Msgpack is advertised as being "like JSON, but fast and small." To me, that makes it sound like I can replace JSON messages with Msgpack messages and be done, and that's not at all the case, because I need to add a schema layer. I think the "like JSON" comparison is what is really causing this frustration with the format.

bengotow··on Why I loved building Basecamp for iPhone in RubyMotion
I really agree about the storyboarding stuff - I've had a hard time getting into it. That said, I'm a very experienced iOS dev, and I use XIBs as extensively as possible. I started writing apps before Interface Builder supported iOS in the summer of 2008, and those projects are completely, utterly crippled by the fact that there are thousands of lines of code that create and position views. None of it can be easily redesigned for iPad or enhanced for the 4" display. It'd take forever.

Using XIBs is also great for universal apps. I can instantiate the same controller with one XIB on iPad and another XIB on iPhone, and the layouts can be tailored to the platforms. It's wonderful when a client comes to you asking for an iPad version of their app, and you can duplicate the XIBs, scale them up, resize controls and swap out assets and go home early.

One thing that does suck about XIBs is that they ALWAYS cause merge conflicts. That part sucks and really needs to be addressed (at this point, Apple would probably have to write a diff tool for XIBs!)

bengotow··on Why I loved building Basecamp for iPhone in RubyMotion
I agree with this point. A lot of RubyMotion fans seem to be trying to build an app for iOS while learning as little as possible. While that's great if you're on a tight deadline and want to play to your strengths, Xcode is an incredibly powerful tool and features like the static analyzer, visual debugger and core data visualizer shouldn't be thrown out because some command line utility will let you Build & Run.
bengotow··on Why I loved building Basecamp for iPhone in RubyMotion
You're definitely right — nil / NSNull is confusing to newbies, but Ruby is just as bad. The way it handles UTF8 is somewhat backwards, and the fact that symbols and strings are different (but sometimes used interchangeably) can cause 'gotchas' for newbies too. I'd argue that your language of choice is really dependent on which set of baggage you've internalized :-)
bengotow··on $700/hr for legal advice vs. $100/hr for a top software engineer – why?
1. A top iOS developer usually costs more - between $150/hr and $200/hr in my experience. In the valley, it might be even more. Maybe your guy should be charging more, maybe he doesn't feel like it! A lot of guys I've worked with don't realize how much they're worth. Either way, hold on to him and give him a bonus when he finishes the project on time.

2. I think you're paying $700/hr because you 1) went straight for a partner and 2) you went straight for a major law firm in the valley. It's also a mindset difference. I think lawyers charge based on the value they add, not the hours they work, whereas developers typically think about hours. A developer who writes a piece of code that saves you $1M should charge $100k for it, and a lawyer probably would. On the other hand, your developer would probably charge you 1.5 hrs * $100 / hr. :) * Full disclosure: I'm a developer and I have lawyer friends, but

bengotow··on C# is the language of the year, Python of the decade
I don't understand how searches for '{language} tutorial' is a better metric than TIOBEs. The results of a metric like that would likely under-represents Objective-C in particular, because Objective-C classes are namespaced with the NS prefix and don't require additional search terms. For example, to find code for doing string reversal in C#, I'd need to search for 'C# String Reversal Tutorial' but for Objective-C, I could just search for 'Reverse NSString'.
bengotow··on On logic in a Rails app
I think what the OP is talking about is just a ruby reimagination of the Operation pattern. Most sufficiently complicated apps that implement undo / redo use "Single Responsibility Objects" to encapsulate individual user operations. Each one has a "do" method and an "undo" method, and little else. In a web service, you don't have to worry about undo server-side, so using this pattern is more an option than a necessity!
← PreviousPage 7 of 7