News for hackers. Stuff that matters.

unjinxable

Re:My favorite regex of all time on Monday November 12, 2012 @06:33PM (#4775377)
I like to use a variation of this in vim to quickly see if an html doc I'm working on contains weird characters that I might want to replace with &html; entities:

  /[^ -~]
Re:"True Do" - An idea. on Sunday August 26, 2012 @12:02PM (#4435354)
The example given illustrates one of the flaws of almost all todo implementations: "Study for math exam" - you can never check this off the list because it can't be discretely finished.
Re:Chrome extension lets you read Quora without logging in on Tuesday August 07, 2012 @03:16PM (#4351751)
Let's see if HN allows this long link directly to the generated bookmarklet:

http://benalman.com/code/test/jquery-run-code-bookmarklet/?n...

Re:Chrome extension lets you read Quora without logging in on Tuesday August 07, 2012 @03:14PM (#4351740)
I found this great little jQuery bookmarklet generator from Ben Alman:

http://benalman.com/code/test/jquery-run-code-bookmarklet/

You can just paste this code in and generate yourself a bookmarklet to reveal the quora answers (should work on all browsers).

  $('.blurred_answer_wrapper').removeClass('blurred_answer_wrapper');
  $('.with_signup').removeClass('with_signup');
  $('.signup_cta_on_answer').remove();
Re:Frustro: The Impossible Typeface on Friday March 23, 2012 @01:33AM (#3743854)
Even the 'I' looks wrong. Well done.
Re:Codename: Svbtle by Dustin Curtis on Thursday March 22, 2012 @10:57PM (#3743412)
It's easy to call it a meaningless interaction, but it's far from meaningless. He's explicitly breaking an implicit trust between himself and the reader. He's saying "Hey reader, I'm watching you."

If you don't think this is a big deal, I invite you to think about a natural extension of this concept: A comment form that sends its entire contents to the server on every keypress.

Re:Vector based UI design tool that generates ObjC on Thursday March 15, 2012 @04:36PM (#3710472)
This, while cool, just seems like the wrong way to go about things. I like this solution or something like it: https://github.com/mindbrix/UIImage-PDF