News for hackers. Stuff that matters.
Re:Production is Red, Development is Blue by there on Monday January 10, 2011 @02:09PM (#2089376)
it should probably just try to strip ^www\d*?\. from the domain and leave everything else, rather than strip off the first component of the hostname regardless of what it is.

better to print too long a url for some than too short for things like example.github.com, code.google.com, etc.

Re:Production is Red, Development is Blue by igravious on Monday January 10, 2011 @02:48PM (#2089493)
Oh please yes. + a bucket load for code.google.com which comes up a lot and would provide nice glanceable info.