<?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 Björn's Blog</title>
	<atom:link href="http://blog.blinker.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.blinker.net</link>
	<description>Computer Science, Mathematics, Games</description>
	<pubDate>Tue, 09 Mar 2010 23:15:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on Setting up a git repository that is accessible via HTTP WebDAV by Jens</title>
		<link>http://blog.blinker.net/2009/07/21/setting-up-a-git-repository-that-is-accessible-via-http-webdav/#comment-1730</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Mon, 15 Feb 2010 11:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=28#comment-1730</guid>
		<description>Alright, I got a bit further now, maybe it's all solved.
After looking in /Web/git/Logs/ErrorLog, I found out there's a permission problem on the lock file.
In my httpd-dav.conf, I have the line...

DavLockDB "/usr/var/DavLock"

I then checked the /usr/ directory, the 'var' directory was missing.
$ mkdir var
$ cd var
$ chown www .
$ chgrp www .

And then repeating the process seems that now I can push!! =)

So hereby the answer for those who should come by and have the same problem.</description>
		<content:encoded><![CDATA[<p>Alright, I got a bit further now, maybe it&#8217;s all solved.<br />
After looking in /Web/git/Logs/ErrorLog, I found out there&#8217;s a permission problem on the lock file.<br />
In my httpd-dav.conf, I have the line&#8230;</p>
<p>DavLockDB &#8220;/usr/var/DavLock&#8221;</p>
<p>I then checked the /usr/ directory, the &#8216;var&#8217; directory was missing.<br />
$ mkdir var<br />
$ cd var<br />
$ chown www .<br />
$ chgrp www .</p>
<p>And then repeating the process seems that now I can push!! =)</p>
<p>So hereby the answer for those who should come by and have the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting up a git repository that is accessible via HTTP WebDAV by Jens</title>
		<link>http://blog.blinker.net/2009/07/21/setting-up-a-git-repository-that-is-accessible-via-http-webdav/#comment-1729</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Mon, 15 Feb 2010 11:22:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=28#comment-1729</guid>
		<description>Hi Björn,

I've got some trouble trying to set up a git server.
Here's my goal:

1: read/write server (preferrably using webdav)
2: GitX client (eg. a user-interface client)

I'm used to CVS, and know how to use the terminal app. for basic CVS operations, but I don't want to do that anymore. As it's been a while since I used CVS, I don't have any current installation, but want to have some version control again.
I also got tired of typing. Now I want a button I can click, whenever I want the computer to work for me.

Here's what I've learned / done so far. I'm using Mac OS X Leopard for everything.

install git:
* Download git-1.7.0.tar.gz, depack it, run ./configure &#38;&#38; make &#38;&#38; sudo make install
* Check version by doing $git --version, verified, this works.
* Download and install man pages, verified, this works.
* Customize prompt to use __git_ps1, this works.
* Create a repository at /Web/git/repository.git/, enable WebDAV with BasicAuth, this seems to work, as when I go there, my browser asks me for username/password. I can view the files/folders in the browser after restarting Apache.
* Created a .netrc file in my home directory on my client machine. This seems to work if using curl --netrc.

Now... This is where I'm stuck.
I made a junk-project; eg. a folder with an Xcode project in it, and a few text-files.
I want to add this to the repository on the server.
From what I understood, I have to first create a repository inside the project folder, so I've tried...
$ git init
Initialized empty Git repository in /Users/username/MyProject/.git/
(master) $ git add .
(master) $ git config remote.upload.url http://username@domain/repository.git/
(master) $ git commit
[typing 'initial commit.' in vi and pressing :wq to write and exit
(master) $ git push upload master
Here I'm asked to type a password.
 If I type my sudo password, I get
fatal: HTTP request failed
 If I type my repository password, I get...
error: cannot lock existing info/refs
fatal: git-http-push failed

-So I guess I am supposed to type my repository password, which makes more sense.

I then tried something different...

$ mkdir test; cd test
$ git clone http://username:password@domain/repository.git/
Initialized empty Git repository in /Users/jens/__test/repository/.git/
warning: You appear to have cloned an empty repository.
$ cd repository/
(master) $ echo "helloiamjmp" &#62;testfile.txt
(master) $ git add testfile.txt
(master) $ git commit
(master) $ git config remote.upload.url http://username@domain/repository.git/
(master) $ git push upload master
Password: (entered repository password)
Password: (entered repository password)
error: cannot lock existing info/refs
fatal: git-http-push failed

Do you have any idea on where I'm going wrong, and perhaps why / how ?</description>
		<content:encoded><![CDATA[<p>Hi Björn,</p>
<p>I&#8217;ve got some trouble trying to set up a git server.<br />
Here&#8217;s my goal:</p>
<p>1: read/write server (preferrably using webdav)<br />
2: GitX client (eg. a user-interface client)</p>
<p>I&#8217;m used to CVS, and know how to use the terminal app. for basic CVS operations, but I don&#8217;t want to do that anymore. As it&#8217;s been a while since I used CVS, I don&#8217;t have any current installation, but want to have some version control again.<br />
I also got tired of typing. Now I want a button I can click, whenever I want the computer to work for me.</p>
<p>Here&#8217;s what I&#8217;ve learned / done so far. I&#8217;m using Mac OS X Leopard for everything.</p>
<p>install git:<br />
* Download git-1.7.0.tar.gz, depack it, run ./configure &amp;&amp; make &amp;&amp; sudo make install<br />
* Check version by doing $git &#8211;version, verified, this works.<br />
* Download and install man pages, verified, this works.<br />
* Customize prompt to use __git_ps1, this works.<br />
* Create a repository at /Web/git/repository.git/, enable WebDAV with BasicAuth, this seems to work, as when I go there, my browser asks me for username/password. I can view the files/folders in the browser after restarting Apache.<br />
* Created a .netrc file in my home directory on my client machine. This seems to work if using curl &#8211;netrc.</p>
<p>Now&#8230; This is where I&#8217;m stuck.<br />
I made a junk-project; eg. a folder with an Xcode project in it, and a few text-files.<br />
I want to add this to the repository on the server.<br />
From what I understood, I have to first create a repository inside the project folder, so I&#8217;ve tried&#8230;<br />
$ git init<br />
Initialized empty Git repository in /Users/username/MyProject/.git/<br />
(master) $ git add .<br />
(master) $ git config remote.upload.url <a href="http://username@domain/repository.git/" rel="nofollow">http://username@domain/repository.git/</a><br />
(master) $ git commit<br />
[typing &#8216;initial commit.&#8217; in vi and pressing :wq to write and exit<br />
(master) $ git push upload master<br />
Here I&#8217;m asked to type a password.<br />
 If I type my sudo password, I get<br />
fatal: HTTP request failed<br />
 If I type my repository password, I get&#8230;<br />
error: cannot lock existing info/refs<br />
fatal: git-http-push failed</p>
<p>-So I guess I am supposed to type my repository password, which makes more sense.</p>
<p>I then tried something different&#8230;</p>
<p>$ mkdir test; cd test<br />
$ git clone <a href="http://username:password@domain/repository.git/" rel="nofollow">http://username:password@domain/repository.git/</a><br />
Initialized empty Git repository in /Users/jens/__test/repository/.git/<br />
warning: You appear to have cloned an empty repository.<br />
$ cd repository/<br />
(master) $ echo &#8220;helloiamjmp&#8221; &gt;testfile.txt<br />
(master) $ git add testfile.txt<br />
(master) $ git commit<br />
(master) $ git config remote.upload.url <a href="http://username@domain/repository.git/" rel="nofollow">http://username@domain/repository.git/</a><br />
(master) $ git push upload master<br />
Password: (entered repository password)<br />
Password: (entered repository password)<br />
error: cannot lock existing info/refs<br />
fatal: git-http-push failed</p>
<p>Do you have any idea on where I&#8217;m going wrong, and perhaps why / how ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Creating &#8220;Twitter This&#8221; Links by Charity Hisle</title>
		<link>http://blog.blinker.net/2009/06/05/creating-twitter-this-links/#comment-1690</link>
		<dc:creator>Charity Hisle</dc:creator>
		<pubDate>Tue, 27 Oct 2009 22:07:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=24#comment-1690</guid>
		<description>I really appreciate the link generator and will probably link back to your site to send more people your way. The spaces kept throwing me off. Thank you!</description>
		<content:encoded><![CDATA[<p>I really appreciate the link generator and will probably link back to your site to send more people your way. The spaces kept throwing me off. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Architecture Analogy For Programming Is Wrong by Willi</title>
		<link>http://blog.blinker.net/2009/08/31/the-architecture-analogy-for-programming-is-wrong/#comment-1640</link>
		<dc:creator>Willi</dc:creator>
		<pubDate>Wed, 16 Sep 2009 14:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=29#comment-1640</guid>
		<description>Wow, actually I see that "my" metaphor is not so original ... hmm, quite a usual experience googling a "new" thought, this plant has become a brain. There even is a book with "knowledge gardening" in the title ...
	coding "like gardening" - Google-Suche	
http://www.google.com/search?hl=de&#38;client=safari&#38;rls=de-de&#38;q=coding+%22like+gardening%22&#38;btnG=Suche&#38;lr=
	"knowledge gardening" - Google-Suche	
http://www.google.com/search?hl=de&#38;client=safari&#38;rls=de-de&#38;q=%22knowledge+gardening%22&#38;btnG=Suche&#38;lr=</description>
		<content:encoded><![CDATA[<p>Wow, actually I see that &#8220;my&#8221; metaphor is not so original &#8230; hmm, quite a usual experience googling a &#8220;new&#8221; thought, this plant has become a brain. There even is a book with &#8220;knowledge gardening&#8221; in the title &#8230;<br />
	coding &#8220;like gardening&#8221; - Google-Suche<br />
<a href="http://www.google.com/search?hl=de&amp;client=safari&amp;rls=de-de&amp;q=coding+%22like+gardening%22&amp;btnG=Suche&amp;lr=" rel="nofollow">http://www.google.com/search?hl=de&amp;client=safari&amp;rls=de-de&amp;q=coding+%22like+gardening%22&amp;btnG=Suche&amp;lr=</a><br />
	&#8220;knowledge gardening&#8221; - Google-Suche<br />
<a href="http://www.google.com/search?hl=de&amp;client=safari&amp;rls=de-de&amp;q=%22knowledge+gardening%22&amp;btnG=Suche&amp;lr=" rel="nofollow">http://www.google.com/search?hl=de&amp;client=safari&amp;rls=de-de&amp;q=%22knowledge+gardening%22&amp;btnG=Suche&amp;lr=</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Architecture Analogy For Programming Is Wrong by Björn</title>
		<link>http://blog.blinker.net/2009/08/31/the-architecture-analogy-for-programming-is-wrong/#comment-1639</link>
		<dc:creator>Björn</dc:creator>
		<pubDate>Wed, 16 Sep 2009 12:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=29#comment-1639</guid>
		<description>I like the gardening analogy :-) Have you read "Otherland" by any chance? There is a story about knowledge organization as gardening in there. Not detailed enough to make an application out of it, but it makes me wonder how it could work that way.</description>
		<content:encoded><![CDATA[<p>I like the gardening analogy <img src='http://blog.blinker.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Have you read &#8220;Otherland&#8221; by any chance? There is a story about knowledge organization as gardening in there. Not detailed enough to make an application out of it, but it makes me wonder how it could work that way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Architecture Analogy For Programming Is Wrong by Willi</title>
		<link>http://blog.blinker.net/2009/08/31/the-architecture-analogy-for-programming-is-wrong/#comment-1638</link>
		<dc:creator>Willi</dc:creator>
		<pubDate>Wed, 16 Sep 2009 12:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=29#comment-1638</guid>
		<description>Bjoern, this is absolutely right, to have the adequate basic model really is essential how to conceive things, procedures, ressources. As I have been studying the rare disciplin of "information science" I came across this issue in an other area. Just think of the paradigm of hierarchical classification to navigate in knowledge, Dewey's Decimal Classification looks like an almost irrational obsession seen from today. It roots (sic!) in the rather old metaphor of the "knowledge tree". Since the corpus of knowledge is in dynamic the metaphor of a garden would have been less fatal. 

In doing knowledge management I had to think in floating structures and moving targets – this is more like gardening too. That does not mean that there are no plans! It means that there are overlapping and sometimes conflicting plans. I suppose, that in programming it will help to analyze dependencies of (a) goals and (b) structures at an early stage - and permanently. (But I am not in that business, maybe this is actually done that way.)</description>
		<content:encoded><![CDATA[<p>Bjoern, this is absolutely right, to have the adequate basic model really is essential how to conceive things, procedures, ressources. As I have been studying the rare disciplin of &#8220;information science&#8221; I came across this issue in an other area. Just think of the paradigm of hierarchical classification to navigate in knowledge, Dewey&#8217;s Decimal Classification looks like an almost irrational obsession seen from today. It roots (sic!) in the rather old metaphor of the &#8220;knowledge tree&#8221;. Since the corpus of knowledge is in dynamic the metaphor of a garden would have been less fatal. </p>
<p>In doing knowledge management I had to think in floating structures and moving targets – this is more like gardening too. That does not mean that there are no plans! It means that there are overlapping and sometimes conflicting plans. I suppose, that in programming it will help to analyze dependencies of (a) goals and (b) structures at an early stage - and permanently. (But I am not in that business, maybe this is actually done that way.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A big problem with OpenID: phishing by Andreas</title>
		<link>http://blog.blinker.net/2009/01/09/a-big-problem-with-openid-phishing/#comment-234</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Wed, 14 Jan 2009 08:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=20#comment-234</guid>
		<description>Displaying a login page on mvbank.com that looks like mybank.com, just like the phishing attack you'd expect on the OpenID provider.

If you don't trust HTTPS, then maybe HTTPS should change or be replaced for something better. I don't see what OpenID can do here.

However, there are some ideas to implement the OpenID provider into the browser. I am not sure how this will work out technically, but it sounds like a solution to your problem.</description>
		<content:encoded><![CDATA[<p>Displaying a login page on mvbank.com that looks like mybank.com, just like the phishing attack you&#8217;d expect on the OpenID provider.</p>
<p>If you don&#8217;t trust HTTPS, then maybe HTTPS should change or be replaced for something better. I don&#8217;t see what OpenID can do here.</p>
<p>However, there are some ideas to implement the OpenID provider into the browser. I am not sure how this will work out technically, but it sounds like a solution to your problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A big problem with OpenID: phishing by Björn</title>
		<link>http://blog.blinker.net/2009/01/09/a-big-problem-with-openid-phishing/#comment-228</link>
		<dc:creator>Björn</dc:creator>
		<pubDate>Sun, 11 Jan 2009 22:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=20#comment-228</guid>
		<description>HTTPS: no it only verifies that it is the site it pretends to be. mvbank.com could have a valid certificate and still pretend to be mybank.com. Also, since https so often is implemented incorrectly, users are already trained to ignore the warnings. Furthermore, my impression is that many browsers are deployed with dodgy root certificates.

What kind of phishing attacks for conventional login methods do you mean?</description>
		<content:encoded><![CDATA[<p>HTTPS: no it only verifies that it is the site it pretends to be. mvbank.com could have a valid certificate and still pretend to be mybank.com. Also, since https so often is implemented incorrectly, users are already trained to ignore the warnings. Furthermore, my impression is that many browsers are deployed with dodgy root certificates.</p>
<p>What kind of phishing attacks for conventional login methods do you mean?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A big problem with OpenID: phishing by Andreas</title>
		<link>http://blog.blinker.net/2009/01/09/a-big-problem-with-openid-phishing/#comment-227</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Sun, 11 Jan 2009 17:04:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=20#comment-227</guid>
		<description>What's the problem with HTTPS? It should do exactly what you want: Make sure that you're talking to the right guy.

Besides: Conventional logins are all vulnerable to phishing, as we know. At least OpenID doesn't do anything worse. To take it further, it enables the use of phishing proof authentication methods (e.g. public/private key, chipcard) for all OpenID enabled sites.</description>
		<content:encoded><![CDATA[<p>What&#8217;s the problem with HTTPS? It should do exactly what you want: Make sure that you&#8217;re talking to the right guy.</p>
<p>Besides: Conventional logins are all vulnerable to phishing, as we know. At least OpenID doesn&#8217;t do anything worse. To take it further, it enables the use of phishing proof authentication methods (e.g. public/private key, chipcard) for all OpenID enabled sites.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A big problem with OpenID: phishing by Phil Jordan</title>
		<link>http://blog.blinker.net/2009/01/09/a-big-problem-with-openid-phishing/#comment-224</link>
		<dc:creator>Phil Jordan</dc:creator>
		<pubDate>Fri, 09 Jan 2009 14:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.blinker.net/?p=20#comment-224</guid>
		<description>Yes, I've noticed this too. However, like you said, it's less of an issue if you're already logged into your OpenID provider. I know it's not fully compliant, but the Google login makes this work: it just asks you if you want to log in to [blah] using your Google account.

I'd start getting suspicious if it asked me for my user/pwd. Even if it did, my browser (Opera) would display the "magic wand" highlighting signifying that the browser already knows the credentials for that site. I'd be VERY worried if it didn't show that.

I more strongly suspect that OpenID in its current form won't ever go mainstream, so we probably won't even see OpenID phishing attacks.</description>
		<content:encoded><![CDATA[<p>Yes, I&#8217;ve noticed this too. However, like you said, it&#8217;s less of an issue if you&#8217;re already logged into your OpenID provider. I know it&#8217;s not fully compliant, but the Google login makes this work: it just asks you if you want to log in to [blah] using your Google account.</p>
<p>I&#8217;d start getting suspicious if it asked me for my user/pwd. Even if it did, my browser (Opera) would display the &#8220;magic wand&#8221; highlighting signifying that the browser already knows the credentials for that site. I&#8217;d be VERY worried if it didn&#8217;t show that.</p>
<p>I more strongly suspect that OpenID in its current form won&#8217;t ever go mainstream, so we probably won&#8217;t even see OpenID phishing attacks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
