Check dependencies and generate download script before installing by dpkg

I used to install packages with dpkg -i *.deb command for off-line installation. Because all deb files are in one folder.  I want to avoid dependency error and stop installing packages as broken.      Ultimately my aim is to check dependencies and generate download script (if all dependencies are not satisfied) for only those package   which is missing in mentioned folder. so-that I can first download missing packages and Then confidently    install package by dpkg -i *.deb   apt-cache showpkg $(find -iname '*.deb' -exec dpkg --info '{}' \; | awk '/Package:/ {print $2}') shows dependencies but long list and not helpful to check whethter it is satisfied (exist) in mentioned folder or not. Also dpkg -I *.deb errors following:      dpkg-deb: 'cabextract_1.4-4_i386.deb' contains no control component 'chromium-codecs-ffmpeg-extra_34.0.1847.116-0ubuntu2_i386.deb'    dpkg-deb: 'cabextract_1.4-4_i386.deb' contains no control component 'flashplugin-installer_11.2.202.350ubuntu1_i386.deb' .. .. so on for each deb   Hence, That commands are not useful for me.  Further Clarification:   First check all deb dependencies in my folder. according to package already installed, check this deb's are able to installed without dependency error or not. if yes then execute dpkg -i *.deb else list missing package which not fond installed or in mentioned folder   Thanks.


Can DNS redirect all HTTPS traffic to a specific IIS application

Is it possible to use DNS to redirect all HTTPS traffic to a specific IIS website irrespective of the TLD?   EDIT: I have another post where I was dealing with this issue separately:  The other post was from the server point of view not DNS.   Regards, Jacques


Where is the Avengers/Stark tower located?

In Age of Ultron, Tony Stark's office building / home/ Avengers HQ is a high rise building in Manhattan.  It is seen with Grand Central Station in the foreground in north-facing views, so it must be a small number of blocks north of Grand Central Station.  It is also possible to see the Chrysler building from Stark/Avengers Tower, so it is probably east of the Chrysler building, somewhere in midtown.  But where in specific is the Avengers/Stark tower located?  Has anyone seen an actual address description?  And I am curious, what other building is actually in the same location in real life?


Navigating from the Feed to a deleted answer on a question breaks scrolling

Steps to reproduce:   In your feed, tap an item that references a deleted post.  In this case, it tapped a comment reply on an answer I deleted. Observe that the question loads, but scrolling on the view is disabled. Tap the down arrow on the right side of the navigation bar. Observe that the screen scrolls down to the first answer, and then scrolls back up to the question. Observe scrolling is enabled again.   Expected result:  Navigating to a question from a reference to a deleted answer should not break scrolling on the question view controller.   App Version: 1.6.1.2 Device: iPhone 6 OS Version: Version 9.3.4 (Build 13G35)


Symbolic Link: Creating link from "NTFS Partiton" to ~/Desktop

