<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Segev {CJ} Shmueli</title>
	<atom:link href="http://www.segevs.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.segevs.com</link>
	<description>too weird to live, too rare to die</description>
	<lastBuildDate>Mon, 14 May 2012 06:06:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Post MMA photo</title>
		<link>http://www.segevs.com/uncategorized/post-mma-photo</link>
		<comments>http://www.segevs.com/uncategorized/post-mma-photo#comments</comments>
		<pubDate>Mon, 14 May 2012 06:03:54 +0000</pubDate>
		<dc:creator>Segev {CJ} Shmueli</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.segevs.com/?p=126</guid>
		<description><![CDATA[I was brilliant in the MMA class, didn&#8217;t get hurt, might have heart others. Got injured walking into a closet door back in my apartment &#8230;. &#160;]]></description>
			<content:encoded><![CDATA[<p>I was brilliant in the MMA class, didn&#8217;t get hurt, might have heart others. Got injured walking into a closet door back in my apartment <img src='http://www.segevs.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  &#8230;.</p>
<p><a href="http://www.segevs.com/wp-content/uploads/2012/05/mmax.jpg"><img class="aligncenter size-large wp-image-130" title="mmax" src="http://www.segevs.com/wp-content/uploads/2012/05/mmax-647x1024.jpg" alt="" width="647" height="1024" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.segevs.com/uncategorized/post-mma-photo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grace Potter, best cover to white rabbit</title>
		<link>http://www.segevs.com/music/grace-potter-white-rabbit</link>
		<comments>http://www.segevs.com/music/grace-potter-white-rabbit#comments</comments>
		<pubDate>Tue, 08 May 2012 06:28:52 +0000</pubDate>
		<dc:creator>Segev {CJ} Shmueli</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.segevs.com/?p=120</guid>
		<description><![CDATA[Please, allow me to introduce the brilliant, and talented Grace Potter. one of my all time favorites is &#8216;White rabbit&#8217; by Jefferson Airplane; Grace Potter is the only band / performer that was able to do it to me so far. Please ignore her boring billboard performance (Grace, you know I admire, love , respect [...]]]></description>
			<content:encoded><![CDATA[<p>Please, allow me to introduce the brilliant, and talented Grace Potter.</p>
<p>one of my all time favorites is &#8216;White rabbit&#8217; by Jefferson Airplane; Grace Potter is the only band / performer that was able to do it to me so far.<br />
Please ignore her boring billboard performance (Grace, you know I admire, love , respect you by now <img src='http://www.segevs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) , and enjoy the brilliant live performance Â :</p>
<p><iframe src="http://www.youtube.com/embed/1Vy1OoBAL-E?rel=0" frameborder="0" width="560" height="315"></iframe></p>
<p>BUT !!! as much as I like Grace (Sorry, Grace, meant love!), let&#8217;s enjoy the real thing (demonstrating how timing, paste, echo , voice can make a legendary song).</p>
<p><iframe width="420" height="315" src="http://www.youtube.com/embed/WANNqr-vcx0?rel=0" frameborder="0" allowfullscreen></iframe></p>
<p>Speaking of Jefferson Airplane covers, here&#8217;s my second favorite :<br />
<iframe width="560" height="315" src="http://www.youtube.com/embed/XNc9phYujWY?rel=0" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.segevs.com/music/grace-potter-white-rabbit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Range drop down list extension</title>
		<link>http://www.segevs.com/programming/c/range-drop-down-list-extension</link>
		<comments>http://www.segevs.com/programming/c/range-drop-down-list-extension#comments</comments>
		<pubDate>Sun, 01 Apr 2012 04:26:15 +0000</pubDate>
		<dc:creator>Segev {CJ} Shmueli</dc:creator>
				<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.segevs.com/?p=116</guid>
		<description><![CDATA[One extension to the generic MVC / C# dropdownlist is (almost) always needed &#8211; a dropdown with a defined range. You can create a list in each view that require that, but I decided to create an extension few years ago, and after few updates its still serve me in (nearly) every project. This is [...]]]></description>
			<content:encoded><![CDATA[<p>One extension to the generic MVC / C# dropdownlist is (almost) always needed &#8211; a dropdown with a defined range.</p>
<p>You can create a list in each view that require that, but I decided to create an extension few years ago, and after few updates its still serve me in (nearly) every project.</p>
<pre class="brush: csharp; title: ; toolbar: true; notranslate">
namespaceÂ System.Web.Mvc
{

Â Â Â Â publicÂ staticÂ classÂ HtmlExtensions
Â Â Â Â {

        publicÂ staticÂ MvcHtmlStringÂ RangeDropDownListFor&lt;TModel,Â TProperty&gt;(thisÂ HtmlHelper&lt;TModel&gt;Â htmlHelper,Â Expression&lt;Func&lt;TModel,Â TProperty&gt;&gt;Â expression,Â intÂ min,Â intÂ max,Â stringÂ caption)
Â Â Â Â Â Â Â Â {
Â Â Â Â Â Â Â Â Â Â Â Â //varÂ nameÂ =Â ExpressionHelper.GetExpressionText(expression);

Â Â Â Â Â Â Â Â Â Â Â Â //Â buildÂ theÂ listÂ
Â Â Â Â Â Â Â Â Â Â Â Â List&lt;int&gt;Â listÂ =Â newÂ List&lt;int&gt;();

Â Â Â Â Â Â Â Â Â Â Â Â ifÂ (minÂ &gt;Â max)
Â Â Â Â Â Â Â Â Â Â Â Â {
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â forÂ (intÂ iÂ =Â max;Â iÂ &gt;=Â min;Â i--)
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â {
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â list.Add(i);
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â }
Â Â Â Â Â Â Â Â Â Â Â Â }else
Â Â Â Â Â Â Â Â Â Â Â Â {
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â forÂ (intÂ iÂ =Â min;Â iÂ &lt;=Â max;Â i++)
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â {
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â list.Add(i);
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â }
Â Â Â Â Â Â Â Â Â Â Â Â }

Â Â Â Â Â Â Â Â Â Â Â Â returnÂ Html.SelectExtensions.DropDownListFor(htmlHelper,Â expression,Â newÂ SelectList(list),Â caption);

Â Â Â Â Â Â Â Â }

Â Â Â Â }

}
</pre>
<p>This is just the basic, there are (many) more advanced version for my RangeDropDownlist class, stay tuned &#8211; I will probably publish them soon.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.segevs.com/programming/c/range-drop-down-list-extension/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nikki Jean with Daryl Hall</title>
		<link>http://www.segevs.com/music/nikki-jean-with-daryl-hall</link>
		<comments>http://www.segevs.com/music/nikki-jean-with-daryl-hall#comments</comments>
		<pubDate>Wed, 14 Mar 2012 08:49:33 +0000</pubDate>
		<dc:creator>Segev {CJ} Shmueli</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.segevs.com/?p=108</guid>
		<description><![CDATA[Well&#8230; Nikki is a super talented performer, singer, musician, and song-writer, and she knows how much IÂ appreciateÂ her. And&#8230; Nikki please don&#8217;t forget to get in touch about our collaboration on fotoshoot.com, I still need you to be our voice, and face. But it&#8217;s time to share that upcoming superstar&#8230;. Please accept (andÂ rememberÂ to buy the album) [...]]]></description>
			<content:encoded><![CDATA[<p><iframe src="http://www.youtube.com/embed/LSmXtqDvChg?rel=0" frameborder="0" width="560" height="315"></iframe></p>
<p>Well&#8230; Nikki is a super talented performer, singer, musician, and song-writer, and she knows how much IÂ appreciateÂ her.</p>
<p>And&#8230; Nikki please don&#8217;t forget to get in touch about our collaboration on <a href="http://www.fotoshoot.com" target="_blank">fotoshoot.com</a>, I still need you to be our voice, and face.</p>
<p>But it&#8217;s time to share that upcoming superstar&#8230;. Please accept (andÂ rememberÂ to buy the album) &#8211; Nikki Jean</p>
]]></content:encoded>
			<wfw:commentRss>http://www.segevs.com/music/nikki-jean-with-daryl-hall/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Little Green Bag</title>
		<link>http://www.segevs.com/music/little-green-ba</link>
		<comments>http://www.segevs.com/music/little-green-ba#comments</comments>
		<pubDate>Mon, 05 Mar 2012 08:11:06 +0000</pubDate>
		<dc:creator>Segev {CJ} Shmueli</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://www.segevs.com/?p=105</guid>
		<description><![CDATA[I love music, my closest friends knows me as a person that constantly introduces them to beautiful music, whether it&#8217;s old, or new, whether the artist is a big shot, or unknown&#8230;. So&#8230; I decided to give a stage in my taste in music, hope you like it&#8230;. For my first posting i decided to [...]]]></description>
			<content:encoded><![CDATA[<p>I love music, my closest friends knows me as a person that constantly introduces them to beautiful music, whether it&#8217;s old, or new, whether the artist is a big shot, or unknown&#8230;.</p>
<p>So&#8230; I decided to give a stage in my taste in music, hope you like it&#8230;.</p>
<p>For my first posting i decided to share Glannis Grace (what a voice, and what a presence) from Sweden, performing the classic from the 70&#8242;s &#8211; &#8216;Little Green Bag&#8217;, enjoy.</p>
<p><iframe src="http://www.youtube.com/embed/W-0ymtac3Zg?rel=0" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.segevs.com/music/little-green-ba/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jewelry photography</title>
		<link>http://www.segevs.com/photography/jewelry-photography</link>
		<comments>http://www.segevs.com/photography/jewelry-photography#comments</comments>
		<pubDate>Fri, 02 Mar 2012 05:55:27 +0000</pubDate>
		<dc:creator>Segev {CJ} Shmueli</dc:creator>
				<category><![CDATA[Photography]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.segevs.com/?p=99</guid>
		<description><![CDATA[Somebody sent me a message describing the difficulties they encounters in their jewelry photo-session. A while back, I wrote an article / tutorial about that particular topic on fotoshoot.com: Jewelry photography is a serious challenge to photography enthusiasts and professional photographers alike. Jewelry photography should capture all the little and subtle details in the jewelry, [...]]]></description>
			<content:encoded><![CDATA[<p>Somebody sent me a message describing the difficulties they encounters in their jewelry photo-session.</p>
<p><a href="http://www.segevs.com/wp-content/uploads/2012/03/IMG_0190.jpg"><img class="aligncenter size-medium wp-image-102" title="IMG_0190" src="http://www.segevs.com/wp-content/uploads/2012/03/IMG_0190-284x300.jpg" alt="" width="284" height="300" /></a></p>
<p>A while back, I wrote an article / tutorial about that particular topic on fotoshoot.com:</p>
<p>Jewelry photography is a serious challenge to photography enthusiasts and professional photographers alike.<br />
Jewelry photography should capture all the little and subtle details in the jewelry, the color of the stone should be deep and real as possible while, of course, preserving the design, shine and glitter of the jewel.<br />
The main problem in jewelry photography, is the fact that most jewelries are reflecting surfaces, and most of them will reflect anything in the room (including the photographer and the camera).<br />
Another, potentially frustrating, problem is the stone â€“ tend to come out black, or milky-white.<br />
Here are some suggestions for amateurs, for getting better results:</p>
<ol>
<li>Do not point the flash to the jewel itself. The Jewel will return it, and you&#8217;ll get the flashÂ  reflections.<br />
If you are using a flash, just make sure that it points away from your subject</li>
<li>I recommend against using flash at all and using ambient (natural) light if possible. However, if you decide to use flash after all, you should soften the flash, it will decrease the reflection from the subject, and return deeper and more vivid color from the stone. To soften your flash, you can use a plain white, or creamy fabric (best results â€“ using a shirt, or a bed sheet) , it will filter the light, and spread it better</li>
</ol>
<div>Ahhh&#8230;. I&#8217;m not going to make it easy, for the rest, visit the original article here :Â <a title="Jewelry photography - difficult, not impossible" href="http://www.fotoshoot.com/cj/Journal/Jewelry-photography-difficult-not-impossible" target="_blank">Jewelry photography &#8211; difficult, not impossible</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.segevs.com/photography/jewelry-photography/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start-up Nation: The Story of Israel&#8217;s Economic Miracle</title>
		<link>http://www.segevs.com/books/start-up-nation-the-story-of-israels-economic-miracle</link>
		<comments>http://www.segevs.com/books/start-up-nation-the-story-of-israels-economic-miracle#comments</comments>
		<pubDate>Mon, 16 Jan 2012 08:27:46 +0000</pubDate>
		<dc:creator>Segev {CJ} Shmueli</dc:creator>
				<category><![CDATA[Books]]></category>

		<guid isPermaLink="false">http://www.segevs.com/?p=81</guid>
		<description><![CDATA[By Eitan Magid&#8217;s recommendation, I&#8217;ve been reading &#8216;Start-up Nation: The Story of Israel&#8217;s Economic Miracle&#8217; in the past few weeks. Though I&#8217;m only half way into the book, I must admit, it is one of the more inspiring books I&#8217;ve read lately. Guess that being an Israeli has something to do with it, but even [...]]]></description>
			<content:encoded><![CDATA[<p>By Eitan Magid&#8217;s recommendation, I&#8217;ve been reading &#8216;Start-up Nation: The Story of Israel&#8217;s Economic Miracle&#8217; in the past few weeks. Though I&#8217;m only half way into the book, I must admit, it is one of the more inspiring books I&#8217;ve read lately. Guess that being an Israeli has something to do with it, but even objectively speaking, you just can&#8217;t ignore the strong points the book trying to pass as for how did Israel became such a prominent start-ups nation.</p>
<p>Dan Sanor (the author), is trying to explain our critical thought process after a military training and service, how Israeli were wired a bit differently due (or thanks) to an utter unique set of challenges, and risks. Bringing very good and current example for very successful startups launched in Israel, and at the same time how Israeli teams changed the direction for giants such as Intel, taking them to the next level.</p>
<p>Guess I have more understanding, and sympathy to that book coming from my vantage point, but I do believe you will all enjoy it, and everybody and take something out of it just the same.</p>
<p>Grab your copy, and let me know what are your thoughts&#8230;..</p>
<p style="text-align: center;"><a href="http://www.amazon.com/Start-up-Nation-Israels-Economic-Miracle/dp/044654146X#" target="_blank"><img class="aligncenter size-full wp-image-85" title="Startupnation" src="http://www.segevs.com/wp-content/uploads/2012/01/Startupnation.jpg" alt="" width="600" height="906" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.segevs.com/books/start-up-nation-the-story-of-israels-economic-miracle/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My recipe for a paged list / DataModel with strong type</title>
		<link>http://www.segevs.com/programming/my-recipe-for-a-paged-list-datamodel-with-strong-type</link>
		<comments>http://www.segevs.com/programming/my-recipe-for-a-paged-list-datamodel-with-strong-type#comments</comments>
		<pubDate>Fri, 30 Dec 2011 06:00:03 +0000</pubDate>
		<dc:creator>Segev {CJ} Shmueli</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.segevs.com/?p=66</guid>
		<description><![CDATA[I needed to create some sort of IList that can handle a data source that supports paging. Let&#8217;s start with the basics &#8211; our class : Let&#8217;s continue by allowing us to determine the page size, current page index, and our data source. To determine the number of records, and pages, I will have to [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to create some sort of IList that can handle a data source that supports paging. </p>
<p>Let&#8217;s start with the basics &#8211;<br />
our class : </p>
<pre class="brush: csharp; title: ; toolbar: true; notranslate">
public class MyPagedDataModel&lt;T&gt; {
 /// ... code goes here....
}
</pre>
<p>Let&#8217;s continue by allowing us to determine the page size, current page index, and our data source. </p>
<pre class="brush: csharp; title: ; toolbar: true; notranslate">
        /// &lt;summary&gt;
        /// how many records per page
        /// &lt;/summary&gt;
        public virtual int PageSize { get; set; }

        /// &lt;summary&gt;
        /// Current page index - offset 1 (first page is 0)
        /// &lt;/summary&gt;
        public virtual int CurrentPageIndex { get; set; }

        public virtual object DataSource { get; set; }
</pre>
<p>To determine the number of records, and pages, I will have to skip one step, I trust you can keep up, but feel free to contact me if you have questions &#8211; </p>
<pre class="brush: csharp; title: ; toolbar: true; notranslate">

private IEnumerable&lt;T&gt; _list;

 public virtual IEnumerable&lt;T&gt; DisplayItems {
            get {
                ParseData();
                return _list;
            }
        }

internal override void ParseData()
        {

            if (_list == null)
            {
                _list = (IEnumerable&lt;T&gt;) DataSource;
                ApplyFilters();

                if (!PrePaged)
                {
                    TotalRecords = ((IQueryable&lt;T&gt;) DataSource).Count();

                    _list = _list.Skip(CurrentPageIndex * PageSize).Take(PageSize);
                }

            }
            base.ParseData();
        }

/// &lt;summary&gt;
        /// Total data records
        /// &lt;/summary&gt;
        public virtual int TotalRecords
        {
            get
            {
                if (_totalRecords&gt;0)
                    return _totalRecords; 

                ParseData();
                return _totalRecords;
            }
            set
            {
                _totalRecords = value;
            }
        }

        /// &lt;summary&gt;
        /// Compute the pages count.
        /// &lt;/summary&gt;
        public virtual int TotalPages{
            get {
                if (PageSize == 0)
                    return 0;

                return (int)Math.Ceiling((decimal)TotalRecords / (decimal)PageSize);
            }
        }
</pre>
<h3>Let&#8217;s see the complete class</h3>
<pre class="brush: csharp; title: ; toolbar: true; notranslate">
public class MyPagedDataModel&lt;T&gt; {
        /// &lt;summary&gt;
        /// how many records per page
        /// &lt;/summary&gt;
        public virtual int PageSize { get; set; }

        /// &lt;summary&gt;
        /// Current page index - offset 1 (first page is 0)
        /// &lt;/summary&gt;
        public virtual int CurrentPageIndex { get; set; }

        public virtual object DataSource { get; set; }

private IEnumerable&lt;T&gt; _list;

 public virtual IEnumerable&lt;T&gt; DisplayItems {
            get {
                ParseData();
                return _list;
            }
        }

internal override void ParseData()
        {

            if (_list == null)
            {
                _list = (IEnumerable&lt;T&gt;) DataSource;
                ApplyFilters();

                if (!PrePaged)
                {
                    TotalRecords = ((IQueryable&lt;T&gt;) DataSource).Count();

                    _list = _list.Skip(CurrentPageIndex * PageSize).Take(PageSize);
                }

            }
            base.ParseData();
        }

/// &lt;summary&gt;
        /// Total data records
        /// &lt;/summary&gt;
        public virtual int TotalRecords
        {
            get
            {
                if (_totalRecords&gt;0)
                    return _totalRecords; 

                ParseData();
                return _totalRecords;
            }
            set
            {
                _totalRecords = value;
            }
        }

        /// &lt;summary&gt;
        /// Compute the pages count.
        /// &lt;/summary&gt;
        public virtual int TotalPages{
            get {
                if (PageSize == 0)
                    return 0;

                return (int)Math.Ceiling((decimal)TotalRecords / (decimal)PageSize);
            }
        }

}
</pre>
<div>As always, feel free to contact me with suggestions or questions</div>
]]></content:encoded>
			<wfw:commentRss>http://www.segevs.com/programming/my-recipe-for-a-paged-list-datamodel-with-strong-type/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The 10 things you should never tell your man</title>
		<link>http://www.segevs.com/thoughts/the-10-things-you-should-never-tell-your-man</link>
		<comments>http://www.segevs.com/thoughts/the-10-things-you-should-never-tell-your-man#comments</comments>
		<pubDate>Thu, 29 Dec 2011 07:37:27 +0000</pubDate>
		<dc:creator>Segev {CJ} Shmueli</dc:creator>
				<category><![CDATA[Thoughts...]]></category>

		<guid isPermaLink="false">http://www.segevs.com/?p=64</guid>
		<description><![CDATA[There are only few things you should never tell your guy. Some questions and talks might even cost you your relationship. Speaking as a guy with the weirdest dating history, and a guy that got divorced more times than he got married, I feel I&#8217;m some sort of an authority when it comes to doing [...]]]></description>
			<content:encoded><![CDATA[<p>There are only few things you should never tell your guy. Some questions and talks might even cost you your relationship.</p>
<p>Speaking as a guy with the weirdest dating history, and a guy that got divorced more times than he got married, I feel I&#8217;m some sort of an authority when it comes to doing the wrong thing. </p>
<p>Let&#8217;s go over the &#8216;don&#8217;t do list&#8217; : </p>
<p>1) &#8220;When will I see you again?&#8221;<br />
Every beginner HR personnel knows that when a candidate ask about their salary during the first interview, they are probably the wrong person for the job.<br />
Same rule applies to dating. Don&#8217;t ask us when will I see you again, let us ask you out, leave us with a new peak to conquer &#8211; a second date! </p>
<p>Once you asked us that question, the manly gland ( a simple gland that controls our live &#8211; get laid, get paid, die), naturally switches to the &#8216;let&#8217;s hook up&#8217; mode&#8230; or something more like  &#8211; &#8216;oh yeah, I&#8217;m in&#8230; Let&#8217;s meet tomorrow, my apartment is shiny and I just restocked my stash of condoms.&#8217;</p>
<p>2) &#8220;Do you think that she&#8217;s pretty?&#8221;<br />
&#8216;She is cute, but not as pretty as you!&#8217; (lie! lie! lie!) &#8230; Please never ask us that question.<br />
No reasonable man would honestly answer that question (just FIY). Guys don&#8217;t like you trying to compare yourself to every hot woman that is walking by (coincidentally, all of them are very very young, way younger than you!).</p>
<p>I understand competition as much as the next person, I even admire competitive nature; But in that specific instance you are asking a question that every man on earth (at least the mildly sane and above) will give you the same answer (and since you usually pick the most outrageously hot girl that walked by, lie).</p>
<p>3) &#8220;Don&#8217;t worry about it, it&#8217;s fine, nothing happened&#8221;<br />
During instances of misscommunication, you result to &#8216;nothing happened&#8217;, while what you actually think is closer to &#8216;he doesn&#8217;t get me. No point in telling him&#8217;. Our brain is painfully simple, when you tell us it&#8217;s OK, we actually believe you!<br />
In fact, you are more likely to get our back that night, than an attempt to understand what we did wrong. </p>
<p>Don&#8217;t get me wrong, guys are trained (or rather both designed by nature and nurtured) to take whatever you say as a cleaver mask, we know that there is always an hidden agenda, but please &#8211; give us a hint/ sign.<br />
Keep one thing in mind, by the time you finished that sentence, we actually believe that everything is fine, and free as much brain space as possible to think about sex.</p>
<p>4) &#8220;&#8230;. we need to talk&#8221;<br />
First thing that jump to our mind &#8211; &#8216;Was don&#8217;t need to talk!&#8217;<br />
Whenever you say the above phrase, expect your guy to shut down, and avoid a serious conversation at any cost. </p>
<p>If what you had in mind is a talk about him leaving clothes all over the place; You must find another opening .</p>
<p>5) &#8220;I want to try anything, at least once&#8221;<br />
Oooh, that one is tricky .<br />
Don&#8217;t say it unless you really mean it. Trust me, your guy has way more fantasies than you could ever imagine.<br />
When we start acting on our fantasy, and you back down, it could be really disappointing .</p>
<p>So&#8230;. let&#8217;s change &#8216;anything&#8217; to &#8216;anything but&#8230;&#8217;</p>
<p>6) &#8220;What are you thinking about right now?&#8221;<br />
Never ask us that question!.<br />
Most of the time, we don&#8217;t think, we react. Other times we are trying to find the perfect strategy for how to make todays&#8217; date successful .</p>
<p>Either way &#8211; we just don&#8217;t have an answer to that particular question!</p>
<p>7) &#8220;You are just like my ex&#8221;<br />
Bad Bad Bad date!<br />
What would you think if I told you that you were just like my ex? </p>
<p>Yes factoring your taste, features you find attractive, and your unique chemistry with potential mates, it is safe to assume we share few qualities with (all) your ex (es).<br />
But we want to feel like we are the first, don&#8217;t bring up previous relationships!!!! </p>
<p> <img src='http://www.segevs.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> &#8220;I don&#8217;t trust you yet&#8221;<br />
wrong thing to say in any situation. Why bother if you start from a negative place. </p>
<p>9) &#8220;What are you thinking about right now?&#8221;<br />
The most annoying question for a first (or one of the firsts) date .<br />
While you spend a lot of brain power figuring out what we might be thinking about at the moment, we don&#8217;t think about anything!!<br />
But when you ask us that we do feel compelled to come up with something so we spend time and a lot of energy coming up with something we think you might like. </p>
<p>10) &#8220;How many girls have you slept with?&#8221;<br />
No No No No! we don&#8217;t want to know with how many guys you&#8217;ve been with, and we will NEVER EVER give you a real number!<br />
But you do come across as an easier target to conquer. After all you mentioned sex first!</p>
<p>Hope that helps<br />
Let&#8217;s hear question that you don&#8217;t want to hear during one of the first dates&#8230;. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.segevs.com/thoughts/the-10-things-you-should-never-tell-your-man/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert an object in C# to JSON</title>
		<link>http://www.segevs.com/programming/how-to-convert-an-object-in-c-to-json</link>
		<comments>http://www.segevs.com/programming/how-to-convert-an-object-in-c-to-json#comments</comments>
		<pubDate>Sat, 24 Dec 2011 05:30:16 +0000</pubDate>
		<dc:creator>Segev {CJ} Shmueli</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.segevs.com/?p=49</guid>
		<description><![CDATA[While working on one of my favorites eMagid projects &#8211; rentalengine, one of our technicians had to deal with a small hurdle &#8211; How to convert custom object into JSON, so it can be consumed by our rich JavaScript UI. The solution is actually way more simple than you&#8217;d imagine &#8211; There is a built [...]]]></description>
			<content:encoded><![CDATA[<p>While working on one of my favorites eMagid projects &#8211; rentalengine, one of our technicians had to deal with a small hurdle &#8211; How to convert custom object into JSON, so it can be consumed by our rich JavaScript UI.</p>
<p>The solution is actually way more simple than you&#8217;d imagine &#8211; There is a built it serializer just for that in the <strong>System.Web.Script.Serialization</strong> namespace.</p>
<p>So&#8230; let&#8217;s see it in action :</p>
<h3>First &#8211; let&#8217;s built our object:</h3>
<pre class="brush: csharp; title: ; toolbar: true; notranslate">
[Serializable()]
public class MyObject {
    public string StringField { get; set; }

    public int[] Numbers { get; set; }

    public String[] Names { get; set; }

}
</pre>
<h3>Now the fun part &#8211; Convert to JSON</h3>
<h4>Step 1. Import the namespace</h4>
<pre class="brush: csharp; title: ; toolbar: true; notranslate">
using System.Web.Script.Serialization;
</pre>
<div>Guess the namespace implies what assembly to import</div>
<p><br/><br/></p>
<h4>Step 2. Let&#8217;s JSON it! </h4>
<div>Your are going to LOVE how simple it is</div>
<pre class="brush: csharp; title: ; toolbar: true; notranslate">
JavaScriptSerializer o = new JavaScriptSerializer();
string json = o.Serialize(Images);
</pre>
<p>Is that all??? </p>
<p>YES! that&#8217;s all. You just converted your object (custom, ADO, Linq object, or otherwise) to JSON!! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.segevs.com/programming/how-to-convert-an-object-in-c-to-json/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

