<?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 normalization</title>
      <link>http://ask.metafilter.com/tags/normalization</link>
      <description>Questions tagged with 'normalization' at Ask MetaFilter.</description>
	  <pubDate>Thu, 29 Oct 2009 07:24:58 -0800</pubDate> <lastBuildDate>Thu, 29 Oct 2009 07:24:58 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Getting to Yes^W 3NF</title>
	<link>http://ask.metafilter.com/136757/Getting%2Dto%2DYesW%2D3NF</link>	
	<description>Need help getting to 3NF when one attribute is functionally dependent on a combination of other attributes. I am having problems working out how to get the following situation (or similar ones) into 3NF.  I know that in production we would probably not want this to get to 3NF because of the performance hit from JOINs;  please ignore such things, this is theoretical.&lt;br&gt;
&lt;br&gt;
The situation I&apos;m struggling with is one where an attribute is transitively dependent through a combination of other attributes in the same table, and how to split that out into 3NF. &lt;br&gt;
&lt;br&gt;
How do you get to 3NF in a situation like the following:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
RoadTrip (&lt;u&gt;tripID&lt;/u&gt;, startLocation, finishLocation, distanceDriven)&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
Details:&lt;br&gt;
tripID is an autonumber/surrogate key&lt;br&gt;
distanceDriven is dependent on both startLocation and finishLocation, because the distanceDriven is the distance between these two locations.&lt;br&gt;
&lt;br&gt;
I have mulled this over in my head and tried to figure it out, I suspect my solution is wrong:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
RoadTrip (&lt;u&gt;tripID&lt;/u&gt;, startLocation, routeID)&lt;br&gt;
FK: routeID references TripRoute.routeID&lt;br&gt;
TripRoute (&lt;u&gt;routeID&lt;/u&gt;, finishLocation, miles)&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
Is that &lt;i&gt;really&lt;/i&gt; how to get this into 3NF?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I can&apos;t find any good examples of this sort of normalization situation through Google;  the examples I see don&apos;t have any cases of finctional dependency on a combination of attributes.  &lt;br&gt;
&lt;br&gt;
The Hive Mind is all that&apos;s left.   Please hope me normalize!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.136757</guid>
	<pubDate>Thu, 29 Oct 2009 07:24:58 -0800</pubDate>
	<category>3NF</category>
	<category>database</category>
	<category>functionaldependencies</category>
	<category>normalization</category>
	<category>thirdnormalform</category>
	<dc:creator>alex.dudley</dc:creator>
	</item>
	<item>
	<title>Normalize mp3s</title>
	<link>http://ask.metafilter.com/117297/Normalize%2Dmp3s</link>	
	<description>Recommend me software, preferably free or cheap, so that I can permanently normalize and clip about 200 mp3s. I&apos;m not looking for something automatic, I don&apos;t mind doing it one tune at a time. What I definitely want to avoid is converting mp3 to something else.&lt;br&gt;
&lt;br&gt;
Extra points if normalizing the mp3 is something the software can do without tons of steps.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.117297</guid>
	<pubDate>Fri, 20 Mar 2009 15:46:21 -0800</pubDate>
	<category>mp3</category>
	<category>normalization</category>
	<dc:creator>edmz</dc:creator>
	</item>
	<item>
	<title>How much database normalization is too much?</title>
	<link>http://ask.metafilter.com/89798/How%2Dmuch%2Ddatabase%2Dnormalization%2Dis%2Dtoo%2Dmuch</link>	
	<description>How much SQL normalization is too much? I&apos;ve listened to the excellent advice in my last &lt;a href=&quot;http://ask.metafilter.com/88394/Ordering-MySQL-queries-by-commaseparated-strings&quot;&gt;question&lt;/a&gt; and decided to start over with my web app. I went from three tables to 17, and now I find myself wondering: how much DB normalization is too much?&lt;br&gt;