I'm facing difficulty in creating a symbolic link to /media/my-username/storage/folder in ~/Desktop by using:  cd ~/Desktop ln -s '/media/username/Storage/My-Files/semester-5' .   It creates a broken link instead of the symbolic link. I've checked the ownership of Storage; it has root permissions, and it is an NTFS partition (because I've dual booted the with windows). I think it is read/write permission problem.  Any idea what should I do for that?


REGEXP_REPLACE: replace all text following a pattern including linefeeds

I am facing the following problem - I want to use REGEXP_REPLACE to replace the occurrences of all kind of symbols after a given string. Suppose I have the string:  I will send you the parcel today. best regards (may contain multiple new lines) Tom   I want to replace everything after 'best regards' with 'someone' so that the output gets:  I will send you the parcel today. best regards someone   I tried with:  (best regards)[\w\W]*   but it doesn't seem to work and only best regards gets replaced.  Since I thought that the problem was with the new line , I transformed the  expression into:  (best regards)[\w\W|\r|\n|\f]*   but it still doesn't work. I tried the expression using :  and it did work.  The column is of type CLOB.


I need to customize the author-year citation in biblatex for a template at work. Right now biblatex cites like this:     Ruschmeyer u. a. 1995, S. 123   They way I was told it needs to cite is:     [Ruschmeyer u. a. 1995, S. 123]   This seems pretty simple and I thought it would be done in a second, but after reading through the biblatex documentation for the second time, I still don't really have a clue.


Prove that the function $\sqrt x$ is uniformly continuous on $\{x\in \mathbb{R} | x \ge 0\}$.  To show uniformly continuity I must show for a given $\epsilon > 0$ there exists a $\delta>0$ such that for all $x_1, x_2 \in \mathbb{R}$ we have $|x_1 - x_2| < \delta$ implies that $|f(x_1) - f(x_2)|< \epsilon.$  What I did was $\left|\sqrt x - \sqrt x_0\right| = \left|\frac{(\sqrt x - \sqrt x_0)(\sqrt x + \sqrt x_0)}{(\sqrt x + \sqrt x_0)}\right| = \left|\frac{x - x_0}{\sqrt x + \sqrt x_0}\right| < \frac{\delta}{\sqrt x + \sqrt x_0}$   but I found some proof online that made $\delta = \epsilon^2$ where I don't understand how they got? So, in order for $\delta =\epsilon^2$ then $\sqrt x + \sqrt x_0$ must $\le$ $\epsilon$ then $\frac{\delta}{\sqrt x + \sqrt x_0} \le \frac{\delta}{\epsilon} = \epsilon$. But then why would $\epsilon \le \sqrt x + \sqrt x_0? $ Ah, I think I understand it now just by typing this out and from an earlier hint by Michael Hardy .


What does N * * * mean in traceroute output?

Wanted to perform simple trace for learning purposes:  traceroute google.com   It gave me among another lines some lines that look like the following  ... 15  * * * 16  * * * 17  * * * ... few similar lines   What does it mean?


Are Position and Velocity (or Velocity and Acceleration) Vectors Always Parallel?

While reading Chapter 1 of an astrodynamics textbook, I came across the statement:  $$\mathbf{v}\cdot \mathbf{{\dot{v}}}=v{\dot{v}}$$  In other words, the dot product of velocity and the time-rate-of-change of velocity is simply equal to the product of the magnitudes of the velocity and acceleration vectors.  I think I see how this works mathematically:  $$\frac{1}{2}\frac{d}{dt}\left ( \mathbf{v}\cdot \mathbf{v} \right )=\frac{1}{2}\left [\mathbf{v}\cdot \frac{d\mathbf{v}}{dt}  +\mathbf{v}\cdot \frac{d\mathbf{v}}{dt}\right]=\mathbf{v}\cdot \frac{d\mathbf{v}}{dt}=\mathbf{v}\cdot \mathbf{\dot{v}}$$  Also, since a vector is always parallel to itself,  $$\mathbf{v}\cdot \mathbf{v}=vv=v^{2}$$  So,  $$\frac{1}{2}\frac{d}{dt}\left ( \mathbf{v}\cdot \mathbf{v} \right )=\frac{1}{2}\frac{d}{dt}\left (v^{2}  \right )=\frac{1}{2}\left (2v  \right )\frac{dv}{dt}=v\frac{dv}{dt}=v\dot{v}$$  My hangup is this: are a vector and the first time derivative of that same vector always parallel (and in the same direction)?  It would seem so, since the (not shown) cosine of theta term equals 1.  Seems strange to me, because an object can be traveling in a certain direction while experiencing acceleration in another direction, such as the parabolic trajectory of a projectile near the Earth's surface (ignoring drag).  Velocity will be tangent to the arc, while the only acceleration is straight down (due to gravity) and never actually parallel to velocity, so long as there is a horizontal component to the trajectory.  Am I missing somehting very obvious here?  Thank you for your time and consideration.  Citation: See page 15 (sheet 30 of 470) section 1.4.1.2 of .     Some very helpful people left great answers, thank you. More webmining also yielded , which provided yet another good answer to the question. Seems like that one statement is responsible for a fair bit of consternation.


Loop mount over an array (name has a space)

So I'm trying to write a small script that loops over an array list like so  if [ $EUID != 0 ]; then    sudo "$0" "$@"    exit $? fi echo "Please enter repo password" stty -echo read PASSWORD stty echo REPOS=("repo one" "repo 2" "repo 3") for i in "${REPOS[@]}" do    sudo mount //$IPLOCATION/$i $MOUNTPATH/$i -o "username=$USERNAME,password=$PASSWORD" done   This seems to work well when the array is REPOS=("repoone" "repotwo" "repothree") But not with spaces. I tried with repo\ one and repo\\\ one but am getting no luck. I know I'm missing something stupid.


Do I need a license to create a PDF and send it over e-mail?

Let's say I am a corporation which sells some product. Before selling product I need some documents signed by my customers.  If I create some PDF and send these PDFs to my customers to signing, do I need a licence to create these PDFs ?


Does Germany enforce a six month passport rule?

in order to visit.   According to , Germany is not among them, but  says "U.S. citizens traveling on passports that expire in fewer than six months have increasingly been denied airline boarding or been detained upon arrival in certain foreign destinations, including popular European travel destinations in the Schengen area."   echoes that.   The State Department's  says "Some Schengen countries assume all travelers will stay the full three months allowed for visa-free visitors, meaning you may not be admitted unless your passport is valid for at least six months, regardless of the duration of your stay.  This requirement may also apply if you are transiting a Schengen airport for several hours en route to a non-Schengen destination."  Is Germany one of those countries?  Assume a US traveler planning to go to Germany for a few days with a passport that will be valid for more than three but less than six months after the return flight, with the departure flight too soon to go through the routine renewal process and be confident that a new passport would arrive prior to departure.  Can the traveler wait until after the trip to do the renewal?  The  from the US State Department suggests the traveler can wait, but even that page is inconsistent about the number of blank pages required and the Embassy Messages link produces a 404 error, so the page is of questionable reliability.


Can I upload an entire folder using FTP?

I need to upload a full folder using FTP.  Is there is any option for transferring a folder and all of its contents at once?


Does MacOS "load-balance" TCP when more than one interface is available?

If an iMac has both cat-5 and WiFi connections to the world, will MacOS use them both to optimize the overall speed?  Or pick only the fastest for everything (since the ISP side of the modem is slower than Cat-5 anyway).  If yes, in what older version (if any) was this not true?  This is NOT a duplicate of any question that has two ISPs.  All devices are connected WiFi to an AirPort Extreme.  One of them is also connected by Cat-5.  I am not currently using USB or Thunderbolt or FireWire.  The Cat-5 obviously has a different IP address than the WiFi.  The Airport goes through a Motorola DOCSIS to the world.  Ookla says the wired connection downloads at 79+ MBps and the WiFi at 50+ MBps.  Also, I wasn't thinking so much of link aggregation, but like letting one app use the wire and another WiFi, giving each app more bandwidth than if they had to shared the same interface hardware.


How can black holes emit detectable magnetic fields and gravity if nothing can escape the event horizon?


Schengen visa issuing country and first entry state

I have schengen visa issued by French embassy and my longer stay would also be in the same country. My first stay would also be at Paris. However, as per my flight, I will break the journey at Frankfurt, Germany and have to go for immigration before taking connecting flight to Paris in next two hours. Will it have any problem at immigration at Frankfurt?


What would happen if you cast true polymorph in a creature affected by the Enlarge/Reduce spell?

Partially inspired by , what size of an object could you create with  if the target was affected by ? And what size would the object be after Enlarge/Reduce wears off? True Polymorph says (among other things) (emphasis mine):  Creature into Object. If you turn a creature into an object, it transforms along with whatever it is wearing and carrying into that form, as long as the object's size is no larger than the creature's size. The creature's statistics become those of the object, and the creature has no memory of time spent in this form, after the spell ends and it returns to its normal form.  Enlarge/Reduce says:  Enlarge. The target's size doubles in all dimensions, and its weight is multiplied by eight. This growth increases its size by one category-- from Medium to Large, for example. [...] Reduce. The target's size is halved in all dimensions, and its weight is reduced to one-eighth of normal. This reduction decreases its size by one category--from Medium to Small, for example. [...]  The two spells both require concentration so they would of course have to be cast by two different people. The options I see here are  Medium creature is enlarged to a Large creature and then polymorphed into a Large object. Spell wears off and the Large object is now Medium object since it's still a valid target for E/R.  Medium creature is enlarged to a Large creature and then polymorphed into a Large object. Spell wears off and the Large object is still a Large object as it's no longer the original target of the spell since it targeted a creature in this instance.  Medium creature is enlarged to a Large creature and then polymorphed into a Medium object since the creature is normally Medium. E/R ends.  Some option I haven't thought of.


Does a variable ND filter work on a wide angle lens?

I'm looking into filter systems and don't know whether I should get a filter kit with multiple filters or a variable filter.I've had bad experiences with a CPL filter on my wide angle lens and I'm not sure if a variable ND filter would work well on a wide angle lens. Any recommendations?


I have a vServer and every time then I try to make apt-get update this Errors will be come in the end but why? How I can fix that?  W: Ignoring Provides line with DepCompareOp for package php-math-biginteger W: Ignoring Provides line with DepCompareOp for package libjpeg62 W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation W: Ignoring Provides line with DepCompareOp for package php-seclib W: Ignoring Provides line with DepCompareOp for package php-sabre-http W: Ignoring Provides line with DepCompareOp for package php-math-biginteger W: Ignoring Provides line with DepCompareOp for package pypy-cffi W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min W: Ignoring Provides line with DepCompareOp for package libjpeg62 W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min W: You may want to run apt-get update to correct these problems


How to update ubuntu linux 10.10 to 12.04 or 14.04 using terminal?

How can I update my OS Ubuntu Linux 10.10 to 12.04 or 14.04? I had a problem while installing the others and it was the only it accepted!I want to update it using terminal because the update manager can't update it by itself because it doesn't find the version 12.04! Please help!!!


What is the classic way to say that I have 3 friends females?

What is the classic way to say for example that I have 3 friends females in my neighborhood?  If I'll say "I have three girlfriends" it's supposed to sound weird or polygamy. I just want to say that I have 3 friends while the listener will understand that I'm talking about female friends.


Will my motherboard support Ubuntu 14.04?

Greetings I recently upgraded my system to a new motherboarda and a new processor, (well I guess new  everything) except my hard drives, which contain my operating system which is Ubuntu 14.04 64 bit.  The new motherboard is a On their website it specifies that it will support Windows operating systems, but there was no mention of Linux or Ubuntu.   Just wondering if the migration of my system will actually work with this motherboard?


curl to stdout and untar a zip to a specific directory

What is the correct way to curl to stdout, then untar (a zip file in that case) to a specific directory?   This failed:  curl URL | tar -x > /path   So I thought of this which also failed:  curl URL | tar -x > /path


How to install RADEON HD 7500M/7600M Driver on Ubuntu 18.04

HP pavilion g6 with Intel® Core™ i5-3210M CPU @ 2.50GHz × 4  4gb ram,64bit


What does it mean by 'bringing him gasping to all fours' in Harry potter?

Immediately, his insides started writhing as though he'd just swallowed live snakes -- doubled up, he wondered whether he was going to be sick -- then a burning sensation spread rapidly form his stomach to the very ends of his fingers and toes -- next, bringing him gasping to all fours, came to a horrible melting feeling, as the skin all over his body bubbled like hot wax -- and before their eyes, his hands began to grow, the fingers thickened, the knuckles were bulging like bolts -- his shoulders stretched painfully and a prickling on his forehead told him that his hair was creeping down toward his eyebrows -- his robes ripped as his chest expanded like a barrel bursting its hoops -- his feet were agony in shoes four sizes too small      Harry potter and the chamber of secrets   It is the description of the feeling of drinking Polyjuice Potion, which makes someone into a different person, from the point of view of Harry Potter turning into Gregory Goyle.  And I don't understand what 'bring him gasping to all fours' means, especially 'four'. Does four here mean number 4?


Tag list on the right hand side of Questions does not appear at times

The tag list on the right of the Question happens sometimes, perhaps depending on ip address:    I haven't checked with any browser other than Firefox (26 and 27).


In article  by Alex Allain, I read:      Notice, by the way, that holding on to a const reference to a   temporary object ensures that the temporary object isn't immediately   destructed. This is a nice guarantee of C++, but it is still a   temporary object, so you don't want to modify it.   Of course I know that a const reference is not, nor behaves like, a shared_ptr (which one would hope, reading "holding on [...] the temporary object isn't immediately destructed"), but I wasn't able to find any more reference. So the question is: How is this addressed in the standard?


Is it true that $gHg^{-1}\subset H\implies gHg^{-1}= H$?

Let $G$ be a group with a subgroup $H\subset G$. Then if for $g\in G$ we have $gHg^{-1}\subset H$, is it true that $gHg^{-1}= H$? At first sight I thought this should be true because $x\mapsto gxg^{-1}$ is an automorphism on $G$, but now I start believing that my initial intuition was wrong, since I fail to prove it. If it isn't true, could you add an explicit counter example?


Transpose matrix-style table to 3 columns in Excel

I have a matrix-style table in excel where B1:Z1 are column headings and A2:A99 are row headings. I would like to convert this table to a 3 column table (column heading, row heading, cell value). It does not matter in what order the new table is.      A   B   C   D            A   B   C            A   B   C     1      H1  H2  H3        1  H1  R1  V1        1  H1  R1  V1  2   R1 V1  V2  V3   =>   2  H1  R2  V4   or   2  H2  R1  V2  3   R2 V4  V5  V6        3  H1  R3  V7        3  H3  R1  V3  4   R3 V7  V8  V9        4  H2  R1  V2        4  H1  R2  V4                           5  H2  R2  V5        5  H2  R2  V5                           6  H2  R3  V8        6  H3  R2  V6                           7  H3  R1  V3        7  H1  R3  V7                           8  H3  R2  V6        8  H2  R3  V8                           9  H3  R3  V9        9  H3  R3  V8   I've been playing around with the OFFSET function to create the whole table but I feel like a combination of TRANSPOSE and V/HLOOKUP is required.  Thanks  EDIT  I have managed to come up with the correct formulas. If the data is in Sheet1 like in my example above, the formulas go in Sheet2:  [A1] =IF(ROW() <= COUNTA(Sheet1!$B$1:$Z$1)*COUNTA(Sheet1!$A$2:$A$99), OFFSET(Sheet1!$A$1,0,IF(MOD(ROW(),COUNTA(Sheet1!$B$1:$Z$1))=0,COUNTA(Sheet1!$B$1:$Z$1),MOD(ROW(),COUNTA(Sheet1!$B$1:$Z$1)))),"")  [B1] =IF(ROW() <= COUNTA(Sheet1!$B$1:$Z$1)*COUNTA(Sheet1!$A$2:$A$99),OFFSET(Sheet1!$A$1,IF(MOD(ROW(),COUNTA(Sheet1!$A$2:$A$99))=0,COUNTA(Sheet1!$A$2:$A$99),MOD(ROW(),COUNTA(Sheet1!$A$2:$A$99))),0),"")  [C1] =IF(ROW() <= COUNTA(Sheet1!$B$1:$Z$1)*COUNTA(Sheet1!$A$2:$A$99),OFFSET(Sheet1!$A$1,IF(MOD(ROW(),COUNTA(Sheet1!$A$2:$A$99))=0,COUNTA(Sheet1!$A$2:$A$99),MOD(ROW(),COUNTA(Sheet1!$A$2:$A$99))),IF(MOD(ROW(),COUNTA(Sheet1!$B$1:$Z$1))=0,COUNTA(Sheet1!$B$1:$Z$1),MOD(ROW(),COUNTA(Sheet1!$B$1:$Z$1)))),"")   The formulas are limited to B1:Z1 for the headings and A2:A99 for the rows (these can be increased to their maximums if required). The COUNTA() formula returns the number of cells that actually have values, which limits the number of rows returned to headings*rows. Otherwise the formulas would could go on for infinity because of the MOD function.


I have this inequality that I don't know how to prove. Possibly the inequality between means might be useful. For $n \in \mathbb{N}$:   $$\frac{1}{n+1}+\frac{1}{n+2}+...+\frac{1}{3n+1} \ge 1$$


How to stream display a text file as another program updates it?

What is the best way to display the contents of a text (.txt) as it updates?  The log is updated by a C++ program that outputs log/error messages to it, and the file persists between (and is present before) runs.    Currently, I just keep it open in Nopepad++, which asks to update whenever it detects changes were made.  But it requires window focus to do that, which makes debugging some situations difficult and tedius.


How can I fix my bibliography with LaTeX?

Hello I am newbie with Latex and I couldn't compile my bibliography.tex when I comment it the pfd work well but when I uncomment it. the PDF doesn't appear and I couldn't resolve it I tried a lot  this is my code   \documentclass[a4paper,12pt,oneside,latin1,utf8]{StyleRapport} \include{formatAndDefs} \usepackage{breakcites} \usepackage{makeidx} %\makeindex \usepackage{multirow} \usepackage{latexsym} \usepackage{cite} %\usepackage[latin1]{inputenc} %\usepackage[utf8]{inputenc} \usepackage{float} \usepackage{epsfig} \usepackage{epstopdf} \usepackage{array} \usepackage{acronym} \usepackage{colortbl} \usepackage[table]{xcolor} \usepackage{fancyhdr} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage{titletoc} \usepackage{minitoc} \usepackage{ragged2e} \usepackage{xcolor} \usepackage{slashbox,booktabs,amsmath} \pagestyle{fancy} \newcommand{\chaptertoc}[1]{\chapter*{#1} \addcontentsline{toc}{chapter}{#1} \markboth{\slshape\MakeUppercase{#1}}{\slshape\MakeUppercase{#1}}} \renewcommand{\headrulewidth}{0.3pt} \fancyhf{} \renewcommand{\chaptermark}[1]{\markboth{\bsc{\chaptername~\thechapter{} :} #1}{}} \renewcommand{\sectionmark}[1]{\markright{\thesection{} \ #1}} \renewcommand{\headrulewidth}{0.3pt} \lhead[]{\small{\rightmark}} \rhead[\small{\leftmark}]{} \cfoot[\small{\thepage}]{\thepage}  \begin{document} \include{PageDeGarde} \dominitoc \pagenumbering{roman} \frontmatter \chapter*{Remerciements} \mainmatter \include{IntroductionGenerale} %\mainmatter \include{Chapter1} \bibliographystyle{StyleRapport} \bibliography{Bibliographie} \cleardoublepage \end{document}   My bibtex file called bibliography.tex and there is no bibliography.aux or bibliography.bll


I use debian wheezy xfce and want to set up my desktop. But I read some settings are redundant. Hence I want to understand how everything works, but I am massively lost. Can someone please sort, complete and entitle the following list and explain me what uses what?  KDE, Gnome, XFCE, X11, dgm, kdm, GTK(x), Sessions, lxdm, lightdm, compiz, Kwin, window- and desktopmanager... etc  Always when I think I understood it I find new expressions I never heard before. Okay heres what I know. Gnome, KDE, XFCE are Desktops. They are on top of the stack. X11 is a library that displays something and makes use of the graphic driver, hence I think it is at the bottom of the stack. (But above the graphic driver)...


Illusion of duplicate causes too many authors to appear after \cite

I have a problem with the way my bibliographic references turn up in the text. I use JabRef to handle the bibliography. In my preamble, I use the option maxcitenames and mincitenames to make sure that multiple authors (more than 2) will only be cited as "Firstauthor et al." in the document itself, while all the authors are listed in the bibliography. However, I have encountered the following curious problem. Two different papers that I need to quote are both written by four different authors, the first of which is the same in both cases.   Concretely, the author "Wiklund" is the first author of both papers. What I want, is of course the first reference to appear in the text as (Wiklund et al. 2007), and the other as (Wiklund et al. 2009). But somehow, Biber (or perhaps the problem is JabRef) feels it has to cite the second author in both cases to distinguish between the two.   Here is a MWE and below is a picture of what it produces + the JABREF source of the two relevant entries. Notice that if I only reference one of these entries, everything works fine and only (Wiklund et al. 2007) or (Wiklund et al. 2009) appears. The problem is caused by the co-occurrence of these entries.   \documentclass[12]{article}  \usepackage[backend=biber, style=authoryear-comp, sortcites=false, maxcitenames=2, mincitenames=1, maxbibnames=4]{biblatex}  \addbibresource{flafla.bib}  \begin{document}  Some text\parencite{Wiklundetal2007}. Some more text \parencite{Wiklundetal2009}    \printbibliography  \end{document}     @Article{Wiklundetal2009,   author =  {Wiklund, Anna-Lena and Benzen, Kristine and Hrafnbjargarson, Gunnar Hrafn and Hróarsdóttir, Thorbjörg},   title =   {On the distribution and illocution of V2 in Scandinavian that-clauses},   journal = {Lingua},   year =    {2009},   volume =  {119},   number =  {2},   pages =   {1914-1938} }  @Article{Wiklundetal2007,   author =  {Wiklund, Anna-Lena and Hrafnbjargarson, Gunnar Hrafn and Hróarsdóttir, Thorbjörg and Bentzen, Kristine},   title =   {Rethinking Scandinavian Verb Movement},   journal = {Journal of Comparative Germanic Linguistics},   year =    {2007},   volume =  {10},   pages =   {203-233} }


I've tried different ways to install iTunes, but to no avail. I tried with Wine, but it didn't work. Is it possible to have iTunes on Ubuntu?


Why the "service --status-all | grep mysql" get many unrelated result?

It seems weird here while running  service --status-all | grep mysql   why I get so many wrong result?  It works fine on Centos where i am getting:  mysql is running xxxxxxx   This is what i am getting on Ubuntu:


Broken cross symbol for closing in notification message

After revoting on question opening or successful flag, cross symbol in the notification message is broken.  Revote for opening:        Vote for opening:


How to create a file with a given size in Linux?

For testing purposes I have to generate a file of a certain size (to test an upload limit).    What is a command to create a file of a certain size on Linux?


How can the Color Spray spell blind creatures without killing them first?

For a creature to be affected by Color Spray, their hit points must be equal to or less than the remaining total of points accumulated from the Color Spray dice rolls. However, if the creature's hit points are equal to or less than the remaining total, that creature would be immediately killed.   Color Spray's description states, in part (emphasis mine):     Starting with the creature that has the lowest current hit points,   each creature affected by this spell is blinded until the end of your   next turn. Subtract each creature's hit points from the total before   moving on to the creature with the next lowest hit points. A   creature's hit points must be equal to or less than the remaining   total for that creature to be affected.   Therefore, there would be no purpose to the creature being blinded "until the end of your next turn" because the creature would be dead.   Am I missing something here? It seems like it's impossible for a creature to be dead AND blinded simultaneously because their death would take precedence. So, what's the point of the blinding effect if every creature that would have been blinded is killed first?


How should we deal with OPs that edit in answer to question

It was discussed at  that you should answer the question with the solution, not edit that information into the question. But that discussion failed to cover what to do when you come across one.  I have come across questions that have no answer, but the OP put the answer in the question, such as . When I find those, I am tempted to edit that out and put it as an answer instead. But I would feel bad about taking any rep that came across my answer, and I would rather not put it as community wiki. Commenting didn't work in this situation, and it is easy to forget about it. So I'm stumped.  I have also come across questions such as , where the question was answered, the OP accepted an answer, and edited the solution into the question. I think it would be appropriate to edit this out, but I'm not sure.     is a similar question. But at that question, the OP edited into his question that both answers were good answers. Mine is what to do when the OP puts the actual answer to the question into the question   is about the answer being a comment. Mine has nothing to do with comments


Is the 50 reputation requirement for commenting on questions there to generate activity on the site?

It seems awfully convenient that to be able to ask a clarification or an update, one should have already answered a bunch of unrelated questions. Assuming one answers 10 or 20 questions first, how does that make them any more worthy of commenting on another, unrelated, question? It stands to reason that people with too much time on their hand spending too much time here would have less knowledge about technical subjects, not more... You know, because experience. I tried dipping a toe in the Stack Exchange game today and all I see is a bunch of gatekeeping... You might argue that it helps keep the community "healthy" or whatever excuse. But the results speak for themselves; some questions here will stay unanswered, uncommented forever. Wouldn't being more welcoming to new commenters be more productive? This kind of universal approach to reputation only encourages answering easy questions, and penalizes highly technical questions that will not get many answers or many upvotes. None of this makes sense for a very old and widely known website, which should have matured into being efficient by now... Unless this limitation is actually there to force newcomers to answers questions as a way of gaining enough reputation to do what they actually intended to do in the first place. It seems like I need to clarify that to answer my question, a previously posted question would need to address the obvious benefits of the comment limit, with regards to forcing users to provide engagement to this website.


Convert an equation for acceleration into one for velocity

A sledge is pushed in a straight line. Assume surface is smooth. When the sledge is x distance away from the start the magnitude of its acceleration is given by $0.08e^{-4x}$ and is going in the same direction of the sledge's motion.  I need to show that $v = 0.2 \sqrt{1-e^{-4x}}$  Now I 'know' that to get $v$ from a you need to integrate a. So I did that and I got: $v=-0.02e^{-4x}$.  Are these two things one and the same? If not, can someone explain why?


How to install a portable Tex Live in windows?

I want to install a portable Tex Live in windows 10. But after searching online I just get this from .  The -portable installer option (or V command in the text installer or corresponding GUI option) creates a completely self-contained TEX Live installation under a common root and forgoes system integration. You can create such an installation directly on a USB stick, or copy it to a USB stick afterwards. To run TEX using this portable installation, you need to add the appropriate binary directory to the search path during your terminal session, as usual. On Windows, you can double-click tl-tray-menu at the root of the installation and create a temporary ‘tray menu’ offering a choice of a few common tasks, as shown in this . The ‘More…’ entry explains how you can customize this menu.  Any more instructions in detail? What should I do?


Do I need an ESTA for returning from a trip to the US, if I have US-Italy Dual Citizenship?

I'll be going back to the US in February for 10 days or so and up until this year, I've always traveled with my US passport and my Italian ID card to prove my EU citizenship since I live in the EU. This year I decided to get an Italian passport as well since Dutch customs were being problematic about my Italian ID card each time upon re-entry. Id I travel to the US on my US passport and travel back to the Netherlands on my Italian one, am I required to get an ESTA on my Italian passport for the trip back or is that not necessary?


Maximum heart rate increase/decrease while physically active

I'm a computer scientist and implementing a heart-rate monitor for physical exercise. While I try to improve my code, I stumbled over the question how fast the heart rate can change within a given time slot.  Let's say someone in rest has a pulse of 60bpm. If he now gets physically active and exploits himself, how much time will it take at least to reach his maximum pulse of (supposed) 200? How long will it take, after hitting that point to slow down his heart rate again?  Or to rephrase the question, so it fit's more to my specific code-problem. How much can the pulse change (increase/decrease) within a small time-slot of, let's say 8 seconds.  Annotation:  Susan pointed out, that might be dependent on the trainings-state of each individual. If so, what is (might be) the highest possible increase/decrease? I suppose the pulse increase of a bad trained person might be faster then that of a well trained person, whereas the the decrease of the pulse should be way faster of that trained person.  Annotation 2:  The question was already posted here: .  But not really answered. The answer here says, the rate can change within one beat. But it does not say by how much it can change, which bothers me. Especially how much it can change within a given period.


GME put option price going down as stock price declines...WHY?

Why would the put option price go down when the stock goes down?  3/19 $20 strike down 30% when gme stock down $50. Can someone explain why the put isn’t gaining value?


Name for region between two parallel planes

Is there an established name for the region between two parallel planes? I can use sheet, layer, lamina... but I'd like to know whether there is an established name for it.


How many ring homomorphism are there from $\mathbb{Z} / 12\mathbb{Z}$ to $\mathbb{Z} / 20\mathbb{Z}$? Find the image and kernel of them.   The above is the question, this is my attempt at an answer,   "Let a homomorphism $f$ map $\mathbb{Z} / 12\mathbb{Z}$ to $\mathbb{Z} / 20\mathbb{Z}$. Then $f(1) = n$, and $f(t)=nt$ mod 20 $\forall t \in \mathbb{Z} / 12\mathbb{Z}$. This is well defined if $f(12u)= 0$ $\forall u \in \mathbb{Z}$, ie. provided $12un = 0$ mod 20. Hence n is even.   Then the homomorphism is $f(t)= 2mt$ mod 20 for some integer m and is well defined.  Thus for some s and t,: $f(s + t) - f(s) - f(t) = 2m(s+t) - 2ms - 2mt = 0$ Also, $f(st) - f(s)f(t) = 2mst - (2ms)(2mt) = st(2m - 4m^2) = 0$ so $2m = 4m^2$ mod 20. $2m - 4m^2 = 20p$ for some $p$.  $m - 2m^2 = 10p$ $2m^2 - m = 0$ mod 10. Let $h(m) = 2m^2 - m$ mod 10  $h(0) = 0, h(1) = 1, h(2) = 6, h(3) = 5, h(4) = 8, h(5) = 5, h(6) =6, h(7)=1, h(8)=0, h(9) = 3$.  So $m = 0$ or $m = 8.$ Hence we have two ring homomorphisms q and r from $\mathbb{Z} / 12\mathbb{Z}$ to $\mathbb{Z} / 20\mathbb{Z}$, namely; . $q(t) = 0$ mod 20 $\forall t \in \mathbb{Z} / 12\mathbb{Z}$ with image ${0}$ in $\mathbb{Z} / 20\mathbb{Z}$, and kernel $\mathbb{Z} / 12\mathbb{Z}$ . $r(t) = 16t$ mod 20 $\forall t \in \mathbb{Z} / 12\mathbb{Z}$ with image {0,16} in $ \mathbb{Z} / 20\mathbb{Z}$ and kernel ${0, 5, 10}$ in $\mathbb{Z} / 12\mathbb{Z}$"  I found this question confusing since I have only done this type of question with numbers that are multiples of each other, such as $\mathbb{Z} / 12\mathbb{Z}$ and $\mathbb{Z} / 6\mathbb{Z}$. Meaning that I tried to follow the system I used for such questions, but think it just ended up a mess, can someone show me where I have gone right/wrong.


Transform manipulator is no longer in center of selection

I am new to Blender and i have a very frustrating issue. I find it difficult to get used to all the shortcuts so i may have pressed something i didn't mean to :     XYZ axis should be in the center of the object / face / vert (like in the first picture), not in the center of the 3D cursor (like mine is in the 2nd picture). How can i achieve that ? And how can I return it back ?


Prove that a power series$\sum_{n=0}^\infty a_nz^n$ which is convergent for any $ z \in \Bbb N$, converges for any $z \in \Bbb C$.

Proof:  The power series $$\sum_{n=0}^\infty a_nz^n$$ which converges for any $ z \in   \Bbb N$, then the series converges absolutely for ay $z_0$ s.t. $|z_0|<|z|$.   Let $z_\alpha \in \Bbb C$, $\forall$ $z_\alpha$, $\exists z \in \Bbb N$ s.t. $|z_\alpha|<|z|$. Since the series converges for any $z \in \Bbb N$, using the proposition above, the series converges absolutely for any $z_\alpha \in \Bbb C$.  Question.   I am not totally sure about my proof, is correct or not? If not, how can i improved it?


Calculating how much variability is due to different parameters

My first question.  I have searched "effect size" and followed the links on "similar questions".  There may well be a wealth of relevant info there, or even the answer; my problem is that the discussion is way over my level of understanding.  Apologies if that means this is in some way duplicate. I'll try to describe what I'm trying to work out.  If the answer is already floating around, it'd be wonderful if someone could point me at it and dumb it down into language that a stats layman can follow! I've got data about the population of England, carved up into Local Authority areas (i.e. geographically) - there are 127 rows of info. For each row, I have:  the size of the population of interest (over 60s) a score 1-5 for deprivation a categorization of policy 1, 2 or 3. (1 is "no policy"; 2 is "accessible for free"; 3 is "pay for access") a frequency rate of an occurrence/100,000 of the population of interest.  So a record might be: Bristol; 2; 1; 1,300 Happy to post all 127 rows if helpful! Some excellent help elsewhere has got me to the point where I know that the groups by policy are significantly different (p<0.01).  So policy makes a difference.  This used ANOVA (but not by me!).  I also know that deprivation correlates somewhat with frequency (R^2=0.25 apparently) What I'm trying to get is how much of the total variation in the whole dataset is accounted for by policy, how much by deprivation, and how much by other factors as yet unspecified. I want to be able to say "Group 1 is different to group 2 and group 3, and the policy accounts for X% of the overall variation, whilst deprivation accounts for Y%". My knowledge is very limited.  I can calculate weighted means...but I'm not even clear if my standard deviation calculations are right, because the populations are all different sizes. I'd be very grateful for any help you might be able to offer, but it will need to be at a "add/subtract" level of complexity - I don't have the foundation tools to follow anything sophisticated unless it's broken down to basics. Thanks again


Is there a verb for making a statement/sentence milder or "dumbing it down"?

Is there a verb which means the same as "to dumb down" or "to make milder", in relation to an account of something I had witnessed? More specifically, a verb which describes telling your account of something you witnessed in a milder form so as to not scare the other person and "play down" the event.


Why I am getting an option to start a bounty for a question with accepted answer?

Please check screen shot below:   I am not the owner of the question and the owner has accepted an answer still when I am viewing this question I am getting an option to start a bounty.  I am confused:   Why bounty option is there when answer has been accepted? Why it showing to me as I am not the owner of the question? (Is it something related to points I have? If yes then why only on this question?)


How Does Hubble's Expansion Affect Two Rope-Tied Galaxies?

Suppose we have two galaxies that are sufficiently far apart so that the distance between them increases due to Hubble's expansion. If I were to connect these two galaxies with a rope, would there be tension in the rope?  Would the tension increase with time?  Is the origin of the tension some sort of drag between the expanding space and matter?


Quantum uncertainty affecting classical object?

As far as I know, the probability of a quantum object being in a certain position depends on the wave function value for each position. That raises a question: Is this probability strictly greater than 0 for all points? If I place an electron in a box, it can be anywhere on the box, or anywhere on the universe?  For example, there is always a small possibility of finding a value however far from the mean, while that is not the case for a triangular distribution.  Also, slightly related: Is this property maintained when studying classical objects? Is there any possibility, even if unimaginably small, that all of the particles of a cat will simply move somewhere else at the same time, "teleporting" it?


Say I have a well updated Linux VPS serving HTTP content on port 80 using apache. What would I gain by enabling IPtables?   I can see no obscurity gains since the machine has a port open. Also, since the machine is constantly updated I trust the kernel to securely handle incoming requests on closed ports, which is reasonable right? I hear everywhere that I need to enable iptables but I fail to see the gains. Am I missing something?


Why java doesn't allow final class to be inherited?

As we know, we can't inherit final class in java but I want to know why java doesn't allow to do so? What is the reason behind it?


Sign Up in Parse shows error : com.parse.ParseUser.signUpInBackground()' on a null object reference

Complete Error:     "Attempt to invoke virtual method 'bolts.Task com.parse.ParseUser.signUpInBackground()' on a null object reference"   I am trying to make a login and sign up button, on clicking it the user must be signed in and if failed then signed up.  Here is my source code:  public void onClickLogInSignUp (View view) {     EditText editTextUsername = (EditText) findViewById(R.id.editTextUsername);     EditText editTextPassword = (EditText) findViewById(R.id.editTextPassword);      username = editTextUsername.getText().toString();     password = editTextPassword.getText().toString();      ParseUser.logInInBackground(username, password, new LogInCallback()     {          @Override         public void done(ParseUser user, ParseException e)         {             Log.i("Parse","Trying to log in ");              if ( e == null )             {                 Log.i("Parse","Log In Successful");                 Log.i("Parse","Redirecting as "+ ParseUser.getCurrentUser().getUsername());                 Toast.makeText(MainActivity.this, "Logged In", Toast.LENGTH_SHORT).show();                 startActivity(new Intent(getApplicationContext(), UserList.class));             }             else             {                 Log.e("Parse","Log In Failed Error - "+e.toString());                 isLogInSuccessful = false;                 ParseUser.getCurrentUser().signUpInBackground();                 ParseUser.getCurrentUser().saveInBackground(new SaveCallback()                 {                     @Override                     public void done(ParseException e)                     {                         ParseUser user = new ParseUser();                         user.setUsername(username);                         user.setPassword(password);                         user.signUpInBackground(new SignUpCallback()                         {                             @Override                             public void done(ParseException e)                             {                                 if (e == null)                                 {                                     startActivity(new Intent(getApplicationContext(), UserList.class));                                     Log.i("Parse","Sign Up Successful");                                     Log.i("Parse","Redirecting as "+ ParseUser.getCurrentUser().getUsername());                                     Toast.makeText(MainActivity.this, "Signed Up", Toast.LENGTH_SHORT).show();                                 }                                 else                                 {                                     Log.e("Parse","Can't log in as well as signup.");                                     Toast.makeText(MainActivity.this, "Can't log in as well as signup.", Toast.LENGTH_SHORT).show();                                 }                             }                         });                      }                 });             }         }     }); }


I want to determine if a record contains a duplicate value for a specific field and then delete the duplicate record and save the new file.  abc|123|def|456 abc|456|ghi|789 def|123|def|456   I want to save a new file with any record that duplicates field 1 removed.  abc|123|def|456 def|123|def|456   This awk code comes close, but actually does the opposite.  It creates a new duplicate row and then saves it to the new file.  awk -F'|' 'myv=a[$1] !/^myv++/' file.txt > newFile.txt


Is it possible on Windows Server 2000/2003/2008 machines to see which user rebooted the server?  I have found the shutdown event in the System event log, but it does not show which user initiated the reboot.


Anki doesn't start at all. I installed it using ubuntu software center. Tried installing python, didn't work.


Detect when an iOS app is launched for the first time?

How do I detect when an iOS app is launched for the first time?


Getting java.lang.NoClassDefFoundError error when running xml file using testng. Error details: java.lang.NoClassDefFoundError: Could not initialize class com.listeners.ExtentTestManager at com.listeners.Listeners.onTestFailure(Listeners.java:56)  I am using testng version 6.9.10 in pom.xml.  Hi, I am getting this error when I use listeners in my xml file. If I remove listeners and run the xml file, it is working. Please let me know if anything wrong with ExtentTestManager class or the dependencies. I am unable to add code in stackoverflow, so I have attached in this link:  Pls check.  Thanks in advance.


Recently installed Ubuntu, Wifi is not working. How do I fix this?

Just installed my first Linux Distro; Ubuntu 14.04 and I couldn't access the wifi. I tried following some other guides but all of them didn't and gave me Errors. Can I have some clear instructions as to what I should do? (considering I have no idea how to code let alone use Ubuntu efficiently) I'm not allowed to post screenshots/images but I don't have any wifi options in the drop down menu on the top right of the bar.  lspci -knn | grep Net -A2 gives:  06:02.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)     Subsystem: Hewlett-Packard Company Broadcom 802.11b/g WLAN [103c:1356]     Kernel driver in use: b43-pci-bridge


