<?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>Everything old is new again &#187; Other</title>
	<atom:link href="http://www.svendtofte.com/category/other/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.svendtofte.com</link>
	<description>rantings &#38; scraps on code and web development</description>
	<lastBuildDate>Sat, 06 Nov 2010 20:55:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A beauty of things imperfect, impermanent and incomplete</title>
		<link>http://www.svendtofte.com/other/a-beauty-of-things-imperfect-impermanent-and-incomplete/</link>
		<comments>http://www.svendtofte.com/other/a-beauty-of-things-imperfect-impermanent-and-incomplete/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 20:54:21 +0000</pubDate>
		<dc:creator>Svend</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[aesthetics]]></category>
		<category><![CDATA[philosophy]]></category>

		<guid isPermaLink="false">http://www.svendtofte.com/?p=331</guid>
		<description><![CDATA[I&#8217;ve been reading a bit about a certain kind of japanese philosophy called &#8220;wabi-sabi&#8221;, which is a japanese world-view and aesthetic. The list, which contrasts wabi-sabiwith modernism, is from Koren&#8217;s book, which contains many beautiful pictures of objects that embody the wabi-sabi philosophy. There seems to an inherit satisfaction in thinking about these juxtapositions for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been reading a bit about a certain kind of japanese philosophy called &#8220;wabi-sabi&#8221;, which is a japanese world-view and aesthetic. The list, which contrasts wabi-sabiwith modernism, is from <a href="http://www.amazon.com/Wabi-Sabi-Artists-Designers-Poets-Philosophers/dp/1880656124">Koren&#8217;s book</a>, which contains many beautiful pictures of objects that embody the wabi-sabi philosophy. There seems to an inherit satisfaction in thinking about these juxtapositions for me. Perhaps favoring neither, but seeing the validity of each of the opposing stances.</p>
<p><span id="more-331"></span></p>
<table class="tufteDesign" style="width:470px;margin-left:auto;margin-right:auto;">
<tr>
<th>Modernism</th>
<th>Wabi-sabi</th>
</tr>
<tr>
<td>Primarily expressed in the public domain</td>
<td>Primarily expressed in the public domain</td>
</tr>
<tr>
<td>Implies a logical, rational worldview</td>
<td>Implies an intuitive worldview</td>
</tr>
<tr>
<td>Absolute</td>
<td>Relative</td>
</tr>
<tr>
<td>Looks for universal, prototypical solutions</td>
<td>Looks for personal, idiosyncratic solutions</td>
</tr>
<tr>
<td>Mass-produced/Modular</td>
<td>One-of-a-kind/variable</td>
</tr>
<tr>
<td>Expresses faith in progress</td>
<td>There is no progress</td>
</tr>
<tr>
<td>Future-oriented</td>
<td>Present-oriented</td>
</tr>
<tr>
<td>Believes in the control of nature</td>
<td>Believes in the fundamental uncontrollability of nature</td>
</tr>
<tr>
<td>Romanticizes technology</td>
<td>Romanticizes nature</td>
</tr>
<tr>
<td>People adapting to machines</td>
<td>People adapting to nature</td>
</tr>
<tr>
<td>Geometric organization of form (sharp, precise, definite shapes and edges)</td>
<td>Organic organization of form (soft, vague shapes and edges)</td>
</tr>
<tr>
<td>The box as a metaphor (rectilinear, precise, contained)</td>
<td>The bowl as a metaphor (free shape, open at top)</td>
</tr>
<tr>
<td>Manmade materials</td>
<td>Natural materials</td>
</tr>
<tr>
<td>Ostensibly slick</td>
<td>Ostensibly crude</td>
</tr>
<tr>
<td>Needs to be well-maintained</td>
<td>Accommodates to degradation and attrition</td>
</tr>
<tr>
<td>Purity make its expression richer</td>
<td>Corrosion and contamination make its expression richer</td>
</tr>
<tr>
<td>Solicits the reduction of sensory information</td>
<td>Solicits the expansion of sensory information</td>
</tr>
<tr>
<td>Is intolerant of ambiguity and contradiction</td>
<td>Is comfortable with ambiguity and contradiction</td>
</tr>
<tr>
<td>Cool</td>
<td>Warm</td>
</tr>
<tr>
<td>Function and utility are primary values</td>
<td>Function and utility are not so important</td>
</tr>
<tr>
<td>Perfect materiality is an ideal</td>
<td>Perfect immateriality is an ideal</td>
</tr>
<tr>
<td>Everlasting</td>
<td>To every thing there is a season</td>
</tr>
</table>
<p>What&#8217;s so fascinating about these two philosophies and aesthetics is how they contrast so sharply, and yet share so many conceptual similarities. As Koren puts it in his book:</p>
<blockquote>
<ul>
<li>Both apply to all manner of manmade objects, spaces and designs.</li>
<li>Both are strong reactions against the dominant, established sensibilities of their time. Modernism was a radical depature from 19th-century classicism and eclecticsism. Wabi-sabi was a radical depature from the Chinese perfection and gorgeousness of the 16th-century and earlier.</li>
<li>Both eschew any decoration that is not integral to structure.</li>
<li>Both are abstract, nonrepresentational ideasl of beauty.</li>
<li>Both have readily identifiable surface characteristics. Modernism is seamless, polished, and smooth. Wabi-sabi is earthy, impefect, and variegated.</li>
</ul>
</blockquote>
<p>Wabi-sabi being summed up as the beauty of things imperfect, impermanent, and incomplete. Is is a beauty of things modest and humble.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendtofte.com/other/a-beauty-of-things-imperfect-impermanent-and-incomplete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim stuff</title>
		<link>http://www.svendtofte.com/other/vim-stuff/</link>
		<comments>http://www.svendtofte.com/other/vim-stuff/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:38:34 +0000</pubDate>
		<dc:creator>Svend</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[remotedesktop]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.svendtofte.com/?p=302</guid>
		<description><![CDATA[Vim is a nice editor, but I never liked the way it handles files. Thankfully I recently found a great script, which adds great quick browsing capabilities to Vim, called lusty-explorer.vim. Since 7, Vim has supported not just it&#8217;s own homegrown (and honestly fairly bastardized language) called VimScript, but also it has included bindindgs for [...]]]></description>
			<content:encoded><![CDATA[<p>Vim is a nice editor, but I never liked the way it handles files. Thankfully I recently found a great script, which adds great quick browsing capabilities to Vim, called <a href="http://www.vim.org/scripts/script.php?script_id=1890">lusty-explorer.vim</a>. Since 7, Vim has supported not just it&#8217;s own homegrown (and honestly fairly bastardized language) called VimScript, but also it has included bindindgs for popoular scripting languages such as Ruby and Python, so extending this script with some extra functionality was a great way to see how Vims extensibility works. And with lusty-explorer written in Ruby, this was a nice chance to learn these new aspects of Vim.</p>
<p><span id="more-302"></span></p>
<p>Anyway, lusty-explorer adds quick ways to browse either the loaded buffers, or browse the filesystem, but doing both in a way which blows away the built-in directory browser in Vim. But the way I like to browse files is basicly with a &#8220;recently used&#8221; file list, which should include currently open files. So with some changes to the lusty-explorer script, it now has a great &#8220;recently used&#8221; explorer, which I find totally eliminates any need to check currently loaded buffers. Want to open a file you know you&#8217;ve opened recently? Just hit <code>&lt;leader&gt;lu</code>, and the last many files you opened are there, easy to get to. If the file is alredy open, Vim just switches to that buffer, just like if you had entered <code>:e <em>file</em></code>.</p>
<p>Get <a href="/wp-content/uploads/2009/08/lusty-explorer-mod.vim">lusty-explorer-mod.vim</a>.</p>
<h3>Remote Desktop, Consolas and ClearType, oh my</h3>
<p>Something else which I&#8217;ve found a need for, is a capability to detect when Vim is used in a remote desktop session. Since I spend maybe half of all my time working in a RD, where ClearType is usually disabled, that means that my preferred font, <a href="http://www.codinghorror.com/blog/archives/000969.html">Consolas</a> <a href="http://www.codinghorror.com/blog/archives/000356.html">looks like shit</a>. While not the same as having ClearType disabled, I found that the easiest way out was to check <a href="http://msdn.microsoft.com/en-us/library/ms724385%28VS.85%29.aspx">if the current session was via Remote Desktop</a> (look for the <code>SM_REMOTESESSION</code>.) Thankfully that&#8217;s pretty easy to check. Here&#8217;s a minuscule C program which does this.</p>
<pre>#include &lt;windows.h&gt;
#pragma comment(lib, "user32.lib")

int main(void) {
    if (GetSystemMetrics(SM_REMOTESESSION)) {
        printf("1");
    } else {
        printf("0");
    }
    return 0;
}</pre>
<p>The precompiled <a href="/wp-content/uploads/2009/08/remotesession32bit.exe">file here</a> is compiled for 32bit, on WinXP, but tested on 64bit 2008 Server as well, where it should work just fine, through the miracle of <a href="http://en.wikipedia.org/wiki/Windows_on_Windows" title="Not World of Warcraft damnit!">WOW</a>. You can use this small executable, by dropping it in the path of computers where you use Vim, and where you might also log in via Remote Desktop, and then you can tweak your _vimrc like this:</p>
<pre>if has("gui_running") " gvim is running
    if has('win32')
        set guifont=Consolas:h11:cANSI
        if system("remotesession") == "1"
            set guifont=Lucida_Console:h10:cANSI
        endif
    endif
endif</pre>
<p>Lets you get the best of both worlds, Consolas, when ClearType is (probably) present, and Lucida when not (Lucida Console is still fairly decent.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendtofte.com/other/vim-stuff/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Non-english domain naming issues in programming</title>
		<link>http://www.svendtofte.com/other/non-english-domain-naming-issues-in-programming/</link>
		<comments>http://www.svendtofte.com/other/non-english-domain-naming-issues-in-programming/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 16:55:31 +0000</pubDate>
		<dc:creator>Svend</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[meaning]]></category>

		<guid isPermaLink="false">http://www.svendtofte.com/?p=206</guid>
		<description><![CDATA[This is a problem I&#8217;ve been thinking a good deal about lately, without really coming to any conclusion, maybe because there is no right way. The issue can be summed up fairly easily, but it does betray the multitude of issue that lie beneath. How do you handle non-english terms in your code? I imagine [...]]]></description>
			<content:encoded><![CDATA[<p>This is a problem I&#8217;ve been thinking a good deal about lately, without really coming to any conclusion, maybe because there is no right way. The issue can be summed up fairly easily, but it does betray the multitude of issue that lie beneath.</p>
<blockquote><p><em>How do you handle non-english terms in your code?</em></p></blockquote>
<p><span id="more-206"></span></p>
<p>I imagine most programmers write their code in english. This simply makes the most sense, I&#8217;m sure people will agree with this. The vast majority of pre-existing code (libraries, APIs) is in english. The literature and enviroments that programmers need to work in or with are english. And sometimes even technical issues, such as tool chain inabilities to handle some more complex character sets. While the issue is fairly banal, it does relate to the core issues in programming, semiotics and the encoding of meaning in the written word.</p>
<p>Programming is solving problems in some domain, be it mathematics, the local post office or a ticket seating systems for a stadium, and as such, you deal in the terms found in that domain. But when you&#8217;re <em>not</em> dealing with an english domain term, how do you handle that? I&#8217;m sure almost every non-english CS student has come across this issue, as universities tend to be a place where the native language is valued highly (and rightly so), and thus even very technical terms have found local translations.</p>
<p class="imgWithCaption"><img src="http://www.svendtofte.com/wp-content/uploads/2009/03/the_rosetta_stone_top.jpg" alt="The top part of the Rosetta stone" title="The top part of the Rosetta stone" width="500" height="253" class="alignnone size-full wp-image-216" /><br/>The problems of encoding and translations are not new issues. The image depicts the top of the <a href="http://en.wikipedia.org/wiki/Rosseta_Stone">Rosetta Stone</a>, showing the then lost egyption heiroglyphs encoding.</p>
<h3>Indblikskode versus Access code</h3>
<p>To keep it from being completely abstract, let&#8217;s take on an example. At work, we have a massive <acronym title="Electronic Document Management">EDM</acronym> system. As part of the security of this system, there&#8217;s a term called &#8220;indblikskode&#8221;. This denotes a code which a user has in the system. The code allows the user to view (and otherwise interact) with documents in the system. So, do we translate this danish term, or do we use it as is?</p>
<p>Indblikskode is an exact term with a specific meaning when coupled with our EDM system, but if I translate it into for example  &#8220;access code&#8221;, which may well mean the same thing, it has lost all the embedded meaning when coupled with our EDM system. If we forego a translation, we risc ending up with pidgin english, such as <code>getIndblikskode();</code>. Having myself, and anyone who may have to handle the code, plays translator isn&#8217;t exactly very productive either. And herein lies the issue.</p>
<blockquote><p><em>How to properly balance the loss of information as you move away from the terms of the problem domain, versus the problems of mixing languages.</em></p></blockquote>
<p>As always the answer is probably &#8220;it depends&#8221;. Who will look at the code after you&#8217;re done with it? How well can translations actually be made? Can only some terms be translated? The issue is that this problem is most oftenly handled by programmers, who sit with their editors, and are naming variables. It&#8217;s unrealistic to expect to commitee such work, and most programmers must simply work from a gut feeling.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendtofte.com/other/non-english-domain-naming-issues-in-programming/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Anyone else tired of w3schools?</title>
		<link>http://www.svendtofte.com/other/anyone-else-tired-of-w3schools/</link>
		<comments>http://www.svendtofte.com/other/anyone-else-tired-of-w3schools/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 23:32:22 +0000</pubDate>
		<dc:creator>Svend</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[Stylesheets]]></category>
		<category><![CDATA[w3schools]]></category>

		<guid isPermaLink="false">http://www.svendtofte.com/?p=16</guid>
		<description><![CDATA[&#8230; and the mediocre content they provide? I&#8217;m especially tired of the high ranking they (still) get in google. I go to hit google with &#8220;PlaceHolder asp.net&#8221;, and w3schools is the second hit. If you go read their page it has barely 3 lines regarding this control (highlighted with red outline), the remaining details are [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; and the mediocre content they provide? I&#8217;m especially tired of the high ranking they <em>(still)</em> get in google. I go to hit google with &#8220;PlaceHolder asp.net&#8221;, and w3schools is <a href="http://www.google.com/search?q=asp.net+PlaceHolder">the second hit</a>. If you go read their page it has <em>barely 3 lines</em> regarding this control (highlighted with red outline), the remaining details are simply aggregate data, or advertising (outlined with green, doesn&#8217;t include all the further ads you&#8217;d see if you had scrolled down).</p>
<p class="imgWithCaption"><img src="http://www.svendtofte.com/wp-content/uploads/2008/07/documentation-galore.gif" alt="w3schools webpage screenshot" title="documentation-galore" width="500" height="475" class="alignnone size-full wp-image-17" /><br />
w3schools &#8220;3 lines of documentation&#8221; regarding the ASP.NET PlaceHolder class.</p>
<p>I mean, this is a total joke. When did w3schools start out? 2000? They became popular with their concise CSS properties listings back in the day. But seriously, it&#8217;s like this site is frozen in time. Their CSS reference point is <a href="http://www.w3.org/TR/REC-CSS2/">2.0 from 1998</a> (not that a mere properties reference would list much different from 2.0 and 2.1, but there are some <a href="http://www.w3.org/TR/CSS21/changes.html#new">minor additions</a>.) I would prefer they would work on updating their CSS reference instead of wasting time on ASP.NET.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendtofte.com/other/anyone-else-tired-of-w3schools/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Blogrolls and links</title>
		<link>http://www.svendtofte.com/other/blogrolls-and-links/</link>
		<comments>http://www.svendtofte.com/other/blogrolls-and-links/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 21:43:17 +0000</pubDate>
		<dc:creator>Svend</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[blogrolls]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[content]]></category>

		<guid isPermaLink="false">http://www.svendtofte.com/?p=12</guid>
		<description><![CDATA[I guess I think of many things as arrogant. I guess it also strikes me as somewhat arrogant that visitors to my site should somehow be interested in whatever random links I might have, especially when they are so generics as to be included in &#8220;blogrolls&#8221;, or whatever the term seems to be. There&#8217;s enough [...]]]></description>
			<content:encoded><![CDATA[<p>I guess I think of many things as arrogant. I guess it also strikes me as somewhat arrogant that visitors to my site should somehow be interested in whatever random links I might have, especially when they are so generics as to be included in &#8220;blogrolls&#8221;, or whatever the term seems to be.</p>
<p>There&#8217;s enough &#8220;<a href="http://www.stumbleupon.com/">interesting</a> <a href="http://del.icio.us/">link</a> <a href="http://digg.com/">sites</a>&#8221; services out there there&#8217;s just no need to attempt to present down my perhaps 4-5 daily site checks as somehow unique. They aren&#8217;t. I check <a href="http://blogs.msdn.com/oldnewthing/default.aspx" title="Win32 developtment blog">the old new thing</a> now and then. I read <a href="http://www.computerworld.dk/" title="Danish Computer News portal/site">Computerworld.dk</a> to get a view of how the landscape of the danish commercial software scene. I wish I was cool and spent alot of time on <a href="http://lambda-the-ultimate.org/" title="Programming language news site">Lambda the Ultimate</a>, but I&#8217;m not, so I just visit it every few weeks and poke around. </p>
<p>Overall it just seems like we&#8217;re building paths to everywhere. But it&#8217;s nice to <em>arrive</em> as well. And I guess I wish for this site to be a destination for some people (and maybe helpful as well). Feel free to hit your back button now!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendtofte.com/other/blogrolls-and-links/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>First post</title>
		<link>http://www.svendtofte.com/other/first-post/</link>
		<comments>http://www.svendtofte.com/other/first-post/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 21:36:04 +0000</pubDate>
		<dc:creator>Svend</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[first post]]></category>

		<guid isPermaLink="false">http://www.svendtofte.com/?p=3</guid>
		<description><![CDATA[Riding high on the technology wave of the last millenium, I&#8217;ve finally gotten around to getting an actual genuine blog. I spent about a week tweaking the WordPress platform, look and code to make it appear more or less like my old site. My old site had a very article &#8220;centric&#8221; look, and I&#8217;m not [...]]]></description>
			<content:encoded><![CDATA[<p>Riding high on the technology wave of the <i>last millenium</i>, I&#8217;ve finally gotten around to getting an actual genuine blog. I spent about a week tweaking the WordPress platform, look and code to make it appear more or less like my old site.</p>
<p>My old site had a very article &#8220;centric&#8221; look, and I&#8217;m not entirely sure I managed to translate that look and feel over to a more snippet oriented 2 column classic blog format. But mostly because this new software just contains so many more pages then my old did. So still lots of stuff to do; I need to get around to looking at making some nice URLs, instead of these horrible <code>?id=213</code> URL fragments that floats around. The site probably doesn&#8217;t validate. And overall need to check that the site works in all it&#8217;s little niches &#8230;</p>
<p>Oh, and if you&#8217;re looking for the old stuff, the content is in all the usual places, haven&#8217;t deleted any content, and until such a time as I get the old front page index and possibly content ported over (still not sure how to handle that), <a href="old.index.php">here&#8217;s a link to the old index page.</a></p>
<p>And this makes for my &#8230; 8th or so iteration of my site, which has lived on this domain since 2001, and on a few others for a few years before that. And I wish to send my gratitude to my <a href="http://www.bitmand.dk/" rel="friend met co-worker">friend Lasse</a>, for providing great hosting ever since my <a href="http://web.archive.org/web/20020923150532/http://svend.neoideo.dk/">former domain</a> went defunct in late 2002.</p>
<p>But anyway. I&#8217;m very happy to finally have a blog and having it gotten launched tonight.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.svendtofte.com/other/first-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

