<?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"
	>

<channel>
	<title>Buca Bay - Always nice</title>
	<atom:link href="http://www.bucabay.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bucabay.com</link>
	<description>Dua tiko noqu toa loaloa, na yacana ko... laga mai...</description>
	<pubDate>Sun, 13 Nov 2011 05:42:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Possessed TV</title>
		<link>http://www.bucabay.com/updates/possessed-tv/</link>
		<comments>http://www.bucabay.com/updates/possessed-tv/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 05:28:36 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[updates]]></category>

		<category><![CDATA[funny]]></category>

		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=426</guid>
		<description><![CDATA[Got woken up this morning by the TV blaring. I don&#8217;t watch TV. Turned it off and got into the shower. Came out and it was back on.. blaring again. The volume controls itself and apparently likes to waver around 80-90dB. Weird thing is it keeps going to a certain Latino channel. I had to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fupdates%2Fpossessed-tv%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fupdates%2Fpossessed-tv%2F" height="61" width="51" /></a></div><p><span>Got woken up this morning by the TV blaring. I don&#8217;t watch TV. Turned it off and got into the shower. Came out and it was back on.. blaring again. The volume controls itself and apparently likes to waver around 80-90dB. Weird thing is it keeps going to a certain Latino channel. I had to unplug the damn thing to make it stop. Hope it doesn&#8217;t come on tonight or the hotel will have to collect their possessed TV from the flower bed down below. I&#8217;m just gonna chuck it from the balcony too.</span></p>
<p>I&#8217;ve been in this hotel for 4 months and never touched the TV. So it is odd that it just came on today. I&#8217;m wondering if it shorted out somewhere. That doesn&#8217;t explain why it would go back to the Latino channel every time. I switched the channels and turned it off at the power instead of the remote (full off) and it still came back on and surfed to the Latino channel as I watched.</p>
<p>I want to get to the bottom of this and figure out why it&#8217;s happening. I&#8217;m guessing this just a shorted circuit. I ruled out the remote playing up because I took out the battery and that didn&#8217;t stop the TV. I just can&#8217;t figure out why it would surf to a channel, then turn up the volume on that channel.</p>
<p>My other guess is someone is playing a prank on me. It has turned on while I&#8217;m on the balcony so I think it is unlikely someone is using a remote, since it wouldn&#8217;t penetrate a wall, would it? They could also be doing it without knowing it. Maybe the hotel walls are thin enough.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/updates/possessed-tv/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Joana color drawings</title>
		<link>http://www.bucabay.com/joana/joana-color-drawings/</link>
		<comments>http://www.bucabay.com/joana/joana-color-drawings/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 10:52:41 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[drawing]]></category>

		<category><![CDATA[joana]]></category>

		<category><![CDATA[drawings]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=419</guid>
		<description><![CDATA[Some colored pencil drawings Joana did today. 

#recent-uploads-box li {
 float:left;
 list-style:none;
}
#recent-uploads-box li a {
 text-decoration:none;
}
.clearfix {
 clear:both;
}















View more drawings in the Joana category.
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fjoana%2Fjoana-color-drawings%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fjoana%2Fjoana-color-drawings%2F" height="61" width="51" /></a></div><p>Some colored pencil drawings Joana did today. </p>
<style>
#recent-uploads-box li {
 float:left;
 list-style:none;
}
#recent-uploads-box li a {
 text-decoration:none;
}
.clearfix {
 clear:both;
}
</style>
<div id="recent-uploads-box">
<ul class="tt-thumbs notitles">
<li><span class="photo_container pc_s"><a href="http://www.flickr.com/photos/bucabay/5827829613/" title="Girl with toys"><img src="http://farm4.static.flickr.com/3043/5827829613_247f50eda6_s.jpg" width="75" height="75" alt="Girl with toys" class="pc_img" border="0"/></a></span></li>
<li><span class="photo_container pc_s"><a href="http://www.flickr.com/photos/bucabay/5827827995/" title="Sneaky Expressions"><img src="http://farm4.static.flickr.com/3070/5827827995_1cdcdc380a_s.jpg" width="75" height="75" alt="Sneaky Expressions" class="pc_img" border="0"/></a></span></li>
<li><span class="photo_container pc_s"><a href="http://www.flickr.com/photos/bucabay/5827770937/" title="Power puff girls detailed"><img src="http://farm3.static.flickr.com/2376/5827770937_482124f595_s.jpg" width="75" height="75" alt="Power puff girls detailed" class="pc_img" border="0"/></a></span></li>
<li><span class="photo_container pc_s"><a href="http://www.flickr.com/photos/bucabay/5827770233/" title="Power Puff Girls "><img src="http://farm4.static.flickr.com/3279/5827770233_35acecf1c3_s.jpg" width="75" height="75" alt="Power Puff Girls " class="pc_img" border="0"/></a></span></li>
<li><span class="photo_container pc_s"><a href="http://www.flickr.com/photos/bucabay/5828318126/" title="Pirate Girls"><img src="http://farm3.static.flickr.com/2062/5828318126_0bd031ddab_s.jpg" width="75" height="75" alt="Pirate Girls" class="pc_img" border="0"/></a></span></li>
<li><span class="photo_container pc_s"><a href="http://www.flickr.com/photos/bucabay/5827767307/" title="Girl with teeth detail"><img src="http://farm4.static.flickr.com/3039/5827767307_b0702a5f9d_s.jpg" width="75" height="75" alt="Girl with teeth detail" class="pc_img" border="0"/></a></span></li>
<li><span class="photo_container pc_s"><a href="http://www.flickr.com/photos/bucabay/5827766835/" title="Girl Singing"><img src="http://farm4.static.flickr.com/3395/5827766835_4e1aec8986_s.jpg" width="75" height="75" alt="Girl Singing" class="pc_img" border="0"/></a></span></li>
<li><span class="photo_container pc_s"><a href="http://www.flickr.com/photos/bucabay/5827764567/" title="Pirate girl on pirate ship"><img src="http://farm3.static.flickr.com/2040/5827764567_dd379e063e_s.jpg" width="75" height="75" alt="Pirate girl on pirate ship" class="pc_img" border="0"/></a></span></li>
<li><span class="photo_container pc_s"><a href="http://www.flickr.com/photos/bucabay/5827763267/" title="Girl on Elephant"><img src="http://farm4.static.flickr.com/3260/5827763267_d2c7703d47_s.jpg" width="75" height="75" alt="Girl on Elephant" class="pc_img" border="0"/></a></span></li>
</ul>
<div class="clearfix"></div>
</p></div>
<p>View more drawings in the <a href="http://www.bucabay.com/category/joana/">Joana category</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/joana/joana-color-drawings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Technodyne goes bust</title>
		<link>http://www.bucabay.com/updates/technodyne-goes-bust/</link>
		<comments>http://www.bucabay.com/updates/technodyne-goes-bust/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 10:26:48 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[updates]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=417</guid>
		<description><![CDATA[Technodyne LLC., went bust on May 31st. I had been working for them from late November last year. 
I had been working remotely from Fiji since January, and suddenly everyone was offline on the same day. At first I thought it was a US public holiday or company holiday, whatever, and just shrugged it off. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fupdates%2Ftechnodyne-goes-bust%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fupdates%2Ftechnodyne-goes-bust%2F" height="61" width="51" /></a></div><p>Technodyne LLC., went bust on May 31st. I had been working for them from late November last year. </p>
<p>I had been working remotely from Fiji since January, and suddenly everyone was offline on the same day. At first I thought it was a US public holiday or company holiday, whatever, and just shrugged it off. I was working on my own time and had deadlines measured in weeks, so I wasn&#8217;t too concerned. </p>
<p>The next day however, our previous Development Lead popped up on the otherwise desolate internal company IM network. His first message was, have you heard the news? A sick feeling came to my stomach. I&#8217;m on a dead network, no one in office had replied to my emails, NY must be under alien attack.</p>
<p>With my experience in programming, when you encounter an anomaly (bug) you must assume you are the one in error, and not the underlying system. So the sick feeling really was, I have been cut off from the company communications network - my project has been terminated. But his exact words was &#8220;heard the news&#8221; which implied something broader. Yes it was, the news at large. <a href="http://articles.nydailynews.com/2011-06-01/local/29627434_1_gerard-denault-citytime-technodyne">Technodyne had been involved in a scandal</a> which resulted in the death of the company. </p>
<p>Technodyne had seemed like a very stable company at first, but the inconsistency of payments for my projects and lack of feedback on project achievements was slowly eating away at my trust (as an employee) in the company. Never in a zillion years did I suspect the scandal it was involved in. Then again, I had been working remotely from half way around the world as most other contractors were doing.  </p>
<p>As a place of work, I had been at the office for about 2 months and the other employees were probably the friendliest I&#8217;ve ever worked with. The sudden and unexpected close of the company has been quite upsetting to my plans. I can only imagine how bad it is for those full time employees employed on site, especially those on work visas. I just hope they are all doing well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/updates/technodyne-goes-bust/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Joana&#8217;s drawings at 4 years old</title>
		<link>http://www.bucabay.com/joana/joanas-drawings-as-4-years-old/</link>
		<comments>http://www.bucabay.com/joana/joanas-drawings-as-4-years-old/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 09:05:17 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[joana]]></category>

		<category><![CDATA[art]]></category>

		<category><![CDATA[drawings]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=409</guid>
		<description><![CDATA[I thought I&#8217;d post up Joana&#8217;s drawing at 4 years old. She keeps amazing us everyday with her talent in drawing. To see more of her drawings go to the joana category.
Kid heros




Joana and Lewa Heros




Sick Girl



]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fjoana%2Fjoanas-drawings-as-4-years-old%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fjoana%2Fjoanas-drawings-as-4-years-old%2F" height="61" width="51" /></a></div><p>I thought I&#8217;d post up Joana&#8217;s drawing at 4 years old. She keeps amazing us everyday with her talent in drawing. To see more of her drawings go to the <a href="http://www.bucabay.com/category/joana/">joana category</a>.</p>
<h4>Kid heros</h4>
<p><a href="http://www.flickr.com/photos/bucabay/5814087917/in/photostream/"><br />
<img src="http://farm4.static.flickr.com/3254/5814087917_c43b0f4c70.jpg" border="0"  /><br />
</a><br />
</p>
<h4>Joana and Lewa Heros</h4>
<p><a href="http://www.flickr.com/photos/bucabay/5814693500/in/photostream/"><br />
<img src="http://farm4.static.flickr.com/3012/5814693500_d5b65c2fb2.jpg" border="0" /><br />
</a><br />
</p>
<h4>Sick Girl</h4>
<p><a href="http://www.flickr.com/photos/bucabay/5814687538/in/photostream/"><br />
<img src="http://farm3.static.flickr.com/2039/5814687538_b6022c010d.jpg" border="0" /><br />
</a><br /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/joana/joanas-drawings-as-4-years-old/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Proof facebook is bad for you</title>
		<link>http://www.bucabay.com/general/proof-facebook-is-bad-for-you/</link>
		<comments>http://www.bucabay.com/general/proof-facebook-is-bad-for-you/#comments</comments>
		<pubDate>Wed, 25 May 2011 11:37:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[general]]></category>

		<category><![CDATA[facebook]]></category>

		<category><![CDATA[science]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=406</guid>
		<description><![CDATA[I&#8217;ve always known that Facebook is bad for you. Now I have proof, http://www.sciencedaily.com/releases/2011/05/110523091541.htm
;-P
]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fgeneral%2Fproof-facebook-is-bad-for-you%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fgeneral%2Fproof-facebook-is-bad-for-you%2F" height="61" width="51" /></a></div><p>I&#8217;ve always known that Facebook is bad for you. Now I have proof, <a href="http://www.sciencedaily.com/releases/2011/05/110523091541.htm">http://www.sciencedaily.com/releases/2011/05/110523091541.htm</a></p>
<p>;-P</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/general/proof-facebook-is-bad-for-you/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Joomla vs Drupal</title>
		<link>http://www.bucabay.com/joomla/joomla-vs-drupal/</link>
		<comments>http://www.bucabay.com/joomla/joomla-vs-drupal/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 22:46:44 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[cms]]></category>

		<category><![CDATA[drupal]]></category>

		<category><![CDATA[joomla]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=402</guid>
		<description><![CDATA[

Drupal is used more for larger websites since it has scalability, ACL, good taxonomy, CCK and multisite capabilities built in. It also has good search engine integration (Apache Solr). This gives it the edge in the enterprise and large businesses sector.&#160;

Joomla is the more popular CMS in the small and mid sized businesses. This is [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fjoomla%2Fjoomla-vs-drupal%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fjoomla%2Fjoomla-vs-drupal%2F" height="61" width="51" /></a></div><div class="ccontent-avatar">
<p>
<a href="http://trends.builtwith.com/cms/Drupal">Drupal is used more for larger websites</a> since it has scalability, ACL, good taxonomy, CCK and multisite capabilities built in. It also has good search engine integration (Apache Solr). This gives it the edge in the enterprise and large businesses sector.&nbsp;</p>
<p>
Joomla is the more <a href="http://trends.builtwith.com/cms/Joomla!">popular CMS in the small and mid sized businesses</a>. This is mainly because it looks better, and is easier to work with, both for development and for administration of the website. It also has a much larger community and available extensions.&nbsp;</p>
<p>
Drual requires a dedicated developer almost, while Joomla can be maintained by someone with less development experience. Thus it generally costs less to achieve what you want with Joomla.&nbsp;</p>
<p>
While working with Joomla for the 10 years (since Mambo) while at <a href="http://www.fijiwebdesign.com/">Fiji Web Design</a> we did a lot of work on Joomla sites but have found larger clients believe Drupal is superior and thus had to cater for Drupal as well. Personall I don&#8217;t see this as Joomla works just as well for scaling with a few modifications (Though Drupal has this ability out of the box). Joomlas also has good cache support, and can use http level caches or application level such as memcache or reverse proxys just like Drupal.&nbsp;</p>
<p>
My opinion is that <a href="http://www.joomla.org/component/content/article/5252.html">Joomla1.6</a> has addressed many of the major issues with Joomla1.5, giving Joomla the same taxonomy and ACL levels as Drupal. I haven&#8217;t delved into caching but I&#8217;m sure that isn&#8217;t an issue. Thus Joomla is in a good position to service larger businesses and move into that market which has been Drupals for quite a while.&nbsp;</p>
<p>
<a href="http://drupal.org/drupal-7.0">Drupal7</a> has been released also which focuses on mainly of the issues Joomla users have had with Drupal such as a more usable admin panel. Personally Drupal7 is still harder to use then Joomla.&nbsp;</p>
<p>
We have yet to see how Drupal7 and Joomla1.6 match up. As they take on more users we should see this very soon.</p>
<p>
As a developer I prever Joomla. It has a MVC architecture which makes development a lot easier. Drupal&#8217;s API is a bit harder to work with at is requires working with a long list of functions not grouped into Objects or classes which would make it more context apparent when coding. Instead you need the API docs at all times unless you know these functions by heart.&nbsp;</p>
<p>
Sources:</p>
<p>
<a href="http://trends.builtwith.com/cms/Drupal">http://trends.builtwith.com/cms/Drupal</a></p>
<p>
<a href="http://trends.builtwith.com/cms/Joomla!">http://trends.builtwith.com/cms/Joomla!</a></p>
<p>
<a href="http://api.joomla.org/li_Joomla-Framework.html">http://api.joomla.org/li_Joomla-Framework.html</a></p>
<p>
<a href="http://drupal.org/documentation">http://drupal.org/documentation</a></p>
<p>
<a href="http://drupal.org/drupal-7.0">http://drupal.org/drupal-7.0</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/joomla/joomla-vs-drupal/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bing copies Google results experiment was fixed</title>
		<link>http://www.bucabay.com/search-engine/bing-copies-google-results-experiment-fixed/</link>
		<comments>http://www.bucabay.com/search-engine/bing-copies-google-results-experiment-fixed/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 04:19:12 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[search-engine]]></category>

		<category><![CDATA[bing]]></category>

		<category><![CDATA[experiment]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=395</guid>
		<description><![CDATA[Over at SearchEngineLand there is a discussion concerning Bing copying Google&#8217;s search results fueled by an experiment performed by Google to prove this point. 
The experiment in a nutshell was set up by Google employees to provide fake search results for meaningless phrases such as hiybbprqag and see if Bing would show the same results. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fsearch-engine%2Fbing-copies-google-results-experiment-fixed%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fsearch-engine%2Fbing-copies-google-results-experiment-fixed%2F" height="61" width="51" /></a></div><p>Over at SearchEngineLand there is a discussion concerning <a href="http://searchengineland.com/google-bing-is-cheating-copying-our-search-results-62914">Bing copying Google&#8217;s search results</a> fueled by an experiment performed by Google to prove this point. </p>
<p>The experiment in a nutshell was set up by Google employees to provide fake search results for meaningless phrases such as <a href="http://www.bing.com/search?q=hiybbprqag">hiybbprqag</a> and see if Bing would show the same results. The Google employees then used IE to click on the results in Google and monitored the results in Bing. After some time the results showed up in Bing. </p>
<p>The Director at Bing, Stefan Weitz, already explains some of the tools used to &#8220;rank&#8221; pages which explains why the Google experiment shows the results it does. </p>
<blockquote><p>As you might imagine, we use multiple signals and approaches when we think about ranking, but like the rest of the players in this industry, we’re not going to go deep and detailed in how we do it. Clearly, the overarching goal is to do a better job determining the intent of the search, so we can guess at the best and most relevant answer to a given query.<br />
Opt-in programs like the [Bing] toolbar help us with clickstream data, one of many input signals we and other search engines use to help rank sites. This “Google experiment” seems like a hack to confuse and manipulate some of these signals.</p></blockquote>
<p>For one the experiment was performed by Google employees in pursuit of the result they wanted and expected. The conclusion is thus invalid regardless of the outcome. If the outcome had been different they would likely have tried another approach in order to get the desired outcome - if not already the case.</p>
<p>The experiment only validates that Bing uses the user&#8217;s &#8220;clickstream&#8221; to determine which sites are important to that user. Google does the same with their results. No one complains there. </p>
<p>The Google engineers should already know this. They should know that what they are seeing is their own clickstream, not Google&#8217;s results. They are seeing themselves visiting that site often enough to make it important to them in the eyes of Bing. That is why Bing is showing those results, not because it copied Google. It is because the user clicked on it over and over. </p>
<p>There may be a factor that the result is listed on Google search results, which is a site the user would consider relevant to their objectives, but this was not tested in the experiment. In any case, this is the same as any website linking to another site, giving it a measure of relevancy to a certain query.</p>
<p>The only reason it coincides with Google&#8217;s results is that they made it so. They mislead Bing to think they found those sites important to them. What did they expect? They have the same algorithm built into Google.</p>
<p>The only issue here is whether Bing should be using the users clickstream? If Google can, why shouldn&#8217;t Bing? Is there more for Bing to gain? Maybe? Is there more for end users to gain? Definitely. I wouldn&#8217;t want Google to not remember which sites I find relevant personally, same with Bing. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/search-engine/bing-copies-google-results-experiment-fixed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Joomla PHP Pages Component Editor with Syntax Highlighting</title>
		<link>http://www.bucabay.com/joomla/joomla-php-pages-component-editor-with-syntax-highlighting/</link>
		<comments>http://www.bucabay.com/joomla/joomla-php-pages-component-editor-with-syntax-highlighting/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 02:43:30 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[joomla]]></category>

		<category><![CDATA[component]]></category>

		<category><![CDATA[open source]]></category>

		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=390</guid>
		<description><![CDATA[The PHP Pages Component is a Joomla component that allows you to create PHP pages inside Joomla. It is quite a simple component but very powerful. I use it whenever I need to put together a quick PHP page in Joomla, and do not want to have to package a full blown component with MVC [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fjoomla%2Fjoomla-php-pages-component-editor-with-syntax-highlighting%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fjoomla%2Fjoomla-php-pages-component-editor-with-syntax-highlighting%2F" height="61" width="51" /></a></div><p>The<a title="Joomla PHP Pages Component" href="http://www.fijiwebdesign.com/products/joomla-php-pages.html"> PHP Pages Component</a> is a Joomla component that allows you to create PHP pages inside Joomla. It is quite a simple component but very powerful. I use it whenever I need to put together a quick PHP page in Joomla, and do not want to have to package a full blown component with MVC skeleton and all. The PHP pages created in the component has full access to the <a title="Joomla Framework API" href="http://api.joomla.org/li_Joomla-Framework.html">Joomla AP</a>I and thus can do anything a Joomla component can.</p>
<p>A few days ago a Joomla developer posted on our forum and mentioned some <a title="PHP Pages Component Suggestions and Issues" href="http://www.fijiwebdesign.com/component/option,com_fireboard/Itemid,54/func,view/id,1301/catid,10/">issues and suggestions</a> with the PHP Pages Component. I use the component a lot and have come to ignore those issues altogether. However, being the lazy developer I am, always calculating the best way to do less work, I had to spend some time on the component&#8217;s development in order to gain some time later one when using it.</p>
<p>The new Joomla PHP Pages Component now comes with HTML/PHP/JavaScript code syntax highlighting (provided by the awesome <a title="CodeMirror syntax highliter" href="http://codemirror.net/">CodeMirror</a> project). Other User Interface fixes were made to make developing  PHP Pages faster and simpler.</p>
<p>The code is currently very alpha, but works pretty well as far as I can see. Go <a title="Download Joomla PHP pages component" href="http://www.fijiwebdesign.com/products/joomla-php-pages.html">download it</a> if you haven&#8217;t already. Trust me, if you use Joomla as much as I do, it will make your life a lot easier.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/joomla/joomla-php-pages-component-editor-with-syntax-highlighting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Send SMS (TXT Messages) with PHP for free</title>
		<link>http://www.bucabay.com/general/send-sms-txt-messages-with-php-for-free/</link>
		<comments>http://www.bucabay.com/general/send-sms-txt-messages-with-php-for-free/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 22:16:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[general]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[sms]]></category>

		<category><![CDATA[txt]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=387</guid>
		<description><![CDATA[You can send SMS (TXT Messages) for free to most Phone carriers by sending an email to their Email to SMS gateway. 
A list of carriers email to SMS gateways is here:
http://en.wikipedia.org/wiki/List_of_SMS_gateways
I wrote a class based on this a while ago but never got around to finishing it:


< ?php
/**
 * Send SMS via Email to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fgeneral%2Fsend-sms-txt-messages-with-php-for-free%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fgeneral%2Fsend-sms-txt-messages-with-php-for-free%2F" height="61" width="51" /></a></div><p>You can send SMS (TXT Messages) for free to most Phone carriers by sending an email to their Email to SMS gateway. </p>
<p>A list of carriers email to SMS gateways is here:<br />
http://en.wikipedia.org/wiki/List_of_SMS_gateways</p>
<p>I wrote a class based on this a while ago but never got around to finishing it:</p>
<pre name="code" class="php">

< ?php
/**
 * Send SMS via Email to SMS gateways
 *
 * Please note that the list of carreirs is UTF-8 encoded. ie: Mexico != México
 *
 * @author gabe@fijiwebdesign.com
 * @link http://www.fijiwebdesign.com/
 */
class email2sms {
	/**
	 * A list of the major Phone carriers and their Email 2 SMS gateway syntax
	 * Compiled from: http://en.wikipedia.org/wiki/List_of_carriers_providing_SMS_transit
	 */
	protected static $carriers = array(
		array("Airtel", "Andhra Pradesh, India", "#@airtelap.com"),
		array("Airtel", "Karnataka, India", "#@airtelkkk.com"),
		array("Alaska Communications Systems", "USA", "#@msg.acsalaska.net"),
		array("Alltel Wireless Verizon Wireless", "USA", "#@text.wireless.alltel.com,#@mms.alltel.net"),
		array("aql", "UK", "#@text.aql.com"),
		array("AT&#038;T Wireless", "USA", "#@txt.att.net,#@mms.att.net"),
		array("AT&#038;T", "USA", "#@mmode.com"),
		array("AT&#038;T Mobility", "USA", "#@mms.att.net,#@txt.att.net,#@cingularme.com"),
		array("AT&#038;T", "USA", "#@page.att.net"),
		array("Bell", "Canada", "#@txt.bell.ca,#@txt.bellmobility.ca"),
		array("Boost Mobile", "USA", "#@boostmobile.com"),
		array("Bouygues Télécom (company)", "France", "#@mms.bouyguestelecom.fr"),
		array("[[Loop_Mobile_India|Loop] (BPL Mobile)", "Mumbai, India", "#@bplmobile.com"),
		array("Cellular One", "USA", "#@mobile.celloneusa.com"),
		array("Cingular", "USA", "#@cingular.com"),
		array("Centennial Wireless", "United States, Puerto Rico, U.S. Virgin Islands", "#@cwemail.com"),
		array("Cincinnati Bell", "Cincinnati, Ohio, USA", "#@gocbw.com,#@mms.gocbw.com"),
		array("Claro", "Brasil", "#@clarotorpedo.com.br"),
		array("Claro", "Nicaragua", "#@ideasclaro-ca.com"),
		array("Comcel", "Colombia", "#@comcel.com.co"),
		array("Cricket", "", "#@mms.mycricket.com,#@sms.mycricket.com"),
		array("CTI Móvil Claro", "Argentina", "#@sms.ctimovil.com.ar"),
		array("Emtel", "Mauritius", "#@emtelworld.net"),
		array("Fido", "Canada", "#@fido.ca"),
		array("General Communications Inc.", "Alaska", "#@msg.gci.net"),
		array("Globalstar satellite", "", "#@msg.globalstarusa.com"),
		array("Helio", "", "#@myhelio.com"),
		array("Iridium", "", "#@msg.iridium.com"),
		array("i-wireless (Sprint PCS)", "", "#@iwirelesshometext.com"),
		array("Mero Mobile", "Nepal", "#@sms.spicenepal.com"),
		array("MetroPCS", "", "#@mymetropcs.com"),
		array("Movicom", "", "#@movimensaje.com.ar"),
		array("Mobitel", "Sri Lanka", "#@sms.mobitel.lk"),
		array("Movistar", "Colombia", "#@movistar.com.co"),
		array("MTN", "South Africa", "#@sms.co.za"),
		array("MTS Mobility", "Canada", "#@text.mtsmobility.com"),
		array("Nextel", "United States", "#@messaging.nextel.com"),
		array("Nextel", "México", "#@msgnextel.com.mx"),
		array("Nextel", "Argentina", "#@nextel.net.ar"),
		array("Orange Polska", "Poland", "#@orange.pl"),
		array("Personal", "Argentina", "#@alertas.personal.com.ar"),
		array("Plus", "Poland", "#@text.plusgsm.pl"),
		array("PC Telecom", "Canada", "#@mobiletxt.ca"),
		array("Qwest Wireless", "USA", "#@qwestmp.com"),
		array("Rogers Wireless", "Canada", "#@pcs.rogers.com"),
		array("SaskTel", "Canada", "#@sms.sasktel.com"),
		array("Setar", "Aruba", "#@mas.aw"),
		array("Sprint (PCS)", "USA", "#@messaging.sprintpcs.com,#@pm.sprint.com"),
		array("Sprint (Nextel)", "USA", "#@page.nextel.com,#@messaging.nextel.com"),
		array("Suncom", "", "#@tms.suncom.com"),
		array("Sunrise Communications", "Switzerland", "#@gsm.sunrise.ch"),
		array("Syringa Wireless", "USA", "#@rinasms.com"),
		array("T-Mobile", "USA", "#@tmomail.net"),
		array("T-Mobile", "Austria", "#@sms.t-mobile.at"),
		array("T-Mobile", "Croatia", "#@sms.t-mobile.hr"),
		array("Telus Mobility", "Canada", "#@msg.telus.com"),
		array("Tigo", "Colombia", "#@sms.tigo.com.co"),
		array("Tracfone", "", "#@mmst5.tracfone.com,#@txt.att.net,#@tmomail.net,#@vtext.com,#@email.uscc.net,#@message.alltel.com"),
		array("Unicel", "USA", "#@utext.com"),
		array("US Cellular", "USA", "#@email.uscc.net,#@mms.uscc.net"),
		array("Verizon", "USA", "#@vtext.com,#@vzwpix.com"),
		array("Viaero", "USA", "#@viaerosms.com,#@mmsviaero.com"),
		array("Vivo", "Brasil", "#@torpedoemail.com.br"),
		array("Virgin Mobile", "Canada", "#@vmobile.ca"),
		array("Virgin Mobile", "USA", "#@bills.com,#@vmobl.com,#@vmpix.com"),
		array("Vodacom", "South Africa", "#@voda.co.za")
	);

	/**
	 * Send an SMS to a Phone Number
	 * @return Bool
	 * @param $msg String SMS/TXT message
	 * @param $to Int Receivers Phone number
	 * @param $from String From Email address or phone number
	 * @param $carrier String Carrier Name (index of self::$carriers)
	 *
	 * @todo 	at the moment we only send to the first listed email
	 * 			In the future it would be good to check the existence of mailbox at each domain
	 *
	 *
	 */
	public function send($msg, $to, $carrier, $from) {
		$carriers = self::$carriers;
		if (!isset($carriers[$carrier])) {
			throw new Exception('The requested carrier was not found');
			return false;
		}
		$addresses = explode(',', $carriers[$carrier][2]);
		$address = str_replace('#', $to, $addresses[0]);
		if (!mail($address, $msg, $msg, "from:$from\n")) {
			throw new Exception('The Email could not be sent to SMS gateway');
			return false;
		}
		return true;
	}

	/**
	 * Return a Carrier by phone number
	 * @return Array
	 * @param $name String
	 */
	public function getCarrierByNumber($number) {
		// todo
		// here we would query MTA at each domain for mailbox existence
	}

	/**
	 * Return a Carrier by name
	 * @return Array
	 * @param $name String
	 */
	public function getCarrierByName($name) {
		return isset(self::$carriers[$name]) ? self::$carriers[$name] : null;
	}

	/**
	 * Retrieve a list of Carriers by region
	 * @return Array
	 * @param $region String[optional] Return only gateways in this region. eg: "USA" or "India"
	 */
	public function getCarriersByRegion($region = false) {
		$carriers = self::$carriers;
		if ($region) {
			$_carriers = array();
			$region = strtolower($region);
			foreach($carriers as $carrier) {
				if (in_array($region, explode(', ', strtolower($carrier[1])))) {
					$_carriers[] = $carrier;
				}
			}
			return $_carriers;
		}
		return $carriers;
	}

	/**
	 * Retrieve the regions in carrier list
	 * @return Array
	 */
	public function getRegions() {
		$regions = array();
		foreach(self::$carriers as $carrier) {
			$regions[$carrier->region] = 1;
		}
		return array_keys($regions);
	}

}

?>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/general/send-sms-txt-messages-with-php-for-free/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP File Session Reader</title>
		<link>http://www.bucabay.com/php/php-file-session-reader/</link>
		<comments>http://www.bucabay.com/php/php-file-session-reader/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 18:55:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[php]]></category>

		<category><![CDATA[file]]></category>

		<category><![CDATA[serialization]]></category>

		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=380</guid>
		<description><![CDATA[Here is a PHP class that provides an interface for reading the PHP session data. 
PHP alone only gives you access to the current users session. This class allows you to read all session files, and thus allow you to read session data across different users. 
This may be useful if you want to copy, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fphp%2Fphp-file-session-reader%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fphp%2Fphp-file-session-reader%2F" height="61" width="51" /></a></div><p>Here is a PHP class that provides an interface for reading the PHP session data. </p>
<p>PHP alone only gives you access to the current users session. This class allows you to read all session files, and thus allow you to read session data across different users. </p>
<p>This may be useful if you want to copy, backups session data, or transfer to a different format/handler etc.. </p>
<p>At the moment it only reads file based session handling, with PHP doing the serializing and handling (the default setting). It does not support other session handlers or serializers. </p>
<p>You can extend the base abstract class for different handlers and serializations.</p>
<pre name="code" class="php">
/**
 * Class for retrieving session data when save handler is files
 *
 * Features:
 * Retrieving of all session data saved by PHP, not just the current user
 * Encoding and decoding in PHP session format (not serialize|unserialize)
 *
 * @author gabe@fijiwebdesign.com
 * @link http://www.fijiwebdesign.com/
 *
 */
class FileSessionData extends AbstractSessionData
{

  /**
   * @var array Sesssion Files
   */
  static $sess_files;
  /**
   * @var array Session Ids
   */
  static $sess_ids;

  /**
   * Do not call constructor, use FileSessionData::singleton();
   */
  protected function __construct()
  {
    // configs
    $this->handler = ini_get('session.save_handler');
    $this->save_path = ini_get('session.save_path');

    // make sure session is using files
    if ( $this->handler !== 'files')
    {
      throw new Exception('This class (' . __CLASS__ .') only works for file based session handling.');
    }

    // start session (it may already be started so suppress errors)
    @session_start();
  }

  /**
   * Retrieve a single instance of this class
   *
   * @usage
   *
   * $SessionData = FileSessionData::singleton();
   *
   */
  public static function singleton(array $args = array())
  {
    return parent::singleton(__CLASS__, $args);
  }

  /**
   * Get the session Object for a session id
   *
   * @param string Session ID
   *
   * @return array|bool
   */
  public function get($sess_id)
  {
    $data = $this->read($sess_id);
    if ($data)
    {
      return self::decode($data);
    }
    return false;
  }

  /**
   * Save the session Object for a session id
   *
   * @param string Session ID
   * @param array Session Object
   *
   * @return Bool
   */
  public function set($sess_id, array $sess)
  {
    $data = self::encode($sess);
    return $this->write($sess_id, $data);
  }

  /**
   * Unset a session
   *
   * @param string Session ID
   *
   * @return Bool
   */
  public function un_set($sess_id)
  {
    return unlink($this->getPath($sess_id));
  }

  /**
   * Returns if a session exists given it's ID
   *
   * @param string Session ID
   *
   * @return Bool
   */
  public function is_set($sess_id)
  {
    return file_exists($this->getPath($sess_id));
  }

  /**
   * Write raw session data to a session
   *
   * @param string Session Id
   * @param string Session encoded data
   *
   * @return Bool Write result
   */
  public function write($sess_id, $data)
  {
    return file_put_contents($this->getPath($sess_id), $data);
  }

  /**
   * Read raw session data from a session
   *
   * @param string Session Id
   *
   * @return string Session Data
   */
  public function read($sess_id)
  {
    return file_get_contents($this->getPath($sess_id));
  }

  /**
   * Retrieve all session Ids
   *
   * @return array
   */
  public function getIds()
  {

    if (!self::$sess_ids)
    {

      $files = $this->getFiles();

      self::$sess_ids = array();
      foreach($files as $file) {
        // @todo use substr ?
        $parts = explode('_', $file);
        self::$sess_ids[] = array_pop($parts);
      }
    }

    return self::$sess_ids;

  }

  /**
   * Retrieve the file to the session given its id
   *
   * @param string Session ID
   *
   * @return string Session Path (Path may not exist)
   */
  private function getPath($sess_id)
  {
    return $this->save_path . '/sess_' . $sess_id;
  }

  /**
   * Retrieve the list of session files
   *
   * @return array
   */
  private function getFiles()
  {
    if (!self::$sess_files)
    {
      self::$sess_files = glob($this->save_path . '/sess_*');
    }

    return self::$sess_files;
  }

   /**
   * Decode/Unserialize encoded session data string
   *
   * @param string Session encoded data
   *
   * @return string Session Object
   */
  public static function decode($data)
  {
    return parent::decode($data);

  }

  /**
   * Encode/Serialize Object in session format
   *
   * @param array Session Object
   *
   * @return string Session encoded data
   */
  public static function encode(array $sess)
  {
    return parent::encode($sess);
  }

  /**
   * Maps isset() and unset()
   */
  public function __call($method, $args)
  {
    if ($method == 'isset')
    {
      return call_user_func_array(array($this, 'is_set'), $args);
    }
    else if ($method == 'unset')
    {
      return call_user_func_array(array($this, 'un_set'), $args);
    }
    else
      {
        throw new Exception('Call to non-existant method ' . htmlentities($method) . ' of class ' . htmlentities(__CLASS__));
      }
  }

}

/**
 * Class for retrieving session data
 *
 * Features:
 * Retrieving of all session data saved by PHP, not just the current user
 * Encoding and decoding in PHP session format (not serialize|unserialize)
 *
 * @author gabe@fijiwebdesign.com
 * @link http://www.fijiwebdesign.com/
 *
 * This class must be implemented for each Session Handler as retrieving session data will be different for each
 *
 */
abstract class AbstractSessionData
{

  /**
   * Retrieve a single instance of this class
   *
   * @usage
   *
   * $SessionData = AbstractSessionData::singleton('FileSessionData');
   *
   */
  public static function singleton($classname, array $args)
  {
    static $instance = array();
    if (!isset($instance[$classname]))
    {
      $instance[$classname] = new $classname;
    }

    return $instance[$classname];
  }

  /**
   * Get the session Object for a session id
   *
   * @param string Session ID
   *
   * @return array|Bool
   */
  abstract public function get($sess_id);

  /**
   * Save the session Object for a session id
   *
   * @param string Session ID
   * @param array Session Object
   *
   * @return Bool
   */
  abstract public function set($sess_id, array $sess);

  /**
   * Unset a session
   *
   * @param string Session ID
   *
   * @return Bool
   */
  abstract public function un_set($sess_id);

  /**
   * Returns if a session exists given it's ID
   *
   * @param string Session ID
   *
   * @return Bool
   */
  abstract public function is_set($sess_id);
  /**
   * Write raw session data to a session
   *
   * @param string Session Id
   * @param string Session encoded data
   *
   * @return Bool Write result
   */
  abstract public function write($sess_id, $data);

  /**
   * Read raw session data from a session
   *
   * @param string Session Id
   *
   * @return string Session Data
   */
  abstract public function read($sess_id);

  /**
   * Retrieve all session Ids
   *
   * @return array
   */
  abstract public function getIds();

  /**
   * Decode/Unserialize encoded session data string
   *
   * @param string Session encoded data
   *
   * @return string Session Object
   */
  public static function decode($data)
  {
    // save current session var and empty it
    $sess_orig = $_SESSION;
    $_SESSION = array();

    // decode session data to $_SESSION
    session_decode($data);

    // restore original session
    $sess = $_SESSION;
    $_SESSION = $sess_orig; 

    return $sess;

  }

  /**
   * Encode/Serialize Object in session format
   *
   * @param array Session Object
   *
   * @return string Session encoded data
   */
  public static function encode(array $sess)
  {
    // save current session var
    $sess_orig = $_SESSION;
    $_SESSION = $sess;

    // decode session data in $_SESSION
    $data = session_encode();

    // restore original session
    $_SESSION = $sess_orig; 

    return $data;

  }

}
</pre>
<h3>Example Usage of the PHP File Session Reader Class</h3>
<pre name="code" class="php">

// include the classes
require 'FileSessionData.php';

// instantiate the file session reader
$FileSession = FileSessionData::singleton();

// get all saved session ids
$sess_ids = $FileSession->getIds();

// loop through each session id on the server and show session data
foreach($sess_ids as $id)
{
  // get the session data
  if ($data = $FileSession->get($id))
  {
    // dump session array
    dumper($data);
    // dump serialized session
    dumper(FileSessionData::encode($data));

    exit; // lets limit to just one for testing
  }
}

/**
 * Dump utility
 * @param Object
 */
function dumper($data)
{
  echo '<code>' . print_r($data, true) . '</code>';
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/php/php-file-session-reader/feed/</wfw:commentRss>
		</item>
		<item>
		<title>In need of an update</title>
		<link>http://www.bucabay.com/updates/in-need-of-an-update/</link>
		<comments>http://www.bucabay.com/updates/in-need-of-an-update/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 03:47:49 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=377</guid>
		<description><![CDATA[Looks like I haven&#8217;t updated on my blog for over 3 months! 
Now that Vara and Joana are here, it seems there just isn&#8217;t enough time to do everything, or at least the things we planned to do. There is still that trip to Disneyland, Joana&#8217;s Ballet lessons and other things on the list that [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fupdates%2Fin-need-of-an-update%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fupdates%2Fin-need-of-an-update%2F" height="61" width="51" /></a></div><p>Looks like I haven&#8217;t updated on my blog for over 3 months! </p>
<p>Now that Vara and Joana are here, it seems there just isn&#8217;t enough time to do everything, or at least the things we planned to do. There is still that trip to Disneyland, Joana&#8217;s Ballet lessons and other things on the list that never got done - while their trip back to Fiji is just around the corner. Yet, like the cup that is half empty, it is also half full. When you add up all the things we&#8217;ve been up to while here I must say our cup is half full. We&#8217;ve got to see most the friends here in the US, Roberta and Mele actually make it over here and we had an awesome time together, not to mention each one of us is a bit darker now from spending so much time at the beach - cup definitely half full. </p>
<p>I also found a job I really like. It just only been my first week but it is looking very good. I&#8217;ve had to learn Perl in one week and rather enjoyed it. I&#8217;ve got to using PHP way too much, to the point I don&#8217;t feel there is much more to learn with that language except for an infinite list of frameworks and design patterns that spring up and mutate daily. </p>
<p>Anyway, I&#8217;ve been sick these last two days, and it is good it was on the weekend. I&#8217;ve tried to keep my screen time to a minimum so this is where I stop for tonight.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/updates/in-need-of-an-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Joana&#8217;s first drawings in Florida</title>
		<link>http://www.bucabay.com/joana/joanas-first-drawings-in-florida/</link>
		<comments>http://www.bucabay.com/joana/joanas-first-drawings-in-florida/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 16:04:51 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[drawing]]></category>

		<category><![CDATA[joana]]></category>

		<category><![CDATA[family]]></category>

		<category><![CDATA[florida]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=375</guid>
		<description><![CDATA[Joana is really improving her drawing skills. Here is two drawings she did this week. 
This one is of her and her mommy with Grandmother Willow. (from Pocahontas)

This one is of our family.

]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fjoana%2Fjoanas-first-drawings-in-florida%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fjoana%2Fjoanas-first-drawings-in-florida%2F" height="61" width="51" /></a></div><p>Joana is really improving her drawing skills. Here is two drawings she did this week. </p>
<h4>This one is of her and her mommy with Grandmother Willow. (from Pocahontas)</h4>
<p><a href="http://www.flickr.com/photos/bucabay/4735334891/"><img src="http://farm5.static.flickr.com/4116/4735334891_1c8a49058d.jpg" border="0" /></a></p>
<h4>This one is of our family.</h4>
<p><a href="http://www.flickr.com/photos/bucabay/4735972506/in/photostream/"><img src="http://farm5.static.flickr.com/4099/4735972506_5d9993f6aa.jpg" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/joana/joanas-first-drawings-in-florida/feed/</wfw:commentRss>
		</item>
		<item>
		<title>JavaScript Regex match all characters</title>
		<link>http://www.bucabay.com/javascript/javascript-regex-match-all-characters/</link>
		<comments>http://www.bucabay.com/javascript/javascript-regex-match-all-characters/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 01:32:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[javascript]]></category>

		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=367</guid>
		<description><![CDATA[JavaScript regular expressions (browser) do not have a modifier allowing the dot (.) to match all characters including the newline like the &#8217;s&#8217; modifier does for PERL and PCRE in PHP. 
However a cool tip I learnt just recently is that using a character class and it&#8217;s negated version will allow you to match all [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fjavascript%2Fjavascript-regex-match-all-characters%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fjavascript%2Fjavascript-regex-match-all-characters%2F" height="61" width="51" /></a></div><p>JavaScript regular expressions (browser) do not have a modifier allowing the dot (.) to match all characters including the newline like the &#8217;s&#8217; modifier does for PERL and PCRE in PHP. </p>
<p>However a cool tip I learnt just recently is that using a character class and it&#8217;s negated version will allow you to match all characters. Eg: <code>/[\s\S]/g</code> will match all characters in a JavaScript Regular Expression. </p>
<p>I used this trick in the <a href="http://www.bucabay.com/javascript/ascii-to-hex-in-javascript/">ASCII to Hex conversion JavaScript code</a> I posted a few days ago and thought to mention it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/javascript/javascript-regex-match-all-characters/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Joana&#8217;s drawing of our Family</title>
		<link>http://www.bucabay.com/joana/joanas-drawing-of-our-family/</link>
		<comments>http://www.bucabay.com/joana/joanas-drawing-of-our-family/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 01:45:05 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[drawing]]></category>

		<category><![CDATA[joana]]></category>

		<category><![CDATA[family]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=365</guid>
		<description><![CDATA[Joana did this drawing of our family a few days ago. 

]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fjoana%2Fjoanas-drawing-of-our-family%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fjoana%2Fjoanas-drawing-of-our-family%2F" height="61" width="51" /></a></div><p>Joana did this drawing of our family a few days ago. </p>
<p><a href="http://www.flickr.com/photos/bucabay/4701350971/"><img src="http://farm5.static.flickr.com/4059/4701350971_2743a223a2.jpg" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/joana/joanas-drawing-of-our-family/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Joana&#8217;s drawing of Aunty T</title>
		<link>http://www.bucabay.com/pictures/joanas-drawing-of-aunty-t/</link>
		<comments>http://www.bucabay.com/pictures/joanas-drawing-of-aunty-t/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 04:02:02 +0000</pubDate>
		<dc:creator>bucabay</dc:creator>
		
		<category><![CDATA[joana]]></category>

		<category><![CDATA[pictures]]></category>

		<category><![CDATA[drawing]]></category>

		<guid isPermaLink="false">http://www.bucabay.com/?p=361</guid>
		<description><![CDATA[Vara sent me a scan of Joana&#8217;s latest masterpiece :). A drawing of her Aunty T. 

]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.bucabay.com%2Fpictures%2Fjoanas-drawing-of-aunty-t%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.bucabay.com%2Fpictures%2Fjoanas-drawing-of-aunty-t%2F" height="61" width="51" /></a></div><p>Vara sent me a scan of Joana&#8217;s latest masterpiece :). A drawing of her Aunty T. </p>
<p><img src="http://farm5.static.flickr.com/4025/4698203761_45a5ce4259.jpg" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bucabay.com/pictures/joanas-drawing-of-aunty-t/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

