<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments for tekrat</title>
	<atom:link href="http://tekrat.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://tekrat.com</link>
	<description></description>
	<pubDate>Mon, 08 Sep 2008 13:51:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>Comment on Talks by Jim Pick &#187; &#8220;Own the Stack&#8221;</title>
		<link>http://tekrat.com/talks/#comment-1572</link>
		<dc:creator>Jim Pick &#187; &#8220;Own the Stack&#8221;</dc:creator>
		<pubDate>Sat, 30 Aug 2008 21:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://tekrat.com/talks/#comment-1572</guid>
		<description>[...] to work on any component of the software stack that I support. As Brian Shire said at his OpenWeb Vancouver talk, it&#8217;s important to &#8220;own the [...]</description>
		<content:encoded><![CDATA[<p>[...] to work on any component of the software stack that I support. As Brian Shire said at his OpenWeb Vancouver talk, it&#8217;s important to &#8220;own the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim Diff by shire</title>
		<link>http://tekrat.com/2008/02/21/vim-diff/#comment-1473</link>
		<dc:creator>shire</dc:creator>
		<pubDate>Sat, 16 Aug 2008 02:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://tekrat.com/2008/02/21/vim-diff/#comment-1473</guid>
		<description>Due to the interest in this the new official home for this code is on GitHub!

per Greg's previous post:
http://github.com/ghewgill/vim-scmdiff/

Make changes via the GitHub interfaces (fork/pull etc), or email us!</description>
		<content:encoded><![CDATA[<p>Due to the interest in this the new official home for this code is on GitHub!</p>
<p>per Greg&#8217;s previous post:<br />
<a href="http://github.com/ghewgill/vim-scmdiff/" rel="nofollow">http://github.com/ghewgill/vim-scmdiff/</a></p>
<p>Make changes via the GitHub interfaces (fork/pull etc), or email us!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim Diff by shire</title>
		<link>http://tekrat.com/2008/02/21/vim-diff/#comment-1463</link>
		<dc:creator>shire</dc:creator>
		<pubDate>Tue, 12 Aug 2008 20:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://tekrat.com/2008/02/21/vim-diff/#comment-1463</guid>
		<description>Is there enough interest here to setup an central repro somewhere wiht a few accounts for the ppl here? (github or I can setup something on tekrat.com).  That way everyone can commit to one spot?

Has anoyone played with keeping the deleted lines present in some way?

Another change:  There's probably a better way to do this than what I have below but it seems like we should be detecting the SCM automatically as much as possible.  Something like this should at least work for detecting git/svn.

diff --git a/scmdiff.vim b/scmdiff.vim
index 4811bcf..042e8cd 100644
--- a/scmdiff.vim
+++ b/scmdiff.vim
@@ -1,7 +1,3 @@
-if !exists("g:scmDiffCommand")
-    let g:scmDiffCommand = 'git'
-endif
-
 if exists("loadedScmDiff") &#124;&#124; &#38;cp
     finish
 endif
@@ -36,6 +32,18 @@ endfunction
 
 function! s:scmDiff(...)
 
+    let cmdOut = system("git status")
+    if !exists("g:scmDiffCommand") &#38;&#38; !v:shell_error
+        let g:scmDiffCommand = 'git'
+    endif
+    let cmdOut = system("svn info")
+    if !exists("g:scmDiffCommand") &#38;&#38; !v:shell_error
+        let g:scmDiffCommand = 'svn'
+    endif
+    if !exists("g:scmDiffCommand")
+        let g:scmDiffCommand = 'git'
+    endif
+
     if exists('b:scmDiffOn') &#38;&#38; b:scmDiffOn == 1
         let b:scmDiffOn = 0
         set nodiff</description>
		<content:encoded><![CDATA[<p>Is there enough interest here to setup an central repro somewhere wiht a few accounts for the ppl here? (github or I can setup something on tekrat.com).  That way everyone can commit to one spot?</p>
<p>Has anoyone played with keeping the deleted lines present in some way?</p>
<p>Another change:  There&#8217;s probably a better way to do this than what I have below but it seems like we should be detecting the SCM automatically as much as possible.  Something like this should at least work for detecting git/svn.</p>
<p>diff &#8211;git a/scmdiff.vim b/scmdiff.vim<br />
index 4811bcf..042e8cd 100644<br />
&#8212; a/scmdiff.vim<br />
+++ b/scmdiff.vim<br />
@@ -1,7 +1,3 @@<br />
-if !exists(&#8221;g:scmDiffCommand&#8221;)<br />
-    let g:scmDiffCommand = &#8216;git&#8217;<br />
-endif<br />
-<br />
 if exists(&#8221;loadedScmDiff&#8221;) || &amp;cp<br />
     finish<br />
 endif<br />
@@ -36,6 +32,18 @@ endfunction</p>
<p> function! s:scmDiff(&#8230;)</p>
<p>+    let cmdOut = system(&#8221;git status&#8221;)<br />
+    if !exists(&#8221;g:scmDiffCommand&#8221;) &amp;&amp; !v:shell_error<br />
+        let g:scmDiffCommand = &#8216;git&#8217;<br />
+    endif<br />
+    let cmdOut = system(&#8221;svn info&#8221;)<br />
+    if !exists(&#8221;g:scmDiffCommand&#8221;) &amp;&amp; !v:shell_error<br />
+        let g:scmDiffCommand = &#8217;svn&#8217;<br />
+    endif<br />
+    if !exists(&#8221;g:scmDiffCommand&#8221;)<br />
+        let g:scmDiffCommand = &#8216;git&#8217;<br />
+    endif<br />
+<br />
     if exists(&#8217;b:scmDiffOn&#8217;) &amp;&amp; b:scmDiffOn == 1<br />
         let b:scmDiffOn = 0<br />
         set nodiff</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim Diff by Greg Hewgill</title>
		<link>http://tekrat.com/2008/02/21/vim-diff/#comment-1457</link>
		<dc:creator>Greg Hewgill</dc:creator>
		<pubDate>Sun, 10 Aug 2008 11:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://tekrat.com/2008/02/21/vim-diff/#comment-1457</guid>
		<description>I have posted an updated version at http://github.com/ghewgill/vim-scmdiff/ which avoids the "2,9999 bdelete" problem, among other improvements.</description>
		<content:encoded><![CDATA[<p>I have posted an updated version at <a href="http://github.com/ghewgill/vim-scmdiff/" rel="nofollow">http://github.com/ghewgill/vim-scmdiff/</a> which avoids the &#8220;2,9999 bdelete&#8221; problem, among other improvements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Vim Diff by Lars</title>
		<link>http://tekrat.com/2008/02/21/vim-diff/#comment-210</link>
		<dc:creator>Lars</dc:creator>
		<pubDate>Sat, 28 Jun 2008 15:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://tekrat.com/2008/02/21/vim-diff/#comment-210</guid>
		<description>Anyone made a version that would work with multiple buffers open (not closing unrelated buffers)? I really like this script, but it's usually unusable for me when it behaves this way. I'm using MacVim BTW if that's relevant.</description>
		<content:encoded><![CDATA[<p>Anyone made a version that would work with multiple buffers open (not closing unrelated buffers)? I really like this script, but it&#8217;s usually unusable for me when it behaves this way. I&#8217;m using MacVim BTW if that&#8217;s relevant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SMBAuth by Zheng Liu</title>
		<link>http://tekrat.com/smbauth/#comment-207</link>
		<dc:creator>Zheng Liu</dc:creator>
		<pubDate>Fri, 02 May 2008 15:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://tekrat.com/wp/?page_id=7#comment-207</guid>
		<description>here is my compile error:

# cd /local/Softwares/smbauth1.5.1/libsmbauth
# make
Building libsmbauth
    includes -&#62; -I/usr/include -I./include -I. -I../samba-3.0.28a//source -I../samba-3.0.28a//source/lib/replace -I../samba-3.0.28a//source/lib/talloc -I../samba-3.0.28a//source/tdb/include -I../samba-3.0.28a//source/libaddns -I../samba-3.0.28a//source/librpc -I../samba-3.0.28a//source/include -I../samba-3.0.28a//source/popt
libsmbauth.c: In function `_smbauth_init':
libsmbauth.c:59: error: too few arguments to function `lp_load'
libsmbauth.c: In function `_smbauth_fetch_machine_sid':
libsmbauth.c:136: error: incompatible types in assignment
libsmbauth.c:142: error: incompatible types in assignment
libsmbauth.c: In function `_smbauth_getCliUserGroups':
libsmbauth.c:197: error: incompatible types in assignment
libsmbauth.c:203: error: incompatible types in assignment
libsmbauth.c:209: error: incompatible types in assignment
libsmbauth.c:217: error: incompatible types in assignment
libsmbauth.c:223: error: incompatible types in assignment
libsmbauth.c:229: error: syntax error before ')' token
libsmbauth.c:234: error: incompatible types in assignment
libsmbauth.c: In function `_smbauth_changePassword':
libsmbauth.c:306: error: incompatible types in assignment
*** Error code 1
The following command caused the error:
gcc -fPIC -O -c libsmbauth.c -I/usr/include -I./include -I. -I../samba-3.0.28a//source -I../samba-3.0.28a//source/lib/replace -I../samba-3.0.28a//source/lib/talloc -I../samba-3.0.28a//source/tdb/include -I../samba-3.0.28a//source/libaddns -I../samba-3.0.28a//source/librpc -I../samba-3.0.28a//source/include -I../samba-3.0.28a//source/popt 
make: Fatal error: Command failed for target `libsmbauth.o'</description>
		<content:encoded><![CDATA[<p>here is my compile error:</p>
<p># cd /local/Softwares/smbauth1.5.1/libsmbauth<br />
# make<br />
Building libsmbauth<br />
    includes -&gt; -I/usr/include -I./include -I. -I../samba-3.0.28a//source -I../samba-3.0.28a//source/lib/replace -I../samba-3.0.28a//source/lib/talloc -I../samba-3.0.28a//source/tdb/include -I../samba-3.0.28a//source/libaddns -I../samba-3.0.28a//source/librpc -I../samba-3.0.28a//source/include -I../samba-3.0.28a//source/popt<br />
libsmbauth.c: In function `_smbauth_init&#8217;:<br />
libsmbauth.c:59: error: too few arguments to function `lp_load&#8217;<br />
libsmbauth.c: In function `_smbauth_fetch_machine_sid&#8217;:<br />
libsmbauth.c:136: error: incompatible types in assignment<br />
libsmbauth.c:142: error: incompatible types in assignment<br />
libsmbauth.c: In function `_smbauth_getCliUserGroups&#8217;:<br />
libsmbauth.c:197: error: incompatible types in assignment<br />
libsmbauth.c:203: error: incompatible types in assignment<br />
libsmbauth.c:209: error: incompatible types in assignment<br />
libsmbauth.c:217: error: incompatible types in assignment<br />
libsmbauth.c:223: error: incompatible types in assignment<br />
libsmbauth.c:229: error: syntax error before &#8216;)&#8217; token<br />
libsmbauth.c:234: error: incompatible types in assignment<br />
libsmbauth.c: In function `_smbauth_changePassword&#8217;:<br />
libsmbauth.c:306: error: incompatible types in assignment<br />
*** Error code 1<br />
The following command caused the error:<br />
gcc -fPIC -O -c libsmbauth.c -I/usr/include -I./include -I. -I../samba-3.0.28a//source -I../samba-3.0.28a//source/lib/replace -I../samba-3.0.28a//source/lib/talloc -I../samba-3.0.28a//source/tdb/include -I../samba-3.0.28a//source/libaddns -I../samba-3.0.28a//source/librpc -I../samba-3.0.28a//source/include -I../samba-3.0.28a//source/popt<br />
make: Fatal error: Command failed for target `libsmbauth.o&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SMBAuth by shire</title>
		<link>http://tekrat.com/smbauth/#comment-206</link>
		<dc:creator>shire</dc:creator>
		<pubDate>Mon, 28 Apr 2008 19:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://tekrat.com/wp/?page_id=7#comment-206</guid>
		<description>Sorry about that, moved some things around and broke the links.  These should be good now.  Thanks for the post.</description>
		<content:encoded><![CDATA[<p>Sorry about that, moved some things around and broke the links.  These should be good now.  Thanks for the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SMBAuth by Dano</title>
		<link>http://tekrat.com/smbauth/#comment-205</link>
		<dc:creator>Dano</dc:creator>
		<pubDate>Mon, 28 Apr 2008 17:34:34 +0000</pubDate>
		<guid isPermaLink="false">http://tekrat.com/wp/?page_id=7#comment-205</guid>
		<description>I can't seem to download smbauth now. I get the message "Sorry, no posts match your criteria" when I click on any of the links.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to download smbauth now. I get the message &#8220;Sorry, no posts match your criteria&#8221; when I click on any of the links.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Thanks Vancouver! by shire</title>
		<link>http://tekrat.com/2008/04/17/thanks-vancouver/#comment-204</link>
		<dc:creator>shire</dc:creator>
		<pubDate>Fri, 18 Apr 2008 00:04:23 +0000</pubDate>
		<guid isPermaLink="false">http://tekrat.com/?p=96#comment-204</guid>
		<description>Thanks for the link, It's hard to compare sites due to functionality, but if he can run his site on limited hardware using ASP that's great.  I didn't see any specific stats on how he setup his architecture or what his hardware specs are but would probably be interesting to know.  Things often get interesting once you have to leave the one-to-one server architecture too though, so I hopefully he can continue to scale past that point as well ;-)</description>
		<content:encoded><![CDATA[<p>Thanks for the link, It&#8217;s hard to compare sites due to functionality, but if he can run his site on limited hardware using ASP that&#8217;s great.  I didn&#8217;t see any specific stats on how he setup his architecture or what his hardware specs are but would probably be interesting to know.  Things often get interesting once you have to leave the one-to-one server architecture too though, so I hopefully he can continue to scale past that point as well ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Thanks Vancouver! by Nigel</title>
		<link>http://tekrat.com/2008/04/17/thanks-vancouver/#comment-203</link>
		<dc:creator>Nigel</dc:creator>
		<pubDate>Thu, 17 Apr 2008 23:19:12 +0000</pubDate>
		<guid isPermaLink="false">http://tekrat.com/?p=96#comment-203</guid>
		<description>I went to your presentation, I thought it was very good and informative. I find the puzzle of supporting and running a very large website interesting. 

I never got around to talking to you though. I was wondering if you had been following the story of Vancouver's PlentyOfFish.com at all. It isn't a PHP saga but a .NET with 1 guy running a website with 10million logins a day (18 minute average surf time) on 5-6 servers only (web, image, mail, database, forum, and development server). Anyways the guy who runs it has a blog and you may find it interesting: http://plentyoffish.wordpress.com/ .</description>
		<content:encoded><![CDATA[<p>I went to your presentation, I thought it was very good and informative. I find the puzzle of supporting and running a very large website interesting. </p>
<p>I never got around to talking to you though. I was wondering if you had been following the story of Vancouver&#8217;s PlentyOfFish.com at all. It isn&#8217;t a PHP saga but a .NET with 1 guy running a website with 10million logins a day (18 minute average surf time) on 5-6 servers only (web, image, mail, database, forum, and development server). Anyways the guy who runs it has a blog and you may find it interesting: <a href="http://plentyoffish.wordpress.com/" rel="nofollow">http://plentyoffish.wordpress.com/</a> .</p>
]]></content:encoded>
	</item>
</channel>
</rss>
