380 karma · joined July 15, 2014
> If your work isn't ready for people to try out yet, please don't put "Show HN" in the title. Once it's ready, come back and share it then.
> For example, blog posts, email signups, and fundraisers can't be tried out, so they don't count as Show HNs.
Not definitive, and only targets a small part of what smt88 said, but scroll to the bottom: http://www.bram.gg/post/analyzing-hacker-news
> Show HN is for something you've made that other people can play with. HN users can try it out, give you feedback, and ask questions in the thread.
> A Show HN needn't be complicated or look slick. HN users are comfortable with work that's at an early stage.
> If your work isn't ready for people to try out yet, please don't put "Show HN" in the title. Once it's ready, come back and share it then.
> For example, blog posts, email signups, and fundraisers can't be tried out, so they don't count as Show HNs.
var title=document.querySelector('[name="title"]'),submit=document.querySelector('[type="submit"]'),alreadyShow=!1;window.accept=function(){var e=document.querySelectorAll(".show-rule:checked").length;3!==e?(submit.disabled=!0,submit.style.opacity=.5):(submit.disabled=!1,submit.style.opacity=1)},title.addEventListener("input",function(e){if("show hn"!==e.target.value.substr(0,7).toLowerCase()){submit.disabled=!1,submit.style.opacity=1,alreadyShow=!1;var t=document.querySelector(".show-guidelines");return void(t&&t.parentNode.removeChild(t))}if(!alreadyShow){alreadyShow=!0;var o=document.createElement("div");o.className="show-guidelines",o.style.height="80px",o.innerHTML=' <div style="position: absolute; margin: 15px 28px;"> Please ensure your post follows the <a href="https://news.ycombinator.com/showhn.html">Show HN Guidelines</a>. In short:<br> <input class="show-rule" type="checkbox" onclick="window.accept()"> I made this new thing.<br> <input class="show-rule" type="checkbox" onclick="window.accept()"> People can play with it.<br> <input class="show-rule" type="checkbox" onclick="window.accept()"> I\'m happy to receive feedback. </div> ';var i=document.querySelector("form tbody tr:nth-of-type(7)");i.parentNode.insertBefore(o,i),accept()}},!1);Paste this into the console on https://news.ycombinator.com/submit and try submitting a Show HN. Some code is odd in order to make it browser-pasteable. Obviously rules can be changed to what you think are most important.
var title=document.querySelector('[name="title"]'),submit=document.querySelector('[type="submit"]'),alreadyShow=!1;window.accept=function(){var e=document.querySelectorAll(".show-rule:checked").length;3!==e?(submit.disabled=!0,submit.style.opacity=.5):(submit.disabled=!1,submit.style.opacity=1)},title.addEventListener("input",function(e){if("show hn"!==e.target.value.substr(0,7).toLowerCase()){submit.disabled=!1,alreadyShow=!1;var t=document.querySelector(".show-guidelines");return void(t&&t.parentNode.removeChild(t))}if(!alreadyShow){alreadyShow=!0;var o=document.createElement("div");o.className="show-guidelines",o.style.height="80px",o.innerHTML=' <div style="position: absolute; margin: 15px 28px;"> Please ensure your post follows the <a href="https://news.ycombinator.com/showhn.html">Show HN Guidelines</a>. In short:<br> <input class="show-rule" type="checkbox" onclick="window.accept()"> I made this new thing.<br> <input class="show-rule" type="checkbox" onclick="window.accept()"> People can play with it.<br> <input class="show-rule" type="checkbox" onclick="window.accept()"> I\'m happy to receive feedback. </div> ';var i=document.querySelector("form tbody tr:nth-of-type(7)");i.parentNode.insertBefore(o,i),accept()}},!1);No problem, it's wrong that your comment was downvoted. Even with my upvote it's still grey.
var output = "";
$('h2 a').each(function(i) {
output += "TITLE: " + $.trim(this.innerHTML) + "\n";
var email = decodeURIComponent(this.href).slice(13).split("&subject=");
output += "SUBJECT: " + email[1] + "\n";
output += "BODY:\n" + email[0].replace(/\n( )+/g, "\n") + "\n\n\n\n";
console.log(output);
});
That being said I love the site :)I have no affiliation with Termbin/Fiche, but yes I believe it's the same person.
> Is there a size limit of pastes?
I don't know, but it says that pastes are deleted after a month.