<?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 posts tagged with code</title>
      <link>http://ask.metafilter.com/tags/code</link>
      <description>tag posts with code</description>
	  	  <pubDate>Mon, 11 Aug 2008 11:50:32 -0800</pubDate>
      <lastBuildDate>Mon, 11 Aug 2008 11:50:32 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Tagging software for some National History Day kids?</title>
	<link>http://ask.metafilter.com/98919/Tagging-software-for-some-National-History-Day-kids</link>	
	<description>Can anyone recommend software that allows basic tagging of data, such that if I say I&apos;m interested in X, it will say, &quot;You might also like A B ad C&quot; because they are also tagged the same as X. The question is for a National History Day program.  The national office picks a theme and everyone picks a topic that relates to that theme.  The problem is that kids aged 10-16 are not particularly worldly or aware of so many neat topics.  Consequently, judges see a lot of topics around Helen Keller, 1960&apos;s Civil Rights, and Navajo Code Talkers.  &lt;br&gt;
&lt;br&gt;
What if there was a web site that showed all topics and a kid could see a quick synopsis of the topic.  And what if we plugged in a lot of &quot;common&quot; topics and build a tagging system around it.  &quot;Interested in Helen Keller? Have you thought about A, B or C?&quot;&lt;br&gt;
&lt;br&gt;
So, since I&apos;m not a programmer, I was wondering if anyone&apos;s come across a simple tagging tool that would allow me to build something like that?&lt;br&gt;
&lt;br&gt;
Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.98919</guid>
	<pubDate>Mon, 11 Aug 2008 11:50:32 -0800</pubDate>

<category>tagging</category>

<category>code</category>

<category>facets</category>

	<dc:creator>rev-</dc:creator>
	</item>
	<item>
	<title>I want to learn how to create 8bit -16bit style animations, kind of like &quot;Code Monkeys&quot; on tv network G4. Where do I start?</title>
	<link>http://ask.metafilter.com/98440/I-want-to-learn-how-to-create-8bit-16bit-style-animations-kind-of-like-Code-Monkeys-on-tv-network-G4-Where-do-I-start</link>	
	<description>I want to learn how to create 8bit -16bit style animations, kind of like &quot;Code Monkeys&quot; on tv network G4. Where do I start? After searching for a bit someone on yahoo answers said that they use Photoshop, After Effects, and Final Cut Pro (don&apos;t have the last one because it&apos;s mac only) to do the bulk of the animating. I can get a hold of other programs too but i just don&apos;t know what to do first. If anybody could point me towards some good tutorials/programs for animating this type of work,  it would be much appreciated.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.98440</guid>
	<pubDate>Tue, 05 Aug 2008 19:36:04 -0800</pubDate>

<category>code</category>

<category>monkeys</category>

<category>computer</category>

<category>graphics</category>

<category>animating</category>

	<dc:creator>Kyokusen</dc:creator>
	</item>
	<item>
	<title>Give a code monkey a ruler...</title>
	<link>http://ask.metafilter.com/97701/Give-a-code-monkey-a-ruler</link>	
	<description>How do I make code LOOK beautiful? Occasionally, I see these snippets of code where everything looks very aligned and orderly, the variables all seem the same length, the functions are all neatly aligned.

My code on the other hand always looks rough and shoddy. What do the people with neat code do to make it look so neat? I&apos;m thinking about C++ here, but this applies to most types of code. Are there any rules I should be following to make my code also look so neat?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.97701</guid>
	<pubDate>Mon, 28 Jul 2008 09:24:18 -0800</pubDate>

<category>programming</category>

<category>code</category>

	<dc:creator>markovich</dc:creator>
	</item>
	<item>
	<title>Troubleshoot my Honda&apos;s Check Engine light.</title>
	<link>http://ask.metafilter.com/97597/Troubleshoot-my-Hondas-Check-Engine-light</link>	
	<description>My wife&apos;s &apos;98 Honda Accord&apos;s engine light is on. Help me troubleshoot it to cross-check the mechanic&apos;s diagnosis. Mechanic A said the ECU (Engine Control Unit) spat out a code to replace the oxygen sensors, so they did (with non-Honda parts). The engine light remained on and gave the same code again, so Mechanic A concluded that the ECU is busted. We took it to a Honda dealer for a diagnostics check, and they received the same code and said it needs Honda-brand oxygen sensors, but that the ECU is fine. Back at Mechanic A, they put in Honda oxygen sensors for free, and the Check Engine light and the same code remains. &lt;br&gt;
&lt;br&gt;
-I have heard that a car&apos;s computer/ECU &lt;i&gt;rarely&lt;/i&gt; goes out. But does this sound like the culprit?&lt;br&gt;
-I&apos;m skeptical that they&apos;ve reset it properly. I&apos;ve done a bit of research online and have tried disconnecting the battery for 20 minutes, but the light STILL remains. Any other resetting ideas?&lt;br&gt;
-Mechanic A quoted me a USED ECU incl. re-programming it for about $500, whereas a new one from Honda is $1400. Is there a high risk for going with a used ECU?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.97597</guid>
	<pubDate>Sat, 26 Jul 2008 20:09:43 -0800</pubDate>

<category>car</category>

<category>honda</category>

<category>accord</category>

<category>ECU</category>

<category>computer</category>

<category>code</category>

