HNHacker News
TopNewBestAskShowJobs

mcobrien

1,070 karma · joined May 25, 2009

iOS, web & .net developer, based in Dublin, Ireland

I made Switch: http://switchapp.net and Awesome Shopping: http://makeshoppingawesome.com

I'd love to hear from you! Email me: michael at mcobrien dot org

my public key: https://keybase.io/mcobrien; my proof: https://keybase.io/mcobrien/sigs/lF2XauMiOtR1a-FvuUvK5sz4uy9q7KQKYeRZZcdWE0M

submissionscomments
mcobrien··on Ask HN: What is your go-to example for a good REST API?
I read this after patio11 linked to it. It's an amazing resource, thank you!
mcobrien··on Show HN: Run iOS apps in the browser
@emdowling - your comments aren't showing up here - maybe because your account is new? The service looks awesome btw!
mcobrien··on Sell HN: Do you have a side project you want to sell?
http://pcod.es - share, track and promote iOS promo codes (could easily be expanded to share promo codes for anything in a controlled way). Ruby on Rails.

Domain only: pushp.in - I have an offer for this so you'd need to be quick.

mcobrien··on The market for paid iOS apps isn’t dead
I've considered that, but the last time I tried you couldn't use the words iPhone or iPad in a Google Ad. Has that restriction gone away, or how do you work around it?
mcobrien··on Show HN: Fast and efficient domain checking tool
"Last week I came back to this idea and realized that there are good alternatives available, it should not be treated a reason to stop."

- Awesome, I'm glad you decided to go ahead with this. This is a crowded space but you've been able to make a useful tool with features other sites don't have. Congrats!

mcobrien··on The hum that helps to fight crime
You're right: this is a British English construct and presumably allowed by the BBC style guide.

http://en.m.wikipedia.org/wiki/Collective_noun#section_2

mcobrien··on Jetstrap for Bootstrap
I tried this out earlier, just before you sent the beta email out. A few thoughts:

1. Keyboard shortcuts! I really wanted to deselect items by hitting escape but it didn't work. I kept trying anyway because I'm so used to Balsamiq :) I'd also love to be able to hit / to quick-search the list of elements I can add, then return to add the selected item. Again, Balsamiq really nails this.

2. I wanted to add a div with Bootstrap's pull-right class, but couldn't figure out how. Some means to add custom elements with custom css classes, even in a limited way, would really help me.

3. I typed some text (directly into a grid .row) but it didn't show up in the CSS+HTML tab. Not sure if this was a bug or not.

I really want this to work and it would save our team loads of time (meaning, we would pay for it :). Looking forward to what you do next.

