<?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>Grantovich.net &#187; webs</title>
	<atom:link href="http://grantovich.net/posts/tag/webs/feed/" rel="self" type="application/rss+xml" />
	<link>http://grantovich.net</link>
	<description>Updated with astounding infrequency</description>
	<lastBuildDate>Tue, 29 Jun 2010 01:38:03 +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>That Weird IE8 Textarea Bug</title>
		<link>http://grantovich.net/posts/2009/06/that-weird-ie8-textarea-bug/</link>
		<comments>http://grantovich.net/posts/2009/06/that-weird-ie8-textarea-bug/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 21:34:48 +0000</pubDate>
		<dc:creator>Grantovich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[webs]]></category>

		<guid isPermaLink="false">http://grantovich.net/?p=336</guid>
		<description><![CDATA[While the latest version of Microsoft&#8217;s much-maligned browser did fix a menagerie of rendering bugs in the process of introducing full CSS 2.1 support, it unfortunately introduced one glitch that will probably have you scratching your head the first time you see it. The bug is this: If you have a textarea with a width [...]]]></description>
			<content:encoded><![CDATA[<p>While the latest version of Microsoft&#8217;s much-maligned <a href="http://www.microsoft.com/windows/internet-explorer/default.aspx">browser</a> did fix a menagerie of rendering bugs in the process of introducing full <a href="http://www.w3.org/TR/CSS2/">CSS 2.1</a> support, it unfortunately <em>introduced</em> one glitch that will probably have you scratching your head the first time you see it.</p>
<p>The bug is this: If you have a textarea with a width specified as a percentage (most commonly 100%), and there&#8217;s enough text in the textarea to cause it to scroll, the textarea will <em>scroll up</em> by a few lines for each character you type, only stopping when the line you&#8217;re editing reaches the bottom of the box (or the scrollbar reaches the uppermost position). Sometimes, when deleting text, it even scrolls up further than that, leaving your cursor somewhere outside the visible part of the textarea. Sounds fun, right?</p>
<p>Since the bug didn&#8217;t exist before IE8, it <em>can</em> be repaired by activating <a href="http://blogs.msdn.com/ie/archive/2008/08/27/introducing-compatibility-view.aspx">Compatibility View</a>, which sends the page through the old IE7 engine instead. If you&#8217;re already doing the extra bit of work to accomodate IE7 users, this might not be a half-bad solution. But if you want to avoid regressing to an earlier version of IE and dealing with all the CSS hacks that implies, I recently found an alternate solution courtesy of <a href="http://dev.simplemachines.org/mantis/view.php?id=3354">the Simple Machines forum developers</a>.</p>
<p>The bug is triggered when the CSS &#8220;width&#8221; property (and only that property) is set to a percentage. So how do you set width without setting &#8220;width&#8221;? By setting min-width and max-width to the same value! It looks a bit odd, but it&#8217;s perfectly standards-compliant and should be interpreted correctly by all major browsers. Do it like this:</p>
<pre>textarea {
  width: 700px;
  min-width: 100%;
  max-width: 100%;
}</pre>
<p>Note that the explicit non-percentage &#8220;width&#8221; value <em>is</em> required to avoid triggering the bug; it gets overridden by the other two properties anyway.</p>
<p>If you need to support IE6 (which I strongly recommend <em>not</em> doing unless human lives are on the line), you must keep in mind that it doesn&#8217;t understand min- and max-width, and will set the textarea to the fixed width you specify. If you&#8217;re not okay with that, you&#8217;ll want to feed a &#8220;width: 100%&#8221; declaration to IE6, probably using an alternate stylesheet linked via conditional comments.</p>
]]></content:encoded>
			<wfw:commentRss>http://grantovich.net/posts/2009/06/that-weird-ie8-textarea-bug/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Dokumenting with DokuWiki</title>
		<link>http://grantovich.net/posts/2009/06/dokumenting-with-dokuwiki/</link>
		<comments>http://grantovich.net/posts/2009/06/dokumenting-with-dokuwiki/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 02:34:18 +0000</pubDate>
		<dc:creator>Grantovich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[content management]]></category>
		<category><![CDATA[dokuwiki]]></category>
		<category><![CDATA[webs]]></category>
		<category><![CDATA[wikis]]></category>

		<guid isPermaLink="false">http://grantovich.net/?p=328</guid>
		<description><![CDATA[At my current summer co-op, I&#8217;ve been tasked with setting up a wiki on the company intranet to make a variety of internal documentation more accessible, editable, and revision-trackable. As far as wikis go, MediaWiki tends to be the default choice; it&#8217;s reliable, extensible, and has vastly greater mindshare than any other wiki platform thanks to the omnipresent [...]]]></description>
			<content:encoded><![CDATA[<p>At my current summer co-op, I&#8217;ve been tasked with setting up a wiki on the company intranet to make a variety of internal documentation more accessible, editable, and revision-trackable. As far as wikis go, <a href="http://www.mediawiki.org/">MediaWiki</a> tends to be the default choice; it&#8217;s reliable, extensible, and has vastly greater mindshare than any other wiki platform thanks to the omnipresent hive-mind of infallible factoids<sup style="color: #002bb8;">[citation needed]</sup> that is Wikipedia.</p>
<p>Figuring that MediaWiki was probably overkill for this project, I struck out in search of something that would be easier to install and configure for me, and easier for non-technical users to maintain. What I found was <a href="http://www.dokuwiki.org/dokuwiki">DokuWiki</a>, a somewhat minimalistic wiki platform that explicitly aims to fulfill the documentation needs of &#8220;developer teams, workgroups, and small companies.&#8221; Perfect!</p>
<p>As I soon discovered, one of DokuWiki&#8217;s distinguishing features is that it does <em>not</em> make use of a database for storage, as so many other wikis and content management systems do. This makes installation incredibly simple right off the bat: Just drop the files in a directory on your web server and go. All of your pages are stored as plain text files (e.g. another_wiki_page.txt)  in a directory hierarchy that matches the hierarchy of &#8220;namespaces&#8221; you create on the wiki. In this way, your content remains organized and perfectly readable even when you take the wiki software out of the equation.</p>
<p>For the most part, DokuWiki&#8217;s <a href="http://www.dokuwiki.org/syntax">syntax</a> is pleasant and sensical. Instead of MediaWiki&#8217;s odd multiple-single-quotes scheme, you have //slashes// for emphasis and **asterisks** for strong emphasis, which feels more intuitive. Instead of MediaWiki&#8217;s bizarre syntax differences between internal and external links, DokuWiki treats them all the same: [[link_target|Link Text]]. But then again, there are some strange and arbitrary syntax decisions on DokuWiki&#8217;s side, like the fact that the largest headings are surrounded by ======Six Equals Signs======, and the number of equals signs goes <em>down</em> by one for each sub-heading level. Weird, though I suppose it&#8217;s in the name of plain-text readability.</p>
<p>Uploading images and other files to DokuWiki is a breeze, thanks to a pop-up media manager that includes a multi-file Flash uploader and can insert wiki-links to your files with a click. Nifty media icons abound in DokuWiki&#8217;s output, with PDF files, Word documents, and more each getting their own instantly-recognizable icons. External links and email addresses also get unique icons, making them stand out nicely on the page. The &#8220;pretty by default&#8221; approach extends to text, which gets automatic curly quotes and various other typographic entities in much the same way that WordPress output does.</p>
<p>Given that I&#8217;m using DokuWiki for documentation on a company intranet, I would be remiss if I didn&#8217;t mention what an absolute cakewalk it is to integrate your own authentication scheme into it. If you already have a table of users in a database somewhere, as I did, you can set up DokuWiki to authenticate against it in the time it takes you to write a couple of SQL queries. There are other built-in authentication modules you can use, and if none of them meet your needs, writing your own is surprisingly easy (and well-documented) if you have a decent knowledge of PHP. There is also a fairly comprehensive ACL system that becomes much more useful if you set up your authentication scheme to provide &#8220;groups&#8221; to DokuWiki, or if you&#8217;re using the built-in mechanism.</p>
<p>One downside I&#8217;ve encountered in terms of usability is DokuWiki&#8217;s strict adherence to a particular naming convention for both page names and media file names: Only lowercase letters, periods, dashes, and underscores are permitted. The aesthetics of this decision leave something to be desired, especially since the name of the page you&#8217;re on is (at least in the default theme) displayed at the top in very large text, and <strong>probably:looks:ugly_as_sin</strong>. I&#8217;m not sure why capital letters and spaces are disallowed, since they are both quite safe to put in a filename. You can set an option to superficially replace the ugly page names with the contents of the first heading on the page in question, but this just makes the page&#8217;s &#8220;real name&#8221; harder to discover when you have to link to it, and the visual duplication of the page title and the first heading is far from nice-looking.</p>
<p>Thankfully, DokuWiki presents itself very well in all other aspects, and the overall package has so many good things going for it that I can&#8217;t help but give it my recommendation. If you want a lightweight, documentation-oriented wiki that feels almost as slick as WordPress but gives off a more techy vibe, DokuWiki can definitely take you there.</p>
]]></content:encoded>
			<wfw:commentRss>http://grantovich.net/posts/2009/06/dokumenting-with-dokuwiki/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fresh Styles and WordPress 2.8</title>
		<link>http://grantovich.net/posts/2009/06/fresh-styles-and-wordpress-2-8/</link>
		<comments>http://grantovich.net/posts/2009/06/fresh-styles-and-wordpress-2-8/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 22:19:41 +0000</pubDate>
		<dc:creator>Grantovich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bloggery]]></category>
		<category><![CDATA[theming]]></category>
		<category><![CDATA[webs]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://grantovich.net/?p=320</guid>
		<description><![CDATA[About a week ago I whacked the auto-upgrade button on my admin interface to take me up to WordPress 2.8. It is really nice how you can upgrade even the core system in a single click, right in the browser, without fiddling around on the server. Unfortunately, after the upgrade, every other form submission on the backend was giving me [...]]]></description>
			<content:encoded><![CDATA[<p>About a week ago I whacked the auto-upgrade button on my admin interface to take me up to WordPress 2.8. It is <em>really</em> nice how you can upgrade even the core system in a single click, right in the browser, without fiddling around on the server.</p>
<p>Unfortunately, after the upgrade, every other form submission on the backend was giving me blank pages and error messages, and I determined that my outdated theme was likely to blame. What&#8217;s more, I had foolishly made several customizations to the theme&#8217;s CSS, which of course would not be preserved when I upgraded it. Since I always thought that theme was a bit dull, anyway, I figured it would be as good a time as any to search around for a new one. As a side note, the new theme browser/installer in 2.8 made this task incredibly easier than it had been before.</p>
<p>So now we&#8217;re rolling along error-free with a new theme and all my customizations safely stashed in the <a href="http://wordpress.org/extend/plugins/custom-user-css/">Custom User CSS</a> plugin. I&#8217;m still not totally satisfied with this theme (especially the weird fadey drop-down menus) and will probably change it again in the future, but that&#8217;s life. On the positive side, the main content area is now just wide enough to squeak a 640-pixel-wide image into.</p>
<p>One of the non-CSS customizations I had made to my old theme was to add several lines of PHP that would prevent my content from being &#8220;texturized&#8221; &#8211; straight quotes replaced with smart quotes, doubled hyphens replaced with real dashes, etc. When I enabled the new theme and the texturization returned, I was surprised to notice that the one thing about it that really annoyed me had apparently been fixed: Straight quotes inside &lt;code&gt; blocks are no longer converted into smart quotes. I&#8217;m not sure if this is a fix on the part of the theme or WordPress 2.8 (I don&#8217;t see anything in the changelog about it), but either way I&#8217;m happy enough to leave the feature turned on.</p>
<p>The one thing that really impressed me about 2.8 is the new syntax-highlighting, line-numbering, generally awesome-looking code editor. This is the first time I&#8217;ve seen anything like this, though in retrospect it seems like an obvious idea: If we can already do WYSIWYG editing for normal content, why not apply some nice formatting and colors to code-editing as well? If you&#8217;re curious to see what this looks like, <a href="http://wordpress.org/development/2009/06/wordpress-28/">the WordPress 2.8 release announcement</a> has a slick video overview that touches on the code editor and various other new features (I recommend watching it, if only to witness the incredibly high production values for it being <em>an announcement of a point release</em>).</p>
]]></content:encoded>
			<wfw:commentRss>http://grantovich.net/posts/2009/06/fresh-styles-and-wordpress-2-8/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What is Twitter For?</title>
		<link>http://grantovich.net/posts/2009/06/what-is-twitter-for/</link>
		<comments>http://grantovich.net/posts/2009/06/what-is-twitter-for/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 19:54:56 +0000</pubDate>
		<dc:creator>Grantovich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[social networking]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[webs]]></category>

		<guid isPermaLink="false">http://grantovich.net/?p=261</guid>
		<description><![CDATA[As you may have deduced from the contents of this blog&#8217;s sidebar, I am an active Twitter user, and so are many of my friends. Among people I&#8217;ve met who don&#8217;t use Twitter, the most common question is: &#8220;What is it for?&#8221; A valid question indeed, as one must be wary of investing time in [...]]]></description>
			<content:encoded><![CDATA[<p>As you may have deduced from the contents of this blog&#8217;s sidebar, I am an active <a href="http://twitter.com/">Twitter</a> user, and so are many of my friends. Among people I&#8217;ve met who don&#8217;t use Twitter, the most common question is: &#8220;What is it for?&#8221; A valid question indeed, as one must be wary of investing time in activities whose ultimate purpose is not known. I will explain, if only to give myself an easy out the next time someone asks me what is up with this Twitter thing.</p>
<p>Many people see Twitter&#8217;s tagline &#8220;What are you doing?&#8221; and equate it to publishing every boring, mundane detail of what goes on in one&#8217;s everyday life, ala the infamous &#8220;<a href="http://www.penny-arcade.com/comic/2008/4/23/">Twitter shitter</a>&#8220; example. While I suppose one <em>could</em> use Twitter in this way, they surely wouldn&#8217;t retain many followers. The point of the whole thing, at least in my mind, is to tell all your friends about things you might mention in a normal face-to-face conversation; the old &#8220;What have you been up to?&#8221; line. If something is so mundane that you wouldn&#8217;t bother mentioning it or showing it to anyone in person, you&#8217;re probably not going to tweet about it either.</p>
<p>Beyond that, Twitter also serves as a unique mode of communication, a way of carrying on a conversation with someone. It&#8217;s close to the immediacy of instant messaging, but is much less intrusive, and every message is a broadcast to everyone who&#8217;s interested in what you&#8217;re doing. This makes Twitter particularly well-suited to casual queries not directed at any one person, though it can of course be used for more direct communications with the handy &#8220;@username&#8221; idiom. Some might find it strange that status updates and conversations are mingled together in the same timeline, but I find Twitter&#8217;s ultra-simplistic approach appealing (and there&#8217;s always Direct Messaging for private exchanges).</p>
<p>One might point out that all of Twitter&#8217;s features appear to be a strict subset of the communication tools that <a href="http://www.facebook.com">Facebook</a> provides, and if you said that today, you&#8217;d be right. A year or two ago, it was a different story, but Facebook is always reworking or revamping <em>something</em>. Since Twitter appeared on the scene, Facebook added some new features that brought them up to parity, such as displaying wall posts in your timeline as &#8220;targeted&#8221; status updates (mimicking the @username thing). Right now, I only perceive two major differences between the ways that Facebook and Twitter approach social networking:</p>
<ul>
<li>Facebook is much more private and self-contained than Twitter. Unless you choose to lock down your timeline, everything you post to Twitter is out there on the internet, where absolutely anybody can read it (and maybe respond to it). On Facebook, typically only your friends or the people in your social group can see your status updates, and privacy is a much more fine-grained affair than Twitter&#8217;s boolean switch. This follows directly from the fact that&#8230;</li>
<li>Facebook is a vastly more complex application than Twitter. Facebook isn&#8217;t even an application; it&#8217;s a platform. Where Twitter goes the ultra-simplistic route, Facebook&#8217;s design is multi-faceted, all-encompassing, and extensible. It&#8217;s not just status updates, it&#8217;s wall posts, photos, videos, groups, organizations, comments, discussion boards, polls, and just about every form of social interaction you could possibly think of (and probably a few more that you <em>couldn&#8217;t</em> think of).</li>
</ul>
<p>It&#8217;s that last one that rather turned me off Facebook, and made me willing to check out Twitter. Facebook is so huge and complex that you can spend hours each day just wading through all the different channels for socialization, and while some people may enjoy doing exactly that, I always get the sense that I&#8217;m wasting a lot of time for very little gain. Twitter is social networking on easy mode; it has exactly the functionality you need to see what your friends are up to, and no more. I can appreciate that kind of focus and simplicity.</p>
<p>As a side note, I&#8217;m definitely not a fan of Twitter&#8217;s 140-character message limit, mostly because I frequently want to say things that are a good bit longer than that. I&#8217;m not sure exactly what Facebook&#8217;s limit on status updates is, but it seems much more reasonable by comparison. Might Twitter allow longer messages in the future, in a way that doesn&#8217;t require click-throughs and API tomfoolery? I hope so.</p>
]]></content:encoded>
			<wfw:commentRss>http://grantovich.net/posts/2009/06/what-is-twitter-for/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twittjr on the Tubes</title>
		<link>http://grantovich.net/posts/2009/05/twittjr-on-the-tubes/</link>
		<comments>http://grantovich.net/posts/2009/05/twittjr-on-the-tubes/#comments</comments>
		<pubDate>Thu, 14 May 2009 08:29:24 +0000</pubDate>
		<dc:creator>Grantovich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[15 minutes of fame]]></category>
		<category><![CDATA[bloggery]]></category>
		<category><![CDATA[twittjr]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[webs]]></category>

		<guid isPermaLink="false">http://grantovich.net/?p=222</guid>
		<description><![CDATA[A little over a day ago, my roommate introduced Twittjr to the internet at large by submitting it to Hack a Day (whose commenters are apparently a very tough crowd). From there it spread to BoingBoing and started making its way through the blogosphere, resulting in the Twittjr page gaining about 2,500 views in the past 24 hours! [...]]]></description>
			<content:encoded><![CDATA[<p>A little over a day ago, my roommate introduced <a href="/posts/2009/05/project-write-up-twittjr/">Twittjr</a> to the internet at large by submitting it to <a href="http://hackaday.com/2009/05/13/twittjr/">Hack a Day</a> (whose commenters are apparently a very tough crowd). From there it spread to <a href="http://gadgets.boingboing.net/2009/05/13/twitt-jr.html">BoingBoing</a> and started making its way through the blogosphere, resulting in the Twittjr page gaining about 2,500 views in the past 24 hours! Probably not very impressive by current internet standards, but I really got a kick out of seeing the massive spike it caused in my page view graph. Hack a Day aside, people have been making some nice comments about it too. Thanks, internet! Feel free to chime in on the <a href="/posts/2009/05/project-write-up-twittjr/">Twittjr write-up</a> itself, and I&#8217;ll respond if I have time.</p>
<p>Also, since someone on Twitter suggested it, I slapped together a video of Twittjr in action, and reactivated my three-years-old YouTube account to upload it. Sorry for all the noise, it&#8217;s due to this room being heavily air-conditioned (it is adjacent to the CSH server room).</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/x7Ee3cEdeto&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/x7Ee3cEdeto&amp;hl=en&amp;fs=1" allowfullscreen="true" allowscriptaccess="always"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://grantovich.net/posts/2009/05/twittjr-on-the-tubes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