<category>sensors</category>

	<dc:creator>blastrid</dc:creator>
	</item>
	<item>
	<title>Math equation / algorithm for a database</title>
	<link>http://ask.metafilter.com/95737/Math-equation-algorithm-for-a-database</link>	
	<description>I&apos;m looking for some help with a math equation / algorithm I&apos;m trying to create. I&apos;m a programmer by trade and not very good at math so I&apos;d like some help with this or perhaps a site where I could pay someone to come up with the equation I&apos;m looking for.  I considered rentacoder or elance however I&apos;d be concerned if the companies there had the proper math knowledge.  A lot of claims get made on those sites that turn out to be false. I&apos;m trying to do is calculate the value or profitability of keywords based on some data that I have.  I have a list of about 35 categories and in each category I have 500 keywords that belong to that category.  I&apos;ve provided a small sampling of the data I have (at the end of this post).  The sampling has 5 categories and in each category it has the top 5 and bottom 5 from the lists of 500.&lt;br&gt;

&lt;br&gt;
The category records have a &apos;~&apos; starting the row.  The first field is the category name and the second field is the total dollar amount of products sold in that category in the last 2 weeks.  &lt;br&gt;
&lt;br&gt;
Under each category are the keyword records that belong to that category.  Normally this list has 500 records however I&#8217;m only displaying the top and bottom five (records 1-5 and 495-500).  These records are always placed in order of popularity.  Meaning record one is searched for more often than record two.  The first field if the record is the keyword itself.  The second field is the number of products sold in the past two weeks that contain that keyword (raw number not dollar amount however I might be able to get that data).  Field three is the number of products currently being offered that contain that keyword.  In other words how many products are competing for that keyword at any given moment.  The last field is a number representing the popularity of the keyword in the regular search engines (Google, Yahoo, etc.).  It&apos;s a weight figure for how many people search for that term in a given month.  I&apos;m not sure how they come up with this number however here is a sampling for reference (sex: 1415948, harry potter: 242471, will smith: 91542, java books 378).  I don&apos;t have this data but I was also thinking of including how many web sites compete for that keyword in Google to do a supply/demand comparison with field four.  I can easily get that data and would like to include that in the computation.&lt;br&gt;
&lt;br&gt;
Some thoughts I have about the data.  The keywords are ordered by popularity like I said.  This alone is only mildly helpful.  I was thinking that the amount of product sold in a category could bring some value to that ranking.  Meaning position 1 in a category that sells 1 million every 2 weeks is more valuable than position 1 in a category that sells $200,000 every 2 weeks.  I also thought the search engine popularity weight number might also bring some value to that order.  If the product ranks high in both areas then perhaps it is of greater overall value. &lt;br&gt;
&lt;br&gt;
This is the data I have at the moment however I&apos;m open to thoughts or suggestions.  I might be able to get additional data if it&apos;s important however I&apos;d like to stay with this if I can.  I&apos;m certain I have access to this data.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
What I would like to do is take this data and compute a value for each keyword that tells me its profitability or value.  I&apos;d like to find out what keywords in this massive list are the best.  I would place this &apos;profitability value&apos; in the final field of each keyword record for someone to review.  The category data (dollar amount sold in that category), keyword order (record 1 is more popular than record 2), and the data in record field 2 and 3 are the most important.  The search engine information is less important (lets say 3 times less important).&lt;br&gt;
&lt;br&gt;
Any help would be greatly appreciated.  Thanks so much for your time.  Have a great day.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
~Antiques,6155459.31&lt;br&gt;
victorian,50984,23124,313&lt;br&gt;
sterling,506010,153977,327&lt;br&gt;
furniture,54095,9618,3605&lt;br&gt;
art deco,18234,13062,424&lt;br&gt;
lamps,182309,56646,580&lt;br&gt;
...&lt;br&gt;
bedroom,11594,3241,709&lt;br&gt;
chest of drawers,194,242,67&lt;br&gt;
cottage,13730,6258,214&lt;br&gt;
photo,1131344,159891,1765&lt;br&gt;
pre columbian,673,246,10&lt;br&gt;
&lt;br&gt;
~Art,33651005.64&lt;br&gt;
aceo,4554,3924,40&lt;br&gt;
obey,3365,1072,205&lt;br&gt;
highwaymen,1875,233,136&lt;br&gt;
thomas kinkade,1566,1379,320&lt;br&gt;
florida,51435,11457,4226&lt;br&gt;
...&lt;br&gt;
boston,76336,20618,3296&lt;br&gt;
mother,120329,19159,1857&lt;br&gt;
vermont,7714,1723,593&lt;br&gt;
poland,10018,3604,1210&lt;br&gt;
cherry blossom,3410,1428,497&lt;br&gt;
&lt;br&gt;
~Baby,1887275.00&lt;br&gt;
clothes,78160,40211,2226&lt;br&gt;
baby,405388,139070,4956&lt;br&gt;
shoes,465883,245167,6373&lt;br&gt;
winnie the pooh,17721,8714,2899&lt;br&gt;
pottery barn,7237,6054,4391&lt;br&gt;
...&lt;br&gt;
nuk,276,126,38&lt;br&gt;
cover,1884691,262594,1030&lt;br&gt;
cradles,861446,30529,41&lt;br&gt;
butterflies,100523,37077,5900&lt;br&gt;
graco car seat,402,224,51&lt;br&gt;
&lt;br&gt;
~Books,99187955.26&lt;br&gt;
easton press,1826,907,63&lt;br&gt;
stephen king,6545,3419,1282&lt;br&gt;
harry potter,22159,7573,7007&lt;br&gt;
nancy drew,4963,1447,757&lt;br&gt;
bible,201307,11721,3081&lt;br&gt;
...&lt;br&gt;
electrical,14574,2904,235&lt;br&gt;
blackjack,334947,9839,967&lt;br&gt;
diary,66830,3756,347&lt;br&gt;
judo,3198,307,356&lt;br&gt;
jane eyre,2981,256,290&lt;br&gt;
&lt;br&gt;
~Business &amp; Industrial,203912902.60&lt;br&gt;
john deere,22686,11873,4646&lt;br&gt;
backhoe,979,572,180&lt;br&gt;
tractor,23708,15907,669&lt;br&gt;
bobcat,3999,980,1521&lt;br&gt;
loader,5620,2906,33&lt;br&gt;
...&lt;br&gt;
buffer,2415,1075,64&lt;br&gt;
boring bar,656,262,10&lt;br&gt;
tig welder,763,422,96&lt;br&gt;
rake,2649,625,62&lt;br&gt;
flow meter,856,485,63</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.95737</guid>
	<pubDate>Thu, 03 Jul 2008 20:05:55 -0800</pubDate>

