How can I deploy a Perl/Python/Ruby script without installing an interpreter?

I want to write a piece of software which is essentially a regex data scrubber. I am going to take a contact list in CSV and remove all non-word characters and such from the person's name.  This project has Perl written all over it but my client base is largely non-technical and installing Perl on Windows would not be worth it for them.  Any ideas on how I can use a Perl/Python/Ruby type language without all the headaches of getting the interpreter on their computer?  Thought about web for a second but it would not work for business reasons.


Any Firefox plugin to display memory usage of each tab?

Just wondering if there is any Firefox plugin to display memory usage of each tab?  Just some website just eats up so much memory so fast when I open it in a new tab, for example some canvas loading sequences of images just to play an animation, stuff like that totally freeze my browser big time.


mysql error: ERROR 1241 (21000): Operand should contain 1 column(s)

I am facing an issue with a mysql query. I need to copy data from one table to another table. The query I am using is:  mysql> insert into voucher (code, amount, expire_at, state, driver_id, asset_account_id, created_at, updated_at, creator_id, agent, voucher_batch_id, image, city_id, country_id, serial_number, updater_id, redeemed_at) select (code, amount, expire_at, state, driver_id, asset_account_id, created_at, updated_at, creator_id, agent, voucher_batch_id, image, city_id, country_id, serial_number, updater_id, redeemed_at) from voucher_log ;  But, I am getting the below error on executing this:     ERROR 1241 (21000): Operand should contain 1 column(s)


Duplicate flag links in 10k tools are broken

Oy!  links are broken, on Stack Overflow at least:        Nothing clickable here.  Markup: Duplicate answers: &lt;a href=&#39;/a/17872807&#39;&gt;17872807&lt;/a&gt;


Who is on the Community Management Team, and what do they do?

The members of the Community Management Team (sometimes referred to as the Community Team or CMs) are employees of Stack Exchange the company, but not all SE employees are Community Management Team members. When visiting the profile of staff members there is , but since not all staff members are CMs, how do I recognize the CMs? Also, what is their role on these sites? Are they moderators? What is their relationship to ?


I have Macbook Pro Retina with Mavericks. Somehow I uninstalled iBooks. How can I re-install it? I tried Google but did not help.


Will my passport number change when I renew it?

I'm travelling soon but need to renew my passport.  Given that I have to provide my passport number to the airline to book a flight, I was wondering if my passport number would change if I renew it.  Or would the number stay the same and the expiry date just change?  I'm asking specifically as an Australian citizen, although I suspect a 'common' answer (if there is a general way this works) might be useful too.


Existence of a set $C$ such that $|B|=|C|$ and $A\cap C=\emptyset$

Let $A$ and $B$ be sets.  Is there a set $C$ such that $|B|=|C|$ and $A\cap C=\emptyset$?


What system would the best for a sony vaio vpcp110kl?

Im new to all this stuff so i realy new help. Thaks in advance!


Could I install certain custom ROMS for other devices e.g. Samsung tab 3 Stock on Samsung Galaxy tab 2? If so, how, and what should I do?


Why are Hogwarts' students so ignorant of Muggle society?

Before going to Hogwarts young wizard and witches must have either gone to Muggle school or been home schooled. Probably not every pair of wizard parents wants or has the time to home school their children. So if they went to Muggle school, how could they be so ignorant about the Muggle society when they are surrounded by it almost every day of their lives? It would be impossible not to learn how to use daily things like computers and electric lights if they were exposed to that type of environment. The only alternative is that wizard and witch children have no education at all up until the age of eleven...but to not have any experience with school and then be sent away to boarding school for ten months? That is inconceivable to me. Any ideas?


Varistor - Place before or after the fuse?

What is safer? Before or after the fuse? In my case the varistor is 10mm, 275Vrms, and it is currently placed after a 250Vac, 7A, 20mm glass fuse. Would the varistor blow the fuse easily if placed after? I will not say if the fuse is fast or slow action type, you should consider that in practice the fuse will be one of those are selled in any little electronics store, a standard/commom fuse... I don't know if those commom fuses that you find in any electronics store are slow or fast action type... But anyway, there was a day that I asked myself if there would be any advantage of puting the varistor before the fuse, directly in parallel with the mains, I don't have an answer for that yet.  Regards


I know this may be an incredibly easy answer but I couldn't find the answer to this so is there an easy way to convert between hex and decimal and binary and hex in python like the way you can convert from decimal to binary with int()?  Thanks in advance for your answers. - Ed


So currently im being chased because someone has put a bounty on me. But if you commit suicide, lets say you jump off a cliff, do you still have your bounty?


Simple question about the definition of Brownian motion

I have a question concerning the definiton of Brownian motion. Usually (e.g. on Wikipdia) one demands a brownian motion $\lbrace B_t\rbrace_{t\in[0,\infty)}$ to satisfy the following condition:  $\forall 0\leq t_0<t_1<...<t_m: B_{t_1}-B_{t_0},...,B_{t_m}-B_{t_{m-1}}$ are independent random variables.   But today I come across with formally another definition of Brownian motion! Instead of the above condition the book demands the following property:  $\forall t,h\geq 0$, $B_{t+h}-B_t$ is independent of $\lbrace B_u : 0\leq u\leq t \rbrace$.  Now I'm wondering whether both properties are indeed equivalent or not?! Hopefully someone can help me.


Why does sudo update-grub show multiple versions of the same kernel

I have been running Ubuntu for years now but I am one of those users that thank the stars that Ubunutu 'just works'! I am having a problem which I find hard to put into a search.  I upgraded to 17.10 last night. I found that  uname -r   returns kernel version 4.2.0-16-generic. It appears the current kernel version for 17.10 should be 4.13.0-16. I can see about 30 kernel versions when I run  dpkg --list   however when I try to delete an older one it tells me it cannot find it. The only other posts I can find refer to things that seem above my head.   I did find a couple of commands that show output which may be helpful.  sudo update-grub  Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.13.0-16-generic Found initrd image: /boot/initrd.img-4.13.0-16-generic Found linux image: /boot/vmlinuz-4.2.0-16-generic Found initrd image: /boot/initrd.img-4.2.0-16-generic Found linux image: /boot/vmlinuz-4.13.0-16-generic Found initrd image: /boot/initrd.img-4.13.0-16-generic Found linux image: /boot/vmlinuz-4.2.0-16-generic Found initrd image: /boot/initrd.img-4.2.0-16-generic Found linux image: /boot/vmlinuz-4.13.0-16-generic Found initrd image: /boot/initrd.img-4.13.0-16-generic Found linux image: /boot/vmlinuz-4.2.0-16-generic Found initrd image: /boot/initrd.img-4.2.0-16-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin Found linux image: /boot/vmlinuz-4.13.0-16-generic Found initrd image: /boot/initrd.img-4.13.0-16-generic Found linux image: /boot/vmlinuz-4.2.0-16-generic Found initrd image: /boot/initrd.img-4.2.0-16-generic done  ls -la /etc/grub.d  total 124 drwxr-xr-x   5 root root  4096 Oct 28 09:19 . drwxr-xr-x 155 root root 12288 Oct 28 09:12 .. -rwxr-xr-x   1 root root   533 Oct 28 09:19 40_custom_proxy -rwxr-xr-x   1 root root   735 Oct 28 09:19 41_linux_proxy -rwxr-xr-x   1 root root   127 Oct 28 09:19 42_debian_theme_proxy -rwxr-xr-x   1 root root  9783 Mar 30  2017 43_header -rwxr-xr-x   1 root root   121 Oct 28 09:19 44_custom_proxy -rwxr-xr-x   1 root root   127 Oct 28 09:19 45_debian_theme_proxy -rwxr-xr-x   1 root root   691 Oct 28 09:19 46_linux_proxy -rwxr-xr-x   1 root root   533 Oct 28 09:19 47_custom_proxy -rwxr-xr-x   1 root root   690 Oct 28 09:19 48_linux_proxy -rwxr-xr-x   1 root root 11281 Mar 30  2017 49_linux_xen -rwxr-xr-x   1 root root   265 Oct 28 09:19 50_memtest86+_proxy -rwxr-xr-x   1 root root 12059 Mar 30  2017 51_os-prober -rwxr-xr-x   1 root root  1418 Oct 14  2015 52_uefi-firmware -rwxr-xr-x   1 root root   533 Oct 28 09:19 53_custom_proxy -rwxr-xr-x   1 root root   736 Oct 28 09:19 54_linux_proxy -rwxr-xr-x   1 root root   121 Oct 28 09:19 55_custom_proxy drwxr-xr-x   4 root root  4096 Dec  9  2015 backup drwxr-xr-x   2 root root  4096 Dec  9  2015 bin drwxr-xr-x   2 root root  4096 Oct 28 09:19 proxifiedScripts -rw-r--r--   1 root root   483 Oct 14  2015 README -rw-r--r--   1 root root   362 Oct 28 09:19 .script_sources.txt   Apparently something is not right.  I was using Grub Customizer to try to get 17.10 to load with 4.13.0-16 instead of 4.2.0-16 which   uname -r   says I am running.   lsb_release -a   says I have 17.10  See comment below - this is similar to two other posts but both include references to permissions and removal - neither of which I am familiar with or are sure what values to use safely.  Nor can I tell which entry I should do something with even if I did.


How to check the Nvidia Video Memory in Ubuntu 17.10?

How to check the video memory size of my Graphic card? I used (System Profiler and Benchmark) and it showing me that I have only 256MB but I have the Nvidia GTX 1050 Ti 4GB.


How to select distinct rows from a table?

I have a table named 'versions' which has columns control_no, revision_id ,revision_dt, version_no, version_dt, created_by, change_type, summary, new_owner.  Each control_no has revision_id ranging from 1 to a specific number. From this table, I want to select  VERSION_NO,CHANGE_TYPE,SUMMARY,CREATED_BY for a CONTROL_NO with max(REVISION_ID).  How to do this?


I am trying to create a view that provides all quarter starts from a date dimension. Here it is:  CREATE OR REPLACE VIEW quarter_starts AS SELECT min(day_number_in_epoch) AS day_num FROM date_dimension dd GROUP BY dd.calendar_year_quarter;   And postgres gives the error:  ERROR:  cannot change name of view column "min" to "day_num"


Peeves was a poltergeist. It generally irritated people and rather then helping them as well as making fun of them.   Why was Peeves in the school? What is/was the job or work assigned to Peeves?


EDIT: The original question is: Let $N$ be a countable set and $f$ a function that maps $N$ onto a set $M$. Prove that $M$ is countable.   Consider a countable set $N$ which the function $f$ maps [on]to a set $M$. I want to prove that the set $M$ also is countable, if $N$ is. The thing I am unsure about, is if $f(N)=M$?  Here is my proof, though:  Proof. Let $N \subset X$ be a countable set and $f:X \rightarrow Y$.  Therefore, $N\cup f(N)=\left \{ x_1, f(x_1), x_2, f(x_2),...,x_n,f(x_n) \right \}$ which can be expressed as  $N\cup f(N)=\left \{x_1,f(x_1)  \right \}\cup\left \{x_2,f(x_2) \right \}\cdots \cup\left \{x_n,f(x_n)  \right \}$.  Theorem (*), picked from Set Theory and Matrices by I. Kaplansky : A countable union of countable sets is countable.  Since we have a union of $n$ sets in which there is two elements, $N\cup f(N)$ is therefore countable according to (*).  Since $N$ is defined as countable and $N\cup f(N)$ is countable, thus $f(N)$ is countable.   The question is though, is $f(N)$ referred as "the same thing" as $M$? If the purpose is proving that an arbitrary set $M$ is countable, I am totally lost.  Does anyone here have any suggestions?


