<?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 Random</title>
      <link>http://ask.metafilter.com/tags/Random</link>
      <description>Questions tagged with 'Random' at Ask MetaFilter.</description>
	  <pubDate>Sun, 13 Dec 2009 21:17:44 -0800</pubDate> <lastBuildDate>Sun, 13 Dec 2009 21:17:44 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>What is this cryptic Text Message?</title>
	<link>http://ask.metafilter.com/140595/What%2Dis%2Dthis%2Dcryptic%2DText%2DMessage</link>	
	<description>&quot;You Hosting Tonight? Got some of the best Faves ever&quot; What could this possibly mean? My friend got this text message from a wrong number, and we were all stumped as to what on earth it could possibly mean. Could you help me out, Hivemind? I&apos;m just very curious about this; it sounds really funny out of context. For the record, it was received at 1am today (Sunday) from a number in our area code.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.140595</guid>
	<pubDate>Sun, 13 Dec 2009 21:17:44 -0800</pubDate>
	<category>fun</category>
	<category>hosting</category>
	<category>random</category>
	<category>texting</category>
	<dc:creator>MattMangels</dc:creator>
	</item>
	<item>
	<title>What retailers offer random surprise boxes of merchandise?</title>
	<link>http://ask.metafilter.com/139822/What%2Dretailers%2Doffer%2Drandom%2Dsurprise%2Dboxes%2Dof%2Dmerchandise</link>	
	<description>What other retailers offer surprise boxes of random merchandise, such as Archie McPhee&apos;s &lt;a href=&quot;http://www.mcphee.com/shop/products/Surprise-Bag.html&quot;&gt;Surprise Bag&lt;/a&gt; and &lt;a href=&quot;http://www.mcphee.com/shop/products/Jumbo-Mystery-Box.html&quot;&gt;Jumbo Mystery Box&lt;/a&gt;? The only other one I know of is Strapya World&apos;s &lt;a href=&quot;http://www.strapya-world.com/products/36000.html&quot;&gt; Lucky Bag&lt;/a&gt;. &lt;br&gt;
&lt;br&gt;
Also, not interested in Woot&apos;s Bag of Crap... I&apos;m looking for boxes/bags that are available all the time or else at a certain time of year (like how Strapya&apos;s is only available in December.)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.139822</guid>
	<pubDate>Fri, 04 Dec 2009 14:13:03 -0800</pubDate>
	<category>gifts</category>
	<category>luckybag</category>
	<category>mysterybox</category>
	<category>random</category>
	<category>randomgifts</category>
	<category>randommerchandise</category>
	<category>surprisebag</category>
	<category>surprisebox</category>
	<dc:creator>IndigoRain</dc:creator>
	</item>
	<item>
	<title>Playlists won&apos;t stay random after transfer to iPod</title>
	<link>http://ask.metafilter.com/136382/Playlists%2Dwont%2Dstay%2Drandom%2Dafter%2Dtransfer%2Dto%2DiPod</link>	
	<description>Playlists set to random in iTunes won&apos;t stay random on my iPod. How can I fix this? [searched around and didn&apos;t see this exact issue addressed]&lt;br&gt;
&lt;br&gt;
I&apos;ve built a couple playlists (one smart, one regular) for my 5th Gen 30GB Video iPod and set them to random in iTunes. After I sync and disconnect my iPod the playlists are no longer in random order. They are in alphabetical order by album.  In Settings, Shuffle is currently set to songs.&lt;br&gt;
&lt;br&gt;
This hasn&apos;t always been a problem. It just cropped up recently, but I don&apos;t normally use a lot of playlists as I mostly listen to podcasts and audiobooks and just shuffle all songs when I want music.&lt;br&gt;
&lt;br&gt;
What setting am I missing?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.136382</guid>
	<pubDate>Sun, 25 Oct 2009 14:32:43 -0800</pubDate>
	<category>ipod</category>
	<category>playlist</category>
	<category>playlists</category>
	<category>random</category>
	<dc:creator>friarjohn</dc:creator>
	</item>
	<item>
	<title>I need a list of all the countries</title>
	<link>http://ask.metafilter.com/126120/I%2Dneed%2Da%2Dlist%2Dof%2Dall%2Dthe%2Dcountries</link>	
	<description>I&apos;m looking for a randomized list of every nation state in the world, preferably in spreadsheet column form. Is there anything like this?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.126120</guid>
	<pubDate>Mon, 29 Jun 2009 13:55:49 -0800</pubDate>
	<category>column</category>
	<category>countries</category>
	<category>excel</category>
	<category>list</category>
	<category>nations</category>
	<category>random</category>
	<category>spreadsheet</category>
	<dc:creator>billtron</dc:creator>
	</item>
	<item>
	<title>Macbook screen dimming, flicker!</title>
	<link>http://ask.metafilter.com/123520/Macbook%2Dscreen%2Ddimming%2Dflicker</link>	
	<description>My Macbook Core Duo 1.83 GHZ experiences random dimming of the screen, like a flicker, from time to time. I just bought it from my sister in law and installed Leopard on it. She said she&apos;d never had this problem while she was using it, when it had Tiger. I&apos;ve been reading up on the issue on various Mac forums and some people say it&apos;s a screen power inverter issue, which is a hardware issue and would cost money to fix, since the laptop has long been out of warranty.&lt;br&gt;