<category>math</category>

<category>programming</category>

<category>code</category>

<category>algorithm</category>

<category>equation</category>

<category>database</category>

	<dc:creator>JohnGL</dc:creator>
	</item>
	<item>
	<title>Apartment Code Puzzle</title>
	<link>http://ask.metafilter.com/93942/Apartment-Code-Puzzle</link>	
	<description>Cypherfiler: Did anyone check out the &lt;a href=&quot;http://www.nytimes.com/slideshow/2008/06/11/garden/0612-PUZZLE_14.html&quot;&gt;NYT article&lt;/a&gt; about the amazing puzzle/scavenger hunt that was built into the NY apartment? possibly the coolest thing i&apos;ve seen in years. i&apos;m intrigued by the part of the cypher shown but i&apos;ve got a little stuck... &quot;The children&#x92;s bedrooms have radiator covers with poems written specifically for each child cut into them in code. The Caesar Shift cipher in the bedroom of the oldest child, Cavan, was broken by a friend.&quot;&lt;br&gt;
&lt;br&gt;
Caeser Shift works by &quot;shifting&quot; the alphabet a set number of letters along, so F becomes C, G becomes D, etc.&lt;br&gt;
&lt;br&gt;
the code translates to (with odd &apos;errors&apos;):&lt;br&gt;
&lt;br&gt;
cavan, the archer&apos;s child&lt;br&gt;
curioM, bright--your&lt;br&gt;
quicE Gind pivots and&lt;br&gt;
leaps like a dancer.&lt;br&gt;
curiouMity;s light&lt;br&gt;
is to love the question&lt;br&gt;
as much as the answer.&lt;br&gt;
&lt;br&gt;
can anyone figure out the code within the code? seems inexplicable that they&apos;d just screw up those 4 letters, especially as they are the RIGHT letters if you translate the cypher backwards (if C becomes F instead, so M=S, E=K, and G=M).&lt;br&gt;
&lt;br&gt;
why MEGM? (or SKMS or...)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.93942</guid>
	<pubDate>Thu, 12 Jun 2008 17:29:51 -0800</pubDate>

<category>cypher</category>

<category>NYC</category>

<category>apartment</category>

<category>code</category>

<category>newyorktimes</category>

	<dc:creator>xz</dc:creator>
	</item>
	<item>
	<title>Please help me sort this out</title>
	<link>http://ask.metafilter.com/93458/Please-help-me-sort-this-out</link>	
	<description>Sorting algorithm - how would you do this? I have a list of Type objects, somewhere around 100 - 120 objects in the list.  This list determines the persistence order in which any of these objects will be saved to the database.  Because of foreign key constraints, it is important that some objects be saved before others, and therefore be higher up in the list than others.  So I have a shorter list, perhaps a dozen, of types in the correct order and I need to ensure that they appear in that relative order within the larger list.  What is the most stable and efficient way to do this?  I currently have a HashTable with a key of the required relative order and value of the current position within the Type array, and a simple bubble sort as follows:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
            int hashTypesLength = hashTypes.Count - 1;&lt;br&gt;
            int i;&lt;br&gt;
            int j;&lt;br&gt;
            Type tempType;&lt;br&gt;
            int tempIndex;&lt;br&gt;
&lt;br&gt;
            for (i = (hashTypesLength); i &amp;gt;= 0; i--)&lt;br&gt;
            {&lt;br&gt;
                for (j = 1; j &lt;&gt; (int)hashTypes[j])&lt;br&gt;
                    {&lt;br&gt;
                        tempType = typeOrder[(int)hashTypes[j - 1]];&lt;br&gt;
                        tempIndex = (int)hashTypes[j - 1];&lt;br&gt;
&lt;br&gt;
                        hashTypes[j - 1] = hashTypes[j];&lt;br&gt;
                        typeOrder[tempIndex] = typeOrder[(int)hashTypes[j]];&lt;br&gt;
&lt;br&gt;
                        hashTypes[j] = tempIndex;&lt;br&gt;
                        typeOrder[(int)hashTypes[j]] = tempType;&lt;br&gt;
                    }&lt;br&gt;
                }&lt;br&gt;
            }&lt;br&gt;
&lt;/&gt;&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
This works, but is there a better way to approach this?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.93458</guid>
	<pubDate>Sat, 07 Jun 2008 05:33:31 -0800</pubDate>

<category>code</category>

<category>sort</category>

<category>algorithm</category>

	<dc:creator>Lokheed</dc:creator>
	</item>
	<item>
	<title>Leave a comment...Oops, not so fast!</title>
	<link>http://ask.metafilter.com/91290/Leave-a-commentOops-not-so-fast</link>	
	<description>I have a blog on (new) Blogger, and somehow I have managed to remove the envelope icon for &quot;comments&quot; (which may explain why I never have any comments on my blog).  Help! How did I do this, and how do I get it back?  (link to blog, details inside) So, how did I delete the envelope icon?  I did recently add the &quot;feedflare&quot; link to my feed, which puts an ad under the first post, but *none* of the posts have a comment icon, so I am not sure if that is related. I don&apos;t know what to look for in my html code--all the comment sections seem to be there, but obviously something&apos;s missing! &lt;br&gt;
