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 Show HN: Track your Git commit statistics
This sounds interesting, but what kinds of commit statistics can I expect to see if I sign up?

Also, is there any way to get statistics on existing commits in a repo I have? It would be awesome if I could do something like:

  cd ~/code/myproject
  curl https://hulkort.herokuapp.com/load.sh | sh
and get back a URL with all my stats for that repo fully loaded.
mcobrien··on Stanford Open Classroom - Ruby on Rails Web Apps
http://guides.rubyonrails.org/security.html looks pretty good. I'm coming back to rails after a few years and I honestly can't believe how good the official guides are. Clearly written & brilliantly organized, I wish all frameworks were this well documented.
mcobrien··on What Is Wrong About 17259 Lines Of Code?
While there's a huge amount of redundancy and nested method calls, it's worth bearing in mind that:

1. This is a preview release

2. The intention is almost certainly that the output code will be compiled and optimized later.

Compilation is a huge point. When you run the HelloWorld sample through Google's Closure Compiler, it's 71 lines, not 17,259 (https://gist.github.com/1280982). That's still enormously wasteful, but the duplicate method declarations and other obvious fat disappear.

mcobrien··on Daring Fireball: The iPhone 4S
Building it into the operating system is good enough reason.
mcobrien··on Daring Fireball: The iPhone 4S
I'm wondering about that too. It seems Nuance (the platform Siri is built on) supports lots of accents, though I'm not sure how this works on the iPhone. Maybe it uses your regional settings to choose an accent profile?

http://community.nuance.com/blogs/dragon/archive/2009/03/05/...

mcobrien··on Daring Fireball: The iPhone 4S
Me: “Set an alarm for 9 AM.”

Siri: “It’s set for 9 AM.”

Me: “Change that to 10 AM.”

Siri: “I changed your alarm to 10 AM tomorrow.”

Me: “Cancel that alarm.”

Siri: “I deleted your 10 AM alarm.”

Me: “Thank you, Siri.”

Siri: “Your wish is my command.”

It seems this thing is really fun to use. I can't wait to try it out.

mcobrien··on Meta-jokes
My favourite:

A: Knock, knock! B: Who's there? A: The Interrupting Cow. B: The Interrupt-- A: MOOOOOOOO!!

mcobrien··on A New Flavor... Still Delicious
The TextMate of bookmarking apps... I've happily moved to Pinboard thanks.
mcobrien··on A better introduction to Objective-C
We have a pretty good idea. As soon as iOS 5 goes GM, we'll be able to use Xcode 4.2 (and ARC) to submit apps. With the rumoured announcement next week, iOS 5 should be GM in the next week or two.

In any case, if you're reading an introduction to Objective-C today, you're probably not going to be submitting anything to the App Store in the next fortnight.

mcobrien··on Show HN: I built a tool I wanted to have, but didn’t exist
I guess the VAT situation must be different in other parts of Europe. I'm in Ireland and prices are usually advertised as ex-VAT if customers have a VAT bill they're paying themselves (because they charge VAT). That isn't the case for Irish devs which is why it's noisy for me.

One other thing I noticed: I suddenly got lots of emails from promoter because the search terms I used were too broad. I have a google alert "switch multi user browser ipad" which works well, but promoter emails me every time any of these terms appears. I couldn't find a way to correctly match articles containing all those terms (is that possible?), so I had to disable it by entering a random string in the search field.

mcobrien··on Show HN: I built a tool I wanted to have, but didn’t exist
Great idea! I signed up and will definitely use it for my next app.

A few initial thoughts:

* You refer to "games" throughout the site, but the site is (almost) just as good for non-game apps. A simple word change might make non-game developers like me feel a little more at home.

* It's a big leap from free to €99 + VAT. Indie iOS developers don't pay VAT (it's taken by Apple on top of our 30% cut), so a VAT-inclusive price is easier. I'm more likely to pay €9/month unlimited or, even better, €5 for up to three apps.

* How are average scores calculated? This sounds interesting but there isn't much detail on it at the moment.

One last thing, is the "- username" text in the top left a Google+ joke? I like it :)

mcobrien··on Textmate 2 - Alpha this year
Happy MacVim user here, but for me replacing TextMate with MacVim led me to replace e-texteditor with gVim when I'm on Windows. I have a shared vimrc I use on ubuntu server too, so it's really all vim. Maybe that's what minikomi meant.

As an aside, I wish someone would write a Windows version of vim as good as MacVim. (Yes, I also wish I was talented enough to do it myself.)

mcobrien··on Developer open-sources 200+ hr project after client refuses to pay
I once worked in a bank doing tech support and occasionally fixed a few things in the sealed-off internal finance room. The place was littered with red final notices - including utility, phones, everything. As a bank they could easily put to use any extra cash they had, so the official policy was to pay everything late. No doubt everyone knew they would pay eventually, but when you're big you don't have to.
mcobrien··on Finding your way in vim: tags, cscope, grep and more
It might be worth running :cd in the sudo vim instance and in the regular one. Your sudo current directory could well be different to your own which would explain vim not being able to find the script.
mcobrien··on Why Google+ is a Plus for startups
Is it just me or does the chosen voice sound synthesized?

It would be interesting to hear the original as a comparison -- I'd often prefer to hear a screencast straight from the founder.

mcobrien··on Newspaper to close its doors over hacking scandal.
Tabloids traditionally make a higher percentage of income from the cover price compared to broadsheets, partly because their readers are less affluent and so less appealing to advertisers. Still, this 2002 article puts advertising at 40%, which sounds pretty important.

http://www.guardian.co.uk/media/2002/may/13/advertising.circ...

mcobrien··on Fastest Way to Lose $50 - Our Failed Admob Experiment
To help capitalize on all the HN traffic, you might want to include a more prominent link to fotobookapp.com (probably in the first sentence when you introduce the app). It took me a while to see the link at the end of the article.

Also, the "App Store" link in your posterous profile doesn't actually link anywhere.

mcobrien··on Hover.com: we store & email passwords in plaintext for usability
I'm surprised you haven't been prompted to upgrade your account. 37signals switched to a new login system 18 months ago which doesn't store passwords in the clear. With a new login you get a regular password reset email.
mcobrien··on AmazonLocal
If you can't be first, be best. If you can't be best, be first.
mcobrien··on Flying Car (and 0-60 in less than 4 seconds!)
Actually, it's a "powered parachute"[1] which relaxes the FAA rules required to fly one[2]. I'd guess maintenance rules are relaxed as well.

[1] http://mavericklsa.com/releases.html [2] http://en.wikipedia.org/wiki/Powered_parachute

mcobrien··on Fabrice Bellard [pdf]
I like the reference given in the first paragraph:

  These computer scientists have become personalities as well as authors,
  earning universal respect and sometimes a cult Following. [Munroe]
Munroe is listed in the bibliography as http://xkcd.com/163/
mcobrien··on Web scale: Facebook's architecture
From the comments at Quora, this presentation is great (and dated this month):

http://www.infoq.com/presentations/Infrastructure-at-Faceboo...

mcobrien··on Joel Spolsky on allocating ownership in your startup
I think acangiano was referring to the current Facebook claim (http://www.businessinsider.com/facebook-lawsuit-paul-ceglia-...).
mcobrien··on Introducing Pow, a zero-configuration Rack server for Mac OS X
If you want https you can install from github:

curl https://github.com/37signals/pow/raw/master/install.sh | sh

mcobrien··on +1’s: the right recommendations right when you want them—in your search results
Unfortunately, Google just doesn't know enough about my social graph to make this much more than a noisy list of strangers and site owners trying to game the system.

They say they "may" "soon" incorporate your connections on sites "like" Twitter which would be an improvement but from the language it sounds like they haven't even talked to Twitter about it yet.

Of course they don't mention Facebook, who do know my social graph and are busy collecting Likes around the web that they can use to build a robust, trustworthy recommendations product. It's going to be hard for Google to build the assets they need to avoid ceding part of the search market to Facebook.

mcobrien··on +1’s: the right recommendations right when you want them—in your search results
According to the blog post, "if you’re looking for a new pasta recipe, we’ll show you +1’s from your culinary genius college roommate."

From the example, what you see is "Laura Delaney +1'd this", so at the very least you can evaluate the "+1" based on what you know about Laura.

Better still would be if they include Laura's name because she's +1'd (what an awkward phrase) a lot of cooking results, maybe in proportion to links on other topics.

mcobrien··on +1’s: the right recommendations right when you want them—in your search results
That's how you (and I) use search, but a huge number of people search for the same things every day. We use the location bar or bookmarks, but a lot of people just google, then click the first link.

These people see the same results again and again, and they only have to click +1 once.

mcobrien··on Play Git Like A Violin
I use bash aliases for the same thing:

alias gs='git status'

alias gc='git commit -m'

alias gca='git commit -a -m'

alias gd='git diff'

I spend most of my time with gs and gd, then usually gca my changes all at once, or add those I want and use gc.

mcobrien··on The iPad 2
Encoding video is a complex process and the professionals who prepare movies for the iTunes store have better algorithms and will tweak options for better, smoother playback.

I'm not sure about the DRM, but algorithmically it's probably a lot simpler than h.264 video.

mcobrien··on Xcode now costs US$ 4.99
They're in pretty much every major supermarket in the UK and Ireland.
← PreviousPage 2 of 4Next →