tag:blogger.com,1999:blog-91297005770260630752007-02-05T19:14:55.051-08:00ReadIt - now whatshabdahttp://www.blogger.com/profile/07961528262493927188noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-9129700577026063075.post-24300164910774571012007-02-05T03:59:00.000-08:002007-02-05T04:52:39.179-08:00Reddit Trivia One1. <a href="http://www.downingstreetmemo.com/">http://www.downingstreetmemo.com/</a> was the first link submitted to Reddit. It got a total of <a href="http://reddit.com/info/87/comments">four comments.</a><br />2. There were <a href="http://reddit.com/info/87/comments/c9h18">no comments</a> on reddit for the first few months.<br />3. <a href="http://reddit.com/info/p5lb/comments">A poll against Bush</a> got the maximum votes on reddit. Ever. (<a href="http://reddit.com/browse?s=highscore&t=all&offset=0">1720</a>). This was an obvious karma whoring.<br />4. There is a <a href="http://reddit.com/help/reddiquette">reddiquite</a> page. Have you read it yet? (<a href="http://reddit.com/help">All reddit help</a>)<br />5. <a href="http://reddit.com/store">There is a reddit store</a>. Have you bought anything yet?<br />6. <a href="http://reddit.com/user/_kam0_/">Kam0</a> is the user with <a href="http://reddit.com/stats">maximum overall karma</a><br />7. Reddit used to store passwords in cleartext, instead of hashing it. <a href="http://reddit.com/info/ut89/comments">Not now</a>. After they lost the password.<br />8. Reddit had an <a href="http://reddit.com/info/10hna/comments">overly agressive user agreements. </a>Everybody who read it got pissed. Sp<a href="http://reddit.com/info/10hna/comments/c10jr5">ez, an admin had to say that the policy was bulshit</a> before people cooled down.<br />9. Reddit's first user was <a href="http://reddit.com/user/kn0thing/?offset=700">kn0thing</a><br />10. Reddit currently has more than 1,800,000 (around two million) links in the system. How do I know this? Check the <a href="http://reddit.com/">www.reddit.com</a> page. Bring your mouse over the save/hide link and check the status bar. The id for <a href="http://programming.reddit.com/info/12ujm/comments">current highest link</a> is 1812514, and all ids in the between exist.<br />Id for the oldest link is 7. Do the maths.<br /><br />And now, a bonus for reading till the end. (From <a href="http://reddit.com/store">store</a>)<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_ka0zcs_C8q8/Rccm_X4fvnI/AAAAAAAAACg/m6524kAtkvs/s1600-h/white1.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_ka0zcs_C8q8/Rccm_X4fvnI/AAAAAAAAACg/m6524kAtkvs/s320/white1.jpg" alt="" id="BLOGGER_PHOTO_ID_5028030379167039090" border="0" /></a>shabdahttp://www.blogger.com/profile/07961528262493927188noreply@blogger.comtag:blogger.com,1999:blog-9129700577026063075.post-71824152762343833422007-02-05T03:44:00.000-08:002007-02-05T03:55:38.393-08:00Saving *EVERY* link on reddit<a href="http://reddithacks.blogspot.com/2007/02/upvoting-every-link-on-reddit.html">The previous hack</a> allowed you to upvote every link on reddit. This hack can be used to save every/ a number of links in one go.<br /><br />(Doing this hack requires you to be using <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> with <a href="https://addons.mozilla.org/firefox/1843/">Firebug</a> installed. You might line reading <a href="http://reddithacks.blogspot.com/2007/02/upvoting-every-link-on-reddit.html">the previous hack</a> to understand this better)<br /><br />1. Start the firebug console.<br />2. Paste this code in the console.<br />for(i=100; i < 200 ; i++){<br /> id = i;<br /> uh = '[your user hash]';<br /> dir = 1;<br /> new Ajax.Request('/ajax', {parameters: "action=save&id=" + id});<br />}<br />3. Click run.<br />4. Check your profile, to see that the links have got saved.<br />(Or check my profile <a href="http://reddit.com/user/shabda/saved?offset=26">saved links </a>And see that about a hundered links were saved that way.)shabdahttp://www.blogger.com/profile/07961528262493927188noreply@blogger.comtag:blogger.com,1999:blog-9129700577026063075.post-83085956741757466892007-02-05T02:34:00.000-08:002007-02-05T03:43:50.566-08:00Upvoting *EVERY* link on reddit(Doing this hack requires you to be using <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> with <a href="https://addons.mozilla.org/firefox/1843/">Firebug</a> installed. )<br /><br />Using this hack you can upvote any number of links at a time. However use this at you own risk. If you end up getting banned, sued or anything else, I probably cant help you.<br /><br />1. <span style="font-weight: bold;">Get the user hash which Reddit uses to uniquely identify you. </span><br />1.1 Right click in the page and choose "View source".<br />1.2 Search(CTRL+F) for <span style="font-style: italic;">'</span><span style="font-style: italic;" class="attribute-name">onclick</span><span style="font-style: italic;">=</span><span class="attribute-value"><span style="font-style: italic;">"javascript:mod' , </span>without the quotes.<br />1.3 This would show something like</span><span style="font-style: italic;" class="attribute-name"> onclick</span><span style="font-style: italic;">=</span><span style="font-style: italic;" class="attribute-value">"javascript:mod(1813204, 0, '479733a478a35011111b4e70000000000').<br /></span><span class="attribute-value">1.4 Note the last string, this is your user hash.<br /><br /><span style="font-weight: bold;">2 Start the firebug console.<br /></span>2.1. Once you have both firefox and firebug installed, you would see a green check box in your bottom-right corner.<br />2.2. Click it to start firebug.<br />2.3 Click on console tab and paste this code after typing your user hash<br /><br /><span style="font-style: italic;">for(i=100; i <200; i++)<br />{<br /> id = i;</span><br /><span style="font-style: italic;"> uh = '<your>'[your user hash]";</your></span><br /><span style="font-style: italic;"> dir = 1; </span><br /><span style="font-style: italic;">new Ajax.Request('/ajax', {parameters: "action=mod&id="+id+"&dir="+dir+"&uh="+uh});</span><br /><span style="font-style: italic;">}<br /></span><span style="font-weight: bold;">3. Click on run. You have just upvoted a hundred links.<br /><br />(Please do not abuse this. If you upvote thousands of link, the reddit servers would get overloaded and this hack probably banned).<br /><br /></span></span><span><span>(Explaination of the hack for the programatically inclined.)<br /></span></span><span style="font-style: italic;"><span style="font-weight: bold;"></span><span style="font-weight: bold;"><br /></span></span><span style="font-style: italic;" class="attribute-value"></span><span class="attribute-value"></span>When you upvote a link on Reddit, the function mod(id, uc, uh) from <a href="http://reddit.com/static/reddit.js?v=2">reddit.js?v=2</a> is called.<br /><form><br /></form>The arguments used are<br />1. id = id of the link. (My guess is that it is the primary key of the links table in the reddit database)<br />2. uc = Whether we want to upvote or downvote?<br />3. uh = User hash. This is used to uniquely determine which user has voted for the link. This probably is the salted hash of your username.<br /><br />It does a number of things like checking if you are logged in, and those do not interest us. The last line is the only interesting line for us.<br /><br /><span style="font-weight: bold;">new Ajax.Request('/ajax', {parameters: "action=mod&id="+id+"&dir="+dir+"&uh="+uh});</span><br />This makes a HTTP Post request to upvote the link you choose. Since we want to upvote ten requests at a time, we use a loop and make that post requests ten times, or hundered times as needed.shabdahttp://www.blogger.com/profile/07961528262493927188noreply@blogger.comtag:blogger.com,1999:blog-9129700577026063075.post-81736378063385875812007-02-05T02:07:00.000-08:002007-02-05T02:13:42.547-08:00What is reddit?<p><b>Reddit</b> is a community website where users can post links to content on the web. Other users may then vote the posted links up or down, causing them to appear more or less prominently on the reddit home page.</p> <p>The site also has discussion areas where users may discuss the posted links. Users may also vote for or against others' comments. When there are enough votes against a given comment, it will not be displayed by default, although a reader can cause it to be shown through a link or preference. Users who submit articles which are liked and subsequently voted up receive "karma", points which a user receives as a reward for submitting interesting articles.</p> <p>Reddit also includes several topical sections called <i><a href="http://sub.reddit.com/" class="external text" title="http://sub.reddit.com/" rel="nofollow">subreddits</a></i>, which focus on specific topics, including <a href="http://programming.reddit.com/" class="external text" title="http://programming.reddit.com" rel="nofollow">programming</a> and <a href="http://science.reddit.com/" class="external text" title="http://science.reddit.com" rel="nofollow">science</a>.</p>(From <a href="http://en.wikipedia.org/wiki/Reddit.com">http://en.wikipedia.org/wiki/Reddit.com</a>)shabdahttp://www.blogger.com/profile/07961528262493927188noreply@blogger.com