ffmpeg compile error with Nvidia Cuda 9.0 I'm compiling ffmpeg on Centos7, Nvidia driver 384.81, CUDA 9.0. I'm using a Tesla P4.  Here is my config line:  ./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64   I get this error:  ERROR: cuvid requested, but not all dependencies are satisfied: cuda   I found some recent info on this issue at:     so I did this:  git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers.git make sudo make install   output looks like this:  sed 's#@@PREFIX@@#/usr/local#' ffnvcodec.pc.in &gt; ffnvcodec.pc install -m 0755 -d '/usr/local/include/ffnvcodec' install -m 0644 include/ffnvcodec/*.h '/usr/local/include/ffnvcodec' install -m 0755 -d '/usr/local/lib/pkgconfig' install -m 0644 ffnvcodec.pc '/usr/local/lib/pkgconfig'   Then I try to configure ffmpeg again and I get the same error.   ERROR: cuvid requested, but not all dependencies are satisfied: cuda   Is this header fix only for cuda 8.0 or should it work with 9.0 also? Does anyone have a way to resolve this?
ERROR: cuvid requested, but not all dependencies are satisfied: cuda/ffnvcodec I am trying to compile FFMPEG with Nvidia Cuda support, on Debian 9.3. Parameters, what I am using:  --enable-cuda --enable-cuvid --enable-nvenc --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --enable-gpl --enable-libx264 --disable-x86asm --enable-libx265 --enable-libfdk-aac --enable-nonfree   Nvidia Cuda with drivers are installed. When I try to configure ffmpeg, it says:  ERROR: cuvid requested, but not all dependencies are satisfied: cuda   Newer ffmpeg will show a similar, re-worded message:  ERROR: cuda requested, but not all dependencies are satisfied: ffnvcodec   I absolutely don't know why I'm having this issue, because I am compiling ffmpeg on all of our trans-coding servers.
Friend was brainwashed by MLM-/ponzi investment scam. What can I do? Recently a friend of mine invited me to hear about “an interesting chance to simply earn money.” Basically we and other invited people drove to a meeting room where a speaker told us about a growing startup where you could invest money in a field where similar investments had an ROI of apparently 1000 times the investment in 6 years. Afterwards there was coffee and small talk together, during which they also indoctrinated people saying, they should avoid talking to people talking bad about the investment (or saying it is scam) because you can't gain money from them and they just want to destroy your business.  You earn money if you invest money and if you refer friends who invest money up to multiple levels. The more you invest yourself the greater percentage you earn for your referrals.  Since I had already seen other ponzi-/MLM-schemes and I am from the field it is based in, I recognized that there is no real product and it is a ponzi-/MLM-scheme. Later I found its name on the official scam warning list of multiple countries.  From what I understand, my friend has already invested multiple months or years worth of income; and is earning an amount of money through referrals that would mean scamming other people directly or indirectly through referrals for possibly several $100,000's per month to earn an additional bonus. He also wants to use his position as a respected member of multiple local youth groups and other community groups to get their members as referrals or in his words “…to give them the opportunity to also simply earn money.”  I tried to convince him that it is just a ponzi scam with my knowledge in this field but he answered with the indoctrinated speech “You don’t need to know the details if it makes you rich or use it. You also don't know how every detail of a smartphone works?”/“My sponsor already earned $x with this” or “If you don't believe in this, just stop talking about it to me and other people or do you want to ruin me, my business and my investments?.” So basically this means I can either make his investment worthless/let him lose everything (he also quit his job) or let him scam other people and motivate them to scam other people.  At the moment you can only withdraw small amounts of money out of it because the company invented some reason but you will be able to withdraw all of it “soon” (=most likely never).  What is the best way to resolve this situation (best meaning with lowest loss of money for everybody)?  Edit: The founders are known names in Ponzi schemes or convicted for crimes like fraudulent bankruptcy and many of their claims are technically impossible or proven to not exist with very high probability according to sites about ponzi schemes. But of course they say "Every bigger company has their scandals".  You can't trade the bought virtual coins outside the company and the only product you can buy can be bought anywhere else for less than 10% of the price without the logo.  When I met other friends they mentioned that they got invitations for the same meeting. I just stated to them that I already went to one and told them the name of the company (which was not stated on the invitation) and that I will not invest in it because there are official warnings that this is a scam. Coefficient changes sign when adding a variable in logistic regression In my logistic regression the sign of coefficients of a variable (location distance of an amenity) changes based on other variables (with time -ve, with travel distance +ve) in the model. When the location distance is the only variable in the model, it has +ve sign.    Should the variable need to maintain the +ve sign no matter what other variables are added in the model? Does changing sign signify a multicollinearity issue? Some IVs are gaining significance while in a bivariate model, they didn't show significance and vice versa. Is it okay to add variables that don't have much significance (ex: travel distance has a significance of 0.33 individually, but 0.05 when added with other variables) but becomes significant in the model? thanks. How do I set the grub timeout and the grub default boot entry? In Ubuntu 12.04 (or above), how do I set the GRUB time and the default OS (that I see at boot time) as I'm dual-booting Windows (7/8) and Ubuntu (12.04 or above)? Possible Duplicate:             What is correct? The jury was divided or The jury were divided? I am told that the latter is accurate because all of the jury do not have the same opinion in the particular case. Then, how does the subject verb agreement fit in 'The jury is still out' ? I mean, 'The jury is out' would allude to a situation were the opinion on a matter is (are?) still divided. Class teardown in junit 3? How can I make a special file that executes code when read from Most files on a Linux system are normal files, i.e. they are saved on disk and reading from them just reads from a specified chunk of memory on the disk.  How can I make something that behaves like a file in terms of being able to read from it as one would a normal file, but is actually returning programmatically generated data instead?  As a concrete example, a file that downloads the current google.com and returns it, such that cat ~/myspecialfile would output the contents of google.com to stdout? Linear algebra skew symmetric Why Cooper or Dr. Brand can't send message? How could the human race be saved in Interstellar? In  (2014) the human race seemed to be facing pretty poor odds until they discovered a convenient wormhole placed by an unknown entity expressed as "they". Later in the movie, we discover that       "they" are actually the human race in the future, reaching back in  time to save itself.   The end of the movie gets a little wild on the physics end, and I'm happy to take that ending as is - no need for it to make sense - but one very basic detail does bother me:  How could the human race have gone back in time to save itself from circumstances that would have caused us to go extinct without our own help (the convenient wormhole)? Ignore python multiple return value Say I have a Python function that returns multiple values in a tuple:  def func():     return 1, 2   Is there a nice way to ignore one of the results rather than just assigning to a temporary variable? Say if I was only interested in the first value, is there a better way than this:  x, temp = func() Cannot install Ubuntu in VirtualBox due to "this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot" error How to disable X server autostart in Debian Jessie? Say I have two points. One at $A = (0, 0)$ and another at $B = (0, 10)$. I wish to derive an equation for a line that, for any point $P$ on the line, would equal a set ratio for the distance $P$ to $A$ and $P$ to $B$.  This is easy if the predetermined ratio for $A:B$ is $1:1$. I would create a line from $A$ to $B$, find its midpoint, then create an orthogonal line at the midpoint. Then at any $P$ on the line I know that the ratio distances from $P$ to $A$ and $B$ will be $1:1$.  But what if the ratio for $A:B$ is something like $11:18$?  This is for a positioning algorithm I am implementing - not for homework :)  EDIT: Note - If an exact formula is not possible, an approximation of the line out to $\pm 200$ from $A$ or $B$ is acceptable as values further from $A$ and $B$ will not be utilized anyway. A linear equation for the final result/approximation is ideal for speed in running multiple computations. Calculating grid convergence (True North to Grid North) I would like to know how to calculate the grid convergence angle between True North and Grid North for UTM maps. I am using ArcGIS 10.0 (ArcView licence). and have used the  tool from the Cartography toolbox. However, I would like to know how to calculate this angle myself (using Excel) to compare against the ArcGIS result? Modulus with a negative number Including .eps figure in PDFLatex This question has been asked a lot, but for reason I cannot get it to work. I'd like to include a .eps image in my document - I am using pdflatex in TeXMaker. Below is the input (I am providing the whole preamble incase there is some interference.   \documentclass[11pt]{article} \usepackage{times} \usepackage{graphicx} \usepackage{epstopdf} %converting to PDF \usepackage{amssymb} \usepackage{amsmath} \usepackage{mathtools} \newcommand{\HRule}{\rule{\linewidth}{0.5mm}} \usepackage[parfill]{parskip} \setcounter{secnumdepth}{5} %how deep sections are numbers \usepackage{float} \usepackage[font={sf,footnotesize},labelfont=bf, justification=justified, singlelinecheck=off]{caption} \usepackage[font=footnotesize]{subcaption} \usepackage[scaled]{helvet}  \usepackage{titlesec}  \usepackage[T1]{fontenc} \usepackage[export]{adjustbox} %for large figures \usepackage{upgreek} \usepackage{microtype} \usepackage{setspace} \singlespacing \usepackage[defaultlines=4,all]{nowidow}  \includegraphics[scale=1]{/../model_1_2.eps}    The error I get is:      ! Package pdftex.def Error: File `/model_1_2-eps-converted-to.pdf' not   found.See the pdftex.def package documentation for explanation.Type H    for immediate help.... .../../model_1_2.eps}   I hope someone can help. This is what happens when I launch the terminal  There was an error creating a child process  So I have been using the Ubuntu terminal on my Raspberry Pi 4 model B 8 GB with Ubuntu for a couple moths when Ubuntu 20.10 came out for the Pi. But now I have a problem where I launch the terminal and it gives that message. I have gone for alternatives and tried to fix it but all the solutions were outdated or they were on a different distro. Also the Ubuntu commands did not fix the issue because it only triggers upon a certain command. AMPscript Error with XML I have a Partner sending some data to a Triggered Email/Data Extension which includes a column for XML data.   The trigger is erroring and not allowing the data to get to the Data Extension.   Below is what they are sending over. Is the formatting of the XML incorrect?  XML data that I've used in the past in Data Extensions starts with....   &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;   This version of XML starts with... {"XML":  Could that be it?  {"To": {"SubscriberKey": "test@acme.com", "ContactAttributes": {"SubscriberAttributes": **{"XML":** "&lt;root&gt;&lt;ITEM&gt;&lt;ITEM_PRODUCT_NAME&gt;dark chocolate nuts &amp; sea salt&lt;/ITEM_PRODUCT_NAME&gt;&lt;ITEM_PRODUCT_SKU&gt;15127&lt;/ITEM_PRODUCT_SKU&gt;&lt;ITEM_PRODUCT_URL&gt;https://www.test.com/15127.html&lt;/ITEM_PRODUCT_URL&gt;&lt;ITEM_PRODUCT_IMG_URL&gt;https://www.test.com/images/nuts.png&lt;/ITEM_PRODUCT_IMG_URL&gt;&lt;ITEM_QTY&gt;1&lt;/ITEM_QTY&gt;&lt;ITEM_SUBSCRIPTION_PRICE&gt;12.59&lt;/ITEM_SUBSCRIPTION_PRICE&gt;&lt;ITEM_TOTAL&gt;12.59&lt;/ITEM_TOTAL&gt;&lt;/ITEM&gt;&lt;ITEM&gt;&lt;ITEM_PRODUCT_NAME&gt;crunchy peanut butter&lt;/ITEM_PRODUCT_NAME&gt;&lt;ITEM_PRODUCT_SKU&gt;41800&lt;/ITEM_PRODUCT_SKU&gt;&lt;ITEM_PRODUCT_URL&gt;https://www.test.com/images/butter.png&lt;/ITEM_PRODUCT_IMG_URL&gt;&lt;ITEM_QTY&gt;1&lt;/ITEM_QTY&gt;&lt;ITEM_SUBSCRIPTION_PRICE&gt;11.37&lt;/ITEM_SUBSCRIPTION_PRICE&gt;&lt;ITEM_TOTAL&gt;9.55&lt;/ITEM_TOTAL&gt;&lt;/ITEM&gt;&lt;ITEM&gt;&lt;ITEM_PRODUCT_NAME&gt;pear cinnamon &amp; pecan&lt;/ITEM_PRODUCT_NAME&gt;&lt;ITEM_PRODUCT_SKU&gt;17227&lt;/ITEM_PRODUCT_SKU&gt;&lt;ITEM_PRODUCT_URL&gt;https://www.test.com&lt;/ITEM_PRODUCT_URL&gt;&lt;ITEM_PRODUCT_IMG_URL&gt;https://www.test.com/images/apples.png&lt;/ITEM_PRODUCT_IMG_URL&gt;&lt;ITEM_QTY&gt;1&lt;/ITEM_QTY&gt;&lt;ITEM_SUBSCRIPTION_PRICE&gt;12.59&lt;/ITEM_SUBSCRIPTION_PRICE&gt;&lt;ITEM_TOTAL&gt;12.59&lt;/ITEM_TOTAL&gt;&lt;/ITEM&gt;&lt;/root&gt;", "SHIPPING_LNAME": "Tester", "FIRST_NAME": "Test", "LAST_NAME": "Tester", "ORDER_TOTAL_SAVINGS": -5.97, "MERCHANT_ORDER_ID": "1810002352", "SHIPPING_ADDRESS_STATE": "NY", "ORDER_PLACE_DATE_LONG": "Fri 11 January 2019", "SHIPPING_ADDRESS_ZIP": "10004", "ORDER_SHIPPING": 0.00, "CARD_TYPE": "Visa", "ORDER_SUBTOTAL": 47.32, "ORDER_PLACE_DATE_SHORT": "01/11/2019", "SHIPPING_FNAME": "Test", "SHIPPING_ADDRESS_TOWN": "new york", "ORDER_TOTAL": 47.32, "CARD_EXPIRE": "12/2027", "CARD_HOLDER": "Test Tester", "SHIPPING_ADDRESS_1": "75 broad st", "SHIPPING_ADDRESS_2": "fl 23"}}, "Address": "acme@test.com"}}   AMPSCRIPT IN EMAIL Calling the XML....  %%[   var @LOOPINGAPPENDIX  set @LOOPINGAPPENDIX = AttributeValue("LOOPINGAPPENDIX")  set @productRows = BuildRowSetFromXML(@LOOPINGAPPENDIX, "/root/ITEM", 0)  ]%%   %%[   for @j = 1 to RowCount(@productRows) do       set @productXML = Concat("", Field(Row(@productRows, @j), "XML"), "")      set @ITEMPRODUCTNAME = Trim(Field(Row(BuildRowSetFromXML(@LOOPINGAPPENDIX, "/root/ITEM/ITEM_PRODUCT_NAME", 0), 1), "Value"))      set @ITEMPRODUCTSKU = Trim(Field(Row(BuildRowSetFromXML(@LOOPINGAPPENDIX, "/root/ITEM/ITEM_PRODUCT_SKU", 0), 1), "Value"))      set @ITEMPRODUCTURL = Trim(Field(Row(BuildRowSetFromXML(@LOOPINGAPPENDIX, "/root/ITEM/ITEM_PRODUCT_URL", 0), 1), "Value"))      set @ITEMPRODUCTIMGURL = Trim(Field(Row(BuildRowSetFromXML(@LOOPINGAPPENDIX, "/root/ITEM/ITEM_PRODUCT_IMG_URL", 0), 1), "Value"))      set @ITEMQTY = Trim(Field(Row(BuildRowSetFromXML(@LOOPINGAPPENDIX, "/root/ITEM/ITEM_QTY", 0), 1), "Value"))      set @ITEMSUBSCRIPTIONPRICE = Trim(Field(Row(BuildRowSetFromXML(@LOOPINGAPPENDIX, "/root/ITEM/ITEM_SUBSCRIPTION_PRICE", 0), 1), "Value"))      set @ITEMTOTAL = Trim(Field(Row(BuildRowSetFromXML(@LOOPINGAPPENDIX, "/root/ITEM/ITEM_TOTAL", 0), 1), "Value"))      set @rowColor = Iif(Mod(@j,2) == 0, "#efefef", "#ffffff")   ]%%   %%[endif]%%   %%[next @j]%% What is $\Delta t$ in the time-energy uncertainty principle? Multiplicative nature of the separability degree In what follows, let $E / F$ be an algebraic extension, $h(x),f(x)\in F[x]$ polynomials, $h(x)$ irreducible.   Definitions.   We say $h(x)$ is separable if it has not repeated factors. We say $f(x)$ is separable if all its irreducible factors are separable. We say $\alpha\in E$ is separable over $F$, if its minimal polynomial over $F$ is. The extension $E/F$ is separable if all the elements of $E$ are separable over $F$. We define the field $$\newcommand\sclo{\operatorname{Scl}}\sclo_F E= \{\alpha\in E : \text{ $\alpha$ is separable over $F$ }\}$$ as the separable closure of $F$ in $E$. The separability degree of the extension $E/F$ is defined as $$[E:F]_s = [\sclo_F E:F].$$   Now, suppose the extension $E/F$ is finite.  My question is: how can one proof that with these definitions, if $B$ is an intermediate field of the extension $E / F$, then $$[E:F]_s = [E:B]_s[B:F]_s?$$  I know that the purpose of the separability degree is to count in how many ways we can extend certain injective homomorphism to an automorphism. If one starts defining separability degree this way, as done in the book by Lang, the result follows without much difficulty.  I wonder how to achieve it in this way.