&lt;br&gt;
More specifically, if I have a status field which can contain very few entries (no more than four ever for the rest of this app&apos;s life), do I have to pull it out into a separate table?&lt;br&gt;
&lt;br&gt;
For Example, is this:&lt;br&gt;
&lt;strong&gt;Table: course&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Fields&lt;/em&gt;&lt;br&gt;
courseid (1)&lt;br&gt;
coursename (History)&lt;br&gt;
coursestatus (1)&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Table: status&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Fields&lt;/em&gt;&lt;br&gt;
statusid (1)&lt;br&gt;
status (In Production)&lt;br&gt;
&lt;br&gt;
Better than this:&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Table: course&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Fields&lt;/em&gt;&lt;br&gt;
courseid (1)&lt;br&gt;
coursename (History)&lt;br&gt;
coursestatus (In Production)&lt;br&gt;
&lt;br&gt;
Thanks for your help!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.89798</guid>
	<pubDate>Fri, 25 Apr 2008 15:57:49 -0800</pubDate>
	<category>database</category>
	<category>normalization</category>
	<category>sql</category>
	<dc:creator>EduTek</dc:creator>
	</item>
	<item>
	<title>Normalize My Audio</title>
	<link>http://ask.metafilter.com/44988/Normalize%2DMy%2DAudio</link>	
	<description>I want to &lt;a href=&quot;http://en.wikipedia.org/wiki/Audio_normalization&quot;&gt;normalize&lt;/a&gt; the audio output of my DVD player within a certain range. Is this possible? I&apos;m tired of having to turn up the volume when someone is whispering in a movie, only to turn the volume down when the next action scene comes along. I&apos;d like to have it so that the movie isn&apos;t too loud or too quiet. &lt;br&gt;
&lt;br&gt;
I know you can normalize audio on the computer - i&apos;ve done it when making a mix cd from a variety of sources and i want the songs to all be relativley equal in volume.&lt;br&gt;
&lt;br&gt;
Do any dvd players offer this functionality? I realize that to do it proper, it needs to analyze the audio of the entire dvd before playing so that it can determine the &quot;gain&quot; for that particular dvd. And that analyzing might take some time.&lt;br&gt;
&lt;br&gt;
The &quot;midnight&quot; mode on my particular dvd player/receiver doesn&apos;t seem to do the trick, but sometimes having the DSP set to &quot;vocal&quot; helps bring out the talking but not the crash scenes.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.44988</guid>
	<pubDate>Tue, 22 Aug 2006 10:53:42 -0800</pubDate>
	<category>audio</category>
	<category>dvd</category>
	<category>home</category>
	<category>normalization</category>
	<category>theater</category>
	<dc:creator>escher</dc:creator>
	</item>
	<item>
	<title>Help me make music for MuFi</title>
	<link>http://ask.metafilter.com/42370/Help%2Dme%2Dmake%2Dmusic%2Dfor%2DMuFi</link>	
	<description>Can you help me be a better home recording engineer?  I&apos;ve posted some things to MuFi which were pretty fun, but are technically suck-tronic.

I&apos;ve been making music for about 20 years, but have never recorded my work in any serious way and don&apos;t really know what I&apos;m doing.  &lt;br&gt;
&lt;br&gt;
1.  The Rig:  A Shure SM58 to a Eurotrack MX802A mixer to MAGIX audio studio 2005 DeLuxe.  I also use a Korg workcenter and various amps and guitars.&lt;br&gt;
&lt;br&gt;
2.  What&apos;s really killing me is mixing the vocals.  Guitars and banjo with or without amps seem fine but when I try to lay the vocal tracks it just sucks.  &lt;br&gt;
&lt;br&gt;
I know there is no easy answer to this, but perhaps (even though I&apos;ve searched alot) an online totorial or something might be helpful.  I know there are some gurus out there, I&apos;ve heard you on MuFi!  Thanks in advance.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.42370</guid>
	<pubDate>Mon, 17 Jul 2006 19:08:38 -0800</pubDate>
	<category>compression</category>
	<category>mics</category>
	<category>mixing</category>
	<category>MuFi</category>
	<category>music</category>
	<category>normalization</category>
	<category>recordingtips</category>
	<dc:creator>snsranch</dc:creator>
	</item>
	<item>
	<title>The [Title] bone&apos;s connected to the [Lyrics] bone...</title>
	<link>http://ask.metafilter.com/42345/The%2DTitle%2Dbones%2Dconnected%2Dto%2Dthe%2DLyrics%2Dbone</link>	
	<description>MySQL/PHPmyAdmin for a band: How do I easily create a repository of lyrics that can be brought in for multiple albums? Dreamhost server&lt;br&gt;
