<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5" -->
<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/"
>

<channel>
	<title>Emad's Blag</title>
	<link>http://blag.thegrebs.com</link>
	<description>Anger for the digital age</description>
	<pubDate>Sun, 21 May 2006 17:39:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5</generator>
	<language>en</language>

		<item>
		<title>Great new comedian</title>
		<link>http://blag.thegrebs.com/2005/10/07/great-new-comedian/</link>
		<comments>http://blag.thegrebs.com/2005/10/07/great-new-comedian/#comments</comments>
		<pubDate>Fri, 07 Oct 2005 21:53:35 +0000</pubDate>
		<dc:creator>emad</dc:creator>
		
	<category>Whichever</category>
		<guid>http://blag.thegrebs.com/2005/10/07/great-new-comedian/</guid>
		<description><![CDATA[The other day I was channel flipping and I ran across a rather innovative new comedy routine. It involves this guy, dressed in drag, mimicing a shrill conservative.  He doesn't pull any punches and absolves himself of logical statements and reasoning.  And get this, he's really popular. To the extent that he even [...]]]></description>
			<content:encoded><![CDATA[	<p>The other day I was channel flipping and I ran across a rather innovative new comedy routine. It involves this guy, dressed in drag, mimicing a shrill conservative.  He doesn&#8217;t pull any punches and absolves himself of logical statements and reasoning.  And get this, he&#8217;s really popular. To the extent that he even has a book or two published.</p>
	<p>Does anyone know if any local comedy clubs will be hosting this Antoine Koltur (I&#8217;m not sure on the spelling)? I really could go for his unique brand of over the top political comedy!
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blag.thegrebs.com/2005/10/07/great-new-comedian/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>News you can use!</title>
		<link>http://blag.thegrebs.com/2005/06/16/news-you-can-use/</link>
		<comments>http://blag.thegrebs.com/2005/06/16/news-you-can-use/#comments</comments>
		<pubDate>Fri, 17 Jun 2005 00:33:27 +0000</pubDate>
		<dc:creator>emad</dc:creator>
		
	<category>Whichever</category>
		<guid>http://blag.thegrebs.com/2005/06/16/news-you-can-use/</guid>
		<description><![CDATA[A little known fact:

Sausages are the principal food of the IRC lamer. ]]></description>
			<content:encoded><![CDATA[	<p>A little known fact:</p>
	<p>Sausages are the principal food of the IRC lamer.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blag.thegrebs.com/2005/06/16/news-you-can-use/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Solving Set</title>
		<link>http://blag.thegrebs.com/2005/05/18/solving-set/</link>
		<comments>http://blag.thegrebs.com/2005/05/18/solving-set/#comments</comments>
		<pubDate>Wed, 18 May 2005 22:05:42 +0000</pubDate>
		<dc:creator>emad</dc:creator>
		
	<category>simpl emad e complex</category>
		<guid>http://blag.thegrebs.com/2005/05/18/solving-set/</guid>
		<description><![CDATA[So there's this neat game called Set.
If you've never come across the game, the basic idea is that you have 12 cards each with 4 different attributes with 3 possible values of each attribute. 
Color: Red Purple Green
Shape: Diamond, Oval, Squiggly
Number: 1 2 3
Fill-Type: Solid/Filled, Clear, Lined/Striped

Your goal is to find a set of 3 [...]]]></description>
			<content:encoded><![CDATA[	<p>So there&#8217;s this neat game called <a href="http://www.setgame.com/set/puzzle_frame.htm">Set</a>.<br />
If you&#8217;ve never come across the game, the basic idea is that you have 12 cards each with 4 different attributes with 3 possible values of each attribute.<br />
Color: Red Purple Green<br />
Shape: Diamond, Oval, Squiggly<br />
Number: 1 2 3<br />
Fill-Type: Solid/Filled, Clear, Lined/Striped</p>
	<p>Your goal is to find a set of 3 cards that agree or disagree on each of the attributes.<br />
The link provided above has visual examples.<br />
You can play a 2 player flash version at <a href=http://www.highergames.com>www.highergames.com</a></p>
	<p>Here at emad nerdotronics labs,  we went ahead and automated the process.<br />
Here is the source: <a href=http://blag.thegrebs.com/setsolve.py.html>http://blag.thegrebs.com/setsolve.py.html</a>.<br />
It is pretty straight forward and there are no suprises.<br />
 Of course there are a number of issues we can all scream about, which is great, because the world needs more screaming. </p>
	<p>from Practicality:<br />
&#8212;-This is completely useless in versions of the game where each set is removed as it is found and three new cards replace it. &#8212;-<br />
Yes. For that you would just have to change a few ways the search is made. for instance. stop at the first one found, erase the 3 found cards, append the 3 new cards, search again. As you can see, that wouldnt take much effort to do with what I already have.</p>
	<p>&#8212;-Isn&#8217;t this game a brain teaser? What&#8217;s the point of automating it? Isn&#8217;t this ju&#8211; oh ok i just read the category of this posting. &#8212;-<br />
Apology Accepted.</p>
	<p>from Coding Methodology:<br />
&#8212;-<a href=http://zork.net/~spork/you.jpg>You</a>should totally use a dictionary to print out the actual color, shape, filltype of the card found in a non mnemonic way. &#8212;-<br />
Yes, just change two things and <a href=http://zork.net/~spork/you.jpg>you</a> can do that.</p>
	<p>&#8212;-Why not just use an array of attributes and loop through those during the card comparison, it would totally be cooler! &#8212;-<br />
yeah, I thought of that, but I figured I might as well keep a little more self documenting. It is very much do-able, though</p>
]]></content:encoded>
			<wfw:commentRSS>http://blag.thegrebs.com/2005/05/18/solving-set/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Abandoned Amusment Park</title>
		<link>http://blag.thegrebs.com/2005/05/18/abandoned-amusment-park/</link>
		<comments>http://blag.thegrebs.com/2005/05/18/abandoned-amusment-park/#comments</comments>
		<pubDate>Wed, 18 May 2005 17:05:21 +0000</pubDate>
		<dc:creator>emad</dc:creator>
		
	<category>Whichever</category>
		<guid>http://blag.thegrebs.com/2005/05/18/abandoned-amusment-park/</guid>
		<description><![CDATA[So check this. Whenever I saw my favorite wacky super-villian hanging out, he's often comfortably at home in his very own abandoned amusement park. Since you people are not super-villians, here is a link depicting a real life version of such a place. One that you will never live in!
http://home.f01.itscom.net/spiral/t_rando/t_rando1.html ]]></description>
			<content:encoded><![CDATA[	<p>So check this. Whenever I saw my favorite wacky super-villian hanging out, he&#8217;s often comfortably at home in his very own abandoned amusement park. Since you people are not super-villians, here is a link depicting a real life version of such a place. One that you will never live in!<br />
<a href="http://home.f01.itscom.net/spiral/t_rando/t_rando1.html">http://home.f01.itscom.net/spiral/t_rando/t_rando1.html</a>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blag.thegrebs.com/2005/05/18/abandoned-amusment-park/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Open request: YOU</title>
		<link>http://blag.thegrebs.com/2005/05/14/open-request-you/</link>
		<comments>http://blag.thegrebs.com/2005/05/14/open-request-you/#comments</comments>
		<pubDate>Sun, 15 May 2005 01:07:46 +0000</pubDate>
		<dc:creator>emad</dc:creator>
		
	<category>Whichever</category>
		<guid>http://blag.thegrebs.com/2005/05/14/open-request-you/</guid>
		<description><![CDATA[Forget your family and forget your "uncle sam"
I need you!!

you.jpg needs you to google juice his way to the top. And he can only do it with his fans!
Kindly place a link named you to http://zork.net/~spork/you.jpg  on your website. If 
you do not have a real website, then put it in your blog, blag, [...]]]></description>
			<content:encoded><![CDATA[	<p>Forget your family and forget your &#8220;uncle sam&#8221;<br />
I need <a href=http://zork.net/~spork/you.jpg>you</a>!!</p>
	<p><a href=http://zork.net/~spork/you.jpg>you.jpg</a> needs <a href=http://zork.net/~spork/you.jpg>you</a> to google juice his way to the top. And he can only do it with his fans!<br />
Kindly place a link named <a href=http://zork.net/~spork/you.jpg>you</a> to <a href=http://zork.net/~spork/you.jpg>http://zork.net/~spork/you.jpg </a> on your website. If<br />
<a href=http://zork.net/~spork/you.jpg>you</a> do not have a real website, then put it in your blog, blag, online journal, web diary or whatever <a href=http://zork.net/~spork/you.jpg>you</a> kids are calling it these days.  </p>
	<p><img src=http://zork.net/~spork/you.jpg /></p>
	<p>&lt;a href=http://zork.net/~spork/you.jpg&gt;you&lt;/a&gt;</p>
	<p>^&#8211; use that code! <a href=http://zork.net/~spork/you.jpg>You</a> do not need to use it for every link, just put it somewhere!
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blag.thegrebs.com/2005/05/14/open-request-you/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Addition</title>
		<link>http://blag.thegrebs.com/2005/05/13/3/</link>
		<comments>http://blag.thegrebs.com/2005/05/13/3/#comments</comments>
		<pubDate>Fri, 13 May 2005 22:04:22 +0000</pubDate>
		<dc:creator>emad</dc:creator>
		
	<category>simpl emad e complex</category>
		<guid>http://blag.thegrebs.com/2005/05/13/3/</guid>
		<description><![CDATA[I need help solving: 2+2
Sure just use your calculator!
What? what's that thing?
Oh, its an electronic device that uses a small processor to perform arithmetical functions.
processor? what are you talking about?
look! you press some buttons and they produc--
start me from the beginning

Ok, first, an introduction to some simple logic gates.

The not gate is to be considered [...]]]></description>
			<content:encoded><![CDATA[	<p><em>I need help solving: 2+2</em><br />
Sure just use your calculator!<br />
<em>What? what&#8217;s that thing?</em><br />
Oh, its an electronic device that uses a small processor to perform arithmetical functions.<br />
<em>processor? what are you talking about?</em><br />
look! you press some buttons and they produc&#8211;<br />
<em>start me from the beginning</em></p>
	<p>Ok, first, an introduction to some simple logic gates.</p>
	<p>The not gate is to be considered an inverter. It accepts one input and produces<br />
one output. If it takes in a low voltage, it outputs to a high voltage. If it takes in<br />
a high voltage, it outputs a low voltage.</p>
	<table border=0>
	<tr>
<th> In </th>
	<th> Out </th>
 </tr>
	<tr>
<td> 0     </td>
	<td>      1 </td>
</tr>
	<tr>
<td> 1     </td>
	<td>      0 </td>
</tr>
	</table>
	<p>The and gate is a gate which requires two inputs and produces one output. It is<br />
used to check if both inputs are high, i.e. the first input AND the second<br />
input are high. If the first input is high and the second input is high, the<br />
output will be high. For all other cases, the output is low. Lets state these<br />
other cases just for the record. The first input is low and the second input is<br />
low, the output is low. The first input is high and the second input is low,<br />
the output is low. The first input is low and the second input is high, the<br />
output is low.</p>
	<table border=0>
	<tr>
<th> Input1 </th>
	<th> Input2 </th>
	<th> Out </th>
 </tr>
	<tr>
<td> 0     </td>
	<td>      0 </td>
	<td> 0  </td>
</tr>
	<tr>
<td> 0     </td>
	<td>      1 </td>
	<td> 0  </td>
</tr>
	<tr>
<td> 1     </td>
	<td>      0 </td>
	<td> 0  </td>
</tr>
	<tr>
<td> 1     </td>
	<td>      1 </td>
	<td> 1  </td>
</tr>
	</table>
	<p>The or gate is another gate which requires two inputs and produces one output.<br />
It is used to determine if one or both of the inputs is high, i.e. the first<br />
input OR the second input is high. If the first input is high and the second<br />
input is high, the output is high. If the first input is low and the second<br />
input is high, the output is high. If the first input is high and the second<br />
input is low, the output is high. If the first input is low and the second<br />
input is low, the output is low.  From this we can see that and OR gate will<br />
only produce a low output if both the inputs are low. For all other cases it<br />
will output a high voltage.</p>
	<table border=0>
	<tr>
<th> Input1 </th>
	<th> Input2 </th>
	<th> Out </th>
 </tr>
	<tr>
<td> 0     </td>
	<td>      0 </td>
	<td> 0  </td>
</tr>
	<tr>
<td> 0     </td>
	<td>      1 </td>
	<td> 1  </td>
</tr>
	<tr>
<td> 1     </td>
	<td>      0 </td>
	<td> 1  </td>
</tr>
	<tr>
<td> 1     </td>
	<td>      1 </td>
	<td> 1  </td>
</tr>
	</table>
	<p>This is in contrast to our next gate. The XOR gate is known as exclusive or.<br />
This gate is used to determine if one and only one of the inputs is high.<br />
Meaning, either the first input or the second input needs to be high, but not<br />
both! So, if the first input is low and the second input is low, the output is<br />
low. If the first input is high and the second input is low, the output is<br />
high. If the first input is low and the second input is high, the output is<br />
high. If the first input is high and the second input is high, the output is<br />
low.</p>
	<table border=0>
	<tr>
<th> Input1 </th>
	<th> Input2 </th>
	<th> Out </th>
 </tr>
	<tr>
<td> 0     </td>
	<td>      0 </td>
	<td> 0  </td>
</tr>
	<tr>
<td> 0     </td>
	<td>      1 </td>
	<td> 1  </td>
</tr>
	<tr>
<td> 1     </td>
	<td>      0 </td>
	<td> 1  </td>
</tr>
	<tr>
<td> 1     </td>
	<td>      1 </td>
	<td> 0  </td>
</tr>
	</table>
	<p>From these we can develop a system that will add. Initially we will start off<br />
with a half adder. By combining a XOR gate and an AND gate, we can produce a<br />
small circuit that &#8212; what? you want to know how to make these gates?</p>
	<p>sigh alright, the inverter can be made a couple ways.<br />
I&#8217;d suggest using an inverting amplifier with R<sub>f</sub> equal to<br />
R<sub>1</sub>. That way V<sub>out</sub> is equal to -V<sub>in</sub>.  Oh that<br />
is from the equation <img src='http://blag.thegrebs.com/wp-content/plugins/latexrender/pictures/61e42f7b7edb9ae15c57a8dd06c063ff.gif' title='\LARGE{ \frac{V_{out}}{V_{in}} = -\frac{R_f}{R_1} }' alt='\LARGE{ \frac{V_{out}}{V_{in}} = -\frac{R_f}{R_1} }' align=absmiddle><br />
Here take a look at this picture: <img src=/wp-images/invertingopamp.gif /></p>
	<p>Yeah that&#8217;s a feedback setup so we can control the gain, thats how the two<br />
resistors come into play.</p>
	<p>Now for the AND gate, you can use a circuit made of transistors or one made of<br />
diodes.<br />
&#8212; what? are you serious? I have to explain transistors, diodes, and op-amps to<br />
you now?!&#8211;</p>
	<p>Ok the ideal op-amp is described by a few particular characteristics. You have<br />
infinite voltage gain, infinite input impedance, zero output impedence,<br />
infinite bandwidth, and if you input zero you get zero out, they call it zero input<br />
offset voltage. &#8212; ideal vs. real? ok that&#8217;s a valid question but its not<br />
really worth asking &#8212;</p>
	<p>&#8212; what? how do you know anything about Mosfets!? are kidding me? dude, I&#8217;m not<br />
going into semiconductor level design here! seriously! back off!</p>
	<p>Thats it, no more! I&#8217;m not answering any more of your questions! At this rate<br />
I&#8217;ll need to explain any number of subjects eventually ending up at trying to<br />
explain theoretical physics! OUT! no more!<br />
You&#8217;ve got some nerve&#8230;
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blag.thegrebs.com/2005/05/13/3/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>LaTeX rendering</title>
		<link>http://blag.thegrebs.com/2005/05/02/5/</link>
		<comments>http://blag.thegrebs.com/2005/05/02/5/#comments</comments>
		<pubDate>Tue, 03 May 2005 04:23:01 +0000</pubDate>
		<dc:creator>emad</dc:creator>
		
	<category>Whichever</category>
		<guid>http://blag.thegrebs.com/2005/05/02/5/</guid>
		<description><![CDATA[Ok, I no longer need the python script I previously posted about.  MikeGarb has provided the server with LaTeX and has also pointed me to http://www.sixthform.info/steve/wordpress/ which provides a LaTeX plugin for the blag software.   In exchange for hits in generating the equation image, I can do this:

[tex]\sum_{i=k}^{l} a_{i} [/tex]
[tex]x_n^2 = n_1 [...]]]></description>
			<content:encoded><![CDATA[	<p>Ok, I no longer need the python script I previously posted about.  MikeGarb has provided the server with LaTeX and has also pointed me to <a href="http://www.sixthform.info/steve/wordpress/">http://www.sixthform.info/steve/wordpress/</a> which provides a LaTeX plugin for the blag software.   In exchange for hits in generating the equation image, I can do this:</p>
	<p><img src='http://blag.thegrebs.com/wp-content/plugins/latexrender/pictures/d416563a72347d06786067bedac4914b.gif' title='\sum_{i=k}^{l} a_{i} ' alt='\sum_{i=k}^{l} a_{i} ' align=absmiddle><br />
<img src='http://blag.thegrebs.com/wp-content/plugins/latexrender/pictures/e43be15ff1fe00c93a968f6f883b7130.gif' title='x_n^2 = n_1 + n_2' alt='x_n^2 = n_1 + n_2' align=absmiddle><br />
<img src='http://blag.thegrebs.com/wp-content/plugins/latexrender/pictures/77c048d3ba2c7cf744bedf2326b12545.gif' title='\lim_{n \rightarrow \infty} a_{n} = \ell ' alt='\lim_{n \rightarrow \infty} a_{n} = \ell ' align=absmiddle><br />
<img src='http://blag.thegrebs.com/wp-content/plugins/latexrender/pictures/fcf1bcfa3cd72bb6261beebbb5f354d1.gif' title='f(x,y) = \frac{x}{1 + y} ' alt='f(x,y) = \frac{x}{1 + y} ' align=absmiddle><br />
<img src='http://blag.thegrebs.com/wp-content/plugins/latexrender/pictures/4053fec9a994561f8cbc8b6af8e99c3a.gif' title='N_E R^D' alt='N_E R^D' align=absmiddle></p>
	<p>Stay tuned for a post about the binomial theorem with no detail!
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blag.thegrebs.com/2005/05/02/5/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Some basic rules</title>
		<link>http://blag.thegrebs.com/2005/05/01/some-basic-rules/</link>
		<comments>http://blag.thegrebs.com/2005/05/01/some-basic-rules/#comments</comments>
		<pubDate>Sun, 01 May 2005 22:22:56 +0000</pubDate>
		<dc:creator>emad</dc:creator>
		
	<category>dıscrete</category>
		<guid>http://blag.thegrebs.com/2005/05/01/some-basic-rules/</guid>
		<description><![CDATA[0-201-19912-2
Rule of Sum:  If a first task can be perfromed in m ways while a second can be performed in n ways and the two tasks cannot be performed simultaneously then: performing either task can be accomplished in any one of m + n ways.

Rule of Product:  If a procedure can be broken [...]]]></description>
			<content:encoded><![CDATA[	<p>0-201-19912-2<br />
<strong>Rule of Sum: </strong>
<p> If a first task can be perfromed in <em>m</em> ways while a second can be performed in <em>n</em> ways and the two tasks cannot be performed simultaneously then: performing either task can be accomplished in any one of <em>m + n</em> ways.</p>
	<p><strong>Rule of Product:</strong>
<p> If a procedure can be broken down into first and secon stages and if there are <em>m</em> possible outcomes for the first stage and if, for each of these outcomes, there are <em>n</em> possible outcomes for the second stage, then the total procedure can be carried out in the designated order in <em>mn</em> ways. </p>
	<p><strong>Permutations </strong></p>
	<p>If there are <em>n</em> distinct objects, denoted a<sub>1</sub>a<sub>2</sub>&#8230;a<sub>n</sub> and <em>r</em> is an integer with 1 &le; <em>r</em> &le; <em>n</em>, then by the rule of product, the number of permutations of size <em>r</em> for the <em>n</em> objects is:<br />
P(n,r) = n &sdot; (n-1) &sdot; (n-2) &sdot; &#8230; &sdot; (n-r+1) = n!/(n-r)!</p>
	<blockquote><p><strong>note:</strong> here no repetitions are allowed. If repetitions had been allowed, n<sup>r</sup> using the rule of product<br />
<strong>note:</strong> if using all then r=n and P(n,n) = n!
</p></blockquote>
	<p>If there are <em>n</em> objects with n<sub>1</sub> of a first type, n<sub>2</sub> type &#8230; and n<sub>r</sub> of an <em>r</em>th type where n<sub>1</sub>&nbsp;+&nbsp;n<sub>2</sub>&nbsp;+&nbsp;&#8230;&nbsp;+&nbsp;n<sub>r</sub>&nbsp;=&nbsp;n then there are: n!/(n<sub>1</sub>!n<sub>2</sub>!&#8230;n<sub>r</sub>!) linear arrangements of the given n objects.<br />
ex: PEPPER</p>
	<blockquote><p>
<strong>note:</strong> here objects of the same type are indistinguishable<br />
<strong>note:</strong> for a circular arrangemnt (like position around a table) fix A the top point and solve by seating the rest.
</p></blockquote>
	<p><strong>n choose r</strong><br />
If we start with n distinct objects, each selection or combination of r of these objects <strong>with no reference to order</strong> corresponds to r! premutations of size r from a collection of size denoted C(n,r) where 0 &le; r &le; n satisfies r! &sdot; C(n,r) = P(n,r) and
<p>
C(n,r) = P(n,r)/r! = n!/(r!(n-r)!          0 &le; r &le; n
</p>
	<p>C(n,0) = 1   for all n &ge; 0<br />
C(n,r) = C(n,n-r)</p>
]]></content:encoded>
			<wfw:commentRSS>http://blag.thegrebs.com/2005/05/01/some-basic-rules/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Greetings globe!</title>
		<link>http://blag.thegrebs.com/2005/05/01/hello-world/</link>
		<comments>http://blag.thegrebs.com/2005/05/01/hello-world/#comments</comments>
		<pubDate>Sun, 01 May 2005 21:32:24 +0000</pubDate>
		<dc:creator>emad</dc:creator>
		
	<category>Whichever</category>
		<guid>http://blag.thegrebs.com/2005/05/01/hello-world/</guid>
		<description><![CDATA[OK, this blag is nice and setup. Tshirts will go on sale soon. Help keep this site running by sending money via pay pal! ]]></description>
			<content:encoded><![CDATA[	<p>OK, this blag is nice and setup. Tshirts will go on sale soon. Help keep this site running by sending money via pay pal!
</p>
]]></content:encoded>
			<wfw:commentRSS>http://blag.thegrebs.com/2005/05/01/hello-world/feed/</wfw:commentRSS>
	</item>
	</channel>
</rss>
