News for hackers. Stuff that matters.

twoism

Re:Big-O notation explained by a self-taught programmer on Saturday July 27, 2013 @06:41PM (#6114767)
This is the only useful comment in this entire thread.
Re:Legit. Git for humans on Sunday March 25, 2012 @09:58PM (#3754581)
nope
Re:WolframAlpha FM Synthesizer on Monday November 21, 2011 @11:50AM (#3261720)
Have you tried Supercollider? It's an awesome DSL for doing all things audio.
Re:Simplest and most concise Twitter OAuth implementation on Friday September 03, 2010 @09:17PM (#1661679)
Awesome, thanks! I'll update the gist.
Re:Posterous takes on Tumblr on Wednesday June 23, 2010 @03:26PM (#1455991)
That is actually how the Tumblr API works. You don't even need the email address.
Re:Posterous adds markdown and syntax highlighting support on Thursday May 27, 2010 @02:29AM (#1382880)
True. However, working within our architecture and finding a good fit for most use cases was what trumped all else for the feature launch. I like the library we chose and hope it gains traction as a pure ruby highlighting lib but if for some reason it doesn't fit our users needs, we can certainly find a way to accommodate them.
Re:Posterous adds markdown and syntax highlighting support on Thursday May 27, 2010 @01:23AM (#1382774)
Truth is, I picked CodeRay for two reasons. It's fast and it's pure ruby. Pygments is great and I spent some time on a version that used it but CodeRay just fits better within our app. It's pure ruby, supports most languages I thought we should start with, it's extensible and has a roadmap for things that I could see our users asking for.
Re:Posterous adds markdown and syntax highlighting support on Wednesday May 26, 2010 @09:27PM (#1382389)
Right after hosted php scripts.
I just made this same move a couple months ago. I got a job out here. So my girlfriend and I sold most everything, including my car and drove over with 2 cats. While I can't recommend driving across the country with two cats, I can say that I am glad we got rid of everything. Purging yourself of all your things and starting over is an interesting experience. I have never been one to acquire lots of stuff but I had my share. Getting rid of it all helps you realize how small you can live and still be happy.
Re:Still hatin' on git: now with added Actual Reasons on Thursday May 13, 2010 @01:12AM (#1343357)
Am I the only one who reads posts like this and wonders why people make merging/pushing/pulling with Git so complicated? It's really not that hard. Sure there are plenty of esoteric and strange things you can do with Git but I have seen devs go from zero knowledge to using the basics in no time. Some never have to go beyond the add, commit, push, pull and merge commands (with their respective switches) and work quite happily. Sure they aren't Git experts by any means but they are able to get their work done and the tool is just as transparent to their workflow as any other SCM tool.
Re:What are your Ruby Regex Idioms? on Monday November 30, 2009 @02:23PM (#968472)
this works as well...

  username,domain =  */([^@]+)@(.+$)/.match("[email protected]").captures
Re:Hulu requests removal from Boxee on Thursday February 19, 2009 @09:19AM (#487260)
AppleTV + Boxee was the reason I cut out cable all together.
Re:Top 80 Best Web Hosting Providers With Comparison Chart on Tuesday January 13, 2009 @02:02PM (#432469)
yeah, definitely flag this. Dreamhost, 1and1... Are you kidding me? Those are some of the worst I have ever dealt with.
Re:Ask HN: Where do you go for hacking help? on Thursday December 11, 2008 @08:16PM (#395167)
Depending on the language, usually... Google (of course). Then apidock.com (for ruby / rails) pretty much the best doc site for either in my opinion.

For Rails I have found that just browsing the source/comments on github is the best source for figuring out really tricky issues. I stay logged in to IRC but most of the time never feel like bothering anyone. I kind of enjoy figuring things out for myself, even if it's a trivial problem I still get satisfaction from solving things on my own.

Re:Ask HN: Shall we hasten the demise of IE6 by charging more? on Friday December 05, 2008 @08:08PM (#387717)
At my company we haven't found a way to charge more, especially with clients that have internal apps that will only work with IE6. What we have been doing is itemizing any hourly work spent on IE6 optimization (hacks). So, at least for clients with multiple projects in the works, it make them think twice about requesting IE6 support on their next project.