LaTeX adding extra page
Chapter on the right side - How to turn it off?
Design a custom Beamer theme from scratch load a file and read the information I want to open an Excel file through an Apex dialog box, then browse the information in my file line and display it with visualforce. I show you my code  public class ImportExcel {       public String fileName{get; set;}     public Blob contentFile{get;set;}     public String[] csvFileLines{get;set;}     public List&lt;String&gt; acclist{get;set;}     public String[] data{get;set;}     public ImportExcel(){         csvFileLines = new String[]{};         acclist = New List&lt;String&gt;();      } public void readFile(){         try         {             fileName=contentFile.toString();         }catch(Exception e){         ApexPages.Message myMsg = new ApexPages.Message(ApexPages.Severity.FATAL,'Please upload a valid CSV document');         ApexPages.addMessage(myMsg);              return ;          }         csvFileLines=fileName.split('\n');          system.debug(csvFileLines);         for(Integer i=0;i&lt;csvFileLines.size();i++){             data=csvFileLines[i].split(',');             acclist.add(data[i]);         }     } }   Once I execute my code, it puts me this error:     13:52:13:012 VARIABLE_ASSIGNMENT   [15]|e|"common.apex.runtime.impl.ExecutionException: BLOB is not a   valid UTF-8 string"|0x4e4728 Terminology of the sequences of promoters in relation to DNA strands I'm studying molecular biology and I'm trying to understand an experiment which shows the importance of promoters in the relative transcription level (RT). The image below comes from Rolf Knippers' book "Molekulare Genetik" (8th edition).    The legend says (among other things):     Die erste Zeile gibt die normale "Wildtyp"-Sequenz der 5'-flankierenden Region wieder.   Which, in english, means something like:     The first line repeats the normal wild-type sequence of the 5' flanking region.   The column on the right gives the relative transcription (RT) level, 1.0 being the highest possible level of transcription. As we can see, the lines where some parts of the "5' region" have been deleted give quite low RT levels, since some regions of the promoter are missing.  My questions are the following:  1) According to  and , I understand that RNA polymerase reads and uses both coding and non-coding strands in order to synthesize RNA. Therefore, how did they manage to use the sequences strands regions had been deleted to make a polymerase "read them" and perform transcription?  2) If the polymerase reads the template strand in the 3' -> 5' sense, shouldn't we talk of "ATAT box" or "TAAC box" instead of "TATA" or "CAAT" boxes? Does it mean that the "promoter" regions they are using on the graphic above are actually on the coding strand?  Thanks a lot for your help. Cartesian Product of Two Countable Sets is Countable Retrieve globalpicklist/globalvalueset without SOQL Is it possible to retrieve the values of a Global Picklist/GlobalValueSet using Schema class without a SOQL ? A novel where a woman from "future" of 1999 speaks leet-speak Can you raise a number to an irrational exponent? En Dashes & Hyphens in Same Phrase Without recasting and in lieu of unsightly suspensive hyphenation, could these work? The en dash (which means "to") is used between the figures, and the hyphens are used in the compound modifier. To me, the examples below are concise and clear.  Do you agree that the examples below are 100% punctuated correctly--yes or no?  45–50-year-old men  10–20-mile radius  $45–$55-million-per-year industry  $100,000–$150,000-a-year savings  10–15-degree temperature difference  $2–$5-per-day service fees  45–75-cent-a-week raises  55–65-mph speed zone  15–20-ounce steaks  20%–40%-a-year tax increases I saw there are various manga with Akame ga KILL! in their names.  The ones I have found are:       Which one should I read if I want to continue the storyline of the anime? Use template_include with custom post types I want to check for an appropriate template in the theme folder before falling back to the file in my plugin directory. Here’s my code:  add_filter('template_include', 'sermon_template_include'); function sermon_template_include($template) {     if(get_query_var('post_type') == 'wpfc_sermon') {         if ( is_archive() || is_search() ) :            if(file_exists(TEMPLATEDIR . '/archive-wpfc_sermon.php'))               return TEMPLATEDIR . '/archive-wpfc_sermon.php';            return dirname(__FILE__) . '/views/archive-wpfc_sermon.php';         else :            if(file_exists(TEMPLATEDIR . '/single-wpfc_sermon.php'))               return TEMPLATEDIR . '/single-wpfc_sermon.php';            return dirname(__FILE__) . '/views/single-wpfc_sermon.php';         endif;     }     return $template; }   Problem is, it doesn’t work! :-) It always picks the file in my plugin folder. Any idea what to do? I’ve tried alot of variations but I can’t seem to get anything to work! Thanks in advance! Jack  EDIT  I'm expecting the archive-wpfc_sermon.php to be returned from the theme folder if it exists. However, the file from my plugin always gets returned. Thanks for your help! This is from my Sermon Manager plugin available in the repository. If $AB = I$ then $BA = I$ How do I make a redirect in PHP? $|e^a-e^b| \leq |a-b|$ for complex numbers with non-positive real parts How do I make all the theorem-alike environments have an ending symbol? Does the OP of a flagged post get comment notifications if the post is deleted by mods? Calculating with Mathematica, one can have $$\int_0^{\pi/2}\frac{\sin^3 t}{\sin^3 t+\cos^3 t}\,\mathrm dt=\frac{\pi}{4}.$$   How can I get this formula by hand? Is there any simpler idea than using $u = \sin t$?     Is there a simple way to calculate $$ \int_0^{\pi/2}\frac{\sin^n t}{\sin^n t+\cos^n t}\,\mathrm dt $$ for $n&gt;3$? Could anyone come up with a reference for this exercise? What happens if 2 separate abilities require you to sacrifice a creature? If i have two cards that force opponents to sacrifice every upkeep like for example  "At the beginning of each opponent’s upkeep, Mogis deals 2 damage to that player unless he or she sacrifices a creature."  And  "At the beginning of your upkeep, draw a card unless target opponent sacrifices a creature or pays 3 life."  Does the oppenent have to sacrifice twice? Or if they sacrifice Mogis's ability have they not allowed me to draw from indulgent tormentor? Do I end up richer paying down a mortgage or contributing to an IRA? I have $10,000 extra cash that I can either use to pay down my 5% mortgage, or contribute to my IRA.  I'm 30 years old.  I hope to pay off the mortgage in about 5 years.  I'm stymied, because:   Paying $10,000 into my mortgage earns me $500 a year (in interest savings) for the life of the mortgage -- hopefully 5 years. Paying $10,000 into my IRA earns me roughly a $3000 lowering of my tax bill now (plus CD ROI of about 1% at retirement time.)   So I can get $2500 ($500 a year over 5 years), after which I will have paid my mortgage off with other money; or I could get $3000 in cash right now plus a bit of extra money when I retire.  Even ignoring the future benefits of the IRA contribution, it feels like I should put the money into my IRA: it's an immediate 30% return on investment, as opposed to a 5% return for 5 years.  But if I always make that decision, I won't be paying off my mortgage early, and that $500 will stretch out over 30 years, costing me $15,000!  Which actually leaves me with more money in the end?  What basic principle of math am I missing?  Update:  The principle of math I was missing is that, assuming I'm taxed at the same rate when I retire as I am taxed now, I end up with exactly as much money as if I had invested the $10k and not received a $3k tax reduction.  (Of course, my income level and tax laws will have changed by then, but let's ignore that.)  So the question simplifies to, "Should I put $10k toward eliminating a 5% debt or toward a 1% investment?" in which case I should clearly put it toward the mortgage.  I was confused by the government incentive into thinking that retirement investment was a sweeter deal than it actually is.  This is probably their goal, and probably a noble one :) iOS: Compare two dates I'm trying to prove that $(ma, mb) = $|$m$|$(a, b)$ , where $(ma, mb)$ is the greatest common divisor between $ma$ and $mb$. My thoughts: If $(ma, mb) = d$ , then $d$|$ma$ and $d$|$mb$ → $d$|$max + mby$ → $d$|$m(ax+by)$. This implies that $d$|$m$ or $d$|$(ax+by)$. This is the same as  $d$|$m$ or $d$|$a$ and $d$|$b$, so $d$|$m$ or $d$|$(a,b)$. This is the same as $d$|$m|$ or $d|(a,b)$, so $d$|$|m|(a,b)$. I don't know what to do.