The robber wouldn't say where he had spent all the money. The robber didn't say where he had spent all the money.   What's the difference between two sentences?


Prove $\sum\limits_{n=2}^{\infty}\frac{n^{\ln(n)}}{\ln(n)^n}$ converges or diverges

My intuition is that this series converges since the denominator grows much faster. But I'm having trouble proving it. Thanks.


Can a non-conjugate prior lead to a closed form or analytically tractable posterior?

I understand conjugate priors to the likelihood lead to a nice closed form posterior, and all members of the exponential family have conjugate priors. But is this if and only if? ie. Can a non-conjugate prior have a closed form solution? If not can a non-conjugate prior still be analytically tractable (is that different from finding closed form)? I'd appreciate if anyone can shed any light on this. I get that most integrals aren't tractable, so using conjugate priors makes sense anyway if the answer is yes to the above.


Are there Bond ETF’s that don’t go down?

I would like to put some percentage of my money in an investment that only goes up, even if it goes up only by a small amount.  One way to do this would be to put my money in a bank account, but I’d like a higher rate of return than that.  Is there an investment which has a very low chance of going down, but which offers a higher rate of return than a bank?  Preferably an ETF.  I thought Bond ETF’s would do that.  But when I look at supposedly safe Bond ETF’s like , they seem to often go down.  Apparently when interest rates go up the prices of the bonds in such bond funds go down, and that causes the value of the fund to go down.  Are there Bond ETF’s which only expose you to (low) default risk and not to interest rate risk?  Or some other kind of ETF which has a very small chance of going down?


