News for hackers. Stuff that matters.
Re:Self-referential URL by simonsarris on Sunday September 16, 2012 @07:41PM (#4530775)
And here I was expecting tomfoolery!

I used to do something similar with this early into the beta of my product by using LocalStorage. If someone went to the URL without first seeing the license, the page would be redirected back at the license. I see no reason why they can't just do that here.

~~~

...If you do want some self-referential URL tomfoolery: https://twitter.com/simonsarris/status/223794554040623104

Re:Self-referential URL by mreid on Sunday September 16, 2012 @07:46PM (#4530794)
Here's a self-referential URL that doesn't use any URL forwarding/shortening service:

https://twitter.com/#!/selfrefer/status/3128391843

Re:Self-referential URL by damncabbage on Sunday September 16, 2012 @10:12PM (#4531075)
I would love to know how this was done. Given you can't edit tweets, and the ID of said new Tweet is going to change rapidly (given the number of new Tweets per second).

Did it involve basically predicting what the number was likely to be by observing the current posting rate, tweeting a bunch of times, and then stopping when one of the tweets matched? Or am I missing something?

Re:Self-referential URL by mreid on Monday September 17, 2012 @04:31AM (#4531699)
Yes, that's more or less how it was done. The explanation is here: http://www.spinellis.gr/blog/20090805/index.html
Re:Self-referential URL by user-id on Sunday September 16, 2012 @10:52PM (#4531160)
I'd say that's all it took, a lot of automated tweeting with better guesses.
Re:Self-referential URL by anthonyb on Monday September 17, 2012 @03:07AM (#4531546)
I would imagine posting a bunch of tweets at once with the same number, and deleting the ones which didn't match. That's assuming that deleted tweets completely disappear though.
Re:Self-referential URL by mhielscher on Monday September 17, 2012 @12:00AM (#4531284)
It involves multiple redirects. One goes to http://simonsarris.com/recurse, which surely can be modified at any time. So, goo.gl short link to a controlled resource that shortly afterward is made to point back to the tweet.
Re:Self-referential URL by damncabbage on Monday September 17, 2012 @12:29AM (#4531332)
The post I was replying to wasn't the goo.gl one; it was the @selfrefer tweet link, which has a link to the tweet at twitter.com in a tweet: http://twitter.com/SelfRefer/status/3128391843
Re:Self-referential URL by smsm42 on Sunday September 16, 2012 @11:41PM (#4531242)
Can you edit goo.gl URLs?
Re:Self-referential URL by rpearl on Sunday September 16, 2012 @08:40PM (#4530900)
Reminds me of http://bit.ly/6EzdE
Re:Self-referential URL by shrikant on Sunday September 16, 2012 @09:01PM (#4530929)
This is your basic such tomfoolery right here. [1]

[1] https://news.ycombinator.com/item?id=4530929

Re:Self-referential URL by jorgem on Sunday September 16, 2012 @09:25PM (#4530970)
You can find the same content here: https://news.ycombinator.com/item?id=4530929
Re:Self-referential URL by lmm on Monday September 17, 2012 @06:06AM (#4531870)
At my last^2 job we had an IRC bot with an HTTP interface. Someone made a url-forwarding-service link that would, when clicked, post itself to the channel. Hours of fun with that one.