Others say that the automatic light sensor should be disabled, from somewhere in System Preferences/Display, but I don&apos;t have that option.&lt;br&gt;
&lt;br&gt;
The dimming and brightening does not occur all the time, but still, it&apos;s pretty annoying when it occurs.&lt;br&gt;
&lt;br&gt;
Is there a fix for this?&lt;br&gt;
&lt;br&gt;
Thanks MeFi!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.123520</guid>
	<pubDate>Sun, 31 May 2009 17:02:39 -0800</pubDate>
	<category>dimming</category>
	<category>macbook</category>
	<category>random</category>
	<category>screen</category>
	<dc:creator>spacefire</dc:creator>
	</item>
	<item>
	<title>How do I thank someone who saved my very broke butt from public humiliation?</title>
	<link>http://ask.metafilter.com/118301/How%2Ddo%2DI%2Dthank%2Dsomeone%2Dwho%2Dsaved%2Dmy%2Dvery%2Dbroke%2Dbutt%2Dfrom%2Dpublic%2Dhumiliation</link>	
	<description>How should I thank a stranger who got me out of a small but embarrassing money jam? Backstory: last month I ran out of money. Completely out, all bank accounts in the negative, not fun, and it totally blindsided me. Lots of lessons were learned (like balance my checkbook from time to time, spend more responsibly, etc.) - not the point of the question.&lt;br&gt;
&lt;br&gt;
Anyway, I discovered that I was totally and utterly broke while in the cafeteria line at work - went to ring up my lunch (something like $6.70) and my debit card is declined.  So I&apos;m standing there counting change down to the pennies (and knowing I was going to be a few bucks short), and the line behind me is building up, and the food was like a hot pasta dish or something that I couldn&apos;t just put back, and the cashier is rolling her eyes at me, and just as I&apos;m wishing a hole would open up in the floor and let me disappear, a girl leans over and swipes her card. She tries to run away but I said, &quot;Wait, what&apos;s your name, I have to pay you back!&quot; and she says, &quot;No, don&apos;t worry about it&quot; and scampers off.  &lt;br&gt;
&lt;br&gt;
But she didn&apos;t take her receipt. So I took it, and now I have her name, and from there it&apos;s easy to find out where in my office complex she works. So, what should I do now? Send her a note and 7 bucks? Should I sign it or leave it anonymous?  What should I say that will express my extreme gratitude but not sound totally weird?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.118301</guid>
	<pubDate>Tue, 31 Mar 2009 21:32:30 -0800</pubDate>
	<category>broke</category>
	<category>embarrassing</category>
	<category>gratitude</category>
	<category>lunch</category>
	<category>money</category>
	<category>random</category>
	<category>randomactsofkindness</category>
	<category>thankyounote</category>
	<dc:creator>naoko</dc:creator>
	</item>
	<item>
	<title>Embed Sim City?</title>
	<link>http://ask.metafilter.com/117786/Embed%2DSim%2DCity</link>	
	<description>Is there an embeddable Flash Sim City game anywhere on the Web?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.117786</guid>
	<pubDate>Thu, 26 Mar 2009 05:33:00 -0800</pubDate>
	<category>embed</category>
	<category>flash</category>
	<category>games</category>
	<category>random</category>
	<category>simcity</category>
	<dc:creator>grrarrgh00</dc:creator>
	</item>
	<item>
	<title>stochastic hyperlink required</title>
	<link>http://ask.metafilter.com/117715/stochastic%2Dhyperlink%2Drequired</link>	
	<description>Question about linking pages in a slightly random way with Dreamweaver... I have a basic understanding of html and can make my way around dreamweaver (which I learned by myself, so I am definitely not an advanced user!), but for a multimedia project I&apos;m working on, I&apos;d like to create a specific type of link. I would like to create a hyperlink that points to a group of pages (that would be grouped in a folder, or perhaps there is a tagging system that could be put into place?), but that randomly picks one of these pages (not the one that&apos;s currently live). I&apos;m not sure if this is feasible with my poor programing knowledge, but I would hope there&apos;s a straightforward way to achieve it!&lt;br&gt;
