Second derivative using ND
Numerical partial derivative
Existence of the moment generating function and variance How to run the Ubuntu ISO live image from Windows without USB or DVD?  This is a self answered question. How to use a decimal range() step value? Is there a way to step between 0 and 1 by 0.1?   I thought I could do it like the following, but it failed:  for i in range(0, 1, 0.1):     print i   Instead, it says that the step argument cannot be zero, which I did not expect. Substitute for onions and garlic Do neutrinos not couple to the Higgs field? When my phone MOTOROLA G3(2015) is updated to Marshmallow, its not showing files when connected to PC. While connecting, it shows options as charing only, PTP, MTP, MIDI. When I select MTP, it shows the external card, but not showing the contents, where as internal memory is detected and all files are shown. OSGi/Felix Declarative Services: How to filter the services to be bound? I am using Apache Felix and its Declarative Services (SCR) to wire the service dependencies between bundles.  For example, if I need access to a java.util.Dictionary I can say the following to have SCR provide one:  /** * @scr.reference name=properties interface=java.util.Dictionary */  protected void bindProperties(Dictionary d) { }  protected void unbindProperties(Dictionary d) { }   Now, I have more than one Dictionary service available, and I want to filter them using the "name" service property (I only want "name=myDictionary"). I can do that with code (using a ServiceTracker), but I'd rather specify the filter in the @scr annotation instead. How can I copy one side of a rig to the other? How do you copy a record in a SQL table but swap out the unique id of the new row? What is the best practice for multiple button placement and emphasis? Usually, we only have 2 buttons at the bottom of a form or a page that requires an action: Submit &amp; Cancel.  This one is quite easy to style. However, what if we are dealing with multiple buttons at the bottom of a page? For example:   ← Back | Send Email | Booking Paid | Check-in Guest   I'm thinking of making "Back" just a link (not a button) and making "Send Email" / "Booking Paid" secondary buttons (light gray). Then I'd make "Check-in Guest" as the primary button (green).  I still feel that there's a better way of doing it or dealing with multiple buttons / actions. What do you think? Is setting a higher nice level for a process an effective way to reduce its impact on system load/CPU time? I have an rsync cron job which is pushing the server load and triggering monitor alerts.  If I set the job to be run with a high nice level, would that effectively reduce the impact it has on system load values? Is it considered plagiarism for a professor to use uncited sources in teaching materials? Workflow for UV orientation How to I deal with unwrapped UVs orientation?   Delete the default Cube. Add a Cylinder Edit mode and edge select the Top and the Bottom and a single connecting edge. Make them into seams UV Unwrap (standard Unwrap mode)   The unwrapped UV now shows two circles above a row of quads. I can save this and open it in an image editor and paint over those areas and get the texture to align on the cylinder back in blender.  But, the pattern(just happens to be text) that was inserted in place of the row of quads is now upside down on the model. Any attempt to flip or align just makes things worse, from upside down to mirrored or the Top/Bottom not aligning.  So my real question is how could I have known that the quads represented an upside down view of the world?  Do other blender users export UVs and mark them with arrows and colours just to see how they align on a model before actually painting for real?  I tried selecting the edges in step 3 in different orders before making them into seams and it made no difference.  I also looked at the Normals but they appear to be only Inside/Outside not Up/Down.  Blender 2.70 I wonder whether there is any automatic way of determining (at least roughly) the Big-O time complexity of a given function?  If I graphed an O(n) function vs. an O(n lg n) function I think I would be able to visually ascertain which is which; I'm thinking there must be some heuristic solution which enables this to be done automatically.  Any ideas?  Edit: I am happy to find a semi-automated solution, just wondering whether there is some way of avoiding doing a fully manual analysis. Compiling with g++ using multiple cores Number Theory: which primes are a sum of two squares? Problem: show that if the prime $p = a^2 + 5b^2$ then $p \equiv 1 \textrm{ or } 9 \pmod{20}$.  Is there any other way to prove this other than to check each case $p = 1, \ldots, 19 \pmod{20}$ and show that only 1 and 9 work? If space of bounded operators L(V,W) is Banach, V nonzero, then W is Banach (note direction of implication) What is $\int_{-\pi}^\pi \cos(nx)\cos(mx)\,dx$? I'm pretty sure that there's a theorem that says that the Fourier coefficients of a sum of $\cos(nx)$ and $\sin(nx)$ 's are the coefficients of the sum itself.   I tried to prove that in the specific case of $f(x) = \sum_{n=1}^{\infty}\frac{\cos(nx)}{n^2}$. In calculating the Fourier coefficients I got to calculating  $\cos(nx)\cdot\cos(mx)$, but I'm now stuck. Any tips would be appreciated! ON creating BITMAP INDEX on a table in mysql throws error I have database named "demo_dev" and added a table named "countries".  I wanted to create a bitmap index on a column, say, region as it has fewer unique values, using following query.   CREATE BITMAP INDEX ON countries (region);   It threw an error as shown below:     You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BITMAP INDEX ON countries (region)'   What shoud be done for it to run successfully?  I just refered the following link :   mysql version : 5.5 One of the joys of working for a government healthcare agency is having to deal with all of the paranoia around dealing with PHI (Protected Health Information). Don't get me wrong, I'm all for doing everything possible to protect people's personal information (health, financial, surfing habits, etc.), but sometimes people get a little too jumpy.  Case in point: One of our state customers recently found out that the browser provides the handy feature to save your password. We all know that it has been there for a while and is completely optional and is up to the end user to decide whether or not it is a smart decision to use or not. However, there is a bit of an uproar at the moment and we are being demanded to find a way to disable that functionality for our site.  Question: Is there a way for a site to tell the browser not to offer to remember passwords? I've been around web development a long time but don't know that I have come across that before.  Any help is appreciated.