<?xml version="1.0"?>

<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/">
<channel>

<title>Glenn Thomas Hvidsten</title>
<link>http://glenn.whitestone.no</link>
<description>The personal homepage of Glenn Thomas Hvidsten</description>
<language>en-US</language>
<copyright>Copyright (C) 2012, Glenn Thomas Hvidsten</copyright>

<item>
<title>Art history lesson</title>
<link>http://glenn.whitestone.no/blog/article/art-history-lesson/</link>
<comments>http://glenn.whitestone.no/blog/article/art-history-lesson/#comments</comments>
<pubDate>2012-02-26 19:23</pubDate>
<category><![CDATA[Life]]></category>
<description>Today my nephew got baptized. Let's not dwell on that and look at what I got him instead.
A few days ago I actually went into an art gallery and bought a piece of art. There's certainly a first time for everything! I hope the little guy will appreciate a genuine piece of art as he grows older.

What I got him was this lithograph from artist Per [...]</description>
<content:encoded><![CDATA[<p><img align="right" alt="Art history lesson" src="http://glenn.whitestone.no/common/displaydata.php?id=07edc390-5f1f-11e1-85ca-000c293009c4&amp;size=100&amp;isheight=1&amp;constrainboth=1" />Today my nephew got baptized. Let's not dwell on that and look at what I got him instead.<br/>A few days ago I actually went into an art gallery and bought a piece of art. There's certainly a first time for everything! I hope the little guy will appreciate a genuine piece of art as he grows older.<br/><br/>What I got him was this <a href="http://en.wikipedia.org/wiki/Lithography" title="lithograph">lithograph</a> from artist <a href="http://en.wikipedia.org/wiki/Per_Krohg" title="Per Krohg">Per Krohg</a>, son of the renowned <a href="http://en.wikipedia.org/wiki/Christian_Krohg" title="Christian Krohg">Christian Krohg</a>. Per originally made a series of pictures for his son Guy when he was a child. Each picture represented a letter in the alphabet. The family of artists were typical of their time and lived in France, so each picture also represented something in French.<br/>Unfortunately the gallery didn't have the letter L, so I got the letter C (for &quot;Collage&quot; or &quot;la chambre&quot;) instead because I liked the motif and it had a fitting look for a baby room. The picture is also numbered, so there are apparently 75 copies and this is number 35.<br/>I'm interested in more information about this series, so if anybody out there can help do write me an email or a comment on this post.</p>]]></content:encoded>
</item>
<item>
<title>Response.Redirect inside an UpdatePanel</title>
<link>http://glenn.whitestone.no/blog/article/responseredirect-inside-an-updatepanel/</link>
<comments>http://glenn.whitestone.no/blog/article/responseredirect-inside-an-updatepanel/#comments</comments>
<pubDate>2011-10-18 16:37</pubDate>
<category><![CDATA[.Net]]></category>
<category><![CDATA[Programming]]></category>
<description>Recently I've had more and more pages displaying unexpected behaviour.
I had an UpdatePanel with a button inside it. The button's Click event performed a Response.Redirect(), but nothing happened.
The Javascript error console showed the following error message:

"Sys.WebForms.PageRequestManagerParserErrorException: The message received from [...]</description>
<content:encoded><![CDATA[<p>Recently I've had more and more pages displaying unexpected behaviour.<br/>I had an UpdatePanel with a button inside it. The button's Click event performed a Response.Redirect(), but nothing happened.<br/>The Javascript error console showed the following error message:<br/><br/><blockquote><p>Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.</p></blockquote><br/><br/>After some googling it seems that ASP.Net doesn't quite support Response.Redirect() inside UpdatePanels any more.<br/><br/>The solution was to make sure the button actually performed a full postback of the webpage, and not only a partial postback (as it would do because it was inside an UpdatePanel).<br/><br/>There are two ways of doing this. First the easy way.<br/><br/><pre>&lt;asp:UpdatePanel runat=&quot;server&quot;&gt;<br/>    &lt;ContentTemplate&gt;<br/>        &lt;asp:Button ID=&quot;MyButton&quot; runat=&quot;server&quot; /&gt;<br/>    &lt;/ContentTemplate&gt;<br/>    &lt;Triggers&gt;<br/>        &lt;asp:PostBackTrigger ControlID=&quot;MyButton&quot; /&gt;<br/>    &lt;/Triggers&gt;<br/>&lt;/asp:UpdatePanel&gt;</pre><br/><br/>Here you're basically telling the UpdatePanel that &quot;MyButton&quot; should perform a full postback instead of a partial one.<br/><br/>My problem was a bit more complicated, though, because &quot;MyButton&quot; was inside a GridView. This complicated things a bit, but not too much. Mainly you have to have access to the ScriptManager.<br/><br/>Add the OnRowDataBund event to your GridView. In this event do the following:<br/><br/><pre>protected void MyGridview_RowDataBound(object sender, GridViewRowEventArgs e)<br/>{<br/>    if (e.Row.RowType == DataControlRowType.DataRow)<br/>    {<br/>        Button MyButton = (Button)e.Row.FindControl(&quot;MyButton&quot;);<br/>        ScriptManager1.RegisterPostBackControl(MyButton);<br/>    }<br/>}</pre><br/><br/>So instead of telling the UpdatePanel that your button should do a full postback, you're telling the ScriptManager the same thing.<br/>Doing this in code-behind would obviously work for the first example as well.</p>]]></content:encoded>
</item>
<item>
<title>Samba/Winbind connection issues</title>
<link>http://glenn.whitestone.no/blog/article/samba-winbind-connection-issues/</link>
<comments>http://glenn.whitestone.no/blog/article/samba-winbind-connection-issues/#comments</comments>
<pubDate>2011-10-15 13:08</pubDate>
<category><![CDATA[Linux]]></category>
<category><![CDATA[Technology]]></category>
<description>I recently had to reconfigure my linux (Ubuntu 10.04 LTS) servers.
I had previously used these two howto's to configure my servers.
Suddenly one of them refused to properly connect with various error messages:

# wbinfo -p
Ping to winbindd failed

# wbinfo -u
Error looking up domain users

# wbinfo -t
checking the trust secret via RPC [...]</description>
<content:encoded><![CDATA[<p>I recently had to reconfigure my linux (Ubuntu 10.04 LTS) servers.<br/>I had previously used <a href="https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto" title="these">these</a> <a href="http://ubuntuforums.org/showthread.php?t=91510" title="two">two</a> howto's to configure my servers.<br/>Suddenly one of them refused to properly connect with various error messages:<br/><br/><i># wbinfo -p</i><br/>Ping to winbindd failed<br/><br/><i># wbinfo -u</i><br/>Error looking up domain users<br/><br/><i># wbinfo -t</i><br/>checking the trust secret via RPC calls failed<br/>Could not check secret<br/><br/>After a week of googling I finally found the following <a href="http://lists.samba.org/archive/samba/2003-May/066832.html" title="solution">solution</a>, which did the trick for me.<br/><br/><div style="margin-left:15px">Stop <i>smbd</i>, <i>nmbd</i> and <i>winbindd</i> <i>(make sure they are really dead using ps. winbindd still lingered after I stopped the service)</i></div><div style="margin-left:15px">Delete the linux computer from the Primary Domain Controller (using the Management Console)</div><div style="margin-left:15px">Delete the secrets database <i>(/var/lib/samba/secrets.tdb)</i></div><div style="margin-left:15px">Join the domain again</div><div style="margin-left:15px">Start the daemons (<i>smbd</i>, <i>nmbd</i> and <i>winbindd</i>)</div><div style="margin-left:15px">Test the winbind commands to see that everything is working</div></p>]]></content:encoded>
</item>
<item>
<title>Trying a new thing with my blog</title>
<link>http://glenn.whitestone.no/blog/article/trying-a-new-thing-with-my-blog/</link>
<comments>http://glenn.whitestone.no/blog/article/trying-a-new-thing-with-my-blog/#comments</comments>
<pubDate>2011-10-15 11:23</pubDate>
<category><![CDATA[Life]]></category>
<category><![CDATA[Technology]]></category>
<description>Because I'm using Twitter, Facebook and Google+ I haven't really made any good posts to my blog for a while.
I'm trying to remedy this by taking my blog in a new direction.
As a &quot;Technology Enthusiast&quot; I regularly get stuck in various situations where I have to do a lot of googling. Some times I can google for a week and not find a [...]</description>
<content:encoded><![CDATA[<p>Because I'm using <a href="http://twitter.com/GTHvidsten" title="Twitter">Twitter</a>, <a href="http://facebook.com/gthvidsten" title="Facebook">Facebook</a> and <a href="http://plus.google.com/113018222949520957533/posts" title="Google+">Google+</a> I haven't really made any good posts to my blog for a while.<br/>I'm trying to remedy this by taking my blog in a new direction.<br/>As a &quot;Technology Enthusiast&quot; I regularly get stuck in various situations where I have to do a lot of googling. Some times I can google for a week and not find a solution.<br/>When I finally do find a solution I've decided I should write about it on my blog so that others can (maybe) find the solution as well.<br/>So don't be surprised when you see lots of technical stuff popping up on this blog instead of the usual ramblings about what happens (or not) in my life.</p>]]></content:encoded>
</item>
<item>
<title>Give a little bit of yourself today and save a life tomorrow!</title>
<link>http://glenn.whitestone.no/blog/article/give-a-little-bit-of-yourself-today-and-save-a-life-tomorrow/</link>
<comments>http://glenn.whitestone.no/blog/article/give-a-little-bit-of-yourself-today-and-save-a-life-tomorrow/#comments</comments>
<pubDate>2011-06-14 08:15</pubDate>
<category><![CDATA[Life]]></category>
<category><![CDATA[Reflections]]></category>
<description>Today is the World Blood Donor Day. Donating blood is such an easy thing to do, and is also a very easy way to help save lives. You only give about 15-30 minutes of your time, and a pint of blood. Seeing how many lives are saved each year because of blood donors, the choice shouldn't really be that hard to make, but still there is a profound lack [...]</description>
<content:encoded><![CDATA[<p><img align="right" alt="Give a little bit of yourself today and save a life tomorrow!" src="http://glenn.whitestone.no/common/displaydata.php?id=096b6210-960a-11e0-bd6c-000c2916f59f&amp;size=100&amp;isheight=1&amp;constrainboth=1" />Today is the <a href="http://en.wikipedia.org/wiki/World_Blood_Donor_Day" title="World Blood Donor Day">World Blood Donor Day</a>. Donating blood is such an easy thing to do, and is also a very easy way to help save lives. You only give about 15-30 minutes of your time, and a pint of blood. Seeing how many lives are saved each year because of blood donors, the choice shouldn't really be that hard to make, but still there is a profound lack of available blood in hospitals around the world.<br/><br/>I am, of course, a donor. Even though I hate syringes and needles, I go through with the donation roughly once every three months. Being such an easy way to help others, I gladly do it. I get a gift from the local hospital every time I do it, but I would continue doing it even if I got nothing at all.<br/><br/>Use today as an incentive to go to your local blood bank and sign up to be a donor! If you're at work, tell your boss you're taking a few moments off work to go register. The boss should welcome this action. If he doesn't, remind him that some day maybe he or his family could be needing blood.<br/>I'm doing my part, are you?<br/><br/>For more information, see the following sites:<br/><br/><a href="http://www.redcrossblood.org/" title="American Red Cross">American Red Cross</a>, USA<br/><a href="https://www.blood.co.uk/" title="Give Blood">Give Blood</a>, UK<br/><a href="https://www.giblod.no/forside.asp?level=7348#campaign=bflfront2" title="GiBlod.no">GiBlod.no</a>, Norway</p>]]></content:encoded>
</item>
<item>
<title>Volcanic refugee</title>
<link>http://glenn.whitestone.no/blog/article/volcanic-refugee/</link>
<comments>http://glenn.whitestone.no/blog/article/volcanic-refugee/#comments</comments>
<pubDate>2010-04-28 19:29</pubDate>
<category><![CDATA[Life]]></category>
<category><![CDATA[Travel]]></category>
<description>I recently had to attend a class in Copenhagen, Denmark, to get to learn the CMS system we use at the office a little more in detail. I had planned on taking a flight down there on a Wednesday, attending the class Thursday and Friday, then flying back home Friday evening. However, Iceland didn't quite want it to go down like</description>
<content:encoded><![CDATA[<p><img align="right" alt="Volcanic refugee" src="http://glenn.whitestone.no/common/displaydata.php?id=0697a730-a44f-102d-8dac-001a923ea835&amp;size=100&amp;isheight=1&amp;constrainboth=1" />I recently had to attend a class in Copenhagen, Denmark, to get to learn the <a href="http://en.wikipedia.org/wiki/Content_management_system" title="CMS">CMS</a> system we use at the office a little more in detail. I had planned on taking a flight down there on a Wednesday, attending the class Thursday and Friday, then flying back home Friday evening. However, Iceland didn't quite want it to go down like that.</p><p>One week before departure the <a href="http://en.wikipedia.org/wiki/Eyjafjallaj%C3%B6kull" title="Eyjafjallaj&ouml;kul">Eyjafjallaj&ouml;kul</a> volcano on Iceland decided to erupt, throwing tons and tons of ash into the atmosphere. The winds favored this ash and placed it right on top of Northern Europe, causing all air traffic to be suspended.<br/>The following Monday all flights were still canceled and I couldn't risk waiting any longer, so I got a refund from the airline and ordered a ticket on the <a href="http://www.dfdsseaways.no/" title="Oslo - Copenhagen ferry">Oslo - Copenhagen ferry</a> instead.<br/>That meant that I would have to leave on Tuesday instead of a Wednesday, and I wouldn't get back home until Sunday afternoon. Gone for almost a week for only a two day class. The next day airports started to open again, but then it was too late. I would have to take the ferry.<br/>The trip was actually still quite a good one, though. I got to stay an extra night in Copenhagen, saw some of the nice surroundings (as the ones of you who <a href="http://twitpic.com/1h2a95" title="follow">follow</a> <a href="http://twitpic.com/1hc1qn" title="me">me</a> <a href="http://twitpic.com/1hjg1c" title="on">on</a> <a href="http://twitter.com/GTHvidsten" title="Twitter">Twitter</a> <a href="http://twitpic.com/1hpxmu" title="have">have</a> <a href="http://twitpic.com/1i18ov" title="already">already</a> <a href="http://twitpic.com/1ibi6h" title="seen">seen</a>). I had some good food, and made some new acquaintances, and most importantly, I passed the exam at the end of the class with flying colors (95%! woot!) so I'm now a certified <a href="http://www.sitecore.net/" title="Sitecore">Sitecore</a> .Net Developer!<br/>There was one positive side to the volcanic ash in the skies, though... it showed off it's true colors in some amazing sunsets, one of which I managed to capture on the ferry ride from Oslo to Copenhagen.</p>]]></content:encoded>
</item>
<item>
<title>Spam be gone?</title>
<link>http://glenn.whitestone.no/blog/article/spam-be-gone/</link>
<comments>http://glenn.whitestone.no/blog/article/spam-be-gone/#comments</comments>
<pubDate>2009-11-02 18:27</pubDate>
<category><![CDATA[Technology]]></category>
<description>I've now done an extensive cleanup on the site to remove spam comments. I should have been able to filter out and delete only the spam comments, but as always, the human mind is fallible... even mine... so if you're missing a comment you remember having written, I'm sorry, but it's been zapped. You could always write a new one, of course.
In [...]</description>
<content:encoded><![CDATA[<p>I've now done an extensive cleanup on the site to remove spam comments. I should have been able to filter out and delete only the spam comments, but as always, the human mind is fallible... even mine... so if you're missing a comment you remember having written, I'm sorry, but it's been zapped. You could always write a new one, of course.<br/>In order to try to prevent spam filling up this site in the future I've implemented a new <a href="http://en.wikipedia.org/wiki/CAPTCHA" title="CAPTCHA">CAPTCHA</a> from the free (!) service called <a href="http://recaptcha.net/" title="reCAPTCHA">reCAPTCHA</a>. I hope this will be good enough to hold the spambots at bay.<br/>If you're one of the people sending spambots to my site, remember the wise words of modern day philosopher geek <a href="http://wilwheaton.typepad.com/" title="Wil Wheaton">Wil Wheaton</a>: <b><i>Don't be a dick!</i></b></p>]]></content:encoded>
</item>
<item>
<title>Where's the new stuff?</title>
<link>http://glenn.whitestone.no/blog/article/wheres-the-new-stuff/</link>
<comments>http://glenn.whitestone.no/blog/article/wheres-the-new-stuff/#comments</comments>
<pubDate>2009-10-21 20:47</pubDate>
<category><![CDATA[Life]]></category>
<description>I so want to write a serious entry in my blog. But I never find the strength. I have several subjects lined up (my jaw surgery, my couch surfing experience, my trip to TAM London) but I can't work up the strength to actually write about it.
Please, if anybody has any good tips on what I can do to get myself to write about these subjects, please [...]</description>
<content:encoded><![CDATA[<p>I so want to write a serious entry in my blog. But I never find the strength. I have several subjects lined up (my jaw surgery, my couch surfing experience, my trip to TAM London) but I can't work up the strength to actually write about it.<br/>Please, if anybody has any good tips on what I can do to get myself to write about these subjects, please let me know.</p>]]></content:encoded>
</item>
<item>
<title>Where's Twitter?</title>
<link>http://glenn.whitestone.no/blog/article/wheres-twitter/</link>
<comments>http://glenn.whitestone.no/blog/article/wheres-twitter/#comments</comments>
<pubDate>2009-08-06 14:54</pubDate>
<category><![CDATA[Technology]]></category>
<description>It seems Twitter is down. Now I'm all lost. I don't know what to do. I keep speaking in sentences of only 140 characters. I keep wondering what Barack Obama is up to. Suddenly I have no funny links to articles on the web or funny videos on YouTube. I can't even tell the world what I'm doing or what I've just seen.
So I've stooped to the level of [...]</description>
<content:encoded><![CDATA[<p>It seems Twitter is down. Now I'm all lost. I don't know what to do. I keep speaking in sentences of only 140 characters. I keep wondering what Barack Obama is up to. Suddenly I have no funny links to articles on the web or funny videos on YouTube. I can't even tell the world what I'm doing or what I've just seen.<br/>So I've stooped to the level of actually writing on my blog again. That's what happens when the world stops.<br/>So here's a short tweet:<br/><br/>&quot;Watchmen&quot;. Very true to the graphic novel. Visually stunning (including Malin Akerman). A bit on the long side. 8/10</p>]]></content:encoded>
</item>
<item>
<title>Aragog paid me a visit last night</title>
<link>http://glenn.whitestone.no/blog/article/aragog-paid-me-a-visit-last-night/</link>
<comments>http://glenn.whitestone.no/blog/article/aragog-paid-me-a-visit-last-night/#comments</comments>
<pubDate>2009-07-23 14:45</pubDate>
<category><![CDATA[Life]]></category>
<description>Last night, just before brushing my teeth before going to bed, I noticed something dark in the corner of my eye. I turned around and saw this monstrosity. Having mild to heavy arachnophobia I actually let out a short scream and suddenly found myself in the adjoining room.
After calming down I got my Nikon and attached the macro lens and snapped a [...]</description>
<content:encoded><![CDATA[<p><img align="right" alt="Aragog paid me a visit last night" src="http://glenn.whitestone.no/common/displaydata.php?id=a8a30f9a-c8e7-102c-88ed-001a923ea835&amp;size=100&amp;isheight=1&amp;constrainboth=1" />Last night, just before brushing my teeth before going to bed, I noticed something dark in the corner of my eye. I turned around and saw this monstrosity. Having mild to heavy arachnophobia I actually let out a short scream and suddenly found myself in the adjoining room.<br/>After calming down I got my Nikon and attached the macro lens and snapped a few shots to document the creature. I then brushed it into a bucket (with some toilet paper. Not with my hand. Are you crazy!?) (it actually made quite a thud when it hit the bottom of the bucket) and then emptied the bucket into the toilet.<br/>Now, about the arachnophobia. Me being scientific, and a critical and rational thinker, I know perfectly well that it is an irrational fear to be afraid of spiders. Yet, with this knowledge, I still can't help the small of my back cringing when I see one. Especially when they're that close before I catch sight of them. In a way, it's good to see that my primal instincts still work.<br/>Yes, this makes me a bit of a wuss, but I'll accept that any day. At least I'm not afraid of other kinds of animals, like snakes... or snails.<br/><br/>UPDATE:<br/><br/>After some research it seems that this spider is a <a href="http://en.wikipedia.org/wiki/Tegenaria_atrica" title="Tegenaria Atrica">Tegenaria Atrica</a>, a funnel-web spider in the <a href="http://en.wikipedia.org/wiki/Araneomorph_funnel-web_spider" title="Agelenidae">Agelenidae</a> family.</p>]]></content:encoded>
</item>
</channel>
</rss>