&lt;br&gt;
My idea is that if the audience enjoy a text (or an image for that matter), they could click on it and be directed to another related page, but not in a linear or predictive way.&lt;br&gt;
&lt;br&gt;
Additionnal infos: the project is for an installation, so everything is going to be local (ie on the computer that runs the installation, in safari with mega zoomer). I can use good old dreamweaver 8 and/or flash mx to complete this simple task. I thought for a while that a cms might be easier to deal with to achieve that effect, but I already have a lot of pages already created and know nothing about css.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.117715</guid>
	<pubDate>Wed, 25 Mar 2009 12:47:41 -0800</pubDate>
	<category>dreamweaver</category>
	<category>html</category>
	<category>link</category>
	<category>random</category>
	<category>resolved</category>
	<dc:creator>ddaavviidd</dc:creator>
	</item>
	<item>
	<title>Can I get there whenever?</title>
	<link>http://ask.metafilter.com/116367/Can%2DI%2Dget%2Dthere%2Dwhenever</link>	
	<description>Can I search for the best price for an airline ticket to a specific destination for some random unknown future date? I&apos;d like to fly to a location, but I don&apos;t care what the date is.  I know I&apos;d like to stay for X number of days, but other than that, I just want the best price.  The problem is that all sites I&apos;ve found require a window of time.  Is there a good site for this?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.116367</guid>
	<pubDate>Tue, 10 Mar 2009 14:34:41 -0800</pubDate>
	<category>airline</category>
	<category>date</category>
	<category>random</category>
	<dc:creator>mcarthey</dc:creator>
	</item>
	<item>
	<title>Random Acts of Kindness you have done?</title>
	<link>http://ask.metafilter.com/115776/Random%2DActs%2Dof%2DKindness%2Dyou%2Dhave%2Ddone</link>	
	<description>What &quot;random act of kindness&quot; have you done recently? I&apos;m looking for ideas! I&apos;ve been getting kicks out of doing things for the neighbours in my block recently like taking round half a pie, or babysitting for nothing. &lt;br&gt;
&lt;br&gt;
I now want new ideas of what i can do, not just for them, for the guys who clean the street outside and the bus drivers - everyone. &lt;br&gt;
&lt;br&gt;
What did you do recently for a stranger which brightened their day?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.115776</guid>
	<pubDate>Wed, 04 Mar 2009 03:19:02 -0800</pubDate>
	<category>act</category>
	<category>kindness</category>
	<category>random</category>
	<dc:creator>greenish</dc:creator>
	</item>
	<item>
	<title>ipod touch going crazy?</title>
	<link>http://ask.metafilter.com/115408/ipod%2Dtouch%2Dgoing%2Dcrazy</link>	
	<description>Why does my ipod touch keep rebooting automatically? My ipod touch is 3 months old.  Over the last two weeks, I find that it just reboots randomly several times in a row. The only way to make it stop is to do a hard reboot and then restart. &lt;br&gt;
The trigger most of the time is when I hit the sleep button. What should I do? Update the software or take it back to an Apple store?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.115408</guid>
	<pubDate>Sat, 28 Feb 2009 13:10:40 -0800</pubDate>
	<category>ipod</category>
	<category>random</category>
	<category>reboot</category>
	<category>resolved</category>
	<category>selfaware</category>
	<category>touch</category>
	<dc:creator>special-k</dc:creator>
	</item>
	<item>
	<title>C++ and rand()</title>
	<link>http://ask.metafilter.com/114452/C%2Dand%2Drand</link>	
	<description>C++ and the rand() function.  Please explain why this piece of code works the way it does: &lt;b&gt;cout &amp;lt;&amp;lt; rand() % 20 &amp;lt;&amp;lt; endl;&lt;/b&gt; &lt;b&gt;srand(time(0));&lt;br&gt;
cout &amp;lt;&amp;lt; rand() % 20 &amp;lt;&amp;lt; endl;&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
This returns a random number between 0 and 20, as promised by the book I&apos;m reading as well as internet tutorials.&lt;br&gt;
&lt;br&gt;
If I remove &quot;% 20&quot; from the code and am left with &lt;br&gt;
&lt;br&gt;
&lt;b&gt;srand(time(0));&lt;br&gt;
cout &amp;lt;&amp;lt; rand() &amp;lt;&amp;lt; endl;&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
This returns a really big number like 1847292034.&lt;br&gt;
&lt;br&gt;
Looking at the code, I would think that adding &quot;% 20&quot; should do nothing more than divide a random number like 1847292034 by 20 and return the integer portion (92364601).  But instead the compiler parses it in a different way that says not to generate a random number larger than 20.&lt;br&gt;
&lt;br&gt;
Am I interpreting this wrong?  Why does the compiler interpret this as something other than a mathematical operation?  Is this type of thing common in C++?&lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;
&lt;br&gt;
(I&apos;m using g++ to compile on a Ubuntu system.)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.114452</guid>
	<pubDate>Tue, 17 Feb 2009 10:55:51 -0800</pubDate>
	<category>c</category>
	<category>numbers</category>
	<category>random</category>
	<category>randomnumbers</category>
	<category>resolved</category>
	<category>ubuntu</category>
	<dc:creator>Ziggy Zaga</dc:creator>
	</item>
	<item>
	<title>Is there a word for when you look weird to yourself in the mirror after shaving?</title>
	<link>http://ask.metafilter.com/113123/Is%2Dthere%2Da%2Dword%2Dfor%2Dwhen%2Dyou%2Dlook%2Dweird%2Dto%2Dyourself%2Din%2Dthe%2Dmirror%2Dafter%2Dshaving</link>	
	<description>You know when you haven&apos;t shaved your face for about a week, and then when you do finally shave, you look weird to yourself in the mirror? Is there a word for that (in English or any language?)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.113123</guid>
	<pubDate>Sun, 01 Feb 2009 13:51:24 -0800</pubDate>
	<category>random</category>
	<category>recognition</category>
	<category>shaving</category>
	<dc:creator>tumbleweedjack</dc:creator>
	</item>
	<item>
	<title>Code Execution has been interrupted</title>
	<link>http://ask.metafilter.com/112071/Code%2DExecution%2Dhas%2Dbeen%2Dinterrupted</link>	
	<description>Code Execution has been interrupted:&lt;br&gt;
