News for hackers. Stuff that matters.
Re:_why the lucky stiff on The Setup by jdp on Saturday January 23, 2010 @03:14PM (#1072333)
It's down, does anyone have a mirror? It's been down for a couple of weeks now.
Re:_why the lucky stiff on The Setup by johkra on Saturday January 23, 2010 @04:15PM (#1072426)
A way to access the content no matter the underscore problem:

Who are you and what do you do? http://usesthis.com/images/interviews/_why.1.jpg

What hardware are you using? http://usesthis.com/images/interviews/_why.2.jpg

And what software? http://usesthis.com/images/interviews/_why.3.jpg

What would be your dream setup? http://usesthis.com/images/interviews/_why.4.jpg

Re:_why the lucky stiff on The Setup by gvb on Saturday January 23, 2010 @04:08PM (#1072418)
The underscore makes it an invalid hostname. :-(

It is accessible in google cache, except _why's answers are images, which are not cached. Aaargh! So close. http://74.125.113.132/search?q=cache:QtwetYZV3HgJ:_why.usest...

http://tools.ietf.org/html/rfc952: "A "name" (Net, Host, Gateway, or Domain name) is a text string up to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus sign (-), and period (.)."

See also: http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_...

Re:_why the lucky stiff on The Setup by Jeremysr on Saturday January 23, 2010 @05:13PM (#1072499)
I talked to the guy who did the interview a month ago and told him about the problem and advised him to change it to why.usesthis.com and his last words were "you know, i think i might do that. :)" So.
Re:_why the lucky stiff on The Setup by oneearedrabbit on Thursday January 28, 2010 @06:25PM (#1085370)
You still can use the workaround: http://usesthis.com/interviews/_why

Thanks to the code:

  get '/interviews/:slug/?' do |slug|
    @interview = Interview.first(:slug => slug)
    raise not_found unless @interview

    haml :'interviews/show'
  end
Re:_why the lucky stiff on The Setup by kleevr on Saturday January 23, 2010 @04:45PM (#1072457)
I worked around it by adding the following to my host file: "74.207.245.100 _why.usesthis.com"
Re:_why the lucky stiff on The Setup by GHFigs on Saturday January 23, 2010 @03:39PM (#1072366)
I seem to recall there being some browser/OS combination that could not handle underscores at the beginning of addresses. What are you using, and can you access it with another browser?
Re:_why the lucky stiff on The Setup by darshan on Saturday January 23, 2010 @03:50PM (#1072386)
It's definitely the underscore: http://usesthis.com/ is accessible, as are all the other interviews, but http://_why.usesthis.com/ isn't.

And it doesn't seem to be the browser's fault:

  $ ping richard.stallman.usesthis.com
  PING richard.stallman.usesthis.com (74.207.245.100) 56(84) bytes of data.
  64 bytes from waferbaby.com (74.207.245.100): icmp_seq=1 ttl=51 time=63.6 ms

  $ ping _why.usesthis.com
  ping: unknown host _why.usesthis.com
So I can't resolve the domain name for some reason. This happens on both my home Gentoo box and my Slicehost Gentoo server.
Re:_why the lucky stiff on The Setup by varjag on Saturday January 23, 2010 @04:35PM (#1072443)
It's a DNS resolution issue. Underscores in domain names are invalid, but some DNS host software still resolves them, while others stick to the spec.
Re:_why the lucky stiff on The Setup by thingie on Saturday January 23, 2010 @06:55PM (#1072653)
I'd call this a fruit of this kind of DNS abuse. Yeah, OK, it looks nice, x.usesthis.com or whatever it is, but it forces you to make a new DNS lookup for each page, instead of using cached www.usesthis.com/something. And, as we can see, you can even make the address invalid. It's quite sad. :-/
Re:_why the lucky stiff on The Setup by GHFigs on Saturday January 23, 2010 @07:16PM (#1072675)
Web content that is invalid according to one or more standards? Surely you must be joking.
Re:_why the lucky stiff on The Setup by andrewtj on Saturday January 23, 2010 @08:24PM (#1072771)
Underscores have been allowed in domain names for quite some time. DNS based Service Discovery even requires their use.

EDIT: If I'm interpreting the specs correctly, underscores are fine in a domain name but not in a hostname.

Re:_why the lucky stiff on The Setup by decklin on Saturday January 23, 2010 @03:51PM (#1072389)
On Linux, neither Chrome nor Firefox are working for me, yet:

    $ host _why.usesthis.com                                                       
    _why.usesthis.com has address 74.207.245.100
odd.

[Edit: Looking at darshan's post below, I understand why: host (part of the BIND distribution) uses its own resolver; everything else goes through the system facility (i.e. glibc). I still don't know how to fix it, though.]

Re:_why the lucky stiff on The Setup by harma on Sunday January 24, 2010 @08:54AM (#1073290)
I've got to it by visiting the main site and using Tamper Data to set the host in the HTTP headers to '_why.usesthis.com' - not idea but works!
Re:_why the lucky stiff on The Setup by jackowayed on Saturday January 23, 2010 @03:50PM (#1072385)
Not the problem:

    $ curl http://_why.usesthis.com/
    curl: (6) Couldn't resolve host '_why.usesthis.com'
Re:_why the lucky stiff on The Setup by ivan_i on Saturday January 23, 2010 @04:51PM (#1072466)
add this line to your /etc/hosts

  74.207.245.100  _why.usesthis.com
and it will work
Re:_why the lucky stiff on The Setup by colbyolson on Saturday January 23, 2010 @03:23PM (#1072345)
It's up for me.
Re:_why the lucky stiff on The Setup by jackowayed on Saturday January 23, 2010 @03:29PM (#1072354)
Yeah, down for me too, but http://downforeveryoneorjustme.com/_why.usesthis.com says it's up. Weird
Re:_why the lucky stiff on The Setup by jedbrown on Saturday January 23, 2010 @03:56PM (#1072398)
Remove the underscore:

    $ ping _why.usesthis.com
    ping: unknown host _why.usesthis.com
    $ ping why.usesthis.com
    PING why.usesthis.com (74.207.245.100) 56(84) bytes of data.
    64 bytes from waferbaby.com (74.207.245.100): icmp_seq=1 ttl=53 time=178 ms
    64 bytes from waferbaby.com (74.207.245.100): icmp_seq=2 ttl=53 time=178 ms
Re:_why the lucky stiff on The Setup by darshan on Saturday January 23, 2010 @03:58PM (#1072402)
That doesn't help much, as the web server just serves the root document in that case.
Re:_why the lucky stiff on The Setup by ComputerGuru on Sunday January 24, 2010 @09:26AM (#1073312)
You can use Google's DNS servers or OpenDNS and it'll resolve.
Re:_why the lucky stiff on The Setup by njn on Saturday January 23, 2010 @07:57PM (#1072731)
just remove the underscore: http://why.usesthis.com/