<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with script</title>
      <link>http://ask.metafilter.com/tags/script</link>
      <description>Questions tagged with 'script' at Ask MetaFilter.</description>
	  <pubDate>Tue, 22 Dec 2009 13:09:18 -0800</pubDate> <lastBuildDate>Tue, 22 Dec 2009 13:09:18 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Your script is my command!</title>
	<link>http://ask.metafilter.com/141342/Your%2Dscript%2Dis%2Dmy%2Dcommand</link>	
	<description>[Software Development filter] I am working on a project that uses a PC (Windows) and a dedicated microprocessor to perform a specific task. I want to create a scripting language that will allow the user to write their own sequences for the tool. The front-end of the software  is being created using MS Visual Basic  (Visual Studio) 2008. There is a &quot;processing&quot; back-end being created with the same development package, but using C++ to create a DLL. The DLL uses USB to communicate with a PIC (PIC24FJ256GB110) microprocessor that will control elements of the tool (heater, flow controllers, valves, solenoids, and relays) and gather data from other elements (pressure sensors, temperature sensors, liquid sensors, gas chromatograph).&lt;br&gt;
&lt;br&gt;
I want the end user to have the ability to write a script and have the tool process the commands. &lt;br&gt;
The script will have a simple language and limited number of commands.&lt;br&gt;
&lt;br&gt;
For example:&lt;br&gt;
   10 DELAY XXX ms/sec/min&lt;br&gt;
   20 TURN ON PUMP_1&lt;br&gt;
   30 TURN OFF VALVE_3&lt;br&gt;
   40 FLOW_CONTROLLER PURGE&lt;br&gt;
   50 FLOW_CONTROLLER 100 ml/min&lt;br&gt;
   60 IF PRESSURE_SENSOR_1 &amp;gt; 100 THEN GOTO [line number]&lt;br&gt;
and so on...&lt;br&gt;
&lt;br&gt;
I have searched for and found a couple of &quot;tiny basic&quot; interpreters written in C that look like they could be modified and wedged into service. These interpreters use integers only, I might need floating point capability (pressure value comparisons, etc.) One interpreter requires line numbers the other uses labels for GOTOs and GOSUBs. I don&apos;t know if I should use line numbers (requires renumbering at some point) or labels (preprocess a symbol table).&lt;br&gt;
&lt;br&gt;
I have a feeling that the end users are not very computer savvy so the scripting would have to be easy to understand and provide adequate error messages.&lt;br&gt;
&lt;br&gt;
Do you (or someone you know) have an idea of a better path?&lt;br&gt;
Should I try lex &amp;amp; yacc?&lt;br&gt;
Should I just suck it up and try starting an interpreter from scratch?&lt;br&gt;
&lt;br&gt;
Any and all replies are welcome.&lt;br&gt;
&lt;small&gt;AskMe has pulled me out from a jam before, PLEASE do it again!&lt;/small&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.141342</guid>
	<pubDate>Tue, 22 Dec 2009 13:09:18 -0800</pubDate>
	<category>basic</category>
	<category>c</category>
	<category>computer</category>
	<category>development</category>
	<category>interpreter</category>
	<category>programming</category>
	<category>script</category>
	<dc:creator>Drasher</dc:creator>
	</item>
	<item>
	<title>Help her tell her story</title>
	<link>http://ask.metafilter.com/140969/Help%2Dher%2Dtell%2Dher%2Dstory</link>	
	<description>What is a good screenwriting class in NYC? Mrs. HotBot has extensive storytelling experience (edited major comic books, done TV production work) and wants to write some screenplays.  I think the thing she most wants is the structure of having to write on a weekly deadline.  What are some good screenwriting classes in NYC?  If I can sign her up as a Christmas present, all the better.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.140969</guid>
	<pubDate>Thu, 17 Dec 2009 19:11:34 -0800</pubDate>
	<category>class</category>
	<category>newyork</category>
	<category>newyorkcity</category>
	<category>nyc</category>
	<category>screenwriting</category>
	<category>script</category>
	<category>writing</category>
	<dc:creator>shothotbot</dc:creator>
	</item>
	<item>
	<title>How to merge data fields into a plain text file?</title>
	<link>http://ask.metafilter.com/139055/How%2Dto%2Dmerge%2Ddata%2Dfields%2Dinto%2Da%2Dplain%2Dtext%2Dfile</link>	
	<description>Is there some way to do a &quot;mail merge&quot; type operation on plain text, xml or html files without using a word processor? I&apos;ve been working on our company wiki and I want to bulk create a bunch of pages by merging certain field data from spreadsheets, csv files or other datasources into the template text files that I&apos;ve created.  The output should be XML or plain text.&lt;br&gt;
&lt;br&gt;
I have a separate task where I have a simple html template that I&apos;d like to populate with data pulled from a csv. The output needs to be standard, simple HTML (no funny MS Word markup)&lt;br&gt;
&lt;br&gt;
I have access to MS Office, Open Office and Abiword but everything I&apos;ve tried so far seems to &quot;pollute&quot; my files with word processor type formatting. (I am running KDE on Ubuntu 9.10, but I also have Win XP running as a virtual machine under Virtualbox - I have access to any version of the MS Office software, and obviously anything open source).&lt;br&gt;
&lt;br&gt;
I&apos;m sure there&apos;s some open source tool designed to merge text files. I&apos;m not opposed to using a command line interface although I probably would prefer a GUI. My Google-fu is failing me on this one.&lt;br&gt;
&lt;br&gt;
Any tips on how I should achieve this, or pointers to the tools I should be looking at?&lt;br&gt;
&lt;br&gt;
thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.139055</guid>
	<pubDate>Wed, 25 Nov 2009 08:04:23 -0800</pubDate>
	<category>files</category>
	<category>html</category>
	<category>mailmerge</category>
	<category>merge</category>
	<category>opensource</category>
	<category>script</category>
	<category>scripting</category>
	<category>text</category>
	<category>xml</category>
	<dc:creator>geekgirl397</dc:creator>
	</item>
	<item>
	<title>How to Reorder and Rename Files</title>
	<link>http://ask.metafilter.com/138666/How%2Dto%2DReorder%2Dand%2DRename%2DFiles</link>	
	<description>For an art project, I need to take several thousand image files, reorder them randomly and rename them sequentially. Is there an AppleScript for that? Or something? Hello! I am working on a video art piece, involving stretches of random images at 30 distinct images a second. I&apos;m collecting these images from all sorts of sources, from old vacation photos to frames from industrial films, and putting them in a folder; I eventually will be bringing them into Avid Media Composer as an image sequence.&lt;br&gt;