Continue - End - Debug - Help&lt;br&gt;
*Click Continue*&lt;br&gt;
&lt;br&gt;
*Repeat Indefinitely*&lt;br&gt;
Help?! Hopefully this error will resonate with someone else out there. It sounds hard to believe, but I experience it everyday.&lt;br&gt;
&lt;br&gt;
In Excel VBA, you can hit ctrl+break to interrupt your code execution. When you do so, you get a window with the options:&lt;br&gt;
Continue, End, Debug, and Help. &lt;br&gt;
&lt;br&gt;
This is useful when you WANT to jump into your code to debug, but I&apos;ve noticed something odd.  If I ctrl-break, then immediately click &apos;continue&apos; or &apos;end&apos;, 9 times out of 10 (though usually 100% of the time) the code will enter a mode where it will randomly throw the &quot;Code Execution has been interrupted&quot; window as if I hit ctrl-break, even though I didn&apos;t.&lt;br&gt;
&lt;br&gt;
Clicking Debug to see where it&apos;s stopped shows it halting at different lines everytime.   Ending then restarting the code doesn&apos;t reset anything. Even restarting Excel won&apos;t fix it.  It&apos;s like once that &apos;mode&apos; gets activated, I&apos;m stuck with it until I restart windows. (which so far is my only sure-fire solution)&lt;br&gt;
&lt;br&gt;
I&apos;ve found 2 workarounds:&lt;br&gt;
1. if the &apos;mode&apos; hasn&apos;t begun and I ctrl-break but then hit the F8 button several times(which advances the code execution by several lines), BEFORE clicking &apos;end&apos; or &apos;continue&apos;, it doesn&apos;t seem to activate the &apos;weird&apos; mode.  (Conversely, if I ctrl-break and then immediately click on END or Continue, without advancing, it will start misbehaving)&lt;br&gt;
&lt;br&gt;
2. If I put in the line:&lt;br&gt;
Application.EnableCancelKey = xlDisabled&lt;br&gt;
then this will shut off the Debug window Entirely, allowing the code to finish running without interruption, but it also has the side-effect of preventing ME the ability to ctrl-break, which isn&apos;t useful when I&apos;m trying to debug.&lt;br&gt;
&lt;br&gt;
I&apos;ve &lt;a href=&quot;http://www.eggheadcafe.com/software/aspnet/30038539/code-execution-has-been.aspx&quot;&gt;done &lt;/a&gt;a lot of &lt;a href=&quot;http://www.excelforum.com/excel-programming/497013-code-execution-has-been-interrupted.html&quot;&gt;searching &lt;/a&gt;on this error over the past couple years (culminating in workaround 2 above), but there doesn&apos;t seem to be any useful help for this exact error.  I&apos;d love to know what is going on so I can stop it. Having to restart umpteen times a day or disabling code interruption is not making my life very efficient.&lt;br&gt;
&lt;br&gt;
Most &apos;helpers&apos; &lt;a href=&quot;http://www.mrexcel.com/forum/showthread.php?t=70620&quot;&gt;refuse &lt;/a&gt;to even help unless the user posts code, which in this particular error isn&apos;t helpful since there is no pattern. In addition, my coworkers aren&apos;t able to recreate the error on their computers unless I&apos;m logged in. (indicating to me, it&apos;s a profile issue or even a template problem; see 1. below)&lt;br&gt;
&lt;br&gt;
There are a few general tips I&apos;ve found and tried to no avail.&lt;br&gt;
1.  &lt;a href=&quot;http://word.mvps.org/FAQs/MacrosVBA/TemplateBloat.htm&quot;&gt;VBA bloated templates&lt;/a&gt; But I&apos;m not using any templates, unless it&apos;s the default one, but I always close &quot;Book1&quot; when I start Excel.&lt;br&gt;
&lt;br&gt;
2.  third-party add-in(s).  I had a couple that were continually trying to load up, but I&apos;ve disabled them and it doesn&apos;t seem to help&lt;br&gt;
&lt;br&gt;
3. &lt;a href=&quot;http://www.xtremevbtalk.com/showthread.php?t=116520&quot;&gt;Export all code and re-import it&lt;/a&gt;.   This didn&apos;t help at all.&lt;br&gt;
&lt;br&gt;
So, I&apos;m hoping someone else out there has either experienced this or maybe has some insight on what&apos;s going on here.&lt;br&gt;
&lt;br&gt;
Thanks</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.112071</guid>
	<pubDate>Mon, 19 Jan 2009 13:00:41 -0800</pubDate>
	<category>debug</category>
	<category>excel</category>
	<category>macro</category>
	<category>random</category>
	<category>vba</category>
	<dc:creator>johnstein</dc:creator>
	</item>
	<item>
	<title>Number Generation Question</title>
	<link>http://ask.metafilter.com/109070/Number%2DGeneration%2DQuestion</link>	
	<description>I need to generate the complete series of 5 digit numbers.  The catch?  Can only use even digits (0,2,4,6,8).  I&apos;d like to accomplish this in Excel, if possible.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.109070</guid>
	<pubDate>Fri, 12 Dec 2008 10:06:35 -0800</pubDate>
	<category>digits</category>
	<category>even</category>
	<category>excel</category>
	<category>generate</category>
	<category>numbers</category>
	<category>random</category>
	<category>resolved</category>
	<dc:creator>Rock Steady</dc:creator>
	</item>
	<item>
	<title>Are random acts of kindness not appreciated anymore?</title>
	<link>http://ask.metafilter.com/108120/Are%2Drandom%2Dacts%2Dof%2Dkindness%2Dnot%2Dappreciated%2Danymore</link>	
	<description>Would it be inappropriate to perform so-called &quot;random acts of kindness&quot; to strangers or the people around me without asking? What about with permission? We live in an apartment complex, and we&apos;re supposed to have our trash in our apartment or in the compactor. It&apos;s not supposed to sit on our doorstep for any period of time. But we have one neighbor who leaves trash on his second-story doorstep all the time. So when I was leaving to take out the trash the other day, I saw that once again our neighbors had left their trash on the doorstep. I stopped for a moment and started to go over and get the trash bag (without asking permission) to take it with me since I was on my way anyway.&lt;br&gt;
