<?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 code</title>
      <link>http://ask.metafilter.com/tags/code</link>
      <description>Questions tagged with 'code' at Ask MetaFilter.</description>
	  <pubDate>Wed, 18 Nov 2009 13:19:03 -0800</pubDate> <lastBuildDate>Wed, 18 Nov 2009 13:19:03 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Help me batch print text files on the Mac</title>
	<link>http://ask.metafilter.com/138487/Help%2Dme%2Dbatch%2Dprint%2Dtext%2Dfiles%2Don%2Dthe%2DMac</link>	
	<description>OS X: I want to batch print all the files in a source-code library. They are actionscript files, which means they are text files that all end in a .as extension. The files are in a complex directory structure (one root folder but files in multiple subfolders), and there are non .as files that I don&apos;t want printed. When the files print, I need some kind of separator ( spaces, asterisks, new page...) between each file. I can&apos;t seem to find a FILTERABLE batch printing app for OSX -- one that can print all files (of a certain type or naming scheme) in all folders and subfolders starting at a certain root.&lt;br&gt;
&lt;br&gt;
I thought about opening Terminal and doing this:&lt;br&gt;
&lt;br&gt;
find . -name &quot;*.as&quot; | xargs cat  &amp;gt; outfile.txt&lt;br&gt;
&lt;br&gt;
And then printing outfile.txt. That would be perfect except that I won&apos;t easily be able to tell where one file begins and another ends. I need&lt;br&gt;
&lt;br&gt;
*****************&lt;br&gt;
&lt;br&gt;
or some other delimiter between files.&lt;br&gt;
&lt;br&gt;
If it matters, this is for OS X Leopard.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.138487</guid>
	<pubDate>Wed, 18 Nov 2009 13:19:03 -0800</pubDate>
	<category>actionscript</category>
	<category>as</category>
	<category>batch</category>
	<category>code</category>
	<category>directories</category>
	<category>directory</category>
	<category>filter</category>
	<category>filtering</category>
	<category>folder</category>
	<category>print</category>
	<category>printing</category>
	<category>programming</category>
	<category>subfolder</category>
	<category>terminal</category>
	<dc:creator>grumblebee</dc:creator>
	</item>
	<item>
	<title>Teach em how to fish and they&apos;ll give us better cities, or something</title>
	<link>http://ask.metafilter.com/136287/Teach%2Dem%2Dhow%2Dto%2Dfish%2Dand%2Dtheyll%2Dgive%2Dus%2Dbetter%2Dcities%2Dor%2Dsomething</link>	
	<description>Calling all planners, public admin. types, adult education gurus and other smarty pants: I need to develop a training program or at least a strategy for developing a training program for further planning on the local level, put the hard parts. Our office is charged with further the planning efforts of local (state and county) governments. We laid out the elements needed to successfully developing and implementing a comprehensive plan  and then audited it to analyze our gaps. Then we looked at other agencies and they have similar gaps.&lt;br&gt;
&lt;br&gt;
How can we train people in the areas of administrative capacity and what we are generally calling &quot;community will&quot; (political will, advocacy, etc.)?&lt;br&gt;
&lt;br&gt;
Like, how to read a site plan submitted by developers, how should staff and appointed/elected officals communicate effectively, can a circuit rider type planner work, how would you develop a program like that,  how do you do code enforcement with out a dedicated staff member. For the last one, its things like making politically difficult decsions, gaining consensus, or just plain how to implement your plan (what ever that may mean).&lt;br&gt;
&lt;br&gt;
I know I am putting a lot of info out there, I don&apos;t want to box in the answers here. So have you attended or created training on items similar to these? Are you aware of awesome (perferably free) web based training/podcasts that touch on these issues. Feel free to throw in any new ideas that you see staff or officials messing up all the time. Thank you!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.136287</guid>
	<pubDate>Fri, 23 Oct 2009 19:34:01 -0800</pubDate>
	<category>administration</category>
	<category>city</category>
	<category>code</category>
	<category>county</category>
	<category>design</category>
	<category>education</category>
	<category>land</category>
	<category>plan</category>
	<category>planning</category>
	<category>podcast</category>
	<category>urban</category>
	<category>use</category>
	<category>webcast</category>
	<dc:creator>stormygrey</dc:creator>
	</item>
	<item>
	<title>what is &quot;backend of a site seal&quot; called on scriptlance?</title>
	<link>http://ask.metafilter.com/135750/what%2Dis%2Dbackend%2Dof%2Da%2Dsite%2Dseal%2Dcalled%2Don%2Dscriptlance</link>	
	<description>how do the online BBB seals and safety seal work on the back end? I am trying to make a seal for members of an organization I am part of.&lt;br&gt;
