HNHacker News
TopNewBestAskShowJobs

jpsim

128 karma · joined November 11, 2011

submissionscomments
jpsim··on Show HN: Realm (YC S11), a mobile database
Realm currently supports Swift, though we're actively working to improve our Swift APIs[0]. You can find Swift sample code throughout our docs[1], and in our Swift examples on GitHub[2].

We learnt a lot about Swift introspection and interacting with Swift objects from the Objective-C runtime. We'll share our findings in some upcoming blog posts, so stay tuned!

[0]: https://github.com/realm/realm-cocoa/pull/549 [1]: http://realm.io/docs [2]: https://github.com/realm/realm-cocoa/tree/master/examples/sw...

jpsim··on Show HN: Realm (YC S11), a mobile database
JP from Realm here, I worked on our (experimental) Swift support. Swift as a language is pretty unstable right now, but it's clear that Apple sees it as the future of iOS and OSX development. So we wanted to start experimenting with how to make Realm feel right at home in Swift.
jpsim··on Programming languages, operating systems, despair and anger (2009)
Funny that all of these, minus the first one, have next to nothing to do with the language itself, and everything to do with its standard library and external tooling.
jpsim··on Programming languages, operating systems, despair and anger (2009)
Yes, the article is very much of a rant, which is necessary every now and again to prove a point.

I also feel that many of the points the author had aren't strictly related to the language, but rather its standard library. Which could be argued that you can't benefit from one without the other, but still. Most of his concerns seem to be easily fixable through a more versatile stdlib, but there are certainly cases to be made against that.

For example, I'm not sure I want a language's standard library to know about JSON and HTML parsing, features that seem to be a better fit for non-standard frameworks and libraries.

jpsim··on New EBS volume type: General Purpose (SSD)
This has the potential of bringing Amazon into an industry they helped create, but were never a major contender in.

I'm talking about the space DigitalOcean and Linode now occupy. Hobbyists who need a quick, multipurpose machine might actually consider Amazon now.

Either that, or a new "hosting" company will slap a simpler UI on top of EC2 and reap the benefits.

jpsim··on In Defense of Recruiters
Like the talent you're trying to hire, recruiters span the spectrum from horrible to not-so-horrible... with the occasional gem. Now if only there were recruiters to help find good recruiters.
jpsim··on Facebook Slingshot – A new way to share photos and videos
It's nice to see lots of some experiments come out of Facebook, but they should really be seen and treated as such.

Is this a revolutionary product idea? No. Is it a platform for Facebook to see what sticks and then apply to its core offering? You bet.

jpsim··on Swift: Uncharted Territory – Swift Intro and Internals [video + slides]
Hi, speaker here. Let me know if you have any questions.

The video starts off with the basics but gets into some pretty obscure, and interesting, internals on how things work.

jpsim··on Lessons from a Silicon Valley job search
If you're Mexican/Canadian, a TN Visa might be a better option than H1B since there's no annual limit.

I'm currently in Silicon Valley from Canada on a 2.5 day trip, with 4 interviews in that timeframe, and it's quite fun yet intense.

