<?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>Andrew Mallis&#039; blog</title>
	<atom:link href="http://andrewmallis.com/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://andrewmallis.com/blog</link>
	<description>this is the personal blog for Andrew Mallis</description>
	<lastBuildDate>Thu, 03 Jun 2010 09:12:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sequel Pro: look at the nerdy things I can do at 1 AM</title>
		<link>http://andrewmallis.com/blog/2010/06/03/sequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am</link>
		<comments>http://andrewmallis.com/blog/2010/06/03/sequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am#comments</comments>
		<pubDate>Thu, 03 Jun 2010 09:12:48 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[tech tips]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=299</guid>
		<description><![CDATA[Did it tell you about Sequel Pro?
You can use it to connect to your local MAMP and also to remote LAMP mysql servers (via SSH). Why is this so awesome?
Well, not only is it 100 times faster than that phpMyAdmin, but you can edit your DB super easily, like a spreadsheet. It is a snap [...]]]></description>
			<content:encoded><![CDATA[<p>Did it tell you about <a href="http://www.sequelpro.com" title="check out the sequel pro site" target="_blank" class="liexternal">Sequel Pro</a>?</p>
<p>You can use it to connect to your local MAMP and also to <strong>remote</strong> LAMP mysql servers (via SSH). Why is this so awesome?</p>
<p style="text-align: left;">Well, not only is it 100 times faster than that phpMyAdmin, but you can edit your DB super easily, like a spreadsheet. It is a snap to filter/search/order a table for viewing and editing.<em> </em></p>
<p style="text-align: left;"><em>Caveat emptor</em>: what I am about to show you <span style="text-decoration: underline;">can do tremendous damage</span>. You can accidentally kill your entire application, so BACK YOUR DATABASES UP! Test on a copy first.<span id="more-299"></span></p>
<p style="text-align: left;">You can do simple things like turn 1&#8217;s to 0&#8217;s and quickly disable a drupal module faster than drush can (but watch out if you don&#8217;t know your dependencies).</p>
<div id="attachment_300" class="wp-caption aligncenter" style="width: 510px"><a href="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-edit-system.png" class="liimagelink"><img class="size-full wp-image-300  " title="sequelpro-edit-system" src="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-edit-system.png" alt="Edit your system table in Sequel Pro" width="500" height="319" /></a><p class="wp-caption-text">Edit your system table in Sequel Pro</p></div>
<p>I had this interesting and daunting problem:<br />
I am working on this site for a soccer league that has a couple hundred teams and I realize that I need to modify a whole slew of node titles based on values that appear in their CCK fields.<br />
Many of the Organic Group Group nodes (each team is a group)<br />
Views Bulk Operations gets me part, but not all the way quickly enough for this one-time operation.</p>
<p>I&#8217;m not crafty enough to write a join and update statement across all these tables, but I do already have a view listing Teams and CCK fields for Division and Type.</p>
<p>Hey, if I scroll down to the bottom of the view, I can copy the query right from views into Sequel Pro!</p>
<p>Holy Moly. It just works. As it should.</p>
<div id="attachment_301" class="wp-caption aligncenter" style="width: 509px"><a href="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-viiews-edit-nodes.png" class="liimagelink"><img class="size-full wp-image-301  " title="Edit join statments from views" src="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-viiews-edit-nodes.png" alt="Edit the result of a sequel statement created with views" width="499" height="329" /></a><p class="wp-caption-text">Edit the result of a sequel statement created with views</p></div>
<p>Now I can just go down the list and edit my node titles.<br />
Sweet.</p>
<p>Because there was a pattern here, I ended up using  the fabulous <a href="http://drupal.org/project/auto_nodetitle" title="project on drupal.org" target="_blank" class="liexternal">auto nodetitle</a> module and tokens. I temporarliy added a pattern to the node titles of my team content type and used <a href="http://drupal.org/project/views_bulk_operations" title="project on drupal.org" target="_blank" class="liexternal">views bulk operations</a> to update <em>some</em> of my node titles. After the update, i set the pattern to be used only if the title was blank.</p>
<p>Even though I solved my use case another way, I can see plenty of use for this technique in the future. Great way to fix typos in content, for example.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&t=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2010/06/03/sequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TEDxSoMa presentation on Device Art</title>
		<link>http://andrewmallis.com/blog/2010/02/05/tedxsoma-presentation-on-device-art</link>
		<comments>http://andrewmallis.com/blog/2010/02/05/tedxsoma-presentation-on-device-art#comments</comments>
		<pubDate>Sat, 06 Feb 2010 00:26:14 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[CFC]]></category>
		<category><![CDATA[art]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=293</guid>
		<description><![CDATA[Video of my presentation on Device Art and My Time for TEDxSoMa on January 22.]]></description>
			<content:encoded><![CDATA[<p>My presentation on <strong>Device Art</strong> and <a href="http://mytimeworld.com" title="project page" target="_blank" class="liexternal">My Time</a> for <a href="http://www.tedxsoma.com" title="TEDxSoMa homepage" target="_blank" class="liexternal">TEDxSoMa</a> on January 22 has been put up online. The event was lots of fun and a great experience.</p>
<p>I&#8217;ve been told that the organizers that about 100,000 people tuned in to the live stream (though not simultaneously), which kinda turned upside down my whole perception of the event and my experience with audience.</p>
<p><a href="http://andrewmallis.com/blog/2010/02/05/tedxsoma-presentation-on-device-art"><em>Click here to view the embedded video.</em></a></p>
<p>Other artists in the presentation: Machiko Kusahara, Ryota Kuwakubo, Toshio Iwai, Theo Jansen, Sachiko Kodama, Maywa Denki.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F02%2F05%2Ftedxsoma-presentation-on-device-art&t=TEDxSoMa+presentation+on+Device+Art" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F02%2F05%2Ftedxsoma-presentation-on-device-art&title=TEDxSoMa+presentation+on+Device+Art" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F02%2F05%2Ftedxsoma-presentation-on-device-art&title=TEDxSoMa+presentation+on+Device+Art" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F02%2F05%2Ftedxsoma-presentation-on-device-art&title=TEDxSoMa+presentation+on+Device+Art&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F02%2F05%2Ftedxsoma-presentation-on-device-art&title=TEDxSoMa+presentation+on+Device+Art&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2010/02/05/tedxsoma-presentation-on-device-art/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video documentation of Off World installation</title>
		<link>http://andrewmallis.com/blog/2010/01/09/video-documentation-of-off-world-installation</link>
		<comments>http://andrewmallis.com/blog/2010/01/09/video-documentation-of-off-world-installation#comments</comments>
		<pubDate>Sat, 09 Jan 2010 12:34:57 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[interactive]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[new media]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=278</guid>
		<description><![CDATA[I finally got around to putting together video documentation of the Off World installation!
Off World is a 24-hour, month-long interactive public installation part of the 2009 Contact Toronto Photography Festival. It is an exhibition of photographs and video by filmmaker Mateo Guez and commissioned by curator Sanaz Mazinani, realized in situ as a 24-hour interactive public [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got around to putting together video documentation of the Off World installation!</p>
<p><a href="http://andrewmallis.com/blog/2010/01/09/video-documentation-of-off-world-installation"><em>Click here to view the embedded video.</em></a></p>
<p><a href="http://offworld.bulgergallery.com" title="Off World project homepage" target="_blank" class="liexternal">Off World</a> is a 24-hour, month-long interactive public installation part of the 2009 <a href="http://www.contactphoto.com/" title="CONTACT homepage" target="_blank" class="liexternal">Contact Toronto Photography Festival</a>. It is an exhibition of photographs and video by filmmaker Mateo Guez and commissioned by curator <a href="http://sanazmazinani.net" title="Sanaz Mazinani homepage" target="_blank" class="liexternal">Sanaz Mazinani</a>, realized in situ as a 24-hour interactive public installation by me, Andrew Mallis.</p>
<p>The exhibition ran all of May 2009 at <a href="http://www.camerabar.ca/" title="CAMERA homepage" target="_blank" class="liexternal">CAMERA</a>, an extension of the <a href="http://www.bulgergallery.com/" title="Bulger Gallery homepage" target="_blank" class="liexternal">Stephen Bulger Gallery</a>, located at 1028 Queen Street West, in Toronto, Canada.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 10px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Off World is an exhibition of photographs and video by filmmaker Mateo Guez and commissioned by curator Sanaz Mazinani, realized in situ as a 24-hour interactive public installation by Andrew Mallis.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 10px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The exhibition ran all of May 2009 at CAMERA, an extension of the Stephen Bulger Gallery, located at 1028 Queen Street West, in Toronto, Canada.</div>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F01%2F09%2Fvideo-documentation-of-off-world-installation&t=Video+documentation+of+Off+World+installation" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F01%2F09%2Fvideo-documentation-of-off-world-installation&title=Video+documentation+of+Off+World+installation" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F01%2F09%2Fvideo-documentation-of-off-world-installation&title=Video+documentation+of+Off+World+installation" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F01%2F09%2Fvideo-documentation-of-off-world-installation&title=Video+documentation+of+Off+World+installation&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F01%2F09%2Fvideo-documentation-of-off-world-installation&title=Video+documentation+of+Off+World+installation&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2010/01/09/video-documentation-of-off-world-installation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LHOOQ HD</title>
		<link>http://andrewmallis.com/blog/2009/12/18/lhooq-hd</link>
		<comments>http://andrewmallis.com/blog/2009/12/18/lhooq-hd#comments</comments>
		<pubDate>Sat, 19 Dec 2009 02:00:17 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[corruption]]></category>
		<category><![CDATA[Duchamp]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=284</guid>
		<description><![CDATA[the video is intended to be played vertically. Just tilt your head.


Using the Processing language, an image of da Vinci’s La Jaconde – the most reproduced image in the world – is corrupted over time. With each conversion between image formats, a frame is recorded. The title coyly ref- erences Marcel Duchamp’s 1919 readymade.
Simulations of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://andrewmallis.com/blog/2009/12/18/lhooq-hd"><em>Click here to view the embedded video.</em></a></p>
<p><em>the video is intended to be played vertically. Just tilt your head.</em></p>
<p><em><br />
</em></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Using the Processing language, an image of da Vinci’s La Jaconde – the most reproduced image in the world – is corrupted over time. With each conversion between image formats, a frame is recorded. The title coyly ref- erences Marcel Duchamp’s 1919 readymade.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Simulations of reality are prevalent in the video games and cinematic effects that substitute for the immersive space once offered exclusively by painting. As mental landscapes adjust themselves to these new realities, painting offers a visual language established through historical precedent that favors contemplation.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Interaction with digital technology is, for most of us, an important part of our everyday experience. The post- industrial economy has shifted the worker from the factory to the office desk, from the lever to the mouse.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">In an age of almost exclusively digital reproduction, the last bastions of analog recording are visibly fading. In recent years, Kodak has imploded buildings previously dedicated to paper operations, signaling not the timely death of the analog, but rather its deliberate annihila- tion.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">With what fidelity are we reproducing our environ- ment? What impact does the pixelization of the visible spectrum have on our perception? Lossy compression reduces file size by sacrificing pixel fidelity for an ap- proximation, for pre-determined patterns.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">YouTube’s phenomenal popularity is unhindered by the poor resolution and low sound quality of the site’s (massive) video archive. This speaks to a wetted appetite for content, story, meaning over glamour, high production value, and form. In the context of our everyday experience becoming in-</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">creasingly mediated, we must to ask ourselves: how lossy do we want our reality?</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">“Visual culture of the modern period, from painting to cinema, is characterized by an intriguing phenomenon: the existence of another virtual space, another three-dimensional world enclosed by a frame and situated inside our normal space.”</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Lev Manovich, An Archeology of a Computer Screen NewMediaTopia. Moscow, Soros Center for the Contemporary Art, 1995</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Many modern painters actively use digital photographic sources for photo reference, even painting along side their computer screens. The “live model” is in this case dead, frozen in screen-space even before it is observed by the painter. The subject-object relationship implodes as the artist involves themselves in an act of media translation. The artist’s mark is left on the image like artifacts in JPEG compression.</div>
<p>Using the Processing language, an image of da Vinci’s La Jaconde – the most reproduced image in the world – is corrupted over time. With each conversion between image formats, a frame is recorded. The title coyly references Marcel Duchamp’s 1919 readymade.</p>
<p><span id="more-284"></span>Simulations of reality are prevalent in the video games and cinematic effects that substitute for the immersive space once offered exclusively by painting. As mental landscapes adjust themselves to these new realities, painting offers a visual language established through historical precedent that favors contemplation.</p>
<p>Interaction with digital technology is, for most of us, an important part of our everyday experience. The post-industrial economy has shifted the worker from the factory to the office desk, from the lever to the mouse.</p>
<p>In an age of almost exclusively digital reproduction, the last bastions of analog recording are visibly fading. In recent years, Kodak has imploded buildings previously dedicated to paper operations, signaling not the timely death of the analog, but rather its deliberate annihilation.</p>
<p>With what fidelity are we reproducing our environ- ment? What impact does the pixelization of the visible spectrum have on our perception? Lossy compression reduces file size by sacrificing pixel fidelity for an ap- proximation, for pre-determined patterns.</p>
<p>YouTube’s phenomenal popularity is unhindered by the poor resolution and low sound quality of the site’s (massive) video archive. This speaks to a wetted appetite for content, story, meaning over glamour, high production value, and form. In the context of our everyday experience becoming increasingly mediated, we must to ask ourselves: how lossy do we want our reality?</p>
<div id="attachment_285" class="wp-caption alignleft" style="width: 310px"><img class="size-full wp-image-285" title="Marcel_Duchamp_Mona_Lisa_LHOOQ" src="http://andrewmallis.com/blog/wp-content/uploads/2010/01/Marcel_Duchamp_Mona_Lisa_LHOOQ.jpeg" alt="the Duchamp original, circa 1919" width="300" height="474" /><p class="wp-caption-text">the Duchamp original, circa 1919</p></div>
<p>“Visual culture of the modern period, from painting to cinema, is characterized by an intriguing phenomenon: the existence of another virtual space, another three-dimensional world enclosed by a frame and situated inside our normal space.”</p>
<p style="text-align: right; "><em>Lev Manovich, An Archeology of a Computer Screen<br />
NewMediaTopia. Moscow, Soros Center for the Contemporary Art, 1995</em></p>
<p>Many modern painters actively use digital photographic sources for photo reference, even painting along side their computer screens. The “live model” is in this case dead, frozen in screen-space even before it is observed by the painter. The subject-object relationship implodes as the artist involves themselves in an act of media translation. The artist’s mark is left on the image like artifacts in JPEG compression.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F12%2F18%2Flhooq-hd&t=LHOOQ+HD" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F12%2F18%2Flhooq-hd&title=LHOOQ+HD" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F12%2F18%2Flhooq-hd&title=LHOOQ+HD" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F12%2F18%2Flhooq-hd&title=LHOOQ+HD&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F12%2F18%2Flhooq-hd&title=LHOOQ+HD&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/12/18/lhooq-hd/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring TinyMCE to handle a subset of styles</title>
		<link>http://andrewmallis.com/blog/2009/06/24/configuring-tinymce-to-handle-a-subset-of-styles</link>
		<comments>http://andrewmallis.com/blog/2009/06/24/configuring-tinymce-to-handle-a-subset-of-styles#comments</comments>
		<pubDate>Wed, 24 Jun 2009 20:32:29 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[wysiwyg]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=263</guid>
		<description><![CDATA[Users often require a limited set of stylistic controls over content on their site. We implement this in Drupal using the wysiwg module and TinyMCE.
Commonly, users need to create subheadings in their posts. Markup should always be privileged over wrapping content in classes. For example, it is much better, both from a structural and a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-264" style="border: 1px solid black; margin-left: 5px; margin-right: 5px;" title="wysiwyg" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/wysiwyg.png" alt="wysiwyg" width="294" height="174" />Users often require a limited set of stylistic controls over content on their site. We implement this in <strong>Drupal</strong> using the <strong><a href="http://drupal.org/project/wysiwyg" title="module page" target="_blank" class="liexternal">wysiwg module</a></strong> and <strong>TinyMCE</strong>.</p>
<p>Commonly, users need to create subheadings in their posts. Markup should always be privileged over wrapping content in classes. For example, it is much better, both from a structural and a maintenance perspective, to use an h2 tag to create a title, rather than adding a class of, say, .title to a paragraph tag, then forcing the paragraph to look like an h2. It will make a mess of your stylesheet, plus render your site less accessible to screen readers and search engines.</p>
<p><span id="more-263"></span>It is most often advisable to create a new Input profile called &#8220;Rich Text&#8221; or &#8220;Graphical HTML Editor&#8221;, but we can also edit the &#8220;Full HTML&#8221; input format.</p>
<p>Our <strong>wysiwyg profiles</strong> will be listed at  [ /admin/settings/wysiwyg/profile ]  where we edit the profile to which we&#8217;ve assigned the TinyMCE editor. Under Buttons and plugins, we enable the following buttons:</p>
<ol>
<li> HTML block format</li>
<li> Font style</li>
<li> Source code (not necessary, but useful for checking what we&#8217;ve done)</li>
</ol>
<p>Under the <strong>CSS fieldset</strong>, we limit the number of block tags available, i.e.</p>
<pre>  p,h2,h3,h4</pre>
<p>and set the <strong>Editor CSS</strong> to use the <strong>theme CSS</strong>. By default, this will generate a lot list of classes from our theme&#8217;s style.css. Now, you can create a separate stylesheet just for the wysiwyg, but coordinating changes across them can be a hassle. Instead, we open up only a subset of the classes in our stylesheet using the <strong>CSS classes textarea</strong>, following the [title]=[class] format (this will seem familiar if you&#8217;ve ever used webform module):</p>
<pre>  intro text=intro
  description text=description
  read more link=more-link</pre>
<p>This is great because we can now provide a more meaningful list of styles to the user, and also a limited set of structural markup tags. The downside is that we have 2 dropdown lists and have to provide the tiniest bit of eduction.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&t=Configuring+TinyMCE+to+handle+a+subset+of+styles" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/06/24/configuring-tinymce-to-handle-a-subset-of-styles/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I won the Netchange Art competition</title>
		<link>http://andrewmallis.com/blog/2009/06/18/i-won-the-netchange-art-competition</link>
		<comments>http://andrewmallis.com/blog/2009/06/18/i-won-the-netchange-art-competition#comments</comments>
		<pubDate>Thu, 18 Jun 2009 17:06:24 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[art]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=271</guid>
		<description><![CDATA[Net Change is a week-long event designed to explore how social technology can bolster social change, presented by the Social Innovation Generation team at MaRS.
I heard about an art competition over email, entered, and ended up winning. I really don&#8217;t think they should have called it an &#8220;Art Show&#8221;, as it ended up being more [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://andrewmallis.com/blog/2009/06/18/i-won-the-netchange-art-competition"><em>Click here to view the embedded video.</em></a></p>
<p>Net Change is a week-long event designed to explore how social technology can bolster social change, presented by the Social Innovation Generation team at MaRS.</p>
<p>I heard about an art competition over email, entered, and ended up winning. I really don&#8217;t think they should have called it an &#8220;Art Show&#8221;, as it ended up being more of a branding experience for the event. Nevertheless, it was really nice to be associated with such a great event, many of whose participants are also my colleagues at the <a href="http://socialinnovation.ca" title="CSI Homepage" target="_blank" class="liexternal">CSI</a>.</p>
<p>Read about the art competition on <a href="http://netchangeweek.ca/2009/why-not-an-art-show-too" title="Netchange Week story" target="_blank" class="liexternal">netchangeweek.ca</a></p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F18%2Fi-won-the-netchange-art-competition&t=I+won+the+Netchange+Art+competition" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F18%2Fi-won-the-netchange-art-competition&title=I+won+the+Netchange+Art+competition" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F18%2Fi-won-the-netchange-art-competition&title=I+won+the+Netchange+Art+competition" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F18%2Fi-won-the-netchange-art-competition&title=I+won+the+Netchange+Art+competition&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F18%2Fi-won-the-netchange-art-competition&title=I+won+the+Netchange+Art+competition&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/06/18/i-won-the-netchange-art-competition/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to back up databases using phpMyAdmin</title>
		<link>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin</link>
		<comments>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin#comments</comments>
		<pubDate>Wed, 03 Jun 2009 01:04:30 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[tech tips]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=234</guid>
		<description><![CDATA[Back ups are important. Like brushing your teeth, it&#8217;s something you should do routinely. And, as you&#8217;d brush before important events, like going out on a date, so should you too backup before upgrading software.
I&#8217;m going to show you how to use phpMyAdmin to back up and restore MySQL databases. In my next post, I&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p><span id="sample-permalink">Back ups are important. Like brushing your teeth, it&#8217;s something you should do routinely. And, as</span><span id="sample-permalink"> you&#8217;d brush before important events, like going out on a date, so should you too backup before upgrading </span>software.</p>
<p>I&#8217;m going to show you how to use <a href="http://www.phpmyadmin.net" target="_blank" class="liexternal">phpMyAdmin</a> to back up and restore MySQL databases. In my next post, I&#8217;ll show you how to graduate to doing the same thing using the command line.</p>
<p>I use <a href="http://www.mamp.info/" target="_blank" class="liexternal">MAMP</a> to develop websites locally. I&#8217;ve written about this before <a href="http://andrewmallis.com/blog/2007/11/03/mamp-and-xamp" class="liinternal">here</a>. The examples I&#8217;ll be showing come from the phpMyAdmin packaged with MAMP, but apply just as well to any other environment.<span id="more-234"></span></p>
<h2>phpMyAdmin without the MAMP frame</h2>
<p style="text-align: left;">First things first. Let&#8217;s  work so we can see what we&#8217;re doing.I&#8217;m going to assume that you&#8217;re able to download and install MAMP or MAMP Pro on your own. The phpMyAdmin URL that you from the MAMP default webstart page gets you to the URL:</p>
<p style="text-align: left;"><a href="http://localhost/MAMP/frame.php?src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1&amp;language=English" target="_blank" class="liexternal">http://localhost/MAMP/frame.php?src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1&amp;language=English</a></p>
<p>which looks gives you a framed version of the phpMyAdmin. The framing takes up a lot of screen real estate.</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_noframe-250x201.png" class="liimagelink"><img class="size-full wp-image-239 aligncenter" title="phpmyadmin_mampframe" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_mampframe-250x201.png" alt="phpMyAdmin widow with the MAMP framing" width="250" height="201" /></a></p>
<p>Instead, use <a href="http://localhost/phpMyAdmin" target="_blank" class="liexternal">http://localhost/phpMyAdmin</a> and you&#8217;ll get something that looks much more pleasing:</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_noframe-250x201.png" class="liimagelink"><img class="size-full wp-image-238 aligncenter" title="phpmyadmin_noframe" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_noframe-250x201.png" alt="phpMyAdmin window without a frame" width="250" height="201" /></a></p>
<h2>dumping a database with phpMyAdmin</h2>
<p>Select a database from the drop-down menu on the left hand side of phpMyAdmin. Or, Navigate to &#8220;home&#8221; by clicking the little house under the phpMyAdmin logo in the top left and hit the blue Databases link in the  longish list there.<a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_home.png" class="liinternal"></a></p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_home.png" class="liimagelink"><img class="size-full wp-image-245 aligncenter" title="phpmyadmin_home" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_home-250x182.png" alt="phpmyadmin_home" width="250" height="182" /></a></p>
<p>Ok, so now we see the tables in our database. Press the Export tab at the top. We&#8217;re going to export this database.</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_table-250x214.png" class="liimagelink"><img class="aligncenter size-full wp-image-253" title="phpmyadmin_table" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_table-250x214.png" alt="phpmyadmin_table" width="250" height="214" /></a></p>
<p>Let&#8217;s review the options you should select to get nice, compact, and legible SQL.</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin2102_exportdb3-600x632.png" class="liimagelink"><img class="aligncenter size-full wp-image-252" title="phpmyadmin2102_exportdb3" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin2102_exportdb3-600x632.png" alt="phpmyadmin2102_exportdb3" width="600" height="632" /></a></p>
<p>The first column, in the Export fieldset, is pretty straight forward. By default all the tables in your database will be selected. SQL is the format you want too.</p>
<p>&#8220;Disable foreign key checks&#8221; isn&#8217;t always necessary. I do a lot of CiviCRM work. Restoring a CiviCRM database will fail unless this option is enabled in your export.</p>
<p>&#8220;Add DROP TABLE / DROP VIEW&#8221; will delete your table on import before recreating it.</p>
<p>Extended inserts and Complete insterts gives you a smaller file and more compacted, easy to read view.</p>
<p>Click &#8220;Save as file&#8221; and use &#8220;gzipped&#8221; compression for the smallest files.</p>
<p>In the File name template, I add %D, which spits out today&#8217;s date. I add a little hypen before to seperate it from the database name and MAMP after, so I know it was a local dump and not from my live server. This format would give me a file like: mysql-06_02_09_MAMP.sql.gz</p>
<p>To restore your databse, click on the import tab, click the browse button, select your file, press go. I&#8217;ll spare you the screenshot.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&t=how+to+back+up+databases+using+phpMyAdmin" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->