&lt;br&gt;
the Better business bureau has a seal which members put on their website with a code that links back to them.. which says when clicked upon &quot;this is a member in good standing&quot;.&lt;br&gt;
&lt;br&gt;
same things for site safety seals...&lt;br&gt;
&lt;br&gt;
how do I create such a seal? i can go on elance or scriptlance, but I have no idea what I am trying to describe...&lt;br&gt;
&lt;br&gt;
how hard is this to create, and how would i describe it best so I don&apos;t get taken for a ride?&lt;br&gt;
&lt;br&gt;
I have the graphic.... I need the &quot;CGI backend&quot; or however it should be described.&lt;br&gt;
&lt;br&gt;
Thank you MeFi!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.135750</guid>
	<pubDate>Sat, 17 Oct 2009 19:15:20 -0800</pubDate>
	<category>cgi</category>
	<category>code</category>
	<category>seal</category>
	<category>tag</category>
	<dc:creator>Izzmeister</dc:creator>
	</item>
	<item>
	<title>Code Blue</title>
	<link>http://ask.metafilter.com/132746/Code%2DBlue</link>	
	<description>Why, when I cut and paste original Word docs into my blog, does all this hidden html code (or something) show up? At first I thought it was just stuff I copied off the web, but it&apos;s doing it with original writing created entirely, by me, in Word, as well.  &lt;a href=&quot;http://www.flickr.com/photos/8416387@N08/3916660627/sizes/o/&quot;&gt;Here&apos;s one sample&lt;/a&gt; (screen shot, because when I tried to post it here, it stripped all the code out.  On Blogspot, it just tells me it can&apos;t post because of the code).&lt;br&gt;
&lt;br&gt;
This started happening a couple of months ago.  I have to strip out all the code before publishing. I did not put ANY of that code in there.  I wouldn&apos;t know how if I wanted to.  What is going on, and why is this happening.&lt;br&gt;
&lt;br&gt;
(Note-- I know NOTHING about computer code, so super-simple response please.)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.132746</guid>
	<pubDate>Sun, 13 Sep 2009 15:01:39 -0800</pubDate>
	<category>code</category>
	<category>html</category>
	<category>resolved</category>
	<category>wtf</category>
	<dc:creator>nax</dc:creator>
	</item>
	<item>
	<title>infinite zoom visual source code editor?</title>
	<link>http://ask.metafilter.com/131438/infinite%2Dzoom%2Dvisual%2Dsource%2Dcode%2Deditor</link>	
	<description>I saw a video from microsoft research which showed a new editor with like &quot;infinite zoom&quot; when viewing all source code files, like flash vector files - really cool. But i can&apos;t seem to find this video again! Does anybody know what it&apos;s called? Or a link?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.131438</guid>
	<pubDate>Sat, 29 Aug 2009 12:24:12 -0800</pubDate>
	<category>code</category>
	<category>editor</category>
	<category>infinite</category>
	<category>resolved</category>
	<category>source</category>
	<category>visual</category>
	<category>zoom</category>
	<dc:creator>flexiverse</dc:creator>
	</item>
	<item>
	<title>Learning HTML though examples</title>
	<link>http://ask.metafilter.com/130172/Learning%2DHTML%2Dthough%2Dexamples</link>	
	<description>What are some good webpages for a HTML beginner to look at for code examples? I&apos;m working on learning HTML, and I&apos;m finding plenty of resources for learning how to write code.  However, I&apos;m one of those people that always learns better by actually seeing things in action, looking under the hood, and seeing how everything goes together.  The problem I run into right now is that while I&apos;ve been trying to look at the source code on the websites I visit, most of them have such a massive amount of code that it&apos;s a little overwhelming to make sense of what does what.  (MeFi&apos;s code isn&apos;t that bad, however.)  What would be some good, simple pages to look at and learn how things are being done these days?  (For example, pages with good clean divisions, or pages that use tables that don&apos;t look like they&apos;re from 1997, if anyone actually still uses tables any more.)  Any other clues you could give a n00b would also be appreciated.  Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.130172</guid>
	<pubDate>Fri, 14 Aug 2009 11:33:36 -0800</pubDate>
	<category>code</category>
	<category>HTML</category>
	<category>webdesign</category>
	<dc:creator>azpenguin</dc:creator>
	</item>
	<item>
	<title>How do I  restore the formatting in my blog?</title>
	<link>http://ask.metafilter.com/130017/How%2Ddo%2DI%2Drestore%2Dthe%2Dformatting%2Din%2Dmy%2Dblog</link>	
	<description>I&apos;m using the Hybrid-News blogger template for my blog.  After doing some tweaking to the code, I lost the feature I loved the most - the condensed posts on the front page.  Any ideas on how to get it back? (more in explaination). Here is the link to the &lt;a href=&quot;http://hybridnews-btemplates.blogspot.com/&quot;&gt;hybrid-news template&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Here is the link to my &lt;a href=&quot;http://thelcomment.blogspot.com/&quot;&gt;blog&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Notice how in the template the stories are condensed to a few lines.  Somehow, I lost that formatting, and my skills in CSS are elementary at best.  Any idea how to get it back?&lt;br&gt;