Escaping quotes while inserting JSON into MySQL table

i have this JSON string, which i want to insert into table. Here is my insert query:  $insert_sql = 'INSERT INTO yun_postmeta (post_id, meta_key, meta_value)     VALUES (5054, "_wc_free_gift_coupon_free_shipping", "a:1:{i:6;a:3:{s:10:"product_id";i:6;s:12:"variation_id";i:0;s:8:"quantity";i:1;}}");';   Of course, the query breaks because of the quotes ("). When i add backslash () in front of them, to escape, the query works and string gets inserted into the table, but for some reason my system doesn't work properly.  However, if i copy the JSON string and insert it manually into table, using phpmyadmin, system works normally.  Any idea what could be the problem here?  This sounds like encoding problem, but i don't have a clue what to do to solve it.  Thank you!


Find the closed form of $$x+ \frac {2}{1\cdot 3} x^3 + \frac {2\cdot 4}{1\cdot 3\cdot 5} x^5 + \dots \quad \forall x \in (0, 1)$$   My approach:  Clearly we can see the formation of factorial in the denominator. so the series becomes-  $$x+ \frac {2^2}{3!} x^3 + \frac {2^2\cdot 4^2}{5!} x^5 + \dots $$  I cannot remember a series like that. then the other approach left is integration. now what to integrate, I am confused about that. I am just a beginner in this.


Why does the document class book add so much spacing?

I have a LaTeX document with:  \documentclass[12pt]{report}   And most of the spacing between paragraphs and images look like this:    When I just change the document class to:  \documentclass[12pt]{book}   Some pages contain way too much space either between paragraphs or between paragraphs and chapter titles or between paragraphs and images.  The same piece becomes:    How can I remove this spacing and what causes it?  The piece of code of that part is:  % ...  \vspace{20pt} \begin{figure}[H]     \centering     \includegraphics[width=350pt]{img/javascript.jpeg}     \caption{Esempio di mancanza di scoping in Javascript. \\Fonte: https://dev.to/murithi/scope-in-javascript-e5e} \end{figure} \vspace{20pt}  \par Questo è solo un esempio di come in alcune situazioni si rischia di perdere molto tempo nel cercare di  sistemare problemi derivanti per lo più da funzionalità poco intuitive del linguaggio.  \par L'unica eccezione all'utilizzo di tale linguaggio sarebbe lo sviluppo di prototipi veloci che poi non saranno  più mantenuti o utilizzati in futuro.  \subsection{Interesse nei linguaggi tipizzati}  \par Ho avuto il piacere di studiare e scoprire Haskell qualche anno fa per conto mio.  % ...


Showing that $\exists f: \mathbb {N} \rightarrow A$ that is injection

Suppose $A$ is infinite. Also suppose $\exists g:A \rightarrow \mathbb {N}$ that is 1-1. This is all the info I have. I need to show the result in the title because then I would have some function  $h$ that is a bijection from $A $ to $\mathbb{N} $ and that would mean that $A $ is countable. But I just do not see how to obtain that function  $f $ in title...


Radius of convergence of $\sum_{n=0}^{\infty}{\frac{n!}{n^n}}x^n$ and $x\in \mathbb{C}$

i computed $|x|<e$ by using $\lim\limits_{n\to\infty}\bigg |\frac{a_{n}}{a_{n+1}}\bigg |$. But shouldn't there be more solutions since $x\in \mathbb{C}$?


Script to print the interfaces and IP addresses

I would like to run a script to get all network interfaces and their IP addresses of a standalone PC, such that the command line can print out, for example:  <interface1>    <IP address>   and so forth This device is installed with RedHat Enterprise Linux 7.0. I have tried the following command but it only showed me one interface and the loopback address. The command was:      hostname --ip-address   There are 2 network interfaces in this PC, but I could only view the interface for the loopback, not the other interface. How can I get an output in the following manner?   <interface1> <non loopback ip address1> <interface2> <ip address 2>


How to resize /usr and /root directories on Ubuntu via terminal?

The way to resize via terminal on Ubuntu, is little complicate.  So, would like to learn which are these commands for resizing this directories (/usr & /root) and how to do it.


I've played with my friend a LAN game at his place. Unfortunately he lives quite far from me and I can't visit him on regular basis.  Can I use a save where we played via LAN to play with him via internet?


Interpretation of multiplyng matrices with different dimensions geometrically

I wanted to ask a question about the geometric interpretation of multiplying matrices but for non-identical dimensions.   I'm currently studying an introductory course in matrices for my Quantum Physics courses in Chemistry and am using 3Blue1Brown's course linked .   In  of his videos, he mentions multiplying matrices with vectors and showing this from a geometric perspective.  In  he shows how to do this with multiplying matrices together. Below is his example:  $$\begin{bmatrix}     0 & 2 \\    1 & 0  \end{bmatrix} \begin{bmatrix}     1 & -2 \\    1 & 0  \end{bmatrix}$$  This part makes sense. From reading right to left, considering vectors $\underline{i}$ and $\underline{j}$ as the unit vectors, the right hand matrix shows us where $\underline{i}$ and $\underline{j}$ initally land, at the coordinates $(1,1)$ and $(-2,0)$ respectively. The left hand matrix transforms the span, so calculating the new $\underline{i}$ and $\underline{j}$ vectors land can be done as such:  $$\begin{bmatrix}     0 & 2 \\    1 & 0  \end{bmatrix} \begin{bmatrix}     1 \\    1 \end{bmatrix} = 1  \begin{bmatrix}     0 \\    2 \end{bmatrix} + 1  \begin{bmatrix}     2 \\    0 \end{bmatrix} =  \begin{bmatrix}     2 \\    1 \end{bmatrix}$$  which is added to the left hand side of the final composition matrix, and likewise for the right hand side:  $$\begin{bmatrix}     0 & 2 \\    1 & 0  \end{bmatrix} \begin{bmatrix}     -2 \\    0 \end{bmatrix} = -2 \begin{bmatrix}     0 \\    2 \end{bmatrix} + 0 \begin{bmatrix}     2 \\    0 \end{bmatrix} =  \begin{bmatrix}     0 \\    2 \end{bmatrix}$$  Hence the final composition matrix is: $$\begin{bmatrix}     2 & 0 \\    1 & 2  \end{bmatrix}$$  The idea behind it, as explained geometrically, relies on the scalar and linear combination of vectors.   Now I see this can apply for matrices that are equal in dimension. Later videos expand into the 3-dimensional application of this idea.   However, one question I faced today was to find the resulting composition matrix of this:     $$\begin{bmatrix}     2 & 2 \\    0 & -2 \\    -6 & 3 \end{bmatrix} \begin{bmatrix}     -6 & 2 \\    -4 & -2 \end{bmatrix}$$   I initially thought of using the method above, but quickly found myself confused as I was dealing with multiplying a 3-dimensional matrix by a 2-dimensional matrix.  I was given the "rule" by my professor that states:     If the number of rows of the first and the number of columns of the second matrix are the same, multiply each row of the first column by the column of the second matrix with the numbers that correspond.    However, I disliked this "algorithmic" approach and tried to work out for hours if there is a geometric interpretation similar to that I attempted to explain and that given in the videos linked above where you can understand matrices as transformations and linear combinations of the unit vectors.   Is there a possible geometric interpretation that applies to multiplying vectors that are not the same dimensions?  My question is not a duplicate as the other question linked above refers to matrix multiplication using dot products and does not wish to make reference to a geometric analysis of the issue: my question applies only geometrically to see if such a way is possible.  I apologise if the answer is trivial but I come from a chemical field so this subject is new to me!


What's the best way to trim std::string?

I'm currently using the following code to right-trim all the std::strings in my programs:  std::string s; s.erase(s.find_last_not_of(" \n\r\t")+1);   It works fine, but I wonder if there are some end-cases where it might fail?  Of course, answers with elegant alternatives and also left-trim solution are welcome.


Compilation error executing basic if else statements

I had a similar code to this using numbers, and it worked perfectly. This however keeps underlining the word else and I don't know why. I am just playing around with java trying to understand a few principles.   I want to program to reply one of two statements depending on input. Also, where it says  if (input1 == "Hello");, I wanted to put  if (input1 == "Hello" || "hello"); to accept lowercase too, but that showed errors too.  Just to be clear, if i remove the else clause, my program runs and both statements are printed!  import java.util.Scanner;  public class Input {     public static void main(String[] args)      {     System.out.println("Hello there!");     Scanner Scan = new Scanner (System.in);     String input1 = Scan.nextLine();     Scan.close();      if (input1 == "Hello");         {             System.out.println("How are you?");         }         else             System.out.println("How rude, you didn't even say Hello!");             break;         }     } }


Swap places in business class with friend

Question to experienced travelers in both economy and business classes. I fly for work, in business. My daughter is flying privately, same flight, in economy. Long transpacific flight. Daughter never flew business, and I’d love to give her such possibility. But I can’t pay 5000 dollars for her business upgrade...  Do you think we could just swap boarding passes and places? A year ago same situation happened with my son  and flight staff didn’t allow to swap.  But with 2 women - how will they know? Thanks


How do i evaluate this limit :$\lim_{x \to 0} \frac{e^x-x-1}{x²}$ without using Taylor expansion

I would like to evaluate this limit without using Taylor expansion:  $$\lim_{x \to 0} \frac{e^x-x-1}{x^2}$$ .  Note: by Taylor Expansion i have got  :$\frac{1}{2}$ .  Thank u for any help .!!!!


Choosing variables in multiple linear regression

I am trying to make multiple linear regression models for multiple crops where my dependent variable is Yield of crops for ex. Yield of Wheat, Rice, etc. I have data set in which each row represent a district and for each district there are multiple variable such as climatic variables such as soil type, rainfall, topography etc and aggricultural input variables such as fertilizers, labors etc, and also there are distinct columns for yield of each crop. i am thinking of including fertilizer cost in RS/hectare which is for whole district, not specific to any one crop, so i am not sure about it, can i include this variable in my multiple regression model for single crop model. link for the data ->   EDIT  this is not duplicate of the any thread on stack exchange, my question is not about which variable are significant or not significant and on which basis choose them, i have not even run the model, right now i am trying to formulate the structure of model and therefor choosing which variable i can choose? please read the above paragrpah of question carefully  THIS IS NOT DUPLICATE ANY OF THEM, PLEASE GUYS DON'T JUST TAG THIS WITHOUT EVEN READING THE QUESTION STATEMENT! THIS IS VERY DISAPPOINTING!


How do I include a custom class file in a module?

In Drupal 7 module development, I could include a custom inc, api, or php class file using the  directive in the module.info file or the drupal_load_included() function.   With D8 using PSR, what is the proper way to package up a "plain ole PHP object" and reference it in DefaultController.php? Think something like: $a = new POPO();.  Is just giving the PHP file containing the class a namespace sufficient? How does the controller (or module in general) know to reference or scan for that class?


Is it acceptable to omit the last period of an acronym?

After reading  post, I was struck by the omission of the period (full stop) at the end of the acronym given.     A.V.C   I've never seen this before here in the States.  Is it permissible here? In England? Elsewhere?  Is it common anywhere?


Is there an Automator action to create Keynote presentation from text file?

I need to import a text file (consisting of subtitles) into a Keynote presentation. I need to turn each subtitle into a single slide, interspersed with blank (black) slides. I'd like to create an Automator action in order to do this.  I think the way to do this is to filter paragraphs ending in two line breaks, but I don't know how to do it.


How efficient is V.A.T.S in comparison to manual gameplay?

In my first playthrough at level 40 I ran out of useful-sounding perks and started wondering about V.A.T.S effectiveness. There are 25 perks directly benefiting V.A.T.S out of 93 perks in total (yes, I counted), which makes me think that it is supposed to be a much more substantial aspect of the game than I (and perhaps others that are used to pulling the trigger themselves) can fathom.  Is V.A.T.S really just statistics, convenience and cinematic splatter or is there a whole other angle I'm not seeing?    EDIT: I know about Threat Detection and Critical Strikes. I'm just wondering why that would merit 1/4 of all perks being about V.A.T.S when it seems like it is just an alternative play style to FPS. Can someone give me a concrete breakdown of how effectively V.A.T.S can be used? I believe I'm not alone in saying that there might be less obvious nuances to it that justify its existence.


I am working on feature where I have to use JS to highlight what is being selected by customer, however the variable in itself contains period as part of it. I have following code in the HTML and JS  HTML

 7

   JS  console.log('#'+'div_product-size-icon-'+productCode ); $('#'+'div_product-size-icon-'+productCode).addClass('active');   Where productCode is 50174TV07.0. This code is working fine if product code does not contain . as part of it, however in case product code have ., my code is not working.  I can not change product code as this is predefined so only option left for me is to modify my JS code to handle this.  Is there any other way apart from change . to _ in my HTML and work with it. My other biggest constraint is about the HTML as this is not directly controlled by me and this leave me with very limited choices.


Optimal Projectors in a trace involving positive definite matrices

Let A and B both be symmetric positive semidefinite matrices, and P be a projector with a specified rank.   Note that Tr(A B) must be nonnegative, even though AB is not necessarily positive semidefinite. I have two questions:  Is ${\rm Tr}(A P B P) \le {\rm Tr}(AB)$? Assuming that 1. holds, what P (of a given rank) maximizes ${\rm Tr}(A P B P)$?


Is Snappy Core available for Raspberry Pi 3/4?

If it's available, I can't seem to find it on the site. If it's not, can someone please link me to as much information as possible so that I can track progress on developments? Thanks.


I have a valid Standard Visitor UK visa for several years. But I also must attend a study course for 3 months in the UK, and organisers informed me that I must have a short term student visa. If I reapply for a student visa with this passport my longer Standard Visitor visa can be canceled. And I don't want this. Another reason, is that I need my passport for traveling while having other passport in the UK migration for several weeks waiting for a decision.   I also have a second passport, a different nationality and slightly different name. Can I apply for a student visa with other passport, and have a valid Standard Visitor in different passport simultaneously?   Of course I would submit copies of my two passports with my application. And an officer may see that I, as a person of another nationality, already have a visa, though a different type.


Convergence of $\sum_{n=2}^{\infty}\frac{\sqrt{a_{n}}}{\ln\, n}(n^{a_{n}}-1)$

If $\sum_{n=2}^{\infty}a_n$ converge, then also converge this series? $$\sum_{n=2}^{\infty}\frac{\sqrt{a_{n}}}{\ln\, n}(n^{a_{n}}-1)$$  Please verify my answer below  Counterexample:  $$a_{n}=\begin{cases} \frac{1}{k^{2}} & n=k!^{k^{2}}\\ \\ 0 & \text{All other cases} \end{cases}$$  When our infinites sum is equal to  $$\sum_{k=1}^{\infty}\frac{1}{k}\cdot\frac{1}{2\, \ln\, k}\cdot(k!-1)$$


How I Can Create A Launcher For a Program

As you know, Firefox has been update to 57.00 but some extensions doesen't work for me. For that i want to pass 56.00 and i remove Firefox 57.00, after that i download Firefox 56.00 version and lastly i copy Firefox 56.00 folder, to there /usr/local directory.  When i give the firefox command, on command line it's work, Firefox open but there is a no icon launcher.  When i search the Firefox starter icon, i can't found anything.  Now how i can create a launcher for Firefox?  PS: I am not using Unity, i'm using XFCE.


What is Registration in swatches and what's the use of it?

I tried to understand it on  article but couldn't understand it. I'm observing this for couple of years but never really thought about it much. Also, sometimes when I'm working on something using gradient, colors for gradient stops turns black and white no matter which color I choose. So one day, I accidently clicked on this Registration mark, it filled black to my shape (why?) and again filled gradient colors and it was no more black and white. I really don't understand what trick it did.  So what is it and where can we use it? I have never intended to use it or felt the need. How useful/common is it among designers?  For me, the question claiming to be duplicate, isn't. The question answers there don't specifically focus on explaining what the registration mark is. Also, there's another doubt which I've already added in my details. I'm not familiar with InDesign, that may also be reason I'm not able to perceive those answers properly.


Can Rails Routing Helpers (i.e. mymodel_path(model)) be Used in Models?

Say I have a Rails Model called Thing. Thing has a url attribute that can optionally be set to a URL somewhere on the Internet. In view code, I need logic that does the following:  <% if thing.url.blank? %> <%= link_to('Text', thing_path(thing)) %> <% else %> <%= link_to('Text', thing.url) %> <% end %>   This conditional logic in the view is ugly. Of course, I could build a helper function, which would change the view to this:  <%= thing_link('Text', thing) %>   That solves the verbosity problem, but I would really prefer having the functionality in the model itself. In which case, the view code would be:  <%= link_to('Text', thing.link) %>   This, obviously, would require a link method on the model. Here's what it would need to contain:  def link   (self.url.blank?) ? thing_path(self) : self.url end   To the point of the question, thing_path() is an undefined method inside Model code. I'm assuming it's possible to "pull in" some helper methods into the model, but how? And is there a real reason that routing only operates at the controller and view layers of the app? I can think of lots of cases where model code may need to deal with URLs (integrating with external systems, etc).


Does PCA's reconstruction error get reduced with more PCs being used?

Say that the raw data is $N$-dimensional, where $N$ is a large positive integer. If we apply PCA to the dataset, and compute the reconstruction error (in $\ell^2$-norm) using the first $d \leq N$ components, will the reconstruction error monotonically decrease to $0$ as $d \rightarrow N$?


Two independent geometric random variables - proof of sum

If $X$ and $Y$ are independent geometric random variables, $X \sim G(p)$ and $Y \sim G(q)$ then if $Z = X+Y$ I need to show that:     $$P[Z=z] = \frac{pq}{p-q}[(1-q)^{z-1}-(1-p)^{z-1}]$$   My attempt: \begin{align} P[Z=z] &= \sum_{k=1}^z P[X=k]P[Y=z-k] && \text{(not sure of my summation limits here)}  \\ &= \sum_{k=1}^z p(1-p)^{k-1} \cdot q(1-q)^{z-k-1} \\ &= \frac{pq}{(1-p)}\cdot \frac{(1-q)^z}{(1-q)}\cdot\sum_{k=1}^z (\frac{1-p}{1-q})^k \\ &= \frac{pq}{(1-p)}\cdot \frac{(1-q)^z}{(1-q)} \cdot \frac{1-(\frac{1-p}{1-q})^k}{1-\frac{1-p}{1-q}} \\ &= \frac{pq}{(1-p)}\cdot \frac{(1-q)^z}{(p-q)} \left[1 -(\frac{1-p}{1-q})^k\right] \\ &= \frac{pq}{p-q}\left[\frac{(1-q)^z}{1-p} - \frac{(1-p)^z}{1-p}\right] \end{align}  The result is pretty close to the answer. The only discrepancy is the first expression in the parentheses, $\frac{(1-q)^z}{1-p}$ which should be $\frac{(1-q)^z}{1-q}$.    Could someone please have a look at my working and show me where I have gone wrong? Or perhaps a neater calculation? Thanks!    PS I did check similar questions answered here, but couldn't find anything relevant to my problem.


Special characters gets swapped during login

During logging into Ubuntu 18.10, as my password has @ (at the rate) character in it. When I try to enter in by using Shift+2 which is the equivalent for the @ character it outputs the " (double quote) character and vice-versa. But due to some reasons both the characters are swapped only after restarting the PC. After logging in it reverted back to the normal key positions. Is this any hardware fault   in the OS? This problem is there for me since Ubuntu 18.04 and now I am using Ubuntu 18.10


Log4j RegexFilter, How to configure PatternFlags?

I want to use RegexFilter () in order to filter URLs. But in order to do so i need to config the regex pattern with Pattern.DOTALL flag. How do I config the RegexFilter to construct his pattern with this flag ? I tried this :  <RegexFilter regex=".*https://[-A-Za-z0-9+&amp;@#/%?=~_()|!:,.;]*[-A-Za-z0-9+&amp;@#/%=~_()|].*" onMatch="DENY" onMismatch="ACCEPT" PatternFlags="DOTALL"/>    But the PatternFlags is ignored.   Looking at the RegexFilter code, It does read the PatternFlags property :     @PluginFactory     public static RegexFilter createFilter(@PluginAttribute("regex") String regex, @PluginElement("PatternFlags") String[] patternFlags, @PluginAttribute("useRawMsg") Boolean useRawMsg, @PluginAttribute("onMatch") Result match, @PluginAttribute("onMismatch") Result mismatch) throws IllegalArgumentException, IllegalAccessException {         if (regex == null) {             LOGGER.error("A regular expression must be provided for RegexFilter");             return null;         } else {             return new RegexFilter(useRawMsg.booleanValue(), Pattern.compile(regex, toPatternFlags(patternFlags)), match, mismatch);         }     }


Python duplicated empty list problem with append

The following code surprised me.  alist = [[]] * 4  alist[0].append(100)   I expected that alist would be   [[100],[],[],[]]   but it turned out to be   [[100],[100],[100],[100]]   Does anyone know why python works that way? thank you.


In the movie , it is shown at the end that Virgil has been conned and his whole collection has been stolen. He discovers this after coming home from the London auction; in the next scene it is shown that he is in a psychiatric institution.  But in the corresponding scenes, he is wandering Prague (I think in the faintest hope that he might get to see Claire once again, and that her love may not have been faked completely), looking at clocks, and spinning in a wheel-like thing.  What exactly is meant by this? Is this all in his imagination, and/or does it take place after he is released from the institution? Or is it a metaphor for something else entirely?  I may have missed some important detail, but I'm at a complete loss to understand this ending part of the movie.


Is it possible to submit a paper to a scholarly, peer-reviewed journal without PhD and get it accepted?

Is it possible to submit a paper to a scholarly, peer-reviewed journal without PhD? More specifically, what would be the bare minimum qualifications that would grant one the possibility of the paper being published in a peer-reviewed academic medium?


My goal:   I have a computer in a location A, let's call it host-A. I have a computer in a location B (host-B) running an ssh server, and I can ssh from host-A into host-B. I want to access a website on the web browser of host-A, say  via an ssh tunnel through host-B.  What I did:  In host-A, I type ssh -v -N -L 8080:example.com:80 host-B. I can check using netstat  --inet -lnp that ssh is indeed listening on 127.0.0.1:8080, with foreign address 0.0.0.0:*. In host-B, I can access example.com. Hence in host-A browser (firefox here), when I type the url "", I should access the example.com webpage.  My questions:  When I do this, I actually get a 404 not found. Yet, in the shell in which I issued the "ssh -L", I see some logs, for instance:  debug1: Connection to port 8080 forwarding to example.com port 80 requested.  (1) So what happened here? I did exactly the same (except using example.com) as, e.g., .  When I try with "www.ubuntuforums.org" (so ssh -v -N -L 8080:www.ubuntuforums.org:80 host-B in host-A),  actually takes me to "". (2) Why is that?  When I try with ssh -v -N -L 8080:www.stackoverflow.com:80 host-B, I get:  Fastly error: unknown domain: localhost. Please check that this domain has been added to a service. Details: cache-cdg20728-CDG (3) Again, why? So many mysteries for me here...


Why margin doesn't work inside the block?

I have this code:

  .block {   display: block;   height: 100px;   width: 100px;   background: black; } .container {   display: block;   width: 30px;   height: 30px;   background: red;   margin: 50px; }   I can not understand why margin does not work inside the block?   JsFiddle:


Make radio buttons disappear in close dialog if I have an active close vote on a question

Note: This  has been posted as  to the .    Earlier when I used to cast a close vote, the dialog would look like this:    That is, the radio buttons used to disappear. But now since the redesign of the close vote dialog, the radio buttons don't disappear:    Or at least make test distinguishable like that of flags:


How do I prove that the function $n\to a_n:=\left(1+\frac{1}{n}\right)^{n+1}$ is decreasing, where $n$ is a positive integer?   P.s.: I'm 11th grade,and I didn't get to derivatives, we are currently studying limits of functions operations. Thanks in advance!


youtube-dl - Where does one locate user-created functions ( )?

I'm looking for clarification about an aspect of this question:     is great except that I may not be the only one wondering where to put such functions()? Should it go in the youtube-dl config file created as per a previous answer? Or where elsewhere?


How to type French quotation marks on US-Intl layout?

$ setxkbmap -query | grep layout layout:     us   I believe I specified a US-Intl keyboard layout during installation of Linux Mint 18.3 (subsidiary question, how to check that?). I'm able to get accents, for example, right-alt+,+c prints ç  But not French quotation marks. I tried right-alt+[, right-alt+z, and right-alt+\, which are solutions found in several posts/Wikipedia, they don't produce «.  Update:  $ cat -n /usr/share/X11/xkb/symbols/us | head -n 120 | tail -n 14    107      key <AC04> { [     f,          F,             f,                F ] };    108      key <AC05> { [     g,          G,             g,                G ] };    109      key <AC06> { [     h,          H,             h,                H ] };    110      key <AC07> { [     j,          J,             j,                J ] };    111      key <AC08> { [     k,          K,            oe,               OE ] };    112      113      key <AC09> { [     l,          L,        oslash,         Ooblique ] };    114      key <AC10> { [ semicolon,      colon,     paragraph,           degree ] };    115      key <AC11> { [dead_acute, dead_diaeresis, apostrophe,        quotedbl ] };    116      117      key <AB01> { [     z,          Z,            ae,               AE ] };    118      key <AB02> { [     x,          X,             x,                X ] };    119      key <AB03> { [     c,          C,     copyright,             cent ] };    120      key <AB04> { [     v,          V,             v,                V ] };  $ cat -n /usr/share/X11/xkb/symbols/us | grep quotemark     86      key <AE09> { [     9,  parenleft, leftsinglequotemark, dead_breve ] };     87      key <AE10> { [     0, parenright, rightsinglequotemark, dead_abovering ] };    101      key <AD11> { [ bracketleft,  braceleft,  guillemotleft, leftdoublequotemark ] };    102      key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };    170    key <AE09> { [      9, parenleft, leftsinglequotemark,  dead_breve ] };    171    key <AE10> { [      0, parenright, rightsinglequotemark, dead_abovering ] };    270      key <AE09> { [     9,  parenleft, leftsinglequotemark, dead_breve ] };    271      key <AE10> { [     0, parenright, rightsinglequotemark, dead_abovering ] };    272      key <AE11> { [ bracketleft,  braceleft,  guillemotleft, leftdoublequotemark ] };    273      key <AE12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };    677      key <AE10> { [     0, parenright,     masculine,singlelowquotemark] };    682      key <AD02> { [     w,          W,         U2211,doublelowquotemark] };    691      key <AD11> { [ bracketleft,  braceleft, leftdoublequotemark, rightdoublequotemark ] };    692      key <AD12> { [bracketright, braceright, leftsinglequotemark, rightsinglequotemark ] };    741      key <AE09> { [            9,    parenleft,  leftsinglequotemark,  leftdoublequotemark ] };    742      key <AE10> { [            0,   parenright, rightsinglequotemark,  rightdoublequotemark ] };    871              leftsinglequotemark,    dead_breve  ] };    873              rightsinglequotemark,   dead_abovering  ] };    917              leftsinglequotemark,    dead_breve  ] };    919              rightsinglequotemark,   dead_abovering  ] };    950              leftsinglequotemark,    dead_breve  ] };    952              rightsinglequotemark,   dead_abovering  ] };   1459   key <AE09> { [  9, parenleft, leftsinglequotemark, U0306 ] };   1461   key <AE10> { [  0, parenright, rightsinglequotemark, U030A ] };   Not sure what is the "standard kb".     dpkg-reconfigure keyboard-configuration


