Discrepancy in duplicate messages, including the inability to edit the duplicate list
Two kinds of Duplicate closing are too confusing - suggestion for a possible fix
I have edited (created) the php.ini file and the .htaccess file in accordance with  post. I have also found a plug-in (called Upload Max File Size) that claims to raise the file size limit of media files. With the plug-in activated, I see on the add new media screen that the limit has been changed. However, when I attempt to upload a 2.7MB image, I receive the error:  The uploaded file exceeds the upload_max_filesize directive in php.ini.   The contents of php.ini are:  upload_max_filesize = 32M post_max_size = 32M max_execution_time = 300   My .htaccess file contains:  # BEGIN WordPress  php_value upload_max_filesize 100M php_value post_max_size 1M php_value max_execution_time 300 php_value max_input_time 300  # END WordPress   I am currently hosting the word press site myself and have root privileges to anything. GRUB does not detect Windows Using Apple Script to Manage Sound Output Selection I am brand new here and I have an additional clarification or need additional help for an issue from this thread -   In my preference pane, in addition to Headphones and Digital out, I also have 2 apple monitors and would like the option of selecting one of them as out put (namely the first one in the list).   Basically I need help with adjust his solution to be able to select the third row or first monitor as sound output.  Or a way to accomplish this without knowing how to edit AppleScript for a different setup. Activating 'missing' standard GRASS utilities in QGIS Processing toolbox At the start of the movie it says:      "A long time ago in a galaxy far, far away...."   Does this mean that the entire Star Wars saga takes place in a single galaxy? To my understanding a galaxy isn't very big compared to the universe itself. Star Wars has many different sentient races, and the way they are presented suggests that most planets are host to only one of them (some exceptions like naboo). This strongly leads me to believe there should actually be more galaxies in the Star Wars universe (hehe).   Another thing, I think it's safe to assume that even if the entire saga takes place in one single galaxy, their researchers can observe other galaxies (I think we started doing that in the 1600s, and they are a lot more technologically advanced than we were back then). When Obi-wan is looking for Kamino (the rain planet with the cloners) the librarian says something like "If it's not in our records, it doesn't exist", so she must be convinced that the entire universe has been explored.    If the entire universe has been documented, why wouldn't they go to those other galaxies? The technology seems to be advanced enough to hop to another galaxy. Is there any canon material that suggest that traveling between galaxies is done? If not, is there a canon explanation why they don't? I'm trying to make a page where a user provides an ID of a attachment and the site will set the headers and deliver that file instead of a 404 page. so /download/1754 would lookup the attachment with that Id and output it for viewing/download depending on the file type.  I just can't think of a wordpress friendly way to do this from inside a plugin. I considered using add_rewrite_rule but couldn't see a good way around it, also considered checking $_SERVER['REQUEST_URI'] to deliver the content before any HTML but then I'd have to stop the page from rendering a 404 and I was not sure of a Wordpress friendly way to do this.  My current idea was to have my plugin make a download page, assign a template and have that template run the logic instead of my plugin class. while I have used this before for another situation it was very messy as I had to write a lot of code to force users to be unable to update or edit the file and recreate/delete it on activation.deactivation. so ideally I'd like to avoid that. Can anyone explain why a semi-simple finite dimensional Lie algebra $\mathfrak{g}$ has to be perfect ?   The natural way to prove something like that would be to look to the algebra generated by the Lie brackets, which when $\mathfrak{g}$ is not perfect would be expected to be solvable. But it doesn't seem to work. I'm building an object detector using HOG features and linear SVM. Some of the regions of the object are more "distinctive" so I would like to give more weight to the features extracted from those regions. (e.g. imagine we want to detect between mugs and glasses, then the most "distinctive" part is the mug's handle)  How could I do this? For sure there should be a more intelligent way than just replicating the features of those "distinctive" regions. I use a dual monitor.  The colors appear entirely different on the new monitor than they do on my laptop.  When you are selecting colors etc, to be included in a website design, it totally freaks me out.  Is there no software solution that finds how the settings of one of the monitor is and puts that to the second one?  Otherwise what all settings do I need to change manually on the second monitor to make it appear as it does on the laptop?  Thanks in advance. Line of Bones to Travel and Conform to Curve (Train or snake following path) System.QueryException: List has no rows for assignment to SObject I have this controller but I am getting this error      System.QueryException: List has no rows for assignment to SObject   public class MyController {     private final Account account;      public MyController() {         account = [SELECT Id, Name, Site FROM Account                     WHERE Id = :ApexPages.currentPage().getParameters().get('id')];             }      public Account getAccount() {         return account;     }      public PageReference save() {         update account;         return null;     } } Trying to install CPAN I want to implement designed PID controller. But I am facing the problem of how to limit the saturation limit in both positive and negative direction? I tried using zener diode, but I would like to know if are there any design procedures to get anti-wind up scheme in the  implementation of PID controller using zener/diode combination?  EDIT:  this is the designed pid controller and i am using TL084 op-amps which has +15 volts and -15 volts as their supply. when the error is generated, due to integrator the control signal(Vc) output is going to saturation point of nearly 15 volts. I want Vc to be in the range of (0.85-3.8 volts), so that i can give this to SG3524 PWM IC to generate constant duty ratio PWM pulses. I tried by putting zener diode of 3.3 volt rating, but now Vc is coming upto 3.5 volts(basically saturation limit has come down to 3.5 volts) . The problem is how to limt the Vc to the specified range. Can any one please suggest modifications for proper design of anti-windup  working scheme of this.  Here VFb=-3 volts and VRef= 3 volts Question: If $(1+x)^n=\binom{n}{0}+\binom{n}{1}x+\binom{n}{2}x^2+\dotsm+\binom{n}{n}x^n$, prove that $\binom{n}{1}-2\binom{n}{2}+3\binom{n}{3}-\dotsm+(-1)^{n-1}n\binom{n}{n}=0$  My attempt:  I wrote the expression for $\binom{n}{k}$ for each term in the L.H.S and then tried to simplify but could not reach the R.H.S.  Please help. I have no idea on how to begin. I am not allowed to use calculus. Unable to install any updates through update manager/apt-get upgrade How do you convert a C++ string to an int? Possible Duplicate:          How do you convert a C++ string to an int?  Assume you are expecting the string to have actual numbers in it ("1", "345", "38944", for example).  Also, let's assume you don't have boost, and you really want to do it the C++ way, not the crufty old C way. How do I activate Dauntless Cathar's ability? has the following ability:     {1}{W}, Exile Dauntless Cathar from your graveyard: Put a 1/1 white Spirit creature token with flying onto the battlefield. Activate this ability only any time you could cast a sorcery.   Please clarify. If the card is IN my hand, how can I exile if FROM the graveyard if it is not there? Did the writers mean SEND it to graveyard, or actually exile it? Confused, the writing does not make sense. How to set timeout for web service call I want to call out my web service after the insert process of a custom object with a delay of 2 minutes. But i am getting that exception FATAL_ERROR|System.CalloutException: Read timed out How can i fix that problem ? Here is my implementation.  Callout class:  public class HttpCallout{     @Future(callout=true)     public static void getContent(String url){         Http h = new Http();          HttpRequest req = new HttpRequest();         req.setEndpoint(url);         req.setMethod('GET');         req.setTimeout(2000);          HttpResponse res = h.send(req);         String response = EncodingUtil.urlDecode(res.getBody(),'UTF-8');         System.debug('***response****'+response);     }      public void serviceCaller(){         getContent(url);     } }   Trigger:  trigger AfterInsertOrUpdate on Sales_Order__c (after insert) {     System.debug('Making future call to update account');     HttpCallout httpCallout = new HttpCallout();     httpCallout.serviceCaller();     System.debug('After Insert'); }   Any help would be appriciated. How can I prevent false score reports to global highscore tables? Browser and mobile games commonly have global highscore tables. It's also common for those tables to contain scores of 2,147,483,647 &mdash; where people have figured out the webservice call that reports scores and used it to record a fictitious score.  For simple puzzle games, we can defend against this by including a record of every move the player made (and any random seeds used to generate the level) with the score-reporting call. The entire game can then be reproduced and verified on the server.  However, this quickly becomes infeasible for anything larger than Pac-man.  How else can cheating of this kind be prevented? What reputation do you need on Stack Overflow to receive an invite to Careers?