&lt;br&gt;
Thanks much, and if you like politics, feel free to comment on the site!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.130017</guid>
	<pubDate>Wed, 12 Aug 2009 19:07:21 -0800</pubDate>
	<category>blog</category>
	<category>code</category>
	<category>CSS</category>
	<category>internet</category>
	<category>template</category>
	<category>website</category>
	<dc:creator>FireStyle</dc:creator>
	</item>
	<item>
	<title>Can you help me decipher this airline ticket code?</title>
	<link>http://ask.metafilter.com/129271/Can%2Dyou%2Dhelp%2Dme%2Ddecipher%2Dthis%2Dairline%2Dticket%2Dcode</link>	
	<description>Can you help me decipher this airline ticket code? Penalty&lt;br&gt;
CXN BA 100 EURFL RESTRCD/CHG BA 100 EUR&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.129271</guid>
	<pubDate>Tue, 04 Aug 2009 13:59:41 -0800</pubDate>
	<category>airline</category>
	<category>code</category>
	<category>flying</category>
	<category>ticket</category>
	<dc:creator>mrunderhill</dc:creator>
	</item>
	<item>
	<title>3-5 days and good programming skills. I wanna build something cool!</title>
	<link>http://ask.metafilter.com/129263/35%2Ddays%2Dand%2Dgood%2Dprogramming%2Dskills%2DI%2Dwanna%2Dbuild%2Dsomething%2Dcool</link>	
	<description>I have 3-5 days (starting tomorrow!) in which I&apos;m off from work, and have really nothing planned. As a developer geek in a crappy economy, I&apos;m looking at looming unemployment and/or the start of a freelance career in the very near future. I want to this time making &quot;something&quot; that I can use in my portfolio to show potential employers/clients. What on earth can I build? Ideas for sites are a dime a dozen, except for when I need one. I&apos;d like to build something cool that I can show off. Trouble is, I&apos;d like to get it out, at least v0.1,  after only 3-5 days of work. All my ideas involve considerably more effort than that. And I at least want it to be somewhat fun and/or interesting and/or to teach me something new... I can write boring code at work.&lt;br&gt;
&lt;br&gt;
So mefites -- what should I build? I know the LAMP stack pretty well, where the &apos;P&apos; can be either PHP, Python or Perl (although right now PHP is my strongest language). I can thnk in SQL -- databases are not a problem. I have more than enough hosting and a good dev environment. I can learn things (APIs, etc) pretty quickly. Maybe something fun with Google Maps? A Facebook app? An entire site? I&apos;m open to all and any ideas... &lt;br&gt;
&lt;br&gt;
&lt;small&gt;Yes, there are better uses for my time. I should be networking, yadda yadda, but this is my vacation and I don&apos;t wanna. :) I never get to write what I want to write anymore. Assume my resume is up to date and polished. &lt;/small&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.129263</guid>
	<pubDate>Tue, 04 Aug 2009 13:37:11 -0800</pubDate>
	<category>apache</category>
	<category>code</category>
	<category>idea</category>
	<category>LAMP</category>
	<category>mysql</category>
	<category>php</category>
	<category>projects</category>
	<dc:creator>cgg</dc:creator>
	</item>
	<item>
	<title>Looking for code to pull in Last.FM playlists into my site.</title>
	<link>http://ask.metafilter.com/129037/Looking%2Dfor%2Dcode%2Dto%2Dpull%2Din%2DLastFM%2Dplaylists%2Dinto%2Dmy%2Dsite</link>	
	<description>I don&apos;t want to betray anyone&apos;s trade secrets here, but what is the html or js code or query string for pulling in playlists from Last.fm, as is done for us on our profile pages? Been searching a bit here and on last.FM, and am not finding it.  Also welcome any other resources that interact similarly with other social networking sites.  Thanks?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.129037</guid>
	<pubDate>Sun, 02 Aug 2009 08:05:54 -0800</pubDate>
	<category>Code</category>
	<category>development</category>
	<category>HTML</category>
	<category>LastFM</category>
	<category>resolved</category>
	<category>tipsandtricks</category>
	<dc:creator>psmealey</dc:creator>
	</item>
	<item>
	<title>PHP -&gt; Twitter API at specified times: what am I Doing Wrong?</title>
	<link>http://ask.metafilter.com/128780/PHP%2DTwitter%2DAPI%2Dat%2Dspecified%2Dtimes%2Dwhat%2Dam%2DI%2DDoing%2DWrong</link>	
	<description>Please help me write a PHP script that publishes Twitter updates at pre-specified times. I&apos;m working on a script that will update Twitter with reminders about upcoming shows at a music festival, building on &lt;strong&gt;lodev&lt;/strong&gt;&apos;s idea &lt;a href=&quot;http://ask.metafilter.com/69022/How-instant-is-a-Twitter-update#1033437&quot;&gt;here&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
