want to make the command LS to search only the file
listing files with pattern with starting and ending
Bernoulli maximum likelihood Suppose $X_1, X_2, \dots, X_n$ are iid Bernoulli(p) random variables. How do you find the restricted maximum likelihood for p where $0&lt;p&lt;0.5$?  My work so far:  Write out the likelihood: $L=p^{\sum x} (1-p)^{n-\sum x}$  Take the log: $\ln(L) = \sum x\ln(p)+(n-\sum x)\ln(1-p)$  Take the derivative and set equal to zero: $\frac{\sum x-np}{p(1-p)}=0$.  Now I'm stuck. I don't know how to incorporate the restrictions for $p$. Dell R730xd - Best way to configure storage for simultaneous use with ZFS & Hardware RAID I recently purchased a Dell R730xd that came with an H730 RAID card. I would like to bring an existing 6 disk ZFS pool to this server as well as create an additional 6 disk hardware RAID.   Is it possible to configure an H730 RAID card to operate in both HBA and RAID mode simultaneously? And then only manage 6 of the disks in a hardware RAID and allow the OS to manage the remaining 6 disks in a software RAID?  If not, can a Dell R730xd use both an H730 RAID card and an LSI 9207-8i HBA card simultaneously? Would you simply plug one SAS cable from each card into each part of the Backplane? Will I need to purchase any new cables to connect the LSI 9207-8i to the backplane in my R730xd?  Is there a better card to use for ZFS in an R730xd using spinning disks than the LSI 9207-8i? Types of polynomial functions. Quadratic, cubic, quartic, quintic, ...,? I would very much like to have a complete list of the types of polynomial functions. I know that theres:  Quadratic :                      (AX^2 + BX + C) Cubic     :               (AX^3 + BX^2 + CX + D) Quartic   :        (AX^4 + BX^3 + CX^2 + DX + E) Quintic   : (AX^5 + BX^4 + CX^3 + DX^2 + EX + F)   What are the names of polynomial functions to the further powers? Sexstic? Septic? Octic? I'm not sure, so if someone could enlighten me, then that would be great. Please provide a list that goes at least to the seventh power, but it would be nice if you could go further. Thanks. I am wondering if there is away (possibly a better way) to order by the order of the values in an IN() clause.  The problem is that I have 2 queries, one that gets all of the IDs and the second that retrieves all the information. The first creates the order of the IDs which I want the second to order by. The IDs are put in an IN() clause in the correct order.  So it'd be something like (extremely simplified):  SELECT id FROM table1 WHERE ... ORDER BY display_order, name  SELECT name, description, ... WHERE id IN ([id's from first])   The issue is that the second query does not return the results in the same order that the IDs are put into the IN() clause.  One solution I have found is to put all of the IDs into a temp table with an auto incrementing field which is then joined into the second query.  Is there a better option?  Note: As the first query is run "by the user" and the second is run in a background process, there is no way to combine the 2 into 1 query using sub queries.  I am using MySQL, but I'm thinking it might be useful to have it noted what options there are for other DBs as well. I'm currently going through notes on a physics course and I'm having trouble understanding the difference between a tensor, a vector, and a matrix. I know that a vector is a kind of tensor and that a matrix is also a form of tensor, but what I'm having trouble understanding is how they differ, and how a vector is related to a matrix. Every Artinian ring is isomorphic to a direct product of Artinian local rings Uploading video to youtube in right format I have a Sony CX115 and I have a little footage I'd like to put on youtube. I've downloaded Arista from the Ubuntu Software Center and then I've downloaded its Youtube HD plugin. I've converted my video and uploaded it to youtube... The result is a flashy video with a lot of grey in it:    What could I do to publish it in high quality so it'll be viewable? How can I install software or packages without Internet (offline)? I have a friend who has got a computer that is not connected to the Internet. Is there any way to install software offline easily? Fancy vertical timeline I'd like to have a timeline as similar as possible to this with the addition of being able to add a logo at the left of each textbullet, but I've got no clue at all:    Thanks very much in advance for any help :)  p.s. I've stumbled upon this answer () but I don't how to modify it to get what I want! Are all multiplicative functions additive? How can energy be useful when it is 'abstract'? The topic which haunted me for two years until I gave up on it. But now I am doing engineering and this topic suddenly popped out of my textbook from nowhere. I seriously need to understand this topic because I wasn't able to do so in the past. I have read many book on 'energy' and it came to nothing. Maybe just because the many books I have read all said 'energy' is something which doesn't 'exist'! It is 'abstract'! It is just a number which represents the state or orientation of a system. But then I see so many examples that 'uses' energy to do 'work'. But the question here is that if anything doesn't exist in this universe, then how can the same thing be used to do something that exist?  My problem is that I didn't understood the topic 'energy' and all the other topics related to it (work, power etc.) DateTime "null" value I've been searching a lot but couldn't find a solution. How do you deal with a DateTime that should be able to contain an uninitialized value (equivalent to null)? I have a class which might have a DateTime property value set or not. I was thinking of initializing the property holder to DateTime.MinValue, which then could easily be checked. I guess this is a quite common question, how do you do that? I seem to be having issues when I try and save the output file as a .png, or .jpeg for that matter. I've set up my user preferences, File, Render Output to my desktop as well as render output in the editor window. What am I missing here? I'm obviously very new to this program and your help would be appreciated. Thanks for your time Should I keep my swap file on an SSD drive? I'm considering getting an SSD drive to run as the primary OS partition.  As I understand, this should provide a substantial improvement in performance.     My question is this: Should I leave the swap file on that drive?     The swap partition will be largely random seeks and so should benefit from the speed.  On the other hand, it will be constantly written to which will wear out the drive faster. Change footer in beginning of chapters I want the footer of all pages to be "Page N°X" on the right. I used this:  \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % clear all header and footer fields \fancyhead[R]{\leftmark} \fancyfoot[R]{\footnotesize Página N$^\circ$ \thepage\ } \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt}   It works on every page but the chapter beginning ones. I was readng Wikipedia article (English one) about radiation pressure because there is something I still cannot figure out. As I understand it, radiation pressure emerges from conservation of momentum. Photons or electromagnetic waves possess momentum and when they are absorbed, reflected or even emitted, the aborber/reflector/emitter experiences a pressure that is proportional to the irradiance (in watts per square meter). OK. In the case of a perfect reflector that does nothing but reflecting incoming radiation, it would seem the reflector is pushed and the radiation is reflected in opposite directions. But the radiation has not lost anything, it has only changed direction. And I do not understand how something can be set in motion (the reflector), which amounts to do work, yet the source of this work does not lose energy. I mean, if the radiation, after a U turn, meets a second reflector, it would have pushed two reflectors a way, yet it would continue in its original direction as if nothing happened...? What am I missing here? Should not photons lose something? continuity, discontinuity derivative and relation to being derivative but its partials are not continuous is $$f(x) =\begin{cases} x^2\sin(\frac{1}{x}) \mbox{ for } x\neq 0 \\ 0  \mbox{ for } x= 0\end{cases}$$ a continuous function specially at point x=0?  And why being derivable its derivative is not continuous at x=0 since  $$f`(x) =\begin{cases} 2x\sin\frac{1}{x}-\cos\frac{1}{x} \mbox{ for } x\neq 0 \\ 0  \mbox{ for } x= 0\end{cases}$$?  I suspect this as to do with being derivable a function f $\mathbb{R}^n\rightarrow\mathbb{R}^m$ that don't imply its partial derivatives are continuous .this I don't get it so far.however partials derivatives if continuous is derivable.  Can you provide me a more general case than just one variable where f is derivable but its partials are not continuous? Does iTunes Home Sharing transfer in-app purchases? My wife recently got an iPhone and, being that I'm an iPhone user already, I set up iTunes Home Sharing (under my Apple ID) so that I could share some of my purchased apps with her.  While paid apps transferred to her phone without a problem, in-app purchases that I had made under my account didn't transfer over.  Is this the correct behavior? Our phones are set up under different Apple IDs, but I was still able to transfer purchased (paid upfront) apps to her – which is completely allowed under the Terms of Use – so I assumed the same would apply to in-app purchases as well. We had a small widget that allowed customers to share records that were set to a private sharing model in our community. Everything was rather simple and it would simply allow them to select users that were visible via Sharing Sets and create an __Share record in APEX.  I've been reported recently that an error is thrown but only on the community side of things. Nothing seems to be working where it was working. We are using    Customer Community Plus licenses.  The error being thrown is : System.TypeException: DML operation INSERT not allowed on &lt;Object&gt;__Share which seemed to indicate access not available on the object. That seems odd because they are able to interact with the object just fine in order to create/edit/delete them.  I looked up the Sharing Model (its private both internally and externally), I looked at the profile and their access and the sharing sets in the community. Like I said, they seem to interact fine with the objects when it comes to seeing the records and their right.  Additionally, standard license users can use the component fine and also share with community users without a problem. They also see the records as expected.  Am I missing an update or something that seem to make it so this doesn't work anymore? Anyone having trouble with this or encountered the same problem? Set Snap Mode with PyQGIS I am trying to set snap mode within QGIS plugin.  So far, I have tried:  QgsSnappingUtils().setSnapToMapMode(QgsSnappingUtils.SnapAdvanced)   and  QgsSnappingUtils().setSnapToMapMode(2)   without success.  QGIS Snapping options (Settings>>Snapping Options...) continue with:  Snapping mode = Current layer  Any hint? (Using v 2.14.0)