<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9507577</id><updated>2011-04-22T10:12:24.881+05:30</updated><title type='text'>Effervescent</title><subtitle type='html'>This is just my temporary blog till I create my own on my site, one that actually counts statistics (posts, profile views, etc) correctly.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://housni.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9507577.post-112103178233870071</id><published>2005-07-11T03:35:00.000+06:00</published><updated>2005-07-11T03:46:33.283+06:00</updated><title type='text'>Navigation menu in PHP</title><content type='html'>this is the basic concept of how i handle navigation in &lt;a href="http://www.php.net/" title="PHP.net"&gt;PHP&lt;/a&gt;.&lt;br /&gt;it's not commented but it's very basic but if there is something you want to ask, just ask on this blog :)&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px; padding: 5px; background: #F1E6C6"&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt; $prefix = '/path/to/file/myPrefix.';&lt;br /&gt; $postfix = '.inc.php';&lt;br /&gt; $defaultPage = 'home';&lt;br /&gt; $errorPage = '404';&lt;br /&gt;&lt;br /&gt; $incFile = $prefix . $_GET['page'] . $postfix;&lt;br /&gt; $default = $prefix . $defaultPage . $postfix;&lt;br /&gt; $error = $prefix . $errorPage . $postfix;&lt;br /&gt; if(file_exists($incFile))&lt;br /&gt; {&lt;br /&gt;  switch($_GET['page'])&lt;br /&gt;  {&lt;br /&gt;   case 'home':&lt;br /&gt;   case 'about':&lt;br /&gt;   case 'contact':&lt;br /&gt;     include_once $incFile;&lt;br /&gt;    break;&lt;br /&gt;&lt;br /&gt;   case '':&lt;br /&gt;     @include_once $default;&lt;br /&gt;    break;&lt;br /&gt;&lt;br /&gt;   default:&lt;br /&gt;     @include_once $error;&lt;br /&gt;    break;&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt; else&lt;br /&gt; {&lt;br /&gt;  echo '&amp;lt;h1&amp;gt;Page Not Found: 404&amp;lt;/h1&amp;gt;';&lt;br /&gt; }&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-112103178233870071?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/112103178233870071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=112103178233870071' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/112103178233870071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/112103178233870071'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2005/07/navigation-menu-in-php.html' title='Navigation menu in PHP'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9507577.post-111974100556467285</id><published>2005-06-26T05:00:00.000+06:00</published><updated>2005-06-26T05:32:39.190+06:00</updated><title type='text'>Evolving OOP</title><content type='html'>&lt;p&gt;words like 'quasi' (example), it's one word that explains something thats is hard to explain in one word, just like methods in an extended class can do specific things.&lt;br /&gt;little words like that can be constructed into a sentence in many ways to mean and say different things.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;so if &lt;acronym title="Object Oriented Programming"&gt;OOP&lt;/acronym&gt; does evolve like any language does and if we can leap tall buildings in a single bound and dodge tusnami's, then we should be in for some crazy flexibility :)&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;See: OOP from the &lt;cite&gt;&lt;em&gt;&lt;a href="http://en.wikipedia.org/wiki/Object-oriented_programming" title="Wikipedia, the free encyclopedia."&gt;Wikipedia&lt;/a&gt;&lt;/em&gt;&lt;/cite&gt;&lt;br /&gt;&lt;div style="background: #C6F8C6;"&gt;&lt;br /&gt; &lt;strong style="font: bold 15px Verdana sans-serif; color: #000;"&gt;Overview&lt;/strong&gt;&lt;br /&gt; &lt;p&gt;The idea behind object-oriented programming is that a computer program is composed of a collection of individual units, or objects, as opposed to a traditional view in which a program is little more than a list of instructions to the computer.&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-111974100556467285?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/111974100556467285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=111974100556467285' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/111974100556467285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/111974100556467285'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2005/06/evolving-oop.html' title='Evolving OOP'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9507577.post-110869254847229710</id><published>2005-02-18T05:54:00.000+06:00</published><updated>2005-02-18T08:09:08.476+06:00</updated><title type='text'>Function naming convention</title><content type='html'>If you work with functions, then, this is for you!&lt;br /&gt;&lt;br /&gt;Consider this case:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Your name is &lt;strong&gt;P.H.P. McCoder&lt;/strong&gt; and you work as a web scripter in the year 2004 and your web scripting language of choice is PHP4.&lt;br /&gt;Here's a snippet of a class that you wrote for project-X&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;pre&gt;&lt;br /&gt;class Koobi&lt;br /&gt;{&lt;br /&gt; function Koobi($parameter)&lt;br /&gt; {&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; function clone($value)&lt;br /&gt; {&lt;br /&gt;  return $this-&gt;doClone($value);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;It works fine with PHP4.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It's now the year 2005. Your host decides to upgrade to PHP5 and (this is all hypothetical) PHP5 has a new function added to it. And guess what? The new function is named clone().&lt;br /&gt;What happens when your class method is called? You recieve parse errors!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The people over at &lt;a href="http://pear.php.net/manual/en/standards.naming.php" title="PEAR"&gt;PEAR&lt;/a&gt; have a nice suggestion for a naming convention for functions.&lt;br /&gt;I suggest you take a look, otherwise, like me, your users might end up using the "search and replace" function.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-110869254847229710?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/110869254847229710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=110869254847229710' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110869254847229710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110869254847229710'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2005/02/function-naming-convention.html' title='Function naming convention'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9507577.post-110719608819593850</id><published>2005-02-01T01:02:00.000+06:00</published><updated>2005-02-09T01:38:35.943+06:00</updated><title type='text'>Untitled</title><content type='html'>Everybody wants to make more money (ok, so most people do). If you're a person who manufactures and sells a product, you're always looking to make a higher profit so you try and get as much as you can from a customer. You make more demands even though they maybe unreasonable because you want the maximum marginal utility, customer complies and so there's an uneven balance. There's more getting than giving and that's not good because everything has to be in balance or things wont remain as they are, they become unpredictable.&lt;br /&gt;Maybe that's why the human mind came up with Opensource software. Since that is on the other extreme of the spectrum (i.e. it's free under certain conditions), it probably brings the imbalance back to normal again.&lt;br /&gt;And most opensource projcets are done out of passion for the tools used to create that product (eg: PHP, ASP, etc) or as a labour of love....so an act that's a labour of love can bring balance to this messed up equilibrium?&lt;br /&gt;&lt;br /&gt;On the other end it's that desire for more that makes us think of ways to get the maximum we can out of clients.&lt;br /&gt;&lt;br /&gt;So, desire for more leads to demanding more of a client which messes up the equilibirum...so what if we just control these desires? Even if we want more success and money, we don't accumulate so much. We donate to charity or something that could really use it instead of wanting more and going past the saturation point.&lt;br /&gt;&lt;br /&gt;So it's our own desire to succeed that leads us to disturb the balance which makes us have to work harder so we can reset the balance once again and that leads to the mess we live in today, this insanity.&lt;br /&gt;&lt;br /&gt;Things must have been really laid back and peaceful about a century ago.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thaaaaaat's what you get if you're looking out the bus window for over an hour while on a long journey.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-110719608819593850?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/110719608819593850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=110719608819593850' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110719608819593850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110719608819593850'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2005/02/untitled.html' title='Untitled'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9507577.post-110678072310470723</id><published>2005-01-27T04:58:00.000+06:00</published><updated>2005-01-27T05:05:38.476+06:00</updated><title type='text'>Whoa! That was random.</title><content type='html'>I was having one of my random thoughts again...then I read through this blog of mine and realized it can't get anymore random than it already is.&lt;br /&gt;Soooooo, I was by this nice place the other day. There was this nice stream that was flowing by and I was just thinking, life must be feeling really good as a rock in a stream. With all that sparkling water all around you...what would be better is being that rock in that stream while having &lt;strong&gt;State of emergency&lt;/strong&gt; by &lt;strong&gt;Björk&lt;/strong&gt; constantly playing in your ears. heh heh yeah, I will stop now.&lt;br /&gt;&lt;br /&gt;I have a deadline on friday. Unpleasant week :/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-110678072310470723?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/110678072310470723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=110678072310470723' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110678072310470723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110678072310470723'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2005/01/whoa-that-was-random.html' title='Whoa! That was random.'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9507577.post-110564706286686566</id><published>2005-01-14T01:37:00.000+06:00</published><updated>2005-01-14T03:18:25.456+06:00</updated><title type='text'>Why I wouldn't want to leave this place.</title><content type='html'>That sunrise, that sunset. That area of glowing crimson over the sea. Those crimson spears making holes in the already tattered clouds. Streaks of stray threads of clouds blowing in the sky. The sand by the sea glinting, only temporarily made beautiful by the sunrise/sunset. Borrowed beauty.&lt;br /&gt;A hut made of wood stands by the ocean, by a tree. An object created by man so small, so unworthy of the ocean, a most imperfect creation, stands so defiantly with pride in its faults, against the vast ocean.&lt;br /&gt;Without the ugly, you cannot appreciate the beautiful. Imperfection is beauty without limits.&lt;br /&gt;&lt;br /&gt;Seeing dim yellow street lights whizz by while you're in the car which is dark inside, except for the dashboard. The yellow only hits your face below your eyes because the portion above that is shadowed by the car roof. The air conditioner maybe on or off, you don't care. It doesn't matter. You don't feel. What exists in this space and time, is you and what is ahead of you...no, not the road, the journey.&lt;br /&gt;&lt;br /&gt;You are walking and you look down only for a moment but in that moment, you spend an eternity. In that moment, you live your life. In that moment, everyting is clear. Your goals, your wishes, your thoughts, your hopes, your plans, your allegiances, your beliefs.&lt;br /&gt;Nothing else exists in that moment. You are a soul in the universe, trapped in a body among other souls trapped in other bodies. There is more to achieve than what this vessel has the potential to. This is our test.&lt;br /&gt;If you look at your hand hard enough, you don't see your hand. You see the vessel you are in. You are your mind.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;wow...that was a trip.&lt;br /&gt;Some of the above mentioned are reasons I wouldn't want to leave this country. But, in my line of work, Sri Lanka isn't the best place so I have no choice but to migrate one day. Maybe when I'm older and I'm a billionnaire ;), I can come to Sri Lanka and live by the sea, on the coast. A Tsunami can take me away if it wants, I just want to live by the sea...of course my private jet would be close by, just in case I feel like I need a temporary change ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-110564706286686566?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/110564706286686566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=110564706286686566' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110564706286686566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110564706286686566'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2005/01/why-i-wouldnt-want-to-leave-this-place.html' title='Why I wouldn&apos;t want to leave this place.'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9507577.post-110547552435971162</id><published>2005-01-12T03:16:00.000+06:00</published><updated>2005-01-12T17:21:24.543+06:00</updated><title type='text'>Google and Clusty</title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href="http://www.google.com/" title="The Google Homepage"&gt;Google&lt;/a&gt; is &lt;span style="font: bold 15px sans-serif;"&gt;biiiiiig&lt;/span&gt;.&lt;br /&gt;Google is so big that the only way to balance a basketball game where Google is on one side, is to have &lt;a href="http://www.imdb.com/title/tt0208003/" title="About Big Mama"&gt;Big Mama&lt;/a&gt; on the other.&lt;br /&gt;In a couple of years, phone books will morph into electronic devices just so that they can use a &lt;a href="http://toolbar.google.com/" title="The Google Toolbar"&gt;Google Search Bar&lt;/a&gt; within the phonebook.&lt;br /&gt;Within the next year, the Amish will start using the word &lt;strong&gt;google&lt;/strong&gt; as a part of their vocabulary.&lt;br /&gt;Heck, this site is run by Google!&lt;/p&gt;&lt;h3 style="font: bold 16px sans-serif;"&gt;But, Grasshopper, is your Clusty Kung-Fu strong?&lt;/h3&gt;&lt;p&gt;Frankly, I prefer searching using &lt;a href="http://www.clusty.com/" title="The Clusty Homepage" style="font: bold 12px Verdana, sans-serif;"&gt;Clusty&lt;/a&gt;.&lt;br /&gt;&lt;a href="http://www.clusty.com/" title="The Clusty Homepage" style="font: bold 12px Verdana, sans-serif;"&gt;Clusty&lt;/a&gt; is a clustering engine, actually.&lt;/p&gt;&lt;br /&gt;I'll let the guys over at Clusty do the talking:&lt;br /&gt;&lt;div style="padding: 5px; margin: 5px;font: normal 12px sans-serif; background: #F1E6C6;"&gt;The specially-developed Vivísimo clustering algorithm puts search results together (clusters them) based on textual and linguistic similarity. This raw similarity is augmented with heuristics (i.e., human knowledge)&lt;/div&gt;&lt;p&gt;And this is what a &lt;a href="http://clusty.com/search?query=tsunami" title="Tsunami on Clusty"&gt;search for the word &lt;strong&gt;tsunami&lt;/strong&gt;&lt;/a&gt; showed. (check out the categorized links on the left)&lt;/p&gt;&lt;p&gt;Clusty used to be &lt;a href="http://www.vivisimo.com/" title="The Vivisimo Homepage"&gt;Vivisimo&lt;/a&gt; a while back. I used to visit that site a lot...but they have a new image now and a name that's a lot easier to remember.&lt;br /&gt;&lt;a href="http://www.lanka.net/tnl/" title="TNL Radio"&gt;TNL Radio&lt;/a&gt; (good radio station, though, they mostly play rock) once had this show (Haze was the DJ if I'm not mistaken) where they were discussing Search Engines. Being the true geek that I am, I called them up and Haze put me on air and I did mention Vivisimo (Clusty was still being created at the time) while using web-savy terms to describe things just so that I could scare anyone listening (aren't we supposed to do that?)&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Well, anyway, I would consider using Clusty more often, for research, if I was you :)&lt;/p&gt;&lt;a href="http://www.clusty.com/" title="The Clusty Homepage"&gt;&lt;img src="http://koobi-studio.com/gf/clustyBlogspot.png" alt="Clusty logo" style="border: 0;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-110547552435971162?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/110547552435971162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=110547552435971162' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110547552435971162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110547552435971162'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2005/01/google-and-clusty.html' title='Google and Clusty'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9507577.post-110546964226443465</id><published>2005-01-12T01:52:00.000+06:00</published><updated>2005-01-14T00:30:13.003+06:00</updated><title type='text'>The Towel: A tool used to expose the workings of the mind</title><content type='html'>&lt;div&gt;&lt;p&gt;I believe you can tell a lot about the way a persons mind works by the way they dry their body after a shower.&lt;/p&gt;&lt;p&gt;I mean...think about it, it's almost a subconscious act...you come out of the shower thinking you want to get dry, so, you take the towel and start wiping. This is where it gets interesting; different people have different approaches to drying themselves.&lt;/p&gt;&lt;p&gt;I can think of three types...&lt;/p&gt;&lt;ol&gt;&lt;li&gt;The &lt;strong&gt;methodical&lt;/strong&gt; ones who dry part by part ("&lt;em style="font: italic 11px sans-serif;"&gt;first I will dry my hair, followed by the ears - nicely, behind them and inside, then face, now under my chin blah blah blah&lt;/em&gt;")&lt;/li&gt;&lt;li&gt;The &lt;strong&gt;random&lt;/strong&gt; ones ("&lt;em style="font: italic 11px sans-serif;"&gt;er there's some water here, let's wipe there first...&lt;/em&gt;")&lt;/li&gt;&lt;li&gt;The &lt;strong&gt;I don't care&lt;/strong&gt; type ("&lt;em style="font: italic 11px sans-serif;"&gt;wipe here, wipe there, and there....wait, I'm dry enough already&lt;/em&gt;")&lt;/li&gt;&lt;/ol&gt; There probably are a million more! &lt;br /&gt; Now, I just can't wait to get older and maybe become a scientist who studies this sort of thing...&lt;a href="http://www.petawilson-online.com/photos.html" alt="Images of Peta Wilson"&gt;Peta Wilson&lt;/a&gt; would be someone I would consider observing for this experiment. &lt;br /&gt;&lt;img src="http://koobi-studio.com/gf/baneSmilie.gif" alt="Bane Smiley" style="border: 0;" /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-110546964226443465?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/110546964226443465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=110546964226443465' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110546964226443465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110546964226443465'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2005/01/towel-tool-used-to-expose-workings-of.html' title='The Towel: A tool used to expose the workings of the mind'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9507577.post-110449873317591584</id><published>2004-12-31T19:07:00.000+06:00</published><updated>2004-12-31T19:12:13.176+06:00</updated><title type='text'>Model: Turbo Toothbrush 2.5L</title><content type='html'>Have you ever wondered how fast the toothbrush must move when you're brushing your teeth with a toothbrush?&lt;br /&gt;&lt;br /&gt;Think about it. When you're brushing, if your hand happens to slip by accident, the plastic portion of the brush sometimes jams against your gums and it really hurts. Who knows, we might be breaking speed records everyday in the morning as the first thing we do by habit, right in our mouths...WHOA!&lt;br /&gt;&lt;br /&gt;You can argue that gums are very soft, but you have to admit it can really hurt sometimes, it must be quite fast.&lt;br /&gt;&lt;br /&gt;heh heh, crazy thoughts&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-110449873317591584?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/110449873317591584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=110449873317591584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110449873317591584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110449873317591584'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2004/12/model-turbo-toothbrush-25l.html' title='Model: Turbo Toothbrush 2.5L'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9507577.post-110340810499450523</id><published>2004-12-19T04:03:00.000+06:00</published><updated>2005-01-14T00:05:42.580+06:00</updated><title type='text'>Never trust user input data (for PHP developers)</title><content type='html'>ugh! If your user ever enters any data via the POST or GET protocol, DO NOT ever trust it an ALWAYS validate it.&lt;br /&gt;&lt;br /&gt;I just spent a few hours trying to figre out a problem where the root of the problem was user interference with input data.&lt;br /&gt;He went directly into the database and manually edited some form data inserted via POST.&lt;br /&gt;It was actually customer e-mails and so when I used the &lt;a href="http://www.php.net/mail/" title="The Mail function at php.net"&gt;mail function&lt;/a&gt; to send e-mails (to some users who had a blank e-mail address thanks to customer interference in the database), I got a &lt;strong&gt;Internal Server Error - 500&lt;/strong&gt;.&lt;br /&gt;What made it worse was they they were using a CGI install of PHP and wouldn't let me look at their server logs.&lt;br /&gt;I, now, validate all variables carrying data to any functions...ugh!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-110340810499450523?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/110340810499450523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=110340810499450523' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110340810499450523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110340810499450523'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2004/12/never-trust-user-input-data-for-php.html' title='Never trust user input data (for PHP developers)'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9507577.post-110244830369823808</id><published>2004-12-08T01:28:00.000+06:00</published><updated>2004-12-08T01:38:23.696+06:00</updated><title type='text'>Just testing...</title><content type='html'>Just testing this out. Nothing much to say really....actually I have too many thoughts in my head to talk about...plus I have those college assignments :S&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9507577-110244830369823808?l=housni.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://housni.blogspot.com/feeds/110244830369823808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=9507577&amp;postID=110244830369823808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110244830369823808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9507577/posts/default/110244830369823808'/><link rel='alternate' type='text/html' href='http://housni.blogspot.com/2004/12/just-testing.html' title='Just testing...'/><author><name>PHPCoder</name><uri>http://www.blogger.com/profile/05932013945757042621</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
