<?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 by Civil_Disobedient</title>
	<link>http://ask.metafilter.com/search_threads.mefi?user_ID=17115</link>
	<description>Ask MetaFilter posts by Civil_Disobedient</description>
	<pubDate>Sun, 03 Sep 2006 05:51:38 -0800</pubDate>
	<lastBuildDate>Sun, 03 Sep 2006 05:51:38 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>120</ttl>

	<item>
	<title>A query connundrum.</title>
	<description>&lt;b&gt;Attention SQL gurus&lt;/b&gt;.  This has me completely stumped.  How can I find the index (position) of a row in a table without querying the entire set? Here is the situation:&lt;br&gt;
&lt;br&gt;
I have a web application that has some ajaxified tables on many of the pages.  These tables show various slices of data.  Most of the tables are about 10 rows per page, so for example, if the table was a list of all Customers, and you&apos;ve got 10,000 customers, that would be 1,000 &lt;i&gt;pages&lt;/i&gt; of customers.&lt;br&gt;
&lt;br&gt;
To initially show the table, I have to do two queries: one is the initial 10 rows that are to be displayed, the other is a count(*) to get the total amount of rows.&lt;br&gt;
&lt;br&gt;
Here is the problem:&lt;br&gt;
&lt;br&gt;
I have a &lt;i&gt;particular&lt;/i&gt; customer ID in my hand.  I&apos;d like the webtable to take this ID and jump to the correct page that will show that customer.  Naturally, it has to take into account sorting.&lt;br&gt;
&lt;br&gt;
Hypothetical simplified example:&lt;br&gt;
&lt;code&gt;ID    NAME&lt;br&gt;
1102  C_D&apos;s Tavern&lt;br&gt;
1294  Bob&apos;s Discount Dairy&lt;br&gt;
1299  Chico&apos;s House of Wicker&lt;br&gt;
...&lt;br&gt;
9309  Larry&apos;s Llama Emporium&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
If I sort by ID (natural order), the index of Bob&apos;s Discount Dairy would be 2, Chico&apos;s Hosue of Wicker would be 3, etc.  If I&apos;m displaying &quot;page 1&quot;, that means the first 10 indexes, so I know those two would be on the first page.  &quot;OK, so what page is ID# 5129 on?&quot; That&apos;s the problem.&lt;br&gt;
&lt;br&gt;
What I want to know is if there&apos;s a way to figure out the index of a particular ID without having to query the entire dataset.  Or if I &lt;b&gt;do&lt;/b&gt; have to query the entire dataset, I&apos;d like it to be as painless as possible.  Another important note: some of these queries are being run off of VIEWs, which could complicate things.&lt;br&gt;
&lt;br&gt;
This is on Microsoft SQL Server 2000. </description>
		<link>http://ask.metafilter.com/mefi/45807</link>
		<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.45807</guid>
		<pubDate>Sun, 03 Sep 2006 05:51:38 -0800</pubDate>

<category>sql</category>

<category>microsoft</category>

<category>mssql</category>

<category>index</category>

<category>offset</category>

<category>page</category>

<category>row</category>

	<dc:creator>Civil_Disobedient</dc:creator>
	</item>

	<item>
	<title>Help translate this message.</title>
	<description>Please help me translate this message into as many languages as possible: &quot;This is an important notice.  Please have it translated.&quot; These are the languages I&apos;ve already got--if any native speakers (or resident polyglots) happen to notice any mistakes, please let me know.  Hopefully the unicode will post correctly, otherwise I&apos;ll do a follow-up.&lt;ul&gt;&lt;li&gt;This is an important notice.  Please have it translated.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Ogeysiiskan waa mid muhiim ah.  Fadlan, soo turjum.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;&#36825;&#26159;&#19968;&#20214;&#24456;&#37325;&#35201;&#30340;&#36890;&#30693;, &#35831;&#32763;&#35793;&#25107;&#20013;&#25991;.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Man ngec ma pire tek.  Tim ber gony i leb Acholi.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Este es un aviso importante.  Por favor asegure que se traduce.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;&#1069;&#1090;&#1086; &#1086;&#1095;&#1077;&#1085;&#1100; &#1074;&#1072;&#1078;&#1085;&#1086;&#1077; &#1089;&#1086;&#1086;&#1073;&#1097;&#1108;&#1085;&#1080;&#1077;.  &#1055;&#1086;&#1078;&#1072;&#1083;&#1091;&#1081;&#1089;&#1090;&#1072; &#1080;&#1084;&#1077;&#1081;&#1090;&#1077; &#1080;&#1084;&#1077;&#1090;&#1100; &#1077;&#1075;&#1086; &#1073;&#1099;&#1090;&#1100; &#1087;&#1077;&#1088;&#1077;&#1074;&#1077;&#1076;&#1077;&#1085;&#1085;&#1099;&#1084;.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;&#272;&#xe2;y l&#xe0; m&#7897;t th&#xf4;ng c&#xe1;o quan tr&#7885;ng. Xin vui l&#xf2;ng cho d&#7883;ch l&#7841;i th&#xf4;ng c&#xe1;o &#xe2;&#xfd;.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Este &#xe9; um aviso importante. Queira mand&#xe1;-lo traduzir.&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Ceci est important. Veuillez faire traduire.&lt;/li&gt;&lt;/ul&gt; </description>
		<link>http://ask.metafilter.com/mefi/31693</link>
		<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.31693</guid>
		<pubDate>Sun, 29 Jan 2006 14:32:05 -0800</pubDate>