Basically, I want to take a folder full of files, with varying names, reorder them randomly and then give them sequential names like &quot;1.jpg&quot;, &quot;2.jpg&quot;, all the way up to &quot;3000.jpg&quot;, so that Avid recognizes them as part of a sequence.&lt;br&gt;
I don&apos;t know anything about scripts (or much of anything) and I work on Mac OSX- is there a simple way to script this?&lt;br&gt;
Thank you so much in advance.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.138666</guid>
	<pubDate>Fri, 20 Nov 2009 10:58:39 -0800</pubDate>
	<category>artvideo</category>
	<category>files</category>
	<category>script</category>
	<dc:creator>235w103</dc:creator>
	</item>
	<item>
	<title>Where are all the letterform script logos?</title>
	<link>http://ask.metafilter.com/138498/Where%2Dare%2Dall%2Dthe%2Dletterform%2Dscript%2Dlogos</link>	
	<description>I&apos;m interested in finding examples of (likely extinct) brands and companies that used a letterform script for their logo. I&apos;m positive I&apos;ve seen many examples of logos that were reminiscent of the classic Coca Cola spencerian script letterform, but now that I&apos;m looking for them I&apos;m finding a whole lotta nothing.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.138498</guid>
	<pubDate>Wed, 18 Nov 2009 14:26:55 -0800</pubDate>
	<category>letterform</category>
	<category>logo</category>
	<category>script</category>
	<dc:creator>subpixel</dc:creator>
	</item>
	<item>
	<title>Conversion therapy</title>
	<link>http://ask.metafilter.com/137764/Conversion%2Dtherapy</link>	
	<description>Turning 1800 text files into something more usable for Wordpress? I have 1800 files I need to convert into Wordpress blog posts. Each file has merely the content, and nothing else, in text format.  What&apos;s the best way to get them into Wordpress? Is there a text program or script (that will run on Windows7) that will convert them to HTML files for use with &lt;a href=&quot;http://wordpress.org/extend/plugins/import-html-pages/&quot;&gt;this plugin&lt;/a&gt;? Or an easy way to convert them to RSS somehow?  I don&apos;t really have shell or perl access, so something local would be great, or even a script for Notepad++ or something. Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.137764</guid>
	<pubDate>Tue, 10 Nov 2009 13:51:05 -0800</pubDate>
	<category>blogposts</category>
	<category>resolved</category>
	<category>script</category>
	<category>textfiles</category>
	<category>wordpress</category>
	<dc:creator>yonation</dc:creator>
	</item>
	<item>
	<title>Archivists: where can I find samples of 19th-century script?</title>
	<link>http://ask.metafilter.com/136706/Archivists%2Dwhere%2Dcan%2DI%2Dfind%2Dsamples%2Dof%2D19thcentury%2Dscript</link>	
	<description>As a part of my academic research, I&apos;m digging into the &lt;a href=&quot;http://edison.rutgers.edu/&quot;&gt;Edison Papers&lt;/a&gt;, and finding (mostly handwritten) archival materials from the late 19th century. I&apos;m embarrassed to admit I can barely read the cursive handwriting of Edison and his colleagues. Does anyone know where I might find samples of 19th-century script to help me learn how to read this archival material? I know that there are various &apos;hands&apos; that were popular in the past, and it looks like the papers are written with dip pens (according to my fountain-pen-nerd boyfriend). The script I&apos;m struggling with looks most like the third column on &lt;a href=&quot;http://www.moonzstuff.com/articles/oldhandwriting.html&quot;&gt;this page of Copperplate samples&lt;/a&gt;, but even more stretched out.&lt;br&gt;
&lt;br&gt;
I also found this &lt;a href=&quot;http://www.nationalarchives.gov.uk/palaeography/default.htm&quot;&gt;tutorial &lt;/a&gt;by googling around, but I thought i might see if any Mefites with archival experience have any sources they prefer/tips for the Edison Papers specifically.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.136706</guid>
	<pubDate>Wed, 28 Oct 2009 17:11:53 -0800</pubDate>
	<category>archives</category>
	<category>cursive</category>
	<category>handwriting</category>
	<category>nineteenthcentury</category>
	<category>resolved</category>
	<category>script</category>
	<dc:creator>Monsters</dc:creator>
	</item>
	<item>
	<title>Help me write a script in OSX</title>
	<link>http://ask.metafilter.com/136469/Help%2Dme%2Dwrite%2Da%2Dscript%2Din%2DOSX</link>	
	<description>How do I create a file-handling script in OSX? I want to create a script that will throw whatever is in my CF card in the trash, empty the recycle bin and then eject the card. &lt;br&gt;
I frequently transfer pictures from my card to my computer and with lightroom 2 they don&apos;t automatically erase off the card so I need to do it by hand.&lt;br&gt;
I find that if I trash the files on the card and DON&apos;T empty the recycle bin the data stays held up in the card and eventually have to format it. &lt;br&gt;
&lt;br&gt;
Are there any other options? If not, how would I write a script. I tried &quot;recording&quot; a script in Applescript Editor but that didn&apos;t work at all.&lt;br&gt;
&lt;br&gt;
Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.136469</guid>
	<pubDate>Mon, 26 Oct 2009 09:54:00 -0800</pubDate>
	<category>applescript</category>
	<category>editor</category>
	<category>OSX</category>
	<category>script</category>
	<dc:creator>Thrillhouse</dc:creator>
	</item>
	<item>
	<title>Help me chat!</title>
	<link>http://ask.metafilter.com/134995/Help%2Dme%2Dchat</link>	
	<description>Asking for a friend: Java/action script 3 question - Remote Shared Object Question with Red5 Flash Server and Flash AS3 Hello,&lt;br&gt;
&lt;br&gt;
I am trying to create a simple chat client using the red5 media server, but I seem to be having a slight hiccup.  I am creating a shared object on the server side, and it seems to be creating it successfully.  However, when I make changes to the object via the client (type a message), the SYNC event fires, but the content within the shared object remains empty.  I suspect I am doing something wrong on the java end, any advice?   &lt;br&gt;
&lt;br&gt;
Console Results:&lt;br&gt;
&lt;br&gt;
Success!&lt;br&gt;
&lt;br&gt;
Server Message: clear&lt;br&gt;
&lt;br&gt;
Server Message: [object Object]&lt;br&gt;
&lt;br&gt;
Local message: asdf&lt;br&gt;
&lt;br&gt;
Server Message: change&lt;br&gt;
&lt;br&gt;
Server Message: [object Object]&lt;br&gt;
&lt;br&gt;
Local message: fdsa&lt;br&gt;
&lt;br&gt;
Server Message: change&lt;br&gt;
&lt;br&gt;
Server Message: [object Object]&lt;br&gt;
&lt;br&gt;
Local message: fewa&lt;br&gt;
&lt;br&gt;
Server Message: change&lt;br&gt;
&lt;br&gt;
Server Message: [object Object] &lt;br&gt;
 &lt;br&gt;