&lt;br&gt;
My blog is &lt;a href=&quot;http://coolmomsrule.blogspot.com&quot;&gt;here&lt;/a&gt;.  Obviously, it&apos;s a self-link, so if you don&apos;t want to click on it, but there&apos;s any advice or questions you have for me to figure this out, please Mefi mail me!&lt;br&gt;
Maybe you have done this, or have something I can try without having to revert to the classic (sucky) template, or showing my html to everyone in the world.  Thanks in advance, hive mind!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.91290</guid>
	<pubDate>Tue, 13 May 2008 09:43:50 -0800</pubDate>

<category>blogger</category>

<category>blog</category>

<category>comments</category>

<category>html</category>

<category>code</category>

<category>coding</category>

	<dc:creator>misha</dc:creator>
	</item>
	<item>
	<title>Do you know what the symbols in this crypt mean?</title>
	<link>http://ask.metafilter.com/90957/Do-you-know-what-the-symbols-in-this-crypt-mean</link>	
	<description>In the &lt;a href=&quot;http://en.wikipedia.org/wiki/Cimitero_Monumentale_di_Milano&quot;&gt;Cimitero Monumentale in Milan&lt;/a&gt; lies a crypt of the Galimberti family.
Cuboid in shape, it bears numerous engravings which appear scientific in nature.
I can make out what appears to be smashing particles, parabolas, lenses, and spirals.
Is there a hidden meaning to all of this? A message? Code? Here are some photos: &lt;a href=&quot;http://www.lorbus.com/archives/blogimages/Galimbertifull.jpg&quot;&gt;Full&lt;/a&gt;, &lt;a href=&quot;http://www.lorbus.com/archives/blogimages/Galimbertifront2.jpg&quot;&gt;Front&lt;/a&gt;, &lt;a href=&quot;http://www.lorbus.com/archives/blogimages/Galimbertifrontdoor.jpg&quot;&gt;Door Detail&lt;/a&gt;, &lt;a href=&quot;http://www.lorbus.com/archives/blogimages/Galimbertileft.jpg&quot;&gt;Left&lt;/a&gt;, &lt;a href=&quot;http://www.lorbus.com/archives/blogimages/Galimbertiright.jpg&quot;&gt;Right&lt;/a&gt;, and &lt;a href=&quot;http://www.lorbus.com/archives/blogimages/Galimbertiback.jpg&quot;&gt;Back&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
If you need bigger images just let me know.&lt;br&gt;
Thanks.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.90957</guid>
	<pubDate>Fri, 09 May 2008 01:28:27 -0800</pubDate>

<category>crypt</category>

<category>symbols</category>

<category>code</category>

<category>physics</category>

<category>7circuitlabyrinth</category>

	<dc:creator>lorbus</dc:creator>
	</item>
	<item>
	<title>programming a fantasy sports site</title>
	<link>http://ask.metafilter.com/89776/programming-a-fantasy-sports-site</link>	
	<description>Can you help me find a tutorial (or book) on the design and programming of a fantasy sports site? (My google-fu is failing me on this one) Also useful: If you can point out an open source program that I can study.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.89776</guid>
	<pubDate>Fri, 25 Apr 2008 10:18:41 -0800</pubDate>

<category>code</category>

<category>programming</category>

	<dc:creator>vega</dc:creator>
	</item>
	<item>
	<title>Dreamweaver/coding help</title>
	<link>http://ask.metafilter.com/89598/Dreamweavercoding-help</link>	
	<description>Dreamweaver filter - I have just set up a site using Dreamweaver and i am getting one piece of the code in the finished site.  HELP!!!  I&apos;m a total noob at coding.  Clearly. Here is the code.  The text on the finished site (in Firefox but not when I preview) is &quot;line decor&quot;  (without the quotes).   What am I missing!!!!???  FYI - in order to have this text in here, I deleted the end &amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
file:///I|/CAREWebsite/pdf/mm_dashed_line.gif&quot;&amp;gt;&amp;lt;img src=&quot;file:///I|/CAREWebsite/pdf/mm_dashed_line.gif&quot; alt=&quot;line decor&quot; width=&quot;4&quot; height=&quot;3&quot; border=&quot;0&quot; /&lt;br&gt;
&lt;br&gt;
You can see it at the &lt;a href=&quot;http://www.aidsinstitute.med.ucla.edu/&quot;&gt;website here&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
I&apos;m a researcher Jim, not a designer!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.89598</guid>
	<pubDate>Wed, 23 Apr 2008 09:26:41 -0800</pubDate>

<category>dreamweaver</category>

<category>website</category>

<category>code</category>

	<dc:creator>Sophie1</dc:creator>
	</item>
	<item>
	<title>In an OOP world, what&apos;s the best way to handle a lot of sequential code?</title>
	<link>http://ask.metafilter.com/88972/In-an-OOP-world-whats-the-best-way-to-handle-a-lot-of-sequential-code</link>	
	<description>Design-pattern (programming) question. I&apos;m working on a huge app (many thousand lines of code), and one of the most complex parts of it is the initialization logic. There&apos;s a ton of code that needs to run sequentially and only once.&lt;br&gt;
&lt;br&gt;
Currently, I&apos;m handling all of this with singletons, but I wonder if there&apos;s a better way.&lt;br&gt;
&lt;br&gt;
Here&apos;s the basic framework now (in pseudocode).&lt;br&gt;
&lt;br&gt;
MainInit.getInstance().init();&lt;br&gt;
&lt;br&gt;
/* inside MainInit&apos;s init() method... */&lt;br&gt;
&lt;br&gt;
DataManager.getInstance().init();&lt;br&gt;
CommandManager.getInstance().init();&lt;br&gt;
GraphicsManager.getInstance().init();&lt;br&gt;
... etc ... //maybe 40 more calls like this&lt;br&gt;
&lt;br&gt;
This seems pretty straightforward and easy to maintain. I don&apos;t have any real problems with it. But it&apos;s sort of off-the-top-of-my-head. I&apos;ve never worked on an app that needs so much initializing before. &lt;br&gt;
&lt;br&gt;
Since it&apos;s not really about objects -- it&apos;s just about tons of code running in sequential order -- I&apos;m not sure of the best, tried and true method of breaking it up into manageable chunks. And I can&apos;t find much about it in my Design Pattern books.&lt;br&gt;
&lt;br&gt;
I&apos;m cool with non design-pattern solutions, too. I know patterns aren&apos;t for everything. I just need a really good way of organizing this sort of code.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.88972</guid>
	<pubDate>Wed, 16 Apr 2008 10:19:40 -0800</pubDate>