mcobrien··on YouTube launches their iPhone app
Sounds good! I've filled in my details on the form.
mcobrien··on Things 2 is out (Mac/iOS app)
If you're a hacker in need of a Mac/iOS todo list, I couldn't recommend TaskPaper (http://www.hogbaysoftware.com/products/taskpaper/) enough. It's a hybrid outliner and todo list, but scales from simple lists to multi-project, tagged lists with loads of notes and documentation.

Best of all, the file format is plain text, so you can keep it in source control, edit it in Vim (there's even a vim plugin - https://github.com/davidoc/taskpaper.vim), or whatever you want.

mcobrien··on Collusion - iPad Creativity & Collaboration Tool
Watching the video, I was struck by how slowly and carefully everyone was writing. I guess I might do that if I someone was filming my handwriting, but if it's to compensate for the speed of the sensor it's a problem.

Competing with paper and a pen is hard enough, but if you can't scribble fast it might be a dealbreaker.

mcobrien··on Why I Hate Test Driven Development
You're right to want to avoid duplicating your code inside your test. In this case, I'd work out some simple permutations and test against those values, sorting the results so order doesn't matter.

    assert(sorted(permute((1, 2))) == [(1, 2), (2, 1)])
mcobrien··on Protecting a Laptop from Simple and Sophisticated Attacks
http://library.linode.com/networking/openvpn
mcobrien··on First draft of HTML img srcset for responsive images
Using CSS means you have to specify image locations in two places, with potentially different base URLs.

Using Javascript means you have to load scripts before the img tag, which can hurt performance.

Using http headers or a special URL format makes working with CDNs more difficult.

This is actually a tricky problem to solve and it looks like the authors have considered some of the above problems.

(I still hope they change it. Nested elements might be a way to go.)

mcobrien··on Build iOS Apps In Ruby - Available Summer '12
I already know and use both, but find I'm much more productive with ruby because it's so expressive.

While this project isn't going to do much to simplify my Cocoa code, the rest of my app could be much simpler as a result.

mcobrien··on Safari vulnerability in iOS 5.1 allows URL spoofing
I've written an alternative iOS browser myself, and my guess is this bug is due to the Safari UI misinterpreting the network events that get fired when pages and frames are loaded.

Wrapping UIWebView makes it really hard to distinguish between page loads and iframe loads to figure out which URL is currently displayed. While Safari uses lower-level interfaces, I'd guess this is happening at a higher-level than webkit, so cross-domain restrictions should still be in place.

mcobrien··on Pastel - amazing css3 admin interface ($20 on themeforest)
Themeforest link: http://themeforest.net/item/pastel-dashboard-admin-template-...
mcobrien··on The 9 Flavors Of Windows 8 Show The Key Difference Between Microsoft And Apple
OSX isn't released once a year. With the exception of the just-announced Mountain Lion, it has received major updates every two years since 2003. It also gets "service packs" in the form of point releases every couple of months.

$29.99 still seems like a great deal to me.

mcobrien··on Nokia launches 808 PureView with 41MP camera
There are some sample images here, though sadly not at full size:

http://europe.nokia.com/find-products/devices/nokia-808-pure...

mcobrien··on Show HN: Bootswatch, free swatches for your Bootstrap site
This is great! One minor thing I noticed is that on the homepage, the bottom three swatches don't seem to link to individual files properly -- they all download the bootstrap.min.css, regardless of what you choose in the split button.
mcobrien··on Ask HN: How do you develop on OS X
I guess it depends on what you're writing. Using rbenv and bundler keeps ruby apps in check, but if you want to install a whole load of stuff, you could take a look at Vagrant (http://www.vagrantup.com).
mcobrien··on Vim University - Screencasts and Articles for Serious Vim Students
If you're hungry for more, http://vimcasts.org/ is awesome, but sadly hasn't been updated in a while.
mcobrien··on How Hacker News hit us with 10 000 unique visitors in 10 hours
I'm surprised it wasn't higher. I got 15,000 uniques in a day and my link (http://news.ycombinator.com/item?id=1940129) only had 36 upvotes.

I guess there isn't a direct relationship between links people find voteworthy and those they just want to visit.

mcobrien··on What Scientific Concept Would Improve Everybody's Cognitive Toolkit?
Whenever I'm pretty sure of a hunch I have, I like to review this list to remember how utterly useless human cognition is:

http://en.wikipedia.org/wiki/List_of_cognitive_biases

mcobrien··on Why Don’t Smartphones Have A “Guest Mode”?
My iPad app does something like this: http://switchapp.net/

It's not full user accounts, but a multi-user web browser. You can protect your bookmarks, logins & web history and it also has a guest mode.

mcobrien··on Twitter releases new JS template engine: hogan.js
What's more is it redirects to a GitHub-hosted URL. Maybe it's just me, but it seems cheap that twitter would advocate hotlinking off a GitHub server when they have so much capacity of their own.
mcobrien··on Louis CK's self distributed special up to 1MM revenue in 12 days
A million dollars and a public paypal email address (check the screenshot). I really hope he has a secure password.
mcobrien··on Show HN: my new site helps iOS devs share, track and promote promo codes
Right now, I'm trying to strike a balance between making info available to devs and respecting user's privacy. The site gets the emails and IP addresses of people who get apps but doesn't reveal those to the dev.

The only "metric" that's available is the number of codes that have been used.

I've thought about making an opt-in so developers can contact users later. This way you could get people's permission to follow them up with questions on the app. How does that sound?

mcobrien··on Show HN: my new site helps iOS devs share, track and promote promo codes
Clickable link: http://pcod.es/

Free copies of my apps so you can see how it works:

Switch, the multi-user web browser: http://pcod.es/pi6

Awesome Shopping, a super-fast shopping list: http://pcod.es/As1

mcobrien··on The Trouble with Bright Kids
Thanks for sharing this. I have a bright five year-old and, having read articles like this one, my partner and I try praise effort as much as we can.

Here's the problem. For nearly all of the tasks she's set in school, she doesn't need to expend much effort at all. We say, "nice work, you must have tried really hard!" and she replies, a little confused at us, "no".

It sounds like you found everything too easy as well. What kind of feedback would have worked for you?

mcobrien··on Don't overload #nil? in Ruby
I'm not sure I like it, but this works

    def nil.method_missing(*args, &block); end
So now you can call nil.whatever.you.like and get nil. It's also still falsy, but now every nil value in your app silently works and doesn't throw an error.

It's both impressive and scary that Ruby lets you (or that new contractor you're not sure about) change the fundamentals of the language in one line of code.

Page 1 of 4Next →