HNHacker News
TopNewBestAskShowJobs

harto

129 karma · joined October 1, 2009

my public key: https://keybase.io/harto; my proof: https://keybase.io/harto/sigs/-Mtd3DSiimSR5wc2xiRBk0AFE5wzr_qEcTXYN-Mdp_c
submissionscomments
harto··on Naughty Strings: A list of strings likely to cause issues as user-input data
Did you mean native Americans? I've never heard "Creepingbear" as an Australian name.
harto··on “How do I choose not to share my account information with Facebook?”
It seems that would be confusing (at best) for your contacts that remain on Facebook.
harto··on GitHub Survivor: a bug leaderboard for GitHub issues
Interesting. Assigning a bounty to difficult bugs might mitigate that effect (as mentioned elsewhere).
harto··on GitHub Survivor: a bug leaderboard for GitHub issues
Wow, very similar style. I don't think we were aware of those!
harto··on GitHub Survivor: a bug leaderboard for GitHub issues
On the other hand, it's an incentive for devs to log and fix minor issues they might've otherwise ignored.
harto··on GitHub Survivor: a bug leaderboard for GitHub issues
Good question! We currently track that externally. E.g. in the issue description we might say "This is worth 100 whisky-points". It would be cool to build in a notion of value.
harto··on Physical assault by McDonald's for wearing Digital Eye Glass
Lots of people would be upset if you took their photograph without asking. It's a bit discourteous.
harto··on How Target Figured Out A Teen Girl Was Pregnant Before Her Father Did
Welcome to The Internet.
harto··on I hate cut-and-paste
Agreed. I recall a useful rule-of-thumb that states you should wait until the third time you need a bit of code before packaging it into something reusable. Otherwise, you might be wasting your time.
harto··on OS X Lion Now Available in the US Mac App Store
I never got around to upgrading from 10.5 - does anyone know if there's a way to upgrade straight to this new release? (Guessing probably not.)
harto··on John Carmack Interview
Out of interest, why 48 specifically?
harto··on Brisbane floods: before and after
Revealing the flood image from left to right probably would've worked better, too.
harto··on Install PAC-MAN on Sequoia voting machine w/o breaking tamper-evident seals
> have a similar name to someone who's committed a felony

Really? How is that justified?

harto··on Wakemate Timing Update
Oh, I didn't realise this blog existed. I've been waiting for an email update since their last one on April 1st.
harto··on "Uh-oh. I didn't know conversation had rules."
I think he meant 3/4 of the people reading the post, which is probably not representative of the entire population.
harto··on New iPhone Agreement Bans Flash-to-iPhone Compiler & Others
You could write your Android app in Objective-C and then run a program that translates it to Java. Google doesn't prohibit you from doing that.
harto··on Melbourne Australia Hacker News/YC Meetup, Sunday 21st February
That link doesn't appear to work for me... it just redirects to my FB homepage.
harto··on Pythonic syntax to declutter Javascript
Actually, it looks like a separate script translates all script blocks with type="text/pyscript"
harto··on Pythonic syntax to declutter Javascript
This is reminiscent of those occasional attempts to "fix" Lisp's parentheses. In practise, I've never found JavaScript's braces and semicolons distracting. I just don't notice them that much.
harto··on Evaluate Clojure in Google Wave
Pretty cool! However, I wonder: are there privacy implications here? If I bring a clojure-bot into a wave with a human, will it be able to 'see' the rest of the conversation?
harto··on Top 20 Programming Lessons I've Learned in 20 Years
If you use a text editor that supports regular expressions in a find/replace, you could match on word boundaries (e.g. \bToday\b). That would avoid the first part of the problem that #12 solves.
harto··on Aaron Swartz: How I Hire Programmers
Google seems to be the obvious example - anecdotally, anyway.
harto··on Google Closure: How not to write Javascript
The section "The Slow Loop" posits that many for-loops in the library are much slower than they could be because they "[look] up the .length property of the array ... each time through the loop".

I wonder what the performance difference is in terms of referencing a local var vs. referencing an object property? Surely it's negligible?

harto··on Introducing Closure Tools
I already find that hard enough - I've found that people tend to conflate first-class functions with closures.
harto··on Ask HN: Whom do you admire most?
In what way does he inspire you, though?