<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>.: the bojicas &#187; Business</title>
	<atom:link href="http://blog.bojica.com/category/business/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bojica.com</link>
	<description>family is all that matters. think!</description>
	<lastBuildDate>Sun, 27 Jun 2010 16:22:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.4" -->
		<copyright>Copyright &#xA9; 2010 .: the bojicas </copyright>
		<managingEditor>bojicas@gmail.com ()</managingEditor>
		<webMaster>bojicas@gmail.com ()</webMaster>
		<category>posts</category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>family is all that matters. think!</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>bojicas@gmail.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://blog.bojica.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://blog.bojica.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>.: the bojicas</title>
			<link>http://blog.bojica.com</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Setting up Plone to show Dubai time</title>
		<link>http://blog.bojica.com/2009/04/30/setting-up-plone-to-show-dubai-time</link>
		<comments>http://blog.bojica.com/2009/04/30/setting-up-plone-to-show-dubai-time#comments</comments>
		<pubDate>Thu, 30 Apr 2009 19:44:13 +0000</pubDate>
		<dc:creator>Silviu D. Bojica</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Science & Technology]]></category>

		<guid isPermaLink="false">http://blog.bojica.com/?p=200</guid>
		<description><![CDATA[As a short introduction, Plone is an excellent content and document management system. I would not insist on its features and installation as it installs as a normal Mac OS X application. For this, you may find more visiting Plone.org website. In exchange, I will present the issue I had with the timezone for Dubai [...]]]></description>
			<content:encoded><![CDATA[<p>As a short introduction, <em>Plone</em> is an excellent content and document management system. I would not insist on its features and installation as it installs as a normal Mac OS X application. For this, you may find more visiting <a class="external-link" href="http://plone.org">Plone.org</a> website.</p>
<p>In exchange, I will present the issue I had with the timezone for Dubai and the workaround&#8230;</p>
<p>For some reason, the default Plone installation doesn&#8217;t pick the right time for <em>Asia/Dubai</em>.</p>
<p>So I googled back and forward but couldn&#8217;t find the correct answer.</p>
<p align="left">In fact, those tips will work for something like <em>Europe/Berlin</em> (eg setting up <em>TZ</em> variable to <em>Europe/Berlin</em>), but setting up <em>TZ</em> environment variable to <em>Asia/Dubai</em> will give me something like <em>GMT+10</em>? Obviously wrong.</p>
<p>So, the workaround is to set up the <em>TZ</em> environment variable to something more general, like <em>Etc/GMT+4</em>. We don&#8217;t care about daylight saving issues, so it should work all year round.</p>
<p>Enough words, let me know show you some code. Let&#8217;s suppose that you downloaded version 3.2.2 from <a class="external-link" href="http://plone.org/products/plone">http://plone.org/products/plone</a> for Mac OS X and used the Stand Alone installation, then, edit <em>/Applications/Plone/zinstance/buildout.cfg</em> file and locate the following lines under <em>[instance]</em> section:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># You may also control the environment variables for the instance.</span>
environment-vars =
    PYTHON_EGG_CACHE <span style="color: #800000;">${buildout:directory}</span><span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>.python-eggs</pre></div></div>

<p>Now add the TZ environment variable to point to Etc/GMT+4:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># You may also control the environment variables for the instance.</span>
environment-vars =
    PYTHON_EGG_CACHE <span style="color: #800000;">${buildout:directory}</span><span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>.python-eggs
    TZ Etc<span style="color: #000000; font-weight: bold;">/</span>GMT+<span style="color: #000000;">4</span></pre></div></div>

<p>Save the file, then run from your Terminal:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>Applications<span style="color: #000000; font-weight: bold;">/</span>Plone<span style="color: #000000; font-weight: bold;">/</span>zinstance<span style="color: #000000; font-weight: bold;">/</span>
.<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>plonectl stop
.<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>buildout
.<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>plonectl start</pre></div></div>

<p>Now, back in your favourite browser and launch <a class="external-link" href="../../.">http://localhost:8080/Plone</a>.</p>
<p>You would see now, that Plone will report the correct time.</p>
<p>Bellow, let me show you a snapshot of the same blog post, edited in Plone:</p>
<p><a href='http://www.quicksnapper.com/bojicas/image/setting-up-plone-to-show-dubai-time-portal' alt='View the image at QuickSnapper.com'><img src='http://www.quicksnapper.com/files/2282/24094828149F9FEE4C2661_m.png' title='Hosted by QuickSnapper.com' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bojica.com/2009/04/30/setting-up-plone-to-show-dubai-time/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping session data across subdomains in Rails 2.3.2</title>
		<link>http://blog.bojica.com/2009/04/29/keeping-session-data-across-subdomains-in-rails-232</link>
		<comments>http://blog.bojica.com/2009/04/29/keeping-session-data-across-subdomains-in-rails-232#comments</comments>
		<pubDate>Wed, 29 Apr 2009 15:52:24 +0000</pubDate>
		<dc:creator>Silviu D. Bojica</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[w2task]]></category>

		<guid isPermaLink="false">http://blog.bojica.com/?p=194</guid>
		<description><![CDATA[Upgrading to Rails 2.3.2 I came across with the error of not keeping the session data between subdomains. That meant I had to authenticate each time I would change the subdomain. The fix is simple. Prior to version 2.3.2, I have had something like this in environments/development.rb file: ActionController::Base.session_options[:session_domain] = '.w2task.local' In Rails 2.3.2, I [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both">Upgrading to Rails 2.3.2 I came across with the error of not keeping the session data between subdomains. That meant I had to authenticate each time I would change the subdomain.</p>
<p style="clear: both">The fix is simple.</p>
<p style="clear: both">
<p style="clear: both">Prior to version 2.3.2, I have had something like this in <em>environments/development.rb</em> file:</p>
<p style="clear: both">
<pre lang="ruby" style="clear: both">ActionController::Base.session_options[:session_domain] = '.w2task.local'
</pre>
<p style="clear: both">
<p style="clear: both">In Rails 2.3.2, I had to change this line into:</p>
<p style="clear: both">
<pre lang="ruby" style="clear: both">config.action_controller.session = {
  :domain => ".w2task.local"
}
</pre>
<p style="clear: both">
<p style="clear: both">Of course, same principle applies to <em>development.rb</em>, where:</p>
<p style="clear: both">
<pre lang="ruby" style="clear: both">config.action_controller.session = {
  :domain => ".w2task.com"
}
</pre>
<p style="clear: both">
<p style="clear: both">I&#8217;ve lost some hours in researching this solution, so I hope this will help others in need. too. As usual, I will be more than happy to hear comments from you.</p>
<p style="clear: both">
<p style="clear: both">Happy coding!</p>
<p><br class="final-break" style="clear: both" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bojica.com/2009/04/29/keeping-session-data-across-subdomains-in-rails-232/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>W2task &#8211; screencast</title>
		<link>http://blog.bojica.com/2009/02/12/w2task-screencast</link>
		<comments>http://blog.bojica.com/2009/02/12/w2task-screencast#comments</comments>
		<pubDate>Thu, 12 Feb 2009 06:38:20 +0000</pubDate>
		<dc:creator>Silviu D. Bojica</dc:creator>
				<category><![CDATA[w2task]]></category>

		<guid isPermaLink="false">http://blog.bojica.com/?p=168</guid>
		<description><![CDATA[This is my first attempt to create a screencast, related to my w2task.com project. Comments are welcome. For a higher resolution version, please check W2task screencast on screencast.com. Update. I have posted a flash version, too. Enjoy.]]></description>
			<content:encoded><![CDATA[<p>This is my first attempt to create a screencast, related to my w2task.com project. Comments are welcome.</p>
<p><object classid="clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b" width="480" height="376" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"><param name="name" value="Video" /><param name="src" value="http://content.screencast.com/users/bojicas/folders/Default/media/4beaeafe-7fa6-4bda-9792-c1c9c6c0e240/w2task_screencast_01_480x360.mov" /><param name="autoplay" value="false" /><param name="controller" value="true" /><param name="enablejavascript" value="true" /><param name="playCount" value="1" /><param name="starttime" value="0" /><embed type="video/quicktime" width="480" height="376" src="http://content.screencast.com/users/bojicas/folders/Default/media/4beaeafe-7fa6-4bda-9792-c1c9c6c0e240/w2task_screencast_01_480x360.mov" starttime="0" playcount="1" enablejavascript="true" controller="true" autoplay="false" name="Video"></embed></object></p>
<p>For a higher resolution version, please check <a href="http://www.screencast.com/t/31w0A9DML19">W2task screencast</a> on screencast.com.</p>
<p>Update. I have posted a flash version, too. Enjoy.</p>
<p><object width="480" height="318"><param name="movie" value="http://content.screencast.com/users/bojicas/folders/Default/media/58175b2c-7e86-4007-a254-c89e243fabf2/flvplayer.swf"></param><param name="quality" value="high"></param><param name="bgcolor" value="#FFFFFF"></param><param name="flashVars" value="thumb=http://content.screencast.com/users/bojicas/folders/Default/media/58175b2c-7e86-4007-a254-c89e243fabf2/FirstFrame.jpg&#038;width=480&#038;height=318&#038;content=http://content.screencast.com/users/bojicas/folders/Default/media/58175b2c-7e86-4007-a254-c89e243fabf2/w2task_screencast_01_flv_256kbit%20copy_5.flv"></param><param name="allowFullScreen" value="true"></param><param name="scale" value="showall"></param><param name="allowScriptAccess" value="always"></param><param name="base" value="http://content.screencast.com/users/bojicas/folders/Default/media/58175b2c-7e86-4007-a254-c89e243fabf2/"></param>  <embed src="http://content.screencast.com/users/bojicas/folders/Default/media/58175b2c-7e86-4007-a254-c89e243fabf2/flvplayer.swf" quality="high" bgcolor="#FFFFFF" width="480" height="318" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/bojicas/folders/Default/media/58175b2c-7e86-4007-a254-c89e243fabf2/FirstFrame.jpg&#038;width=480&#038;height=318&#038;content=http://content.screencast.com/users/bojicas/folders/Default/media/58175b2c-7e86-4007-a254-c89e243fabf2/w2task_screencast_01_flv_256kbit%20copy_5.flv" allowFullScreen="true" base="http://content.screencast.com/users/bojicas/folders/Default/media/58175b2c-7e86-4007-a254-c89e243fabf2/" scale="showall"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bojica.com/2009/02/12/w2task-screencast/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://content.screencast.com/users/bojicas/folders/Default/media/4beaeafe-7fa6-4bda-9792-c1c9c6c0e240/w2task_screencast_01_480x360.mov" length="22429660" type="video/quicktime" />
		</item>
		<item>
		<title>Banks, peanuts and donuts</title>
		<link>http://blog.bojica.com/2009/02/06/banks-peanuts-and-donuts</link>
		<comments>http://blog.bojica.com/2009/02/06/banks-peanuts-and-donuts#comments</comments>
		<pubDate>Fri, 06 Feb 2009 10:00:10 +0000</pubDate>
		<dc:creator>Silviu D. Bojica</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Dor de tara (Romanian)]]></category>
		<category><![CDATA[Viata in Emirate]]></category>

		<guid isPermaLink="false">http://blog.bojica.com/?p=163</guid>
		<description><![CDATA[[EN] Banks, peanuts and donuts &#8211; are not always a good match in my opinion. In Sharjah, I&#8217;ve recently seen such an ad for a well known bank. If in English, selling peanuts has a meaning of selling worthless things, in Romanian, selling donuts means selling overpriced things or worse &#8211; selling lies &#8211; oops. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>[EN]</strong> Banks, peanuts and donuts &#8211; are not always a good match in my opinion. In Sharjah, I&#8217;ve recently seen such an ad for a well known bank.</p>
<p>If in English, <em>selling peanuts</em> has a meaning of <em>selling worthless things</em>, in Romanian, <em>selling donuts</em> means selling overpriced things or worse &#8211; <em>selling lies</em> &#8211; oops.</p>
<p>Knowing this, let&#8217;s see the ad, in pictures &#8230;</p>
<blockquote><p>Other banks offering you this?</p></blockquote>
<p> </p>
<div id="attachment_164" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-164" title="Other banks offering you this?" src="http://blog.bojica.com/wp-content/uploads/2009/02/05022009319-300x225.jpg" alt="Other banks offering you this?" width="300" height="225" /><p class="wp-caption-text">Other banks offering you this?</p></div>
<p>The sweetest thing. No problem, we&#8217;re offering &#8230; donuts (ooopss) &#8230; </p>
<p> </p>
<div id="attachment_165" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-165" title="The sweetest thing" src="http://blog.bojica.com/wp-content/uploads/2009/02/05022009320-300x225.jpg" alt="The sweetest thing" width="300" height="225" /><p class="wp-caption-text">The sweetest thing</p></div>
<p>Nice, isn&#8217;t it? We are leaving into a cosmopolitan country and we need to take care of the way others are seeing us. One size doesn&#8217;t fit all. Be aware marketers!</p>
<p> </p>
<p> </p>
<p><strong>[RO]</strong> Bănci, alune și gogoși &#8211; în opinia mea nu fac întotdeauna echipă bună. în Sharjah, Emiratele Arabe Unite, am văzut de curând un astfel de panou publicitar stradal al unei cunoscute bănci locale.</p>
<p>Dacă în engleză, expresia <em>a vinde alune</em> e folosită cu înțelesul de <em>a vinde mărunțișuri</em>, în română, <em>a vinde gogoși</em> echivalează cu a vinde &#8230; hai să fim direcți &#8211; <em>a vinde minciuni </em>- ups.</p>
<p>Având în minte acestea, să vedem reclama, în imagini&#8230;</p>
<p>Alte bănci vă oferă asta? (alune &#8211; a se citi mărunțișuri)</p>
<div id="attachment_164" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-164" title="Other banks offering you this?" src="http://blog.bojica.com/wp-content/uploads/2009/02/05022009319-300x225.jpg" alt="Other banks offering you this?" width="300" height="225" /><p class="wp-caption-text">Other banks offering you this?</p></div>
<p>Nici o problemă, noi vă vindem &#8230; gogoși (ups) &#8230; </p>
<p> </p>
<div id="attachment_165" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-165" title="The sweetest thing" src="http://blog.bojica.com/wp-content/uploads/2009/02/05022009320-300x225.jpg" alt="The sweetest thing" width="300" height="225" /><p class="wp-caption-text">The sweetest thing</p></div>
<p>Frumos, nu-i așa? Locuiesc într-o țară cosmopolită și tocmai din acest motiv trebuie să avem grijă la aparențe. O mărime nu se potrivește tuturor. Celor din lumea marketing-ului, aveți grijă!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bojica.com/2009/02/06/banks-peanuts-and-donuts/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>w2task &#8211; Does anyone have any suggestions how to improve the workflow after the user signs up?</title>
		<link>http://blog.bojica.com/2009/02/05/w2task-ideas</link>
		<comments>http://blog.bojica.com/2009/02/05/w2task-ideas#comments</comments>
		<pubDate>Thu, 05 Feb 2009 06:12:22 +0000</pubDate>
		<dc:creator>Silviu D. Bojica</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[w2task]]></category>

		<guid isPermaLink="false">http://blog.bojica.com/?p=160</guid>
		<description><![CDATA[The user starts with the sign up screen. Pretty easy and straight forward: But, after filling in all required info, the new user is thrown up into a screen like this: I know, it is not friendly at all, that&#8217;s why I am waiting for some suggestions. Basically I am thinking to replace this screen [...]]]></description>
			<content:encoded><![CDATA[<p>The user starts with the sign up screen. Pretty easy and straight forward:</p>
<p><a href="http://www.quicksnapper.com/bojicas/image/signup-screen"><img title="Hosted by QuickSnapper.com" src="http://www.quicksnapper.com/files/2282/980673147498A7B91C6D33_m.png" alt="" width="540px" /></a></p>
<p>But, after filling in all required info, the new user is thrown up into a screen like this:</p>
<p><a href="http://www.quicksnapper.com/bojicas/image/unfriendly-screen-after-user-login"><img title="Hosted by QuickSnapper.com" src="http://www.quicksnapper.com/files/2282/1930473083498A788833B05_m.png" alt="" /></a></p>
<p>I know, it is not friendly at all, that&#8217;s why I am waiting for some suggestions. Basically I am thinking to replace this screen with a message to explain that the user should create a business or to collect its id number and give it to a business administrator to be added to an existing business?</p>
<p>What to you think?</p>
<p>Original topic started on support section of w2task.com - <a href="http://is.gd/irUs">http://is.gd/irUs</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bojica.com/2009/02/05/w2task-ideas/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Week in Review</title>
		<link>http://blog.bojica.com/2009/02/01/the-week-in-review</link>
		<comments>http://blog.bojica.com/2009/02/01/the-week-in-review#comments</comments>
		<pubDate>Sun, 01 Feb 2009 06:00:12 +0000</pubDate>
		<dc:creator>Silviu D. Bojica</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[w2task]]></category>

		<guid isPermaLink="false">http://blog.bojica.com/?p=158</guid>
		<description><![CDATA[A new week is starting in force. But before that, let’s go quickly through the week just passed. Yes, you’re right, I’ll focus on next paragraphs on the Wednesday’s event DemoCamp Dubai 4th edition, the first demo camp on which I have been not part of public, but of the presenters. The event itself had [...]]]></description>
			<content:encoded><![CDATA[<p><span>A new week is starting in force. But before that, let’s go quickly through the week just passed. Yes, you’re right, I’ll focus on next paragraphs on the Wednesday’s event <a title="Demo Camp Dubai" href="http://democampdubai.org/">DemoCamp Dubai</a> 4th edition, the first demo camp on which I have been not part of public, but of the presenters.</span></p>
<p><span>The event itself had part of great media coverage, and here I’ll have to mention <a title="Shuttlegazine" href="http://www.shufflegazine.com/2009/01/29/reflections-on-democamp-4-dubai/">Shuttlegazine</a>, <a title="The National" href="http://www.thenational.ae/article/20090131/BUSINESS/862860559/1005">The National</a>, <a title="StartUpArabia" href="http://www.startuparabia.com/2009/01/democamp-dubai-4-live-coverage/">Startup Arabia</a>, Tech-wd.com.</span></p>
<p><span>Demos, as usual there were four:</span></p>
<ol>
<li><span><a title="restate.ae" href="http://restate.ae/">restate.ae</a> &#8211; an iPhone application used to complement and give mobile access to a well known real estate portal which covers Dubai properties. It has been created by the guys behind SpinBits.</span></li>
<li><span><a title="StartUpArabia Database" href="http://www.startuparabia.com/database">StartUpArabia Database</a> &#8211; a moderated wiki like database dedicated to Arab technology startups, entrepreneurs and financial organizations that anyone can edit and enrich. Most of all, Moh’d Marwan Meddah put his soul in creating StartUpArabia.com, proving that in a selfish world, it is not necessary to be selfish yourself to win.</span></li>
<li><span><a title="eMapia" href="http://www.emapia.com/">eMapia</a> &#8211; eBay and Google Maps combined, a niche web application providing a way to getting in direct contact the buyer and the seller.</span></li>
<li><span><a title="W2task" href="http://w2task.com">w2task</a> &#8211; a web based task and time management system. This has been presented by myself &#8211; a truly amazing experience. Not everything worked according to the plan. It took me a while to synchronize the pitch of my voice with the levels of the sound system, often sounding either too loud or too low. This, of course, had a domino effect in my presentation spirit, making me quite tensed.</span></li>
</ol>
<p><span>However, although I am taking note of the above imperfections, I would mark the above event as an achievement, especially because of the great feedback which demonstrated that such type of applications can have a great future. As I’ve seen in the National due to recession, when big companies are cutting down on budgets and on projects, it can be a lifetime opportunity for startups to play from the same level with the well established companies.</span></p>
<p><span>In development terms, that means I would stabilize the base code of w2task, improve the workflow and make it more appealing for the first time user, when no data is present.</span></p>
<p><span>Let me conclude with the greeting posted on Twitter:</span></p>
<p><span><em>Good morning! It is time to start in force a great new week!</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bojica.com/2009/02/01/the-week-in-review/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Communism vs. Capitalism</title>
		<link>http://blog.bojica.com/2009/01/13/communism-vs-capitalism</link>
		<comments>http://blog.bojica.com/2009/01/13/communism-vs-capitalism#comments</comments>
		<pubDate>Tue, 13 Jan 2009 06:55:08 +0000</pubDate>
		<dc:creator>Silviu D. Bojica</dc:creator>
				<category><![CDATA[Business]]></category>

		<guid isPermaLink="false">http://blog.bojica.com/?p=155</guid>
		<description><![CDATA[&#8220;Owners of capital will stimulate working class to buy more and more of expensive goods, houses and technology, pushing them to take more and more expensive credits, until their debt becomes unbearable. The unpaid debt will lead to bankruptcy of banks which will have to be nationalized and State will have to take the road [...]]]></description>
			<content:encoded><![CDATA[<p><em>&#8220;Owners of capital will stimulate working class to buy more and more of expensive goods, houses and technology, pushing them to take more and more expensive credits, until their debt becomes unbearable. The unpaid debt will lead to bankruptcy of banks which will have to be nationalized and State will have to take the road which will eventually lead to communism.&#8221;</em><br />
[Karl Marx, 1867]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bojica.com/2009/01/13/communism-vs-capitalism/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding Aloud &#8211; Restricting your users to edit other&#8217;s profile</title>
		<link>http://blog.bojica.com/2009/01/06/coding-aloud-restricting-your-users-to-edit-others-profile</link>
		<comments>http://blog.bojica.com/2009/01/06/coding-aloud-restricting-your-users-to-edit-others-profile#comments</comments>
		<pubDate>Tue, 06 Jan 2009 08:00:16 +0000</pubDate>
		<dc:creator>Silviu D. Bojica</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Science & Technology]]></category>
		<category><![CDATA[w2task]]></category>

		<guid isPermaLink="false">http://blog.bojica.com/?p=146</guid>
		<description><![CDATA[restful_authentication plugin made its way to my projects as the &#8220;de-facto&#8221; authentication system in my Ruby on Rails projects like w2task or gistate.com. I would not insist on how to install it, as it is well explained on its home page at github. What I want to show is that in particular instances we may [...]]]></description>
			<content:encoded><![CDATA[<p><strong>restful_authentication</strong> plugin made its way to my projects as the &#8220;de-facto&#8221; authentication system in my Ruby on Rails projects like <a title="w2task" href="http://w2task">w2task</a> or <a title="Golden Index Real Estate" href="http://www.gistate.com">gistate.com</a>. I would not insist on how to install it, as it is well explained on its <a href="http://github.com/technoweenie/restful-authentication/tree/master">home page at github</a>.</p>
<p>What I want to show is that in particular instances we may not like that one user can access and modify other user&#8217;s profile. For example if I try to edit my profile, the URL will end in something like <em>users/2/edit</em> and if I would change it to <em>users/1/edit</em> then I am able to modify this user &#8211; most often an undesirable fact.</p>
<p>Here is my workaround:</p>
<pre>app/controllers/users_controller.rb</pre>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">  <span style="color:#008000; font-style:italic;"># ...</span>
  <span style="color:#9966CC; font-weight:bold;">def</span> edit
    <span style="color:#9966CC; font-weight:bold;">if</span> params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:id</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">to_i</span> == <span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">current_user</span>.<span style="color:#9900CC;">id</span>
      <span style="color:#0066ff; font-weight:bold;">@user</span> = User.<span style="color:#9900CC;">find</span><span style="color:#006600; font-weight:bold;">&#40;</span>params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:id</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#9966CC; font-weight:bold;">else</span>
      flash<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:error</span><span style="color:#006600; font-weight:bold;">&#93;</span> = <span style="color:#996600;">&quot;Not allowed!&quot;</span>
      redirect_back_or_default<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'/'</span><span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#9966CC; font-weight:bold;">end</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
  <span style="color:#008000; font-style:italic;"># ...</span></pre></div></div>

<p>That&#8217;s pretty much everything I need to change.</p>
<p>What is your preferred solution? Are you doing these tests into a &#8211; perhaps &#8211;  <em>before_filter</em>?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bojica.com/2009/01/06/coding-aloud-restricting-your-users-to-edit-others-profile/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>w2task Challenge</title>
		<link>http://blog.bojica.com/2009/01/05/w2task-challenge</link>
		<comments>http://blog.bojica.com/2009/01/05/w2task-challenge#comments</comments>
		<pubDate>Mon, 05 Jan 2009 09:57:40 +0000</pubDate>
		<dc:creator>Silviu D. Bojica</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Science & Technology]]></category>
		<category><![CDATA[w2task]]></category>

		<guid isPermaLink="false">http://blog.bojica.com/?p=139</guid>
		<description><![CDATA[I would like to introduce my latest project w2task - a web application written in Rails. It is a task and time management web based software. At this point, a registered user can create its own business (company) and define a series of projects. Then, the user can record its own efforts and attach them to a [...]]]></description>
			<content:encoded><![CDATA[<p>I would like to introduce my latest project <em>w2task</em> - a web application written in Rails.</p>
<div>
<div class="mceTemp">
<dl id="attachment_140" class="wp-caption alignnone" style="width: 387px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-140" title="w2task_01" src="http://blog.bojica.com/wp-content/uploads/2009/01/w2task_01.png" alt="w2task challenge" width="377" height="169" /></dt>
</dl>
</div>
<p>It is a <em>task and time management web based software</em>. At this point, a registered user can create its own <em>business</em> (company) and define a series of <em>projects</em>. Then, the user can record its own <em>efforts</em> and attach them to a particular project. The sidebar (<em>Efforts Bar</em>) gives a quick statistic regarding the number of efforts and total timing. Also, by clicking on a particular project you may get the <em>timesheet</em> of the particular month.</p>
<p>You may well give it a try, here is the link: <a title="w2task" href="http://w2task.com" target="_self">http://w2task.com</a>. Don&#8217;t hesitate to tell me your opinion about it, right here as a reply to this post. You may me as harsh as you want, it is constructive and ultimately this blog is moderated <img src='http://blog.bojica.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p>Be warned, this web app is still in its early, early development stages.</p>
<p>To better understand the philosophy behind this application, the strength and the weaknesses of the application, allow me to tell you in few points<strong> a bit of my history with Rails:</strong></p>
<ul>
<li><em>January 2008</em> &#8211; I&#8217;ve bought my first Rails book <em>Agile Web Development with Rails</em>, but I didn&#8217;t have enough time to practice it that Rails, turned 2.0 and broke the compatibility with 1.x versions. I remember the headaches regarding the scaffolding, so I abandoned my Rails path.</li>
<li><em>May 2008</em> &#8211; I&#8217;ve make up my mind and bought the third edition of the above book and start again with Rails at a low pace.</li>
<li><em>October 2008</em> &#8211; my friend Hossein asked me to join in a web project with a real estate portal. I thought it is the moment to put my knowledge into practice and this his how <a title="Golden Index Real Estate" href="http://gistate.com">gistate.com</a> got wind. Ok, the real estate market is down now (dec 2008 &#8211; jan 2009), but gistate.com shines <img src='http://blog.bojica.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .</li>
<li><em>November 2008</em> - <em>Dubai Hacking Night</em> &#8211; where I meet again my heroes: the <a title="Spin Bits" href="http://www.spinbits.com">SpinBits</a> guys which encouraged me to learn Rails. I have shown to Rida a sketch of <em>w2task</em> (a scaffold and some CSS files) &#8211; a Ruby on Rails practicing project and he asked me to promise that I will present it on DemoCamp 4, which should be in mid January 2009.</li>
<li><em>December 2008</em> - I have closely followed 37signals blog and read their book - <em>Getting Real</em>. Truly inspiring, and I am thinking to copy their business model.</li>
<li>2009 &#8211; here we are.</li>
</ul>
</div>
<p>Wow, getting long with this post. However, for the future, I have a lot to say and I hope it will be of interest for my blog readers, as I will fly along the Rails.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bojica.com/2009/01/05/w2task-challenge/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DemoCamp Dubai (third edition)</title>
		<link>http://blog.bojica.com/2008/10/29/democamp-dubai-third-edition</link>
		<comments>http://blog.bojica.com/2008/10/29/democamp-dubai-third-edition#comments</comments>
		<pubDate>Wed, 29 Oct 2008 06:33:41 +0000</pubDate>
		<dc:creator>Silviu D. Bojica</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Science & Technology]]></category>
		<category><![CDATA[democamp]]></category>
		<category><![CDATA[dubai]]></category>

		<guid isPermaLink="false">http://blog.bojica.com/?p=124</guid>
		<description><![CDATA[The third edition of DemoCamp Dubai is now over. It was a beautiful evening, with four different presentations: Jawaker - online card games Twffaha - women recruitment portal Untiny - expand tiny urls industrials Directory - self explanatory title For more details, I will refer to DemoCamp Dubai website. And because we all like criticizing, please allow me adding the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="DemoCamp Dubai" src="http://blog.bojica.com/wp-content/uploads/2008/10/democampdubai.jpg" alt="" width="200" height="53" />The third edition of DemoCamp Dubai is now over. It was a beautiful evening, with four different presentations:</p>
<ol>
<li><a href="http://www.jawaker.com/">Jawaker</a> - online card games</li>
<li><a href="http://twffaha.com/">Twffaha</a> - women recruitment portal</li>
<li><a href="http://untiny.me/">Untiny</a> - expand tiny urls</li>
<li><a href="http://industrialsdirectory.com/">industrials Directory</a> - self explanatory title</li>
</ol>
<div>For more details, I will refer to DemoCamp Dubai <a title="DemoCamp Dubai" href="http://democampdubai.org/">website</a>.</div>
<div></div>
<div></div>
<div>And because we all like criticizing, please allow me adding the following comment. Rules, rules, rules &#8230; <em>Rule #2 of DemoCamp: No powerpoints allowed. Why no .ppt ? Well, do you have working software or don&#8217;t you?</em> But first three presentations used quite heavily the power of slides.</div>
<div></div>
<div></div>
<div>However, all in one&#8230; <em>great people, great projects</em>.</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.bojica.com/2008/10/29/democamp-dubai-third-edition/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