Right eigenvector λ and left eigenvector are orthogonal.

Let x be a (right) eigenvector of A corresponding to an eigenvalue λ and let y be a left eigenvector of A corresponding to a different eigenvalue µ, where λ $\neq$ µ.   Show that x∗y = 0.  Hint : Ax = λx and y'A = µy'


What does 'per unit frequency' refer to?

We were discussing Kirchoff's theorem on blackbody radiation in class today and the equation was: $$e_{f}= J(f,T)$$  $e_f$ was defined as power per unit area per unit frequency. What does per unit frequency refer to here? I know what per unit time means but don't understand 'per unit frequency'.


if $a,b,c$ are positive prove that $a^2+b^2+c^2+2abc+3\ge (1+a)(1+b)(1+c)$

if $a,b,c$ are positive prove that $$a^2+b^2+c^2+2abc+3\ge (1+a)(1+b)(1+c)$$  I have tried to use the  p-q-r method. let $p=a+b+c,q=ab+bc+ca,r=abc$ we have to prove $$p^2-3q+r+2-p\ge 0$$ as $p^2\ge 3q$ we have to prove $$r+2-p\ge 0$$. but i don't think this is true. Also i know the following inequalities but i can't figure out how to use them.  $pq\ge 9r$ $2p^3+9r\ge 7pq$ $q^3\ge 27r^2$ etc. etc.  Please note that i am looking for a solution only using pqr.I would be grateful if anyone can explain their logic behind the proof as it is the first time i am using 'pqr' method.