phpMyAdmin 2.8.0.3&lt;br&gt;
MySQL - 5.0.18-standard-log&lt;br&gt;
(I read somewhere that &quot;Relationships are off&quot;. I tried setting up relationships on another site and got nowhere with it.)&lt;br&gt;
&lt;br&gt;
My database background is Access, but I feel I&apos;ve got a handle on the whole normalization thing and so here&apos;s where I run into problems. A band has [Albums] albums contain [Songs] which have [Songs.Lyrics]. I would like to not have a long text field for each album that has all the lyrics (and their css encoding) - also, some songs are on a couple different albums.&lt;br&gt;
&lt;br&gt;
But how can I set up a many to many structure without relationships?&lt;br&gt;
&lt;br&gt;
Or how do I set it up with relationships in phpMyAdmin? All the documentation seems to say not to do it, or is so advanced, I can&apos;t tell if it&apos;s relevant.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.42345</guid>
	<pubDate>Mon, 17 Jul 2006 13:41:40 -0800</pubDate>
	<category>band</category>
	<category>database</category>
	<category>lyrics</category>
	<category>mysql</category>
	<category>normalization</category>
	<category>php</category>
	<category>songs</category>
	<dc:creator>Brainy</dc:creator>
	</item>
	<item>
	<title>MySQL Normalization Question</title>
	<link>http://ask.metafilter.com/37149/MySQL%2DNormalization%2DQuestion</link>	
	<description>DBAs: Is this a case where I *should not* normalize my database? (PHP/MySQL 4.0.24 question). Long explanation of the situation inside. So here&apos;s the deal -- I&apos;m (re)writing an app that needs to allow users to build questions which can be later used in forms presented by that application use in forms.  Questions that are straightforward (&quot;Fill out this field&quot;, &quot;Pick from these choices&quot;) are very simple to do. However, it gets a little more complicated when you have questions like &quot;Pick from these choices, if other, please fill out the blank&quot; or &quot;If the answer to question 2 is yes, please answer question 3?&quot; -- ie, dependent questions. &lt;br&gt;
