<?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>A day in the life II &#187; hacking</title>
	<atom:link href="http://www.malcolmgin.com/blog/tag/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.malcolmgin.com/blog</link>
	<description>You'll only need the edge! ! !</description>
	<lastBuildDate>Wed, 08 Sep 2010 23:07:19 +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>Even more tweaking</title>
		<link>http://www.malcolmgin.com/blog/2008/01/04/even-more-tweaking/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=even-more-tweaking</link>
		<comments>http://www.malcolmgin.com/blog/2008/01/04/even-more-tweaking/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 03:33:18 +0000</pubDate>
		<dc:creator>Malcolm</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[chores]]></category>
		<category><![CDATA[cutline]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.malcolmgin.com/blog/2008/01/04/even-more-tweaking/</guid>
		<description><![CDATA[<p>With even more hacking, I implemented the image overlay thing the Cutline authors did on their blog. This floats another image on top of the randomly changing header.</p>
<p>I also tweaked the vertical spacing in various header elements to make things look right. The only thing that&#8217;s really a hack is the Cutline guys&#8217; deal where they [...]]]></description>
			<content:encoded><![CDATA[<p>With even more hacking, I implemented the image overlay thing the Cutline authors did on their blog. This floats another image on top of the randomly changing header.</p>
<p>I also tweaked the vertical spacing in various header elements to make things look right. The only thing that&#8217;s really a hack is the Cutline guys&#8217; deal where they hyperlink the floating image by hyperlinking random text associated with a particular region of the floating image, but they hide the actual text by left indenting it by -9999 pixels. Which took a little tinkering to figure out.</p>
<p>But I think I&#8217;m happy now with what I&#8217;ve got. Everything&#8217;s actually working and nothing looks like ass.</p>
<p>So maybe I should go to sleep so I can get up early tomorrow to clean the cat boxes and take out the trash.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmgin.com/blog/2008/01/04/even-more-tweaking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Theme Tweaking</title>
		<link>http://www.malcolmgin.com/blog/2008/01/04/more-theme-tweaking/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=more-theme-tweaking</link>
		<comments>http://www.malcolmgin.com/blog/2008/01/04/more-theme-tweaking/#comments</comments>
		<pubDate>Sat, 05 Jan 2008 01:56:06 +0000</pubDate>
		<dc:creator>Malcolm</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[cutline]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.malcolmgin.com/blog/2008/01/04/more-theme-tweaking/</guid>
		<description><![CDATA[<p>I successfully implemented the &#8220;Totally Random Header Images for Cutline&#8221; feature, with a little hacking. I made my header images largely out of my own photos and completely out of freely available images, and I changed the cycling pool from 5 to 9. Almost everything went swimmingly, except that despite the fact that Cutline&#8217;s header images [...]]]></description>
			<content:encoded><![CDATA[<p>I successfully implemented the &#8220;<a href="http://cutline.tubetorial.com/totally-random-header-images-for-cutline/">Totally Random Header Images for Cutline</a>&#8221; feature, with a little hacking. I made my header images largely out of my own photos and completely out of freely available images, and I changed the cycling pool from 5 to 9. Almost everything went swimmingly, except that despite the fact that Cutline&#8217;s header images are 896&#215;163 pixels, the sizing in the updated header.php the Cutline folks provided resize the images to 773&#215;140 pixels&#8230; for no apparent reason. So I fixed that too.</p>
<p>However, even though I wanted to make a &#8220;Post&#8221; link that shows only if the user is one with author permissions, I didn&#8217;t get that to work at all. But that&#8217;s okay. I was just tinkering.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmgin.com/blog/2008/01/04/more-theme-tweaking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Theme fixed!</title>
		<link>http://www.malcolmgin.com/blog/2008/01/04/theme-fixed/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=theme-fixed</link>
		<comments>http://www.malcolmgin.com/blog/2008/01/04/theme-fixed/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 20:13:43 +0000</pubDate>
		<dc:creator>Malcolm</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.malcolmgin.com/blog/2008/01/04/theme-fixed/</guid>
		<description><![CDATA[<p>Okay, here&#8217;s where I catalog all the changes I made to get Cutline where I wanted it to be.</p>
<p></p>
<p>Added &#8220;Edit&#8221; link to single posts and the main page (per post):</p>
<p>Edited index.php and single.php, inserting following line at appropriate place (lines 13 and 11, respectively):</p>
<p>&#60;br /&#62;&#60;?php edit_post_link('Edit',''); ?&#62;</p>

<p> This conditionally inserts the edit link depending on logged-in [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, here&#8217;s where I catalog all the changes I made to get <a href="http://cutline.tubetorial.com/">Cutline</a> where I wanted it to be.</p>
<p><span id="more-50"></span></p>
<p>Added &#8220;Edit&#8221; link to single posts and the main page (per post):</p>
<blockquote><p>Edited <code>index.php</code> and <code>single.php</code>, inserting following line at appropriate place (lines 13 and 11, respectively):</p>
<blockquote><p><code>&lt;br /&gt;&lt;?php edit_post_link('Edit',''); ?&gt;</code></p></blockquote>
</blockquote>
<blockquote><p> This conditionally inserts the edit link depending on logged-in user&#8217;s permissions.</p></blockquote>
<p>Added &#8220;Edit&#8221; link to single comments (also conditional, depending on logged-in user&#8217;s permissions):</p>
<blockquote><p>Edited <code>comments.php</code>, inserting following line at appropriate place (line 88):</p>
<blockquote><p><code>&lt;br /&gt;&lt;?php edit_comment_link('edit comment', '', ''); ?&gt;</code></p></blockquote>
</blockquote>
<p>Altered the no comments message so that it reads right:</p>
<blockquote><p>Edited <code>comments.php</code>, changing &#8220;below&#8221; to &#8220;above&#8221; and adding an exclamation point (line 108).</p></blockquote>
<p>Altered the tag cloud so it looks like one again (instead of a list, as in the Cutline theme):</p>
<blockquote><p>Changed <code>sidebar.php</code> (line 42) from:</p>
<blockquote><p><code>&lt;?php wp_tag_cloud('smallest=10&amp;largest=10&amp;number=25&amp;format=list'); ?&gt;</code></p></blockquote>
<p>to:</p>
<blockquote><p><code>&lt;?php wp_tag_cloud('smallest=6&amp;largest=12&amp;number=0&amp;format=flat'); ?&gt;</code></p></blockquote>
</blockquote>
<p>Inserted an additional sections and links in the Sidebar for features I miss (the Akismet spam comments counter, conditional linking to Site Admin and logout).</p>
<blockquote><p>Edited <code>sidebar.php</code> to add to end:</p>
<blockquote><p>        &lt;li class=&#8221;widget&#8221;&gt;<br />
&lt;h2&gt;Site&lt;/h2&gt;<br />
&lt;?php akismet_counter(); ?&gt;<br />
&lt;/li&gt;</p>
<p>&lt;li class=&#8221;widget&#8221;&gt;<br />
&lt;h2&gt;Meta&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;?php wp_register(); ?&gt;<br />
&lt;li&gt;&lt;?php wp_loginout(); ?&gt;&lt;/li&gt;<br />
&lt;li&gt;&lt;a href=&#8221;http://wordpress.org/&#8221; title=&#8221;Powered by WordPress, state-of-the-art semantic personal publishing platform.&#8221;&gt;WordPress&lt;/a&gt;&lt;/li&gt;<br />
&lt;?php wp_meta(); ?&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;</p></blockquote>
<blockquote></blockquote>
</blockquote>
<p>Changed the theme&#8217;s CSS to add a little more color.</p>
<blockquote><p>Edited <code>style.css</code>.</p>
<blockquote><p>Changed the main linking color from dark grey to blue (line 171).</p>
<p>Changed the tag linking color from dark grey to dark green (line 213).</p>
<p>Fixed the Permalinks by adding the Permalinks class to the style.css section (lines 300-310).</p>
<blockquote><p>The missing class in each style was &#8220;<code>ul.sidebar_list li.linkcat</code>&#8220;, and the comma to delimit from the other style names, of course.</p></blockquote>
</blockquote>
</blockquote>
<p>Created an Archives page according to the <a href="http://codex.wordpress.org/Creating_an_Archive_Index">official WordPress instructions</a> and tied it to the proper <code>archive.php</code> file.</p>
<p>Because I created the Archives page at the wrong page name, I had to edit the Header so it pointed to the right Page:</p>
<blockquote><p>Edited <code>header.php</code>, changing the link to the Archives page to the right page name (line 49).</p></blockquote>
<p>Created a Sitemap page in a similar way to the above creation of an Archives page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmgin.com/blog/2008/01/04/theme-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Various updates</title>
		<link>http://www.malcolmgin.com/blog/2007/12/14/various-updates/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=various-updates</link>
		<comments>http://www.malcolmgin.com/blog/2007/12/14/various-updates/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 15:55:30 +0000</pubDate>
		<dc:creator>Malcolm</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[LJ XPost]]></category>
		<category><![CDATA[adsl]]></category>
		<category><![CDATA[batida]]></category>
		<category><![CDATA[blade runner]]></category>
		<category><![CDATA[cable management]]></category>
		<category><![CDATA[cachaca]]></category>
		<category><![CDATA[caipirinha]]></category>
		<category><![CDATA[cat5]]></category>
		<category><![CDATA[cat5e]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[hmart]]></category>
		<category><![CDATA[making cables]]></category>
		<category><![CDATA[party]]></category>
		<category><![CDATA[phones]]></category>
		<category><![CDATA[soursop]]></category>
		<category><![CDATA[speakeasy]]></category>
		<category><![CDATA[tamales]]></category>
		<category><![CDATA[wiring]]></category>

		<guid isPermaLink="false">http://www.malcolmgin.com/blog/2007/12/14/various-updates/</guid>
		<description><![CDATA[<p>Various updates from the past couple of days:</p>
<p></p>

This weekend is our tamales party! Yay! Sunday Sunday Sunday!
I am looking for a cheap source of soursop/guayabano nectar. I have been buying it at H-Mart for $1/8.3oz can, which is pretty expensive. I shall delve. Reason? It makes absolutely fantastic Batidas with the Cachaça I like, and I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>Various updates from the past couple of days:</p>
<p><span id="more-33"></span></p>
<ul>
<li>This weekend is our tamales party! Yay! Sunday Sunday Sunday!</li>
<li>I am looking for a cheap source of <a href="http://en.wikipedia.org/wiki/Soursop">soursop</a>/guayabano nectar. I have been buying it at <a href="http://www.hmart.com/">H-Mart</a> for $1/8.3oz can, which is pretty expensive. I shall delve. Reason? It makes absolutely fantastic <a href="http://en.wikipedia.org/wiki/Cocktails_with_cacha%C3%A7a#Batida_.28Shaken.29">Batidas</a> with the <a href="http://en.wikipedia.org/wiki/Cacha%C3%A7a">Cachaça</a> I like, and I&#8217;m not always in the mood for just a <a href="http://en.wikipedia.org/wiki/Caipirinha">Caipirinha</a>. Not that I&#8217;m a regular drinker. It&#8217;s still pretty irregular for me.</li>
<li>I am going to go out to dinner with <a href="http://misia.livejournal.com/">misia</a> tonight, then I&#8217;ll stick around the area while she goes home, then go to the <a href="http://www.nytimes.com/2007/09/30/movies/30kapl.html?_r=1&amp;8dpc&amp;oref=slogin">Blade Runner Final Director&#8217;s Cut</a> showing in my area. I hope it&#8217;s fun! My co-worker/friend Rob should be able to give me a ride home afterwards.</li>
<li>For the past few days I&#8217;ve been coming to work without my personal laptop and without my passwords wallet, so my LJ account is not accessible to me, just sayin&#8217;. This means that if you really want me to get some information, you should e-mail me, which you should have started doing by now anyway, so whatever. But I can&#8217;t read or comment on locked posts at all. This should change back by next week.</li>
<li>The ADSL issue continues. Am waiting for the new modem. Will deal with the modem when it comes.
<ul>
<li>Have asked Verizon (non-DSL) repairs to come look at the outside &#8220;Network Interface Device&#8221; (the grey box bolted to the back/side of my house). There appears to be vaseline in the phone jacks in there, and no signal is getting to my modem plugged into the active phone jack. The repair guy is scheduled to come by on Thursday.</li>
<li>Have acquired a jack with which to test the outside &#8220;Network Interface Device&#8221; anyhow. I&#8217;ll just wire it up to the posts that are serving the line that goes inside my house and test from that. Don&#8217;t know whether post 4 or 5 is tip or ring, but since it&#8217;s only two choices, I&#8217;ll try one mode and then the other. And I already have a punchdown tool.</li>
<li>I still have to test another inside phone jack to see if it&#8217;s the jack near my modem/router. Will do so with new modem I bought on Wednesday.</li>
<li>Regardless of all testing planned and actualized, the DSL still works, just not very well, so for now (and for the past few weeks before I actually did a speed test), it&#8217;s frustratingly slow but tolerable (and still faster than conventional modems).</li>
<li>If the new modem from Verizon doesn&#8217;t fix it, or the work on the outside Network Interface Device doesn&#8217;t shed light, I will probably switch to (more expensive but should actually work) Speakeasy. This&#8217;ll be on a dedicated line, which is already as far as I know wired, so it&#8217;ll need enabling, and I hear Speakeasy is less irritatingly obnoxious and stupid than Verizon is.</li>
</ul>
</li>
<li>Last night, instead of doing the DSL stuff, I was instead implementing the second part of my cable management plan.
<ul>
<li>I used a couple of 8&#8243; 3-prong extension power cords to free up spaces on my UPS and get rid of the last power strip I had on the rolling TV entertainment center.</li>
<li>I installed a new network switch on the entertainment center and made 5 Cat 5e Ethernet cables out of an old longer cable, and made just one network wire link to the network switch I had hiding under the apothecary&#8217;s chest. I love my cable stripping/crimping tools even though I don&#8217;t use them very often. I had a little trouble recalling the proper wire order in the jacks, but tested them all and they&#8217;re all doing fine.</li>
<li>I still have to do the actual cable tie/cable wrapping (with the spiral wrap), need to find, acquired and install an appropriate wire basket for the transformers and the wire slack, and since I&#8217;ll be loaning my Wii out to a friend for a couple of months, will have to redo some of that when I get it back.</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmgin.com/blog/2007/12/14/various-updates/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
