<?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"
	>

<channel>
	<title>mserver.log</title>
	<atom:link href="http://blog.mserver.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mserver.nl</link>
	<description>Let's blog about linux and programming!</description>
	<pubDate>Fri, 25 Jun 2010 08:20:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>ZTemplates email service</title>
		<link>http://blog.mserver.nl/2010/06/25/ztemplates-email-service/</link>
		<comments>http://blog.mserver.nl/2010/06/25/ztemplates-email-service/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 08:15:33 +0000</pubDate>
		<dc:creator>matthias</dc:creator>
		
		<category><![CDATA[ztemplates]]></category>

		<category><![CDATA[email]]></category>

		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://blog.mserver.nl/?p=167</guid>
		<description><![CDATA[Has been a while since I last blogged, but I have been rather busy lately. Today I have done what I wanted to be doing a long time ago. I wrote a ztemplates service for sending out emails, using the powers of the rendering engine to create HTML emails. So I came up with the [...]]]></description>
		<wfw:commentRss>http://blog.mserver.nl/2010/06/25/ztemplates-email-service/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ZTemplates 0.9.9.6 and custom content types</title>
		<link>http://blog.mserver.nl/2009/09/30/ztemplates-0996-and-custom-content-types/</link>
		<comments>http://blog.mserver.nl/2009/09/30/ztemplates-0996-and-custom-content-types/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 09:28:38 +0000</pubDate>
		<dc:creator>matthias</dc:creator>
		
		<category><![CDATA[ztemplates]]></category>

		<category><![CDATA[content type]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://blog.mserver.nl/?p=163</guid>
		<description><![CDATA[Quite recently I have been in a situation where I wanted to expose some XML using ZTemplates. So I used the servlet serivce to get the HttpServletResponse instance:

final HttpServletResponse response = ZTemplates.getServletService&#40;&#41;.getResponse&#40;&#41;;
response.setCharacterEncoding&#40;&#34;utf-8&#34;&#41;;
response.setContentType&#40;&#34;application/xml&#34;&#41;;

Followed by rendering a view:

ZTemplates.getServletService&#40;&#41;.render&#40;view&#41;;

When I inspected the HTTP traffic using wireshark I noticed that I saw:

Content-Type: text/html;charset=utf-8

Rather than the expected application/xml. So I [...]]]></description>
		<wfw:commentRss>http://blog.mserver.nl/2009/09/30/ztemplates-0996-and-custom-content-types/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[quicky] Asterisk and incoming cli manipulation</title>
		<link>http://blog.mserver.nl/2009/01/15/quicky-asterisk-and-incoming-cli-manipulation/</link>
		<comments>http://blog.mserver.nl/2009/01/15/quicky-asterisk-and-incoming-cli-manipulation/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 21:05:24 +0000</pubDate>
		<dc:creator>matthias</dc:creator>
		
		<category><![CDATA[Asterisk]]></category>

		<category><![CDATA[CLI]]></category>

		<category><![CDATA[e164]]></category>

		<category><![CDATA[incoming]]></category>

		<category><![CDATA[manipulation]]></category>

		<category><![CDATA[outgoing]]></category>

		<category><![CDATA[quicky]]></category>

		<category><![CDATA[regular expression]]></category>

		<guid isPermaLink="false">http://blog.mserver.nl/?p=150</guid>
		<description><![CDATA[It is very common in professional VoIP that service providers put through CLIs transparently. If you are just a traffic routing party you usually don&#8217;t care about it, but for premium services however it can cause major issues. For example you have an application that matches the calling party&#8217;s CLI to an entry in a [...]]]></description>
		<wfw:commentRss>http://blog.mserver.nl/2009/01/15/quicky-asterisk-and-incoming-cli-manipulation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Quicky] Refactoring C++ in Microsoft Visual Studio</title>
		<link>http://blog.mserver.nl/2009/01/10/quicky-refactoring-c-in-microsoft-visual-studio/</link>
		<comments>http://blog.mserver.nl/2009/01/10/quicky-refactoring-c-in-microsoft-visual-studio/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 15:13:31 +0000</pubDate>
		<dc:creator>matthias</dc:creator>
		
		<category><![CDATA[C++ programming]]></category>

		<category><![CDATA[C]]></category>

		<category><![CDATA[quicky]]></category>

		<category><![CDATA[refactoring]]></category>

		<category><![CDATA[visual studio]]></category>

		<guid isPermaLink="false">http://blog.mserver.nl/?p=146</guid>
		<description><![CDATA[Yesterday I started a simple C++ project in Visual Studio and I got some class property which I wanted to rename. I&#8217;m used to Eclipse and Netbeans IDE which have in-built refactoring utilities. So I decided to select that property and right click on it to see if I would get some refactoring options. I [...]]]></description>
		<wfw:commentRss>http://blog.mserver.nl/2009/01/10/quicky-refactoring-c-in-microsoft-visual-studio/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Quicky] Shorewall and opening port ranges</title>
		<link>http://blog.mserver.nl/2008/12/06/quicky-shorewall-and-opening-port-ranges/</link>
		<comments>http://blog.mserver.nl/2008/12/06/quicky-shorewall-and-opening-port-ranges/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 12:42:55 +0000</pubDate>
		<dc:creator>matthias</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Asterisk]]></category>

		<category><![CDATA[firewall]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[port range]]></category>

		<category><![CDATA[quicky]]></category>

		<category><![CDATA[rtp]]></category>

		<category><![CDATA[shorewall]]></category>

		<guid isPermaLink="false">http://blog.mserver.nl/?p=142</guid>
		<description><![CDATA[Imagine you want to open up a port range to your host ($FW) in your shorewall&#8217;s &#8216;rules&#8217; file. So let&#8217;s say we run an Asterisk machine and we want to open RTP ports 10000 to 20000 to your machine, you would have to do something like:

ACCEPT  net  $FW  udp  10000:20000

For more [...]]]></description>
		<wfw:commentRss>http://blog.mserver.nl/2008/12/06/quicky-shorewall-and-opening-port-ranges/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[Quicky] JSTL and comparing strings</title>
		<link>http://blog.mserver.nl/2008/11/29/quicky-jstl-and-comparing-strings/</link>
		<comments>http://blog.mserver.nl/2008/11/29/quicky-jstl-and-comparing-strings/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 00:34:31 +0000</pubDate>
		<dc:creator>matthias</dc:creator>
		
		<category><![CDATA[Java programming]]></category>

		<category><![CDATA[compare]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[jstl]]></category>

		<category><![CDATA[quicky]]></category>

		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://blog.mserver.nl/?p=135</guid>
		<description><![CDATA[This is the first article in a series of really short articles with problems I come across in my day to day development life. You can recognize these articles by the &#8216;[Quicky]&#8216; reference in the title and of course a &#8216;quicky&#8217; tag is supplied. These &#8216;quickies&#8217; don&#8217;t supply much explanation on why the problem exists, [...]]]></description>
		<wfw:commentRss>http://blog.mserver.nl/2008/11/29/quicky-jstl-and-comparing-strings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[osdev] Invalidating a single page in the TLB</title>
		<link>http://blog.mserver.nl/2008/11/16/osdev-invalidating-a-single-page-in-the-tlb/</link>
		<comments>http://blog.mserver.nl/2008/11/16/osdev-invalidating-a-single-page-in-the-tlb/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 11:22:59 +0000</pubDate>
		<dc:creator>matthias</dc:creator>
		
		<category><![CDATA[General programming]]></category>

		<category><![CDATA[invlpg]]></category>

		<category><![CDATA[osdev]]></category>

		<category><![CDATA[paging]]></category>

		<category><![CDATA[tlb]]></category>

		<category><![CDATA[x86]]></category>

		<guid isPermaLink="false">http://blog.mserver.nl/?p=129</guid>
		<description><![CDATA[After a long time of no development on my kernel I decided to do some work on my paging unit. In the past I always had problems with invalidating a single page in the Translation Lookaside Buffer. I knew there was a way to do it with invlpg but I never really got to the [...]]]></description>
		<wfw:commentRss>http://blog.mserver.nl/2008/11/16/osdev-invalidating-a-single-page-in-the-tlb/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[ztemplates] Form validation with regular expressions</title>
		<link>http://blog.mserver.nl/2008/11/16/ztemplates-form-validation-with-regular-expressions/</link>
		<comments>http://blog.mserver.nl/2008/11/16/ztemplates-form-validation-with-regular-expressions/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 22:25:24 +0000</pubDate>
		<dc:creator>matthias</dc:creator>
		
		<category><![CDATA[ztemplates]]></category>

		<category><![CDATA[form]]></category>

		<category><![CDATA[regular expression]]></category>

		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://blog.mserver.nl/?p=120</guid>
		<description><![CDATA[Today I tried form validation with ZTemplates. For validating something I had to use a regular expression. In my view I created a pattern matching property like this:

private final ZStringProperty name = new ZStringProperty&#40;&#41; &#123;
@Override
  public ZError validate&#40;&#41; &#123;
&#160;
  try &#123;
&#160;
    ZError error = super.validate&#40;&#41;;
&#160;
    if &#40;error [...]]]></description>
		<wfw:commentRss>http://blog.mserver.nl/2008/11/16/ztemplates-form-validation-with-regular-expressions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[ztemplates] ZJspRenderer and exposed fields - with JSTL</title>
		<link>http://blog.mserver.nl/2008/11/15/ztemplates-zjsprenderer-and-exposed-fields-with-jstl/</link>
		<comments>http://blog.mserver.nl/2008/11/15/ztemplates-zjsprenderer-and-exposed-fields-with-jstl/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 15:36:25 +0000</pubDate>
		<dc:creator>matthias</dc:creator>
		
		<category><![CDATA[ztemplates]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[jstl]]></category>

		<guid isPermaLink="false">http://blog.mserver.nl/?p=109</guid>
		<description><![CDATA[My previous article about ztemplates was about exposed values inside JSP code blocks. There is a also another possible approach and that is to use the JavaServer Pages Standard Tag Library. So let&#8217;s rewrite my last code example in the previous article. 
Previous example:

&#60;%
if&#40;condition == true&#41; &#123;
&#160;
  // notice the cast to the correct [...]]]></description>
		<wfw:commentRss>http://blog.mserver.nl/2008/11/15/ztemplates-zjsprenderer-and-exposed-fields-with-jstl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Back to basics</title>
		<link>http://blog.mserver.nl/2008/11/13/back-to-basics/</link>
		<comments>http://blog.mserver.nl/2008/11/13/back-to-basics/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 20:36:45 +0000</pubDate>
		<dc:creator>matthias</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.mserver.nl/?p=100</guid>
		<description><![CDATA[I&#8217;m always surprised by people saying that they don&#8217;t &#8220;understand&#8221; a problem. I always ask them &#8216;what don&#8217;t you understand?&#8217; Most of the times the answer is, &#8216;the complete picture.&#8217; It left me wondering a bit on the reasons and possible solutions.
The first action I take when I get such a response, is to ask [...]]]></description>
		<wfw:commentRss>http://blog.mserver.nl/2008/11/13/back-to-basics/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