This is my formula in cell D2:  =SUMPRODUCT(B:B=B2;F:F>F2)+1  The values in column are all of the same length, and are continually updated by contributions from google forms. Therefore a condition based on length makes no sense.  How can I make an Arrayformula of this, so that the B2's and F2's change with the row numbers? The function "indirect" isn't possible in an Arrayformula.


Why does the interval where the differential equation makes sense not include $x = 0$?

Here is the ODE equation $xy' = 2y$. A book states that the interval where it makes sense doesn't include $0$. Can you explain why? As to me, I think it is defined everywhere.  This problem is from the book "Ordinary Differential Equations - Harry Pollard, Morris Tenenbaum". The exact problem states: "Prove that the functions in the right-hand column below are solutions of the differential equations in the left-hand columns. (Be sure to state the common interval for which solution and differential equation make sense.)"  $xy' = 2y$ and $y = x^2$ with the answer $x \neq 0$


Arbitrary products of quasi-coherent sheaves?

I have a short question:  Does the category of quasi-coherent sheaves on a scheme have arbitrary products? I know that it does if the scheme is affine and I know that they will not be isomorphic to the product as $\mathcal{O}_{X}$-modules, but I haven't been able to find a counterexample.  Any help is appreciated!


I have a Trek 3900 Mountain bike that had a serious creaking problem whenever I would pedal.  I found that the ring that holds the Shimano sealed bearing was really loose.  I tightened it up and it helped somewhat.  It loosened up again and I put loktite on the threads and really tightened it up but it is still creaking a little.  The bearing cartridge seems fine.  Any ideas?