Automatically adjust Content Size to Window Size

I want that when i change the window size, that my content in it will be places as in the default size only should it resize itself  <Window =Height="500" Width="800" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">  <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">     <TextBlock           HorizontalAlignment="Stretch" VerticalAlignment="Stretch"         Name="consoleOutput"          Margin="170,10,10,140"           Background="Aqua"/>     <TextBlock           HorizontalAlignment="Stretch" VerticalAlignment="Stretch"         Name="menuOutput"          Margin="10,10,630,245"          Background="Gray"/>     <TextBlock           HorizontalAlignment="Stretch" VerticalAlignment="Stretch"         Name="menuOutput2"          Margin="10,245,630,10"          Background="Green"/>     <TextBox           HorizontalAlignment="Stretch" VerticalAlignment="Stretch"         Name="consoleInput"          Margin="170,340,10,10"           Background="Red"         AcceptsReturn="True"/> </Grid> </Window>


\DeclareFieldFormat inside \renewbibmacro*: Whats the difference between {##1} and {#1}?

I'm using BibLaTeX with biber and the authortitle style and I want to omit the "p." when citing an entry in my .bib-file BUT ONLY for entries with a non-empty shorthand field. I managed to do so by changing the postnote bibmacro in the following way:  \renewbibmacro*{postnote}{%   \iffieldundef{postnote}     {}     {\setunit{\postnotedelim}%      \iffieldundef{shorthand}        {\printfield{postnote}}        {\DeclareFieldFormat{postnote}{##1}%         \printfield{postnote}}}}   This seems to work. But if I do it like this: \DeclareFieldFormat{postnote}{#1} I get an error message. Why is that the case? What is the difference between {#1} and {##1}?  Here is the MWE:  \documentclass{article}  \usepackage[style=authortitle,backend=biber, firstfull=true]{biblatex}  \renewbibmacro*{postnote}{%   \iffieldundef{postnote}     {}     {\setunit{\postnotedelim}%      \iffieldundef{shorthand}        {\printfield{postnote}}        {\DeclareFieldFormat{postnote}{##1}%         \printfield{postnote}}}}  \usepackage{filecontents}  \begin{filecontents}{\jobname.bib}  @Book{A1,   Title                    = {Title1},   Author                   = {AuthorA},   Year                     = {1900},   Shorthand                = {GuI} }  @Book{B2,   Title                    = {Title2},   Author                   = {AuthorB},   Year                     = {1900} }  @Book{C2,   Title                    = {Title2},   Author                   = {AuthorC},   Year                     = {1900} } \end{filecontents}  \addbibresource{\jobname.bib}  \begin{document}  "Some citation of a shorthand title"\parencite[][34]{A1}  "Some citation of the same shorthand title in a footnote"\footcite[][34]{A1}  "Some citation of the same title from another page"\footcite[][70]{A1}  "Some citation of a non-shorthand title"\footcite[][12]{B2}  "Some citation of the same non-shorthand title from another page"\footcite[][15]{B2}  "Some citation of the same non-shorthand title from another author"\footcite[][15]{C2}  \printshorthands  \printbibliography  \end{document}


How long can a domain controller not be in contact with the domain without causing problems?

Server 2012 R2 w/ GUI in Hyper-V role, hosting VM servers.  Very small system at present.  Primary Servers in this system are: Domain Controller(DC), SQL, TFS, IIS, Build server  I successfully installed my second DC on a new physical Hyper-V host.  I was able to see the Enable Recycle change made on the new DC reflected on the old DC, so I presume everything is going well.  I also intend to shift the PDCe functions to this new DC on the physical server.  At present I have just the one physical server that hosts (or will host) most of my servers as listed above.  Prior to getting this machine, I had successfully hosted all of my servers in a Win 8.1 workstation (It's a pretty big workstation).  Until I get another machine, my temporary plan was to keep the old DC operating as a vm Server running on the Win 8.1 workstation that is still acting as a Hyper-V host.  In that manner I have 2 DC's, each on a different machine.  But the workstation hosting the original DC won't be on 24/7, so that DC will be 'off the domain' for temporary periods.  So my questions are, how long can my DC server hosted on the workstation be 'off the domain' before I would experience problems, and what would those problems be?  Of course, if anyone thinks this is a really terrible solution, feel free to advise what problems I might expect.  But if it is a reasonable temporary solution until I am able to procure another physical machine, then I'd like to stay with it.


Isn't every subset of a compact space compact?

Let $\mathfrak{C}$ be an open cover of a topological compact space $X$, and let $\mathfrak{B}\subseteq \mathfrak{C}$ be its finite subcover. Then every subset of $X$ also has the same cover and subcover! Shouldn't every such subset also be compact then?  Motivation: I read somewhere that every closed subset of a compact space is compact. I wonder why it shouldn't be the case for every subset of $X$, rather than just the closed ones.


Cycles: Material full transparency, but still seeing parts of object

I'm trying to fade out an object by using a transparency BSDF. With Transparency set to 0 it looks like:    When turning the transparency up to 100% to get the structure opaque I get this result:     I have no idea where those dark areas are coming from. The mesh I'm using has been imported from an obj file and was originaly created with a CAD software. I have tried to recalculate surfaces and removed all doubles, but I'm still getting those dark areas.   As I want to use it in an animation I think I could turn up transparency and just before it should go 100% transparent I'd set a keyframe on Restrict Rendering in Object Explorer, but I think it still might look a bit "harsh".  Does anyone has an idea, what could be wrong?   Thank you!


DNS unable to connect to webpages despite connection

I wasn't sure whether this was more suitable for here or SuperUser, so feel free to migrate it if necessary.  I am using a dell optiplex 7050 running Ubuntu 19.10, of which I am super user. The desktop was previously connected to my University network via an ethernet cable. I've brought my desktop home and plugged the ethernet cable into my home internet using the same ethernet cable. I have run the google speed test, and the connection speed is fine, around 70mbps.  The default Google search works fine and loads the initial search page, but all other webpages, including SE / Wikipedia / my university website do not load. I have tried Firefox (my normal browser), but it says 'unable to connect - can't establish a connection to ucl.ac.uk. I switched to google chrome, but the same thing happened: ERR_ADDRESS_UNREACHABLE.  I appreciate this is a very broad question, but I have no idea where to start fixing it. Can someone point me in the right direction to try figure out what's going on.  Please me let me know of any commands I can run and post here to help diagnose the issue.


Gerund or Participle? Which one is correct?

What do you think of these sentences? I found them on the Net. I mean, should they function here as a gerund or a participle? Are both of them possible? 1 Smoking cigarettes are dangerous 2 Smoking cigarettes is dangerous


The set of invertible $k \times k$ matrices with complex entries is a connected subset of $\Bbb C^{k \times k}$.  Required Hint for this problem.  I have recently proved that the set of invertible $k \times k$ matrices with real entries is not a connected subset of $\Bbb R^{k \times k}$.  Are the two problems related??  Ref: Hoffman...Analysis in Euclidean Space Pg 76..  Thank You!!


From the bash man page for the read command:     One line is read from the standard input, or from the file descriptor  fd  supplied as an argument to the -u option, split into words as described above under Word Splitting,  and  the  first  word  is assigned to the first name,...   Now I tried out the following:  IFS=, echo ' a b,c d'|read -n 4 x y echo ".$x. .$y."   I expected the output to be  . a b. .c d.   becaus due to the change, word splitting should occur at the comma instead of the space, but the actual output was  .a. ..   This puzzles me. The .a. looks like word splitting is still done at spaces, but then at least, y should be set to b, not being empty.   I can't help but feeling that I misunderstand the explanations in the man-page about the read command.  BTW, I'm using bash 4.4.12.


I have a Uniform Grid of 1KMx1KM squares as a shapefile with population data in each grid in a specific column as an integer.  I would like to extrude each polygon based on the population and export the whole dataset using a python library.  ArcScene can do this, but ArcPy can't hook into that program.    Can someone recommend a python package to do this?    It doesn't have to be dependent on ArcGIS Desktop.   I was looking at matplotlib, but I can't figure out how to create 3D bar graphs.


Where (if anywhere) should I post request for certain Data Explorer's queries?

Following . I'm a complete newbie (or even ignorant) to both SQL and . I'm , but writing even a simple query seems to me as an overwhelming problem. Is there any place, where I can politely ask someone to write a particular query for me? Would that be:  this meta site, particular site's meta, somewhere in  itself, nowhere (if I can't write a query myself, then this is my problem and I should not bother others).  I'm asking, because I lost quite a large rep stupidly recently, due to high volume of downvotes and I'd like to avoid similar in future, by not asking wrong questions.


Does a soul being resurrected know what spell is being used?

Specifically, would a soul know that the body they're being invited into was created via Reincarnate? After all, for some souls, changing species might be a big deal, possibly of the 'rather stay dead' kind.


Questions about "from whose known good sense he fully expected to have just such" from "Persuasion"

I still have a question about the sentence "from whose known good sense he fully expected to have just such resolute measures advised as he meant to see finally adopted" from the novel "Persuasion" that was written by Jane Austen.       Mr Shepherd, a civil, cautious lawyer, who, whatever might be his hold or his views on Sir Walter, would rather have the disagreeable prompted by anybody else, excused himself from offering the slightest hint, and only begged leave to recommend an implicit reference to the excellent judgement of Lady Russell, from whose known good sense he fully expected to have just such resolute measures advised as he meant to see finally adopted.   Below is the sentence about which I still have a question.     from whose known good sense he fully expected to have just such resolute measures advised as he meant to see finally adopted    Does "from whose known good sense he fully expected to have just such resolute measures advised" mean "he fully expected to have just such resolute measures advised from Lady Russell's well-known good sense"? Which meaning of the word "measure" is used in the highlighted sentence? Which meaning of the word "as" is used in the sentence "as he meant to see finally adopted"?   Thanks a lot for everyone's help in advance.


If $f(b)-f(a)=(b-a)f'(\frac{a+b}{2})$ prove that any such function is a polynomial of degree $2$

Consider $f:\Bbb R \to \Bbb R$ to be differentiable function. $f(b)-f(a)=(b-a)f'(\frac{a+b}{2})$ for all $a,b \in \Bbb R$ prove that any such function is a polynomial of degree $2$.  I am trying using Taylor's expansion that any point $a$ we have   $$f(x)=f(a)+(x-a)f'(a)+(x-a)^2/2f''(a)+\cdots$$.  then I observed that the function is not infinitely differentiable. So we can't use the Taylor Series. So, I don't think that proving that the higher order differentiation vanishes also won't help. We can use Lagrange mean value theorem, but how to proceed? Any hint!!


Counterexample for $A,B\triangleleft G,G/A\cong B \Rightarrow G/B\cong A$

Let $A,B\triangleleft G$. Give counterexample for the claims: a. $G/A\cong B \Rightarrow G/B\cong A$ b. $G/A\cong G/B\Leftrightarrow A\cong B$  I don't know from where to start. Can you give some counterexamples? addiotionally, what is the intuition of solving question in algebra which requires giving counter-examples


Recently we upgrade itext jar from 2.1.7 to itextpdf-5.4.2.jar but getting below nested exception is   java.lang.NoClassDefFoundError: com/lowagie/text/pdf/FontMapper exception    and we are using jasper reports 4.7.0 in that they are using below package  com/lowagie/text/pdf/FontMapper    only that's why it causes a problem. How to resolve this issue. (it's mandatory we have to upgrade itext jar at any cost)


