<?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>SaWey.be</title>
	<atom:link href="http://www.sawey.be/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.sawey.be</link>
	<description>Some new things, from time to time</description>
	<lastBuildDate>Sat, 14 Nov 2009 20:25:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Can&#8217;t connect to localhost</title>
		<link>http://www.sawey.be/?p=32</link>
		<comments>http://www.sawey.be/?p=32#comments</comments>
		<pubDate>Tue, 10 Mar 2009 18:39:43 +0000</pubDate>
		<dc:creator>SaWey</dc:creator>
				<category><![CDATA[Small talk]]></category>

		<guid isPermaLink="false">http://www.sawey.be/?p=32</guid>
		<description><![CDATA[Today I was working on one of my php projects on my local WAMP server, and when I wanted to load my app in my browser, suddenly I couldn&#8217;t connect to http://localhost anymore.
First, since my laptop hadn&#8217;t been rebooted for 2 weeks,  I rebooted to see if that would help, but that didn&#8217;t help. I [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was working on one of my php projects on my local WAMP server, and when I wanted to load my app in my browser, suddenly I couldn&#8217;t connect to http://localhost anymore.<br />
First, since my laptop hadn&#8217;t been rebooted for 2 weeks,  I rebooted to see if that would help, but that didn&#8217;t help. I tried looking in my Apache logs and saw nothing there from my tries to connect.<br />
Then I connected to http://127.0.0.1 and &#8230; it worked without a hitch.</p>
<p>This got me to think it was a windows update, I looked through the update history and saw that Windows Defender got an update. So I started Defender to look for a log and this brought me to the problem and the solution.</p>
<p>SettingsModifier:Win32/PossibleHostsFileHijack<br />
Source: <br />
file:<br />
C:\Windows\system32\drivers\etc\hosts</p>
<p>More info over here: <a href="http://www.microsoft.com/security/portal/Entry.aspx?name=SettingsModifier:Win32/PossibleHostsFileHijack&amp;threatid=1758608427027806866">microsoft.com</a><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://vtsc.info/">raman amplifier</a></font></p>
<p> </p>
<p>Apperently something changed my &#8216;hosts&#8217; definition file. I opened the file and there was no mapping of localhost to a descent IP address, so I added it myself like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Copyright (c) 1993-2006 Microsoft Corp. 
</span><span style="color: #666666; font-style: italic;"># 
</span><span style="color: #666666; font-style: italic;"># This is a sample HOSTS file used by Microsoft TCP/IP for Windows. 
</span><span style="color: #666666; font-style: italic;"># 
</span><span style="color: #666666; font-style: italic;"># This file contains the mappings of IP addresses to host names. Each 
</span><span style="color: #666666; font-style: italic;"># entry should be kept on an individual line. The IP address should 
</span><span style="color: #666666; font-style: italic;"># be placed in the first column followed by the corresponding host name. 
</span><span style="color: #666666; font-style: italic;"># The IP address and the host name should be separated by at least one 
</span><span style="color: #666666; font-style: italic;"># space. 
</span><span style="color: #666666; font-style: italic;"># 
</span><span style="color: #666666; font-style: italic;"># Additionally, comments (such as these) may be inserted on individual 
</span><span style="color: #666666; font-style: italic;"># lines or following the machine name denoted by a '#' symbol. 
</span><span style="color: #666666; font-style: italic;"># 
</span><span style="color: #666666; font-style: italic;"># For example: 
</span><span style="color: #666666; font-style: italic;"># 
</span><span style="color: #666666; font-style: italic;"># 102.54.94.97 rhino.acme.com # source server 
</span><span style="color: #666666; font-style: italic;"># 38.25.63.10 x.acme.com # x client host 
</span>
127<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>1 localhost
<span style="color: #339933;">::</span><span style="color: #cc66cc;">1</span> localhost  
&nbsp;
 </pre></td></tr></table></div>

<p><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://online-casino-net.org/"><font style="position: absolute;overflow: hidden;height: 0;width: 0"><a href="http://www.videnov.com/">&#1083;&#1077;&#1075;&#1083;&#1072;</a></font>online casino</a></font><br />
Note: When you try to save this file, Defender will prompt you with the message &#8216;Win32/PossibleHostsFileHijack&#8217;, which you have to ignore.<br />
After saving the file, everything should work as before.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sawey.be/?feed=rss2&amp;p=32</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rapidshare&#8217;s &#8216;Remote Uploads&#8217; fixed&#8230;</title>
		<link>http://www.sawey.be/?p=21</link>
		<comments>http://www.sawey.be/?p=21#comments</comments>
		<pubDate>Tue, 06 Jan 2009 08:40:00 +0000</pubDate>
		<dc:creator>SaWey</dc:creator>
				<category><![CDATA[Small talk]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[rapidshare]]></category>

		<guid isPermaLink="false">http://www.sawey.be/?p=21</guid>
		<description><![CDATA[Recently I wanted to upload over 1000 files to Rapidshare as a backup of my server. Since the files where on my server, I could use the &#8216;Remote Uploads&#8217; feature to spare some bandwidth.
As a drawback, RS only allows 30 simultanious remote uploads, you have to press &#8216;refresh&#8217; to see if the upload has completed [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I wanted to upload over 1000 files to Rapidshare as a backup of my server. Since the files where on my server, I could use the &#8216;Remote Uploads&#8217; feature to spare some bandwidth.<br />
As a drawback, RS only allows 30 simultanious remote uploads, you have to press &#8216;refresh&#8217; to see if the upload has completed already and then you have to remove the finished uploads from the queue one by one. I think it would take me a day to upload all those files&#8230;</p>
<p>So I started coding a javascript which  would allow me to add an unlimited amount of links and would handle the refreshing, removing and of cource, the uploading.<br />
you can download the script here:  <a href="http://sawey.be/forum/filebase.php?d=1&amp;id=18&amp;f=18&amp;ext=zip">Download</a></p>
<p>To us this script, you have to inject the code in the remote upload page of RS, you can do that by using <a href="http://getfirebug.com/">firebug</a> in your browser, copying the code from the script and pasting it in the console of firebug. Let it run the code and within 5 seconds you should see the changes in the RS page (the code waits 5 seconds for jQuery to load and then proceeds)<br />
Be sure to enter well formatted urls, as RS hasn&#8217;t got a clue on how to handle special characters in them.</p>
<p>There are still some bugs in the script, but it did the job for me and saved me a lot of time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sawey.be/?feed=rss2&amp;p=21</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>PHP CodeColoring in Dreamweaver</title>
		<link>http://www.sawey.be/?p=20</link>
		<comments>http://www.sawey.be/?p=20#comments</comments>
		<pubDate>Sun, 14 Dec 2008 11:40:35 +0000</pubDate>
		<dc:creator>SaWey</dc:creator>
				<category><![CDATA[Small talk]]></category>
		<category><![CDATA[Web developments]]></category>
		<category><![CDATA[color coding]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.sawey.be/?p=20</guid>
		<description><![CDATA[I have used dreamweaver since a long time to write my php scripts and have liked it ever since. There was only one thing that bothered me, and that is when javascript was written inside my scripts. It messes up the code coloring as Dreamweaver thinks it is an ending tag for php code. So [...]]]></description>
			<content:encoded><![CDATA[<p>I have used dreamweaver since a long time to write my php scripts and have liked it ever since. There was only one thing that bothered me, and that is when javascript was written inside my scripts. It messes up the code coloring as Dreamweaver thinks it is an ending tag for php code. So all code below a &#8216;&lt;/script&gt;&#8217; tag was colored as plain text and thus not very readable.</p>
<p>I found a solution to this a long time ago, but I had to reinstall Dreamweaver not so long ago and was forgotten where I had to make the changes. Today I remembered and decided to write this post so I won&#8217;t forget it anymore.</p>
<p>It&#8217;s very easy, open the file<br />
C:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration\CodeColoring\PHP.xml</p>
<p>and remove the lines:<br />
<code>           &lt;blockStart doctypes=&quot;PHP_MySQL&quot; scheme=&quot;outerTag&quot;&gt;&lt;![CDATA[&lt;script\s+language\s*=\s*&quot;php&quot;&gt;]]&gt;&lt;/blockStart&gt;<br />
		&lt;blockEnd&gt;&lt;![CDATA[&lt;/script&gt;]]&gt;&lt;/blockEnd&gt;</code></p>
<p>If Dreamweaver was open during the edit, you have to restart it in order for the changes to work.</p>
<p>For quick edits, I mostly use Notepad++, but since I have a Dreamweaver licence I also like to use it <img src='http://www.sawey.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sawey.be/?feed=rss2&amp;p=20</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coppermine Theme Contest</title>
		<link>http://www.sawey.be/?p=19</link>
		<comments>http://www.sawey.be/?p=19#comments</comments>
		<pubDate>Tue, 02 Dec 2008 09:57:35 +0000</pubDate>
		<dc:creator>SaWey</dc:creator>
				<category><![CDATA[Coppermine]]></category>
		<category><![CDATA[Small talk]]></category>

		<guid isPermaLink="false">http://www.sawey.be/?p=19</guid>
		<description><![CDATA[After a few years of development, the Coppermine Dev Team will be finishing up the code of Coppermine Photo Gallery 1.5.0!
The last year and a half I have had the pleasure to be part of the team and have to say that it is about time the new version is released  
Since the CPG [...]]]></description>
			<content:encoded><![CDATA[<p>After a few years of development, the Coppermine Dev Team will be finishing up the code of Coppermine Photo Gallery 1.5.0!<br />
The last year and a half I have had the pleasure to be part of the team and have to say that it is about time the new version is released <img src='http://www.sawey.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Since the CPG 1.4.x series have been around from before the web 2.0 era and the default theme is still the same, the development team has announced the first <a title="CPG Theme Contest" href="http://forum.coppermine-gallery.net/index.php/topic,56803.0.html">Coppermine Theme Contest</a>&#8230;</p>
<p>So if you are a web designer, PHP programmer, CSS fanatic, graphics artist or just a Coppermine enthousiast, be sure to enter the contest. Currently we have not yet announced which prizes can be won, but I can tell you it will be worth the effort!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sawey.be/?feed=rss2&amp;p=19</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Poker Odds Software from Texas Calculatem</title>
		<link>http://www.sawey.be/?p=17</link>
		<comments>http://www.sawey.be/?p=17#comments</comments>
		<pubDate>Tue, 13 May 2008 14:07:28 +0000</pubDate>
		<dc:creator>SaWey</dc:creator>
				<category><![CDATA[Small talk]]></category>

		<guid isPermaLink="false">http://www.sawey.be/index.php/?p=17</guid>
		<description><![CDATA[ I received a license to the latest release of the poker software from Texas Calculatem the other day. I&#8217;m not sure if it actually was a beta release, I think that they actually gave me the final release. It&#8217;s really a nice piece software if you&#8217;re a poker player.
I&#8217;ve been so kind to the people [...]]]></description>
			<content:encoded><![CDATA[<p> I received a license to the latest release of the <a target="_blank" href="http://www.calculatem.com">poker software from Texas Calculatem</a> the other day. I&#8217;m not sure if it actually was a beta release, I think that they actually gave me the final release. It&#8217;s really a nice piece software if you&#8217;re a poker player.</p>
<p>I&#8217;ve been so kind to the people at Texas Calculatem that I let them set up page about the benefits of <a target="_blank" href="http://www.sawey.be/poker_software.php">using a poker software</a> that you can find <a href="http://www.sawey.be/poker_software.php">here</a>. I know that they have an even more advanced odds calculator called Calculatem Pro, make sure to check that one out if you&#8217;re in to online poker. You can find the CalculatemPro <a target="_blank" href="http://www.calculatempro.com">odds calculator for texas Holdem here</a>.</p>
<p>I&#8217;m not gonna tell you to buy their poker software, but they do give you some extra time to focus on the opponents instead of <a target="_blank" href="http://www.calculatempro.com/pot-odds.html">calculating outs and odds</a> of making a better hand. I found it useful and I think you should try it out if you&#8217;re into online poker. You can find som unbiased information about poker calculators from <a target="_blank" href="http://en.wikipedia.org/wiki/Poker_calculator">Wikipedia</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sawey.be/?feed=rss2&amp;p=17</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>In search for a multi app login system.</title>
		<link>http://www.sawey.be/?p=16</link>
		<comments>http://www.sawey.be/?p=16#comments</comments>
		<pubDate>Wed, 23 Jan 2008 16:06:39 +0000</pubDate>
		<dc:creator>SaWey</dc:creator>
				<category><![CDATA[Small talk]]></category>
		<category><![CDATA[Web developments]]></category>

		<guid isPermaLink="false">http://www.sawey.be/index.php/?p=16</guid>
		<description><![CDATA[Prequel 
As a web developer, I like to use great applications that do whatever I need, but when it comes to integrating different apps into one, the troubles begin.
Wouldn&#8217;t it be great if all those different apps used one authentication system, so when you login to one of them, you are logged in to all of [...]]]></description>
			<content:encoded><![CDATA[<h4><span style="text-decoration: underline;">Prequel </span></h4>
<p>As a web developer, I like to use great applications that do whatever I need, but when it comes to integrating different apps into one, the troubles begin.<br />
Wouldn&#8217;t it be great if all those different apps used one authentication system, so when you login to one of them, you are logged in to all of them.</p>
<p>Around most of the applications there is an active community available, and most of the time someone is working on integrating that app into another. All that precious time that could be spent on new features, security enhancements, home relaxation&#8230;<br />
 </p>
<h4><span style="text-decoration: underline;">The way I see it:</span> </h4>
<p>Let&#8217;s call the system <strong>interconnect.</strong></p>
<p>Interconnect would be a login-framework that uses a basic backend.<br />
It should include all available authentication methods (openId, LDAP, Apache, &#8230;) and support all databases commonly used in web apps.</p>
<p>The database should have a layout similar to this:</p>
<blockquote><p>-User table</p>
<blockquote><p>Contains basic user info like id/username/real name/password/email/&#8230;</p></blockquote>
<p>-Group table</p>
<blockquote><p>A basic implementation of usergroups</p></blockquote>
<p>-User-Group table</p>
<blockquote><p>Offcource we need to know which user resides in which group.<br />
This table should also contain a field called &#8216;application&#8217;.<br />
The &#8216;application&#8217; field can be used to set a per application group assignment.</p></blockquote>
<p>-Config</p>
<blockquote><p>Not sure if this would be necessary, but it could contain some configuration of the system.</p></blockquote>
</blockquote>
<p>To autenticate a user, an application would include a class of the framework to handle all the checks if the user may be logged in.<br />
This class would also return a User-object which contains all info about this user.<br />
Same thing for adding/editing users, the same class does it all : -)</p>
<p>I think this would be fairly easy to do and if I would be able to get the attention of some application development teams, this project can come to life.<br />
We first should have a big discussion on how and what it has to be able of.<br />
So, if you&#8217;re interested, please comment and spread the word!!!</p>
<h6>  </h6>
<h6>  </h6>
<h6>  </h6>
<h6>How ironically, when writing this post, and browsing the net (yes, that&#8217;s a strange combination), I just stumled upon an app that does what I am talking about: <a title="Crowd - single sign-on application framework " href="http://www.atlassian.com/software/crowd/">Crowd</a>.<br />
Only problem is, this is a commercial package an thus can&#8217;t be integrated in open-source projects.</h6>
]]></content:encoded>
			<wfw:commentRss>http://www.sawey.be/?feed=rss2&amp;p=16</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>OpenID login</title>
		<link>http://www.sawey.be/?p=15</link>
		<comments>http://www.sawey.be/?p=15#comments</comments>
		<pubDate>Thu, 10 Jan 2008 15:19:23 +0000</pubDate>
		<dc:creator>SaWey</dc:creator>
				<category><![CDATA[Small talk]]></category>

		<guid isPermaLink="false">http://www.sawey.be/index.php/?p=15</guid>
		<description><![CDATA[
Since a while, I set up my own OpenId server, so now I can login on certain websites using my own url.
This is something really great (although I haven&#8217;t used it very much)
I hope more sites will be integrating OpenId logins in the future as this is realy easy for a lot of people!
To support [...]]]></description>
			<content:encoded><![CDATA[<p><img width="16" src="http://www.sawey.be/forum/styles/prosilver/imageset/icon_openid.png" alt="OpenId" height="16" style="width: 16px; height: 16px" title="OpenId" /><br />
Since a while, I set up my own <a target="_blank" href="http://openid.net/" title="OpenId.net">OpenId </a>server, so now I can login on certain websites using my own url.<br />
This is something really great (although I haven&#8217;t used it very much)<br />
I hope more sites will be integrating OpenId logins in the future as this is realy easy for a lot of people!</p>
<p>To support this login system, I integrated it into my website, so if you have one, you can login and an account will be automatically created.<br />
No hassle to go through a lot of steps anymore.</p>
<p>If you&#8217;ve set up a nickname on your openId sever, then the system will try to use that one. If the nickname is already in use, then your website url will be used.<br />
Same thing for your email address, it will add it by itself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sawey.be/?feed=rss2&amp;p=15</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New support forums</title>
		<link>http://www.sawey.be/?p=14</link>
		<comments>http://www.sawey.be/?p=14#comments</comments>
		<pubDate>Thu, 20 Dec 2007 03:10:29 +0000</pubDate>
		<dc:creator>SaWey</dc:creator>
				<category><![CDATA[Small talk]]></category>

		<guid isPermaLink="false">http://www.sawey.be/index.php/?p=14</guid>
		<description><![CDATA[As phpBB3 is finally gold, I decided to add it to my site instead of the otherone that was made for Wordpress.
phpBB3 is much more user friendly, and I&#8217;m already a long time user.
Also, now I can show of my mods in there.
To go to the forums, just click on the &#8217;support forums&#8217; link on [...]]]></description>
			<content:encoded><![CDATA[<p>As phpBB3 is finally gold, I decided to add it to my site instead of the otherone that was made for Wordpress.<br />
phpBB3 is much more user friendly, and I&#8217;m already a long time user.</p>
<p>Also, now I can show of my mods in there.</p>
<p>To go to the forums, just click on the &#8217;support forums&#8217; link on your right.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sawey.be/?feed=rss2&amp;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Portfolio</title>
		<link>http://www.sawey.be/?p=12</link>
		<comments>http://www.sawey.be/?p=12#comments</comments>
		<pubDate>Wed, 14 Nov 2007 16:05:00 +0000</pubDate>
		<dc:creator>SaWey</dc:creator>
				<category><![CDATA[Small talk]]></category>

		<guid isPermaLink="false">http://www.sawey.be/?p=12</guid>
		<description><![CDATA[I&#8217;ve found a little time to update this site,
I managed to write a little bit of my portfolio.
As time moves on I will be adding content to it.
I&#8217;ve also setup a support forum for my plugins
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve found a little time to update this site,<br />
I managed to write a little bit of <a href="http://www.sawey.be/?page_id=7">my portfolio</a>.</p>
<p>As time moves on I will be adding content to <a href="http://www.sawey.be/?page_id=7">it</a>.</p>
<p>I&#8217;ve also setup a <a href="http://www.sawey.be/forum">support forum </a>for my plugins</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sawey.be/?feed=rss2&amp;p=12</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Finally some site</title>
		<link>http://www.sawey.be/?p=1</link>
		<comments>http://www.sawey.be/?p=1#comments</comments>
		<pubDate>Tue, 15 May 2007 01:49:06 +0000</pubDate>
		<dc:creator>SaWey</dc:creator>
				<category><![CDATA[Small talk]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[After years of thinking, I finally got my own domain up and running.
I&#8217;m eventualy going to use this site as a portfolio, but that&#8217;s future talk, as I probably won&#8217;t have ay time to update this site.
I hope some day I will have that time, but at the moment there are lots of things to do in [...]]]></description>
			<content:encoded><![CDATA[<p>After years of thinking, I finally got my own domain up and running.</p>
<p>I&#8217;m eventualy going to use this site as a portfolio, but that&#8217;s future talk, as I probably won&#8217;t have ay time to update this site.<br />
I hope some day I will have that time, but at the moment there are lots of things to do in my life.</p>
<p>This is it for now,<br />
See you soon</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sawey.be/?feed=rss2&amp;p=1</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