&lt;br&gt;
This was not out of trying to make the apartment look nicer, or trying to get a point across to our neighbors, it was simply going to be a kind act since I was already going to the compactor anyway. But I stopped myself before I did it and wondered if it would really be appropriate. I don&apos;t know these people, and aside from giving a smile from time to time when we catch each other going in or out of our apartments, I have never formally met or talked to them.&lt;br&gt;
&lt;br&gt;
Another recent occurrence was seeing a woman sitting in her car early one morning in the parking lot, with the windows iced over, apparently waiting for her defrosters to kick in. I was just finishing scraping my own windows, so I considered going over to ask the woman if she wanted me to scrape hers as well since I was early for work anyway. But the same sense of possible inappropriateness stopped me. Again, this was a woman who lived in my complex but I did not know and had not met.&lt;br&gt;
&lt;br&gt;
So I guess the question is, are &quot;acts of kindness&quot; like this appropriate? I know everyone will take them differently, but in our society, would I be considered &quot;that weirdo across the hall&quot; if I did stuff like this? What have you experienced in similar instances, being either the giver or receiver of such acts that might help me decide how to feel?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.108120</guid>
	<pubDate>Mon, 01 Dec 2008 14:04:52 -0800</pubDate>
	<category>acts</category>
	<category>helpful</category>
	<category>kindness</category>
	<category>random</category>
	<category>social</category>
	<dc:creator>joshrholloway</dc:creator>
	</item>
	<item>
	<title>Windows Batch script to pick a random section of text from a source file?</title>
	<link>http://ask.metafilter.com/106808/Windows%2DBatch%2Dscript%2Dto%2Dpick%2Da%2Drandom%2Dsection%2Dof%2Dtext%2Dfrom%2Da%2Dsource%2Dfile</link>	
	<description>What&apos;s the easiest way to make a Windows Batch file that will randomly choose one section from a file and copy it to a new file? Basically, I want to be able to add sections to one file, ideally being able to put some kind of delimiter between sections, and have a Windows batch file (XP-era, if that matters) pull one of those sections out at random and place it into a separate file, replacing what was there from the last run.&lt;br&gt;
&lt;br&gt;
Side notes:&lt;br&gt;
I know &quot;random&quot; isn&apos;t all that random on a computer. If it&apos;s pretty close, that&apos;s fine.&lt;br&gt;
&lt;br&gt;
I&apos;d prefer being able to have some kind of delimiter separate them rather than have it go by line breaks, as I&apos;d like to use line breaks inside sections.&lt;br&gt;
&lt;br&gt;
I don&apos;t mind if I have to update the batch file to explicitly say how many sections are in the source file. If I don&apos;t have to, that&apos;d be shiny, but it won&apos;t change often enough for me to care too much.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.106808</guid>
	<pubDate>Fri, 14 Nov 2008 10:43:52 -0800</pubDate>
	<category>bat</category>
	<category>batchfile</category>
	<category>random</category>
	<category>script</category>
	<category>windows</category>
	<dc:creator>John Kenneth Fisher</dc:creator>
	</item>
	<item>
	<title>Does anyone know how I could find a broken-down looking bus on short notice?</title>
	<link>http://ask.metafilter.com/101299/Does%2Danyone%2Dknow%2Dhow%2DI%2Dcould%2Dfind%2Da%2Dbrokendown%2Dlooking%2Dbus%2Don%2Dshort%2Dnotice</link>	
	<description>I need a broken down looking bus in Raleigh NC. How can I find one of those? To make a long story short, I&apos;m looking to find a dilapidated old bus to serve as a background for a media event I&apos;m putting together.&lt;br&gt;
