<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Novocained &#187; Uncategorized</title>
	<atom:link href="http://novocained.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://novocained.com</link>
	<description>Another dose of Technology!!</description>
	<lastBuildDate>Tue, 01 Dec 2009 11:26:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simulation of a real brain?</title>
		<link>http://novocained.com/uncategorized/simulation-of-a-real-brain/</link>
		<comments>http://novocained.com/uncategorized/simulation-of-a-real-brain/#comments</comments>
		<pubDate>Fri, 01 May 2009 20:56:25 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://novocained.com/?p=135</guid>
		<description><![CDATA[How far can technology go to recreate a mammalian brain? Well if its AI you are talking about, its not even .0001% of what the real brain is capable of achieving.

 I had a look at an interesting project, the Blue Brain Project, whose aim is to reverse engineer the mamallian brain to obtain the [...]]]></description>
			<content:encoded><![CDATA[<p>How far can technology go to recreate a mammalian brain? Well if its AI you are talking about, its not even .0001% of what the real brain is capable of achieving.<br />
<span id="more-135"></span><br />
<div id="attachment_137" class="wp-caption alignleft" style="width: 247px"><img class="size-full wp-image-137" title="Neurons in a mammalian brain" src="http://novocained.com/blog/wp-content/uploads/2009/05/maya_neuron4_simu_1_wm-237x158-custom.jpg" alt="Neurons in a mammalian brain (Image courtesy, The Blue Brain Project)" width="237" height="158" /><p class="wp-caption-text">Neurons in a mammalian brain (Image courtesy, The Blue Brain Project)</p></div> I had a look at an interesting project, the Blue Brain Project, whose aim is to reverse engineer the mamallian brain to obtain the mechanism of its working through detailed simulations. To simulate these the project uses IBM Blue gene supercomputer! Biologically speaking our brain is made of many neurons that transmit the information in electronical pulses.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7407299974286693";
/* 728x15, created 4/25/09 */
google_ad_slot = "8191541575";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
The interesting thing here is that they have been able to recreate a virtual pack of neurons that respond simliar to our brain! Rather than trying to create a model of the whole brain at once, the Blue Brain Project is attempting to accurately model a single NCC in a rat’s brain. If they can create an artificial column that responds the same way that biological ones do to electrical impulses, they’ll be on the right track to building a good model.<br />
I am sure that much more will be achieved in future where we will actually see AI androids that we saw in iRobot <img src='http://novocained.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><div class="note"><div class="noteimportant"><a href="http://bluebrain.epfl.ch/">Check out the Blue Brain Project </a></div></div></p>
]]></content:encoded>
			<wfw:commentRss>http://novocained.com/uncategorized/simulation-of-a-real-brain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zoom images in Wordpress using Magic Thumb</title>
		<link>http://novocained.com/uncategorized/zoom-images-in-wordpress-using-magic-thumb/</link>
		<comments>http://novocained.com/uncategorized/zoom-images-in-wordpress-using-magic-thumb/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 12:12:53 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://novocained.com/uncategorized/zoom-images-in-wordpress-using-magic-thumb/</guid>
		<description><![CDATA[I came across a great tool called Magic Thumb. It is a neat way of enlarging thumbail images using a JavaScript effect similar to a lightbox.

Features






Enjoyable &#8211; clever effect that people enjoy using.


Fast &#8211; the large images download after the page has fully loaded.


Easy &#8211; integrate it into your website in minutes.


Customisable &#8211; change the [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">I came across a great tool called Magic Thumb. It is a neat way of enlarging thumbail images using a JavaScript effect similar to a lightbox.</p>
<p><span id="more-120"></span></p>
<p align="justify"><strong>Features</strong></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7407299974286693";
/* 728x15, created 4/25/09 */
google_ad_slot = "8191541575";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<ul>
<li>
<div><strong>Enjoyable</strong> &#8211; clever effect that people enjoy using.</div>
</li>
<li>
<div><strong>Fast</strong> &#8211; the large images download after the page has fully loaded.</div>
</li>
<li>
<div><strong>Easy</strong> &#8211; integrate it into your website in minutes.</div>
</li>
<li>
<div><strong>Customisable</strong> &#8211; change the speed, keyboard behaviour, colors.</div>
</li>
<li>
<div><strong>Accessible</strong> &#8211; if JavaScript is disabled, the large image opens as link.</div>
</li>
</ul>
<p align="justify">One good thing about it is you don&#8217;t need to load a new page or use popup windows. It just loads the images immediately on click.</p>
<p align="justify">The user experience is rich &#8211; people like the web 2.0 lightbox enlarge effect. Users appreciate that it is immediate &#8211; the large image enlarges on click without waiting for it to download. This gives a better experience than waiting (as with an AJAX lightbox that requests images on demand).</p>
<p align="justify">You can display an unlimited number of images on a page. Large images have large file sizes, so be sure to compress your images with a good ratio of size to quality (aim for a JPEG filesize of 30-70kb). You can use JPEG, PNG or GIF.</p>
<p>You can <a href="http://www.magictoolbox.com/license/#free">request</a> a free license if you use it for non-commercial purpose like me.</p>
<p>Check out more <a href="http://www.magictoolbox.com">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://novocained.com/uncategorized/zoom-images-in-wordpress-using-magic-thumb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to unpack a packed javascript!</title>
		<link>http://novocained.com/uncategorized/how-to-unpack-a-packed-javascript/</link>
		<comments>http://novocained.com/uncategorized/how-to-unpack-a-packed-javascript/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 11:55:47 +0000</pubDate>
		<dc:creator>Aditya</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://novocained.com/uncategorized/how-to-unpack-a-packed-javascript/</guid>
		<description><![CDATA[Sometimes malicious scripts float around and you are asked to run them in your browser by script kiddies. You try and have a look at the code, and find it all to be obfuscated something like function(p,a,c,k,e,d){…}. It is actually a packed version so that ‘normal’ users cannot modify it for their own purpose. But [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes malicious scripts float around and you are asked to run them in your browser by script kiddies. You try and have a look at the code, and find it all to be obfuscated something like function(p,a,c,k,e,d){…}. It is actually a packed version so that ‘normal’ users cannot modify it for their own purpose. But this script can be easily unpacked without using any third party tool. I will explain how can it be done in Firefox.</p>
<p><span id="more-114"></span></p>
<p><div class="note"><div class="notewarning"> This is an informational post only, and has no intent of encouraging malicious attacks via javascript. </div></div></p>
<p>For this example I will use this javascipt :</p>
<pre class="javascript">function demoMatchClick() {
  var re = new RegExp(document.demoMatch.regex.value);
  if (document.demoMatch.subject.value.match(re)) {
    alert("Successful match");
  } else {
    alert("No match");
  }
}

function demoShowMatchClick() {
  var re = new RegExp(document.demoMatch.regex.value);
  var m = re.exec(document.demoMatch.subject.value);
  if (m == null) {
    alert("No match");
  } else {
    var s = "Match at position " + m.index + ":n";
    for (i = 0; i &lt; m.length; i++) {
      s = s + m[i] + "n";
    }
    alert(s);
  }
}

function demoReplaceClick() {
  var re = new RegExp(document.demoMatch.regex.value, "g");
  document.demoMatch.result.value =
    document.demoMatch.subject.value.replace(re,
      document.demoMatch.replacement.value);
}</pre>
<p>After packing it from <a href="http://dean.edwards.name/packer/">here</a>, I get this</p>
<pre>eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\b'+e(c)+'\b','g'),k[c]);return p}('7 h(){4 a=8 9(1.2.b.3);d(1.2.c.3.5(a)){6("j 5")}e{6("f 5")}}7 k(){4 a=8 9(1.2.b.3);4 m=a.l(1.2.c.3);d(m==o){6("f 5")}e{4 s="p q r "+m.t+":\n";u(i=0;i&lt;m.v;i++){s=s+m[i]+"\n"}6(s)}}7 w(){4 a=8 9(1.2.b.3,"g");1.2.x.3=1.2.c.3.ya,1.2.z.3)}',36,36,'|document|demoMatch|value|var|match|alert|function|new|RegExp||regex|subject|if|else|No||demoMatchClick||Successful|demoShowMatchClick|exec|||null|Match|at|position||index|for|length|demoReplaceClick|result|replace|replacement'.split('|'),0,{}))</pre>
<p>To unpack it in Firefox,</p>
<ul>
<li>Goto Tools-&gt;Error Console (or Ctrl+Shift+J).</li>
<li>Paste the packed script in input box</li>
<li>Add “eval = alert;” (without quotes) before the packed script.</li>
<li>Hit Evaluate, a pop up shows the unpacked script as</li>
</ul>
<ul><a href="http://novocained.com/blog/wp-content/uploads/2009/04/image.png"><img style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" title="image" src="http://novocained.com/blog/wp-content/uploads/2009/04/image-thumb.png" border="0" alt="image" width="574" height="108" /></a></p>
<li><span style="color: #555555;">Press Ctrl + A to select all the text. Paste it to notepad.</span></li>
</ul>
<p>You got the original javascript back! This is pretty useful while analyzing malicious code to find a solution to counter-attack(or stop) that code.</p>
]]></content:encoded>
			<wfw:commentRss>http://novocained.com/uncategorized/how-to-unpack-a-packed-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