&lt;br&gt;
Server Side:&lt;br&gt;
&lt;br&gt;
public class Application extends ApplicationAdapter {&lt;br&gt;
&lt;br&gt;
      private IScope appScope;&lt;br&gt;
&lt;br&gt;
      // private static final Log log = LogFactory.getLog( Application.class ); &lt;br&gt;
&lt;br&gt;
      /** {@inheritDoc} */&lt;br&gt;
&lt;br&gt;
    @Override&lt;br&gt;
&lt;br&gt;
      public boolean connect(IConnection conn, IScope scope, Object[] params) {&lt;br&gt;
&lt;br&gt;
     &lt;br&gt;
     appScope = scope;&lt;br&gt;
&lt;br&gt;
     createSharedObject(appScope, &quot;generalChat&quot;, false); // Creates general chat shared object&lt;br&gt;
&lt;br&gt;
     &lt;br&gt;
            return true;&lt;br&gt;
&lt;br&gt;
      } &lt;br&gt;
&lt;br&gt;
      /** {@inheritDoc} */&lt;br&gt;
&lt;br&gt;
    @Override&lt;br&gt;
&lt;br&gt;
      public void disconnect(IConnection conn, IScope scope) {&lt;br&gt;
&lt;br&gt;
            super.disconnect(conn, scope); &lt;br&gt;
&lt;br&gt;
      }   &lt;br&gt;
&lt;br&gt;
    public void updateChat(Object[] params)&lt;br&gt;
&lt;br&gt;
    {&lt;br&gt;
&lt;br&gt;
     ISharedObject so = getSharedObject(appScope, &quot;generalChat&quot;); // Declares and stores general chat data in general chat shared object&lt;br&gt;
&lt;br&gt;
     so.setAttribute(&quot;point&quot;, params[0]);&lt;br&gt;
&lt;br&gt;
    } &lt;br&gt;
&lt;br&gt;
Client Side:&lt;br&gt;
&lt;br&gt;
      public class SOConnect extends MovieClip&lt;br&gt;
&lt;br&gt;
      {&lt;br&gt;
&lt;br&gt;
            // Variables&lt;br&gt;
&lt;br&gt;
            var nc:NetConnection = null;&lt;br&gt;
&lt;br&gt;
            var so:SharedObject;  &lt;br&gt;
&lt;br&gt;
            public function SOConnect():void&lt;br&gt;
&lt;br&gt;
            {&lt;br&gt;
&lt;br&gt;
            } &lt;br&gt;
&lt;br&gt;
            public function connect():void&lt;br&gt;
&lt;br&gt;
            {  &lt;br&gt;
&lt;br&gt;
                  // Create a NetConnection and connect to red5&lt;br&gt;
&lt;br&gt;
                  nc = new NetConnection();&lt;br&gt;
&lt;br&gt;
                  nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);&lt;br&gt;
&lt;br&gt;
                  nc.connect(&quot;rtmp://localhost/chatTest&quot;); &lt;br&gt;
&lt;br&gt;
                  // Create a StoredObject for general chat&lt;br&gt;
&lt;br&gt;
                  so = SharedObject.getRemote(&quot;generalChat&quot;, nc.uri, false);   &lt;br&gt;
&lt;br&gt;
                  so.connect(nc);&lt;br&gt;
&lt;br&gt;
                  so.addEventListener(SyncEvent.SYNC, receiveChat)   &lt;br&gt;
&lt;br&gt;
            } &lt;br&gt;
&lt;br&gt;
            public function sendChat(msg:String)&lt;br&gt;
&lt;br&gt;
            {&lt;br&gt;
&lt;br&gt;
                  trace (&quot;Local message: &quot; + msg);&lt;br&gt;
&lt;br&gt;
                  nc.call(&quot;updateChat&quot;, null, msg)     &lt;br&gt;
&lt;br&gt;
            } &lt;br&gt;
 &lt;br&gt;
&lt;br&gt;
            public function receiveChat(e:SyncEvent):void&lt;br&gt;
&lt;br&gt;
            {   &lt;br&gt;
&lt;br&gt;
                  for (var i in e.changeList)&lt;br&gt;
&lt;br&gt;
                  {&lt;br&gt;
&lt;br&gt;
                        trace (&quot;Server Message: &quot; + e.changeList[i].code)&lt;br&gt;
&lt;br&gt;
                        trace (&quot;Server Message: &quot; + e.changeList[i])&lt;br&gt;
&lt;br&gt;
                  }      &lt;br&gt;
&lt;br&gt;
            }  &lt;br&gt;
&lt;br&gt;
            // Given result, determine successful connection  &lt;br&gt;
&lt;br&gt;
            private function netStatusHandler(e:NetStatusEvent):void&lt;br&gt;
&lt;br&gt;
            {&lt;br&gt;
&lt;br&gt;
                  if (e.info.code == &quot;NetConnection.Connect.Success&quot;)&lt;br&gt;
&lt;br&gt;
                  {&lt;br&gt;
&lt;br&gt;
                        trace(&quot;Success!&quot;);&lt;br&gt;
&lt;br&gt;
                  }&lt;br&gt;
&lt;br&gt;
                  else&lt;br&gt;
&lt;br&gt;
                  {&lt;br&gt;
&lt;br&gt;
                        trace(&quot;Failure!\n&quot;); &lt;br&gt;
&lt;br&gt;
                        trace(e.info.code);&lt;br&gt;
&lt;br&gt;
                  }&lt;br&gt;
&lt;br&gt;
            }&lt;br&gt;
&lt;br&gt;
      }</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.134995</guid>
	<pubDate>Thu, 08 Oct 2009 15:55:48 -0800</pubDate>
	<category>action</category>
	<category>java</category>
	<category>script</category>
	<dc:creator>yoyoceramic</dc:creator>
	</item>
	<item>
	<title>How to merge multiple text files keeping original filename and date</title>
	<link>http://ask.metafilter.com/132691/How%2Dto%2Dmerge%2Dmultiple%2Dtext%2Dfiles%2Dkeeping%2Doriginal%2Dfilename%2Dand%2Ddate</link>	
	<description>Hi AskMeFi. Can someone tell me how to combine 350 text files into one large text file so that the &lt;strong&gt;original filenames and dates&lt;/strong&gt; are included above (or below) each entry?  I&apos;m using Vista Home Premium and they are all generic .txt files. I&apos;m moving all of my notes into Evernote but want to save the names and dates of the individual txt files.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.132691</guid>
	<pubDate>Sat, 12 Sep 2009 19:07:01 -0800</pubDate>
	<category>batch</category>
	<category>combine</category>
	<category>concatenate</category>
	<category>datestamp</category>
	<category>dos</category>
	<category>evernote</category>
	<category>filename</category>
	<category>files</category>
	<category>header</category>
	<category>join</category>
	<category>merge</category>
	<category>script</category>
	<category>text</category>
	<category>utility</category>
	<category>vista</category>
	<category>windows</category>
	<dc:creator>chimrichalds</dc:creator>
	</item>
	<item>
	<title>Wordpress plugin incompatibility</title>
	<link>http://ask.metafilter.com/131588/Wordpress%2Dplugin%2Dincompatibility</link>	
	<description>Wordpress Filter: Plugin incompatibility with my theme - website screws up on IE. How do I fix it? 2 of my plugins (&lt;a href=&quot;http://wordpress.org/extend/plugins/contact-form-7/&quot;&gt;Contact Form 7&lt;/a&gt;, &lt;a href=&quot;http://wordpress.org/extend/plugins/posttabs/&quot;&gt;Post Tabs&lt;/a&gt;) give a java script error when enabled on &lt;a href=&quot;http://www.eyci.org&quot;&gt;this&lt;/a&gt; site. The js error doesn&apos;t do much in firefox but it renders the whole site disfunctional in IE ( drop down nav doesn&apos;t work, tabs under the headline slider don&apos;t work, etc).&lt;br&gt;
&lt;br&gt;
In IE, when I have debugging enabled, I get an error pop-up stating that there is a error on Line 89. After I click &quot;debug&quot;, this is what is shown:&lt;br&gt;
&lt;strong&gt;&lt;br&gt;
Microsoft JScript runtime error: Object doesn&apos;t support this property or method&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
Inside the file, the following code is highlighted on line 89: &lt;br&gt;
&lt;br&gt;
&lt;strong&gt;{return jQuery.easing[jQuery.easing.def](x,t,b,c,d);}&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
So how do I fix this issue in IE? Do I need to contact the plugin author to check if they are using the latest jQuery? ( the theme author says that he is using the latest jQuery) Is there any way around this issue?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.131588</guid>
	<pubDate>Mon, 31 Aug 2009 12:09:59 -0800</pubDate>
	<category>error</category>
	<category>IE</category>
	<category>internetexplorer</category>
	<category>java</category>
	<category>js</category>
	<category>plugin</category>
	<category>resolved</category>
	<category>script</category>
	<category>wordpress</category>
	<dc:creator>Danniman</dc:creator>
	</item>
	<item>
	<title>Help me with a tricky (for me) Python problem</title>
	<link>http://ask.metafilter.com/130894/Help%2Dme%2Dwith%2Da%2Dtricky%2Dfor%2Dme%2DPython%2Dproblem</link>	
	<description>I am trying to make a python script that takes a CSV file and turns it into an HTML table. I need it to combine a column containing a website name and another column containing a URL into an HTML link. I&apos;m working on a python script that takes a CSV file and turns it into an HTML table.&lt;br&gt;
&lt;br&gt;
The CSV has, among numerous other columns, a column containing a website name and another column containing a URL. I would like to combine the two into an HTML link.&lt;br&gt;
&lt;br&gt;
Here is what I have so far that converts the rows &amp;amp; columns into tables:&lt;br&gt;
&lt;br&gt;
for row in reader:&lt;br&gt;
  html.write(&apos;&amp;lt;tr&amp;gt;&apos;);&lt;br&gt;
  for column in row:&lt;br&gt;
      html.write(&apos;&amp;lt;td&amp;gt;&apos; + column + &apos;&amp;lt;/td&amp;gt;&apos;);&lt;br&gt;
      html.write(&apos;&amp;lt;/tr&amp;gt;&apos;)&lt;br&gt;
&lt;br&gt;
I know the part that makes the HTML link would need to say:&lt;br&gt;
html.write(&apos;&amp;lt;a href=&quot;&apos;+ URLcolumn + &apos;&quot;&amp;gt;&apos; + sitecolumn + &apos;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&apos;)&lt;br&gt;
&lt;br&gt;
But I am stumped on how to finish implementing this. In particular, I can&apos;t figure out how to &quot;refer&quot; to the URLcolumn and sitecolumn.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.130894</guid>
	<pubDate>Sun, 23 Aug 2009 01:00:06 -0800</pubDate>
	<category>CSV</category>
	<category>HTML</category>
	<category>HTMLtable</category>
	<category>python</category>
	<category>resolved</category>
	<category>script</category>
	<dc:creator>Mjolnir</dc:creator>
	</item>
	<item>
	<title>Bringing Big Brother closer to home.</title>
	<link>http://ask.metafilter.com/129541/Bringing%2DBig%2DBrother%2Dcloser%2Dto%2Dhome</link>	
	<description>I&apos;m curious about &apos;trojan&apos; software for tracking a computer after it&apos;s been stolen. Human Interest Part:  A very cool local bike co-op recently had a bunch of equipment stolen, including an old computer.  This got me to thinking about the possibility of tracking a computer after it&apos;s been nicked.&lt;br&gt;
&lt;br&gt;
Technical Part: So I&apos;m thinking it should be possible (and even easy) to write a script such that a machine transmits it&apos;s IP address and a bit of identifying data to a trusted source when it connects to the net and every ten minutes or so thereafter.  On the other end, another machine is set up to receive said data.  This could potentially be either a pair of personal computers that are stored in separate locations, or a central server at Google or something that everyone uses.  Presumably, the IP address could then be used to obtain a physical location for the missing computer, should it ever be stolen.&lt;br&gt;
&lt;br&gt;
Questions: Does it exist already?  And if not, I&apos;m curious about the feasibility of this as a project.  The weak link that I have little real knowledge of is how accurately one can turn an IP address into a physical location.  Any thoughts?&lt;br&gt;
&lt;br&gt;
FWIW, I prefer linux/*nix-friendly answers, though hearing about existing software for Windows wouldn&apos;t put me off.&lt;br&gt;
&lt;br&gt;
I also fully understand how creepy this software would be on a personal computer; I ask mainly for the purposes of an organization that would be trying to track a usually-stationary computer.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.129541</guid>
	<pubDate>Fri, 07 Aug 2009 11:38:14 -0800</pubDate>
	<category>computer</category>
	<category>ip</category>
	<category>location</category>
	<category>script</category>
	<category>software</category>
	<category>theft</category>
	<dc:creator>kaibutsu</dc:creator>
	</item>
	<item>
	<title>Need script to backup Flickr metadata to local JPGs</title>
	<link>http://ask.metafilter.com/129007/Need%2Dscript%2Dto%2Dbackup%2DFlickr%2Dmetadata%2Dto%2Dlocal%2DJPGs</link>	
	<description>Lazyweb request: I put a lot of effort into my photos on Flickr: selecting them, titling, captioning, adding tags and sometimes geotagging. I need a script that will use Flickr&apos;s APIs to retrieve this information from Flickr, and write it into the IPTC headers of my local JPGs. My reasons for wanting this are twofold:&lt;br&gt;
&lt;br&gt;
1) Backing up this valuable information (if I could no longer use Flickr)&lt;br&gt;
2) Making all this information available in Picasa (which uses some of the IPTC fields)&lt;br&gt;
&lt;br&gt;
I&apos;m not a programmer. &lt;strong&gt;Here&apos;s an English description of the script&apos;s operation:&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
For &lt;em&gt;every &lt;/em&gt;photo on Flickr, find matching local file [1].&lt;br&gt;
&lt;br&gt;
For each local match, write into IPTC header:&lt;br&gt;
&lt;br&gt;
	Flickr Title --&amp;gt; IPTC Caption&lt;br&gt;
	Flickr Description --&amp;gt; IPTC Caption (after Title and linebreak) [2]&lt;br&gt;
	Flickr URL --&amp;gt; IPTC Source [3]&lt;br&gt;
	Flickr Tags --&amp;gt; IPTC Keywords [4]&lt;br&gt;
&lt;br&gt;
Also add the following special Keywords (should be self-explanatory):&lt;br&gt;
&lt;br&gt;
	Flickr (all matched photos)&lt;br&gt;
	Flickr_Faved&lt;br&gt;
	Flickr_HasDescription&lt;br&gt;
	Flickr_HasComments&lt;br&gt;
	Flickr_HasNotes&lt;br&gt;
	Flickr_Geotagged [5]&lt;br&gt;
	Flickr_InSet&lt;br&gt;
	Flickr_InSet_{setname}&lt;br&gt;
	Flickr_InCollection&lt;br&gt;
	Flickr_InCollection_{collectionname}&lt;br&gt;
	Flickr_InGroup&lt;br&gt;
	Flickr_InGroup_{groupname}&lt;br&gt;
	Flickr_Privacy_{privacysetting}&lt;br&gt;
&lt;br&gt;
The script needs to &lt;em&gt;replace &lt;/em&gt;all existing IPTC data with the Flickr data. Needless to say, the JPGs should not be recompressed. Ignore videos (don&apos;t know where one would store metadata in AVIs).&lt;br&gt;
&lt;br&gt;
[1] This may be tricky. One way to find match them could be by &quot;taken on&quot; value (in flickr.photos.getinfo)  For an idea of scale, I have 5,700 photos on Flickr, and 33,000 locally.&lt;br&gt;
[2] I wish there was another field I could use, but this looks like the only one that&apos;ll do. HTML will look rather ugly. I might be persuaded not to include this, especially since Picasa doesn&apos;t display captions very nicely.&lt;br&gt;
[3] Use the Flickr canonical short url.&lt;br&gt;
[4] Including machine tags. Ensure they are correctly delimited (I think they&apos;re separated by commas in the IPTC header, and phrases don&apos;t need to be quoted)&lt;br&gt;
[5] Picasa also has geotagging, and I&apos;ve not checked where it stores this data. Would be nice to save Flickr&apos;s geodata in the same format Picasa uses. Optional though.&lt;br&gt;
&lt;br&gt;
I know my chances of getting what I ask are slim, but I&apos;m hoping that some people out there want the same thing, including someone who can actually build it. Or maybe something like this already exists, and all my googling couldn&apos;t find it.&lt;/privacysetting&gt;&lt;/groupname&gt;&lt;/collectionname&gt;&lt;/setname&gt;&lt;/collectionname&gt;&lt;/groupname&gt;&lt;/privacysetting&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.129007</guid>
	<pubDate>Sat, 01 Aug 2009 16:20:07 -0800</pubDate>
	<category>application</category>
	<category>backup</category>
	<category>flickr</category>
	<category>lazyweb</category>
	<category>resolved</category>
	<category>script</category>
	<dc:creator>snarfois</dc:creator>
	</item>
	<item>
	<title>&quot;Heroes&quot; writing: Stupid or Stylized?</title>
	<link>http://ask.metafilter.com/127126/Heroes%2Dwriting%2DStupid%2Dor%2DStylized</link>	
	<description>Cheesy writing in &quot;Heroes&quot; -- is it stupid or is it stylized? **** I&apos;VE WORDED THE QUESTION VAGUELY ENOUGH TO AVOID SPOILERS, BUT OBVIOUSLY I CAN&apos;T VOUCH FOR THE ANSWERS WHICH MIGHT COME LATER ON THIS PAGE ***&lt;br&gt;
&lt;br&gt;
I just finished watching Season 1 of &quot;Heroes&quot; (haven&apos;t seen any more yet, so please no spoilers).&lt;br&gt;
&lt;br&gt;
I&apos;ve enjoyed the show but I&apos;ve had my share of cringes at the writing.  &lt;br&gt;
&lt;br&gt;
I&apos;d be willing to entertain the notion that some/most/all of the &quot;bad&quot; writing was crafted this way intentionally to mimic a comic-book style -- but I&apos;ve never been into comic books so I can&apos;t back this up.&lt;br&gt;
&lt;br&gt;
Some examples (vague enough to avoid spoilers):&lt;br&gt;
&lt;br&gt;
-Sappy, melodramatic scenes which don&apos;t &quot;work&quot; because the relationships don&apos;t support them &lt;br&gt;
-Sudden, implausible changes of heart from many characters&lt;br&gt;
-Scenes that may as well have a flashing neon sign that says &quot;Exposition&quot;&lt;br&gt;
-Cliche after cliche along the lines of &quot;what&apos;s in your heart is what counts&quot; and trite &quot;can destiny be changed or is it written in stone&quot; fluff&lt;br&gt;
-Powerful arch-villains with poorly explained motives/backgrounds (in a way that seems superficial, not intriguing in the tip-of-the-iceberg I-can&apos;t-wait-to-find-out-more way).&lt;br&gt;
-Plot threads abruptly/too-neatly tied up or left dangling (not in an intriguing way, but seemingly careless or rushed)&lt;br&gt;
-Dialogue discrepancies between a scene and its recap (this happened enough that I&apos;m sure it was intentional)&lt;br&gt;
-Deus ex Machina ad nauseum&lt;br&gt;
&lt;br&gt;
The final episode was the worst offender -- someone randomly shows up just in time with no explanation for how they knew where to go, someone conveniently gets a shoulder injury and can&apos;t lift a gun, someone reveals their first name and *gasp* it&apos;s from the Bible and makes his whole story seem somewhat allegorical if you don&apos;t think too hard about it, someone gets called away from a crucial fight to sit and watch from the sidelines with family, someone with godlike powers stops using them for a few minutes in order to get beaten up by a few punches and kicks, etc....&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;&lt;br&gt;
Anyone care to weigh in?  How much of this is cleverly stylized cheesiness that I&apos;m too comic-ignorant to recognize?  How much is simply poor writing?   &lt;br&gt;
&lt;br&gt;
I&apos;m most interested in finding a convincing explanation from someone in-the-know, but I&apos;d also welcome personal theories, opinions, and rants.&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
(also: should I watch seasons 2 and 3?  Do they deepen/thicken the plot in an interesting way?  I&apos;m a huge &quot;Lost&quot; fan, no matter how weird it gets, but I&apos;m not convinced yet that Heroes is quite so multi-layered).</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.127126</guid>
	<pubDate>Fri, 10 Jul 2009 21:42:12 -0800</pubDate>
	<category>comicbooks</category>
	<category>comics</category>
	<category>heroes</category>
	<category>script</category>
	<category>style</category>
	<category>writing</category>
	<dc:creator>Alabaster</dc:creator>
	</item>
	<item>
	<title>Searching for information on writing children&apos;s television. What resources am I missing?</title>
	<link>http://ask.metafilter.com/126699/Searching%2Dfor%2Dinformation%2Don%2Dwriting%2Dchildrens%2Dtelevision%2DWhat%2Dresources%2Dam%2DI%2Dmissing</link>	
	<description>Searching for information on writing children&apos;s television. What resources am I missing? I know nothing about the children&apos;s television market and info seems hard to come by. I don&apos;t even know if the formatting is different or not.&lt;br&gt;
&lt;br&gt;
Does anyone know where I might be able to locate script for actual children&apos;s show? I know many of the animated shows are storyboarded but they must start as something...or someone must still make some live action shows.&lt;br&gt;
&lt;br&gt;
Anyone know of anywhere to find any tips on writing for the children&apos;s market? Do they have a pilot season like regular television or is it a totally different market?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.126699</guid>
	<pubDate>Mon, 06 Jul 2009 14:05:14 -0800</pubDate>
	<category>children&apos;s</category>
	<category>screenwriting</category>
	<category>script</category>
	<category>television</category>
	<dc:creator>UMDirector</dc:creator>
	</item>
	<item>
	<title>What&apos;s the copyright status of TV show scripts?</title>
	<link>http://ask.metafilter.com/124556/Whats%2Dthe%2Dcopyright%2Dstatus%2Dof%2DTV%2Dshow%2Dscripts</link>	
	<description>What&apos;s the copyright status of TV show scripts? Not the original scripts themselves, but versions transcribed from the show as it was broadcast? A Google search for &quot;&lt;a href=&quot;http://www.google.com/#q=tv+scripts&quot;&gt;tv scripts&lt;/a&gt;&quot; uncovers a lot of sites which publish transcriptions of TV shows. Most of them are obviously amateur, and aren&apos;t paying licensing fees or anything like that.&lt;br&gt;
&lt;br&gt;
That suggests that it&apos;s either (1) legal, or (2) tolerated, but I&apos;d like to know a little more before I proceed with a project. At least semi-informed opinions are preferable (no, you are not my lawyer).&lt;br&gt;
&lt;br&gt;
Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.124556</guid>
	<pubDate>Thu, 11 Jun 2009 14:23:56 -0800</pubDate>
	<category>copyright</category>
	<category>fairuse</category>
	<category>script</category>
	<category>scripts</category>
	<category>television</category>
	<category>tv</category>
	<dc:creator>ixohoxi</dc:creator>
	</item>
	<item>
	<title>Shell script handling CSV columns</title>
	<link>http://ask.metafilter.com/124463/Shell%2Dscript%2Dhandling%2DCSV%2Dcolumns</link>	
	<description>I&apos;m using a shell script to handle some excel docs by converting to csv and reformatting it a little bit. I&apos;m having some difficulty going on with the next part of the script. Some help would be great. :) CURRENT SCRIPT:&lt;br&gt;
#!/bin/sh&lt;br&gt;
ls *.xls&lt;br&gt;
echo &quot;Enter filename for excel input file: &quot;&lt;br&gt;
read filen&lt;br&gt;
xls2csv -x &quot;$filen&quot;&quot;.xls&quot; -b WINDOWS-1252 -c &quot;$filen&quot;&quot;.csv&quot; -a UTF-8&lt;br&gt;
sed &apos;1,3d&apos; &quot;$filen&quot;.csv &amp;gt;&quot;$filen&quot;_temp.csv&lt;br&gt;
cut -d &quot;,&quot; -f 1,4- &quot;$filen&quot;_temp.csv &amp;gt; &quot;$filen&quot;_temp2.csv&lt;br&gt;
awk -F, &apos;{sub($NF, &quot;&quot;);print}&apos; &quot;$filen&quot;_temp2.csv &amp;gt; &quot;$filen&quot;_temp3.csv&lt;br&gt;
sed &apos;s/.$//&apos; &quot;$filen&quot;_temp3.csv &amp;gt; &quot;$filen&quot;_fixed.csv&lt;br&gt;
rm &quot;$filen&quot;.csv&lt;br&gt;
rm &quot;$filen&quot;_temp.csv&lt;br&gt;
rm &quot;$filen&quot;_temp2.csv&lt;br&gt;
rm &quot;$filen&quot;_temp3.csv&lt;br&gt;
echo &quot;$filen&quot;&quot;.xls corrected and saved as &quot;&quot;$filen&quot;&quot;_fixed.csv&quot;&lt;br&gt;
&lt;br&gt;
EXAMPLE OUTPUT (first three lines only):&lt;br&gt;
&quot;Device ID&quot;,&quot;1) S31 Which best describes how you answered the online reading comprehension quiz?&quot;,&quot;2) S32 Which best describes how you answered the online timed retrieval quiz?&quot;,&quot;3) B19. If you want your product to be easy to find in the supermarket then you should make its container&quot;,&quot;4) C19.  So that he can shift attention between the radio and his incessantly talking girl friend when she is in the car, Joe adjusts his radio&quot;,&quot;5) B20.  Early selection is most likely to occur for&quot;,&quot;6) C20.  Early selection for a red target is most likely to occur when there is&quot;,&quot;7) B21. In a lexical decision task, when the target is a bird name, e.g. robin, it is usually preceded by the prime BODY but is sometimes preceded by the prime BIRD.&quot;,&quot;8) C21.  In a lexical decision task, when the target is a dog name, e.g. collie, it is usually preceded by the prime CAR but is sometimes preceded by the prime DOG.&quot;,&quot;9) B23. Suppose that that you see a brief display with 12 colored letters: 4 red, 4 white, and 4 blue.  At the offset of the display you hear tone.  A tone instructs you to report only the letters of a particular color: high for red, medium for white, and low for blue.  About how many letters do you report?&quot;,&quot;10) B22.  Sperling (1960) found that partial report produced the highest estimate of the number of available letters when the tone occurred &quot;,&quot;11) C23.  According to the logic of Sperling&#8217;s (1960) partial report method, an observer who reports three letters from a row in a 4 x 4 display that was cued at the display&#8217;s offset must have seen at least&quot;,&quot;12) C22.  Sperling (1960) found that the greatest difference between full and partial report in the number available of letters was when the tone occurred ____ milliseconds after the offset of the visual display&quot;&lt;br&gt;
96A39,6,4,&quot;4 c&quot;,&quot;4 c&quot;,&quot;5 c&quot;,&quot;5 c&quot;,&quot;5 c&quot;,&quot;4 i&quot;,&quot;3 c&quot;,&quot;1 c&quot;,&quot;1 i&quot;,&quot;5 i&quot;&lt;br&gt;
1E90A4,5,3,&quot;4 c&quot;,&quot;4 c&quot;,&quot;5 c&quot;,&quot;5 c&quot;,&quot;2 i&quot;,&quot;5 c&quot;,&quot;3 c&quot;,&quot;1 c&quot;,&quot;4 i&quot;,&quot;4 i&quot;&lt;br&gt;
&lt;br&gt;
First, I need to remove the numbering of the questions from the first line. So &quot;1) S31 Which best describes how you answered the online reading comprehension quiz?&quot; would become &quot;S31 Which best describes how you answered the online reading comprehension quiz?&quot;&lt;br&gt;
&lt;br&gt;
Next I need to remove an entire column if its row header doesn&apos;t begin with either B or C or is the &quot;Device ID&quot; column. For example, column starting with B19 is kept, the C23 is kept, and&quot;Device ID&quot; column is kept. The column with the question starting S31 must be entirely removed.&lt;br&gt;
&lt;br&gt;
Thanks.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.124463</guid>
	<pubDate>Wed, 10 Jun 2009 16:30:20 -0800</pubDate>
	<category>bash</category>
	<category>csv</category>
	<category>excel</category>
	<category>grep</category>
	<category>linux</category>
	<category>perl</category>
	<category>regexp</category>
	<category>regularexpression</category>
	<category>script</category>
	<category>shell</category>
	<category>unix</category>
	<dc:creator>fightoplankton</dc:creator>
	</item>
	<item>
	<title>Account Creation Script (not spam)</title>
	<link>http://ask.metafilter.com/124003/Account%2DCreation%2DScript%2Dnot%2Dspam</link>	
	<description>Simple need for autofilling a web page with a different set of variables each time. 


Assuming  I have a CSV of the user accounts I need to create, how can I create or find a script that will let me create new accounts by entering the CSV info into set fields (name, email, password), submitting and then automaticaly proceeding onto the next user account? This is for Active Directory account creation on a website through a Citrix Client, totally legitimate, not spamming.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.124003</guid>
	<pubDate>Fri, 05 Jun 2009 16:45:22 -0800</pubDate>
	<category>account</category>
	<category>Active</category>
	<category>Citrix</category>
	<category>Directory</category>
	<category>script</category>
	<dc:creator>BrodieShadeTree</dc:creator>
	</item>
	<item>
	<title>How to test if a variable in a Bourne shell script is an integer?</title>
	<link>http://ask.metafilter.com/120943/How%2Dto%2Dtest%2Dif%2Da%2Dvariable%2Din%2Da%2DBourne%2Dshell%2Dscript%2Dis%2Dan%2Dinteger</link>	
	<description>I&apos;m being tasked with creating a simple integer calculator, which I have effectively done, up to the point of it being a calculator, however, even after hours of searching I cannot get any scripts to work correctly. Here is my code so far:&lt;br&gt;
&lt;br&gt;
-----------------------------------------------&lt;br&gt;
#!/bin/sh&lt;br&gt;
echo &quot;Please enter your first number&quot;&lt;br&gt;
read a&lt;br&gt;
echo &quot;What operation would you like to perform? (+,-,/,x)&quot;&lt;br&gt;
read orp&lt;br&gt;
echo &quot;Please enter your second number&quot;&lt;br&gt;
read b &lt;br&gt;
echo $op&lt;br&gt;
if [ $opr = &quot;+&quot; ] &lt;br&gt;
then &lt;br&gt;
    op=`expr $a + $b`&lt;br&gt;
    echo &quot;$op&quot;&lt;br&gt;
elif [ $opr = &quot;-&quot; ] &lt;br&gt;
then &lt;br&gt;
    op=`expr $a - $b`&lt;br&gt;
    echo &quot;$op&quot;&lt;br&gt;
elif [ $opr = &quot;/&quot; ] &lt;br&gt;
then &lt;br&gt;
    op=`expr $a / $b`&lt;br&gt;
    echo &quot;$op&quot;&lt;br&gt;
elif [ $opr = &quot;X&quot; ] &lt;br&gt;
then &lt;br&gt;
    op=`expr $a \* $b`&lt;br&gt;
    echo &quot;$op&quot;&lt;br&gt;
fi &lt;br&gt;
-----------------------------------------------&lt;br&gt;
&lt;br&gt;
Thanks for any assistance!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.120943</guid>
	<pubDate>Thu, 30 Apr 2009 13:26:15 -0800</pubDate>
	<category>bourne</category>
	<category>calculator</category>
	<category>integer</category>
	<category>program</category>
	<category>script</category>
	<category>unix</category>
	<dc:creator>InsaneRhino</dc:creator>
	</item>
	<item>
	<title>How do I find a flash gallery for my website that pulls from my Flickr account?</title>
	<link>http://ask.metafilter.com/119633/How%2Ddo%2DI%2Dfind%2Da%2Dflash%2Dgallery%2Dfor%2Dmy%2Dwebsite%2Dthat%2Dpulls%2Dfrom%2Dmy%2DFlickr%2Daccount</link>	
	<description>Is there a fully customizable flash image gallery for my website that will pull photos from my Flickr sets? I need something like &lt;a href=&quot;http://www.db798.com/pictobrowser/index.html&quot;&gt;PictoBrowser&lt;/a&gt; but more customizable and without the &quot;pictobrowser&quot; link embedded in there.  It is perfect in that it loads from Flickr sets, so I can have one particular set feed my website gallery and just worry about uploading my photos to Flickr and sorting there.  &lt;br&gt;
&lt;br&gt;
I have looked at&lt;a href=&quot;http://www.dezinerfolio.com/dfgallery-2/free-flash-gallery&quot;&gt; dfgallery&lt;/a&gt; and it looks very close to what I need, but I am not knowledgeable enough to install it on my site. Also it doesn&apos;t look like it supports specific sets - and I need that capability.&lt;br&gt;
&lt;br&gt;
I realize there are others that pull from flickr, but they tend to be gimmicky &quot;postcard&quot; galleries.  I want the streamlined, simple &quot;main image with thumbnails along the bottom&quot; look.  &lt;br&gt;
&lt;br&gt;
Is there anything similar to Pictobrowser, free or not...that will pull from Flickr sets and create a Flash gallery that is completely customizable (in terms of colors, links etc)?  I know this is a tall order, but any help would be appreciated.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.119633</guid>
	<pubDate>Wed, 15 Apr 2009 17:46:52 -0800</pubDate>
	<category>browser</category>
	<category>flash</category>
	<category>gallery</category>
	<category>resolved</category>
	<category>script</category>
	<category>web</category>
	<dc:creator>jnnla</dc:creator>
	</item>
	<item>
	<title>Need an instant quote web form that instantly calculates quotes!</title>
	<link>http://ask.metafilter.com/118356/Need%2Dan%2Dinstant%2Dquote%2Dweb%2Dform%2Dthat%2Dinstantly%2Dcalculates%2Dquotes</link>	
	<description>Does anyone know of a php script that can be used to easily generate a web form, and that can have a &quot;calculation&quot; box at the bottom, that will calculate a cost based on the previous response fields? I&apos;m looking to have a quote form on my site that can instantly give visitors a quote for my services!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.118356</guid>
	<pubDate>Wed, 01 Apr 2009 12:01:56 -0800</pubDate>
	<category>calculation</category>
	<category>form</category>
	<category>php</category>
	<category>script</category>
	<dc:creator>thewibbler</dc:creator>
	</item>
	<item>
	<title>What is the original french version of this movie quotation?</title>
	<link>http://ask.metafilter.com/118080/What%2Dis%2Dthe%2Doriginal%2Dfrench%2Dversion%2Dof%2Dthis%2Dmovie%2Dquotation</link>	
	<description>What is the actual French corresponding to the English translation of this line from the Godard film Le Mepris (Contempt)?: &quot;It&apos;s a drag to be so cute and so sad.&quot; The line is spoken by Paul to Francesca early in the movie (the scene at the director&apos;s house). I&apos;ve found plenty of sources online for the English of the scene, but short of renting the movie and trying to transcribe the French with my very poor ear, I can&apos;t seem to find the text of what he is actually saying.&lt;br&gt;
&lt;br&gt;
My French isn&apos;t good enough to find the French script anywhere on the internet, and I really only need to know that one line, but I&apos;d love to see the multilingual script if anyone can find it.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.118080</guid>
	<pubDate>Sun, 29 Mar 2009 18:21:41 -0800</pubDate>
	<category>contempt</category>
	<category>french</category>
	<category>godard</category>
	<category>lemepris</category>
	<category>movie</category>
	<category>script</category>
	<dc:creator>telegraph</dc:creator>
	</item>
	<item>
	<title>Conventions in writing film scripts?</title>
	<link>http://ask.metafilter.com/117870/Conventions%2Din%2Dwriting%2Dfilm%2Dscripts</link>	
	<description>Quick education in film script conventions please? I have a script to proof read, translated from Bulgarian.  In addition to getting the English right, I really need guidance on conventional formatting and writing of movie scripts.&lt;br&gt;
&lt;br&gt;
Formatting? Tenses / ways of describing the action / camera work?  After a quick glance at my material it seems the English is OK, but I am at a loss as to whether, for example, when giving camera direction we can have narrative paragraphs, as it is currently, or should it be point form, with particular formatting?&lt;br&gt;
&lt;br&gt;
Where can I find resources to quickly give me tips on convention / style / format for this sort of a text?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.117870</guid>
	<pubDate>Fri, 27 Mar 2009 05:16:15 -0800</pubDate>
	<category>English</category>
	<category>proofread</category>
	<category>script</category>
	<category>translate</category>
	<dc:creator>Meatbomb</dc:creator>
	</item>
	<item>
	<title>Joining MP3 Files Together Based on Date in Filename?</title>
	<link>http://ask.metafilter.com/117747/Joining%2DMP3%2DFiles%2DTogether%2DBased%2Don%2DDate%2Din%2DFilename</link>	
	<description>I have a podcast that downloads as multiple segments over multiple days.  Its format arrives as YYYYMMDD_showcode_segment.mp3; so, for example, one download might result in files as 20090323_goofa_01.mp3 through 20090323_goofa_21.mp3, and also &lt;i&gt;within the same download&lt;/i&gt; 20090324_goofa_01.mp3 through 20090324_goofa_21.mp3.  What I&apos;m looking for is a Unix script (shell, perl, what have you) that would look at a directory and look at what dates are represented there, and let me join all of the segments together by day.  I can use mpgtx -j to do the actual joining; I&apos;m looking for the code that would let the script determine what dates are in the directory and then get each day&apos;s segments united into a single MP3 for that day&apos;s show.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.117747</guid>
	<pubDate>Wed, 25 Mar 2009 16:08:55 -0800</pubDate>
	<category>bash</category>
	<category>csh</category>
	<category>day</category>
	<category>group</category>
	<category>join</category>
	<category>mp3</category>
	<category>perl</category>
	<category>resolved</category>
	<category>script</category>
	<category>segment</category>
	<category>tcsh</category>
	<category>unix</category>
	<dc:creator>WCityMike</dc:creator>
	</item>
	
	</channel>
</rss>