&lt;br&gt;
How does one find such a thing? A junkyard? A school?&lt;br&gt;
&lt;br&gt;
As an aside, I often find myself with location specific local questions like this that I feel silly asking metafilter about. Is there some way to localize ask metafilter? Maybe create a listserve? Anyone want to help me put together a NC one?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.101299</guid>
	<pubDate>Tue, 09 Sep 2008 13:58:53 -0800</pubDate>
	<category>bus</category>
	<category>dilapidated</category>
	<category>localfilter</category>
	<category>random</category>
	<dc:creator>willie11</dc:creator>
	</item>
	<item>
	<title>How to DIY distribute an album on the internet?</title>
	<link>http://ask.metafilter.com/94534/How%2Dto%2DDIY%2Ddistribute%2Dan%2Dalbum%2Don%2Dthe%2Dinternet</link>	
	<description>Is there any sort of code available / software / how would I design a digital download distribution model for an independant band? My band is releasing our first full length this month, and we&apos;re keeping everything as DIY as possible (we recorded / mastered the thing, we did the art, and we&apos;re going to be doing the promotion / pressing of it for the most part). We are going to have physical copies available for purchase at shows, but we want to have people be able to buy and download the FLACs and JPGs of the album art from our website. We don&apos;t want to use iTunes or any other established solution, because we&apos;re going to sell the thing for cheap (3 bucks) and any sort of profit we&apos;d make from it would probably go right back into paying for iTunes and such. We&apos;d just set up a Paypal donation thing and then send people to a download link, but we&apos;re afraid that people will just send the download link to their friends (we&apos;re aware that all music on the internets gets shared, and we&apos;re fine with that, but we don&apos;t want to make it THAT) easy. &lt;br&gt;
&lt;br&gt;
Is there any solution that we can use where people can Paypal us 3 bucks and then somehow be directed to a unique download link or site, without us having to manually send it every time someone buys the thing? Or any better solution / existing infrastructure we haven&apos;t thought of?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.94534</guid>
	<pubDate>Thu, 19 Jun 2008 17:00:24 -0800</pubDate>
	<category>album</category>
	<category>digital</category>
	<category>download</category>
	<category>music</category>
	<category>paypal</category>
	<category>random</category>
	<category>sales</category>
	<dc:creator>Mali</dc:creator>
	</item>
	<item>
	<title>Excel-Filter - How do I randomly reorder an array?</title>
	<link>http://ask.metafilter.com/91303/ExcelFilter%2DHow%2Ddo%2DI%2Drandomly%2Dreorder%2Dan%2Darray</link>	
	<description>Someone asked me if I could use Excel to take a table of information and put it into a new table randomly.  Without thinking about it too hard I said &quot;Yeah, I bet I could do that.&quot;  Turns out I spoke too soon.  Assume a 10 X 10 array, filled with data (for my test runs, I&apos;ve been using the cell addresses as the data, so A1 has &quot;A1&quot; in it, B2 has &quot;B2&quot;, etc.)   The task is to populate a new 10 X 10 array with the same data, but in random order.  &lt;br&gt;