<category>code</category>

<category>programmer</category>

<category>application</category>

<category>design</category>

<category>patterns</category>

<category>pattern</category>

<category>designpattern</category>

<category>singleton</category>

<category>singletons</category>

<category>init</category>

<category>initialization</category>

<category>organizing</category>

<category>organization</category>

	<dc:creator>grumblebee</dc:creator>
	</item>
	<item>
	<title>Off the rails...</title>
	<link>http://ask.metafilter.com/88370/Off-the-rails</link>	
	<description>Any good Rails 2.0 books for beginners? The books I have access to are for Rails 1.2. I&apos;m running into brick wall after brick wall getting the opening chapter examples in these books to work with Rails 2.0.2, missing plug-ins, missing template files, scaffolding doesn&apos;t work, etc.&lt;br&gt;
&lt;br&gt;
Instead of installing the Rails 1.2 gem, I&apos;d like to bite the bullet and learn Rails 2.0. Unfortunately, the &lt;i&gt;Rails Way&lt;/i&gt; book apparently is for established Rails coders, of which I am not one. &lt;br&gt;
&lt;br&gt;
I&apos;d call myself reasonably familiar with Java, PHP, etc. and don&apos;t need to learn programming, I just need to get up to speed quickly on how Rails does its magic without poring through oblique Google search results on how to cobble a 2.0 app together from a 1.2 app.&lt;br&gt;
&lt;br&gt;
Are there other Rails 2.0 books or online documentation out now, which have working code examples of a small web application, from start to finish?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.88370</guid>
	<pubDate>Wed, 09 Apr 2008 17:09:14 -0800</pubDate>

<category>rails</category>

<category>ruby</category>

<category>coding</category>

<category>code</category>

<category>book</category>

<category>beginner</category>

	<dc:creator>Blazecock Pileon</dc:creator>
	</item>
	<item>
	<title>Is there a name for this?</title>
	<link>http://ask.metafilter.com/88367/Is-there-a-name-for-this</link>	
	<description>Is there a name for this multilingual phenomena? I was recently introduced to the concept of &lt;a href=&quot;http://en.wikipedia.org/wiki/Code_switching&quot;&gt;code switching&lt;/a&gt;, and inspired by another question posted earlier today, I decided to ask about something that I experience frequently, and wanted to know if someone can put a name on it (I am looking at you, Languagehat).&lt;br&gt;
When recounting a story I have read, television I have watched, or a conversation I have had, I frequently have a hard time recalling what language I read, watched or spoke. For example, I could be telling a friend about a story I read on the internet, and when queried about what country/language the story came from, I simply cannot tell. &lt;br&gt;
For the sake of background, I should note that I am actively and passively trilingual (I am a translator, hence the frequent use of various languages). I use/write/consume all three languages on a daily basis, thereby leading to a bit of confusion as to which language I am actually operating in. I hope this isn&apos;t too vague, but I wonder, what is it called when you don&apos;t know what language you did something in? I thank you in advance for any and all elucidations.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.88367</guid>
	<pubDate>Wed, 09 Apr 2008 16:56:44 -0800</pubDate>

<category>code</category>

<category>switching</category>

<category>multilingual</category>

<category>polyglot</category>

<category>communication</category>

	<dc:creator>msali</dc:creator>
	</item>
	<item>
	<title>You lost me at &apos;compile&apos;...</title>
	<link>http://ask.metafilter.com/87701/You-lost-me-at-compile</link>	
	<description>I&apos;ve inherited a code....and now I need to move it to a 64-bit machine...how to get it to compile?  $&amp;amp;*$%^&amp;amp;! I have a program written in C that I&apos;ve been modifying and running on my regular Windows 2000 machine using MS Visual C++ 6.0.  Now I need to be able to compile and run the code on a Windows XP Professional 64 machine, using MS Visual Studio 2005.  &lt;br&gt;
&lt;br&gt;
I have been able to get the code to compile by copying the .dsw file, but when it runs it has stack errors, which I suspect are from the way the variables are defined. I have been told that there is a way to compile in a 32-bit way, by setting a flag or something...can anyone help me out with this, in very easy language? Or link me to instructions? I&apos;m familiar with computers and several programming languages, but compiling options are beyond me.&lt;br&gt;
&lt;br&gt;
I do not need the program to use the 64-bit capability of the machine, just want to be able to compile and run the same code I was running before, error-free.  Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.87701</guid>
	<pubDate>Wed, 02 Apr 2008 13:11:06 -0800</pubDate>

<category>computer</category>

<category>code</category>

<category>compile</category>

	<dc:creator>lemonade</dc:creator>
	</item>
	<item>
	<title>Clear temp files Quick and Dirty</title>
	<link>http://ask.metafilter.com/86116/Clear-temp-files-Quick-and-Dirty</link>	
	<description>I&apos;d like to create a batch file to clear out my cookies and Temporary Internet Files folder. I&apos;d like a script that I can double click on whenever I feel the need to clear cookies or Temp Internet Files.  I know how to clear them manually on IE.  I just want an easier way.  This is only for IE at work (although I&apos;m a religious Opera user).  I don&apos;t know any visual basic.  I assume a batch file command might work.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.86116</guid>
	<pubDate>Thu, 13 Mar 2008 20:48:02 -0800</pubDate>

