<?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>equk&#039;s place on the web &#187; code</title>
	<atom:link href="http://www.equk.co.uk/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.equk.co.uk</link>
	<description>http://www.equk.co.uk</description>
	<lastBuildDate>Mon, 06 Sep 2010 14:22:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Counterstrike Source Orangebox Update</title>
		<link>http://www.equk.co.uk/2010/07/15/counterstrike-source-orangebox-update/</link>
		<comments>http://www.equk.co.uk/2010/07/15/counterstrike-source-orangebox-update/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 14:43:34 +0000</pubDate>
		<dc:creator>equk</dc:creator>
				<category><![CDATA[gaming]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[cfg]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[counterstrike]]></category>
		<category><![CDATA[orangebox]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[steam]]></category>

		<guid isPermaLink="false">http://www.equk.co.uk/?p=693</guid>
		<description><![CDATA[As most people have probably noticed, valve decided to release the orangebox update a few weeks ago even tho it still really seems like a BETA. There seem to be a lot of bugs &#38; some huge gaping holes for scripting/hax possibilities which some already are exploiting. The main problem at the moment seems to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-694" title="css_logo" src="http://www.equk.co.uk/wp-content/uploads/2010/07/css_logo.png" alt="" width="135" height="135" />As most people have probably noticed, valve decided to release the orangebox update a few weeks ago even tho it still really seems like a BETA.</p>
<p><a href="http://www.equk.co.uk/wp-content/uploads/2010/07/cssmac.jpg"><img class="alignleft size-medium wp-image-696" title="cssmac" src="http://www.equk.co.uk/wp-content/uploads/2010/07/cssmac-345x150.jpg" alt="" width="345" height="150" /></a>There seem to be a lot of bugs &amp; some huge gaping holes for scripting/hax possibilities which some already are exploiting.</p>
<p>The main problem at the moment seems to be interp/lerp.<br />After looking on various discussions and sites it seems that people with a lower interp can have an advantage, especially when peeking corners.<br />If you are quick enough you can shoot someone without actually being seen.</p>
<p>One thing which could fix this is the addition of zBlock to force cl_interp to 0.01 (as it was before the patch). But as zBlock doesn&#8217;t yet work on the orangebox update, everyone has free reign over the value and as a result often people with 100ms+ ping can gain a advantage.</p>
<p>Server admins can allow clients to put cl_interp down to 0.01 by adding this to their server cfg</p>
<p>//server interp<br />sv_client_min_interp_ratio &#8220;0&#8243;<br />sv_client_max_interp_ratio  &#8220;1&#8243;</p>
<p>The clients can then disable interp_ratio and put interp down (we all disabled this the first time around)</p>
<p>//client interp<br />cl_interp &#8220;0.01&#8243;<br />cl_interp_ratio &#8220;0&#8243;</p>
<p>There are a few good additions to the patch but they are vastly outweighed by the way the netcode seems broke due to so many variables being open for clients to change.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.equk.co.uk/2010/07/15/counterstrike-source-orangebox-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android</title>
		<link>http://www.equk.co.uk/android/</link>
		<comments>http://www.equk.co.uk/android/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 13:57:27 +0000</pubDate>
		<dc:creator>equk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[eclair]]></category>
		<category><![CDATA[equk]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[i5700]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[nexus]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[tweak]]></category>
		<category><![CDATA[tweaks]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.equk.co.uk/?page_id=575</guid>
		<description><![CDATA[Phone: Samsung Galaxy i5700CPU: ARM11 800mhz (S3C6400)Camera: 3.15 MP (2048&#215;1536) AutofocusRAM: 256MBOS: Android v2.1 (eclair)ROM: I570EXXJE4 (samsung 2.1 update1)Kernel: 2.6.29   LK2.06.beta4ARM11 optimized dvmequkmodRelocated dalvik-cache to /cache Apps:- Quadrant Standard Edition- Jewellust- Nesoid (NES emulator)- Go! Go! Rescue Squad!(320&#215;480)- OS Monitor- Picasa Tool Pro- LauncherPro Beta- G-MoN for Android 2.x- QuickSSHd- SshAdapter- ConnectBot- SwiFTP FTP [...]]]></description>
			<content:encoded><![CDATA[<p><strong><img class="alignright size-full wp-image-546" title="android_logo" src="http://www.equk.co.uk/wp-content/uploads/2010/05/android_logo.png" alt="" width="130" height="150" /><a href="http://lh4.ggpht.com/_Zeo7ZMon74w/S_zvT-K0H9I/AAAAAAAAAZU/er1-0nV5k6Q/s800/DSC00716.jpg"><img class="alignright" title="galaxy i5700" src="http://lh4.ggpht.com/_Zeo7ZMon74w/S_zvT-K0H9I/AAAAAAAAAZU/er1-0nV5k6Q/s160-c/DSC00716.jpg" alt="" width="160" height="160" /></a><a href="http://lh5.ggpht.com/_Zeo7ZMon74w/TAWS0AbzD3I/AAAAAAAAAcY/FGhgJWakbZw/android-02-06-10.jpg"><img class="alignright" title="screenshot launcherpro" src="http://lh5.ggpht.com/_Zeo7ZMon74w/TAWS0AbzD3I/AAAAAAAAAcY/FGhgJWakbZw/s160-c/android-02-06-10.jpg" alt="" width="160" height="160" /></a>Phone:</strong> Samsung Galaxy i5700<br /><strong>CPU:</strong> ARM11 800mhz (S3C6400)<br /><strong>Camera:</strong> 3.15 MP (2048&#215;1536) Autofocus<br /><strong>RAM:</strong> 256MB<br /><strong>OS:</strong> Android v2.1 (eclair)<br /><strong>ROM:</strong> I570EXXJE4 (samsung 2.1 update1)<br /><strong>Kernel:</strong> 2.6.29</p>
<p> </p>
<p>LK2.06.beta4<br />ARM11 optimized dvm<br />equkmod<br />Relocated dalvik-cache to <strong>/cache</strong></p>
<p><strong>Apps:</strong><br />- Quadrant Standard Edition<br />- Jewellust<br />- Nesoid (NES emulator)<br />- Go! Go! Rescue Squad!(320&#215;480)<br />- OS Monitor<br />- Picasa Tool Pro<br />- LauncherPro Beta<br />- G-MoN for Android 2.x<br />- QuickSSHd<br />- SshAdapter<br />- ConnectBot<br />- SwiFTP FTP Server<br />- Root Explorer (File Manager)<br />- Seesmic for Twitter<br />- Places Directory<br />- KeePassDroid<br />- EStrongs File Explorer<br />- Linpack for Android<br />- Google Maps<br />- Facebook for Android<br />- SMS Backup<br />- Google Goggles<br />- Barcode Scanner</p>
<p><img class="alignnone" title="android sig" src="http://www.equk.co.uk/images/android_sig.jpg" alt="" width="400" height="75" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.equk.co.uk/android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Network Tweaks</title>
		<link>http://www.equk.co.uk/2009/11/07/windows-7-network-tweaks/</link>
		<comments>http://www.equk.co.uk/2009/11/07/windows-7-network-tweaks/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 15:24:03 +0000</pubDate>
		<dc:creator>equk</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[equk]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[latency]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[tweak]]></category>
		<category><![CDATA[tweaks]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.equk.co.uk/?p=183</guid>
		<description><![CDATA[I&#8217;ve just posted a new page with a few network tweaks for windows 7. A lot of them apply to windows server 2003/2008 aswell. Network Tweaks Disable Flow Control Enable congestion provider Compound TCP (CTCP) Set TCP Acknowledgment to 1 Disable Nagle Algorithm Here&#8217;s a link to the full Article]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-161" title="windows7_logo" src="http://www.equk.co.uk/wp-content/uploads/2009/11/windows7_logo.jpg" alt="windows7_logo" width="373" height="60" /><br />
I&#8217;ve just posted a new page with a few network tweaks for windows 7.<br />
A lot of them apply to windows server 2003/2008 aswell.<br />
<strong></strong></p>
<h3>Network Tweaks</h3>
<p><strong></strong><br />
<em><strong>Disable Flow Control</strong><br />
<strong>Enable congestion provider Compound TCP (CTCP)</strong><br />
<strong>Set TCP Acknowledgment to 1</strong><br />
<strong>Disable Nagle Algorithm</strong></em></p>
<p><strong><a href="http://www.equk.co.uk/windows-7-tweaks/">Here&#8217;s a link to the full Article</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.equk.co.uk/2009/11/07/windows-7-network-tweaks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Tweaks</title>
		<link>http://www.equk.co.uk/windows-7-tweaks/</link>
		<comments>http://www.equk.co.uk/windows-7-tweaks/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 15:14:42 +0000</pubDate>
		<dc:creator>equk</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[equk]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[latency]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[tweak]]></category>
		<category><![CDATA[tweaks]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.equk.co.uk/?page_id=160</guid>
		<description><![CDATA[I&#8217;ve been running windows7 for a while now and thought it was about time I posted some tweaks. Network Tweaks Disable Flow Control This is a pretty basic tweak, really has been used for ages. Flow control allows a overloaded device to send a pause frame, this causes the device at the other end to [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.equk.co.uk/wp-content/uploads/2009/11/windows7_logo.jpg" alt="windows7_logo" title="windows7_logo" width="373" height="60" class="alignnone size-full wp-image-161" /></p>
<p>I&#8217;ve been running windows7 for a while now and thought it was about time I posted some tweaks.</p>
<h3>Network Tweaks</h3>
<p><strong></strong><br />
<strong>Disable Flow Control</strong><a href="http://www.equk.co.uk/wp-content/uploads/2009/11/flow_control.JPG"><img src="http://www.equk.co.uk/wp-content/uploads/2009/11/flow_control-134x150.jpg" alt="flow_control" title="flow_control" width="134" height="150" class="alignright size-medium wp-image-162" /></a><br />
This is a pretty basic tweak, really has been used for ages.<br />
Flow control allows a overloaded device to send a pause frame, this causes the device at the other end to stop sending packets temporarily.<br />
The effect causes massive delays on large networks.</p>
<p>To disable flow control go into device manager and find your NIC, go onto properties and then you should see flow control on the Advanced tab, altho depending on the NIC and driver it could be in additional options.</p>
<p><strong>Enable congestion provider Compound TCP (CTCP)</strong><br />
This is a new congestion provider developed by Microsoft as an attempt to resolve conflicts in providing the correct RWIN size.<br />
*CTCP is enabled by default on Windows Server 2008<br />
Enabling CTCP can improve network latency as the network Receive Window is important and has been a cause for concern for many years as bandwidth of internet connections has improved.<br />
Enabling this is pretty easy on Windows7.</p>
<p>To enable CTCP you need to run a command prompt with admin privileges.<br />
Start > All Programs > Accessories > Rt Click Command Prompt > Run As Administrator<br />
In the command window type (or paste)<br />
<code>netsh interface tcp set global congestionprovider=ctcp</code></p>
<p><strong>Set TCP Acknowledgment to 1</strong><br />
This is a new tweak and is documented on Microsoft Support</p>
<p><code>Subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\<Interface GUID><br />
Entry: TcpAckFrequency<br />
Value Type: REG_DWORD, number<br />
Valid Range: 0-255<br />
Default: 2<br />
Description: Specifies the number of ACKs that will be outstanding before the delayed ACK timer is ignored. Microsoft does not recommend changing the default value without careful study of the environment.</code></p>
<p>Setting this to 1 can improve network performance as every packet is acknowledged immediately because there is only one outstanding TCP ACK as a segment is just received.</p>
<p><strong>Disable Nagle Algorithm</strong><br />
This is similar to the flow control tweak as it disables network packet delays.<br />
Nagle algorithm tries to balance the data load of a packet by delaying the dispatching of packets.<br />
When this is disabled TCP buffering is skipped so that every request is sent immediately.<br />
<em>*you may want to look at the environment of your network before applying this tweak</em></p>
<p><strong><em>To change TCP Acknowledgment &#038; Disable Nagle Algorithm:</em></strong><br />
Run regedit<br />
Go to <code>"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Interfaces"</code><br />
Find the correct interface ID and select it<br />
Create 2 32-bit DWORD keys<br />
<code>TcpAckFrequency<br />
TCPNoDelay</code><br />
Set the value of both to 1<br />
<em>*note you will need to find the correct inferface ID before changing these values</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.equk.co.uk/windows-7-tweaks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>few changes to site</title>
		<link>http://www.equk.co.uk/2009/11/01/few-changes-to-site/</link>
		<comments>http://www.equk.co.uk/2009/11/01/few-changes-to-site/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 17:05:49 +0000</pubDate>
		<dc:creator>equk</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[equk]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.equk.co.uk/?p=119</guid>
		<description><![CDATA[I have neglected to update the site for a while due to being really busy but have now finally got round to making changes. One change is the twitter widget which I recoded slightly to make it look better. The other is my new flickr plugin which I may release to public but at the [...]]]></description>
			<content:encoded><![CDATA[<p>I have neglected to update the site for a while due to being really busy but have now finally got round to making changes.<br />
One change is the twitter widget which I recoded slightly to make it look better.<br />
The other is my new flickr plugin which I may release to public but at the moment needs some testing. Altho after a few hours of coding and re-coding actually works.</p>
<p>I&#8217;m possibly going to be working on a new site but not so sure at the moment all really depends on time etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.equk.co.uk/2009/11/01/few-changes-to-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>webdevelopment server script</title>
		<link>http://www.equk.co.uk/2009/03/14/webdevelopment-server-script/</link>
		<comments>http://www.equk.co.uk/2009/03/14/webdevelopment-server-script/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 15:40:40 +0000</pubDate>
		<dc:creator>equk</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[webdevelopment]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.equk.co.uk/?p=19</guid>
		<description><![CDATA[Here is a small script I made for starting Apache &#38; MySQL services in linux. #!/bin/bash # /etc/rc.d/webdev # Website Start/Stop Script # # B.Walden 14/03/2009 &#160; # Colors blue=&#34;\033[1;34m&#34; green=&#34;\033[1;32m&#34; red=&#34;\033[1;31m&#34; bold=&#34;\033[1;37m&#34; reset=&#34;\033[0m&#34; &#160; # Check for root if &#91; $&#40;whoami&#41; != &#34;root&#34; &#93;; then echo -e $red&#34;error:$reset you cannot perform this operation unless [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a small script I made for starting Apache &amp; MySQL services in linux.</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#!/bin/bash</span>
<span style="color: #339900;"># /etc/rc.d/webdev</span>
<span style="color: #339900;"># Website Start/Stop Script</span>
<span style="color: #339900;">#</span>
<span style="color: #339900;"># B.Walden 14/03/2009</span>
&nbsp;
<span style="color: #339900;"># Colors</span>
blue<span style="color: #000080;">=</span><span style="color: #FF0000;">&quot;<span style="color: #006699; font-weight: bold;">\033</span>[1;34m&quot;</span>
green<span style="color: #000080;">=</span><span style="color: #FF0000;">&quot;<span style="color: #006699; font-weight: bold;">\033</span>[1;32m&quot;</span>
red<span style="color: #000080;">=</span><span style="color: #FF0000;">&quot;<span style="color: #006699; font-weight: bold;">\033</span>[1;31m&quot;</span>
bold<span style="color: #000080;">=</span><span style="color: #FF0000;">&quot;<span style="color: #006699; font-weight: bold;">\033</span>[1;37m&quot;</span>
reset<span style="color: #000080;">=</span><span style="color: #FF0000;">&quot;<span style="color: #006699; font-weight: bold;">\033</span>[0m&quot;</span>
&nbsp;
<span style="color: #339900;"># Check for root</span>
<span style="color: #0000ff;">if</span> <span style="color: #008000;">&#91;</span> $<span style="color: #008000;">&#40;</span>whoami<span style="color: #008000;">&#41;</span> <span style="color: #000040;">!</span><span style="color: #000080;">=</span> <span style="color: #FF0000;">&quot;root&quot;</span> <span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span> then
echo <span style="color: #000040;">-</span>e $red<span style="color: #FF0000;">&quot;error:$reset you cannot perform this operation unless you are root.&quot;</span>
<span style="color: #0000dd;">exit</span> <span style="color: #0000dd;">1</span>
fi
&nbsp;
<span style="color: #0000ff;">case</span> <span style="color: #FF0000;">&quot;$1&quot;</span> in
start<span style="color: #008000;">&#41;</span>
<span style="color: #000040;">/</span>etc<span style="color: #000040;">/</span>rc.<span style="color: #007788;">d</span><span style="color: #000040;">/</span>mysqld start
<span style="color: #000040;">/</span>etc<span style="color: #000040;">/</span>rc.<span style="color: #007788;">d</span><span style="color: #000040;">/</span>httpd start
<span style="color: #008080;">;;</span>
stop<span style="color: #008000;">&#41;</span>
<span style="color: #000040;">/</span>etc<span style="color: #000040;">/</span>rc.<span style="color: #007788;">d</span><span style="color: #000040;">/</span>mysqld stop
<span style="color: #000040;">/</span>etc<span style="color: #000040;">/</span>rc.<span style="color: #007788;">d</span><span style="color: #000040;">/</span>httpd stop
<span style="color: #008080;">;;</span>
restart<span style="color: #008000;">&#41;</span>
$<span style="color: #0000dd;">0</span> stop
sleep <span style="color: #0000dd;">3</span>
$<span style="color: #0000dd;">0</span> start
<span style="color: #008080;">;;</span>
<span style="color: #000040;">*</span><span style="color: #008000;">&#41;</span>
echo <span style="color: #FF0000;">&quot;usage: $0 {start|stop|restart}&quot;</span>
esac
&nbsp;
<span style="color: #0000dd;">exit</span> <span style="color: #0000dd;">0</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.equk.co.uk/2009/03/14/webdevelopment-server-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