&lt;br&gt;
I&apos;m not having any trouble with the randomness part, I&apos;ve got a couple of solutions working for generating random cell references.  I am having trouble making sure that every reference is generated at least once and only once.  Thinking about it another way, I want to generate the numbers 1-100 in random order without any number repeating.&lt;br&gt;
&lt;br&gt;
I have come up with a really cludgy solution where I generate enough random numbers to make sure that every number comes up at least once and then filter that list to remove repeats.  (thanks to &lt;a href=&quot;http://ask.metafilter.com/88981/Excel-2007-Duplicate-Data-Removal-Issue&quot;&gt;this thread&lt;/a&gt;)&lt;br&gt;
&lt;br&gt;
But, I was hoping for something a little more elegant that that.  I&apos;d also like it to work automatically and I haven&apos;t been able to create a Macro that will automate that filtering operation.  Oh, and I also don&apos;t know how many data elements will be in the table that needs to be randomized, and, while stats was a long time ago, I bet I&apos;d need a lot of random numbers to be sure of generating every number from 1-1000, for example.&lt;br&gt;
&lt;br&gt;
So, any ideas?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.91303</guid>
	<pubDate>Tue, 13 May 2008 11:24:39 -0800</pubDate>
	<category>array</category>
	<category>excel</category>
	<category>random</category>
	<category>table</category>
	<dc:creator>qldaddy</dc:creator>
	</item>
	<item>
	<title>Computerized &quot;Job Jar&quot;?</title>
	<link>http://ask.metafilter.com/90718/Computerized%2DJob%2DJar</link>	
	<description>I would like randomly selected items from a To-Do list to &quot;float to the top&quot; on a regular basis.  Ideas? Ok, so growing up, we had chores to do and things that needed doing around the house.  Trying to assign them or claim them permanently never worked out very well, so we wrote anything that needed doing on slips of paper, put them in a jar.  Every Sunday you took one item out of the jar and were stuck doing whatever was on the paper.  Sometimes it was quick and easy, sometimes it was a real pain.  But the luck of the draw made it easier to tolerate.&lt;br&gt;
&lt;br&gt;
I have a Tasks list in Outlook that when printed out is several pages long, full of 4-hour or 8-hour projects.  Guh.  Obviously, it&apos;s too big to help me get it all done, and there&apos;s always some other needs-doing item I&apos;d prefer to do that can push a more unpleasant task out of the way.  I&apos;d like to cut everything but this week&apos;s absolutely necessary &quot;next action&quot; items from my Tasks list, and have the rest somewhere else.&lt;br&gt;
&lt;br&gt;
What I would like to do is block out a day or half-day each week for the &quot;Job Jar&quot;.  By some sort of magic, that big list of items would have one or two projects percolate to the top somehow, and notify me.  They&apos;d go in that week&apos;s block of time as Must-Dos, rather than languishing away on a Someday list as they do now.&lt;br&gt;
&lt;br&gt;
I&apos;ve seen a lot of productivity hacks go by on MeFi - does anyone have ideas?&lt;br&gt;
&lt;br&gt;
I doubt Outlook would be able to do this for me, so any other tool that would do this is worth it.  Gimme whatever you got.&lt;br&gt;
&lt;br&gt;
I&apos;m not interested in the obvious choice of assigning due dates beforehand to these projects and getting notified that way.  If I am allowed to make choices about what&apos;s due when, then the whole element of random assignment I&apos;m looking for is lost.  I&apos;m lousy at making deals with myself (I practice active procrastination), but can keep a Job-Jar-like pact; so  I&apos;m looking for something that can randomize listed items and deliver one or two a week.&lt;br&gt;
&lt;br&gt;
Super double special rainbow pony bonus points for something that&apos;s smart enough to give me one item listed as All-Day or two listed as Half-Day.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.90718</guid>
	<pubDate>Tue, 06 May 2008 16:35:11 -0800</pubDate>
	<category>GTD</category>
	<category>hack</category>
	<category>lifehack</category>
	<category>productivity</category>
	<category>Random</category>
	<category>ToDo</category>
	<dc:creator>penciltopper</dc:creator>
	</item>
	<item>
	<title>What is a good sample size for determining whether dice are truly random?</title>
	<link>http://ask.metafilter.com/90200/What%2Dis%2Da%2Dgood%2Dsample%2Dsize%2Dfor%2Ddetermining%2Dwhether%2Ddice%2Dare%2Dtruly%2Drandom</link>	
	<description>How many times would I have to roll a standard 6-sided die to get a statistically representative view of whether it was truly random or not? I have a bunch of dice that I haven&apos;t used in years.  The other day, I was playing with one, and I noticed that the 5 came up fairly often.  I started rolling the die and writing down the results, to see if it was just a short term statistical fluke, or observer bias, or if the die really favored the 5.&lt;br&gt;
&lt;br&gt;
I think I ended up rolling it around 200 times, and 5 definitely had a significant edge.&lt;br&gt;
&lt;br&gt;
Now, I&apos;d like to check my other dice.  However, I&apos;m not a statistician.  I understand that, obviously, the larger your data set (the more times you roll each die and write down the results), the better your analysis of non-randomness will be.  However, I know that it isn&apos;t necessary to roll the die 1 billion times to check for randomness, that there is some generally accepted statistical minimum, below which the margin of error is too large, and above which the margin of error is generally considered acceptable.&lt;br&gt;
&lt;br&gt;
How many die rolls is that point?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.90200</guid>
	<pubDate>Wed, 30 Apr 2008 11:41:41 -0800</pubDate>
	<category>dice</category>
	<category>die</category>
	<category>probability</category>
	<category>random</category>
	<category>randomness</category>
	<category>sampling</category>
	<category>statistics</category>
	<dc:creator>Bugbread</dc:creator>
	</item>
	<item>
	<title>Code For A Random Blog Post?</title>
	<link>http://ask.metafilter.com/89890/Code%2DFor%2DA%2DRandom%2DBlog%2DPost</link>	
	<description>I have a blog and would like to add a &quot;Random Post&quot; button. I&apos;m hosted with a company called Blogware which, unlike Blogger and WordPress, seems to have &lt;a href=&quot;http://phydeaux3.blogspot.com/2007/04/blogger-feeling-lucky-widget.html&quot;&gt;no no way to add a &quot;random post&quot; button&lt;/a&gt;.  &lt;br&gt;
&lt;br&gt;
I&apos;m not a programmer but suspect this should be fairly easy to do.  I&apos;d like advice on how to go about this - do I try to do it in JavaScript?  PHP?  Something else?  Whatever&apos;s the easiest solution is best for me.  (Major bonus points if someone provides the code itself that would do this, either as a text link or a button I can add.)  &lt;br&gt;
&lt;br&gt;
All posts on my blog have the basic format of: http://blog.jason.hammond.net/blog/_archives/yyyy/m/dd/&lt;br&gt;
&lt;br&gt;
...so if I can define the start date of my blog (Feb 28, 2006) and occasionally update the script with the most recent date of a post as an end point, that would be close enough for what I want.  (I try to post daily but don&apos;t mind if users end up on a blank day or don&apos;t have every single recent post I&apos;ve made in the range.)&lt;br&gt;
&lt;br&gt;
I should also mention that I&apos;m not able to get to the &quot;guts&quot; of the site but can add third-party widgets and other bits of code.  &lt;br&gt;
&lt;br&gt;
To do this, I think I need to:&lt;br&gt;
- define the start date of the range (2006/2/26)&lt;br&gt;
- define the end date (for now, say 2008/4/26) and be able to easily change this monthly or whenever I get a chance&lt;br&gt;
- generate a random date in the format yyyy/m/dd&lt;br&gt;
- append that to the URL: &quot;http://blog.jason.hammond.net/blog/_archives/&quot;&lt;br&gt;
- go to that URL&lt;br&gt;
&lt;br&gt;
Thanks very much in advance for your help!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.89890</guid>
	<pubDate>Sun, 27 Apr 2008 08:31:13 -0800</pubDate>
	<category>blog</category>
	<category>post</category>
	<category>programming</category>
	<category>random</category>
	<dc:creator>Jaybo</dc:creator>
	</item>
	<item>
	<title>My iPod Touch wants to be a Shuffle.</title>
	<link>http://ask.metafilter.com/89193/My%2DiPod%2DTouch%2Dwants%2Dto%2Dbe%2Da%2DShuffle</link>	
	<description>My new iPod Touch will not sequence an album in the proper order. I cue an album, push play, and it shuffles randomly from song to song. 
Any ideas to get me back on track? Yes, I&apos;m sure it&apos;s not in shuffle mode. Yes, I double and triple checked. Yes, I use standard file naming that has worked flawlessly for my iPod Classic and Nano (i.e. 01_songname) and have populated the Track field, too (i.e. 1 of 10). And yup, I&apos;ve cleared the drive and re-uploaded the files, updated the iTunes and Touch firmware, googled, yahooed, asked other Touch owners and so on to no avail. &lt;br&gt;
&lt;br&gt;
I tried living with it for a week, but, you know, Dark Side of the Moon just isn&apos;t the same all discombobulated. &lt;br&gt;
&lt;br&gt;
Anyone else experienced/fixed this issue?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.89193</guid>
	<pubDate>Fri, 18 Apr 2008 15:16:14 -0800</pubDate>
	<category>album</category>
	<category>ipod</category>
	<category>order</category>
	<category>playlist</category>
	<category>random</category>
	<category>shuffle</category>
	<category>song</category>
	<category>touch</category>
	<dc:creator>prinado</dc:creator>
	</item>
	<item>
	<title>Help me play with my image collection!</title>
	<link>http://ask.metafilter.com/88252/Help%2Dme%2Dplay%2Dwith%2Dmy%2Dimage%2Dcollection</link>	
	<description>I have a large image collection that I use for illustration reference. Are there any programs (I have a mac, but could get access to a PC if there&apos;s something cool) that can play with large collections of images in unexpected ways? Here are two examples of something I&apos;d like to play with. Since the collection is so large that  I can never get an overview, one thing that I could use is something that can pull &quot;X&quot; number of images from a folder, and I can just hit refresh, pulling up unexpected combinations for inspiration. Another thing is something that uses math to maybe pull images and slice or rearrange, flip, make a rorsach, a mandala, etc. Basically I&apos;m not looking for something to make art (I don&apos;t really have an interest on sorting things by dominant colors or anything like that) so much as something to use to view my images in new ways with very little manual input from me. Just slamming them together. The more random and simpler to modify variables, the better. Maybe I need to learn to make something myself?&lt;br&gt;
&lt;br&gt;
Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.88252</guid>
	<pubDate>Tue, 08 Apr 2008 17:30:08 -0800</pubDate>
	<category>collection</category>
	<category>combinations</category>
	<category>image</category>
	<category>inspiration</category>
	<category>manipulation</category>
	<category>random</category>
	<category>randomize</category>
	<dc:creator>apetpsychic</dc:creator>
	</item>
	
	</channel>
</rss>