<category>code</category>

<category>script</category>

	<dc:creator>sonicbloom</dc:creator>
	</item>
	<item>
	<title>Database application freelancer seeking programming language advice</title>
	<link>http://ask.metafilter.com/86020/Database-application-freelancer-seeking-programming-language-advice</link>	
	<description>I&apos;m planning on starting a database freelancing business. I understand a lot of people prefer Microsoft Access or FileMaker. With the current evolving trend of applications going on the web and add to that my somewhat good experience with PHP, HTML, Javascript and CSS I&apos;m seeking a cross platform efficient application environment. This is why I believe Access and FileMaker are not an option, I&apos;m also more experienced with high level languages than I am with Access or FileMaker. I am currently looking into alternatives. I have been looking at different frameworks and toolkits. These are generally what I have come up with;&lt;br&gt;
&lt;br&gt;
- &lt;a href=&quot;http://gtk.php.net/&quot;&gt;PHP-GTK&lt;/a&gt; (Required &lt;a href=&quot;http://www.gtk.org/&quot;&gt;GTK+&lt;/a&gt; and &lt;a href=&quot;http://php.net/&quot;&gt;PHP&lt;/a&gt;)&lt;br&gt;
- &lt;a href=&quot;http://www.python.org/&quot;&gt;Python&lt;/a&gt; (With &lt;a href=&quot;http://wxpython.org/&quot;&gt;wxPython&lt;/a&gt;/&lt;a href=&quot;http://www.pygtk.org/&quot;&gt;pyGTK&lt;/a&gt;)&lt;br&gt;
- &lt;a href=&quot;http://www.perl.org/&quot;&gt;Perl&lt;/a&gt; (Perl/Tk)&lt;br&gt;
&lt;br&gt;
All those options and similar and require a toolkit and or an interpreter to be installed on the system to work. I&apos;m looking for a cleaner (and possibly compiled or packaged) applications. So I came across other tools such as;&lt;br&gt;
&lt;br&gt;
- Mozilla Gecko (&lt;a href=&quot;http://wiki.mozilla.org/XUL:Xul_Runner&quot;&gt;XULRunner&lt;/a&gt;)&lt;br&gt;
- &lt;a href=&quot;http://www.adobe.com/products/air/&quot;&gt;Adobe Air&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Those seem like the most viable options, however, it would be best if the code was compiled, since each of these applications require a lot of virtual memory. Lastly, I came across &lt;a href=&quot;http://boo.codehaus.org/&quot;&gt;boo&lt;/a&gt; and &lt;a href=&quot;http://www.mono-project.com/Main_Page&quot;&gt;mono&lt;/a&gt;. I like the idea a lot, however there is still the issue of writing and compiling boo code. I only got introduced to boo yesterday.&lt;br&gt;
&lt;br&gt;
I&apos;m very reluctant about getting into Java, C, C++, or C# simply because of the complexity of it compared to the languages above. However, if you have another opinion please feel free to share. I&apos;m open to ideas and criticism. &lt;br&gt;
&lt;br&gt;
I&apos;m confused as to what would be my best option here for a cross platform programming language and framework/toolkit (GUI) for creating portable database (and possible Point of Sale) applications for my town&apos;s local small businesses. What would you recommend?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.86020</guid>
	<pubDate>Thu, 13 Mar 2008 02:34:51 -0800</pubDate>

<category>programming</category>

<category>database</category>

<category>code</category>

<category>framework</category>

<category>toolkit</category>

<category>python</category>

<category>perl</category>

<category>php</category>

<category>gtk</category>

<category>boo</category>

<category>mono</category>

	<dc:creator>mrbloo</dc:creator>
	</item>
	<item>
	<title>I&apos;m having issues with my AddThis button on my blog.</title>
	<link>http://ask.metafilter.com/85028/Im-having-issues-with-my-AddThis-button-on-my-blog</link>	
	<description>I&apos;m having issues with my AddThis button on my blog. So I&apos;m trying to add the AddThis button to the front page of my blog so that readers can email/save/send individual blog posts, though it continues to save my homepage and the AddThis.com website is very unclear as to how to adjust the code.&lt;br&gt;
&lt;br&gt;
I know that other readers may have experienced the same issues... how did you solve it? How should I adjust my code? (I&apos;m using WordPress by the way.)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.85028</guid>
	<pubDate>Sat, 01 Mar 2008 12:13:49 -0800</pubDate>

<category>widget</category>

<category>widgets</category>

<category>addthis</category>

<category>blog</category>

<category>blogging</category>

<category>code</category>

<category>web</category>

<category>website</category>

	<dc:creator>bamassippi</dc:creator>
	</item>
	<item>
	<title>cemr kc TOCEC DRSC QEI CWOVVC VSUO MKXXON FSOXXK CKECKQO</title>
	<link>http://ask.metafilter.com/84083/cemr-kc-TOCEC-DRSC-QEI-CWOVVC-VSUO-MKXXON-FSOXXK-CKECKQO</link>	
	<description>Tell me what cipher I need for my daily commute. I want to write privately in my little notebook, without worrying what words might catch someone&apos;s eye.  Yes, I know nobody actually bothers looking at what anyone else is doing on the subway, but there&apos;s hardly even room in the car to move an elbow, and it makes me more self-conscious than usual.  Besides, I have an Issue about keeping my drafts hidden and secret.  I want to feel comfortable carrying around a notebook with my rough drafts and other sensitive material in my purse, while I travel around to the office and various office-related duties.  &lt;br&gt;
&lt;br&gt;
It doesn&apos;t need any actual security.  It just needs to be opaque enough for the casual gaze or snoop, and by its codeness, say &quot;this is none of your business.&quot;  I tried rot13 for this purpose, but I felt like I was tapping things out in Morse code.  The writing I did in rot13 was strained and telegraphic.&lt;br&gt;
&lt;br&gt;
Can you suggest a cipher that lends itself to being written quickly and fluently?  Or do I just have to practice a simple shift like rot13 until I get the facility to do that?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.84083</guid>
	<pubDate>Tue, 19 Feb 2008 18:43:41 -0800</pubDate>

<category>code</category>

<category>cipher</category>

<category>writing</category>

	<dc:creator>Countess Elena</dc:creator>
	</item>
	<item>
	<title>Now for a FarAway() function, and we can code up a fairytale!</title>
	<link>http://ask.metafilter.com/82543/Now-for-a-FarAway-function-and-we-can-code-up-a-fairytale</link>	
	<description>How do I convert RSS feed timestamps to relative timestamps or &quot;time ago&quot;, for example: &quot;12 minutes ago?&quot; I&apos;ve got a bunch of aggregated RSS feeds, and I would like to display relative timestamps - &quot;timeago&quot;, &quot;timesince&quot; or &quot;fuzzy time&quot;, it seems there are many names for it - in the HTML output, like &lt;a href=&quot;http://www.metafilter.com/contribute/activity/&quot;&gt;Recent Activity&lt;/a&gt; does for registered Mefi users.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.electicker2008.com/php/rss2html.php?XMLFILE=http://pipes.yahoo.com/pipes/pipe.run%3f_id%3d0ip_PMDC3BGza8om60jTQA%26_render%3drss&amp;TEMPLATE=http://electicker2008.com/php/news-template.html&amp;MAXITEMS=8&quot;&gt;Here&apos;s an example&lt;/a&gt; (self-link). Those of you who have seen Electicker will note that the site &lt;a href=&quot;http://electicker2008.com/DRQE8CZYKT.html&quot;&gt;already does this&lt;/a&gt; (self-link), but those feeds are run through Feeddigest and I&apos;d like to move the legwork to my own server (if only for the more frequent updates).&lt;br&gt;
&lt;br&gt;
Do any of you know about an elegant way to do this, preferably in PHP or even Yahoo! Pipes? Note that I will want to do this for a whole bunch of feeds from various sources and native timezones, so I&apos;m guessing there will need to be some timezone conversion (to UTC or something) involved.&lt;br&gt;
&lt;br&gt;
Thanks in advance!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.82543</guid>
	<pubDate>Fri, 01 Feb 2008 09:37:33 -0800</pubDate>

<category>timeago</category>

<category>timesince</category>

<category>relativetime</category>

<category>friendlytime</category>

<category>humantime</category>

<category>fuzzytime</category>

<category>timestamp</category>

<category>timestamps</category>

<category>php</category>

<category>rss</category>

<category>datetime</category>

<category>pubdate</category>

<category>aggregation</category>

<category>aggregator</category>

<category>code</category>

<category>time</category>

<category>date</category>

<category>utime</category>

<category>utc</category>

<category>timediff</category>

	<dc:creator>goodnewsfortheinsane</dc:creator>
	</item>
	<item>
	<title>Compiler, instruction,... Whats your function?</title>
	<link>http://ask.metafilter.com/82294/Compiler-instruction-Whats-your-function</link>	
	<description>I want to conquer my apparent inability to comprehend or write code. I&apos;m looking for stories (or real life applicable tips from those of you who write code for a living) where you had the &quot;A HA, I understand this finally&quot; epiphany moment. I realize this might sound like an overly generic question, which is why there is .... For the past 10 years or so, my computer background has been all support type jobs, mainly Windows and system/network administration. There have been a few times when I&apos;ve been asked to hack some code, but it was all pre-existing HTML, XML or small scripts and I was able to figure it out. &lt;br&gt;
&lt;br&gt;
Fast forward to now. The new job I&apos;ve had for approx 6 months at an ISP where most of the systems are Unix (BSD) based and there is a lot of custom perl scripting . I&apos;ve tried over the past several years to explore the code writing arena (java, perl, php, css,etc) but I&apos;ve never been able to make any significant headway. (nothing beyond &quot;hello world&quot;)&lt;br&gt;
&lt;br&gt;
The problem I have is code writing is severely intimidating to me. I&apos;ve explored our system scripts folder.. and had co-workers attempt to explain the inner workings of the different scripts to me and it literally gives me a headache. Its like looking at a page of klingon writing. My brain seizes up. Seg fault. Game over. (its also very intimidating to me that other people are able to (seemingly) just walk right over and pick up a book and learn code in a weekend. &lt;br&gt;
&lt;br&gt;
So I&apos;ve come to the conclusion(s) that: &lt;br&gt;
&lt;br&gt;
1.) I&apos;m either missing something fundamentally crucial to understanding&lt;br&gt;
or&lt;br&gt;
2.) My brain isnt wired that way (which explains the headaches) and I should instead be investing my time in things more abstract and visual. &lt;br&gt;
or&lt;br&gt;
3.) Coders are very bad teachers&lt;br&gt;
or&lt;br&gt;
4.) ... ????&lt;br&gt;
&lt;br&gt;
Its very frustrating to be so good at so many other things in my life, but have something like this elude me. I would very much enjoy the feeling of accomplishment of being able to code something sweet enough that someone else comments &quot;Hey, thats pretty awesome&quot;&lt;br&gt;
&lt;br&gt;
Questions, Comments?.. I have the night off so I&apos;ll be here to answer them.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.82294</guid>
	<pubDate>Tue, 29 Jan 2008 16:20:10 -0800</pubDate>