I use texstudio in Ubuntu and I would like to use svg package:  \usepackage{svg}      File `svg.sty' not found. ^^M   The only thing I found is a .  My attempt for installation of this package has failed:  $ tlmgr install svg (running on Debian, switching to user mode!) cannot setup TLPDB in /home/ar2015/texmf at /usr/bin/tlmgr line 5336.   Where am I wrong?  Update  This is my code:  \begin{figure}[ht!] \centering \includesvg[width=140mm]{images/pos_before.svg} \caption{Previous output \label{overflow}} \end{figure}     Please avoid linking to posts which do not solve the problem straight forward.


Fantasy story with Female Lead where magic is used by a "web" inside her head

I'm looking to identify a story about a young woman who needs to go to a Big Baddie's castle to retrieve something, a book, I think.  Along the way she meets a young man who at first she doesn't get along with, but who ends up being a love interest.  She also discovers how to use magic, which she uses by traveling down a "web" in her mind. At the end of the book, her fight with the Big Baddie leaves her "web" burned out.  Some more details, I believe the book has a scene where the Main Character takes care of her leather boots and bag by oiling them.  I think when she and the young man arrive at the Big Baddie's place, the Baddie is manipulative and actually has them stay there for a bit (maybe under the pretense of teaching the young woman magic?). The young man is more suspicious of the Baddie than the young woman.  It's a pretty grounded story. There's not much more to it than the woman going on her quest to the tower, arriving, beating the Baddie and getting the object she was questing for. It did end in a way that made me think there'd be sequels.  I read this in the early 00's but I'm guessing it was published in the 90's.  I know that's not a ton of info to go off of, and I may have mixed some details from another story, but I appreciate your help. It's a book I think my wife would really enjoy.


How to override CSS in nested HTML document?

I have some embedded youtube videos that has pesky youtube-added attributes to the title bar that I would like to get rid of (if it's even possible). Upon publishing, a nested HTML document is generated inside the  tag that contains the youtube video. How do I get at the CSS for that nested document? I'd appreciate an answer in CSS if possible but if the only way to get at it is JS or JQuery then I would be able to implement that.  Example of code generated. How would I get at class ytp-gradient-top and override it, presumably with my own class on the iframe youtube-video (doesn't have to be that, just assuming that's what I would need to do)?:  <iframe class="youtube-video" src="https://..."     #document

 //all the closing divs, body, html, etc


Why do you need symmetric and antisymmetric solutions of the time-independent Schrödinger Equation by a given potential $V(x)$?

I've calculated many symmetric and antisymmetric solutions of the time-independent Schrödinger Euqation by a given square potentials $V(x)$. Just for practice etc., but honestly I do not understand why I have to calculate the symmetric and antisymmetric solution of the time-independent Schrödinger Equation.   I.e. for every $i$-th constant potential part $V_i$ in $V(x)$ you can compute a time-indepedent wave-function $\psi_i(x)$, which solves the time-independent Schrödinger Euqation $$\psi_i(x)'' + k_i^2 \psi_i(x)'=0$$ with $k_i=\frac{\sqrt{2m(V_i-E)}}{\hbar}$ and in the end you got $\psi(x)$ solved in a symmetric way $(\psi(x)=\psi(-x)$, even parity$)$ and solved in an anti-symmetric way$(\psi(-x) = -\psi(x)$, odd parity$)$ with respect to continium conditions between each $\psi(x)_i$-boundary of course.   So what meaning does the symmetric and antisymmetric solution have for a particle with mass m in a certain (square) potential in Quantum Mechanics?   (I tried to find a solution for my problem, but I neither really found it in Albert Messiah books nor here. But I read that post here: )


Must memoized functions be defined as variables?

I've just asked this question () and I've got a nice answer... but! Just to understand a little more about JavaScript, I'd like to know if the momoized function can be written in this style:  function main () {     function memoized_f(){         //memoizing code     } }   EDIT: Please notice I'm not asking what is the difference in the code above, I'm asking if it is possible to memoize the second one!  So, how to rewrite this?  function main() {   var create_node = (function() {     var memo;     console.log("memo: " + memo);     console.log("create_node")      function f() {       var value;       if (memo) {         value = memo.cloneNode();         console.log("clone node");         console.log(value);       } else {         var value = document.createElement("div");         value.innerHTML = "hello";         console.log("new node");         console.log("value: " + value);         memo = value;       }       return value;     }     return f;   })();   var collection = [];   for (var i = 0; i < 10; i++) {     collection.push(create_node());   };   // Display results   for (var i = 0; i < 10; i++) {     console.log(i + ". " + collection[i]);   } } main();


How to check if an IP address is from a particular network/netmask in Java?

I need to determine if given IP address is from some special network in order to authenticate automatically.


Science Fiction novel or novels about starship that becomes a god, colonizes hostile planet

Plot Summary/Details  The sharpest memory I have of this one is that it was unusually dense reading. Much more difficult going than most of the sci-fi stuff I'd read by that time (I was 10 or 11, I think).  What I remember in terms of plot is that there is a starship, sent either to explore, or colonize, a distant star system.  I don't remember the names of any of the characters, but I think maybe they discover they are clones?  In any case, something happens to the computer system that the onboard AI becomes sentient and develops a measure of omniscience and omnipotence.  It effectively becomes a god of sorts.  The next part I can remember, and I'm not sure this is the same book or not, is that the ship has forcibly settled the crew on a hostile planet.  All sorts of nasty indigenous life forms live here, and guards are post on the wall outside the settlement to destroy them as they try to enter.  I remember there is a female character standing watch, and she goes over the bestiary in her mind.  One particularly nasty creature paralyzes you, and then burrows up your spine into your brain (or something like that) if it gets a hold of you.  That's all I can recall.  Not a lot of detail, unfortunately, but I'm having a tough time remembering much about this one.  I never finished the book(s), as they were mostly "over my head" at that age.


Integral of logarithmic fuctions with parameter

Hello I am solving an integral with a natural logarithm that has a parameter. Let say $I(a)=\int_0^\pi\ln(1-2a\cos(x)+a^2)dx$ Then for differentiation under integral sign and that yields $I'(a)= \int_0^\pi\frac{2a-2\cos(x)dx}{ 1-2a\cos(x)+a^2}$.  I chose take $aI'(a)$ and then I have That $I(a)= \pi\ln(a^2)+a\pi$  My questions:    is there any wrong over result? where I shoud to take considerations about $a$? magnitude. what is the integral problem about this exercise?   Thanks, any help, any correction.


Show that f is not differentiable at (0,0)

Let $f:\mathbb{R}^2\to\mathbb{R}$ be defined by $f(x,y)=\sqrt{|xy|}$. Show that $f$ is not differentiable at $(0,0)$.   If you could start me out on how to show this, that would help a lot.


I have an individual article page; to return back to the article listing page, I'd like to use a back button. Where should a back button typically be positioned? Is it in the top left hand corner?


After Tomcat installation, before I even changed the default Tomcat Manager password, the attacker used Tomcat Manager to deploy his own software. Probably some DDOS tools and a file manager.  I've already removed the suspected java software, changed all user passwords. Root login via ssh was not permitted.  How do I act now to ensure the server is secure? What do I need to check? How to trace any other suspected activity?


Java Swing JComboBox list listener java.awt.List (have 48 list)

I would like to know how to link JComboBox to Lists, java.awt.List? When I select France, for example, to show me l2 from the list java.awt.List ! Can someone help me? Here is my code:  JPanel p1 = new JPanel(); //p1.setLayout(null); (see my photo)not function good   p1.setLayout(null); (see my photo) are using Layout Null JComboBox<String> cb = new JComboBox<>(); cb.setBounds(0,0,160,25); cb.addItem("Austria"); cb.addItem("France"); p1.add(cb); cb.addItemListener(new ItemListener() {             public void itemStateChanged(ItemEvent arg0) {                 int selectedIndex = cb.getSelectedIndex(); not help me             }         });  List l1 = new List(); l1.add("Text1"); l1.add("Text2");  List l2 = new List(); l2.add("Text1"); l2.add("Text2");   Each country has its list by numbered it. example France = l2 I want when I select France to list my l2. I would like an example as a solution if possible.  I want to answer someone who knows not beginners in Java.  Using Layout    Not using Layout    What I want is this! I select Romania and this list appears to me!   All of the examples here are useless. That's why I need someone who knows.


Correlation between occupational status and knowledge

I'd like to correlate such variables as:  X- 1.Unemployed, 2.Student, 3.Employed, 4.Pensioner  Y- Knowledge marked as points from 0 - 16.   I want to see if any of these groups have tendency to score higher points from each other. Which test should I use? Is there an online calculator I could put the data in?


Can't boot Windows Vista after installing Ubuntu

I'm very new to Ubuntu, and have come to this point that I can't boot back to my Windows Vista anymore.  I thought that I would get some kind of dual boot in the beginning when booting my computer, but this doesn't seem too happen and I don't have the slightest idea on how to fix this. I was looking for help here at askubuntu, but I couldn't seem to find anything. I'm too new with this software.  I'll need hints and tips on how to fix this  Thanks for your time folks!


I'm looking for a utility or a program for Ubuntu, and possibly even for Windows that is able to convert a CAD file format .DWG to PDF.   My need is to provide a preview of CAD files, and I thought that the easiest way is to convert them into PDF format, but I'm open to suggestions, even if there is only the possibility to convert them to JPG image file type or PNG would be fine.  What interests me is only to find some solution, no matter if it is commercial or free


Does standardization compromises Principal Component Analysis?

I've been dealing with PCA over the past week and I ended up with a requirement for performing PCA (in Python Machine Learning Book by Sebastian Raschka):      Note that the PCA directions are highly sensitive to data   scaling, and we need to standardize the features prior to PCA if the features were measured on different scales and we want to assign equal importance to all features.   However, PCA can be defined as (in Python Machine Learning Book by Sebastian Raschka):     In a nutshell,   PCA aims to find the directions of maximum variance in high-dimensional data and projects it onto a new subspace with equal or fewer dimensions that the original one.   So, if we standardize (features rescaled so that they’ll have the properties of a standard normal distribution with μ=0 and σ=1) aren't we eliminating this variance characteristic and ending up with our features being the same?


How can I use an array modifier to create individually manipulatable objects?

I often use an array modifier (or two) to quickly create a grid of identical or symmetric objects, which can be really useful when modeling all sorts of man-made objects. Once I've made the grid, though, is there any way for me to make it so that each of the objects are individually manipulatable?  Simply applying the modifier does not seem to be the full answer, since it still only allows me to select the grid-of-objects as a whole in object mode. Is there any way to separate them so I work with them each individually?


Word: Disable spell checker for a paragraph?

Is it possible to disable the automatic spell checker in MS Word 2010 for single paragraphs of a document or just for some parts of a document?  I'd like to get rid of the squiggly lines in some parts of a document (e.g. containing extracts of an XML document), because they make reading the document hard.


How can I have the three source-code symbols _  produce themselves (_ ) in the typeset output by default?

I use LaTeX to take quick notes about my programming work.  I have a couple of frustrations:    I need to use underscore a lot because of variables named with underscores.  However, I have to escape each one of them "\_", thus making my notes less readable on the markup side. I commonly want to use "<" and ">" symbols - why oh why are the default representations of these symbols "¿" and "¡"?   Is there anyway I can alter LaTeX so that "_", "<", and ">" literally typeset as "_", "<", and ">"?


What is the benefit of stochastic models over deterministic models?

I have posted a similar question earlier and I guess this sounds naive to all of you, but nonetheless let me just ask:  Consider I have a simple and deterministic model $M$, with a number of input parameters. Given the fact that we do not have exact knowledge about the parameters, we can run $n$ simulations of $M$ with possible parameter values, say  Suppose for the sake of simplicity, we know that all input parameters are uniformly distributed with support [5,10].  Now, here is the question: What is the benefit of evaluation the model $M$ with $n$ randomly chosen parameter values (according to the uniform distribution with support [5,10]), rather than $n$ deterministically determined parameter values in the interval $[5,10]$, e.g. by assigning the values to $(5, 5+\frac{(10-5)}{n}, 5+\frac{2(10-5)}{n}, 5+\frac{2(10-5)}{n}, \dots, 10)$?  Consider that I run the model exactly $n$ times.


Why is 1 metre defined as the distance travelled by light in 1/299792458 seconds rather than 1/300000000 seconds?


display one new image over another one with transparency (CSS or JS)

#  I read a lot of codes but apparently, none of them addresses my question here.  Say you have this simple html:

     And you have image1.jpg. All images have the same size.  How can you put image1.jpg OVER image_bbb.jpg with transparency, so that you can still see a little bit of image_bbb.jpg?  The focus of the question is on the OVER.  I presume that the transparency could be obtained with a "opacity: 0.30;" in the CSS for instance.  Thanks!  PS: Important: image1.jpg is not in the html code. It must be handled afterwards. So please avoid some solution like:

   and CSS overlapping. But rather something like this:        ...   PPS: If suitable, you can also use JS for the solution.  (Thanks to @Paulie_D!)


My chain broke and in a moment of silliness (I was cold wet and slightly annoyed)  I threw the broken one away before thinking about measuring the new one.  Is there a guide to getting the chain length/tension correct ?  It's an 8 speed road bike (Shimano Sora back, double ring front)


When does 1=2 I once saw a proof that 2=1. Of course there was an error in the proof. (some where in the proof they were dividing by 0 - a/a) Does anybody remember seeing this proof. It was a very simple thing but it has been years and I don't remember how it went.


Do I need a visa to visit the UK if I have Italian residence?

I have Pakistani nationality and also an Italian permesso di soggiorno. What do I need in order to visit the UK?


If $H,K$ are subgroups of $G$, then $HK = G$?

This is a question I have when I read proof of "group of order $15$ is cyclic". So let $H$ and $K$ be Sylow $p$-group of $G$ with order $3$ and $5$ respectively. I understand that they are normal subgroups and $H\cap K = \{e\}$ since $\gcd(3,5)=1$. But I just don't see why $HK = G$? The best I can do is to conclude that $HK$ is a subgroup of $G$.


I've had an issue for a while now which makes my Alt + Tab not work and function correctly.  I can't:   Click on it It displays items which are supposed to be hidden (?) It doesn't use the Aero theme   I've tried the following:   Rebooting Closing dwm.exe Updating Windows.   If there is a need for OS: I'm running Win 8.1 x64.  Example:


I have read that an infinitesimal is very small, it is unthinkably small but I am not quite comfortable with with its applications. My first question is that is an infinitesimal a stationary value? It cannot be a stationary value because if so then a smaller value on real number line exist, so it must be a moving value. Moving value towards $0$ so in most places we use its magnitude equal to zero but at the same time we also know that infinitesimal is not equal so in all those places were we use value of infinitesimal equal to $0$ we are making an infinitesimal error and are not $100\%$ accurate, maybe $99.9999\dots\%$ accurate, but no $100\%$! So please explain infinitesimal and its applications and methodology in context to the above paragraph or elsewise intuitively please.


How do I make xrandr settings permanent in Debian 9?

Keep in mind I'm fairly new to GNU/Linux and I've decided to try out Debian for it's history. I've been able to set the screen resolution to 1600x900 (which is what I need), however I haven't been able to find a way to save those settings. For example, I don't have "xorg.conf" nor "xorg.conf.d", I can't even configure it because it says I'm already running X server. I'm pretty sure there is other ways to do this, but most info I find seems vague as to how-to things.  Edit: I'm now able to set the resolution to "1600x900_60.00" each time I get into Debian but manually. I've created a new "xorg.conf" file manually, adding a "naked" screen section, but it seems that it didn't work so I also checked the "/var/log/Xorg.0.log"  file to see what went wrong and this is the output:     [  2969.964] _XSERVTransSocketUNIXCreateListener:   ...SocketCreateListener() failed[  2969.964]   _XSERVTransMakeAllCOTSServerListeners: server already running[  2969.964] (EE)  Fatal server error:[  2969.964] (EE) Cannot establish any listening sockets - Make sure an X server isn't already   running(EE)[  2969.964] (EE)  Please consult the The X.Org   Foundation support     at   for help.[  2969.964]   (EE) Please also check the log file at "/var/log/Xorg.0.log" for   additional information.[  2969.964] (EE)[  2969.964] (EE) Server   terminated with error (1). Closing log file.   I still gotta try the ".xinitrc" method.


As scientific species names should be written in italic, I have adopted a shortcut to do this in LaTex by creating a definition in the preamble:  \def\GM{{\it Gadus morhua~}}    Then it's easy to call for \GM is a fish, which returns "Gadus morhua is a fish". Note that I have added ~ to the definition, so that I won't need to write \GM~. This works except, if I want to write The fish is called \GM., which would return "The fish is called Gadus morhua ." (with a space between morhua and period). In order to maximize my lazy writing style I would like to find a way to "eat away" that space I defined earlier. I know that a negative space exists in math mode, but writing $\GM\!$ does not lead to a right result. Is there a way adding a negative space to text mode?


How do I prove that $\dfrac{H_n}{n}$ (where $H_n$ is a harmonic number) converges to $0$, as $n \to \infty$?


Let $A$ be a primitive matrix (a square nonnegative matrix some power of which is positive). Is $AA^T$ necessarily primitive?


Let $f: \mathbb R \to \mathbb R$ be a real function, which is continuous in 0. There exists one $a \in \mathbb R \backslash\{-1, 1\}$ with $f(x) = f(ax)$   $~~~~(x \in \mathbb R)$. Prove that $f$ is constant.


I have simple javascript alert box i want it to close automatically after 5 second. if possible help please.  <script type="text/javascript"> function show_alert() { alert("Hello! I am an alert box!"); } </script>  <input type="button" onclick="show_alert()" value="Show alert box" />


Can I remove receipts from imported products from my passport?

I have recently imported books into Canada from Japan.  As I bought in excess of 5000¥, the purchase was tax free and the receipt was stapled to my passport and stamped.  Since I've now come back to Canada and no issues occurred with my imports, Is it safe to remove the receipts from my passport?  As it was stamped and stapled, there will remain a trace that something was there. Could this cause problems when I return to Japan at a later time?


Motion tracking a shot where no tracking point is in frame throughout the video

I’m trying to motion track a shot where the position it ends on is totally different from the starting position. In other words there are no tracking points that stay throughout the whole video.   How can I set up a tracking scene for the whole video instead of just part of it?


Drag-and-dropping files not working in Ubuntu 17.10

I recently upgraded to 17.10 from 16.10, and I'm experiencing an annoying problem:  I CAN'T drag and drop files. When I select files and then hold to drag, it behaves as though I'm re-selecting and doesn't drag the files like it did in 16.10.  Also, ctrl- and shift- selecting no longer work the way they used to, shift now selects from the FIRST file selected rather than the LAST file I selected.  I don't know if these are OS bugs or if there's an easy solution.  PLEASE HELP. I don't want to have to re-install 16.10


Do we need the Stack Overflow mobile app if we have the Stack Exchange mobile app?

On the Stack Overflow mobile app I couldn’t figure out how to award an answer, but I was able to do it on the Stack Exchange mobile app.  Thus, I had a better experience with the Stack Exchange app over the Stack Overflow app. Are there any benefits to having both apps? Can I do everything on the Stack Exchange app that I can do on the Stack Overflow app? I’d also like for the Stack Overflow app to add the functionality of awarding answers. I think that may be a bug.


LaTeX won't compile because of use of _ in text

LaTeX won't let me use _ in my text, it keeps trying to compile it as math and therefore won't compile my pdf.  Anyone knows how I can make it not do that?  I'm using it in the following:  \textit{item_name} \textit{current_item.name} \textit{_qty} \textit{id='small_qty'}


I've been looking at proofs of Euler's sine expansion, that is  $$\frac{\sin x}{x}=\prod_{k=1}^\infty\left({1-\frac{x^2}{k^2\pi^2}}\right)$$  All the proofs seem to rely on complex analysis and Fourier series.   Is there any more elementary proof?


Is there a way to suppress reboot prompts after system updates?

I have an xubuntu server with a GUI that I need to keep running at all times.  After xubuntu prompts me install system updates, it sometimes prompts me to reboot the computer. I am using Ksplice Uptrack Manager so the reboots are not necessary.  Is there a way to make ubuntu/xubuntu never show the reboot prompts, so a colleague or I don't click the reboot button accidentally out of instinct?


Ho do i separate a partition from existing partion

I have installed ubuntu in my system, I did not create any partition, Now i want to separate a partition from existing drive.


How do I render (╯°□°)╯︵ ┻━┻ and other exotic Unicode?

I want to insert a flipping tables and some Emoji in a LaTeX document on ShareLaTeX. I did some research, and came up with the following.  First of all, XeLaTeX needs to be used for best Unicode support and support for TTF fonts. Then a font needs to be used that contains the relevant Unicode symbols. And this font needs to be uploaded to ShareLaTeX.  For the font I selected DejaVu, known for its broad Unicode support.  For the Emoji I used the Noto Emoji font, and created a text command for that.  \usepackage{fontspec}  \setromanfont{DejaVuSerif.ttf} \setsansfont{DejaVuSans.ttf} \setmonofont{DejaVuSansMono.ttf}  \newfontfamily\emoji{NotoColorEmoji.ttf}  \DeclareTextFontCommand{\textemoji}{\emoji}   Now I would like to be able to write something like  \title{foo \textemoji{🥔} bar(╯°□°)╯︵ ┻━┻}   But the flip between the flipper and the table renders as a tofu and the Emoji renders as two wide tofu's.  [update] As @ShreevatsaR pointed out, DejaVu does not contain the vertical bracket, nor does NotoEmoji seem to contain the potato emoji. I have added the Symbola font and made another text command  \title{foo \textemoji{\char"1F360} bar \textsymbola{(╯°□°)╯︵ ┻━┻}}   This renders the flipping tables correctly but not the potato. Roasted Sweet potato does work, so it really comes down to finding a font that has it. It appears NotoColorEmoji does contain it, but that fails to load.  So the question boils down to: How can I render color fonts? Or alternatively: Is there a font XeLaTeX supports that contains U+1F360?


How can I improve my question when there is no feedback left by downvoters?

Today I posted  about a C++ issue I found a bit confusing. Since I am a complete beginner in C++, all I could do was to write a short summary and ask for advice. The question attracted a couple of insightful answers and I was quite happy with those. To my complete surprise, an hour later the question had received 3 downvotes without any comment or suggestion. Since I always put effort into making my posts decently formatted and thorough, it kind of struck a nerve. I was puzzled as to why. I am not a native English speaker so nuances of language usually elude me. Is it the wording? Tone? Formatting? Too RTFM? To quote a comment from :  @Martinho: I missed that OP's passing Buffer the first time. Can't imagine someone managing C strings without any idea how the C string functions work...  Did the question get downvoted because it displayed ignorance? How could I have asked it differently to avoid the downvotes?  Update I just had.. um.. a strange exchange with one of the members from the C++ community. That member posted an answer here attempting to explain the background. However, after realizing the contradiction in hers/his arguments a possibility of an extended chat session, the delete link got clicked. I am not going to reveal the identity but nevertheless will share the discussion. I feel it sheds some light on the issue. Note that the person was apparently not one of the voters. The deleted answer  I think the accepted answer to the original question also answers this question: There are lots of problems with your code. You asked why one piece of code (with several errors) didn't work, when some other code (also with several errors) seemed to work better. In reality the difference was just random, and neither of them really works. It took a lot of effort for someone to put together an answer, and I didn't have the time (being at work), so would just have downvoted if there hadn't been enough downvotes already. Leaving a comment that there were several errors in the functions didn't seem to be constructive either. Guess that those who did downvote might have felt the same.  The comment trail  Okay. Are You saying that the C++ community downvoted it because they had either no time or no motivation to answer it properly? – Saul 19 mins ago No, I'm saying it might have been downvoted because it wasn't seen as a good question. The lack of comments can be because of limited time. It was in my case. – XXX 15 mins ago Note that if you had asked the question right now, I might have answered it. Six hours ago I had to do some payed work. – XXX 8 mins ago Uh.. why would one want to downvote a question when busy but be willing to answer it later? To communicate that "your question is unwelcome at this time, I am doing paid work, come back later"? In such a scenario there is nothing I can do to make it appear as a good question. - Saul 1 mins ago


Relationship between Runge-Kutta methods and the Maclaurin expansion

I understand how to apply 4th order Runge-Kutta and understand Taylor series (Maclaurin series, to be precise). However, I cannot fully understand how the formula of Taylor series results in the algorithm/applied formulas of Runge Kutta. What is the actual relation? I think Runge-Kutta is based on Taylor series, right?


To borrow a phrase, every editor who is not too stupid or too full of himself to notice what is going on knows that propagating the myth of "objective journalism" is indefensible. A newspaper or radio program may try to hide or obscure the fact that the people responsible for its content have opinions, convictions, and biases. But it is impossible to function as a journalist without making subjective judgment calls about newsworthiness, relevance and emphasis, or covering issues about which you have an opinion. Pretending otherwise requires willfully misleading the public.   What does To borrow a phrase mean in the above paragraph?


Does an APS-C lens label itself with effective or true focal length?

I'm not sure if I've phrased this correctly, but I've just purchased two prime lenses:   Nikkor 50mm f1.8/G (FX)  Nikkor 35mm f1.8/G (DX)   I know that the effective focal length of the 50mm FX lens is actually 50 x 1.5 = 75mm, because I'm shooting with an APS-C sensor.   What I'm curious to know is: when I purchased the 35mm DX lens, is that truly a 35mm length or is it 35 x 1.5 = 52.5mm? In other words, when I use a DX lens must I still do the same crop factor calculation as when I use an FX series lens? Would a 35mm FX lens on a full-frame camera "be the same" as a 35mm DX lens on an APS-C camera?  For clarity: FX lenses are Nikon's full frame lenses while DX are their APS-C series of lenses.


How can we prove that every rational number has a terminating or periodic decimal form?

The title says it all. I'm aware of the proof of the converse of my statement, but how do I go on about proving this. Any help would be appreciated.


let $f(x)$ is  continuous on $[0,1/2]$, and derivative on $(0,1/2)$,such $$f'(1/2)=0$$ show that  there exsit $c\in(0,1/2)$, such $$f'(c)=2c(f(c)-f(0))$$  My try: let $$F(x)=e^{-x^2}[f(x)-f(0)]\Longrightarrow F'(x)=e^{-x^2}[f'(x)-2x(f(x)-f(0))]$$ then I can't


Can you marry Serana in Skyrim: Dawnguard?

In Skyrim, I want to marry Serana, the follower you get from the Dawnguard quest series.  Is it possible, if not, will it ever be?


Geting and installing latest version of QGIS in Ubuntu?

I'd like to get the latest 64-bit dev build of QGIS on my Ubuntu setup.   How exactly do I go about it?   I assume it's some kind of arcane terminal command.


I am using the terminal on an Apple M1 MacBook. I try to use a cli tool that is not build for aarm64, so I get this error message in the terminal: zsh: bad CPU type in executable  Is there anything I can do to use this cli tool e.g. with emulation or something? How can I run binaries on a M1 based Mac in the Terminal that is not natively built for Arm?


Best practice for alignment of numbers in ordered list

Code complexity aside, which of the follow two options is preferred for displaying html ordered lists?  The first aligns the item numbers to the right (with decimals all in line). The second aligns the item numbers to the left (with the first digit of the number all in line)


Is there a way to bookmark/favourite a form search?

Of course if the search is via GET it's easy to bookmark, but what if the search is via POST ? Can I bookmark it so I don't need to type in the search paramaters?


Can't resolve issue: iptables: No chain/target/match by that name

So I am trying to setup shorewall firewall on my linux vps. The vps is running ubuntu 12.10. When I type $ shorewall check I get this error.  iptables: No chain/target/match by that name.    ERROR: Log level INFO requires LOG Target in your kernel and iptables   So I run iptables -L and I get  Chain INPUT (policy ACCEPT) target     prot opt source               destination  Chain FORWARD (policy ACCEPT) target     prot opt source               destination  Chain OUTPUT (policy ACCEPT) target     prot opt source               destination   I tried looking at other posts and there is one similar, but it did not help me. The kernel I am using is 2.6.32-042stab079.5  Does anyone know what I need to do to fix this? I've seen a few things about changing the kernel config, but I have no idea how to do that or what to change.


Passing a Taxonomy term via URL to add content form a content type in Drupal 7

How can I pass a content type Taxonomy term in the url itself when I have created one node using that content type?


How to calculate $\int e^{\frac{x^2}{2}} \cdot x^{3} dx$?

$\int e^{\frac{x^2}{2}} \cdot x^{3} dx=?$  I tried to do the substitution $du = x^3dx$, so that $u=\frac{x^4}{4}$. Then, $\int e^{\frac{x^2}{2}} \cdot x^{3} dx= \int e^{\sqrt{u}} du$  However, I would have to do a second substitution ($v = \sqrt{u}$) which would give a product again.  How should I proceed?


Jasper Reports - Adding Column to .jrxml at runtime

I have a .jrxml file template generated and I am trying to create reports for different scenarios. In some cases, i have to add new columns to what is already present in the .jrxml file or I have to remove columns. Is there a way where I can still use the .jrxml as the base and add or remove a column programmatically?


I'm following a tutorial for beginners and I can't figure out what I'm doing wrong despite a lot of time trying to figure it out.  When using the Loop Cut and Slide tool it is behaving differently for me than it does in the video I'm following.  I'll show the images here in a second to give you an example of what I mean.  So for me, after click-selecting my wanted axis, the tool selection only spans as far as the second next edge, where as for the instructor it spans around the entire wall - in this case I'm trying to mark a selection to extrude skirting.  The instructor using the tool:   How the tool behaves for me:   You can see that when creating the two horizontal edges (for the window) using this tool I had the same problem where the selection would only go as far as the second edge intersection it met.


Is there a closed form solution in general relativity to the 2-body orbit problem?


How can I list all foreign keys referencing a given table in SQL Server?

I need to remove a highly referenced table in a SQL Server database.  How can I get a list of all the foreign key constraints I will need to remove in order to drop the table?  (SQL answers preferable over clicking about in the GUI of the management studio.)


How to use eigenvectors to identify which variables are involved in collinearity?


How to prevent cleveref from using ranges

I'm using the cleveref package with amsthm. \Cref{thm:a,thm:b,thm:c,thm:d} becomes Theorems 1 to 4 I want it to become Theorems 1, 2, 3 and 4. How can I do this? I want it this way because I'm also using hyperref and I would like to click-to-go to all the theorems. Here's an MWE: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \usepackage{cleveref} \newtheorem{theorem}{Theorem} \title{Testing cleveref with amsthm}  \begin{document} \maketitle  \begin{theorem}\label{thm:a} The first theorem. \end{theorem} \begin{theorem}\label{thm:b} The second theorem. \end{theorem} \begin{theorem}\label{thm:c} The third theorem. \end{theorem} \begin{theorem}\label{thm:d} The fourth theorem. \end{theorem}  \Cref{thm:a,thm:b,thm:c,thm:d}.  \end{document}


How to show $D_3\oplus D_4$ is not isomorphic to $D_{24}$?  Here $D_n$ is the dihedral group of order $2n$.  I am not sure how to prove this. I am not very good with the dihedreal groups.


Kernel not found when booting a 16.04 USB on HP Pavilion g6

I created a live USB from the Ubuntu 16 AMD64 iso using Startup Disk Creator.  But every time I try to boot from the USB, it shows the error   vesamenu.c32: not a COM32R image.    I have an HP pavilion g6 with an Intel i3 64 bit processor. What do I do? Is ubuntu 16 not compatible with my laptop version?


Smoke renders, but not fire in 2.79 Cycles. However, both are fine in rendered viewport

I have a scene with a rocket launching, so obviously fire is pretty important. However, after setting up the shaders and simulation, I can't get the fire to render. Strangely, the smoke is still rendered and the fire still emits light on the rocket, but doesn't appear below the rocket or shade the resulting smoke. Even stranger, the rendered viewport (ie 3D View set to Rendered) renders the scene perfectly. I'm at a complete loss. Here's a photo of the two views and my domain material:   And a closer image of the domain material after I redid it (still didn't work):   How can I get the fire to render? Thanks!


Pass Beamer frame options/arguments in Pandoc

How does one manually mark a frame as [fragile] in a Pandoc markdown file (to be converted into LaTeX Beamer)?  That is, I have a frame like this:  # Relations visualised  \begin{figure}  \centering \begin{tikzpicture}     [       group/.style={ellipse, draw, minimum height=50pt, minimum width=30pt, label=above:#1},       my dot/.style={circle, fill, minimum width=2.5pt, label={[xshift=0cm,yshift=-2.5pt]above:#1}, inner sep=0pt}     ]     \node (a) [my dot=a] {};     \node (b) [below=of a, my dot=b] {};     \node (c) [right=50pt of a, my dot=c] {};     \node (e) [below=of c, my dot=e] {};     \node (d) [xshift=-2.5pt, my dot=d] at ($(c)!1/2!(e)$) {};     \foreach \i/\j in {a/c,a/e,b/d}       \draw [->, shorten >=2pt] (\i) -- (\j);     \node [fit=(a) (b), group=A] {};     \node [fit=(d) (c) (e), group=B] {};   \end{tikzpicture}  \caption{Relation $R: A \rightarrow B$}  \end{figure}   And it gets converted as:  \begin{frame}{Relations visualised} \begin{figure}  \centering \begin{tikzpicture}     [       group/.style={ellipse, draw, minimum height=50pt, minimum width=30pt, label=above:#1},       my dot/.style={circle, fill, minimum width=2.5pt, label={[xshift=0cm,yshift=-2.5pt]above:#1}, inner sep=0pt}     ]     \node (a) [my dot=a] {};     \node (b) [below=of a, my dot=b] {};     \node (c) [right=50pt of a, my dot=c] {};     \node (e) [below=of c, my dot=e] {};     \node (d) [xshift=-2.5pt, my dot=d] at ($(c)!1/2!(e)$) {};     \foreach \i/\j in {a/c,a/e,b/d}       \draw [->, shorten >=2pt] (\i) -- (\j);     \node [fit=(a) (b), group=A] {};     \node [fit=(d) (c) (e), group=B] {};   \end{tikzpicture}  \caption{Relation $R: A \rightarrow B$/}  \end{figure}   \end{frame}   I want to pass [fragile] as an optional argument to \begin{frame} (otherwise I get an error:  ! Illegal parameter number in definition of \test. <to be read again>                     1 l.392   \end{tikzpicture}   ).  My current solution is just to input the entire frame as raw LaTeX; but that's an unhappy hack for a variety of reasons.


What causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?

Internally, what causes latex.exe to be unable to import *.jpg, *.png, *.pdf directly?


How can I create a new extensible symbol?

Given an arbitrary thin vertical symbol, can I create a new math delimiter from it (and if so, how)?   Edit: Ideally, I would like to be able to create an extensible symbol, either built out an existing normal symbol, or even made from scratch.  Edit 2: I am pretty sure that what I am after is an explanation of how to create a .tfm file for an extensible symbol (which Werner's answer describes the general structure of, but not how to make one).    For example, let's say I wanted to use the \dagger () or \wr () symbol as a delimiter, and write expressions like    \[\left\ldagger \sum_{n=1}^\infty a_n \right\rdagger\]   where the symbol scaled appropriately. Would there be any distinction between declaring a symmetric delimiter (like \vert), as opposed to one that has inherently different "left" and "right" versions like [ and ]?  Now, even being unaware of the inner workings of TeX, I imagine that there has to be lots of information in the fonts for how a delimiter is to be scaled in different situations, and if I try to make my own delimiter, this information won't be present. Would I need to get deep into FontForge or equivalent to achieve my custom delimiters, or is there an easier way?


How do I get rid of the noise on my Hayes Stroker Trail brakes

I recently bought a new bike that came with Hayes Stroker Trail hydraulic brakes.  From day one they were squeeky and not very grippy.  I wrote it off to the burn in period that most disc brakes require.  But after a few hundred miles on them now they are just as bad.  I have bled then in hopes that air in the line was causing the problem.  I got several air bubbles out of the line which helped with the squishiness of the lever, but alas the brakes are still noisy and lack that braking power that I have had with other disk brakes.    I have read a little on this problem and some say that it is just the nature of this brand of brake.  Has anyone found a solution to fixing the squeel, short of buying better brakes.


Story by a traveler who goes town to town eating interesting meals

Inn in each town has an interesting name pertaining to those who travel, i think (am almost positive!) the last Inn was named "The Rest of the Traveler". The author relates his experience, almost as if reviewing the food served in each town, and that the food gets a little worse along the way but still edible. The gist of the stories? Each place is serving parts of people, sending the parts it doesn't use to the next town along the way, hence the name of the final Inn visited. Driving me crazy trying to remember the title and author of this short. Can anyone help??!??


How to round Double to significant digit

I have a application which reads SAS xpt file and stores column value into ByteBuffer and then using getValue() method of it to get Double object. Now I have to print Double upto 12 significant digit after decimal. I found one answer from this from which is working fine but few cases  BigDecimal bd = new BigDecimal(dblColumnData.doubleValue()); System.out.println(String.format("%."+15+"G", bd));   Here 15 is given because there are 3 digits in integer part and there must be 12 significant digit after decimal.  Cases where it is not working is because BigDecimal created from Double. If I print Double then it contains more than 12 digits after decimal and it round correctly with same above approach.  Therefore I think if I can get similar format method for Double the it will solve my problem.


My computer is a ThinkPad T460. I have been trying to install lm-sensors but it gives me:  The following packages have unmet dependencies:  lm-sensors : Depends: libsensors5 (>= 1:3.5.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages.   I try to install libsensors5 and it gives me:  The following packages have unmet dependencies:  libsensors5 : Depends: libsensors-config but it is not going to be installed   E: Unable to correct problems, you have held broken packages.   And when I try to install that I get:  The following packages have unmet dependencies:     libcheese-gtk25 :        Depends: libclutter-1.0-0 (>= 1.16) but it is not going to be installed       Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed       Depends: libcogl20 (>= 1.17.4) but it is not going to be installed       Depends: gstreamer1.0-clutter-3.0 but it is not going to be installed     libcheese8 :        Depends: libclutter-1.0-0 (>= 1.16) but it is not going to be installed       Depends: libclutter-gst-3.0-0 (>= 3.0.4) but it is not going to be installed     libgl1 :        Depends: libglx0 (= 1.1.1-0ubuntu1) but it is not going to be installed     libwebkit2gtk-4.0-37 :        Depends: libgstreamer-gl1.0-0 (>= 1.14.0) but it is not going to be installed              Recommends: gstreamer1.0-gl but it is not going to be installed              Recommends: libgl1-mesa-dri but it is not going to be installed  E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   Does anyone know what's wrong? I'm new to Ubuntu.


Why is my interface now wlp2s0 instead of wlan0?

Everything works fine I just want to know why would my interface change to wlp2s0 by default instead of the usual wlan0


Pass a variable from Modelbuilder into a Python script

I'm new to modelbuilder and python. I have used modelbuilder to iterate through all rows in a shapefile (Points), process them, and produce a seperate output shapefile for each row.  The filename is generated using an inline variable (I think that is the correct terminology).  i.e. all output files have identical filenames except that the value of the PointID from the original input file is appended to the filename to enable them to be distinguished.  This works fine.  I've also written a python script to take the above output files from the model one at a time and do additional processing.  At present the input filename is hard coded into the script (i.e. I have to edit the script to change the input filename each time I run it).  Again this works fine while just processing a single file. However, I want to integrate the model and the python script so that I can run the script for each row in the original feature class automatically.  My question is therefore, how do I replace the hard coded name of the input file with a variable in the python script and how do I pass the filename to the script.


difference between illustrator, photoshop and inDesign

I know that you use Illustrator for your logo's, Photoshop for you pictures (to edit them) But for what purpose do you use inDesign? If it is for logo's and design, why does Adobe make another program when they have Illustrator already?


Windows 8 get list of folder names as string?

I have a folder with a list of folders.  Without manually going through the list and typing the name of each folder, is there a way I can get a new line delimited list of the folders (or file names for that matter) in that directory?


I haven't found anything yet so I was hoping maybe someone here had an idea.  I want to kick off an even based on battery on an Apple laptop reaching a certain charge level, or when the battery is fully charged.  I know I can have something run periodically, check the battery level, and decide what to do, but I prefer event driven if possible.


Can anybody help me out with getting an expression of the values of $\lambda$ for a matrix $A$ for which $det(A-\lambda I)$ equals the determinant of a matrix with on the main diagonal $-\lambda$, on the diagonal above the main diagonal $\dfrac{1}{2}$ and on the diagonal under the main diagonal $\frac{1}{2} \lambda$.


Describe the rings: a) $\mathbb{Z}[x] / (x^2 - 3, 2x + 4)$, b) $\mathbb{Z}[i]/ (2 + i)$

Describe each of following the rings:   a) $\mathbb{Z}[x] / (x^2 - 3, 2x + 4)$      b) $\mathbb{Z}[i]/ (2 + i)$  a) Well, $\mathbb{Z}[x]$ is the set of all polynomials with integer coefficients and $(x^2 - 3, 2x + 4)$  is the ideal generated by two polynomials. I know that  $\mathbb Z[x] / (x^2 - 3, 2x + 4) = \{ r + (x^2 - 3, 2x + 4) : r \in \mathbb{Z}[x] \}$   b) I know that $\mathbb{Z}[i]$ is the set of all polynomials with the complex number $i$ as its variable. $\mathbb{Z}[i]/ (2 + i) = \{ r + (2 + i) : r \in \mathbb{Z}[i] \}$.   I already know that b) is $\mathbb Z$ modulo 5. What would a) be?


What is the difference between a linear and a circular polarizer?

When I bought my polarizer, a friend told me that I should get a circular one, because the linear ones can mess with the autofocus. Is this true? What should each be used for?


Text field and tabs becomes wider while fetching results in Users search

Whenever I add some text to search for users, the text field and the tabs on the right becomes unexpectedly wider.  I'm using Firefox 72 and Chrome 79 on Ubuntu 18.04.


My usb wifi adapter not working in ubuntu 20.04lts

I recently install ubuntu in my computer.Every thing is working well except my usb wifi adapter it work on window very well but not on Ubuntu 20.04LTS.I tried every thing that ubuntu wifi troubleshoot say. But it is  still showing no wifi adapter found.I  reinstall whole Ubuntu but it is still not working. please help me. Output of lsusb:- Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0bda:f179 Realtek Semiconductor Corp. 802.11n Bus 001 Device 006: ID 1c4f:0034 SiGma Micro Usb Mouse Bus 001 Device 004: ID 22d9:276a realme SDM712-MTP _SN:DA06B20A Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


How to compute a marginal probability function from a joint probability function?

I am looking at part a) and I have found the marginal p.f for $Y$ to be $e^{-2}2^{y}/y!$. I have set up for the equation for the marginal p.f for $X$ but I have no idea how to start it. Help would be appreciated.


I have recently installed Ubuntu 12.04 on my Samsung laptop RV509 with Nvidia grahics card but brightness remain unchanged. How can I make the brightness control work?


Consider the root of the polynomial $p(x) = x^n+a_{n-1}x^{n-1}+a_{n-2}x^{n-2}+\dots+a_1x -1$.    Suppose that $p(x)$ has no roots in the open unit disc in a complex plane and $p(-1)=0$. Show that $p(1)= 0$.


windows 7 desktop icons: new icon placement

When moving/saving/etc a new file on the desktop, the icon appears second (just after "Computer"). I find it annoying, since I want my "special" icons to be first (such as the recycle bin, "Network", etc.).  Can this behavior be changed?


Iterate Through All Combinations of Features by Selection in ArcGIS Python Script

I have question about ArcGIS and python script. There are following sample code, So I would like to change Another Field , not OIDFieldName. Please let me know how to change Another Field.  import arcpy import itertools  arcpy.env.workspace = r"C:\path\to\workspace"  base_shapefile = "some_shapefile.shp"  oid_field = arcpy.Describe(base_shapefile).OIDFieldName feature_count = int(arcpy.GetCount_management(base_shapefile).getOutput(0))  for (i, j) in itertools.combinations(range(feature_count), 2):     arcpy.Select_analysis(base_shapefile , "combination_%i_%i.shp" % (i, j), '"%s" in (%i, %i)' % (oid_field, i, j))   These sample code is combination for 5C2. I want to create all combiantions 5C3 , 5C4 , 5C5.


Apache Active Workers and Hits per Second

We are using 2 AppServer with an Idle Workload of 10 Apache Workers and and 5 Hits per Second.  These Servers got 12 CPUs and 8GB of RAM. Monitoring is accessed by Zabbix. My question about this is - are these Servers way to much for the traffic we gernerate? And equals max_connections (we have 500 set)with active workers?  We have the monitoring, but do not know what the max really is and the hoster will not answer us.  Thanks in advance.


I try to run sudo apt-get upgrade and I get the following output:  Preparing to unpack .../snapd_2.32.8+18.04_amd64.deb ... Unpacking snapd (2.32.8+18.04) ... Setting up snapd (2.32.8+18.04) ... snapd.snap-repair.service is a disabled or a static unit, not starting it.   This just hangs here, I've tried running it for over an hour now and nothing. It means I can't install anything at all, all other packages seem to work fine.  I have also tried purging snap and then reinstalling it but I just end up back where I was.


Bootstrap 3: center-block doesn't work with max-width

I'm making a blog page and I want everything on the page be centered. It's just 1 column, I'm not going to introduce any extra columns, at least not soon. To center everything on the page I wrap everything into a div of center-block class. That works great, until I set max-width:28em on the article's text, which makes it render a little off center and more to the left.  Here are examples. Check on "Full page" mode.  Without max-width:28em: centering works great, but the article text is too wide.    <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent porta nulla in tellus condimentum eleifend. Suspendisse purus lectus, fermentum et magna nec, egestas pretium est. Vestibulum ultrices leo nibh, quis aliquam nisl aliquam vitae. Vivamus nec fringilla ex, hendrerit dictum lorem. Suspendisse condimentum ut lectus ultrices sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean faucibus purus at malesuada consequat. Donec urna risus, imperdiet id dapibus sit amet, scelerisque ut leo. Donec arcu turpis, congue at elit et, dignissim congue lorem. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque eget malesuada tellus. Duis quis dignissim tortor. Pellentesque ac imperdiet justo, at tempor nisl. Duis sed justo nisi.

     With max-width:28em: centering is broken but article's text is of good width.    .article {     max-width: 28em; } <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent porta nulla in tellus condimentum eleifend. Suspendisse purus lectus, fermentum et magna nec, egestas pretium est. Vestibulum ultrices leo nibh, quis aliquam nisl aliquam vitae. Vivamus nec fringilla ex, hendrerit dictum lorem. Suspendisse condimentum ut lectus ultrices sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean faucibus purus at malesuada consequat. Donec urna risus, imperdiet id dapibus sit amet, scelerisque ut leo. Donec arcu turpis, congue at elit et, dignissim congue lorem. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque eget malesuada tellus. Duis quis dignissim tortor. Pellentesque ac imperdiet justo, at tempor nisl. Duis sed justo nisi.


How to fix this error: "E: Some index files failed to download. They have been ignored, or old ones used instead"?

When I try to run the following command in Ubuntu 13.04:  sudo apt-get update   I got following error:  W: Failed to fetch http://ppa.launchpad.net/upubuntu-       com/xampp/ubuntu/dists/raring/main/binary-i386/Packages  404  Not Found  E: Some index files failed to download. They have been ignored, or old ones  used      instead


Adding a comment should not make me fail the review audit

I just failed these   in First Post, I read the question and thought it seemed reasonable but the user was deleted so to be on the safe side I clicked add comment and I failed the audit.  I'm not sure why adding a comment would be considered a negative action, is the correct option to click No Action Needed or edit?  What was I supposed to do in this situation?  Adding a comment should not be a review audit fail.


Is better to say the e.g. kinetic energy is 0 joule or kinetic energy is 0 ? since 0*joule equals 0.Is a mathematical concept behind because in many books i find both ways.


Unable to detect mouseenter on appended div

I have a file like this for my html:

 Sample Text 1

   In my jquery file, this is what i do to append the rest of the divisions,  $.each([ 2,3,4,5,6,7,8,9,10 ], function( index, value ) {       $('#append').append("
 Sample Text "+ value.toString() + "
"); });   The problem that I am having is that the appended divisions (Sample Text 2 and more) cannot detect a mouse enter event. I tested it by doing this:  $("div.sample").mouseenter(function(){     alert("Mouse Enter Event Detected"); });   I only get the alert when hovering over the first div.sample. The appended divisions does not seem to detect it.  What can I do to detect mouseover event for the appended divisions?


Minecraft using player score as a variable

In a map I'm making I have a command block loop, and for every time it loops all players speed increases by 1 tier. Anyone know how to do this?


If a holomorphic function on the complex plane has two periods which are linearly independent over $\mathbb R$ then is the function constant?

Let $f: \mathbb C \to \mathbb C$ be holomorphic such that there exist $a,b \in \mathbb C$ , linearly independent over $\mathbb R$ such that $f(z)=f(z+a)=f(z+b) , \forall z \in \mathbb C$ . Then is it true that $f$ is constant ?


Spatial Data Version Control or Versioning Software

I have a lot of shapefile or fgdb feature classes that I am working with now and it gets updated almost every month.  As of right now, I am just making the file name with extra name after '-' (i.e., road_network_Jan2018_v1, road_network_Jan2018_v2, ... road_network_Feb2018_v1, and so forth)  I was wondering will there be an awesome spatial data versioning software that can improve efficiency of my works.  I am usually edit stuff uing ArcMap and QGIS and import them to PostGIS


Is it possible to perfrom ubuntu installation on dynamic HD partition or should i make it to static?

When i boot from USB and select the partition for the installation,there is an error message.Is this due to my hard drive partition in windows is dynamic?If so how do i make it to static and install ubuntu along with windows?


Pure Lorentz boost; transpose $\neq$ inverse?

By definition a matrix representing a Lorentz transformation is orthogonal, so that its inverse is equal to its transpose.   Consider a pure boost in the t-x plane; $$\Lambda_x=\begin{pmatrix} \cosh(\gamma) && \sinh(\gamma) && 0 && 0\\ \sinh(\gamma) && \cosh(\gamma) && 0 && 0\\ 0 && 0 && 1 && 0\\ 0&&0&&0&&1 \end{pmatrix}.$$ $\Lambda_x$ has inverse  $$\Lambda_x^{-1}=\begin{pmatrix} \cosh(\gamma) && -\sinh(\gamma) && 0&&0\\ -\sinh(\gamma) && \cosh(\gamma) && 0&&0\\ 0 && 0 && 1 &&0\\ 0&&0&&0&&1 \end{pmatrix}$$ but tranpose  $$\Lambda_x^T=\begin{pmatrix} \cosh(\gamma) && \sinh(\gamma) && 0&&0\\ \sinh(\gamma) && \cosh(\gamma) && 0&&0\\ 0 && 0 && 1&&0\\ 0&&0&&0&&1 \end{pmatrix}.$$ These are not equal. Where have I gone wrong?


How to restrict calculated value to four decimal places

I want to limit decimal place till 4 for below code, how to do that,  var a = Convert.ToDecimal( 80794992640) / (1024 * 1024);


Making an Interface in blender game engine

I am learning how to make interfaces in the game engine, and I have set up 2 buttons: an exit button and a play button. When one of the buttons receives a left click, it either closes Blender or goes to another screen with a monkey.  The problem is that both buttons are doing the same stuff at the same time. They're switching scenes and closing the program, and the biggest problem is that I don't have to click on the buttons at all. When testing, I can click anywhere in the Blender and it does this.  Here is  if you need it.


Equation in variable $(x,y)$ represent curve in Cartesian plane

If $x,y \in \mathbb{R}.$ Then the equation $3x^4-2(19y+8)x^2+361y^2+2(100+y^4)+64=2(190y+2y^2)$ represent in rectangular cartesian system  Options  $(a)$ Circle   $\;\;\;\;\;(b)$ Parabola $\;\;\;\;\;\; (c)$ Ellipse $\;\;(d)$ Hyperbola  Try:  From $$3x^4-2(19y+8)x^2++2y^4+357y^2-380y+264=0$$ For real roots, its discriminant always $\geq 0$ $$4(19y+8)^2-4\cdot 3 \cdot (2y^4+357y^2-380y+264)\geq 0$$ $$361y^2+64+304y-6y^4-1125y^2+1140y-792\geq 0$$ So $$6y^4+764y^2-1444y+728\leq 0$$ I am struck at that point. did not how to solve  further $\bf{Added}:$ I have seems that it can be convert into sum of square of numbers like $()^2+()^2+()^2+\cdots =0$ Could some help me to convert it , thanks


After making index for my local repository, I get this error while updating.  E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/_home_soroush_repository_dists_precise_local_binary-amd64_Packages E: The package lists or status file could not be parsed or opened. E: _cache->open() failed, please report.   Then no package manager works. I know that there is a problem with index file generated by dpkg-scan-packages but can't find it.  I maintain my repo using this script and it worked properly for a long time:  #!/bin/bash for dist in "precise" #"oneiric" do     for component in "local"     do         for architecture in "amd64" # "i386" "all"          do             echo "Generating package index for $dist $component $architecture..."              dpkg-scanpackages -a $architecture pool/local /dev/null | gzip -9c > dists/$dist/local/binary-$architecture/Packages         done     echo "Generating source index for $dist $component $architecture..."      dpkg-scansources pool/local > dists/$dist/local/sources/Sources     done done   My question is how can I find which package is causing problem in index file? There should be some sort of parser for that...


How to prove $\sum_{n=0}^{\infty} \frac{n^2}{2^n} = 6$?

I'd like to find out why  \begin{align} \sum_{n=0}^{\infty} \frac{n^2}{2^n} = 6 \end{align}  I tried to rewrite it into a geometric series  \begin{align} \sum_{n=0}^{\infty} \frac{n^2}{2^n} = \sum_{n=0}^{\infty} \Big(\frac{1}{2}\Big)^nn^2 \end{align}  But I don't know what to do with the $n^2$.


I can't see links, it looks like text, do I need glasses?

There are two links in here:      In the image it is more visible probably because of some quality changes:    Is it just me? If it is not just me, could this be considered a ?


In Ubuntu if I type which more, it will display the path of the more command as /bin/more, indicating it is a file. But I don't see any extension for it nor a type associated, probably because they are simple executables. How can I create such a file which could echo a simple string? I don't want to create a .sh file because if I want to pass the file as a command with another command, I'd have to type .sh as well. TIA


Why does my cell phone keep getting an error message about my password being wrong or account being changed?

I do not have Google+, I do not have 2 step verification, and I have no data to show in my data tools tab online.  So, why do I keep getting an error message that my password is incorrect or my account has changed?  I didn't change anything, in fact, I never use it.  Have I been hacked?  If so, how can I resolve this so it doesn't keep happening?


A book with a telepathic woman awakened after a few hundred years

I'm trying to remember a book title, with a telepathic woman. She was sleeping in some kind of stasis, locked for years in a sort of capsule in space. Her consciousness was preserved, so she had to do something in the meanwhile so that when she was awakened by an space explorer or something like that she already gained a telepathic skill.


Elementary Set Theory: Proof of Distributive Property

I'm new to proofs.  While working through a finite math book, I've been asked to prove the distributive properties of set operations.  I'll use the distributive property of union over intersection as the example for my question.    Prove that A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C).  The proofs I see for this property aim to show, in two steps, that each side is a subset of the other side.  For example, the first step usually looks something like this:   Let x ∈ A ∪ (B ∩ C). If x ∈ A ∪ (B ∩ C) then x is either in A or in (B and C).  x ∈ A or x ∈ (B and C) x ∈ A or {x ∈ B and x ∈ C} {x ∈ A or x ∈ B} and {x ∈ A or x ∈ C} x ∈ (A or B) and x ∈ (A or C) x ∈ (A ∪ B) ∩ x ∈ (A ∩ C) x ∈ (A ∪ B) ∩ (A ∪ C) x ∈ A ∪ (B ∩ C) => x ∈ (A ∪ B) ∩ (A ∪ C) Therefore, A ∪ (B ∩ C) ⊂ (A ∪ B) ∩ (A ∪ C)   Then the second step would do something similar to show that (A ∪ B) ∩ (A ∪ C) ⊂ A ∪ (B ∩ C).  My question in this--In jumping from lines 3 to 4, aren't we relying on the very property we're trying to prove?  If so, how is that considered as proof?  I don't have trouble following the steps, and I don't doubt that the property is valid.  But as a newcomer to proofs I'm confused because it looks (to me) like we're using the property to prove itself.  To my non-mathematician mind, drawing a couple of Venn diagrams provides a more intuitive "proof" than manipulating these equations.


There is something I don't understand about the  $H$, as it seems to clump two concepts together that I can't quite unify in my head. On the one side, we have  $$V = D H$$  which means that for a given distance $D$, there is a certain amount of new space created over time - and $H$ is simply the factor that makes this relationship work. So, for example, say we have two points 1 Mpc apart, this would mean they recede at about 70 km/s away from each other  (given our current approximation of $H$).  Now the thing I can't wrap my head around is that   $$T =\frac{1}{ H}$$  is also the age of the universe. Contrary to claims made on, say, Wikipedia this means that $H$ cannot possibly have been a constant throughout the past 13 billion years, because mathematically $1/H$ means that $H$ must be continually shrinking as the universe ages.  So if $H$ did start out as some huge value and is now shrinking over time, doesn't this mean the expansion of the universe is slowing down? Because if $H$ is shrinking, I'll get a lower value of $V$ today than I'll get tomorrow. Shouldn't the notation then be more like  $$V = DH(t)$$  So which one is it? If $1/H$ is simply the solution for $D=0$, how can we use it as the expansion-velocity-per-unit-of-distance at the same time? What's worse, how can literature say $H$ has probably been more or less constant forever and simultaneously assert that $1/H$ is the current age of the universe? What am I missing?


I am trying to get an armature to move one limb on a deer I have made. Here is my design process!   I made the body and limbs as separate meshes. I wasn't sure how to create limbs out of the body of the mesh and make them look good. I tried joining  the meshes, creating the armature and setting automatic weights and then moving the armature in pose mode. The mesh would not move with the armature I thought maybe it was because many vertices between the mesh and the limb were crossing so I thought maybe that was why the armature was not moving the limbs I used the cut tool to remove the intersecting mesh on the limb and the body so that there were no intersecting vertices.  I then joined this set of meshes and created a new armature, set the weights to automatic and tried to move the mesh in pose mode and it still won't work.    What should I do? I don't know what else to try. I have been following any other online instructions exactly.  File Link:


Let $T:\Omega\to\Omega$ a measurable function and $\mu,\nu$ $T$-ergodic measures on $\Omega$. I am trying to prove that $\mu\perp\nu$ (this is, they concentrate in disjoint sets).  My attempt was define $w=\mu+\nu$ and use Radon-Nikodým to obtain $f,g\in L^1(\Omega)$ such that $\mu\sim fdw,\ \nu\sim gdw$. Then I only have to show that $w(\{f,g>0\})=0$, but I couldn't progress much.  Note: for $\mu$ being ergodic I mean "$\mu$ is $T$-invariant and, for every measurable $A$, $\mu(A\triangle T^{-1}A)=0$ implies $\mu(A)\in\{0,1\}$.  Note2: I am not able to use the ergodic theorem.


So I have an expression:  XRegExp.cache("^([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,66})\\.([a-z]{2,6}(?:\\.[a-z]{2})?)$", "i");   which I use to validate emails during registration, emails can have custom domains so every one of them must pass, e.g: foo@bar.baz(this does indeed pass).  My problem is that not every email passes validation(e.g: thisfails@proxima.solutions), so what am I doing wrong?


How to compare the output of \ref to a number?

I want to compare the output of \ref to a number in LaTeX. I thought it would be easy but after spending lots of hours surfing the net I still don't know the answer. I found similar questions on this site but I would prefer a solution that does not require another package to be included, so that I can see clearly how the \ref command (and some others) works. I tried a lot of things, some of which I share below, therefore my question is rather long, I'm sorry about that. First, I tried the following codes (the resulting error messages are shown after a % sign):  \begin{equation} \label{eq:myeq}   a=b   \end{equation}  \ifnum\ref{eq:myeq}=1 true\else false\fi % error: "Missing number, treated as zero."  \expandafter\ifnum\ref{eq:myeq}=1 true\else false\fi % error: "Missing number, treated as zero."  \edef\blabla{\ref{eq:myeq}} % error: Incomplete \iffalse; all text was ignored after line 42. \ifnum\blabla=1 true\else false\fi \expandafter\ifnum\blabla=1 true\else false\fi   Of course, \ref{eq:myeq} gave the expected result, namely 1.  Then, I found the definition of \ref using the latexdef ref command:       \ref:   macro:#1->\expandafter \@setref \csname r@#1\endcsname \@firstoftwo {#1}   Further examining \@setref and \firstoftwo, I concluded that the equation number (together with the page number) is stored in a control sequence called \r@eq:myeq. More precisely, the content of \r@eq:myeq is {1}{1} where the first number is the equation number and the second number is the page number. (The output of \expandafter{\csname r@eq:myeq\endcsname} is 11.) If I understand well, in order to obtain the equation number we have to expand \csname r@eq:myeq\endcsname by only two levels to get {1}{1} (the first level of expansion yields \r@eq:myeq), and then we choose the first argument by \@firstoftwo. Since there is no simple way to expand a control sequence by only one level, it is done in a rather circuitous (say tricky) way by \ref. This I could also reproduce by the following code:  \def\sth#1#2{\expandafter #2#1} \makeatletter \expandafter\sth\csname r@eq:myeq\endcsname\@firstoftwo \quad \ifnum1=\expandafter\sth\csname r@eq:myeq\endcsname\@firstoftwo true\else false\fi \makeatother   which resulted in 1   true. So far so good but there are still a few questions. First of all, if the above code works then why does the code with \ifnum1=\ref{eq:myeq}... fail (see above)? Seemingly, the two "algorithms" are doing the same. Second, the above code works only if the auxiliary file (with aux extension) contains the label definition. If it doesn't (the reference is undefined) then LaTeX gives the following error message: Missing number, treated as zero. How can I write a code that works even if the reference is undefined? Thank everybody who read all my above struggle and I would appreciate if someone shed light on the points that were not clear to me and who corrected me where I was wrong and confirmed where I was correct. Unfortunately the whole command syntax of (La)TeX is still very strange to me.


Display semicolon separated string as list items

I have the following JSON array  var json = [  {       'albumTitle':'Title',     'leader':'Leader',     'trackList':'track1;track2;track3;track4'  }, etc... }]   I'm iterating through the array and displaying on page with a standard for loop.  for (var i = 0; i < json.length; i++) {     $("#albums").append(`      <div>          <p>`+json[i].albumTitle+` by ` +json[I].leader+`</p>           <h1>Track List</h1>          <p>`+json[i].trackList+`</p>      </div>      `);   How can I display json[i].trackList as separate list items? Like:

Track 1

Track 2

Track 3

   Thanks for any help.


How to color only a "tilde" accent on a letter?

I would like to color only a "tilde" on my letters. I read how to do this with Umlauts or other accent, but for my expression it seems different I think. Here is my expression :  \widetilde{E}^w   So, is there a way to color only the tilde and not the E^w ? Someone already has implemented it?


Evaluating $$\int\sqrt{\frac{1-x^2}{1+x^2}}\mathrm dx$$   I had read the , but it doesn't work.


How can you reduce ambient noise from servers?

I have recently installed a IBM x45 with two DS4100 (SAN) and due to space constraints it is generating too much noise in adjacent rooms.  Are there any good ways to isolate the noise from servers? There doesn't seem to be much vibration, but the majority of the sounds seems to be from the fans and disks.  Does anyone have experience with putting sound absorbing materials in server rooms/closets? I'm thinking about covering the surroundings in rubber or something.


rtl8812au not being detected following upgrade to 20.04

First of all, apologies if this is a duplicate, but I was unable to find a similar issue, as the more relevant ones seem to be 8812BU chipsets.  This is the same wifi card that I have happily been using in 18.04 without issue.  The device is being detected:  $ lsusb | grep Realtek     Bus 003 Device 004: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter   and the driver has been installed, using the below, which is how I installed it in 18.04:  sudo apt install rtl8812au-dkms   This seems to be installed OK:  $ dkms status rtl8812au, 4.3.8.12175.20140902+dfsg, 5.4.0-26-generic, x86_64: built   Systemd seems to be saying that the interface is being loaded fine also:  $ dmesg | grep -i rtl [    2.038114] r8169 0000:02:00.0 eth0: RTL8168evl/8111evl, 54:04:a6:09:7c:3c, XID 2c9, IRQ 40 [   10.666264] RTL871X: module init start [   10.666265] RTL871X: rtl8812au v4.3.8_12175.20140902 [   10.666265] RTL871X: build time: Apr 26 2020 11:20:03 [   10.825780] usbcore: registered new interface driver rtl8812au [   10.825781] RTL871X: module init ret=0 [   23.101492] RTL8211E Gigabit Ethernet r8169-200:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)   Yet, the device doesn't seem to exist:  $ nmcli device status DEVICE  TYPE      STATE      CONNECTION          enp2s0  ethernet  connected  Wired connection 1  lo      loopback  unmanaged  --     $ iwconfig lo        no wireless extensions.  enp2s0    no wireless extensions.   I have also tried to use a couple of git repositories for the drivers, but they have not made any difference either.  I can't recall the other git I used, but none the less I removed it again after no progress.  Can anyone point me in the right direction, or hint at what the glaringly obvious thing that I have missed might be please?  Sorry if this is mostly me burbling, I am still quite new to Linux, being that while I use it, I don't have to fix it very often ;)