HNHacker News
TopNewBestAskShowJobs

WithTeeth

12 karma · joined March 22, 2013

submissionscomments
WithTeeth··on Autocomplete from Stack Overflow
Cool idea, but kind of ironic that the example you used produces unnecessarily complicated stack overflow solutions. A JavaScript "contains" function is as simple as:

var contains = function (needle, haystack) { return haystack.indexOf(needle) !== -1 }

WithTeeth··on jQuery.sheet – Easy and fast spreadsheets for the web
May not need to: http://editor.datatables.net/
WithTeeth··on How does Facebook disable Developer Tools?
I think the burden lies on the browsers to warn average users of the danger of pasting javascript code. Perhaps a popup confirmation the first time you paste `javascript:...` in the address bar with a "Never ask again," and a warning that "Here be danger" when you open the dev console that you can dismiss.
WithTeeth··on Programming and Depression (2012)
Reminds me of an old PhD comic, http://i.imgur.com/uLYImfg.jpg
WithTeeth··on Show HN: FriendCode – Reinventing coding with the cloud
This is not the place for debating the value of cloud IDEs - they're out there, whether this one, cloud9, koding, or codeanywhere. This is the place to provide feedback on this particular product within that category. Let's not reinforce the stereotype of HN commenters if possible.
WithTeeth··on Show HN: FriendCode – Reinventing coding with the cloud
This looks great! I use Cloud9 right now for all my development; can you tell me if this is different or just an alternative? The collaboration looks more advanced than Cloud9's for one
WithTeeth··on Cloudflare’s CDNJS vs. Google Hosted Libraries
Don’t forget that one of the advantages of CDNs is that the user may already have the file cached in their browser. This is why I use Google’s CDN for jQuery and CDNJS for everything else – more web sites use Google’s CDN for jQuery, so the user is more likely to have that cached. Not to mention the HTTP limitation of 3 simultaneous requests from one domain…