<category>code</category>

<category>writing</category>

<category>migraine</category>

<category>doesnotcompute</category>

	<dc:creator>jmnugent</dc:creator>
	</item>
	<item>
	<title>online portfolio creation?</title>
	<link>http://ask.metafilter.com/81312/online-portfolio-creation</link>	
	<description>i&apos;m a freelance writer and want to create a simple website with an online portfolio for my work. id prefer for the pieces to be embedded in the website and not have to be downloaded. right now i have all the files as pdfs, if that matters. i realize that this is a pretty simple order, but the catch is that i want to learn how to do this myself; i don&apos;t want to be beholden to a designer whenever i want to change or add something. what do i know about web design? very little. i know how to google the html code for bold or whatever and cut and pasted it in and that&apos;s about it. so i guess the question is: is there a cheap or free site that can do this for me (i&apos;m thinking like the tumblr or vimeo of online portfolios...or something) or is there a simple few things i can learn to do this myself. thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.81312</guid>
	<pubDate>Fri, 18 Jan 2008 00:26:55 -0800</pubDate>

<category>internet</category>

<category>website</category>

<category>design</category>

<category>portfolio</category>

<category>online</category>

<category>code</category>

	<dc:creator>sacho</dc:creator>
	</item>
	<item>
	<title>Remote Control Code</title>
	<link>http://ask.metafilter.com/77048/Remote-Control-Code</link>	
	<description>I&apos;m looking for the remote control code for a Philips/Magnavox MDV560 VR DVD/VCR combo. I&apos;m looking for the remote control code for a Philips/Magnavox MDV560 VR DVD/VCR combo to use with my universal remote control.  I haven&apos;t been able to find a working code anywhere. I know the universal remote works, and the DVD/VCR works well too so I probably just need the right code.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.77048</guid>
	<pubDate>Sun, 25 Nov 2007 17:06:37 -0800</pubDate>

