BusyBird-Input-Feed

 view release on metacpan or  search on metacpan

t/samples/stackoverflow.atom  view on Meta::CPAN

            <category scheme="http://stackoverflow.com/tags" term="sql-server" />
        <author>
            <name>user3166881</name>
            <uri>http://stackoverflow.com/users/3166881</uri>
        </author>
        <link rel="alternate" href="http://stackoverflow.com/questions/24592910/adding-a-date-variable-to-alter-table" />
        <published>2014-07-06T05:12:45Z</published>
        <updated>2014-07-06T05:30:09Z</updated>
        <summary type="html">
            

            &lt;p&gt;I am trying to alter a temp table by adding a &quot;Comments&quot; column which contains the sentence &quot;employee will begin in&quot; + the date they will join.&lt;/p&gt;

&lt;p&gt;I tried starting off small by setting a fixed date to make the query work, but the @date variable is not returning 7/4/2014 after the sentence.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
DECLARE @date datetime
SET @date=&#39;7/4/2014&#39;
DECLARE @sql varchar (1000)
SELECT @sql =&#39;ALTER TABLE #employ ADD Comments varchar (200) DEFAULT &#39;&#39;employee will begin in&#39; + &#39;@date&#39;&#39;&#39;
EXEC (@sql)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Once I get past this step, I can try working to figure out how to assign different date values for each employee ID.&lt;/p&gt;

&lt;p&gt;Thank you very much, any tips would be greatly appreciated.&lt;/p&gt;

        </summary>
    </entry>
    <entry>
        <id>http://stackoverflow.com/q/24592890</id>
        <re:rank scheme="http://stackoverflow.com">0</re:rank>
        <title type="text">Show banner based on cookie only once per browser session using asp.net</title>
            <category scheme="http://stackoverflow.com/tags" term="c#" />
            <category scheme="http://stackoverflow.com/tags" term="asp.net" />
            <category scheme="http://stackoverflow.com/tags" term="webforms" />
        <author>
            <name>KnowledgeSeeker</name>
            <uri>http://stackoverflow.com/users/1122748</uri>
        </author>
        <link rel="alternate" href="http://stackoverflow.com/questions/24592890/show-banner-based-on-cookie-only-once-per-browser-session-using-asp-net" />
        <published>2014-07-06T05:08:00Z</published>
        <updated>2014-07-06T05:29:58Z</updated>
        <summary type="html">
            

            &lt;p&gt;I want to show a banner only once per browser session.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; &amp;lt;asp:Panel ID=&quot;Panel1&quot; runat=&quot;server&quot;&amp;gt;
&amp;lt;img src=&quot;path&quot;/&amp;gt;
 &amp;lt;/asp:Panel&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I want to achieve this using cookie from code-behind file.&lt;/p&gt;

&lt;p&gt;My code is below but the banner keeps showing ever time, How i achieve this in bets manner&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    protected void Page_Load(object sender, EventArgs e)
    {
    if (!IsPostBack)
    {
    //Set Banner Cookie
    HttpCookie BannerCookie = new HttpCookie(&quot;ShowBanner&quot;);
    BannerCookie.Value = &quot;YES&quot;;
     Response.Cookies.Add(bannercookie)
     Panel1.Visible = False;
    //Do Somthing...
    ShowPageDetails();
    ShowBanner();

    }
    else
    {
    //Do Somthing
    Panel1.Visible = False;
    ShowPageDetails();
    ShowBanner();
    }
}

public void ShowBanner()
{
 HttpCookie BannerCookie = Request.Cookies[&quot;ShowBanner&quot;];
 if (BannerCookie != null)
 {
 Panel1.Visible = True;
            BannerCookie.Value = null;
            Response.Cookies.Add(BannerCookie);
 }
else
{
Panel1.Visible = false;
}
}
&lt;/code&gt;&lt;/pre&gt;

        </summary>
    </entry>
    <entry>
        <id>http://stackoverflow.com/q/24592888</id>
        <re:rank scheme="http://stackoverflow.com">0</re:rank>
        <title type="text">CSS / HTML help. Text align left and right on the same line?</title>
            <category scheme="http://stackoverflow.com/tags" term="html" />
            <category scheme="http://stackoverflow.com/tags" term="css" />
        <author>
            <name>user3808918</name>
            <uri>http://stackoverflow.com/users/3808918</uri>
        </author>
        <link rel="alternate" href="http://stackoverflow.com/questions/24592888/css-html-help-text-align-left-and-right-on-the-same-line" />
        <published>2014-07-06T05:07:19Z</published>
        <updated>2014-07-06T05:32:31Z</updated>
        <summary type="html">
            

            &lt;p&gt;I am working on my about page and having trouble with this.  Trying to align the (years or pending) to the right side of the column.  See image for example. &lt;/p&gt;

&lt;p&gt;Top is how it looks now.  Bottom image is how I want it to look. &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://i60.tinypic.com/x20vu0.jpg&quot; rel=&quot;nofollow&quot;&gt;http://i60.tinypic.com/x20vu0.jpg&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Site is located; &lt;a href=&quot;http://www.eatlovepray.me/portfolio/about-me/&quot; rel=&quot;nofollow&quot;&gt;http://www.eatlovepray.me/portfolio/about-me/&lt;/a&gt;&lt;/p&gt;

        </summary>
    </entry>
    <entry>
        <id>http://stackoverflow.com/q/24592834</id>
        <re:rank scheme="http://stackoverflow.com">3</re:rank>
        <title type="text">Why Major Garbage collection is slower than Minor?</title>
            <category scheme="http://stackoverflow.com/tags" term="java" />
            <category scheme="http://stackoverflow.com/tags" term="garbage-collection" />
        <author>
            <name>M Sach</name>
            <uri>http://stackoverflow.com/users/802050</uri>
        </author>
        <link rel="alternate" href="http://stackoverflow.com/questions/24592834/why-major-garbage-collection-is-slower-than-minor" />
        <published>2014-07-06T04:56:32Z</published>
        <updated>2014-07-06T05:29:34Z</updated>
        <summary type="html">
            

            &lt;p&gt;Gone thru this &lt;a href=&quot;http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html&quot; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt; but still
has confusion what actually happens in minor and major GC collection.&lt;/p&gt;

&lt;p&gt;Say i have 100 objects in younger generation out of which 85 object are unreachabe objects. Now when Minor GC runs,
it will reclaim the memory of 85 objects and move 15 objects to older(tenured) generation. &lt;/p&gt;

&lt;p&gt;Now 15 live objects exists in older generation out of which 3 are unreachable. Say Major GC takes places.  It will keep
15 objects as it is and reclaim the memory for 3 unreachable object. Major GC is said to be slower than minor GC. &lt;code&gt;My question is why ? Is it because of major GC happens on generally greater number of objects than minor as minor gc occurs ...



( run in 0.956 second using v1.01-cache-2.11-cpan-39bf76dae61 )