<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>@InitBinder</title>
	
	<link>http://initbinder.com</link>
	<description>My thoughts, notes and ideas as a passionate software engineer</description>
	<lastBuildDate>Mon, 06 Feb 2012 11:22:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/initbinder" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="initbinder" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>This is a Map</title>
		<link>http://initbinder.com/articles/this-is-a-map.html</link>
		<comments>http://initbinder.com/articles/this-is-a-map.html#comments</comments>
		<pubDate>Sun, 05 Feb 2012 08:20:57 +0000</pubDate>
		<dc:creator>Alexander Zagniotov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://initbinder.com/?p=1433</guid>
		<description><![CDATA[More from Alexander Zagniotov: Test saasdas  dsfasdfafd...]]></description>
			<content:encoded><![CDATA[<div align="center"><div class="google-map-placeholder" id="0cc460a49c49903bbc69a80b521007fb" style="width:450px;height:450px; border:1px solid #333333;"><div class="loading" style="top: 175px !important;"></div></div><div class="direction-controls-placeholder" id="direction-controls-placeholder-0cc460a49c49903bbc69a80b521007fb" style="width: 450px; margin-top: 5px; border: 1px solid #EBEBEB; display: none; padding: 18px 0 9px 0;">
			<div class="d_close-wrapper">
				<a id="d_close" href="javascript:void(0)"> 
					<img src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png" class="close"> 
				</a>
			</div>

			<div style="" id="travel_modes_div" class="dir-tm kd-buttonbar">
				<a tabindex="3" class="kd-button kd-button-left selected" href="javascript:void(0)" id="dir_d_btn" title="By car"> 
					<img class="dir-tm-d" src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png" /> 
				</a>
				<a tabindex="3" class="kd-button kd-button-right" href="javascript:void(0)" id="dir_w_btn" title="Walking"> 
					<img class="dir-tm-w" src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png"> 
				</a>
			</div>
			<div class="dir-clear"></div>
			<div id="dir_wps">
				<div id="dir_wp_0" class="dir-wp">
					<div class="dir-wp-hl">
						<div id="dir_m_0" class="dir-m" style="cursor: -moz-grab;">
							<div style="width: 24px; height: 24px; overflow: hidden; position: relative;">
								<img style="position: absolute; left: 0px; top: -141px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;" src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/directions.png">
							</div>
						</div>
						<div class="dir-input">
							<div class="kd-input-text-wrp">
								<input type="text" maxlength="2048" tabindex="4" value="" name="a_address" id="a_address" title="Start address" class="wp kd-input-text" autocomplete="off" autocorrect="off">
							</div>
						</div>
					</div>
				</div>
				<div class="dir-rev-wrapper">
					<div id="dir_rev" title="Get reverse directions">
						<a id="reverse-btn" href="javascript:void(0)" class="kd-button"> 
							<img class="dir-reverse" src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png"> 
						</a>
					</div>
				</div>
				<div id="dir_wp_1" class="dir-wp">
					<div class="dir-wp-hl">
						<div id="dir_m_1" class="dir-m" style="cursor: -moz-grab;">
							<div style="width: 24px; height: 24px; overflow: hidden; position: relative;">
								<img style="position: absolute; left: 0px; top: -72px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;" src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/directions.png">
							</div>
						</div>
						<div class="dir-input">
							<div class="kd-input-text-wrp">
								<input type="text" maxlength="2048" tabindex="4" value="" name="b_address" id="b_address" title="End address" class="wp kd-input-text" autocomplete="off" autocorrect="off">
							</div>
						</div>
					</div>
				</div>
			</div>
			<div id="dir_controls">
				<div class="d_links">
					<span id="d_options_toggle">
						<a id="d_options_show" class="no-wrap" href="javascript:void(0)" style="display: none !important;">Show options</a> 
						<a id="d_options_hide" class="no-wrap" href="javascript:void(0)" style="display: none !important;">Hide options</a>
					   	<b><span style="color: blue">Additional options</span></b>
					</span>
				</div>
				<div id="d_options" style="background-color: #ddd; margin-bottom: 3px; text-align: left; padding: 3px;">
					<input type="checkbox" tabindex="5" name="avoid_hway" id="avoid_hway" />
					<label for="avoid_hway">Avoid highways</label>
					<input type="checkbox" tabindex="5" name="avoid_tolls" id="avoid_tolls" />
					<label for="avoid_tolls">Avoid tolls</label>
					<input type="radio" name="travel_mode" id="radio_km" />
					<label for="radio_km">KM</label>
					<input type="radio" name="travel_mode" id="radio_miles" checked="checked" />
					<label for="radio_miles">Miles</label>
				</div>
				<div class="dir-sub-cntn">
					<button tabindex="6" name="btnG" type="submit" id="d_sub" class="kd-button kd-button-submit">Get Directions</button>
					<button tabindex="6" name="btnG" type="button" style="display: none;" id="print_sub" class="kd-button kd-button-submit">Print Directions</button>
				</div>
			</div>
		</div>
		<div id="rendered-directions-placeholder-0cc460a49c49903bbc69a80b521007fb" style="display: none; border: 1px solid #ddd; width: 440px; margin-top: 10px; direction: ltr; overflow: auto; height: 180px; padding: 5px;" class="rendered-directions-placeholder"></div>
	</div><script type="text/javascript">
    jQuery(document).ready(function() {
    var map_0cc460a49c49903bbc69a80b521007fb = new google.maps.Map(document.getElementById("0cc460a49c49903bbc69a80b521007fb"));
    var orc = new jQuery.GoogleMapOrchestrator(map_0cc460a49c49903bbc69a80b521007fb, {bubbleAutoPan: "", zoom : 12, mapType: google.maps.MapTypeId.SATELLITE});
    orcHolder.push({mapId: "0cc460a49c49903bbc69a80b521007fb", orchestrator: orc});
    orc.switchMapControl(true, jQuery.GoogleMapOrchestrator.ControlType.MAPTYPE);
    orc.switchMapControl(true, jQuery.GoogleMapOrchestrator.ControlType.PAN);
    orc.switchMapControl(true, jQuery.GoogleMapOrchestrator.ControlType.ZOOM);
    orc.switchMapControl(true, jQuery.GoogleMapOrchestrator.ControlType.SCALE);
    orc.switchMapControl(true, jQuery.GoogleMapOrchestrator.ControlType.STREETVIEW);
    orc.buildAddressMarkers("178 Hawthorn Road, Caulfield, Melbourne, Australia{}cloudy.png");
});</script>
<p>More from Alexander Zagniotov:</p><ol>
<li><a href='http://initbinder.com/articles/test.html' rel='bookmark' title='Test'>Test</a> <small>saasdas  dsfasdfafd...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://initbinder.com/articles/this-is-a-map.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test</title>
		<link>http://initbinder.com/articles/test.html</link>
		<comments>http://initbinder.com/articles/test.html#comments</comments>
		<pubDate>Tue, 17 Jan 2012 01:09:48 +0000</pubDate>
		<dc:creator>Alexander Zagniotov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://initbinder.com/?p=1387</guid>
		<description><![CDATA[saasdas  dsfasdfafd No related posts.]]></description>
			<content:encoded><![CDATA[<div align="center"><div class="google-map-placeholder" id="08a6057f61465cd1e289cf9bc63ea47e" style="width:450px;height:450px; border:1px solid #333333;"><div class="loading" style="top: 175px !important;"></div></div><div class="direction-controls-placeholder" id="direction-controls-placeholder-08a6057f61465cd1e289cf9bc63ea47e" style="width: 450px; margin-top: 5px; border: 1px solid #EBEBEB; display: none; padding: 18px 0 9px 0;">
			<div class="d_close-wrapper">
				<a id="d_close" href="javascript:void(0)"> 
					<img src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png" class="close"> 
				</a>
			</div>

			<div style="" id="travel_modes_div" class="dir-tm kd-buttonbar">
				<a tabindex="3" class="kd-button kd-button-left selected" href="javascript:void(0)" id="dir_d_btn" title="By car"> 
					<img class="dir-tm-d" src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png" /> 
				</a>
				<a tabindex="3" class="kd-button kd-button-right" href="javascript:void(0)" id="dir_w_btn" title="Walking"> 
					<img class="dir-tm-w" src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png"> 
				</a>
			</div>
			<div class="dir-clear"></div>
			<div id="dir_wps">
				<div id="dir_wp_0" class="dir-wp">
					<div class="dir-wp-hl">
						<div id="dir_m_0" class="dir-m" style="cursor: -moz-grab;">
							<div style="width: 24px; height: 24px; overflow: hidden; position: relative;">
								<img style="position: absolute; left: 0px; top: -141px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;" src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/directions.png">
							</div>
						</div>
						<div class="dir-input">
							<div class="kd-input-text-wrp">
								<input type="text" maxlength="2048" tabindex="4" value="" name="a_address" id="a_address" title="Start address" class="wp kd-input-text" autocomplete="off" autocorrect="off">
							</div>
						</div>
					</div>
				</div>
				<div class="dir-rev-wrapper">
					<div id="dir_rev" title="Get reverse directions">
						<a id="reverse-btn" href="javascript:void(0)" class="kd-button"> 
							<img class="dir-reverse" src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png"> 
						</a>
					</div>
				</div>
				<div id="dir_wp_1" class="dir-wp">
					<div class="dir-wp-hl">
						<div id="dir_m_1" class="dir-m" style="cursor: -moz-grab;">
							<div style="width: 24px; height: 24px; overflow: hidden; position: relative;">
								<img style="position: absolute; left: 0px; top: -72px; -moz-user-select: none; border: 0px none; padding: 0px; margin: 0px;" src="http://initbinder.com/bunker/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/directions.png">
							</div>
						</div>
						<div class="dir-input">
							<div class="kd-input-text-wrp">
								<input type="text" maxlength="2048" tabindex="4" value="" name="b_address" id="b_address" title="End address" class="wp kd-input-text" autocomplete="off" autocorrect="off">
							</div>
						</div>
					</div>
				</div>
			</div>
			<div id="dir_controls">
				<div class="d_links">
					<span id="d_options_toggle">
						<a id="d_options_show" class="no-wrap" href="javascript:void(0)" style="display: none !important;">Show options</a> 
						<a id="d_options_hide" class="no-wrap" href="javascript:void(0)" style="display: none !important;">Hide options</a>
					   	<b><span style="color: blue">Additional options</span></b>
					</span>
				</div>
				<div id="d_options" style="background-color: #ddd; margin-bottom: 3px; text-align: left; padding: 3px;">
					<input type="checkbox" tabindex="5" name="avoid_hway" id="avoid_hway" />
					<label for="avoid_hway">Avoid highways</label>
					<input type="checkbox" tabindex="5" name="avoid_tolls" id="avoid_tolls" />
					<label for="avoid_tolls">Avoid tolls</label>
					<input type="radio" name="travel_mode" id="radio_km" />
					<label for="radio_km">KM</label>
					<input type="radio" name="travel_mode" id="radio_miles" checked="checked" />
					<label for="radio_miles">Miles</label>
				</div>
				<div class="dir-sub-cntn">
					<button tabindex="6" name="btnG" type="submit" id="d_sub" class="kd-button kd-button-submit">Get Directions</button>
					<button tabindex="6" name="btnG" type="button" style="display: none;" id="print_sub" class="kd-button kd-button-submit">Print Directions</button>
				</div>
			</div>
		</div>
		<div id="rendered-directions-placeholder-08a6057f61465cd1e289cf9bc63ea47e" style="display: none; border: 1px solid #ddd; width: 440px; margin-top: 10px; direction: ltr; overflow: auto; height: 180px; padding: 5px;" class="rendered-directions-placeholder"></div>
	</div><script type="text/javascript">
    jQuery(document).ready(function() {
    var map_08a6057f61465cd1e289cf9bc63ea47e = new google.maps.Map(document.getElementById("08a6057f61465cd1e289cf9bc63ea47e"));
    var orc = new jQuery.GoogleMapOrchestrator(map_08a6057f61465cd1e289cf9bc63ea47e, {bubbleAutoPan: "", zoom : 12, mapType: google.maps.MapTypeId.ROADMAP});
    orcHolder.push({mapId: "08a6057f61465cd1e289cf9bc63ea47e", orchestrator: orc});
    orc.switchMapControl(true, jQuery.GoogleMapOrchestrator.ControlType.MAPTYPE);
    orc.switchMapControl(true, jQuery.GoogleMapOrchestrator.ControlType.PAN);
    orc.switchMapControl(true, jQuery.GoogleMapOrchestrator.ControlType.ZOOM);
    orc.switchMapControl(true, jQuery.GoogleMapOrchestrator.ControlType.SCALE);
    orc.switchMapControl(true, jQuery.GoogleMapOrchestrator.ControlType.STREETVIEW);
    orc.buildAddressMarkers("6/8 Rosstown Road, Carnegie 3163, Australia{}1-default.png|333 Collins Street, Melbourne 3000, Australia{}1-default.png");
});</script>
<p><strong>saasdas</strong>  <em>dsfasdfafd</em></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://initbinder.com/articles/test.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brainteaser: DevOps</title>
		<link>http://initbinder.com/articles/difference_between_continuous_deployment_and_continuous_delivery.html</link>
		<comments>http://initbinder.com/articles/difference_between_continuous_deployment_and_continuous_delivery.html#comments</comments>
		<pubDate>Sat, 24 Sep 2011 10:45:45 +0000</pubDate>
		<dc:creator>Alexander Zagniotov</dc:creator>
				<category><![CDATA[best practices]]></category>
		<category><![CDATA[brainteaser]]></category>
		<category><![CDATA[continuous delivery]]></category>
		<category><![CDATA[continuous deployment]]></category>
		<category><![CDATA[dev ops]]></category>
		<category><![CDATA[devops]]></category>

		<guid isPermaLink="false">http://initbinder.com/?p=1222</guid>
		<description><![CDATA[What is the difference between continuous deployment and continuous delivery? Please describe in one-two lines No related posts.]]></description>
			<content:encoded><![CDATA[<p>What is the difference between <em>continuous deployment</em> and <em>continuous delivery</em>? Please describe in one-two lines</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://initbinder.com/articles/difference_between_continuous_deployment_and_continuous_delivery.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Unfamiliarity Causes Rejection</title>
		<link>http://initbinder.com/articles/unfamiliarity-causes-rejection.html</link>
		<comments>http://initbinder.com/articles/unfamiliarity-causes-rejection.html#comments</comments>
		<pubDate>Wed, 21 Sep 2011 10:38:35 +0000</pubDate>
		<dc:creator>Alexander Zagniotov</dc:creator>
				<category><![CDATA[best practices]]></category>

		<guid isPermaLink="false">http://initbinder.com/?p=1214</guid>
		<description><![CDATA[Recently I listened to a talk given by an ex-ThoughtWorker, Simon Harris. One of the things that Simon talked about was how we, developers (and generally speaking &#8211; human beings) sometimes tend to reject what is unfamiliar to us. Within &#8230; <a href="http://initbinder.com/articles/unfamiliarity-causes-rejection.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I listened to a talk given by an ex-ThoughtWorker, <a rel="nofollow" target="_blank" title="Simon Harris - Haruki Zaemon" href="http://twitter.com/haruki_zaemon" target="_blank">Simon Harris</a>. One of the things that Simon talked about was how we, developers (and generally speaking &#8211; human beings) sometimes tend to reject what is unfamiliar to us. Within software development context it can be an existing/legacy application or a module that we need to extend, and which is difficult to understand.</p>
<p>Really, how many times we looked at someone else&#8217;s work (eg:. a developer that has left the company a long time ago) and thought &#8220;Dude, this is so weak &#8230; come one&#8221;?</p>
<p>Instead of just pointing fingers, maybe we should stop for a moment, try to think and understand, what were the reasons for producing that mediocre piece of code? Look at the current software&#8217;s state from a different angle. Sure, sometimes a poorly written software is simply just that &#8211; a poorly written software without a particular reason. But at other times, perhaps there were unknown variables in the equation that prevented developers produce something of a higher quality: technical limitations? Some internal politics? Tight deadlines? Environment?</p>
<p>Understanding the historical/current state of an application, can only help us to come up with better results in the long run. I really enjoyed <a rel="nofollow" target="_blank" title="Simon Harris - Haruki Zaemon" href="http://twitter.com/haruki_zaemon" target="_blank">Simon</a>&#8216;s talk, he clearly draws from his extensive experience.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://initbinder.com/articles/unfamiliarity-causes-rejection.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LateX – Transparent Watermark Image</title>
		<link>http://initbinder.com/articles/latex-transparent-watermark-image.html</link>
		<comments>http://initbinder.com/articles/latex-transparent-watermark-image.html#comments</comments>
		<pubDate>Sun, 04 Sep 2011 07:27:03 +0000</pubDate>
		<dc:creator>Alexander Zagniotov</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[eso-pic]]></category>
		<category><![CDATA[graphicx]]></category>
		<category><![CDATA[latex watermark image]]></category>
		<category><![CDATA[semi opaque background]]></category>
		<category><![CDATA[semi transparent background]]></category>
		<category><![CDATA[tikz]]></category>
		<category><![CDATA[transparent image]]></category>
		<category><![CDATA[watermark]]></category>

		<guid isPermaLink="false">http://initbinder.com/?p=1205</guid>
		<description><![CDATA[If you want to add a watermark image to your LaTeX document, you can achieve it easily using three packages: graphicx, tikz and eso-pic: Graphicx package allows to load images into documents. If you want to add transparency to your &#8230; <a href="http://initbinder.com/articles/latex-transparent-watermark-image.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you want to add a watermark image to your LaTeX document, you can achieve it easily using three packages: <em>graphicx</em>, <em>tikz</em> and <em>eso-pic</em>:</p>
<p><em>Graphicx</em> package allows to load images into documents. If you want to add transparency to your image, you need also to use <em>tikz</em> package. <em>Tikz</em> is used for producing vector graphics from a geometric/algebraic description, but is also allows to play with opacity levels.</p>
<p><em>Eso-pic</em> package provides hooks to inserts the images on one or more pages as a background (in other words &#8211; a watermark).</p>
<pre class="brush: xml; title: ; notranslate">
\\usepackage{graphicx}
\\usepackage{tikz}
\\usepackage{eso-pic}

\\newcommand\\BackgroundPicA{\\put(270,440){{%
\\begin{tikzpicture}\\node[opacity=0.1]{%
\\includegraphics[scale=0.80]{letter-watermark.jpg}};%
\\end{tikzpicture}%
}}}

\\newcommand\\BackgroundPicB{\\put(-80,-40){{\\reflectbox{%
\\begin{tikzpicture}%
\\node[opacity=0.1]{%
\\includegraphics[scale=0.80]{letter-watermark.jpg}};%
\\end{tikzpicture}%
}}}}

\\makeatletter%
\\AddToShipoutPicture{\\BackgroundPicA}%
\\AddToShipoutPicture{\\BackgroundPicB}%
\\makeatother

\\begin{document}
.
.
\\newpage
.
.
\\end{document}
</pre>
<p>I have attached a final result as PDF, so you can see the output: <a href="http://initbinder.com/bunker/wp-content/uploads/2011/09/opaque1.pdf">PDF with semi-opaqued watermark</a>.</p>
<p>More from Alexander Zagniotov:</p><ol>
<li><a href='http://initbinder.com/articles/css-modal-dialog-with-semi-transparent-border.html' rel='bookmark' title='CSS Modal Dialog With Semi Transparent Border'>CSS Modal Dialog With Semi Transparent Border</a> <small>Few days ago I was working on UI for one...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://initbinder.com/articles/latex-transparent-watermark-image.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>LateX – Style Section Title With a Color Filled Box</title>
		<link>http://initbinder.com/articles/latex-style-section-title.html</link>
		<comments>http://initbinder.com/articles/latex-style-section-title.html#comments</comments>
		<pubDate>Sat, 27 Aug 2011 12:09:40 +0000</pubDate>
		<dc:creator>Alexander Zagniotov</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[color box padding]]></category>
		<category><![CDATA[colored box]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[section]]></category>
		<category><![CDATA[section styling]]></category>
		<category><![CDATA[section title]]></category>

		<guid isPermaLink="false">http://initbinder.com/?p=1197</guid>
		<description><![CDATA[I was playing with LaTeX in order to create a resume template for my self. I was looking for a way to style title generated by the \section command. My goal was to generate color filled box with some text &#8230; <a href="http://initbinder.com/articles/latex-style-section-title.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was playing with LaTeX in order to create a resume template for my self. I was looking for a way to style title generated by the \section command. My goal was to generate color filled box with some text inside and some padding.</p>
<p>This is what I have came up with:</p>
<pre class="brush: java; title: ; notranslate">
\\definecolor{gray}{RGB}{186,186,186}
\\section{\\fcolorbox{black}{gray}{\\color{black}%
{\\parbox{6.5in}{\\vspace{.03in}\\hspace{.03in}\\LaTe X{ is really cool}\\vspace{.03in}}}}}
</pre>
<p>Which produced the following result:</p>
<p><a href="http://initbinder.com/bunker/wp-content/uploads/2011/08/paddedbox.jpg"><img class="alignnone size-full wp-image-1202" title="paddedbox" src="http://initbinder.com/bunker/wp-content/uploads/2011/08/paddedbox.jpg" alt="LaTex - Style section title with a colored filled box" width="736" height="41" /></a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://initbinder.com/articles/latex-style-section-title.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I Have Joined the ThoughtWorks Camp</title>
		<link>http://initbinder.com/articles/i-have-joined-the-thoughtworks-camp.html</link>
		<comments>http://initbinder.com/articles/i-have-joined-the-thoughtworks-camp.html#comments</comments>
		<pubDate>Mon, 25 Jul 2011 10:13:48 +0000</pubDate>
		<dc:creator>Alexander Zagniotov</dc:creator>
				<category><![CDATA[off topic]]></category>
		<category><![CDATA[thoughtworks]]></category>
		<category><![CDATA[working for thoughtworks]]></category>

		<guid isPermaLink="false">http://initbinder.com/?p=1186</guid>
		<description><![CDATA[I have some good news: I am going to be a ThoughtWorker. After two or three weeks of interviews, I have recently accepted their offer and going to start with the company in August. I am really looking forward to &#8230; <a href="http://initbinder.com/articles/i-have-joined-the-thoughtworks-camp.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have some good news: I am going to be a ThoughtWorker. After two or three weeks of interviews, I have recently accepted their offer and going to start with the company in August.</p>
<p>I am really looking forward to it, since many bright, passionate and talented people work for <a rel="nofollow" target="_blank" title="ThoughtWorks - Global Leader in Enterprise Agile Developement Services" href="http://www.thoughtworks.com/" target="_blank">ThoughtWorks</a>. The company is known for its cutting-edge technology development and being one of the global leaders in enterprise Agile development services. In other words, I am really happy <img src='http://initbinder.com/bunker/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I will keep writing updates from time to time about my experience at <a rel="nofollow" target="_blank" title="ThoughtWorks - Global Leader in Enterprise Agile Developement Services" href="http://thoughtworks.com/" target="_blank">ThoughtWorks</a>. Stay tuned.</p>
<p>More from Alexander Zagniotov:</p><ol>
<li><a href='http://initbinder.com/articles/the-only-valid-measurement-of-code-quality.html' rel='bookmark' title='The Only Valid Measurement of Code Quality'>The Only Valid Measurement of Code Quality</a> <small>I came across this funny image today. I think its...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://initbinder.com/articles/i-have-joined-the-thoughtworks-camp.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Write Operations in DWR</title>
		<link>http://initbinder.com/articles/write-operations-in-dwr.html</link>
		<comments>http://initbinder.com/articles/write-operations-in-dwr.html#comments</comments>
		<pubDate>Thu, 21 Jul 2011 11:41:50 +0000</pubDate>
		<dc:creator>Alexander Zagniotov</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[servlets]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://javabeans.asia/?p=1061</guid>
		<description><![CDATA[Write operations are not allowed with the default session setting for the OpenViewInSession filter which is commonly defined in web.xml as a hibernate filter. If you want to enable write operations when using DWR (Direct Web Remoting), one of the &#8230; <a href="http://initbinder.com/articles/write-operations-in-dwr.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Write operations are not allowed with the default session setting for the <em>OpenViewInSession</em> filter which is commonly defined in web.xml as a hibernate filter. If you want to enable write operations when using <a rel="nofollow" target="_blank" title="Direct Web Remoting" href="http://directwebremoting.org/dwr/index.html" target="_blank">DWR (Direct Web Remoting)</a>, one of the ways is to declare a filter for DWR urls. Put the following configuration in your web.xml, also please note the url pattern in <em>filter-mapping</em> element.</p>
<pre class="brush: xml; title: ; notranslate">

&lt;filter&gt;
&lt;filter-name&gt;dwrWriteHibernateFilter&lt;/filter-name&gt;
&lt;filter-class&gt;
some.package.name.OpenWriteSessionInViewFilter
&lt;/filter-class&gt;
&lt;init-param&gt;
&lt;param-name&gt;singleSession&lt;/param-name&gt;
&lt;param-value&gt;true&lt;/param-value&gt;
&lt;/init-param&gt;
&lt;init-param&gt;
&lt;param-name&gt;sessionFactoryBeanName&lt;/param-name&gt;
&lt;param-value&gt;sessionFactory&lt;/param-value&gt;
&lt;/init-param&gt;
&lt;/filter&gt;

&lt;filter-mapping&gt;
&lt;filter-name&gt;dwrWriteHibernateFilter&lt;/filter-name&gt;
&lt;url-pattern&gt;*.dwr&lt;/url-pattern&gt;
&lt;/filter-mapping&gt;
</pre>
<p>The filter class as follows:</p>
<pre class="brush: java; title: ; notranslate">
// more imports
import org.springframework.dao.DataAccessResourceFailureException;
import org.springframework.orm.hibernate3.support.OpenSessionInViewFilter;

public class OpenWriteSessionInViewFilter extends OpenSessionInViewFilter {

protected Session getSession(SessionFactory sessionFactory)
throws DataAccessResourceFailureException {
Session session = super.getSession(sessionFactory);
session.setFlushMode(FlushMode.COMMIT);
return session;
}

protected void closeSession(Session session, SessionFactory factory) {
session.flush();
super.closeSession(session, factory);
}
}
</pre>
<p>More from Alexander Zagniotov:</p><ol>
<li><a href='http://initbinder.com/articles/hibernate_how_to_map_two_collections_of_the_same_type_in_the_same_entity.html' rel='bookmark' title='Hibernate &#8211; How To Map Two Collections of The Same Type in The Same Entity'>Hibernate &#8211; How To Map Two Collections of The Same Type in The Same Entity</a> <small>Recently during development, I encountered a situation where I had...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://initbinder.com/articles/write-operations-in-dwr.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is TDD Only for … Junior Developers??</title>
		<link>http://initbinder.com/articles/is-tdd-only-for-junior-developers.html</link>
		<comments>http://initbinder.com/articles/is-tdd-only-for-junior-developers.html#comments</comments>
		<pubDate>Sun, 24 Apr 2011 03:05:45 +0000</pubDate>
		<dc:creator>Alexander Zagniotov</dc:creator>
				<category><![CDATA[best practices]]></category>
		<category><![CDATA[design patterns]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://javabeans.asia/?p=1027</guid>
		<description><![CDATA[Just before the Easter holidays, I had a discussion with two senior developers from my project about TDD. These guys are experienced software engineers that have been around for some time: they have 11 and 20 years of experience in &#8230; <a href="http://initbinder.com/articles/is-tdd-only-for-junior-developers.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just before the Easter holidays, I had a discussion with two senior developers from my project about TDD. These guys are experienced software engineers that have been around for some time: they have 11 and 20 years of experience in software development under their belts.</p>
<p>I don&#8217;t claim to be an advocate for TDD. Currently, I do not practice it (yet), but I do recognize and appreciate its importance. TDD really &#8220;forces&#8221; you to have clear understanding about the business requirements to be implemented. You cant implement what you do not understand, right? Because you have to write the test first, your code becomes more solid, less bug prune and you have better test coverage.</p>
<p>Sure, writing the test first its an interesting concept: You start writing a test, and you discoverer that you need a class, and possibly a function. You create the class, function and keep writing the test. Basically, you write few lines of test, and few lines of code, few more lines of test and few more lines of code etc. etc.</p>
<p>Ok, I think I diverted a bit, back to the topic <img src='http://initbinder.com/bunker/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The discussion took an interesting turn, and I still keep thinking about it. My question to them was &#8211; what do you think about TDD? The responses I received totally surprised me.</p>
<p>One of the claims supported by them, was that TDD does not serve much purpose, and a developer will end up re-factoring the unit tests eventually anyway as a result of re-factoring the concrete classes as the development goes on. So if latter is the case, my colleagues argued that there is no point writing unit tests first. Its better to finish writing concrete class, before attempting to write any unit tests.</p>
<p>Also, one of the developers claimed that many books and articles written on TDD discuss examples that are quite simple to implement, and in reality it is quite difficult to use TDD for complex business scenarios.</p>
<p>Another claim was that TDD should be used to teach junior developers the importance of unit testing, the experienced developers don&#8217;t really need to use it. The developers should follow KISS principles instead.</p>
<p>I respected their opinions about it, but it seemed fundamentally wrong to me that such experienced developers claim that TDD is basically overrated. The feeling that I got from them was that a lot of developers and software engineers in IT industry really got it wrong.</p>
<p>It got me wondering how, after more than ten years of experience in the industry, one does not appreciate one of the best software engineering practices around &#8230;</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://initbinder.com/articles/is-tdd-only-for-junior-developers.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Jquery UI: Add a Shadow Line Around a Dialog Box</title>
		<link>http://initbinder.com/articles/jquery-ui-add-a-shadow-around-a-dialog-box.html</link>
		<comments>http://initbinder.com/articles/jquery-ui-add-a-shadow-around-a-dialog-box.html#comments</comments>
		<pubDate>Sat, 23 Apr 2011 13:13:39 +0000</pubDate>
		<dc:creator>Alexander Zagniotov</dc:creator>
				<category><![CDATA[ajax]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[css dialog]]></category>
		<category><![CDATA[css modal dialog]]></category>
		<category><![CDATA[css popup]]></category>
		<category><![CDATA[css popup box]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://javabeans.asia/?p=1000</guid>
		<description><![CDATA[I really like the style of Facebook (or LinkedIn) Javascript popup dialogs &#8211; a thin semi-transparent shadow line around the dialog. It looks nice and from the usability point of view it has a purpose, as it is attracts user&#8217;s &#8230; <a href="http://initbinder.com/articles/jquery-ui-add-a-shadow-around-a-dialog-box.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I really like the style of <a rel="nofollow" target="_blank" title="Facebook" href="http://facebook.com/" target="_blank">Facebook</a> (or <a rel="nofollow" target="_blank" title="LinkedIn" href="http://linkedin.com/" target="_blank">LinkedIn</a>) Javascript popup dialogs &#8211; a thin semi-transparent shadow line around the dialog. It looks nice and from the usability point of view it has a purpose, as it is attracts user&#8217;s attention to the important component on the screen.</p>
<p>There are many examples of custom Javascript dialogs on the Internet that explain how to achieve this. While many solutions are really good, I wanted to make use of the dialog provided by jQuery UI library by default.</p>
<p>I have came up with a solution that works, but I don&#8217;t think it is the most elegant way to do it (CSS is not my strong side). The solution is quite simple, and pretty straight forward (I think <img src='http://initbinder.com/bunker/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). The following are the final results as tested in FF3, IE8, Opera 10 and Chrome 10, please note the shadow line around the dialog:</p>
<div id="attachment_1010" class="wp-caption aligncenter" style="width: 310px"><a href="http://initbinder.com/bunker/wp-content/uploads/2011/04/ff-3.6.16.png"><img class="size-medium wp-image-1010  " title="Firefox - jQuery dialog box with semi-transparent shadow around it" src="http://initbinder.com/bunker/wp-content/uploads/2011/04/ff-3.6.16-300x116.png" alt="Firefox - jQuery dialog box with semi-transparent shadow around it" width="300" height="116" /></a><p class="wp-caption-text">Firefox 3.6.16</p></div>
<div id="attachment_1011" class="wp-caption aligncenter" style="width: 310px"><a href="http://initbinder.com/bunker/wp-content/uploads/2011/04/ie-8.0.76.png"><img class="size-medium wp-image-1011  " title="Internet Explorer - jQuery dialog box with semi-transparent shadow around it" src="http://initbinder.com/bunker/wp-content/uploads/2011/04/ie-8.0.76-300x136.png" alt="Internet Explorer - jQuery dialog box with semi-transparent shadow around it" width="300" height="136" /></a><p class="wp-caption-text">Internet Explorer 8.0.76</p></div>
<div id="attachment_1047" class="wp-caption aligncenter" style="width: 310px"><a href="http://initbinder.com/bunker/wp-content/uploads/2011/04/opera-10.63.jpg"><img class="size-medium wp-image-1047" title="opera-10.63" src="http://initbinder.com/bunker/wp-content/uploads/2011/04/opera-10.63-300x124.jpg" alt="opera-10.63" width="300" height="124" /></a><p class="wp-caption-text">opera-10.63</p></div>
<p><a href="http://initbinder.com/bunker/wp-content/uploads/2011/04/chrome-10.0.648.jpg"><img class="aligncenter size-medium wp-image-1048" title="chrome-10.0.648" src="http://initbinder.com/bunker/wp-content/uploads/2011/04/chrome-10.0.648-300x126.jpg" alt="chrome-10.0.648" width="300" height="126" /></a></p>
<p>First I defined a CSS class that&#8217;s going to have properties for the background shadow (the <em>bg_dialog_modeless_mask.png</em> is an 8&#215;8 gray square image)</p>
<pre class="brush: css; title: ; notranslate">
.dialog-mask {
 -moz-border-radius:5px 5px 5px 5px;
 -webkit-border-radius: 5px;
 border-radius: 5px;
 background:url(&quot;../images/bg_dialog_modeless_mask.png&quot;) repeat scroll left top transparent;
}
</pre>
<p>Somewhere on my HTML page, I defined a DIV that&#8217;s going to be the dialog holder:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;popup-holder&quot;&gt;&lt;/div&gt;
</pre>
<p>I added jQuery dialog init statement in my global JS file:</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function(){

 $( '#popup-holder' ).dialog({
       autoOpen: false,
       height: 350,
       width: 530,
       modal: true,
       resizable: true,
       draggable: false,
       buttons: {
         Cancel: function() {
            $( this ).dialog( &quot;close&quot; );
            $( '#dialog-wrapper' ).remove();
         }
      },
      close: function() {
            $( '#dialog-wrapper' ).remove();
      },
      open: function() {
            wrapJqueryDialog($( this ));
      },
      resize: function() {
            wrapJqueryDialog($( this ));
      }
   });
});
</pre>
<p>The <em>#dialog-wrapper</em> is the ID of the DIV that holds the semi-transparent shadow which wraps the dialog. The <em>wrapJqueryDialog</em> function creates the shadow when dialog is opened, and handles the shadow resize when dialog is resized (it is also possible to add an event to drag the shadow when dialog has <em>draggable </em>option set to true).</p>
<p>Now the important part, the <em>wrapJqueryDialog</em> function:</p>
<pre class="brush: jscript; title: ; notranslate">
function wrapJqueryDialog(dialogWidgetObj)  {
	//The width and height of the shadow line wrapping the dialog
        var shadowWidth = 20;

        //Lets remove the shadow holder to start clean
	$( '#dialog-wrapper' ).remove();

        //Gets the current dialog widget
	var widget = dialogWidgetObj.dialog( &quot;widget&quot; );

        //Create the shadow holder DIV that has the background shadow CSS class
	var dialogwrapper = $('&lt;div id=&quot;dialog-wrapper&quot; class=&quot;dialog-mask&quot; /&gt;');

	//For IE, the holder must be appended to the body first before any manipulation.
	$('body').append(dialogwrapper);

        //Lets copy default inline styles from the dialog widget to the shadow holder
	dialogwrapper.attr(&quot;style&quot;, widget.attr(&quot;style&quot;));

        //Lets position the shadow holder before and above the dialog widget
	dialogwrapper.css(&quot;top&quot;, parseInt(dialogwrapper.css(&quot;top&quot;)) - shadowWidth);
	dialogwrapper.css(&quot;left&quot;, parseInt(dialogwrapper.css(&quot;left&quot;)) - shadowWidth);

        dialogwrapper.css(&quot;position&quot;, &quot;absolute&quot;);

	//Make sure that the dialog widget is infront of surrounding shadow box and overlay (if there is one set)
	widget.css(&quot;z-index&quot;, (parseInt(widget.css(&quot;z-index&quot;)) + 1));

	//Add to the shadow width default padding value from the class '.ui-dialog' and
	//default border width from the class '.ui-widget-content' (1px times two)
	var finalShadowWidth = shadowWidth + parseInt(widget.css(&quot;padding-top&quot;)) + 2;

	var widgetHeight = parseInt(widget.css(&quot;height&quot;));
        //Lets extend the shadow holder height
	dialogwrapper.css(&quot;height&quot;, widgetHeight + (finalShadowWidth * 2));

	var widgetWidth = parseInt(widget.css(&quot;width&quot;));
	//Lets extend the shadow holder width
        dialogwrapper.css(&quot;width&quot;, widgetWidth + (finalShadowWidth * 2));
}
</pre>
<p>That&#8217;s all when it comes to code (don&#8217;t forget to add to your HTML/JS code a dialog trigger, it can be a link or a button). I am really interested to hear your comments about it and suggestions. If you can suggest a better way of implementation &#8211; please do so, I am really keen to know <img src='http://initbinder.com/bunker/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>More from Alexander Zagniotov:</p><ol>
<li><a href='http://initbinder.com/articles/css-modal-dialog-with-semi-transparent-border.html' rel='bookmark' title='CSS Modal Dialog With Semi Transparent Border'>CSS Modal Dialog With Semi Transparent Border</a> <small>Few days ago I was working on UI for one...</small></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://initbinder.com/articles/jquery-ui-add-a-shadow-around-a-dialog-box.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss><!-- This Quick Cache file was built for (  initbinder.com/feed ) in 0.95731 seconds, on Feb 6th, 2012 at 11:22 am UTC. --><!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 6th, 2012 at 12:22 pm UTC --><!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --><!-- Quick Cache Is Fully Functional :-) ... A Quick Cache file was just served for (  initbinder.com/feed ) in 0.00081 seconds, on Feb 6th, 2012 at 12:05 pm UTC. -->

