Is there a way to ignore an out parameter? I.e.    bool myIntIsValid = int.TryParse(stringValue, void);   or  bool myIntIsValid = int.TryParse(stringValue, out new int());
I'm making a call:  myResult = MakeMyCall(inputParams, out messages);   but I don't actually care about the messages.  If it was an input parameter I didn't care about I'd just pass in a null.  If it was the return I didn't care about I'd just leave it off.    Is there a way to do something similar with an out, or do I need to declare a variable that I will then ignore?
Trigger a button click with JavaScript on the Enter key in a text box Background on color perception:  Due to the nature of the human eye and visual processing by the brain, there's an optical illusion that the same color will look different depending on the background.   It is known as the , illustrated below — center rectangles are identical:   Source:   An illustration  makes the effect of the background's color even more obvious:     Source:   (Note how the two upper-most colors in the second image appear the same, but are actually completely different.)    What about web design?  My question pertains to web design, specifically in this case, the color of link text on different backgrounds.  For a given color of text, how can one find the complementary color to make it appear the same on a certain background?    Let's take a look at an example for this question:  Consider my example below, with yellow text #FFF000 on the following backgrounds:    white #FFFFFF, black #000000, and grey #555555.          As expected, doesn't look the same at all. ()  How can we make it look the same on all three? Clearly, the text on the white background needs to be a darker yellow, and the one on the grey needs hue/tone adjustments. (The surrounding text will also affect it — but that's likely harder to account for.)  Can this perfect color somehow be calculated, based on the Hex, RGB or another system? That's where the crux of this question lies, as it would be much more efficient than manually approximating. @future method: Unsupported parameter type I am trying to copy records from one org to other via web services. I am calling a class which has logic written into a trigger. But @ future method is not taking sObject  list as a parameter. Can someone suggest me an alternative?  The Code:  public class webServicesTriggerClass   {     @future public static void webServicesMethod(list&lt;MyFriend__c&gt; mfList)     {         partnerSoapSforceCom.Soap sp = new partnerSoapSforceCom.Soap();       partnerSoapSforceCom.LoginResult lr = sp.login('hitesh.kumar.singh@accenture.com.varun','4Rajyavardhan');      soapSforceComSchemasClassNiralaapp.SessionHeader_element ses = new soapSforceComSchemasClassNiralaapp.SessionHeader_element();      ses.sessionId = lr.sessionId;       soapSforceComSchemasClassNiralaapp.MyFriendsDetailSoapApi vNapp=new soapSforceComSchemasClassNiralaapp.MyFriendsDetailSoapApi();      for(MyFriend__c mf:mfList)       {        string  s1= mf.myEmail__c;        string  s2=mf.friendName__c;         string  s3=mf.friendEmail__c;        string  s4=mf.aboutFriend__c;        integer i1=Integer.ValueOf(mf.age__c);        boolean result=vNapp.addFriendDetails(s1,s2,s3,s4,i1);        system.debug('################' +result);           }     }    }     Trigger-->  trigger webServicesTrigger on MyFriend__c (after insert)     {      webServicesTriggerClass.webServicesMethod(trigger.new);    }     Error--    Error: Compile Error: Unsupported parameter type LIST at line 3 column 30 I am a newbie in Latex. My goal is to have the word "Chapter" in the title of any chapter, and the word "Appendix" in the title of appendix. I also want to add "Appendix" in TOC. However, using the following MWE from my university, I end up having "Appendix A" in TOC. How can I remove the letter "A" in TOC.  \documentclass[12]{thesis}  \RequirePackage{tocloft} \RequirePackage{titlesec} \usepackage[titletoc]{appendix}  \newcommand{\spacemultiplier}{1.5} \renewcommand{\baselinestretch}{\spacemultiplier}\normalsize  \renewcommand{\frontmatter}{ %TABLE OF CONTENTS \addcontentsline{toc}{chapter}{Contents} {\renewcommand{\baselinestretch}{1}\normalsize \tableofcontents } \newpage \titleformat{\chapter}[display]{\renewcommand{\baselinestretch}{1.5}\LARGE\sc\fillast}{Chapter   \thechapter}{0pt}{}[\renewcommand{\baselinestretch}{\spacemultiplier}\normalsize] \titlespacing{\chapter}{0pt}{1.4cm}{20pt} \setcounter{chapter}{0} }  % Appendix setup \newcommand{\universityappendix}{ \appendix \titleformat{\chapter}[display]{\renewcommand{\baselinestretch}{1.5}\normalsize \LARGE\sc\fillast}{Appendix}{0pt}{} \titlespacing{\chapter}{0pt}{-30pt}{20pt} \renewcommand{\baselinestretch}{1.5}\normalsize }   \begin{document}  \frontmatter  \chapter{blah blah} This is a chapter  \universityappendix \begin{appendices} \chapter{blah blah} this is appendix \end{appendices} \end{document}   Thanks I’m looking for an alien movie I watched years ago, mid to late 2000’s about the Earth being cooked or heated up by aliens. The poster is a reflection of the Earth heating up with an orange glow on an aliens eye. It was a low budget movie and I think the one I watched was pirated from China. Again low budget, bad quality and the name could’ve been something worthy he word scorch or something like that. The alien in the movie had legs with knees that went inwards and it had red eyes. I wanna create a new partition from the existing root partition.My root partition is about 250GB.I wanna create a new partition say 150 GB taking space from this root partition.Can anyone help me with the procedure on doing this?  output: fdisk -l  karthick@karthick:~$ sudo fdisk -l [sudo] password for karthick:   Disk /dev/sda: 250.0 GB, 250000000000 bytes 255 heads, 63 sectors/track, 30394 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x28219744  Device Boot      Start         End      Blocks   Id  System /dev/sda1   *           1          61      487424   83  Linux Partition 1 does not end on cylinder boundary. /dev/sda2              61       30395   243650561    5  Extended /dev/sda5              61         124      498688   82  Linux swap / Solaris /dev/sda6             124         186      498688   82  Linux swap / Solaris /dev/sda7             186       30395   242651136   83  Linux Festival stores voicepack data in the following example directory structure:  /usr/share/festival/voices/&lt;language&gt;/&lt;voicepack name&gt;  What is the simplest one-liner (preferably using ls) to print out just the &lt;voicepack name&gt;'s, in all the potentially numerous &lt;language&gt; subdirectories? I am trying to find all directories in a folder recursively while exclude all git submodules  by excluding all path containing .git file. How could I do it?     Explanation:  .git file exists at the root of every submodules folder. This submodule folder could be included anywhere.    Test Case  $ mkdir Test $ cd Test $ mkdir a $ mkdir b $ mkdir c $ cd a $ mkdir .git $ cd .. $ cd b $ touch .git $ cd .. $ cd c $ mkdir c1 $ mkdir c2 $ cd.. $ find . -type d \( \( ! -name . -exec [ -e {}/.git ] \; -prune \) -o \( \( \  -name .git\  -o -name .vscode\  -o -name node_modules\  -o -name Image\  -o -name Rendered\  -o -name iNotebook\  -o -name GeneratedTest\  -o -name GeneratedOutput\   \) -prune \) -o -print \) | sort    Expected Results  . ./a ./c ./c/c1 ./c/c2 Cannot find hard drives after installing Ubuntu 13.10 What exactly is tested when a fire extinguisher is tagged? I am just curious: the obvious is that the  pressure mass   can be inspected /measured to ensure that the device has not been discharged. Is there anything else that is measured \ checked? Is there a direct download link with a raw data dump of Stack Overflow? (not a torrent) I would like to create a local MySQL copy of Stack Overflow for academic purposes (school project). As far as I know, the database dump of the  database is available only in an XML format that I will have to convert to SQL on my own with some tool.  Most of direct download links I found were broken (404). The only non-torrent source that I have found and that is still alive is  but the latest Stack&nbsp;Overflow dump there is from October 2009, content of which looks like this:    Where could I find a direct download link with the Stack&nbsp;Overflow dump?    Note: I am not able to use torrents due to network policies, yet for the completeness of this question, here's the link that might help someone:    Other related questions / links that haven't helped me:     ~ all links there give 404  ~ from September '09 with another broken link  ~ from about a year ago with a clearbits.net link  ~ also not working anymore When updating, I get the following error message:   W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file.   Here, I find another statement on this error:   This recommends removing certain PPAs; and, I'm not sure if I should do that since it might mean not getting the updates that I need.    Is this what I should do? This is a problem from Rudin's Functional Analysis:  Show that there is a sequence of functions $\{ f_n \}$ in $X$ (the vector space of all complex functions) such that $f_n \to 0$ pointwise, but if any sequence $\{ \gamma_n \}$ tends to $\infty$, $\gamma_n f_n \not\to 0$.  The hint says to use the fact that the collections of all complex sequences converging to $0$ has the same cardinality as $[0,1]$. Honestly, this confused me more than it helped me.  My main issue is through the method of showing existence: I am not sure if I should attempt to construct an explicit sequence $f_n$, or if I need to appeal to other nonconstructive means such as Zorn's Lemma, etc. I have been trying to construct clever choices of sequences for a good bit now, but it always seems like I will be able to find a sequence that diverges slowly enough to allow that $\gamma_n f_n \to 0$.   Thanks! Trackpad not working after update to Ubuntu 14.10 on Dell Inspiron 15R When I updated from 14.04 to 14.10 I noticed my track-pad cursor and left and right mouse clickers were not working. I have tried looking this issue up and can not find any solutions anywhere. If anyone could help me that would be amazing, I am using a wired mouse to my USB port for a temporary fix. I have a Dell Inspiron 15R. How can I break on an unhandled exception in ASP.NET? When debugging an application in Visual Studio, there are 2 options for breaking on exceptions. Break as soon as an exception is thrown, and breaking only when an exception isn't caught. This works fine when developing desktop applications. However, when developing ASP.NET applications, all exceptions are eventually caught by the code in IIS.  Is it possible to disable this behavior, so that the debugger breaks when my ASP.Net application code fails to catch an exception?  Edit: Just to be clear, I don't want to break whenever an exception is thrown, as many times they are handled just fine by my code, and I don't want to stop on every exception. I only want to stop on the exceptions that aren't handled by my code.  Edit: This seems to not be an issue in Visual Studio 2008. In Visual Studio 2003, all exceptions were treated as user handled, because the ASP.NET runtime caught all the exceptions so as not to bring down the web server process. It seems that in Visual Studio 2008, this type of exception catching is not counted when checking for user-unhandled exceptions. Consider a particle in a potential well. Let’s assume it’s a simple harmonic oscillator potential and the particle is in its ground state with energy E0 = (1/2) &#8463;&omega;0. We measure its position (measurement-1) with a high degree of accuracy which localises the particle, corresponding to a superposition of momentum (and therefore energy) states.  Now we measure the particle’s energy (measurement-2) and happen to find that it’s E10 = (21/2) &#8463;&omega;0. Where did the extra energy come from?  In the textbooks it’s claimed that the extra energy comes from the act of observation but I wonder how that could work. Measurement-1 which probed the position of the particle can’t have delivered to it a precise amount of energy, while measurement-2 might just have been passive. No doubt there is entanglement here between the particle state and the measuring device but where, and which measurement? How to ignore accent in SQLite query (Android) Sequence of rationals with an irrational limit have denominators going to infinity python: restarting a loop i have:  for i in range(2,n):     if(something):        do something     else:        do something else        i = 2 **restart the loop   But that doesn't seem to work. Is there a way to restart that loop?   Thanks I am trying to take pictures of large rugs. The rug size is about 10mx5m, and I'm  planning to purchase , and Canon 7D Mark II with Canon EF 50MM F/1.2L USM lens, since we need high quality images.  We want to set up a studio to take giga-pixel quality images of the large rugs for museum conservation purposes  Could you please suggest the best way for mounting the camera to the ceiling, and any other recommendations for my camera/lens setup, and required lighting? It will be  an indoor shoot. Just we want to setup a studio to shoot the large rugs.