&lt;br&gt;
I&apos;m currently storing questions as a single record in the database. When I have multiple choices for each question, I newline-separate them and stick them into a field called &quot;question_data&quot;. When I present this question to a user, I simply grab the question (via ID number) and explode/implode the &quot;question_data&quot; field into the proper HTML markup. I use an arbitrary symbol when I need to do something like the &quot;Other&quot; field above (although I don&apos;t yet have a way of doing the &quot;If the answer to question two is yes, please answer question 3&quot; but I&apos;m sure i could write one.  When I need to perform calculations using this data (ie, how many people answered question 2 with answer B?), I get all the users answers and tally up the occurence of each -- &quot;other&quot; responses are prefixed with an &quot;Other: &quot; string that is trivial to find with PHP. &lt;br&gt;
&lt;br&gt;
Now, this solution has worked well so far because 1) doing database dumps of user demographics is pretty straightforward (I can just dump their question field directly into the report) and 2) everything is just in one field, *even* if it is an &quot;Other&quot; answer -- ie, if the user gives a &quot;non-official&quot; answer, then I don&apos;t have to go look for it. &lt;br&gt;
&lt;br&gt;
I&apos;ve been trying to read more about database design in my spare time (I am by no means a DBA) and it seems like what I&apos;m doing with the question_data field is a big no-no. I can think of some advantages to making another table and having individual records for each question option available, but it seems like calling everything up to display the question (which is the more important thing for this app) would take longer than the way I&apos;m currently doing things (ie, it&apos;d be a join AND I&apos;d have like, 25 rows to deal with). &lt;br&gt;
&lt;br&gt;
So what should I do here? Am I looking at the problem totally wrong? Should I force normalization onto these question options? Is the way I&apos;m using question_options already normalized? &lt;br&gt;
&lt;br&gt;
or is this a case where I should just comma-separate the &quot;question_data&quot; field and upgrade to mysql 5 so I can do FIND_IN_SETs?&lt;br&gt;
&lt;br&gt;
&lt;small&gt; i realize this is a confusing configuration to explain without pictures -- I&apos;ll do my best to fill in any important holes I might have missed.&lt;/small&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2006:site.37149</guid>
	<pubDate>Thu, 27 Apr 2006 13:41:11 -0800</pubDate>
	<category>mysql</category>
	<category>normalization</category>
	<category>php</category>
	<dc:creator>fishfucker</dc:creator>
	</item>
	<item>
	<title>Postal Processing for Client Databases</title>
	<link>http://ask.metafilter.com/15588/Postal%2DProcessing%2Dfor%2DClient%2DDatabases</link>	
	<description>I have a client database with about 200K records in it. Addresses were fed in by a variety of people so there&apos;re tons of typos/missing information and not much in the way of standardization. I need to do some postal processing (CASS, DSF2, LACS and NCOA) on the file. Is that something that&apos;s mostly done in software and so could be done in-house, or does it require a lot of specialized human intervention and so something that it makes more sense to outsource? If it can be done in-house, where would I look for software to do it? If it should be outsourced, what should I expect to pay for a file with 200K records?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2005:site.15588</guid>
	<pubDate>Thu, 24 Feb 2005 14:25:06 -0800</pubDate>
	<category>database</category>
	<category>mailing-list</category>
	<category>normalization</category>
	<category>standardization</category>
	<dc:creator>willnot</dc:creator>
	</item>
	<item>
	<title>Balancing the mix for a full album&apos;s worth of tracks</title>
	<link>http://ask.metafilter.com/15143/Balancing%2Dthe%2Dmix%2Dfor%2Da%2Dfull%2Dalbums%2Dworth%2Dof%2Dtracks</link>	
	<description>I&apos;m mixing an album and I want all tracks to have the same apparent loudness. [that noise comes from inside] I&apos;ve recorded 13 songs, ranging in style from reasonably high-octane punkish rock songs (drums, bass, electric + acoustic guitars, vocals) to solo singer-songwriter material (just vocals and acoustic guitar). &lt;br&gt;
&lt;br&gt;
I&apos;m reasonably acquainted with desktop audio, basic mixing practices etc. I&apos;ve also recorded and mixed songs on a PC before, but never a full album.&lt;br&gt;
&lt;br&gt;
Now the mixes need to be mastered (mainly compression and some EQ) , and I want them to have the same overall subjective volume.  Tastes in compression vary, but I find myself leaning towards the &quot;the louder the better&quot; camp - within the limits of reason, of course.&lt;br&gt;
&lt;br&gt;
How do I go about this? Is there a cut-and-dried method, or is it just trial and error? I understand that the subjective evaluation of tonality and volume is the main governing factor, but is there also perhaps a technical tool that could help, perhaps in the form of a tool that could measure the overall &lt;a href=&quot;http://en.wikipedia.org/wiki/Root_mean_square&quot;&gt;RMS&lt;/a&gt; of a given track?&lt;br&gt;
&lt;br&gt;
All suggestions will be greatly appreciated.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2005:site.15143</guid>
	<pubDate>Mon, 14 Feb 2005 14:10:17 -0800</pubDate>
	<category>audio</category>
	<category>desktopaudio</category>
	<category>mastering</category>
	<category>music</category>
	<category>musicproduction</category>
	<category>normalization</category>
	<dc:creator>goodnewsfortheinsane</dc:creator>
	</item>
	<item>
	<title>WinAmp Normalization</title>
	<link>http://ask.metafilter.com/12589/WinAmp%2DNormalization</link>	
	<description>WinAmpFilter:  The constant variation between too loud and too quiet is killing me. Which WinAmp plug-ins for volume normalization do you recommend?  Yes, I know iTunes does it well, but iTunes doesn&apos;t play nice when I have a couple of other programs open.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2004:site.12589</guid>
	<pubDate>Mon, 06 Dec 2004 18:37:13 -0800</pubDate>
	<category>normalization</category>
	<category>plugins</category>
	<category>volume</category>
	<category>winamp</category>
	<dc:creator>LouMac</dc:creator>
	</item>
	
	</channel>
</rss>

