<?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>Misty-Stix</title>
		<atom:link href="http://www.misty-stix.com/feed/" rel="self" type="application/rss+xml" />
		<link>http://www.misty-stix.com</link>
		<description>The Clouded Vision</description>
		<lastBuildDate>Thu, 17 Jan 2013 03:16:16 +0000</lastBuildDate>
		<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
		<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
			<title>Alternative to CRON in Linux</title>
			<link>http://www.misty-stix.com/alternative-to-cron-in-linux/</link>
			<comments>http://www.misty-stix.com/alternative-to-cron-in-linux/#comments</comments>
			<pubDate>Wed, 09 Jan 2013 06:50:21 +0000</pubDate>
			<dc:creator>Christian Noel</dc:creator>
			<category><![CDATA[Techy Thoughts]]></category>
			<category><![CDATA[linux]]></category>
			<category><![CDATA[programming]]></category>
			<category><![CDATA[tweaks]]></category>
			<guid isPermaLink="false">http://www.misty-stix.com/?p=887</guid>
			<description><![CDATA[There are times when CRON doesn&#8217;t simply fill in the necessary requirements needed for a recurring task. Here&#8217;s the problem, let&#8217;s say I have a script that should run immediately after it has completed. In other words, a routine. For &#8230; <a href="http://www.misty-stix.com/alternative-to-cron-in-linux/">More of this rant <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are times when CRON doesn&#8217;t simply fill in the necessary requirements needed for a recurring task. Here&#8217;s the problem, let&#8217;s say I have a script that should run immediately after it has completed. In other words, a routine. For instance, I&#8217;d like to keep the script running without it overlapping with itself. My issue with CRON is that it runs the script again even if the previous execution is still in progress and this is not a good thing as there may be implications to the data due to integrity failure.</p><p>I decided to use a bash script to instead run the script. Here&#8217;s how I did it:<br /><script type="text/javascript" src="http://pastebin.com/embed_js.php?i=rRY1ak2B"></script></p><p>Though this approach works, I am still unaware of the implications that may occur. As of now, this solves my problem.</p><p>More info: <a title="http://linuxconfig.org/Bash_scripting_Tutorial" href="http://linuxconfig.org/Bash_scripting_Tutorial" target="_blank">http://linuxconfig.org/Bash_scripting_Tutorial</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.misty-stix.com/alternative-to-cron-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>The Meaning of a Song</title>
			<link>http://www.misty-stix.com/the-meaning-of-a-song/</link>
			<comments>http://www.misty-stix.com/the-meaning-of-a-song/#comments</comments>
			<pubDate>Sun, 21 Oct 2012 13:17:30 +0000</pubDate>
			<dc:creator>Christian Noel</dc:creator>
			<category><![CDATA[Haphazard Thoughts]]></category>
			<category><![CDATA[life]]></category>
			<category><![CDATA[melancholy]]></category>
			<category><![CDATA[personal]]></category>
			<category><![CDATA[random]]></category>
			<guid isPermaLink="false">http://www.misty-stix.com/?p=851</guid>
			<description><![CDATA[We&#8217;re all into music and there&#8217;s no denying it. Most of the time we get bored and look for ways to be entertained and eject ourselves from boredom. The closest one we could think about is Music. Music has been &#8230; <a href="http://www.misty-stix.com/the-meaning-of-a-song/">More of this rant <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re all into music and there&#8217;s no denying it. Most of the time we get bored and look for ways to be entertained and eject ourselves from boredom. The closest one we could think about is Music. Music has been there even before we were born and it still is trending up til now.</p><p>Anyways, what I want to talk about right now is the meaning of music. As far as I remember, I really enjoy music. But for the sake of recall, I could re-visit myself sitting down on a couch or the sofa listening to good music. That was way back a decade ago. I&#8217;ve been fond of music since as there have been some bands and some artists that titillate the follicles in my ear. However, the only thing I&#8217;ve been attracted to was the sound and the melody. It didn&#8217;t matter what lyrics it contained as long as it could give me a good reason to sit back and relax, feeling serene.</p><p>A few months ago, close to a year, somehow, things changed. I kinda spent more time analyzing lyrics instead of the notes used to produce the vibrant sound. Come to think of it, touche. That was the same time I began feeling melancholic. I never appreciated rap music, if it wasn&#8217;t Mike Shinoda from Linkin Park until now. I could say to myself, some rap music have really deep meaning. Take Eminem&#8217;s pieces for example, they all make sense and they all talk about life.</p><p>I could now classify myself more than an audiophile now. Its no longer the sound that counts, it needs meaning for it to reach your soul. Or, maybe perhaps, I&#8217;m just getting old. /sigh</p>]]></content:encoded>
			<wfw:commentRss>http://www.misty-stix.com/the-meaning-of-a-song/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Work or Hobby</title>
			<link>http://www.misty-stix.com/work-or-hobby/</link>
			<comments>http://www.misty-stix.com/work-or-hobby/#comments</comments>
			<pubDate>Tue, 18 Sep 2012 01:25:15 +0000</pubDate>
			<dc:creator>Christian Noel</dc:creator>
			<category><![CDATA[Enlightened Thoughts]]></category>
			<category><![CDATA[life]]></category>
			<category><![CDATA[personal]]></category>
			<category><![CDATA[programming]]></category>
			<category><![CDATA[random]]></category>
			<category><![CDATA[work]]></category>
			<guid isPermaLink="false">http://www.misty-stix.com/?p=842</guid>
			<description><![CDATA[So many times, it has occured to me that &#8220;if you love what you do, you don&#8217;t have to work a single day&#8221;. I&#8217;ve been living under that clause until I came to realize a difference between what we call &#8230; <a href="http://www.misty-stix.com/work-or-hobby/">More of this rant <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone wp-image-847" title="geekly" src="http://www.misty-stix.com/wp-content/uploads/2012/09/cover0pp.jpg" alt="" width="764" height="140" /></p><p>So many times, it has occured to me that &#8220;if you love what you do, you don&#8217;t have to work a single day&#8221;. I&#8217;ve been living under that clause until I came to realize a difference between what we call &#8220;hobby&#8221; and &#8220;work&#8221;. Of course, you should really like what you do and be happy with it so that you don&#8217;t regret it in the long term. The huge difference between regret and happiness is very evident, if not noticeable by you it would be the people around you who will point it out.</p><p>Lately, I&#8217;ve been looking into some topics at some IT communities like slashdot and gigaOM and I have bumped some insightful posts about career and work and thus arrived to a conclusion that the IT industry is almost taken for granted. To cite an example for this, some kids the age of 12 or younger are being taught by schools on the basics of computer science or what most of us know, programming. Note that the basics is a must when it comes to the field and not to mention, the fundamentals. Going back to what I have noticed, if you know a bit of coding, can you possibly call yourself a programmer? I mean, without a degree?</p><p>An article I&#8217;ve read entitled &#8220;Is an IT course worth taking at this time of age?&#8221;. The gist of this post states that there are already a lot of freelance people doing programming work for several off-shoring industries. Some of these people just code for fun or don&#8217;t even have a degree to begin with, they just find joy in coding. The intriguing part is that they&#8217;re friggin good at it! In fact, they even best some of the good people I know whom I have worked with.</p><p>I have this question upon myself; &#8220;work or hobby? which is it?&#8221;. I have to accept it, when I code, I have this feeling of satisfaction especially when I solve a very sophisticated problem. Although the problem I experience is just a revisit most of the time, it still pays that I coined the solution without any help from other sources but my own capabilities. There are times however that I don&#8217;t feel like coding. It&#8217;s like a void inside me that just begins to tick &#8211; the urge to do something else. If it was just a hobby then I could have just put it on hold and pursue that something else in mind. But, here it comes! the difference between hobby and work &#8211; as for the hobby, yes you may halt it at your own discretion, for work however, you cannot &#8211; you absolutely have to do it or somebody else will be upset say, your boss.</p><p>Career is more often than not misunderstood. Career is something you&#8217;d want to do until you&#8217;re less capable than you really are and you still have to continue working on improving regardless. My core definition of career is &#8220;you should never get bored while you&#8217;re in it&#8221;. You&#8217;ll always find ways on making it interesting if you really want to pursue it. Working daily at a factory as a rank-and-file or staff would be more interesting if you can be more innovative. Being at the top of the food chain would also be boring, if the time comes. That&#8217;s no longer a career, its already a basis for cash &#8211; the real question now is, are you still happy?</p>]]></content:encoded>
			<wfw:commentRss>http://www.misty-stix.com/work-or-hobby/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Dream Come True: Nikon D90</title>
			<link>http://www.misty-stix.com/dream-come-true-nikon-d90/</link>
			<comments>http://www.misty-stix.com/dream-come-true-nikon-d90/#comments</comments>
			<pubDate>Sat, 14 Jul 2012 13:04:10 +0000</pubDate>
			<dc:creator>Christian Noel</dc:creator>
			<category><![CDATA[Haphazard Thoughts]]></category>
			<category><![CDATA[hobby]]></category>
			<category><![CDATA[photography]]></category>
			<category><![CDATA[random]]></category>
			<guid isPermaLink="false">http://www.misty-stix.com/?p=823</guid>
			<description><![CDATA[Doesn&#8217;t it feel so good when you finally get what you&#8217;ve been waiting for years!? The Nikon D90, a dream camera of mine is finally within the reaches of my hands! Just a revisit from last year&#8217;s post: Target Camera: Nikon &#8230; <a href="http://www.misty-stix.com/dream-come-true-nikon-d90/">More of this rant <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Doesn&#8217;t it feel so good when you finally get what you&#8217;ve been waiting for years!? The Nikon D90, a dream camera of mine is finally within the reaches of my hands!</p><div id="attachment_824" class="wp-caption alignnone" style="width: 622px"><img class="size-full wp-image-824" title="My new toy, the Nikon D90" src="http://www.misty-stix.com/wp-content/uploads/2012/07/b531e088c99e11e19e4a12313813ffc0_7.jpg" alt="" width="612" height="612" /><p class="wp-caption-text">My new toy, the Nikon D90 (taken by a Samsung Galaxy S2)</p></div><p>Just a revisit from last year&#8217;s post: <a href="http://www.misty-stix.com/target-camera-nikon-d90/">Target Camera: Nikon D90 | Misty-Stix</a></p><p>The last camera I had was a Fujifulm S200EXR. It did a great job taking pictures for me but then I reached a point where I am already being limited by its capabilities. Its still a great camera, however! And now, I am able to take pictures I&#8217;ve been longing to take using the manual-focus plus the broad and plentiful customization elements of the manual option.</p><p>Here are some sample shots (click to enlarge):<br /><a href="http://www.misty-stix.com/wp-content/uploads/2012/07/DSC0379.jpg"><img class="alignnone size-medium wp-image-828" title="lil domo" src="http://www.misty-stix.com/wp-content/uploads/2012/07/DSC0379-300x199.jpg" alt="" width="300" height="199" /></a></p><p><a href="http://www.misty-stix.com/wp-content/uploads/2012/07/DSC0010-2.jpg"><img class="alignnone size-medium wp-image-827" title="samsung galaxy s2" src="http://www.misty-stix.com/wp-content/uploads/2012/07/DSC0010-2-300x199.jpg" alt="" width="300" height="199" /></a></p><p><a href="http://www.misty-stix.com/wp-content/uploads/2012/07/DSC0008.jpg"><img class="alignnone size-medium wp-image-826" title="nature" src="http://www.misty-stix.com/wp-content/uploads/2012/07/DSC0008-300x199.jpg" alt="" width="300" height="199" /></a></p><p><a href="http://www.misty-stix.com/wp-content/uploads/2012/07/DSC0008-2.jpg"><img class="alignnone size-medium wp-image-825" title="droplets" src="http://www.misty-stix.com/wp-content/uploads/2012/07/DSC0008-2-300x199.jpg" alt="" width="300" height="199" /></a></p><p>.. and finally, that sweet smile from Jen!<br /><a href="http://www.misty-stix.com/wp-content/uploads/2012/07/DSC0203.jpg"><img class="alignnone size-medium wp-image-831" title="Jenny Lou" src="http://www.misty-stix.com/wp-content/uploads/2012/07/DSC0203-300x199.jpg" alt="" width="300" height="199" /></a></p><p>I am so loving the D90 so far. Never did I feel regret for the cost of buying this camera.</p>]]></content:encoded>
			<wfw:commentRss>http://www.misty-stix.com/dream-come-true-nikon-d90/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Dynamic Forms Revisited</title>
			<link>http://www.misty-stix.com/dynamic-forms-revisited/</link>
			<comments>http://www.misty-stix.com/dynamic-forms-revisited/#comments</comments>
			<pubDate>Thu, 21 Jun 2012 08:22:31 +0000</pubDate>
			<dc:creator>Christian Noel</dc:creator>
			<category><![CDATA[Enlightened Thoughts]]></category>
			<category><![CDATA[Techy Thoughts]]></category>
			<category><![CDATA[jquery]]></category>
			<category><![CDATA[plugin]]></category>
			<category><![CDATA[programming]]></category>
			<category><![CDATA[work]]></category>
			<guid isPermaLink="false">http://www.misty-stix.com/?p=805</guid>
			<description><![CDATA[Why I called this a revisited issue is because I&#8217;ve asked this before in the stackoverflow community. Check this link: http://stackoverflow.com/questions/2293512/web-ui-dynamic-web-forms. The problem lies in the dynamic generation of components from within a form, for instance, your data-structure follows the one-has-many &#8230; <a href="http://www.misty-stix.com/dynamic-forms-revisited/">More of this rant <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_806" class="wp-caption alignnone" style="width: 453px"><img class="size-full wp-image-806" title="dynamic forms" src="http://www.misty-stix.com/wp-content/uploads/2012/06/SCR20120621155724.png" alt="" width="443" height="436" /><p class="wp-caption-text">dynamic forms</p></div><p>Why I called this a revisited issue is because I&#8217;ve asked this before in the stackoverflow community. Check this link: <a href="http://stackoverflow.com/questions/2293512/web-ui-dynamic-web-forms">http://stackoverflow.com/questions/2293512/web-ui-dynamic-web-forms</a>. </p><p>The problem lies in the dynamic generation of components from within a form, for instance, your data-structure follows the one-has-many setup. Take for example a person who has one or more cars, then we would like to have multiple cars to add or to remove from the form. </p><p>Lately, a similar project reached my desk and I am faced with a very similar issue. Before, I&#8217;d just rewrite the code I wrote as a patch-up to what I did years ago using duplicate javascript code with the help of jquery and json. But alas, I&#8217;d want a plugin to do the work for me, well, extjs, a product of sencha is for-sale and its good but I&#8217;d like a small fix that would simply solve my problem, at least. </p><p>Again, I tried searching the web for alternatives on what to use re: dynamic forms and the keyword &#8216;lambda&#8217; appears. A solution has been rediscovered after all this time <a href="http://code.google.com/p/jquery-dynamic-form">http://code.google.com/p/jquery-dynamic-form</a>. This solution is the perfect candidate to solve my dynamic forms problem, the code is as simple as this:</p><div id="attachment_808" class="wp-caption alignnone" style="width: 546px"><img class="size-full wp-image-808" title="dynamic form" src="http://www.misty-stix.com/wp-content/uploads/2012/06/SCR20120621160306.png" alt="" width="536" height="493" /><p class="wp-caption-text">dynamic form</p></div><p>I intend to make a simpler example of the code so that it&#8217;d be easier to read. </p><p>Javascript:</p><div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:650px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;script type=&quot;text/javascript&quot; src=&quot;lib/jquery/jquery-1.4.2.js&quot;&gt;&lt;/script&gt;<br />&lt;script type=&quot;text/javascript&quot; src=&quot;jquery-dynamic-form.js&quot;&gt;&lt;/script&gt;<br />&lt;script type=&quot;text/javascript&quot;&gt;<br />&nbsp; $(document).ready(function(){<br />&nbsp; &nbsp; var whitelist = $(&quot;#whitelist-template&quot;).dynamicForm(<br />&nbsp; &nbsp; &nbsp; &quot;#plus-whitelist&quot;, &quot;#minus-whitelist&quot;, <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; limit:5,<br />&nbsp; &nbsp; &nbsp; normalizeFullForm: false<br />&nbsp; &nbsp; });<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; data = <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> <a href="http://www.php.net/json_encode"><span style="color: #990000;">json_encode</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />&nbsp; &nbsp; &nbsp; <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'whitelist_id'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'1'</span><span style="color: #339933;">,</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'whitelist'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'0.0.0.0'</span><span style="color: #339933;">,</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />&nbsp; &nbsp; &nbsp; <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'whitelist_id'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'2'</span><span style="color: #339933;">,</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'whitelist'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'1.1.1.1'</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />&nbsp; &nbsp; &nbsp; <a href="http://www.php.net/array"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'whitelist_id'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'3'</span><span style="color: #339933;">,</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">'whitelist'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'2.2.2.2'</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span>;<br />&nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; whitelist.inject(data);<br />&nbsp; });<br />&lt;/script&gt;</div></td></tr></tbody></table></div><p>HTML:</p><div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:650px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>form method<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;post&quot;</span> action<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;#&quot;</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Post&quot;</span><span style="color: #339933;">&gt;</span><br />&nbsp; <span style="color: #339933;">&lt;</span>p<span style="color: #339933;">&gt;&lt;</span>label <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;firstname&quot;</span><span style="color: #339933;">&gt;</span>first name <span style="color: #339933;">:</span> <span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;&lt;</span>input id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;firstname&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;firstname&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;40&quot;</span><span style="color: #339933;">&gt;&lt;/</span>p<span style="color: #339933;">&gt;</span><br />&nbsp; <span style="color: #339933;">&lt;</span>p<span style="color: #339933;">&gt;&lt;</span>label <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;lastname&quot;</span><span style="color: #339933;">&gt;</span>last name <span style="color: #339933;">:</span> <span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;&lt;</span>input id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;lastname&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;lastname&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;40&quot;</span><span style="color: #339933;">&gt;&lt;/</span>p<span style="color: #339933;">&gt;</span><br />&nbsp; <span style="color: #339933;">&lt;</span>br <span style="color: #339933;">/&gt;</span><br />&nbsp; <span style="color: #339933;">&lt;</span>br <span style="color: #339933;">/&gt;</span><br />&nbsp; <span style="color: #339933;">&lt;</span>br <span style="color: #339933;">/&gt;</span><br />&nbsp; <span style="color: #339933;">&lt;</span>fieldset<span style="color: #339933;">&gt;</span><br />&nbsp; &nbsp; <span style="color: #339933;">&lt;</span>legend<span style="color: #339933;">&gt;</span>whitelists<span style="color: #339933;">&lt;/</span>legend<span style="color: #339933;">&gt;</span><br />&nbsp; &nbsp; <span style="color: #339933;">&lt;</span>p id<span style="color: #339933;">=</span><span style="color: #0000ff;">'whitelist-template'</span><span style="color: #339933;">&gt;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #339933;">&lt;</span>input type<span style="color: #339933;">=</span><span style="color: #0000ff;">'hidden'</span> value<span style="color: #339933;">=</span><span style="color: #0000ff;">''</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">'whitelist_id'</span> <span style="color: #339933;">/&gt;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #339933;">&lt;</span>label <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;whitelist&quot;</span><span style="color: #339933;">&gt;</span>whitelist <span style="color: #339933;">:</span> <span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;&lt;</span>input id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;whitelist&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;whitelist&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;39&quot;</span> <span style="color: #339933;">/&gt;&lt;</span>br <span style="color: #339933;">/&gt;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #339933;">&lt;</span>label <span style="color: #b1b100;">for</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;contactperson&quot;</span><span style="color: #339933;">&gt;</span>contact person <span style="color: #339933;">:</span> <span style="color: #339933;">&lt;/</span>label<span style="color: #339933;">&gt;&lt;</span>input id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;contactperson&quot;</span> type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;text&quot;</span> name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;contactperson&quot;</span> size<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;39&quot;</span> <span style="color: #339933;">/&gt;&lt;</span>br <span style="color: #339933;">/&gt;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #339933;">&lt;</span>span style<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;clear:none; float:right;&quot;</span><span style="color: #339933;">&gt;&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;minus-whitelist&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #009900;">&#91;</span><span style="color: #339933;">-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;</span> <span style="color: #339933;">&lt;</span>a id<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;plus-whitelist&quot;</span> href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #009900;">&#91;</span><span style="color: #339933;">+</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>span<span style="color: #339933;">&gt;</span><br />&nbsp; &nbsp; <span style="color: #339933;">&lt;/</span>p<span style="color: #339933;">&gt;</span><br />&nbsp; <span style="color: #339933;">&lt;/</span>fieldset<span style="color: #339933;">&gt;</span><br />&nbsp; <span style="color: #339933;">&lt;</span>input type<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;submit&quot;</span> <span style="color: #339933;">/&gt;</span><br /><span style="color: #339933;">&lt;/</span>form<span style="color: #339933;">&gt;</span></div></td></tr></tbody></table></div><p>Just in case the later versions of jquery.dynamic do not work for you, I have included the jquery plugin I used and tested.</p><p>I&#8217;ve used jquery version 1.4.2.</p><p>download source: <a href='http://www.misty-stix.com/wp-content/uploads/2012/06/jquery.lambda.zip'>jquery.lambda</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.misty-stix.com/dynamic-forms-revisited/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>Domain Level Error Logging in Apache/PHP in Linux</title>
			<link>http://www.misty-stix.com/domain-level-error-logging-in-apachephp-in-linux/</link>
			<comments>http://www.misty-stix.com/domain-level-error-logging-in-apachephp-in-linux/#comments</comments>
			<pubDate>Tue, 05 Jun 2012 08:40:42 +0000</pubDate>
			<dc:creator>Christian Noel</dc:creator>
			<category><![CDATA[Enlightened Thoughts]]></category>
			<category><![CDATA[Techy Thoughts]]></category>
			<category><![CDATA[debugging]]></category>
			<category><![CDATA[error logging]]></category>
			<category><![CDATA[linux]]></category>
			<category><![CDATA[migration]]></category>
			<category><![CDATA[programming]]></category>
			<category><![CDATA[server]]></category>
			<category><![CDATA[setup]]></category>
			<category><![CDATA[work]]></category>
			<guid isPermaLink="false">http://www.misty-stix.com/?p=789</guid>
			<description><![CDATA[The error logging functionality of apache is very important especially when you are testing things out with your php application. But on some cases we experience problems which hinder us from locating the error_log file where all errors, problems or &#8230; <a href="http://www.misty-stix.com/domain-level-error-logging-in-apachephp-in-linux/">More of this rant <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The error logging functionality of apache is very important especially when you are testing things out with your php application. But on some cases we experience problems which hinder us from locating the error_log file where all errors, problems or warnings reside whenever we attempt to debug our application.</p><p>Problems we usually encounter are: Where&#8217;d my error_log file go? How can I enable it? It&#8217;s enabled but I don&#8217;t see any error_log inside my ./public_html/ folder.</p><p>On most cases we experience these problems while we&#8217;re setting up a Linux server with apache and php pre-installed. I have never experienced this issue before until I migrated into a cloud instance.</p><p>The server has whm/cpanel installed but I cannot find an error_log file inside the public_html folder. Took me hours to make it work only when I found out that the solution was pretty simple. I&#8217;m still finding a way on how to make the error_log file automatically created when an error occurs.</p><p>Anyway, here&#8217;s how I solved it.</p><p>Firstly, make sure that error reporting is enabled and configured in your web-server. You can verify if its working by viewing the phpinfo().</p><div id="attachment_798" class="wp-caption alignnone" style="width: 634px"><img class="size-full wp-image-798" title="phpinfo()" src="http://www.misty-stix.com/wp-content/uploads/2012/06/SCR20120605160518.png" alt="" width="624" height="101" /><p class="wp-caption-text">phpinfo()</p></div><p>Create a file named error_log inside your public_html / www folder (this is the same directory where you put your index.php file or landing pages).</p><div id="attachment_799" class="wp-caption alignnone" style="width: 368px"><img class="size-full wp-image-799" title="create a file named error_log" src="http://www.misty-stix.com/wp-content/uploads/2012/06/SCR20120605160810.png" alt="" width="358" height="19" /><p class="wp-caption-text">create a file named error_log</p></div><p>Add &#8216;read&#8217; permission for &#8216;owner&#8217; to file error_log so you can view it later.</p><div id="attachment_800" class="wp-caption alignnone" style="width: 302px"><img class="size-full wp-image-800" title="add permission" src="http://www.misty-stix.com/wp-content/uploads/2012/06/SCR20120605160843.png" alt="" width="292" height="19" /><p class="wp-caption-text">add permission</p></div><p>Add &#8216;write&#8217; permission for &#8216;others&#8217; to file error_log so apache / httpd can write to it.</p><div id="attachment_801" class="wp-caption alignnone" style="width: 313px"><img class="size-full wp-image-801" title="add permission" src="http://www.misty-stix.com/wp-content/uploads/2012/06/SCR20120605163258.png" alt="" width="303" height="14" /><p class="wp-caption-text">add permission</p></div><p>This is what your error_log should look like after you execute an &#8216;ls -lh&#8217; command.</p><div id="attachment_802" class="wp-caption alignnone" style="width: 478px"><img class="size-full wp-image-802" title="error_log attributes" src="http://www.misty-stix.com/wp-content/uploads/2012/06/SCR20120605160935.png" alt="" width="468" height="19" /><p class="wp-caption-text">error_log attributes</p></div><p>Now, that the error_log has been created, expect it to be filled with logs once an error occurs in your application. You may view error_log contents by using either the &#8216;more error_log&#8217; or &#8216;tail error_log&#8217; commands.</p><div id="attachment_803" class="wp-caption alignnone" style="width: 269px"><img class="size-full wp-image-803" title="more error_log" src="http://www.misty-stix.com/wp-content/uploads/2012/06/SCR20120605162410.png" alt="" width="259" height="18" /><p class="wp-caption-text">more error_log</p></div><p>At the moment, I still have no clue why the error_log is not being auto-generated when an error occurs and when the error_log file is not present inside public_html. Based from the previous servers I handled, the error_logs have been automatically created when necessary.</p>]]></content:encoded>
			<wfw:commentRss>http://www.misty-stix.com/domain-level-error-logging-in-apachephp-in-linux/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		</item>
		<item>
			<title>Limiting Connections Using IPTables</title>
			<link>http://www.misty-stix.com/limiting-connections-using-iptables/</link>
			<comments>http://www.misty-stix.com/limiting-connections-using-iptables/#comments</comments>
			<pubDate>Tue, 29 May 2012 06:09:47 +0000</pubDate>
			<dc:creator>Christian Noel</dc:creator>
			<category><![CDATA[Enlightened Thoughts]]></category>
			<category><![CDATA[Techy Thoughts]]></category>
			<category><![CDATA[dos attack]]></category>
			<category><![CDATA[hack]]></category>
			<category><![CDATA[linux]]></category>
			<category><![CDATA[programming]]></category>
			<category><![CDATA[setup]]></category>
			<category><![CDATA[tweaks]]></category>
			<category><![CDATA[work]]></category>
			<guid isPermaLink="false">http://www.misty-stix.com/?p=785</guid>
			<description><![CDATA[Just recently I have been experiencing a DoS-like attack on one of my systems. The system has been receiving several requests from a single ip, say, 6000+requests from a single client every 1~2 minutes. So, this was the culprit of &#8230; <a href="http://www.misty-stix.com/limiting-connections-using-iptables/">More of this rant <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just recently I have been experiencing a DoS-like attack on one of my systems. The system has been receiving several requests from a single ip, say, 6000+requests from a single client every 1~2 minutes. So, this was the culprit of a system crash for over a day.</p><div id="attachment_786" class="wp-caption alignnone" style="width: 350px"><img class="size-full wp-image-786" title="flooding" src="http://www.misty-stix.com/wp-content/uploads/2012/05/SCR20120528102015.jpg" alt="" width="340" height="217" /><p class="wp-caption-text">client request flood</p></div><p>I have implemented several options of blocking this. One strategy would be to add the ip-address to the deny-list in .htaccess.</p><div id="attachment_787" class="wp-caption alignnone" style="width: 363px"><img class="size-full wp-image-787" title="after-blocking-with-.htaccess" src="http://www.misty-stix.com/wp-content/uploads/2012/05/SCR20120528102016.png" alt="" width="353" height="211" /><p class="wp-caption-text">memory free after blocking with .htaccess</p></div><p>But what if it is just an uncontrolled influx of requests that are, in turn also relevant to us but we just want to limit it? I tried another approach which is to create a built-in limiter via script using php. By adding a new table in the database which tracks how many requests the client has already sent and by restricting all succeeding requests once the limit has been reached. This strategy did not solve the problem, it still added to the hog of server-resources.</p><p>The last strategy I tried was to resort to IPTables. Using IPTables lets you utilize the operating system firewall, in my case, Linux&#8217;s. I have added some restrictions to the client&#8217;s IP address by only limiting it to a few concurrent requests only, but before this, the client is sending at around 100+ requests and this is incremental.</p><p>This is how I did it:<br />Execute this script via ssh:</p><div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:650px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iptables -A INPUT -p tcp --syn --dport 80 -m connlimit --connlimit-above 9 -j REJECT -s &quot;127.0.0.1&quot;</div></td></tr></tbody></table></div><p>where: 127.0.0.1 or any ip is the client that you need to limit.<br />where: 80 or any port that you need to limit<br />where: &#8211;connlimit-above x (x is the number of connections you want to limit to)</p><p>You may also list down all IPTables&#8217; current rules using this command:</p><div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:650px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iptables -L</div></td></tr></tbody></table></div><p>And then finally, you may also flush all current rules of IPTables using this command:</p><div class="codecolorer-container dos blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:650px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="dos codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iptables -F</div></td></tr></tbody></table></div><p>I have learned about IPTables when I was searching for a way to limit client / host connections into my servers.</p><p>Check any of these links for more information on setting up IPTables<br /><a href="http://www.linuxhelp.in/2011/04/how-to-limit-connections-from-one-ip.html">http://www.linuxhelp.in/2011/04/how-to-limit-connections-from-one-ip.html</a><br /><a href="http://www.cyberciti.biz/faq/iptables-connection-limits-howto">http://www.cyberciti.biz/faq/iptables-connection-limits-howto</a><br /><a href="http://www.thegeekstuff.com/2011/01/iptables-fundamentals">http://www.thegeekstuff.com/2011/01/iptables-fundamentals</a><br /><a href="http://www.thegeekstuff.com/2010/07/list-and-flush-iptables-rules">http://www.thegeekstuff.com/2010/07/list-and-flush-iptables-rules</a><br /><a href="http://www.thegeekstuff.com/2011/01/redhat-iptables-flush">http://www.thegeekstuff.com/2011/01/redhat-iptables-flush</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.misty-stix.com/limiting-connections-using-iptables/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>The First Medal</title>
			<link>http://www.misty-stix.com/the-first-medal/</link>
			<comments>http://www.misty-stix.com/the-first-medal/#comments</comments>
			<pubDate>Mon, 21 May 2012 11:35:32 +0000</pubDate>
			<dc:creator>Christian Noel</dc:creator>
			<category><![CDATA[Haphazard Thoughts]]></category>
			<category><![CDATA[life]]></category>
			<category><![CDATA[personal]]></category>
			<category><![CDATA[random]]></category>
			<guid isPermaLink="false">http://www.misty-stix.com/?p=770</guid>
			<description><![CDATA[I&#8217;ve heard a lot of things like &#8216;prevention is better than cure&#8217; or &#8216;live long, start walking&#8217;. Until then I just kept ignoring statements and advises from people that urge me to get out of my seat and start doing &#8230; <a href="http://www.misty-stix.com/the-first-medal/">More of this rant <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve heard a lot of things like &#8216;prevention is better than cure&#8217; or &#8216;live long, start walking&#8217;. Until then I just kept ignoring statements and advises from people that urge me to get out of my seat and start doing some activities that will help provide a better lifestyle.</p><p>While it is true that I don&#8217;t drink nor do I smoke, but the point is, like other people who enjoy being solitary and keep still most of the time I gain weight and eat like there&#8217;s no tomorrow.</p><p>Lately, I&#8217;ve been thinking &#8211; The outdoors is quite fun! So I decided to take a walk, and before I knew it I started jogging. Quite the initiative you might say, but it is the environment that took me away from my seat.</p><p>I decided to join a race recommended by a friend. He told me that, unlike a mountainous region where we live &#8211; the road is flat and easier to route. I joined the 21k or 21-kilometer category, a half-marathon run. Look what I got!</p><p><img src="http://www.misty-stix.com/wp-content/uploads/2012/04/b448fc4aa17d11e19e4a12313813ffc0_7-300x300.jpg" alt="" title="21k Finisher" width="300" height="300" class="alignnone size-medium wp-image-783" /></p><p>I&#8217;ve never been into any sport in my life so I&#8217;m pretty useless when it comes to physical activities. I only slack around and keep still until I find something to do worthwhile, that is, if I&#8217;m not in front of the computer working or playing.</p><p>I managed to get out of my seat and start running. Its fun! It perhaps gives me a reason to find more meaning in life &#8211; not so sure about this but I&#8217;m willing to find out!</p><p><img src="http://www.misty-stix.com/wp-content/uploads/2012/04/3edd184481f011e1a39b1231381b7ba1_7-300x300.jpg" alt="" title="shoes" width="300" height="300" class="alignnone size-medium wp-image-782" /></p>]]></content:encoded>
			<wfw:commentRss>http://www.misty-stix.com/the-first-medal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>4-day Escapade</title>
			<link>http://www.misty-stix.com/4-day-escapade/</link>
			<comments>http://www.misty-stix.com/4-day-escapade/#comments</comments>
			<pubDate>Sun, 08 Apr 2012 10:51:38 +0000</pubDate>
			<dc:creator>Christian Noel</dc:creator>
			<category><![CDATA[Haphazard Thoughts]]></category>
			<guid isPermaLink="false">http://www.misty-stix.com/?p=771</guid>
			<description><![CDATA[Granted a 4-day long-weekend, I decided to go and visit my bro at Binmaley, Pangasinan. Look at the shots that I got! All work no play? well, just don&#8217;t forget to stretch your legs once in a while..]]></description>
			<content:encoded><![CDATA[<p>Granted a 4-day long-weekend, I decided to go and visit my bro at Binmaley, Pangasinan. Look at the shots that I got!</p><p><img class="alignnone size-full wp-image-772" title="the stone giant" src="http://www.misty-stix.com/wp-content/uploads/2012/04/IMG_0093.jpg" alt="" width="632" height="632" /><img class="alignnone size-full wp-image-778" title="fishpond sunset" src="http://www.misty-stix.com/wp-content/uploads/2012/04/IMG_20120408_161648.jpg" alt="" width="632" height="632" /><img class="alignnone size-full wp-image-779" title="the adjacent beach" src="http://www.misty-stix.com/wp-content/uploads/2012/04/IMG_20120408_161854.jpg" alt="" width="632" height="632" /><img class="alignnone size-full wp-image-777" title="the kubo" src="http://www.misty-stix.com/wp-content/uploads/2012/04/IMG_20120406_161848.jpg" alt="" width="632" height="632" /><img class="alignnone size-full wp-image-776" title="ancient monolith" src="http://www.misty-stix.com/wp-content/uploads/2012/04/IMG_20120406_150420.jpg" alt="" width="632" height="632" /><img class="alignnone size-full wp-image-775" title="the province" src="http://www.misty-stix.com/wp-content/uploads/2012/04/IMG_20120406_145844.jpg" alt="" width="632" height="632" /></p><p>All work no play? well, just don&#8217;t forget to stretch your legs once in a while..</p>]]></content:encoded>
			<wfw:commentRss>http://www.misty-stix.com/4-day-escapade/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		</item>
		<item>
			<title>How To Tell When Someone Is Lying</title>
			<link>http://www.misty-stix.com/how-to-tell-when-someone-is-lying/</link>
			<comments>http://www.misty-stix.com/how-to-tell-when-someone-is-lying/#comments</comments>
			<pubDate>Tue, 27 Mar 2012 01:53:27 +0000</pubDate>
			<dc:creator>Christian Noel</dc:creator>
			<category><![CDATA[Enlightened Thoughts]]></category>
			<category><![CDATA[life]]></category>
			<category><![CDATA[personal]]></category>
			<category><![CDATA[random]]></category>
			<guid isPermaLink="false">http://www.misty-stix.com/?p=766</guid>
			<description><![CDATA[To know how to tell when someone is lying, it helps to first look at the three basic types of lies. These are lies of omission, commission, and embellishment. What follows is a short description/definition of each, and some ways &#8230; <a href="http://www.misty-stix.com/how-to-tell-when-someone-is-lying/">More of this rant <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To know how to tell when someone is lying, it helps to first look at the three basic types of lies. These are lies of omission, commission, and embellishment. What follows is a short description/definition of each, and some ways to detect each kind of lying.</p><p><strong>Lying By Omission<br /></strong>A lie of omission is when a person fails to include the relevant facts that the listener reasonably expects to be included in an answer. For example, a woman says to her boyfriend, &#8220;I thought you went to a show, not to the bar.&#8221; He answers, &#8220;I did go to the show. Here are the ticket stubs,&#8221; but he leaves out the fact that he went to the bar after the show.</p><p>The simplest way to catch this kind of lying is to ask the most relevant questions directly. In the above example, the woman could ask, &#8220;Did you go to the bar at all tonight?&#8221; Many people are willing to avoid the truth, but not willing to lie outright, at least not in every case. Force them to make a choice and they may just tell the truth.</p><p><strong>Lying By Embellishment<br /></strong>Lying by embellishment means exaggerating or changing the details. For example, a woman says, &#8220;I spent eight hours working on that project,&#8221; when she wasn&#8217;t actually working for most of that time. It includes exaggerating one&#8217;s role in something, as when a man says, &#8220;Andy and I have this great little business,&#8221; when in fact he is just an employee.</p><p>If you suspect this type of lying, the first thing to do is to get specific. Using the examples above, you might ask, &#8220;What exactly did you do for those eight hours?&#8221; or in the second case, &#8220;Do you actually own the business?&#8221; Of course, you can also go to other people or get other information to verify or contradict what was said.</p><p><strong>Lying By Commission</strong><br />A lie by commission is an entirely false statement. For example, a child says, &#8220;I didn&#8217;t break the car window,&#8221; even though he did. It can also involve transferring blame to others; &#8220;Andy must have broken it.&#8221; It may also include improperly taking credit, as when a man says, &#8220;Do you like my idea?&#8221; about an idea that wasn&#8217;t his.</p><p>By its nature, lying of this kind is harder to detect, because the speaker is obviously willing to lie outright. He may even be good at telling lies, depending on how much practice he has had. There are many &#8220;indicators&#8221; to watch for, though, and other ways to tell when someone is lying, including dozens of traps that can catch lying of this sort.</p><p>Some of the classic indicators of lying have to do with the eyes. &#8220;Shifty eyes, or the speaker looking away from you are thought to mean he is lying. Some will tell you these are myths that have been debunked by science. Neither moving the eyes nor avoiding eye contact indicates that what the person is saying is more likely to be a lie, the research shows. But the research is flawed. It relies on laboratory settings in which people are instructed to lie, and looks for universal indicators, rather than those specific to the individual.</p><p>Aldert Vrij of the University of Portsmouth in England, sought to correct this deficiency in the research by looking at real-life police interrogation videos. His idea on how to tell when someone is lying was to concentrate on cases where the true facts were later determined. He found that there were fairly reliable clues to whether a person is lying, but that these are individual, not universal.</p><p>For example, one woman might consistently avert her gaze when lying, while another might have greater eye-contact when lying. Most research wasn&#8217;t testing for these individual factors, so the results seem to indicate that lie-detecting wasn&#8217;t viable. But we CAN take into account individual habits and patterns of behavior.</p><p>Use what you know or can determine about the individual. Does he normally avoid eye contact? Have you seen him do this before when he was lying? Of course, avoiding eye contact or moving one&#8217;s eyes could be a general sign of guilt, so be careful before assuming that it means a dishonest response to a particular question. The person may just feel guilty about something related. In other words, to tell if someone is lying, start by learning a little about the person.</p><p>I hope these tips will help make the truth a little more transparent.</p><p>(original article: <a title="Article: How To Tell When Someone Is Lying - By Steve Gillman" href="http://www.selfgrowth.com/articles/How_To_Tell_When_Someone_Is_Lying.html">link</a>)</p>]]></content:encoded>
			<wfw:commentRss>http://www.misty-stix.com/how-to-tell-when-someone-is-lying/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>