News for hackers. Stuff that matters.
Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by oinopion on Sunday February 07, 2010 @03:18PM (#1108175)
Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by antileet on Sunday February 07, 2010 @03:27PM (#1108195)
I disabled escaping because it had trouble rendering XML code. I thought it was safe but I was wrong.

Fixing now. Thanks! [edit] fixed

Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by oinopion on Sunday February 07, 2010 @04:43PM (#1108327)
Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by mcav on Sunday February 07, 2010 @02:25PM (#1108096)
I know horizontal space is tight, but it'd be nice if you could have 2 at-least-80-character-wide views (rather than hard-wrapping them at whatever they are now) when you have a wider screen. Looks good though.
Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by thwarted on Sunday February 07, 2010 @02:46PM (#1108128)
Agreed. 80 characters is the bare minimum for code viewing. The choice of 55, which this seems to be, is extremely odd considering it's designed to view diffs (which technically means 81 or 82 for the leading edit indicator chars).
Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by antileet on Sunday February 07, 2010 @02:47PM (#1108132)
Thanks!

I'm having a tough time with CSS right now. I hope to add a client-side way to detect when the screen is large enough and show 80 character wide views.

Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by dimarco on Sunday February 07, 2010 @03:12PM (#1108167)
$(window).width() will display the viewable width of the client in jQuery. and onResize will fire on <body> when the window is resized. (food for thought)

I think this is a pretty neat idea. Often a coworker is working remotely and our boss has been begging for some code review. This could have some use.

Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by thegoleffect on Sunday February 07, 2010 @08:22PM (#1108642)
I really like this implementation. Very clean, effective, and simple. I hope you continue to make progress on it ^_^.
Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by antileet on Sunday February 07, 2010 @02:50PM (#1108137)
To the folks who tried out the commenting:

A lot of comments are blank. If you entered valid text and that didn't get written to the database, and is a bug. Can you please describe any bad experience you had with the commenting system.

Thanks!

Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by bloonlabs on Sunday February 07, 2010 @03:42PM (#1108213)
You might want to put a "cancel" button on the comment form. The blank comments might be people who are trying to get rid of the comment form after accidentally double-clicking.
Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by antileet on Sunday February 07, 2010 @04:11PM (#1108269)
Done! Thanks!
Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by jestar_jokin on Monday February 08, 2010 @12:32AM (#1109090)
When creating a comment, don't pop up multiple comment entry boxes.

Will you have logins and moderation etc to avoid spam?

Re:Show HN: PatchBin.com - Pastebin for patches + comments +... by woadwarrior01 on Sunday February 07, 2010 @11:13PM (#1108916)
Nice. One minor nitpick, your django instance is running in DEBUG mode.