Subequation: Counter too large and alphalph does not work
Subequation: Counter too large
This was talked about a few podcasts ago. And they referenced some other site that does this.  Currently location is a string but adding a country dropdown (and for the usa a state drop down) could be a great addition to the site.  Then allow for user filtering by country / state. How to put a full stop at the bottom, not mid-line, after an aligned matrix? Prove that the sequence with $T(0)=1$ and $T(n) = 1 + \sum_{j=0}^{n-1}T(j)$ is given by $T(n)=2^n$ $T(0)=1 \\ T(n) = 1 + \sum_{j=0}^{n-1}T(j) \\ $  Show that $T(n) = 2^n$.  I know how to prove this by induction, but I would like to know how to show this using first principles.  Edit: The way I want to solve this problem is manipulate $T(n)$ in such a way that it ends up as $2^n$. Python function attributes - uses and abuses Not many are aware of this feature, but Python's functions (and methods) can have . Behold:  &gt;&gt;&gt; def foo(x): ...     pass ...      &gt;&gt;&gt; foo.score = 10 &gt;&gt;&gt; dir(foo) ['__call__', '__class__', '__delattr__', '__dict__', '__doc__', '__get__', '__getattribute__', '__hash__', '__init__', '__module__', '__name__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', 'func_closure', 'func_code', 'func_defaults', 'func_dict', 'func_doc', 'func_globals', 'func_name', 'score'] &gt;&gt;&gt; foo.score 10 &gt;&gt;&gt; foo.score += 1 &gt;&gt;&gt; foo.score 11   What are the possible uses and abuses of this feature in Python ? One good use I'm aware of is 's usage of the docstring to associate a syntax rule with a method. But what about custom attributes ? Are there good reasons to use them ? Calculating the eigenvalues of a matrix How to find the eigenvalues of $$\begin{bmatrix} 0 &amp; 1   &amp;   &amp;  &amp;\\ k &amp; 0   &amp; 2 &amp;  &amp;\\   &amp; k-1 &amp; 0 &amp; 3 &amp;\\   &amp;     &amp;\ddots&amp;\ddots&amp;\ddots\\   &amp;     &amp;      &amp;2 &amp; 0 &amp;k \\   &amp;     &amp;      &amp; &amp; 1 &amp;0 \end{bmatrix}$$ I tried recurrence equation, but it doesn't work to find the characteristic polynomial. Any hint or solution are welcomed, thanks for your help!  PS:The missing parts are all zeroes. Reference sObject Fields dynamically from a string value Is it possible to reference the fields of an sObject (opportunity in this example) dynamically from a string value? For example, take the following code:  for(Opportunity o: oppList) {       for(String s : strList) {            // I'd like to set the opportunity field values based on the string             // value that contains the API name of the opportunity field       }  }  So, the variable strList contains the opportunity API field names. I'm trying to clear some fields on the opportunity in a before update trigger, but I have to access the field names dynamically in the strList. TAR 6 GB worth of files into separate 1.9 GB TAR files Biblatex: submitting to the arXiv I am trying to submit a LaTeX file to the  which uses biblatex.  However, it fails whatever I do.    I first get the message   biblatex.sty is not found   I have tried including (all from TeXLive 2010) biblatex.sty but then I get   logreq.sty is missing then logreq.def is missing   then   ! Package biblatex Error: Outdated 'etoolbox' package.   I then tried adding etoolbox.sty and etoolbox.def and get  ! Package biblatex Error: Style 'alphabetic' not found   So I added alphabetic.bbx then standard.bbx then alphabetic.cbx and finally I get   ! Package biblatex Error: Autocite command 'inline' undefined   I also tried incorporating the bib into the main LaTeX file as in  but it doesn't help.  Has anyone successfully used biblatex with the  and if so, how? Why does Loki look "sick" when he first arrives on Earth? In the Avengers movie, why is Loki sweating and weak when he first arrives on Earth, in the SHIELD base? LINQ's Distinct() on a particular property (a) Determine which Fibonacci numbers are even. Use a form of mathematical induction to prove your conjecture. (b) Determine which Fibonacci numbers are divisible by 3. Use a form of mathematical induction to prove your conjecture  I understand that for part a that all multiples of 3 of n are even. So F(0),F(3),F(6)... I just don't understand how to prove it.  For part B it is the same thing except multiples of 4  Please help, thank you! I know from reading  that the "primary" use of the IDisposable interface is to clean up unmanaged resources.  To me, "unmanaged" means things like database connections, sockets, window handles, etc.  But, I've seen code where the Dispose() method is implemented to free managed resources, which seems redundant to me, since the garbage collector should take care of that for you.  For example:  public class MyCollection : IDisposable {     private List&lt;String&gt; _theList = new List&lt;String&gt;();     private Dictionary&lt;String, Point&gt; _theDict = new Dictionary&lt;String, Point&gt;();      // Die, clear it up! (free unmanaged resources)     public void Dispose()     {         _theList.clear();         _theDict.clear();         _theList = null;         _theDict = null;     }   My question is, does this make the garbage collector free memory used by MyCollection any faster than it normally would?  edit:  So far people have posted some good examples of using IDisposable to clean up unmanaged resources such as database connections and bitmaps.  But suppose that _theList in the above code contained a million strings, and you wanted to free that memory now, rather than waiting for the garbage collector.  Would the above code accomplish that? Unable to install Springseed 2 on Ubuntu 15.04 gnome maps program never runs I have this problem while running GNOME Maps ~$ gnome-maps  (org.gnome.Maps:10414): Gjs-WARNING **: 19:43:34.553: Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array). (Note that array.toString() may have been called implicitly.) 0 &lt;TOP LEVEL&gt; [&quot;resource:///org/gnome/Maps/js/osmTypes.js&quot;:32] 1 &lt;TOP LEVEL&gt; [&quot;resource:///org/gnome/Maps/js/osmEditDialog.js&quot;:35] 2 &lt;TOP LEVEL&gt; [&quot;resource:///org/gnome/Maps/js/osmEdit.js&quot;:25] 3 &lt;TOP LEVEL&gt; [&quot;resource:///org/gnome/Maps/js/contextMenu.js&quot;:33] 4 &lt;TOP LEVEL&gt; [&quot;resource:///org/gnome/Maps/js/mainWindow.js&quot;:33] 5 &lt;TOP LEVEL&gt; [&quot;resource:///org/gnome/Maps/js/application.js&quot;:35] 6 &lt;TOP LEVEL&gt; [&quot;resource:///org/gnome/Maps/js/main.js&quot;:43] 7 start() [&quot;resource:///org/gnome/gjs/modules/package.js&quot;:209] 8 &lt;TOP LEVEL&gt; [&quot;/usr/bin/gnome-maps&quot;:2]   (org.gnome.Maps:10414): Gdk-WARNING **: 19:43:36.525: Native Windows taller than 65535 pixels are not supported Gdk-Message: 19:43:36.574: Error 71 (Protocol error) dispatching to Wayland display.  19:43:36.574 (This message has changed many times) What's this? Include custom taxonomy term in search I have two custom taxonomies applied to two custom post types. the terms list on the sidebar just fine and will list all posts associated with it. However, if you search one of the terms in specific, it doesn't bring up a post with that term.  Example:  Search for term "PQRI"  I get nothing. Any ideas? I've tried using various search plugins but they either break my custom search parameters or just don't work. What is the Python equivalent of static variables inside a function? What is the idiomatic Python equivalent of this C/C++ code?  void foo() {     static int counter = 0;     counter++;     printf("counter is %d\n", counter); }   specifically, how does one implement the static member at the function level, as opposed to the class level? And does placing the function into a class change anything? To start in or at a company? I am not sure about what is right:     I can start my career at an international company.   or     I can start my career in an international company.   For me at sounds appropriate? Additional Drivers for Ubuntu 17.10 The Additional Drivers settings interface is no longer available in Ubuntu 17.10  How can I install proprietary drivers in Ubuntu 17.10?  I need drivers for Wifi &amp; Bluetooth (BCM43142) and Intel Graphics.  The earlier Additional Drivers program showed a package named jockey but it no longer seem to exist in repositories. In Ruby on Rails, how do I format a date with the "th" suffix, as in, "Sun Oct 5th"? I want to display dates in the format: short day of week, short month, day of month without leading zero but including "th", "st", "nd", or "rd" suffix.  For example, the day this question was asked would display "Thu Oct 2nd".  I'm using Ruby 1.8.7, and  just doesn't seem to do this.  I'd prefer a standard library if one exists. The  is a proposed propulsion mechanism for spacecraft in which some form of microwave device provides the propulsion. The consensus from the physics community, including many voices on this site, is that the proposed device would violate conservation of momentum.   Several experiments have been conducted, by three main groups: (i) , from Satellite Propulsion Research Ltd, (ii) a research group at the Northwestern Polytechnical University in Xi'an, China, and (iii) Eagleworks Laboratories at NASA's Lyndon B. Johnson Space Center in Houston, Texas. However, few of these experiments have been performed in vacuum (and none of the vacuum tests has been published in a peer-reviewed journal), which means the effect of air currents around the device cannot be ruled out.  This device has been the subject of many questions on this site, including          and their many closed duplicates.  Many of these questions ask what the proposed explanations are, but then veer off into territory of the form "assuming it is true, how does it work?", so they have been (rightfully) closed as counterfactual physics. I feel this sort of bundling does a lot of harm to the discussion, and there is some scope to ask what exactly is being proposed as an explanation. So:     What do the proponents of EmDrive claim is the theoretical justification of the device's function?   Please limit answers exclusively to references, and indicate whether they are peer-reviewed or not. Please limit answers to serious attempts at explanations, as opposed to vague claims about the 'quantum vacuum' - or indicate if an experimental paper does not have any such theoretical explanation or reference.  To be clear, this is not the place to discuss whether the explanations are correct or not. If you have specific questions about any of these sources, ask it separately. (However, if your question starts with "assuming that this works", be prepared for it to be closed.) If you feel there are not enough resources on this thread, you can  but please do not post another question asking people to look for more references.