Interesting, because http://news.ycombinator.com/item?id=60848 shows the subdomain. Perhaps PG has flagged some domains to only show the host? In the link above, that would make since. Doing that with Flickr doesn't, at least not to me. So I'm not sure. :)
Here's the PHP I use to derive domain + subdomain: function getDomain($URL) { $Parsed = parse_url($URL); $Parsed = str_replace('www.','', strtolower($Parsed['host'])); return $Parsed; }
Not likely to be very helpful to PG, since HN is Lisp. Nonetheless, maybe someone else could use it.