<category>DVD</category>

<category>VCR</category>

<category>Remote</category>

<category>Code</category>

	<dc:creator>tnoetz01</dc:creator>
	</item>
	<item>
	<title>Looking for an online image rating system.</title>
	<link>http://ask.metafilter.com/76330/Looking-for-an-online-image-rating-system</link>	
	<description>I&apos;m looking for some code or a survey/rating system to rate images for inclusion in a student art journal. Difficulty: no money, no support from college IT. I apologize in advance for the length, but I&apos;m trying to be exacting in my descriptions here.&lt;br&gt;
&lt;br&gt;
Some background: I&apos;m an editor of my college&apos;s student-run journal of literature and art. Every year the staff takes submissions from students, judges the entries, and then publishes a book containing the best work of the student body. In previous years, the judging (for artwork) has worked like this: I create a web gallery with photos of all the art submissions (usually about 650). Each member of the staff goes through the website image by image, and enters their rating (on a scale of 1 - 10) for each piece in an Excel file. We then all send the Excel files to our advisors, who manually add up all the votes. There&apos;s a lot more that happens after that, but that&apos;s the relevant part.&lt;br&gt;
&lt;br&gt;
For many reasons, we need to change this system. What I&apos;m looking for is either some code or a complete survey system that would allow each editor to enter their votes onto the web gallery itself, rather than using separate individual Excel files. My hope is that each page of the gallery would have the image, and a scale of 1 - 10 below that, with radio checkboxes. The editors would vote on all the pieces, and all the votes would be entered in a database that would allow us to view the total score for each piece, as well as how each editor voted. I&apos;ve found a few complete survey packages, but they all seem to be more than what we need (as well as costing a lot more money than a student-run arts journal has available).&lt;br&gt;
&lt;br&gt;
I don&apos;t have that much coding knowledge, but I can follow instructions pretty well if I&apos;m pointed in the right direction. We have our own webhost and have MySQL, PHP, etc. available. One big complication is that the school&apos;s IT department is absolutely unavailable to us (our website isn&apos;t even hosted by the school), but like I said, I can generally figure things out if I know where to look. We could pay for a small survey system if that&apos;s what it comes down to, but as I said most of the ones I&apos;ve looked at are for larger-scale projects than this.&lt;br&gt;
&lt;br&gt;
Thanks for any advice/suggestions/input/whatever. If I can provide any more info please ask.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.76330</guid>
	<pubDate>Thu, 15 Nov 2007 07:24:35 -0800</pubDate>

<category>rating</category>

<category>survey</category>

<category>imagerating</category>

<category>code</category>

	<dc:creator>DulcineaX</dc:creator>
	</item>
	<item>
	<title>Being Digital&apos;s Fortress</title>
	<link>http://ask.metafilter.com/76267/Being-Digitals-Fortress</link>	
	<description>Did anyone ever crack the Negroponte Code? In 1995, long before One Laptop per Child, tech evangelist Nicholas Negroponte authored a book, &lt;i&gt;Being Digital&lt;/i&gt;, that challenged readers to crack an &quot;unbreakable&quot; binary code of his own devising. Negroponte was so certain this code couldn&apos;t be broken that he offered a $100,000 prize out of his own pocket. (The offer was later revoked for legal reasons &#8211; details at the bottom of &lt;a href=&quot;http://www-tech.mit.edu/V115/N47/negroponte.47n.html&quot;&gt;this ancient interview&lt;/a&gt;.) &lt;br&gt;
&lt;br&gt;
Does anyone know the current status of Negroponte&apos;s challenge?&lt;br&gt;
&lt;br&gt;
&lt;small&gt;This was keeping me up last night.&lt;/small&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.76267</guid>
	<pubDate>Wed, 14 Nov 2007 11:54:09 -0800</pubDate>

<category>Negroponte</category>

<category>code</category>

<category>binary</category>

<category>digital</category>

<category>Wired</category>

	<dc:creator>roger ackroyd</dc:creator>
	</item>
	
	</channel>
</rss>

