News for hackers. Stuff that matters.
Re:Show HN: elegant open-source pastebin server (node.js & r... by cabacon on Tuesday November 29, 2011 @01:38PM (#3291542)
For what it's worth, changing the extension doesn't seem to work for me. A simple C program (http://hastebin.com/36QWBlYlML) gets detected as TeX. Trying to change the http://hastebin.com/36QWBlYlML.tex to http://hastebin.com/36QWBlYlML.c just redirects me back to the .tex URL.

Also, while I am entering a file, the edit box is only two lines long, and I can't see the handle to resize it. This is Safari 5.1.1 on Snow Leopard.

Looks nice!

Re:Show HN: elegant open-source pastebin server (node.js & r... by mcpherrinm on Tuesday November 29, 2011 @03:22PM (#3291985)
Also, clicking on the .c link breaks the back button, because it redirects to the .tex link before I can click back again.
Re:Show HN: elegant open-source pastebin server (node.js & r... by seejohnrun on Tuesday November 29, 2011 @02:35PM (#3291801)
Heya - just didn't have the .c extension in the mapping. Will add it in tonight and get it out. Thanks!
Re:Show HN: elegant open-source pastebin server (node.js & r... by jurre on Tuesday November 29, 2011 @02:48PM (#3291858)
While you're at it, changing the extension seems to break the back button in Chrome and Safari on OSX.
Re:Show HN: elegant open-source pastebin server (node.js & r... by wahnfrieden on Tuesday November 29, 2011 @06:11PM (#3292762)
I haven't tried reproducing this, but it sounds like he's setting redirects based on GETs. A bad idea all-around, and not only for breaking the back button in this case.
Re:Show HN: elegant open-source pastebin server (node.js & r... by seejohnrun on Tuesday November 29, 2011 @06:21PM (#3292797)
vvv wahnfrieden

will be fixed tonight