I&apos;ve currently got &lt;a href=&quot;http://pastebin.com/m3f605f0f&quot;&gt;this script&lt;/a&gt;, which calls a text file structured like in this made-up example:&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;XXXUPDATE SponsorCo Stage: THE BEATLES in 30 minutes XXXTIME August 21 2009 21:30 +0200 XXXDONE 0 XXXENDLINE&lt;br&gt;
XXXUPDATE MegaCorp Stage: ROLLING STONES in 30 minutes XXXTIME August 21 2009 22:45 +0200 XXXDONE 0 XXXENDLINE&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
Proprietary format, I know. :) There are six Twitter accounts right now for separate concert stages, more may follow. &lt;br&gt;
&lt;br&gt;
All six separate scripts are called from a Ruby file via pycron, every minute. I understand that&apos;s plenty often and I don&apos;t really need that kind of temporal resolution, but it uses relatively few processor cycles so I&apos;m not really complaining.&lt;br&gt;
&lt;br&gt;
As you can see in the PHP code:&lt;br&gt;
&lt;br&gt;
&lt;code&gt;if (($now &amp;lt;= ($utime + 30)) &amp;amp;&amp;amp; ($now &amp;gt;= ($utime - 29))) {&lt;br&gt;
if ($update[3] !== 1) {&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
When an update is ready for publication it should, theoretically at least, satisfy the first &quot;if&quot; statement and be published. The second &quot;if&quot; checks a &quot;done&quot; flag in the text file which I have as of yet not used (i.e. they&apos;re all set to 0 and the current code doesn&apos;t amend them).&lt;br&gt;
&lt;br&gt;
Now, I &quot;stress-tested&quot; this with some test updates on all six accounts, including many simultaneous ones (carrying the same timestamp) on the different accounts for ten minutes with six (one for each account) every minute, and out of maybe a hundred-something tweets (I ran multiple iterations of the test) only one was dropped, i.e. it was in the text file but was not published.&lt;br&gt;
&lt;br&gt;
Even one dropped update is unacceptable to me, and I strongly suspect I am Doing It Wrong. But how? The problem basically boils down to the following question:&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;What better method would there be to push out the updates reliably using the server config I currently have (XP, Apache, PHP5, Ruby, pycron), very preferably without using databases?&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;
When it comes to scripting I really only speak PHP and a little JavaScript: even the (very basic) Ruby script was kindly provided to me for a different project.&lt;br&gt;
&lt;br&gt;
So there&apos;s just too little time before the event to learn a new language or start out with MySQL or whatever before the event, and I&apos;m not really eager to change to different software or change my server configuration (or set up another box) just for one-off project that will last just a few days. This is just to say that it&apos;s not due to an unwillingness on my part, but rather due to practical considerations.&lt;br&gt;
&lt;br&gt;
If anyone could offer their insights I would be ever so grateful. Thanks in advance, guys.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.128780</guid>
	<pubDate>Wed, 29 Jul 2009 18:29:11 -0800</pubDate>
	<category>api</category>
	<category>code</category>
	<category>coding</category>
	<category>cotweet</category>
	<category>cron</category>
	<category>crontab</category>
	<category>php</category>
	<category>pycron</category>
	<category>resolved</category>
	<category>twitter</category>
	<category>twitterapi</category>
	<dc:creator>goodnewsfortheinsane</dc:creator>
	</item>
	<item>
	<title>How can I update a textbox in a slide object in the middle of a loop in E-Prime?</title>
	<link>http://ask.metafilter.com/127243/How%2Dcan%2DI%2Dupdate%2Da%2Dtextbox%2Din%2Da%2Dslide%2Dobject%2Din%2Dthe%2Dmiddle%2Dof%2Da%2Dloop%2Din%2DEPrime</link>	
	<description>Computer Coding:  I&apos;m trying to write an experiment in &lt;a href=&quot;http://www.pstnet.com/eprime.cfm&quot;&gt;E-Prime&lt;/a&gt; that uses a Visual Analog Scale to allow subjects to bid on items.  Basically, this means they move a slider with their mouse over a bar, and the position on the bar represents how much they are willing to bid.  The thing is, they need to know what &lt;em&gt; value &lt;/em&gt; the slider currently represents before they can actually bid, and I&apos;m having problems getting the text to update with the cursor position.  Now, if any of you out there are E-Prime gurus I could really use your help for this bit.  I need to figure out how to update a textbox in a &apos;slide&apos; object in the middle of a loop. I&apos;ve also posted this question on the &lt;a href=&quot;http://www.pstnet.com/forum/Topic3233-5-1.aspx&quot;&gt;E-Prime forum&lt;/a&gt; and was basically met with crickets.  I&apos;m a decent (not great at all) programmer in some other languages so I&apos;ve been picking this stuff up pretty fast, but I&apos;m under a pretty tight deadline right now.&lt;br&gt;
&lt;br&gt;
There&apos;s an example of the code available for download on the forum post, but I think you have to sign up to get it.  If you use E-Prime and aren&apos;t on the forum, feel free to MeMail me and I&apos;ll send you a copy of the code.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.127243</guid>
	<pubDate>Sun, 12 Jul 2009 16:34:37 -0800</pubDate>
	<category>code</category>
	<category>coding</category>
	<category>EPrime</category>
	<category>experiment</category>
	<category>resolved</category>
	<dc:creator>scrutiny</dc:creator>
	</item>
	<item>
	<title>Security of Important Files</title>
	<link>http://ask.metafilter.com/125349/Security%2Dof%2DImportant%2DFiles</link>	
	<description>How can I prevent users from copying / printing / emailing certain files from my computer, while allowing them to work on those files like reading and modifying ?? I wanted to protect the source code of the tools developed by programmers in my company. So I want the programmers to be able to access those files, read them and modify them, etc.&lt;br&gt;
&lt;br&gt;
Yet I don&apos;t want them to be able to copy files to any other device, or print them, or even send them in email as an attachment.&lt;br&gt;
&lt;br&gt;
Blocking internet access or external devices using Firewall or OS features is not a practical option.&lt;br&gt;
&lt;br&gt;
Is there a solution ?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.125349</guid>
	<pubDate>Sat, 20 Jun 2009 11:36:52 -0800</pubDate>
	<category>code</category>
	<category>security</category>
	<category>source</category>
	<dc:creator>inquisitive</dc:creator>
	</item>
	<item>
	<title>I want to be a web developer! Maybe!</title>
	<link>http://ask.metafilter.com/124569/I%2Dwant%2Dto%2Dbe%2Da%2Dweb%2Ddeveloper%2DMaybe</link>	
	<description>I want to quit designing and become a web developer! Can I? Should I? Where do I start? &lt;strong&gt;Background:&lt;/strong&gt; I&apos;ve been designing for 8 years, exclusively web for the past 4 years. Picked up CSS/validation/site optimization really fast, jumped in jQuery, moved to general Javascript, and I&apos;m learning it pretty quickly. I work in a Rails shop, and I&apos;ve been told that I can move into a &quot;buildout developer&quot; role if I want to, which would involve CSS/HTML, but of course, no Rails. I&apos;d like to move further, even if it means going somewhere with lower expectations and pay.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Why developing?&lt;/strong&gt; I&apos;ve finally realized that I love making things, learning things, and fixing things. Unfortunately, most graphic designers spend their time &quot;selling things,&quot; which sounded sexy at 22, but seems downright icky now. The best part of every workday is when I get to use some Regex or set a session variable, so coding for a living seems attractive.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Is it too late?&lt;/strong&gt; I work with people who&apos;ve been on LAMP stacks since age 16, and I can&apos;t write a single SQL query. Is there too much a knowledge gap between me and lifelong developers?&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Where to start?&lt;/strong&gt; Going to a framework like Rails immediately sounds like cheating, but what do I know? What should I start playing around with, to get a general idea of how servers/DBs/languages work? What kind of goals (&quot;Write a plugin&quot;, &quot;Launch an app&quot;) could I reasonable set for myself in a new language?&lt;br&gt;
&lt;br&gt;
Thanks in advance!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.124569</guid>
	<pubDate>Thu, 11 Jun 2009 17:15:15 -0800</pubDate>
	<category>code</category>
	<category>development</category>
	<category>graphicdesign</category>
	<category>rails</category>
	<category>rubyonrails</category>
	<dc:creator>dougunderscorenelso</dc:creator>
	</item>
	<item>
	<title>MANF ANGWA RDASM ORT = ?</title>
	<link>http://ask.metafilter.com/122241/MANF%2DANGWA%2DRDASM%2DORT</link>	
	<description>MANF ANGWA RDASM ORT. What does it mean? Mike Doughty&apos;s guitar has letters (like the stickers you&apos;d put on your mailbox) that spell out the above words, one per line. It&apos;s not rot13 or any other Caesar shift. Google turns up nothing. Nothing obvious looking at anagrams. Any ideas?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.122241</guid>
	<pubDate>Sat, 16 May 2009 00:14:55 -0800</pubDate>
	<category>cipher</category>
	<category>code</category>
	<category>crack</category>
	<category>doughty</category>
	<category>guitar</category>
	<category>mike</category>
	<category>puzzle</category>
	<category>secret</category>
	<dc:creator>0xFCAF</dc:creator>
	</item>
	<item>
	<title>Regular expression puzzle time!</title>
	<link>http://ask.metafilter.com/121241/Regular%2Dexpression%2Dpuzzle%2Dtime</link>	
	<description>Regular expression puzzle time! You have a chunk of HTML. You want the content of all of the table cells inside the table rows where the row has nine cells. You do not want cells for rows with more or less cells. Example content:&lt;br&gt;
&lt;br&gt;
&amp;lt;tr class=&quot;evenrow&quot;&amp;gt;&lt;br&gt;
&amp;lt;td&amp;gt;1&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td&amp;gt;3&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td&amp;gt;6&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;td&amp;gt;9&amp;lt;/td&amp;gt;&lt;br&gt;
&amp;lt;/tr&amp;gt;&lt;br&gt;
&lt;br&gt;
Example regex pattern that DOES NOT WORK:&lt;br&gt;
&lt;br&gt;
$pattern = &quot;/&amp;lt;tr class=\&quot;\w{3,4}row\&quot;&amp;gt;.*?(&amp;lt;td.*?&amp;gt;.+?&amp;lt;\/td&amp;gt;){9}.*?&amp;lt;\/tr&amp;gt;/s&quot;;&lt;br&gt;
&lt;br&gt;
Is there a way I can do this with one regular expression? Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.121241</guid>
	<pubDate>Mon, 04 May 2009 13:14:28 -0800</pubDate>
	<category>code</category>
	<category>regex</category>
	<dc:creator>delladlux</dc:creator>
	</item>
	<item>
	<title>Seeking books/resources on working with other people&apos;s code.</title>
	<link>http://ask.metafilter.com/120071/Seeking%2Dbooksresources%2Don%2Dworking%2Dwith%2Dother%2Dpeoples%2Dcode</link>	
	<description>I would like to find some books that cover how to work with other people&apos;s code. I&apos;m a student and an intermediate level java programmer.  I am working with someone else&apos;s code on a major project for the first time ever.  I am quite used to developing projects from scratch, but trying to make sense of someone else&apos;s code is a nightmare, especially since it is very poorly written.&lt;br&gt;
&lt;br&gt;
The program is &quot;done&quot; and my job is to make it better.  Fix bugs, clean up the awfully written code, etc.&lt;br&gt;
&lt;br&gt;
There are so many books on how to develop software from the beginning.  Are there any books on how to take pre-existing software and give it an overhaul?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.120071</guid>
	<pubDate>Tue, 21 Apr 2009 06:33:44 -0800</pubDate>
	<category>bugs</category>
	<category>code</category>
	<category>java</category>
	<category>programming</category>
	<dc:creator>giggleknickers</dc:creator>
	</item>
	<item>
	<title>Pretty code</title>
	<link>http://ask.metafilter.com/117599/Pretty%2Dcode</link>	
	<description>Most syntax highlighting palettes are created by people with no
graphic design/usability sense. What are some great examples of really lovely to look at (for long periods of time) and useful syntax highlighting palettes/schemes?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.117599</guid>
	<pubDate>Tue, 24 Mar 2009 08:37:49 -0800</pubDate>
	<category>code</category>
	<category>color</category>
	<category>editing</category>
	<category>highlighting</category>
	<category>palette</category>
	<category>syntax</category>
	<dc:creator>sandking</dc:creator>
	</item>
	<item>
	<title>Finding a web friendly lawyer</title>
	<link>http://ask.metafilter.com/116297/Finding%2Da%2Dweb%2Dfriendly%2Dlawyer</link>	
	<description>I make web sites and created a web app for a client and now they want to own the copyright in exchange for equity.  Help me find a New York based web friendly lawyer  to ensure the new contract protects me.  Tips are also appreciated on a fair equity percentage to ask for.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.116297</guid>
	<pubDate>Mon, 09 Mar 2009 21:13:24 -0800</pubDate>
	<category>code</category>
	<category>contract</category>
	<category>copyright</category>
	<category>lawyer</category>
	<dc:creator>avex</dc:creator>
	</item>
	<item>
	<title>Girl Give me Phone Number, but Forgets Area Code.</title>
	<link>http://ask.metafilter.com/115971/Girl%2DGive%2Dme%2DPhone%2DNumber%2Dbut%2DForgets%2DArea%2DCode</link>	
	<description>Amazing girl I meet at a show gives me her phone number, but forgets to give me the area code. Main problem: I barely know anything about her - not even her name. How can I get in touch? At a hip-hop show, drinking a little bit, meet girl on dancefloor, we enjoy ourselves immensely (ahem). Show ends, after some light chit-chat I head out (a couple of her friends seemed protective and annoyed at me...there seemed to be no opportunity to pursue our connection any further), and to my surprise, she chases me down (a couple blocks later), catches up with me. She gives me her number. I tell her I&apos;ll call her soon. Big Problem: She forgot to give me her area code. Fast forward a few days later, I try the number she gave me with the logical (local) area code, and it isn&apos;t her (instead of a girl w/ a Mexican accent, I get a housewife with a husband and kids - funny story). After some time though, I try about a dozen more area codes that are nearby (Northern California), all I get are dial tones and one business office (and a couple pagers, apparently) - none are actually her.&lt;br&gt;
&lt;br&gt;
My main thoughts: Either she gave me the wrong 7-digit phone number (incredibly unlikely), or the area code for her phone is from some other part of the country.&lt;br&gt;
&lt;br&gt;
Anyone know of a way to get in touch with her? There are no phone books for cell phones I&apos;m sure.&lt;br&gt;
&lt;br&gt;
The only information I have about her: She lives in Woodland, CA...which is a smalltown about 10 miles down the road from my college town of Davis. That&apos;s all, though.&lt;br&gt;
&lt;br&gt;
I&apos;m out of ideas. Anyone else with some?&lt;br&gt;
&lt;br&gt;
I&apos;ve at least learned a lesson - doublecheck to make sure I&apos;ve got an area code next time...</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.115971</guid>
	<pubDate>Thu, 05 Mar 2009 20:42:40 -0800</pubDate>
	<category>area</category>
	<category>code</category>
	<category>dance</category>
	<category>hiphop</category>
	<category>number</category>
	<category>phone</category>
	<category>resolved</category>
	<dc:creator>Risiko</dc:creator>
	</item>
	<item>
	<title>Resize a Website Neatly</title>
	<link>http://ask.metafilter.com/115560/Resize%2Da%2DWebsite%2DNeatly</link>	
	<description>How do I make a website behave nicely when a browser window is resized so that the website elements don&apos;t cascade onto each other? I work for a non-profit that cannot afford to hire someone to build a website that represents the organization. I&apos;m probably the only computer literate person in the organization, but that doesn&apos;t mean much. I know a little bit of this, and a little bit of that, but I&apos;m definitely a noob at building websites. Regardless, I (stupidly?) volunteered to try my best and build at least &lt;em&gt;something&lt;/em&gt;.&lt;br&gt;
&lt;br&gt;
So, I took a look at some online tutorials on HTML/CSS, played around with a few templates, and threw together a website. On the whole, it&apos;s pretty decent except for one problem: when you resize the browser window on the screen, all of the different elements of the website start collapsing onto each other which makes for a really ugly display of our content. How do I make it so that a window resize just starts cutting into the website or at least resizes the components neatly? For example, when you resize the browser window while you&apos;re surfing Wikipedia, the text and buttons don&apos;t jumble up. They&apos;re merely resized up to a point and then only a small segment of the website is displayed. &lt;br&gt;
&lt;br&gt;
I don&apos;t even know what the relevant terminology is, and Google has therefore failed me. Are there any search terms I can use to find a guide, or do you know of any specific HTML/CSS code?  &lt;br&gt;
&lt;br&gt;
By the way, I&apos;m using Dreamweaver to edit the website.&lt;br&gt;
&lt;br&gt;
I appreciate any help that you can provide!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.115560</guid>
	<pubDate>Mon, 02 Mar 2009 11:58:45 -0800</pubDate>
	<category>code</category>
	<category>computer</category>
	<category>internet</category>
	<category>website</category>
	<dc:creator>mahoganyslide</dc:creator>
	</item>
	<item>
	<title>Stupid Outlook! No cookie!</title>
	<link>http://ask.metafilter.com/113217/Stupid%2DOutlook%2DNo%2Dcookie</link>	
	<description>VBA programmers: is there any way to control the formatting of Outlook Contacts Body text? (The &quot;Body&quot;, BTW, is the large &quot;notes&quot; section at the bottom of the Contacts form.)&lt;br&gt;
&lt;br&gt;
My searches on internet forums have proven useless, and I even got an MS online tech support person to say it probably couldn&apos;t be done (but I&apos;ve proven them wrong before, so it&apos;s not exactly like visiting the Oracle at Delphi).&lt;br&gt;
&lt;br&gt;
Here&apos;s some ideas I&apos;ve tried, and why they don&apos;t work:&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;mapiContacts.ContactItems(i).BodyFormat = olFormatPlain&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;(Turns out the BodyFormat property is only available for mail &amp;amp; post items, despite what it suggests under Help for ContactItems.Body).&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Dim str As String&lt;br&gt;
str = mapiContacts.ContactItems(i).BodyFormat&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;mapiContacts.ContactItems(i).BodyFormat = str&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;(This requires every stinking Contact to be updated, every time I run this program.)&lt;/em&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.113217</guid>
	<pubDate>Mon, 02 Feb 2009 14:38:19 -0800</pubDate>
	<category>code</category>
	<category>Microsoft</category>
	<category>MS</category>
	<category>Outlook</category>
	<category>programming</category>
	<category>VBA</category>
	<category>VisualBasic</category>
	<dc:creator>IAmBroom</dc:creator>
	</item>
	<item>
	<title>Need a database for event check-in</title>
	<link>http://ask.metafilter.com/111877/Need%2Da%2Ddatabase%2Dfor%2Devent%2Dcheckin</link>	
	<description>I am looking for an easy (and free) database to do event check-in.  We normally just cross peoples name off a list but I would like to have faster more real-time way of doing it. We will be checking in about 900 people.  We have access to bar code scanners and can print bar codes on the ID tags to move people along.  I&apos;m hoping that I can find a free access database instead of building one my self.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.111877</guid>
	<pubDate>Fri, 16 Jan 2009 16:54:57 -0800</pubDate>
	<category>bar</category>
	<category>code</category>
	<category>event</category>
	<dc:creator>jestonb</dc:creator>
	</item>
	<item>
	<title>I want to help the Fox and the Bird</title>
	<link>http://ask.metafilter.com/109984/I%2Dwant%2Dto%2Dhelp%2Dthe%2DFox%2Dand%2Dthe%2DBird</link>	
	<description>What do i need to learn to make add-ons of my own for Firefox and/or Songbird? I&apos;m interested in using my computer skills to improve my favorite open source programs. Unfortunately, I don&apos;t know a damn thing about coding, programing, writing lines, terminal, etc. I need to know, where&apos;s a good place to start?&lt;br&gt;
I run a Mac OSX 10.5 on an early 2008 MacBook Pro, if you have something system specific. Thanks Hive!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.109984</guid>
	<pubDate>Wed, 24 Dec 2008 22:19:17 -0800</pubDate>
	<category>code</category>
	<category>Coding</category>
	<category>Firefox</category>
	<category>program</category>
	<category>Programing</category>
	<category>Songbird</category>
	<category>terminal</category>
	<category>writing</category>
	<dc:creator>photomusic86</dc:creator>
	</item>
	<item>
	<title>Help me lawyer up...</title>
	<link>http://ask.metafilter.com/109480/Help%2Dme%2Dlawyer%2Dup</link>	
	<description>I need to find a lawyer in the NYC area who deals with confidentiality agreements and stock option contracts, specifically in the software industry.  How would I go about finding such a lawyer? I don&apos;t have a ton of money, so I&apos;d rather keep costs low if possible.&lt;br&gt;
&lt;br&gt;
If you&apos;d like to respond by email, you can contact me at needaniplawyer@gmail.com</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.109480</guid>
	<pubDate>Wed, 17 Dec 2008 16:32:18 -0800</pubDate>
	<category>code</category>
	<category>confidentialityagreements</category>
	<category>ip</category>
	<category>law</category>
	<category>lawyer</category>
	<category>options</category>
	<category>software</category>
	<category>stockoptions</category>
	<dc:creator>Anonymous</dc:creator>
	</item>
	
	</channel>
</rss>