<category>translation</category>

<category>help</category>

	<dc:creator>Civil_Disobedient</dc:creator>
	</item>

	<item>
	<title>Help me identify old TV programs.</title>
	<description>&lt;b&gt;TV&lt;/b&gt;Filter: I&apos;m trying to identify two TV shows.  Both are from the early 90s (IIRC).  The first features a teen who secretly works for a spy agency.  The second is a gritty film-noir-style detective show that takes place in the 40s-50s. I don&apos;t remember much about either show, sadly, so there&apos;s not much more to offer.  I recall the first show&apos;s teen protagonist had a really cute girl interested in him, and there was a lot of hijinks where she&apos;d &quot;almost&quot; discover his identity.  In one episode, she sees him kissing a guy (I think), gets upset, and he later finally tells her his job (I&apos;m probably screwing up some details).&lt;br&gt;
&lt;br&gt;
The second show was very &quot;pulp&quot; feeling, featured a 50s James Dean type character who was a rookie detective (I think).  What I remember most about the show was that it had a really exagerated the film-noir style, took place in either the 40s or 50s (I think the 50s), and possibly in L.A.&lt;br&gt;
&lt;br&gt;
These two shows have been teasing my memories for the past decade, and seeing as how you lot are good at answering these kinds of questions, I thought I&apos;d give AskMe a try. </description>
		<link>http://ask.metafilter.com/mefi/20225</link>
		<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.20225</guid>
		<pubDate>Wed, 22 Jun 2005 04:51:31 -0800</pubDate>

<category>tv</category>

<category>show</category>

<category>teen</category>

<category>spy</category>

<category>1950s</category>

<category>film-noir</category>

	<dc:creator>Civil_Disobedient</dc:creator>
	</item>

	<item>
	<title>Spider Identification, please?</title>
	<description>&lt;a href=&quot;http://www.renegadetourist.com/tmp/spider1.jpg&quot;&gt;Here&lt;/a&gt; are &lt;a href=&quot;http://www.renegadetourist.com/tmp/spider2.jpg&quot;&gt;two&lt;/a&gt; pictures of a kind of rather large (1&quot; long body), nasty spider that I&apos;m finding all over my apartment [scary pictures warning].  Please help me identify it. Geographic info: I&apos;m in the woods in Maine, not far from the coast.  I know they say there are something like a million spiders for every square mile on earth, but I think we&apos;ve got at least that many just in the garage.  I want to know my enemy better, so any help would be appreciated. </description>
		<link>http://ask.metafilter.com/mefi/17683</link>
		<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.17683</guid>
		<pubDate>Tue, 19 Apr 2005 07:14:36 -0800</pubDate>

<category>spiders</category>

	<dc:creator>Civil_Disobedient</dc:creator>
	</item>

	<item>
	<title>Additional bounced check fees?  I deposited a </title>
	<description>Additional bounced check fees?  I deposited a check that ended up bouncing.  Before I figured this out, I wrote a check on the account that subsequently bounced.  So, I get a $25.00 fee for the deposited check, another $25.00 fee for the check I wrote, &lt;b&gt;but now&lt;/b&gt; the institution I wrote the check to wants to tack on an additional $25.00 fee.  Can they do this?</description>
		<link>http://ask.metafilter.com/mefi/13268</link>
		<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.13268</guid>
		<pubDate>Wed, 22 Dec 2004 08:30:03 -0800</pubDate>

<category>checks</category>

<category>finances</category>

<category>bouncedchecks</category>

	<dc:creator>Civil_Disobedient</dc:creator>
	</item>

	<item>
	<title>A question for any male gay mefi members -- or </title>
	<description>A question for any male gay mefi members -- or those in the know.  It&apos;s my understanding that a good percentage of gay men are either exclusively &quot;tops&quot; or &quot;bottoms&quot;.  My question is this: how can you tell?  Are the stereotypical gay mannerisms in fact just a subtle form of communicating this preference?  Do you come straight out and ask?  Or do you wait until the moment is upon you and hope for the best?</description>
		<link>http://ask.metafilter.com/mefi/7118</link>
		<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.7118</guid>
		<pubDate>Sun, 09 May 2004 23:54:42 -0800</pubDate>

<category>homosexuality</category>

<category>gay</category>

<category>stereotypes</category>

<category>top</category>

<category>bottom</category>

	<dc:creator>Civil_Disobedient</dc:creator>
	</item>

    </channel>
</rss>

