News for hackers. Stuff that matters.
Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by chetan51 on Tuesday August 23, 2011 @12:50AM (#2915384)
Be sure to check out the Reddit Panel too!

http://chetan51.github.com/panels/reddit/

Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by josscrowcroft on Tuesday August 23, 2011 @05:23AM (#2915950)
This is totally rad. I'm commenting from the page via the box, and I feel awesome for it.

I've always had the issue of "Hmm, I bet there's a good discussion on this post somewhere on HN" and then forgetting to go search for it...

saved!

Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by iambot on Tuesday August 23, 2011 @06:49AM (#2916089)
hey @chetan51, i was having a look at your bookmarklet code (out of interests sake), and notice this snippet:

  > panel_html...eturn panel_frame.attr("src"
what confuses the shit out of me is those 3 dots dont look like valid javascript, but firebug shows no errors in it. could you enlighten me, or am i missing something obvious.

see: https://gist.github.com/1164846

all i did was add line breaks etc, no other editing

Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by chetan51 on Tuesday August 23, 2011 @05:41PM (#2918485)
Hmm, I'm not sure. Maybe it's an issue with the tool you used to transform the code.

If you want to see the source, just check out the GitHub repository. It has the source code for the bookmarklet in CoffeeScript.

Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by dave1010uk on Tuesday August 23, 2011 @07:53AM (#2916203)
I don't see the "..." when I right click & copy the link. See: https://gist.github.com/1164926
Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by artursapek on Tuesday August 23, 2011 @01:29AM (#2915468)
This is great, it has the potential to keep worthy posts alive longer.
Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by PLejeck on Tuesday August 23, 2011 @01:44AM (#2915502)
Make it an extension for Chrome and I'll love you forever.
Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by Liu on Tuesday August 23, 2011 @06:46AM (#2916081)
What's the easiest way to take such code (one line) and format it to something readable?
Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by dave1010uk on Tuesday August 23, 2011 @07:54AM (#2916206)
I normally use http://jsbeautifier.org but it appears to be down at the moment. http://www.javascriptbeautifier.com also works.
Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by iambot on Tuesday August 23, 2011 @06:57AM (#2916101)
id did it by hand and found some weird shit, see my comment.
Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by Terry_B on Tuesday August 23, 2011 @01:12AM (#2915430)
Would love for this button to exist within the Instapaper app.
Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by simondlr on Tuesday August 23, 2011 @08:15AM (#2916242)
Is there any way to make this function like reddit's top bar?
Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by naughtysriram on Tuesday August 23, 2011 @03:53AM (#2915763)
cool...
Re:Hacker Panel: Bookmarklet to pull up or start the HN disc... by Neuromantic on Tuesday August 23, 2011 @01:06AM (#2915416)
luv