I'd also say that if you're a self-taught programmer (I'm an EE), it's worthwhile to read a book like Intro to Algorithms[1] cover to cover before you start doing technical interviews. There are just too many CS101 concepts that you'll never run into even after years of programming.

[1]: http://www.amazon.com/Introduction-Algorithms-Thomas-H-Corme...

jpsim··on Cleanmachine – from fresh install to usable OS X web dev machine
These projects with the same goal also worth taking a look:

https://github.com/mathiasbynens/dotfiles

https://github.com/thoughtbot/laptop

http://boxen.github.com

https://github.com/jpsim/laptop

jpsim··on Developing a mobile cross-platform library in C++
Just because support for multiple platforms is the goal doesn't mean that it has to share the same code base.

Actually, for the author's simple use case (REST API), writing per-platform would probably have taken as much code as the wrappers themselves. Not to mention improved maintainability and a slew of other factors.

Diving down to C++ for cross-platform libraries starts to make sense when there are 4-5+ platforms (certainly not 2), or if there are complex algorithms (certainly not just a REST API), or if there's a very wide range of functionality (i.e. 100+ API calls).

jpsim··on Startup advice and the clarity of experience
What an insightful way to put it.

It's more than that, though. Learning business tips differs from learning about a technical topic.

Business advice does usually state something obvious, but underlines its importance. There are a million "obvious" things to do, and a lack of resources to do them all.

Contrast that to learning something technical, where statements are more likely to teach you something immediately upon hearing it, but offer much less depth individually.

jpsim··on Show HN: An API for gender classification

  if probability == "59.369936" {
    probability = "?"
    gender = "unknown"
  }
jpsim··on Regex Golf
Gist with my answers: https://gist.github.com/jpsim/8057500

If you look at the revisions, you'll see my 1st iteration was mostly identifying patterns, then with more and more cheating (and looking at this thread) to squeeze every point possible.

jpsim··on Poll: HTML 5 or Native mobile development ?
Here's what I've tried (mostly just for kicks) and my thoughts:

1. Native (iOS/Android)

2. Native (iOS/Android) with some content in webviews

3. PhoneGap (iOS & Android, cross platform, same app)

4. Xamarin (iOS)

5. RubyMotion (iOS)

I recommend 1 & 2 if you have the resources (time to learn native iOS/Android or an experienced developer available). A good approach is to write all the structure/navigation natively and individual content in webviews. LinkedIn's mobile team uses this technique exhaustively.

Xamarin and RubyMotion (4 & 5) are both great 2nd choices if you dislike the Objective-C / Java languages or your team is well versed in C#/ruby, but you'll still have to learn the SDKs. There isn't much you can't do in these frameworks that you could do "natively", since you're still hooking into the native runtimes (loosely speaking). Xamarin is a bit more stable than RubyMotion, imho.

I'd stay away from PhoneGap if possible. My main takeaway is that "write once, run everywhere, sdk agnostic" is a pipe dream. You'll be disappointed when you're investing tons of time in the last 10-20% of development, working with fringe cases on different platforms. If you find yourself considering PhoneGap, consider whether or not being on the App Store is necessary at all, or if you can get away with a standard web app through the browser.

jpsim··on Poll: HTML 5 or Native mobile development ?
Native apps take a lot of time to build, especially when you are a web-developer

True, just as writing in any language you're not familiar with will take longer.

For even a semi-experienced iOS/Android developer, it can be faster than writing an HTML/web app.

jpsim··on If iOS7 jailbroken, can apps peek at fingerprint data?
My understanding is that Apple will store fingerprint information as a list of characteristics, scrambled with a one-way hash function.

This way, even if the stored data is accessed, you'll have a hard time reconstructing the original fingerprint characteristics, and it'll be pretty much impossible to regenerate the fingerprint itself.

jpsim··on VLC for iOS Now Available (itunes link)
Source (git repo) is available here: http://git.videolan.org/?p=vlc-ports/ios.git;a=summary

It's missing external dependencies which seems to be the goal of the included buildAspenProject.sh, but I can't get it to run 100%. I'll report back here when I can successfully build it.

EDIT: The git repo is missing the necessary patches to vendored code. i.e.:

  git am ../../patches/*.patch
jpsim··on Hobbits’ Size Not Likely Linked to Growth Disorders
The image comparing both skulls is just the same image stretched. http://www.nytimes.com/imagepages/2013/07/16/science/16HOBB1...
jpsim··on The Transit App now free with vehicle locations
These guys have really nailed how to make a great app. From performance to design, without losing sight of the core value add for their target user. Great job!
jpsim··on Show HN: Spark Inspector, a run-time debugging tool for iOS apps
Nice work, but certainly no replacement for PonyDebugger[0] with SuperDB[1]. Plus, they're both FOSS.

Sure, those don't have support for NSNotifications, but I've found it's best to avoid those as much as possible anyway (essentially like a super GOTO).

[0] https://github.com/square/PonyDebugger [1] http://shopify.github.io/superdb/

jpsim··on Amazon's homepage was down
Thankfully, it looks like all of AWS is still up. http://status.aws.amazon.com/
jpsim··on Show HN: Super Debugger, a realtime messaging iOS Debugger tool
Well I'm adding this to my current PonyDebugger, Charles Proxy & OHHTTPStubs debugging stack. Great job!
← PreviousPage 2 of 2