If $\gcd(a,x)=1$, then $a\mathbb N+b, x\mathbb N+y$ intersects.

I have tried to think as intersections of two lines but for $2x+3$ and $5x+7$ is failed to have integer intersections (but not sure it is enough counterexample). Is the above generalisation correct? Can you give a counter-example, or a hint for how to prove it?


Using the Android app, I frequently select from the tags list to view recent questions on subjects I might be able to help with.  However, after viewing a question, tapping back (either the phone's default or the arrow in the top bar) returns me to the tags list, not the questions as one would expect. It makes for a frustrating user experience.  Any chance this could be altered in a forthcoming version?


How to fetch the nested json data in apex

I'm getting an error  Invalid conversion from runtime type List<ANY> to Map<String,ANY>  for the json {     "customersId": "22",     "stockType": "CurrentStock",     "products": [         {             "identifier": "GN20",             "stock": [                 {                     "locationId": "xxxx",                     "locationType": "Samsung",                     "quantityInStock": 100,                     "salesUnit": {                         "code": "INOX",                         "name": "INOX"                     }                 }             ]         }     ] }  Following is the apex code Map<String, Object> m = (Map<String, Object>)JSON.deserializeUntyped(res.getBody());  System.debug('deserialize result'+m); Map<String, Object> myMaps = new Map<String, Object>(); myMaps = (Map<String, Object>)m.get('products'); // getting error System.debug('myMaps:- ' + myMaps); List<Object> myMapObjects = (List<Object>) myMaps.get('stock'); System.debug('Test--'+myMapObjects);  After this, I want to iterate the locationId and locationtype from json and display it in vf page


Conditional Sentences where it's not known whether the condition with if clause got fulfilled or not

As far as my knowledge goes, the third conditional is used in cases where we're talking about a past condition for example  If she had come home early , she would have got to meet him.  Well the person didn't get home early so she didn't get to see whoever she wanted to see. But what about the cases where it's not certain whether the condition with 'if' clause got fulfilled or not? In the above sentence if it wasn't known whether she came home early or not. What should be used instead of If she had come early? It clearly implies that she didn't come home early .


Installing cpu Cooler inside case/cabinet..safe?

Is it safe to put force/pressure to install cooler while the mobo is inside the case/cabinet.Is there a chance of the mobo getting cracked due to force/pressure?


Proper Bernoulli Function Generating Function

Consider the function  $$\frac{t}{e^t - 1} = \sum_{i=0}^{\infty}\frac{B_i}{i!}t^i$$  This has been one of the famous generating functions for the bernoulli numbers. What about the function associated with  $$\sum_{i=0}^{\infty}B_it^i$$  What function could this be?


Command-line Resource Monitor for Windows?

On Windows, there's a GUI "Task Manager", and there's also a great little command-line "tasklist.exe" which lets me see most of the same data but in text that's really easy to parse from a script.  Is there an analogous command-line tool for "Resource Monitor"?  I'm looking for something that will list global CPU/disk/network/memory usage, and/or per-process usage.


Reduce the storage space taken up by "System" on my iPhone 6s without restoring and setting up iPhone as new

I have an iPhone 6s with iOS 11 and I have just noticed that a large amount of my iPhone's storage space being occupied by "System" (12.27 GB).   I have tried the answers for the iPhone 4 explained in the question  (except for factory resetting and setting the iPhone up as new as I need to keep my app data) however those did not solve the problem on my iPhone 6s. I have tried restarting and syncing with iTunes, but neither solved the problem.


Passing array as pointer to function and using sizeof() operator

I tried to get how many bytes are allocated for an array using standalone function but I failed. My code is as follows:  #include <stdio.h>  void testing(char *source);  int main(){      char a[12] = "Hello World!";     //printf("%d",sizeof(a));   Prints 12. I want to get this value     testing(a); // Prints 4. I need to get 12 by using functions   return 0; }  void testing(char *source){     printf("%d",sizeof(source)); }      I want to get result as 12 but output tells me that it is 4.


Bash shell script to add classpath if empty

I am new to Bash Scripting and would need help to make a simple script that I will run on my CentOS. I would like the script to check if classpath is empty like this:  > [root@hdp ~]# echo $CLASSPATH >  > [root@hdp ~]#   do: export CLASSPATH="something"  else  echo -n "There's already a classpath! Appending!"   If there already is a classpath set, append to the existing one without overwriting to it.


I am very new to using predicates and just learned how to write:  Predicate<int> pre = delegate(int a){ a %2 == 0 };   What will the predicate return, and how is it useful when programming?


Is hunter x hunter anime stop in episode 148

Does the anime for hunter x hunter stop in episode 148? I am asking this since there is a scene here on 3:53  and it didn't look like a 1999 anime in Hunter x hunter so I was curious


What size of tyres can I use on my BTwin Original 5?

I own a hybrid, BTwin Orginal 5 which is almost 5 years old. Lately I've been doing a lot of road cycling. This bike comes with 700x42c ISO 44-622 size tyres which weigh in around a kg per pop. I wish to change my tyres to help me improve my speed and my cadence as I feel the tyres I have now are weighing me down a lot and I have to put it double the effort other road bike riders have to put in. The bike weighs in around 14kgs. I would love it if anyone could help me out with what size tyres I can put on this bike as I am pretty confused with mixed response from a lot of people. I would like slimmer tyres which could be used in road conditions. I am confused as I don't know if I can put a proper 28mm or a 25mm road bike tyre on my bike or if I have to stick with the hybrid standards of 32mm or 35mm tyres of which all are 700c. Pls help.


"source ~/.bash_profile" has to be executed in order to use "python" for "python3"

Everytime after I restart the machine, "source ~/.bash_profile" has to be executed first in order to use "python" as an alias for "python3". Is there a solution for this problem?  I have the following lines in my ~/.bash_profile:  # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH=/opt/python35/bin/:$PATH alias python="python3" export PATH   Thanks in advance!


Patch OpenSSL CVE-2014-0160 on ubuntu 12.04?

NO, this is not a duplicate of . So, read on.  I am seeing conflicting information with respect to Ubuntu 12.04:   The  claims Ubuntu 12.04 to be affected and needs to be patched with 1.0.1g The  claims that version 1.0.1-4ubuntu5.12 for the package libssl1.0.0 should fix the issue on Ubuntu 12.04.   Now I do have these packages installed:  # dpkg -l | grep ssl ii  libssl1.0.0                      1.0.1-4ubuntu5.10                 SSL shared libraries ii  openssl                          1.0.1-4ubuntu5.10                 Secure Socket Layer (SSL) binary and related cryptographic tools  # lsb_release  -a | grep -i description Description:    Ubuntu 12.04.3 LTS   So, If I consider above two points, I am not sure which one is true.  Besides,  says that my machine is vulnerable.  Has anyone yet been able to fix this issue successfully on Ubuntu 12.04? If yes, then could you provide me the steps you have taken?


I have a password-protected ZIP file that contains a single file. Also I have the same file outside the archive in a plain version. I know for sure that this is the same file. Is it possible to determine the password used for this archive?  To be clear, I want to know the actual password used for the ZIP file; I'm not trying to simply gain access to the ZIP file's content without knowing the password.  My question is not answered by this proposed . That question deals with accessing the ZIP file without knowing the password. I am trying to compute the password leveraging the fact I have the same file inside and outside the archive.


I have used latex for preparation of my thesis. My references look like following. How to avoid white space in the references?


I downloaded the iso file of Ubuntu 11.04 (32 Bit) from Ubuntu download page  and followed the instruction of creating Bootable USB Memory Card. from the same download page (http://www.ubuntu.com/download/ubuntu/download).  But after 9th Step i.e. executing the following command   sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m   Mac could not detect the USB Memory Card. I have to format the Memory Card again.  Here is a configuration I am trying 1. Mac OSX 10.6.8 2. Ubuntu 11.04  32 Bit iso installation (I Created dmg file as per steps)


I answered  with a bounty leaderboard.   To the question, should the site have an area where you can see a bounty leaderboard (monthly, yearly)? Yay, nay, waffles?


Is there a better way to draw an arrow until it reaches the curve? I have just hard coded the numbers, but was wondering if there was a way to label the curve then draw until the curve.   \begin{figure}[h!]     \centering     \begin{tikzpicture}         \draw[thick, ->] (-0.5, 0) -- (3.5, 0) node[anchor=west] {$x$};         \draw[thick, ->] (0, -0.5) -- (0, 1) node[anchor=south] {$y$};         \fill (0, 0) circle (0.7mm) node[anchor=north east] {$O$};         \draw[thick] (0, 0) .. controls (1, 1) and (2, 1) .. (3, 0);         \draw[thick, ->] (0.5, 0) -- (0.5, 0.35);         \draw[thick, ->] (1, 0) -- (1, 0.6);         \draw[thick, ->] (1.5, 0) -- (1.5, 0.7);         \draw[thick, ->] (2, 0) -- (2, 0.6);         \draw[thick, ->] (2.5, 0) -- (2.5, 0.35);     \end{tikzpicture} \end{figure}   produces the image


This sentence below is extracted from vocabulary for IELTS book (recording scripts part).     But nowadays all we seem to do is argue and that causes a lot of conflict between us.   Why she's saying argue? Shouldn't it be arguing or argument? And why conflict is not plural?


Function which refers to an object. Both are in an object. What does "this" mean?

Nope, the title is not an enigma.  I have :  obj = {     NaNException:function(message=''){         this.message=message;     },     input:{         integer:function(a){             var b = prompt(a);             if (isNaN(parseInt(b, 10)))                 throw new this.NaNException();             else                 return b;         }     } }   so, in NaNException:function(){ }, this is expected to be NaNException, but in integer, it is expected to be obj... which interpretation is the good one? And what can I do with the wrong one to have the expected result ?  Thanks in advance.


Would Restore the Peace affect a hexproof creature?

Would restore the peace affect creatures with hexproof?  I have  (all creatures you control have hexproof, your opponent cannot have hexproof). I attack and then my opponent plays , would this affect my creatures since they have hexproof?


Fan constantly on, Dell Inspiron 15R, Ubuntu 12.04

Problem  I installed Ubuntu 12.04 on a Dell Inspiron 15R. As soon as I boot, the fan starts at full speed and stays constantly on. I've seen similar posts, where installing fan control apps are recommended like  i8kmon   jupiter mesa-utils   but in general, these do not allow for automatic fan speed control and one has to manually set the fan speed, while keeping track of the processor's temperature. See:   Technical specs   - Processor: Intel® Core™ i5-3337U CPU @ 1.80GHz × 4  - RAM: 6 GB  - Disk: 500 GB  - Graphics: Standard Intel drivers  - OS type: Ubuntu 12.04 (64-bit)   lm-sensors  coretemp-isa-0000 Adapter: ISA adapter Physical id 0:  +45.0°C  (high = +87.0°C, crit = +105.0°C) Core 0:         +40.0°C  (high = +87.0°C, crit = +105.0°C) Core 1:         +45.0°C  (high = +87.0°C, crit = +105.0°C)   Any hint on how to solve this ?


Are bubbles in ice at a lower or higher pressure than atmospheric pressure?

When water phase-transitions into ice it expands. The water usually contains dissolved air. Freezing forces the air out of the solution into bubbles.  Are these bubbles at a lower or higher pressure than atmospheric pressure?   I can see arguments both ways: when a washer expands, both the outer and inner radius increase. This would imply bubbles are at a lower pressure, but perhaps the ice expands differently and squeezes the bubble and it is at a higher pressure. However, if they were squeezed I would expect them to try to expand, and propagate along weak fraction lines in the ice, and I do not see this - bubbles are usually round, suggesting low pressure environments.  Edit: Two papers on the subject, but neither sheds direct light on the answer:   "Bubbles and bubble pressures in Antarctic glacier ice" (A. J. Gow, ) shows that the bubbles shrink with increasing pressure. These are therefore presumably high-pressure bubbles. However, the internal bubble pressure is due to ice compressing as more ice forms on top, not just the freezing process. "Air Bubbles in Ice" (A. E. Carte, ) talks about bubble formation, but not internal bubble pressure.


How can I execute an equivalent of `head -z` when I don't have the `-z` option available?

I need head -z for a script (off-topic, but the motivation can be found ), but in my CoreOS 835.13.0 I get head: invalid option -- 'z'.  Full head --help output:  Usage: head [OPTION]... [FILE]... Print the first 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.  Mandatory arguments to long options are mandatory for short options too.   -c, --bytes=[-]K         print the first K bytes of each file;                              with the leading '-', print all but the last                              K bytes of each file   -n, --lines=[-]K         print the first K lines instead of the first 10;                              with the leading '-', print all but the last                              K lines of each file   -q, --quiet, --silent    never print headers giving file names   -v, --verbose            always print headers giving file names       --help     display this help and exit       --version  output version information and exit  K may have a multiplier suffix: b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024, GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.  GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report head translation bugs to <http://translationproject.org/team/> For complete documentation, run: info coreutils 'head invocation'   The funny part is that the last line tells me to run info coreutils 'head invocation' but I get info: command not found.