UK Short-Term Student Visa my Brother as a sponsor

i'm 20 years old, i am currently in my second year of study in the university in Algeria, i want to apply for General English courses in Liverpool school of English for 2 weeks so i need to apply for Short-term Student Visa but i have problem in financial requirements i need to seek advice from you please:  i have my brother who's working and has a bank account since 2014 he's working with state and private companies, selling to them electronic machines ( computers, printers ....) and also he's doing repair for them, they pay him through his bank account using bills and many papers, his bank account is professional (commercial) and last money he got was in December 2018(1500 pounds), now he'll receive amount of 2000 to 3000 pounds this week. now if he'll receive more funds and keep it in his bank account for 3 or 4 months, can i make him my sponsor on my visa application ? he will give me his bank statements, his bills, working documents.  thanks for advance!


Is cross-posting allowed on multiple sites if they use a different language?

I understand that simultaneously cross-posting on multiple SE sites is .  What about simultaneously cross-posting to two SE sites in a different language?  e.g., a user posts their question to both Stack Overflow and Stack Overflow en español?  In other words, the poster posts an English-language version of the question on Stack Overflow and at the same time posts a Spanish-language version of the question on Stack Overflow en español?  Is that allowed?  (No, I'm not trying to advocate for allowing it.  I just honestly want to know what the actual policy is.  For instance, I saw one user argue that it should be allowed .  Is there a statement of our policy anywhere?  Is it site-dependent?)


A have a problem which is I am sending Datetime to view. In HTTPGET i havent any problem i mean it shows date as formatted. But when i try to post it to controller it does not post. The date  changing. For example if my date 25-03-2015 (25th March 2015) on posting its changing, and trying to take "25" as mounth. When i enter 11/10/2017 everything is ok. When i enter first digit (which is 11 in this example) higher than 12 it does not post. You can see my model and view parts.  Thank you.  Model:    [DisplayFormat(DataFormatString = "{0:dd-MM-yyyy HH:mm}", ApplyFormatInEditMode = true)] public DateTime AppointmentDate { get; set; }   View:   <div class="input-capsule appointment-date">      @Html.LabelFor(m => m.AppointmentDate, "Randevu Tarihi:")      @Html.TextBoxFor(m => m.AppointmentDate, "{0:dd-MM-yyyy HH:mm}", new {@class = "form-control required" }) </div>


Can I make "starter" with active dry yeast?

I'd like to extend my supply of yeast (It's hard to get right now). My wife does not enjoy the taste of sourdough, so I was wondering it it's possible to create a self-replenishing culture, starting with store-bought, active dry yeast we already have on hand?


Testing Whether a Binomial Distribution Fits Data

I have a sample from a discrete distribution as such:   Type:          0   1   2   3   4   5     Occurrences:  88  12  52  43  21   5   My task is to test whether or not a Binomial Distribution (n=5,p) fits this data.   I understand that I'm meant to use hypothesis testing, and that the chi-square test is a staple for this sort of task. I looked at  but I'm still not sure how to set up the test. How do I do this?


Distribution of orbital velocities in a disk galaxy for N-body simulation?

I'd like to write an N-body simulation in which I collide two disk galaxies. To give you an idea of the accuracy I'm trying to achieve, I'm aiming to make this my screensaver at 30fps on my work desktop. Think Euler's method, large epsilons in denominators to prevent blow up, all that lazy stuff.   One place I don't want to be lazy, however, is in the initial construction of the galaxies I'm trying to collide. I want to design a galaxy that will at least sort of hold together by its own gravity until it smash it into another one.   How might I go about selecting the orbital velocities for each of the bodies composing the galaxy?


How to reset all settings and get back initial blender setings?

I did some changes in user preferences, but I forgot that changes and where I did them. How to I get back the initial blender settings?


What to do when an advisor asks you to draft your recommendation?

A friend of mine is applying to graduate schools, and his research advisor asked him to write the recommendation and he would sign it as his own.   It doesn't seem possible for my friend to write a genuine letter about himself. I would think admissions committees would be able to spot it right away.  He has a very strong application otherwise, with a first author publication in a reputable journal (STEM field) with the very same advisor as an undergraduate!   Would you write the letter yourself? Would you get a recommendation from someone else? Could this be a deal breaker for his application?


Are finitely generated submodules of finitely generated free modules free?

Let $R$ be a commutative ring with identity. Then $R^n$ ($n$ is some positive integer) is a module over $R$ in a natural way. It is free and finitely generated. Now let $M$ be a finitely generated submodule of $R^n$. Does it follow that $M$ is free? My intuition leads me to believe that this is true, but I am not too sure.


I came across  question, and I must admit I've never seen such a long page with so many long answers.  The problem is easily navigating between the answers.  Sometimes I don't have time to read everything at once, and it becomes rather annoying to endlessly scroll to pick up on where I left off.  I think it would be helpful to have a box (in the white space on the left) with links to different answers to hop down to them. Of course this would only be activated when the page becomes a certain length and/or if there are X amount of answers.  Here is an idea (excuse my horrible design skills):


How are the wolfram alpha pikachu curve and others generated?

If you type in "pikachu curve" or other famous fictional characters on wolfram alpha it generates a function to trace out the curve that resembles the character. See  .   Does anyone know how these curves are generated? It seems that this has been done for several characters so I doubt that they worked out the details by hand.  Related:


How can I detect when I hit a mob in minecraft?

I want to create a game in my server where you have a bunch of mobs, and when you hit one it gets sent to a "bucket", and the more mobs in the bucket, the more points you have. I've gotten most everything working, except I can't figure out how to make it detect when the mob takes damage. I also can't figure out how to make it teleport the specific mob that has been punched by the player. Can anyone help me with this?


Is there any alternative to FPDF that can import HTML and CSS?

I'm currently creating an invoice using FPDF. However, with FPDF there is a lot of calculating and trying before you finally get a decent looking pdf.  My question is if any of you know a good alternative with which I will be able to import html and css. I found some similiar questions on stackoverflow but they were only about importing HTML. I would like for the class to use the css as well. I don't know if this is possible though.  PS: Yes, I Googled it but I can't really seem to find what I'm looking for.


Disclaimer: I have no formal electronics training.   I am reading this book:   Here's the paragraph from that book that's got me confused:     The Raspberry Pi documentation allows up to 2.5 A for the Pi's   power supply, in case you don't want to use a powered USB hub. For   this cookbook, we will start with a powered USB hub but work toward   low-power and low-profile solutions.   I was under the impression that, from an abundant supply of amps, a device will draw only the amps it needs.  But the first sentence above implies that you should not connect a power source to the Zero board that is more than 2.5 amps.  Can you please set me straight?


Suprema proof: Prove $\sup(f+g)\leq \sup f+\sup g$

I need help with these:  1) Show the following inequality for the supremum of functions $f:\mathbb{R}\to \mathbb{R}$ and $g: \mathbb{R}\to\mathbb{R}$  $$ \sup(f+g)(x)\leq \sup f(x)+\sup g(x) $$  2) What can you say about a set $M$ of real numbers if you know that $\sup M = \inf M$?  Could you please, before you just giving the proof write down the definitions you are using. I do not want the direct proof, only how I should think and what definitions I should use, so I can try to proof it by myself before I see your guys proof :)  Thanks a lot!


What is the purpose having final keyword in method parameter?

I recently saw a method like   public void display(final String toDisplay){  }   I want to know the purpose of final keyword in method parameter.  BTW: I have already searched it on SO, so please don't downvote; I know its a duplicate.  I know this question has been asked many times and trust I went through all of them but did not understand any of the answers. Please while answering assume that you are talking to a beginner.


Did the following characters of Gotei 13 make it alive?

Did ...     Kisuke Urahara and Yoruichi Shihōin   survive the Thousand Year Blood War Arc?   The manga did not mention anything about them in the last chapter. They are both very important characters to the Bleach universe.  I am wondering if there were any subtle hints left by the author of Bleach  manga, Tite Kubo, to assert their death (or survival) in anyway.


I've been working on database-driven web applications for a few years now and recently took on a project involving a CMS that is XML-capable. This has led me to think about the usage of XML/XSLT in general and in what situations it would be more useful than the approach I've always used, which is storing all of my data in a (My)SQL database and then using PHP/Python/etc. to work with it on the web as needed.  There's obviously something I'm not "getting" here.. could anyone give me examples of applications where storing the data in XML files instead of in a database would be preferable?


How to page up and down in the Ctrl + Alt + F3 virtual terminal window?

I'm using Ubuntu 18.04 LTS. Every now and then, I like to escape the noise of windows by pressing Ctrl + Alt + F3 where I login using to one of the ready to use terminal windows.  If I cat a file and the contents scroll past the screen height, how can I view what's gone off the top of the screen? Pressing Page Up does nothing. Page Down appears to echo a ~ character.


How do I retrieve data from a harddisk running Ubuntu?

I have removed the harddisk and plugged into another PC running Windows and tried to get the data through but couldn't. Can anyone guide me on how can I get the data, because I cannot get to my lockscreen in Ubuntu Version 18.04.


I cannot get import random to work- python 3

I have written out the following code to try and generate random numbers-   import random def main():     a=random.randint(1,100)    b=random.randint(1,100)     print (a)    print (b)  main()    After running the program, I got this message:       File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/random.py", line 41, in module                              from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil                  ImportError: bad magic number in 'math': b'\x03\xf3\r\n


There are $ 25 $ balls in a box. Some balls are red and the rest are blue. We select $ 2 $ balls in a row, one after the other. The selection happens without repositioning. We are given that the probability of choosing $ 2 $ same colored balls is equal to the probability of choosing $ 2 $ different colored balls. How many red balls are in the box? I would appreciate your guidance. Thank you very much in advance.


Are we able to make `centre` for header and `left` side for content in a table?

Are we able to make centre for header and left side for content in a table?  For Testing 1 species, Class AA), is centre and good. For 18, 17, 15, 18 and 18,17, 18 and 18,17, can we move to left side?  I am using table-number-alignment=center for all.    My MWE:  \documentclass[12pt,oneside]{book}  \usepackage[showframe]{geometry} \usepackage{amsmath} \usepackage{ragged2e} \usepackage{makecell, multirow, tabularx} \renewcommand\theadfont{\small\bfseries} % for bold in table using \small \renewcommand\theadgape{} \usepackage[svgnames, table]{xcolor} \usepackage{hhline, boldline} \usepackage{seqsplit, caption} %for table spacing to second row \usepackage{booktabs, ragged2e} % Use booktabs rules and get rid of vertical rules, ragged2e to ragged text \usepackage{siunitx} %for table spacing to second row \usepackage{threeparttable} %to add footnote below table \usepackage{tabulary} \usepackage{graphicx}  \usepackage[font=small,labelfont={bf,sf}, textfont={sf}, justification=centering]{caption}  \begin{document}   \begin{table}[h!] \centering \sisetup{table-format=6.0, table-number-alignment=center, table-column-width=6.0cm}  \begin{tabular}{lcc}      \toprule       & \multicolumn{2}{c}{\thead{Sample Number}}\\       \cmidrule{2-3}      & \thead{Testing1 species \\(Class AA)}      & \thead{Testing2 species \\ (Class BB)} \\      \midrule     High Wavenlength & {18, 17, 15, 18} & {19, 18, 1, 11} \\     Medium Wavenlength & {18, 17, 18} & {19, 18, 11} \\     Low Wavenlength & {18, 17} & {19, 18} \\      \bottomrule     \end{tabular} \end{table}   \end{document}


There is this annoying thing going on when I render my image in blender. Here is what it looks like without rendering  And here is what it looks like when I render it.


Recurrence relation using substitution method

How do I solve the following recurrence using substitution method?  $$T(n) = T(n-1)+C$$  I've found reference to so many examples on line but most of the examples are of the form  $$T(n) = T\left(\frac{n}{4}\right) + n$$  So, I am really struggling to understand it and to solve $T(n) = T(n-1)+C$ using substitution method.  I appreciate if someone could help me out.


What is the English idiom for eventually getting it right after many mindless attempts

I made up an idiom that I think describes what I want to say quite nicely:     "If one shoots enough arrows at the target, one is sure to hit the bull's eye."   An actual English idiom I know of that is close in meaning is:     "Throw enough mud at the wall and some of it will stick"   However, the conceptual image is not as matching, and according to  it has a second meaning:     If enough (perhaps false or reckless) accusations are made against someone, his reputation will suffer, whether or not this is deserved.   But I want the idiom to paint a positive image. For example, I would say the idiom when I help someone remember something by giving it a shot in the dark and getting it right miraculously after some guesses.  What is the English idiom I'm looking for?


Did everything to optimise SEO ranking of site but the site does not show up

I have created a business  for a client of mine. The client runs a business of providing therapeutic and behavioral services to youth and families experiencing developmental, emotional, and behavioral challenges.  The company is called Progressive Option Support Services. The client wanted to optimize the website so it can show up in the top of google search results when you search for "progressive option support services". I have no previous experience in SEO so I followed few blogs and articles on how I can improve the search ranking of the site and implemented it. Some of the things I did were:   Using h1 tag in the website Giving a proper meta description, title etc for the site Making sure there are no broken links. Giving a proper value to the alt attribute of an html image element. Creating a sitemap.xml and submitting it to google search console. Creating a robots.txt file. Making sure there are no canonicalization issues with the site. Using the keywords the client wants to associate with the business on the site and meta description.   However when the client searches for "progressive option support services" the first result she gets is the website for Progressive Insurance. It's not a sponsored advertisement, its the actual progressive insurance website.   However if you google "progressive leasing", you will see the following search result:    So it makes me think that whatever SEO optimisation I did for the site is not working. When I google "progressive option support services" on my browser I see the site I created.    So I do not know why the client see's Progressive Insurance website in the top of the search result whereas I see the actual website. The client and I are in different geographical regions (New Jersey, USA and Mumbai, India), so maybe that might be the deciding factor on why she sees the insurance company and I don't. But by that logic when she searches "progressive leasing" - she sees the result for progressive leasing (the first image).  Another question I had was how can I show my search result the way Progressive Leasing shows up, i.e the sitmap below the search result?  Here is the github link of the website code:   Any suggestions and/or modifications which will help the site show up will be very appreciated.  Thank you all.


Problem.  Let $G$ be a group of order $pq$ such that $p$ and $ q$ are prime integers.  I am to show that every proper subgroup of $G$ is cyclic.  My attempt.  What I know: Any element $a$ divides $pq$ and $a^{pq} = e$.  The order of subgroups $H$ divide $pq$ by Lagrange.  If I could show that $G$ is cyclic, then all subgroups must be cyclic.  If I can show that $G$ is a group of prime order, then I can show that it is cyclic.  I'm not sure what more I can do here...I've tried looking at Fermat's Little Theorem but I can't seem to properly understand it and how it could affect my problem..


spectral radius in normed space is subadditive.

I am reading the book "characterizations of c*-algebras" by Doran and Belfi. On the page 299, the book reads "It can also be shown that if $xy=yx$, then $\nu(x+y)\le\nu(x)+\nu(y)$." The definition of $\nu$ is as follows: in normed algebra,  $$\nu(x)=\limsup_{n\to\infty}\|x^n\|^{\frac1n}$$  Note that the algebra is not assumed to be complete and is also not assumed to be complex scalar(we can have real scalars)  This is my trial: I just tried to mimic the proof of the Minkowski inequality, but failed.  Thank you


External hard drive failing, is backup recovery possible?

I have a Seagate Freeagent external hard drive.  While I was backing it up on Windows XP my pc crashed and I received the horrifying "Delayed Write Error" when I rebooted citing "$MFT" and a few other files.  I tried to unmount it, but to no avail.  Now my pc just crashes when I try to access it via Windows.  In Ubuntu I am able to view it through disk utility.  SMART status is "DISK FAILURE IMMINENT". Fdisk doesn't work, and the SMART tests fail on "Reallocated Sector Count".  Is there any way for me to rescue any of my data.  I can still access the drive but as soon as I do that it crashes.


How reliable is the process data in /proc/*?

I know that /proc gets generated on the fly, but I'm curious, if fork, evecve and process termination are guaranteed to be seen by all other processes immediately.  Obviously, the kernel knows it all, but I'd like to see explicitly stated, that the presented information is really always up to date. I could imagine the kernel might choose to minimize synchronization overhead or whatever by batching updates to some internal structures used for /proc.   This sounds improbable, but there is a problem with our code, which could be explained by this. It's misusing reading /proc for a "single instance check" (which is racy and IMHO plain wrong). When two instances get started nearly concurrently, then it obviously can happen, that each sees itself and the other instance and both complain. However, it looks like the opposite problem (no instance complains) happens to our customers.  Clarification  The  states that "For making accounting scalable, RSS related information are handled in an asynchronous manner and the value may not be very precise". Analogously the whole process list could be handled asynchronously and that's what I'd like to see clearly confuted. An   This  says that     Most (if not all) files in the /proc filesystem are special files, their content at any given moment reflect the actual OS/kernel data at that very moment, they're not files with contents periodically updated.   But it doesn't say if "most" includes what I care about, nor does it claim to be an authoritative answer.


How to disable continuous view in the internal previever? I need it to preview beamer presentations properly.  I have TeXstudio 2.6.2 installed on Lubuntu 13.04


Is there a closed form expression for $1 + x + x^{4} + x^{9}+x^{16}+x^{25} +..+x^{k^2}$?

We all know what the sum of a geometric series is  $1 + x + x^2 + x^3 + ... + x^k = \frac{x^{k+1} - 1}{x - 1}$ .  I was wondering if similar formulas exist in case the exponents  form some other sequence, for example are squares or cubes of positive integers?


What is a good editor similar to Tex-Studio for Mac

I have been using Tex-Studio under Ubuntu, but now I am starting to use MacBook Air.   What is a good choice of editor which is similar to Tex-Studio?


I'm having issues with a clean local install of 4.3, my admin is broken and it seems a JS issue. Please check the attached screenshot. No plugins or themes are installed.  Anybody is experiencing the same? No error in console either. I tried both in Chrome and Firefox.


I have the following file:   id  name  age 1   ed    50 2   joe   70      I want to print just the id and age columns. Right now I just use awk:   cat file.tsv | awk '{ print $1, $3 }'   However, this requires knowing the column numbers. Is there a way to do it where I can use the name of the column (specified on the first row), instead of the column number?


Is there an easy way to find all the subset with a specific length of a list, using Python?

If I have a list, say a=[1,2,3,4]  I want to specify a length, let's say 3, then I can find all the subsets: [[1,2,3], [1,2,4], [2,3,4]]  Does Python has a function so that I can do this quickly?


Product of partial derivatives of polar coordinates (Demonstration of Normal Density Function)

I am studying the proof of the density function of the normal distribution. In one of the steps, the demonstration goes from $\int_{-\infty}^{\infty}\int_{-\infty}^{\infty} e^{-(y^2 + x^2)/2}dydx$ to $\int_{0}^{\infty}\int_{0}^{2\pi} e^{-r²/2}rd\theta~dr$ The explanation is that the author changed variables to polar coordinates: $x = r\cos\theta$, $y = r\sin\theta$, and $dydx = rd\theta~dr$ My question is: how did it come to $dydx = rd\theta~dr$ ? I tried the following: $\frac{dx}{d\theta} = -r\sin\theta$ $\frac{dy}{dr} = \sin\theta$ $\frac{dx}{d\theta}\frac{dy}{dr} = -r\sin\theta \sin\theta = -r\sin^2\theta$ $dxdy = -r\sin^2\theta d\theta dr$ I do not know how to go from $-r\sin^2\theta d\theta dr$ to $rd\theta dr$. Someone could help me to see where I am doing it wrongly?


Abbott's Understanding Analysis, Problem 1.2.4  Produce an infinite collection of sets $A_1, A_2, A_3,...$ with the property that every set $A_i$ in the collection:  (1) Contains an infinite number of elements,   (2) $$A_i \cap A_j = \emptyset, \quad \forall i \neq j,$$   and   (3) $$\cup_{i=1}^{\infty} A_i = \mathbb{N}.$$  I am unable to come up with a response. The property that $$\cup_{i=1}^{\infty} A_i = \mathbb{N}$$ implies that these sets can only contain elements of the natural numbers. However, it seems to me difficult to produce an infinite collection of sets that contain infinitely many natural numbers each and that are mutually disjoint.  Thank you, for your help. :)


Ok, I was playing an EDH game with my friend and I had 8 mana available to me. In order for me to win the game, I had to destroy one of his permanents with a  (7 mana). Now I planned to play a  (1 mana and produces 3 mana) so that I'd have enough mana for a  (3 mana) to protect my Spine of Ish Sah.  How I played the turn out is I try to cast Spine of Ish Sah, but I forgot to play Mana Vault first. By the time I've realized that I forgot a very important part in my plan, I've already tapped for 5 mana. At this point I stop tapping for mana and I am unable to pay for the Spine of Ish Sah and it should return to my hand (where I cast it from) and my lands should untap (rule 717). My opponent said that's not the game works. He says that since I started paying for the spell, I have to finish paying for the rest of it. Now, is my friend correct, that if you pay for part of a spell, if you are able to pay for all of the spell, then you must finish paying its cost?  Answer must have rules referencing this.


Can you use twinned spell metamagic on a spell cast from a ring of spell storing?

spell says:  When you cast a spell....   says:  This ring stores spells cast into it, holding them until the attuned wearer uses them. The ring can store up to 5 levels worth of spells at a time.... ...While wearing this ring, you can cast any spell stored in it. The spell uses the slot level, spell save DC, spell attack bonus, and spellcasting ability of the original caster, but is otherwise treated as if you cast the spell.  When I cast a spell from the ring can my Sorcerer apply the twinned spell metamagic, assuming he meets all the other normal constraints?


My device has stolen by someone,,, i need to block the Device as completely useless Find the following IMEI Details,  IMEI No.: 359299053253550           359899053253568


In Node.js v0.12, the ES6 features like class, import/export, etc are not implemented and not working, but why are they keywords in old versions of Node and not able to use as variable names?


Usage of $\epsilon$ in Naive Set Theory by Paul R. Halmos

I am currently learning Set Theory from Paul Halmos' Naive Set Theory. In the section about the axiom of specification, while dealing with Russell's Paradox, the author defined the set $B$ as:  $B=\{x  \epsilon  A: S (x)\}$  with $S(x)$ as  not$(x\epsilon x)$  How is $\epsilon$ used here? If it symbolises the relation 'belongs to' then how can an element belong to itself? It also proceeds, in the proof, to use such statements as:  ...if $B \epsilon A$, then either $B \epsilon B$ also or else $B \epsilon' B$...  How can this set $B$ 'belong' to $A?$ $B$ can be is a subset of $A$, and it had been previously made clear that '$\epsilon$' and '$\subset$' are very different relations between elements and sets, or along sets. Any help is appreciated. Thank You!


I'm looking into private variables in JavaScript and I understand the syntax for them, but I'm curious as to how they're working more under the hood with the functions.  It seems functions declared inside another function, even after being saved as the object value of an external variable, are either   linked to outer function's scope and have access to its variables, OR the value of the variable in the outer function is simply passed to the inner function(closure).    Which one is it or is it something different I haven't thought of. thanks   function Cat(name,amt){     this.name=name;     let num=amt;//private     let num2=5;//private     this.add=function(){//is privileged and has access to variables during object creation and is public         return num+num2;     } } Cat.prototype.scratch=function(){     let amt= this.add();     console.log(this.name + " scratched " + amt + " times." ); }  let spots= new Cat("spots", 5);  Spots.scratch()// prints "spots scratched 10 times."


I understand what a division ring is, but cannot find any examples. Can anyone give me one?

From Wolfram Alpha I have that the definition of a division ring is;  "a ring in which every nonzero element has a multiplicative inverse, but multiplication is not necessarily commutative". Can someone give me an example of a division ring  where multiplication is commutative and one where it is not commutative?


There is a surjective homomorphism from $\Bbb Z * \Bbb Z$ onto $C_2*C_3$

Prove that there is a surjective homomorphism (an epimorphism) from $\Bbb Z*\Bbb Z$ onto $C_2*C_3$, where $A*B$ is the coproduct of $A$ and $B$ in $\mathsf{Grp}$.   Aluffi asks this question, oddly enough, immediately before revealing what $C_2*C_3$ actually is (which he does in the next exercise).  If I jump ahead and use the result of the next exercise, it's entirely straightforward. But without that, I can clearly see that there are surjective homomorphisms $f\colon \Bbb Z\to C_2$ and $g\colon \Bbb Z\to C_3$, so there must be a unique homomorphism $h\colon \Bbb Z*\Bbb Z\to C_2*C_3$ such that $h \circ i_{\Bbb Z_2}=i_{C_2}\circ f$ and $h\circ i_{\Bbb Z_3}=i_{C_3}\circ g$, but I see no obvious reason that this must be surjective.  Did Aluffi just mix up the order of the two exercises, or is there some other way to do it? Note: the previous exercise shows that there is a surjective homomorphism from $C_2 * C_3$ onto $S_3$, but I don't see how this could possibly be relevant.


JavaScript: difference between this.whatever and prototype.whatever when inherits

Having this code:  var Person = function(_name){      this.name = _name; }  Person.prototype.surname = 'Jiménez';   What's the difference between this.name and Person.prototype.surname, what changes when inherited? what's the difference then when:  var newPerson = new Person('Carlos');


Is the following equivalent to the axiom of choice?

For sets $A,B$, let $|A|\leq^*|B|$ say that there exists an onto map $f:B\rightarrow A$ or $A=\emptyset$.   My question is, is $$\forall A,B(|A|\leq^*|B|\longrightarrow |A|\leq|B|)$$ equivalent to the axiom of choice?  Thanks


Do I have to buy ARR if i have original Final Fantasy XIV disc without account?

I do not have a Final Fantasy XIV account but I have Final Fantasy XIV original disc. Do I have to buy A Realm Reborn to play it?


Prove that there does not exist integer solutions for the diophantine equation $x^5 - y^2 = 4$.

Prove that there does not exist an integer solution for the diophantine equation $x^5 - y^2 = 4$.   It's obvious that $x$ and $y$ are of the same parity. We can also claim that if $x$ is odd, then it is $1 \pmod 4$. Also, if $x$ and $y$ are even, then $y \equiv 2 \pmod 4\text{ since } x^5 \text{ is a multiple of } 32$ and if $y$ were a multiple of $4$ then it would be at a distance of at least $16$ from $x^5$ or be equal to it. These are my observations.  How should I proceed with the proof? Please give hints.


What is the purpose of dissertation embargo periods?

I just heard about "dissertation embargoes".  My institution recommends that every graduating student place an embargo on their dissertation.  What is a dissertation embargo, and what is its purpose?


I would like to create a trigger to export Latex file on the tool bar to replace Update trigger. Anyone knows the commands behind this Export>LaTeX(XeTeX)？Or where could I find the command?  Thanks in advance


Thiessen polygons of sub-districts to lie within district boundaries

I'm using ArcGIS 10.1 and am fairly new to it. I have the latitude and longitude of sub-districts, and wish to create Thiessen polygons of these sub-districts. I also have shapefiles for districts (there are about 10 sub-districts within each district), and want the Thiessen polygon of each sub-district to lie completely within it's district, and not spillover to a neighboring district. Thanks!


A weak converse of $AB=BA\implies e^Ae^B=e^Be^A$ from "Topics in Matrix Analysis" for matrices of algebraic numbers.

It is a well known fact that if $A,B\in M_{n\times n}(\mathbb C)$ and $AB=BA$, then $e^Ae^B=e^Be^A.$  The converse does not hold. Horn and Johnson give the following example in their Topics in Matrix Analysis (page 435). Let $$A=\begin{pmatrix}0&0\\0&2\pi i\end{pmatrix},\qquad B=\begin{pmatrix}0&1\\0&2\pi i\end{pmatrix}.$$ Then $$AB=\begin{pmatrix}0&0\\0&-4\pi^2\end{pmatrix}\neq\begin{pmatrix}0&2\pi i\\0&-4\pi^2\end{pmatrix}=BA.$$ We have $$e^A=\sum_{k=0}^{\infty}\frac 1{k!}\begin{pmatrix}0&0\\0&2\pi i\end{pmatrix}^k=\sum_{k=0}^{\infty}\frac 1{k!}\begin{pmatrix}0^k&0\\0&(2\pi i)^k\end{pmatrix}=\begin{pmatrix}e^0&0\\0&e^{2\pi i}\end{pmatrix}=\begin{pmatrix}1&0\\0&1\end{pmatrix}.$$   For $S=\begin{pmatrix}1&-\frac i{2\pi}\\0&1 \end{pmatrix},$ we have $$e^B=e^{SAS^{-1}}=Se^AS^{-1}=S\begin{pmatrix}1&0\\0&1\end{pmatrix}S^{-1}=\begin{pmatrix}1&0\\0&1\end{pmatrix}.$$   Therefore, $A,B$ are such non-commuting matrices that $e^Ae^B=\begin{pmatrix}1&0\\0&1\end{pmatrix}=e^Be^A.$  It is clear that $\pi$ is important in this particular example. In fact, the authors say what follows.      It is known that if all entries of $A,B\in M_n$ are algebraic numbers and $n\geq 2,$ then $e^A\cdot e^B=e^B\cdot e^A$ if and only if $AB=BA.$   No proof is given. How does one go about proving that?


In the designs of all sites, the original poster of the question is highlighted in comments, however in the new design of MSE, the highlighting is missing.  The OP looks just like any other user.  Example from MSE without highlighting:        However, in a question from MSO, the highlighting is present:        Can the OP get his/her highlighting back on MSE?


When, if ever, are dried herbs preferable to fresh herbs?

Sometimes I see a recipe call for dried herbs. If I have access to fresh herbs, should I go for fresh herbs instead? Is there any benefit in using dried herbs with some recipes?


What is the temperature of the clear night sky from the surface of Earth?

Before you all jump in with 2.73 K or thereabouts, this is more of an experimental question. It will obviously depend on humidity and radiation being scattered back towards the surface of the Earth. Any ideas? Anyone ever pointed a pyrometer or similar at the night sky?


Does a static code-block runs more than one time in concurrent environment

I have a static code block: public class MyClass {  static {                  String s = "src/test/resources/dfdf.properties";         Resource r = new FileSystemResource(s);                  Properties props = new Properties();                  try {             props.load(r.getInputStream());                          accessToken = props.getProperty("password");             locationToken = props.getProperty("username");                      } catch (IOException e) {             LOG.error("We have an error for reading the access and location tokens for Brink web-service config");         }     }   }  If I understand it correctly, the static code block will run only once even we have concurrent environment. Does it correct?


How to maintain app versions to server versions

I'm building an app, my server provide API my app use, with time I have to make new features or improvements to my app. Some times those changes effect the way the data is sent and my app cant response to that so I have to change my app to and required my users to update version because the old one wont work good. Is there a way to support old versions of the app? my server is written in NodeJS and deployed with AWS


Verify that x, y coordinates given as hex string are valid points on an Elliptic Curve

Given the following information: "curve": "P-256", "qx": "729C51D177EBE2079A0FB7B0B3C2145159CF81EC61960E642A1744719AA9F913", "qy": "8C36BCF51475016E614F8C7E0CB1B37C7EA65B4ECCF809852C9B2D0E438710BD" The above coordinates are supposedly valid as per the test vector expected results: "testPassed": true I need to determine if the above public key coordinates are valid points on the curve or not.  I have tried converting the coordinates in python into ints with: >>> x = int("7C96DFF02F55B876A2A885A920E9FB5E30C6E1A4061A62517FD5C936A16AD363", 16) >>> y = int("301ABC6B82DF5B6B6D3E8D56D7660D83A6E4F55E321BD2E57A5AC4A6A683374E", 16)  And then plugged those integer values into both of the following formulas: y^2 = X^3 + 7 (secp256k1) y^2 = x^3 - 3x + b where b is 41058363725152142129326129780047268409114441015993725554835256314039467401291 In neither case did the formula indicate that the values were valid. Would anybody happen to know how I could go about validating these coordinates?


The last time we had been there, she (had) told me all about how much Jenny loved living in Paris. - Past perfect/simple past confusion

The last time Lara and I had been to Paris, Lara had told me all about how much you loved living in Paris.  The last time Lara and I had been Paris, she told me all about how much you loved living in Paris.  Her telling me, and our being there is at the same time at a time before the past. So, for the construction to be interpreted that way, are we to use the past perfect following the TOLD, or are to use just the simple past?  If we used the past perfect there, would the time frame mean   Her telling me how much Jenny loved living in Paris- 1st.  Our being somewhere together.- 2nd  My telling someone else what jenny had told me.-3rd. ?


Easy way to create Random numbers in Java

I'm searching for an easy way to generate random numbers with a defined max and minimum, but for the purpose I need using the standard way to generate randoms complicates my code too much.  The standard way being:  Random rand=new Random(); rand.nextInt(125)+1;   While I'm looking for a simpler way, something along the lines of:  Random(125,1);


$$\sum_{n=1}^{\infty} \frac{\ln(n)}{n^2}$$   I have tried the comparison test with $\frac{1}{n}$ and got $0$ with $\frac{1}{n^2}$ I got $\infty$  What should I try?


Why do only Harry and Neville fit the prophecy out of all wizards?

Here is Sybill Trelawney's first prophecy:     "The one with the power to vanquish the Dark Lord approaches ... born to those who have thrice defied him, born as the seventh month dies ... and the Dark Lord will mark him as his equal, but he will have power the Dark Lord knows not ... and either must die at the hand of the other for neither can live while the other survives ... the one with the power to vanquish the Dark Lord will be born as the seventh month dies ..."   The requirements for the Chosen One are then:   Parents defied Voldemort 3 times Born at the end of July   With all the witches and wizards who fought against Voldemort, how is it possible that only Harry and Neville fit these qualifications?  The First Wizarding War was extremely large, and so there were at least thousands, if not millions, of wizards and witches who defied Voldemort. July is also the .   It seems that there have to have been more possible Chosen Ones.


"a wottle of bine", "a can of boot reer" and "holed and sealed" - What types of speech errors are these?

People often make these mistakes in speech on purpose, just for amusement. Sometimes, however, they are unintentional and prove even funnier.  In this case, is there a specific term for them?  e.g.        "belly jeans"  for  "jelly beans"   "a can of boot reer"  for  "a can of root beer"   "a wottle of bine"  for  "a bottle of wine"   "holed and sealed"  for  "soled and healed"    "cling spreaning"  for  "spring cleaning"


ASP.NET MVC controller actions that return JSON or partial html

I am trying to create controller actions which will return either JSON or partial html depending upon a parameter. What is the best way to get the result returned to an MVC page asynchronously?


Basically, I am told that $\varepsilon$~$N(0,1)$, and $\omega$~$IG(\frac{v}{2}$,$\frac{v}{2})$ where $IG$ is the inverted gamma distribution Now, I am told that the distribution of: $\varepsilon(\frac{v-2}{2} \omega )^\frac{1}{2}$ is Student-t distributed. But I can not figure out why. When inputting the code into mathematica I get the following PDF: $\frac{(1+\frac{x^2}{v-2})^{-\frac{v+1}{2}}.\Gamma(\frac{v+1}{2})}{\pi^{\frac{1}{2}}.(v-2)^{\frac{1}{2}}.\Gamma(\frac{v}{2})}$ for $v>2$ Of course it looks very similar to the PDF of the student-t distribution but sometimes the $v$ is replaced with $v-2$. Can I nevertheless conclude that it is student-t distributed and if so, with how many degrees of freedom, $v$ of $v-2$?


Does the speed of light depend on mass density?

Light is a non-mechanical wave. It means that it does not require a medium to travel. But the characteristics of the medium to affect light. That s why refraction occurs, right?  I also read somewhere that the mass density of a medium does not affect it's speed of light, but instead it's optical density does so.  What would a quantitative definition of optical density be? Why is it not related to mass density and how does it affect the speed of light?  Why does the presence of more mass in less volume (more mass density) not affect the speed of light?  Thanks!


I am still new to Tikz, and wondering how to make the diagram below using Tikz. Does anyone have any advice or know how to do this?


Can you fly over a Medium enemy creature in a 10ft tall corridor?

Let’s say you, a Medium character, are in a 5ft wide, 10ft tall corridor, and that a Medium enemy creature stands in your way. You wish to go behind the enemy creature using your fly speed (either disengaging, or just not particularly caring about getting an opportunity attack).  Considering that you cannot go through an enemy creature’s controlled space (unless said creature is two size categories above you), but that Medium creatures control a space of 5ft on a side, can a Medium creature fly over an enemy Medium creature in a 10ft high corridor ?  The reason I’m asking is because in a game I played (where I was the flying character), the DM claimed that creatures control a bigger space vertically (10ft instead of 5ft, or 2 squares instead of 1), and therefore flying over the enemy in this case is impossible. I don’t recall any place in the PHB/DMG/XGR where vertical controlled space is to be bigger than what the size category says, but the DM seemed convinced he was correct. Maybe I’m missing something ?  Relevant rules :     you can move through a hostile creature's   space only if the creature is at least two sizes larger or   smaller than you      Each creature takes up a different amount of space.   The Size Categories table show s how much space   a creature o f a particular size controls in combat.      Medium 5 by 5 ft      A creature's space is the area in feet that it effectively   controls in combat, not an expression of its physical   dimensions. A typical Medium creature isn't 5 feet   wide, for example, but it does control a space that   wide.


I'm trying to get hyperref to work with pdflatex, but I'm getting the error hyperref Warning: Draft mode on and since all hyperrefs are disabled in draft mode, there are no links being created.  I tried doing the following: \usepackage[final]{hyperref} but still no success.  I'm using document class book: \documentclass{book} so nowhere do I say that I want draft enabled.  Tried compiling on two different machines with TexnicCenter using pdflatex(LaTeX=>PDF).  Any suggestions?


A finite von Neumann regular ring is unital and has $ab = 1$ if $ba = 1$

Let $R$ be a finite ring such that for any $x \in R$ there exists $y \in R$ with $xyx = x$. Show that $R$ is unital and that if $ab = 1$, then $ba = 1$.   Thoughts so far: If I can show that the Jacobson radical is trivial, then I see how to get the result (since then it would be semi-simple, therefore equal to a direct product of matrix rings over division rings, hence equal to a direct product of matrix rings over fields (since the division rings would be finite), and this satisfies the property. So I'm wondering about how to prove that $J(R)$ is trivial. Any hints?


why the first value of the map is not overriden by third value?

The following map's first value should be overriden by third value but is is not. why?  import java.util.*;  class A {  int a, b; A(int a,int b) {     this.a = a;     this.b = b; }  public boolean equals(A aa) {     if(this.a == aa.a && this.b == aa.b) {         return true;     }     return false; } public int hashCode() {     return this.a-this.b; } }   main class  public class MyClass { // main class   public static void main(String args[]) { // main method   Map<A,Character> map = new LinkedHashMap<>();    map.put(new A(1,2),'a');   //first  map.put(new A(1,3),'b');   //second  map.put(new A(1,2),'v');   //third    for(A a : map.keySet()) {      System.out.println(a.a+" "+a.b+" "+map.get(a));  }  }  }   the output by the code is :  1 2 a  1 3 b  1 2 v


Can't get the red creatures into the funnel

So I know that you are supposed to get the tiny red blobs by nuddging them with your mouse. Several guides suggest that when they are close enough to the funnel you push them from underneath. Problem is I can never get them to jump that high, they only jump away from the funnel.  I have tried everything suggested to combat the bugs. Lower screen size, lower cursor quality etc but nothing helps. The creatures just won't jumpo into the funnel.  Anyone got any ideas?


SE software misleading; should handle expressed desire to delete a question differently, not offer a false choice

When a user wants to delete their question, don't let them click delete, then make them read this long message asking them to think it over when they actually can't delete it, since it has answers by others.  IOW, I think it's a bug that the system goes so far as to put up a sort of a warning (red button means warning in my book!) urging that users think it over when they don't actually have a choice, as they actually can't delete it, since it has answers by others. Note: I'm not urging that a particular question be deleted and not seeking moderator action; note that I'm tagging this bug, not support.


Why am i in run level 2 but i can still see my GUI?

I am a newbie in linux using ubuntu 14.04. I came across the concept of runlevels. What confuses me is the fact that when i run the command   who -r   I see that i am in runlevel 2 which represents multi-user, text mode, no servers. Why is it that I still have access to my GUI yet I am in run level 2? I thought that I was in runlevel 4 which is multi-user, GUI mode, no servers. Please I need clarification. Thank you.


I would like to add an operator to a class.  I currently have a GetValue() method that I would like to replace with an [] operator.  class A {     private List<int> values = new List<int>();      public int GetValue(int index) => values[index]; }


How was the cameraman removed from the mirrors in the elevator scene?

In the movie  (aka Butterfly on a wheel), at about the 7th minute, Neil Randall (Gerard Butler) is going up an elevator, with another person in it.    From the angle of the shot, I am 100% certain that the camera man (or at least the camera) should have been seen in the mirrors.  How come they aren't? Was there an effect used?


How to increase spacing between two lines?

I am new to LaTeX. I was writing a document in LaTeX. I want to increase the spacing between the vertical lines, I can use \vspace{2mm} but that is not possible to write at end of every line.  So can you please tell me a code for this.


Ratio of sines given, find ratio of cosines?

Is it possible to find $\displaystyle{\cos x \over \cos y}$ if $\displaystyle{\sin x\over \sin y}$ is given? If so, how would one approach this problem? Thank you in advance!


Indian student willing to apply for Standard Visitor Visa only for U.K

I am an Indian passport holder studying currently in China with a valid student visa expiring in next year September and i want to visit UK for tourism and family visit purposes for 3 months approx.   So as a student I want to know What kind of documents will be appropriate to submit to the embassy ? Should i submit the copies of my tuition fee receipt ?  Since i do not have any kind of income my Chinese bank statements just show the proof of my regular monthly expenses provided by my father but not much of savings.So would this be any kind of problem for refusal?  PS : My course that i am studying finishes in 2020 in China so i have to come back to attend my graduation and finish the course.   My brother in law living in UK is going to sponsor my trip and also my parents who applied for UK visa from India also successfully got the UK Visa very recently.   and Now its my turn to apply the visa from China to meet them there in my university vacation time.  Any kind of help or suggestions would be most useful for me. Thank you


Feature allowing SO to execute code snippets in a sandbox and produce useful results

I think a useful although grandiose feature would be to allow SO to run posted code snippets inside a secure sandbox (for various languages) for the purposes of: finding syntax errors, validating code, sometimes producing and posting actual results or output.   I would find this feature useful because I don't have all compilers frameworks and tools installed for which I would like to quickly try some of the unique stuff I see posted on SO. Also source code answers could be validated at deeper levels for weighting usability, etc. Also it might be great just to see the immediate results of code, inline with the posted answer, rather than mentally processing it.  The words "results" and "output" are used loosely here and could be anything from a parse tree to a step-through of code to actual console text or anything in between, whichever representation best suits the situation at hand. It could be automatic or chosen by the poster.  This feature request might seem really "out there" but it's fun to speculate about (well, for me). With recognition a lot of thought and work would have to go into it, but anything is possible if desirable.   One of the biggest challenges would be the fact code is often a fragment so running the native compiler would produce lots of errors. However syntax highlighting on SO is already a step in the right direction because it proves recognition of language features to a degree. Missing code might be mocked by a tool.


Where can I find the repository for XYTools plugin? I have tried several repositories and got messages that it was permanently removed!


As far as I've read online, there isn't a good explanation for the . Is this the case? Why does taking the square of the wave function give you the Probability? Naturally it removes negatives and imaginary numbers, but why is it the square, not the fourth or some higher power?


Why doesn't there exist a section about Korean dramas or Asian dramas on Stack Exchange?

While I have seen all sites from Stack Exchange, I was wondering why there are no sites about Korean/Asian dramas? First, I checked in these sites:  and  And I thought there would exist a tag about Korean/Asian dramas (for example, Korean dramas or Asian dramas or something similar)     But, what is anime?  a style of Japanese film and television animation, typically aimed at adults as well as children.  And what is K-drama?  K-dramas are television dramas (Hangul: 드라마; RR: deurama) in the Korean language, made in South Korea  Korean dramas are popular worldwide, partially due to the spread of Korean popular culture.  K-Drama: net-speak for a South Korean television show   Why doesn't there exist this kind of site or tag in Movies & TV or Anime & Manga? If they are so popular on the Internet, as you can see here:


$c_0$ is a closed subspace of $l^{\infty}$

Put   $$ l^{\infty} = \{ (x_n) \subseteq \mathbb{C} : \forall j \; \;\ \;|x_j| \leq C(x)\} $$  I want to show that $c_0$, the space of all sequences of scalars that converges to $0$ is closed subspace of $l^{\infty}$.  MY atttemt: Take arbitrary sequence $(x_n) \in c_0$. We know $x_n \to 0$. but $0 \in c_0$. Therefore, every sequence in $c_0$ converges to an element in $c_0$. Hence, $c_0$ must be closed  Is this correct? thanks


In 2008, :     A long time ago, it became fashionable, even recommended, to disable   menu items when they could not be used.      Don't do this. Users see the disabled menu item that they want to   click on, and are left entirely without a clue of what they are   supposed to do to get the menu item to work.      Instead, leave the menu item enabled. If there's some reason you can't   complete the action, the menu item can display a message telling the   user why.   That's an interesting idea, but I wish he'd elaborated on what he meant by "display a message telling the user why."   Has anyone actually followed this advice? Are there any examples of menus that display a message instead of disabling a menu item -- perhaps something you designed yourself, or something out of Fog Creek?  I'm curious about the mechanism by which the message would be displayed and whether anyone has experience (good or bad) with showing a message instead of disabling a menu item.


How do I remove mysearchresults.com and funmoods.com adware from my HP laptop ?  I am using Internet Explorer. The uninstall function does not work, as I cannot locate these toolbars on the list. Also tried the tools function on IE but it only showed disable function.


Should I watch Star Trek: the Original Series in order?

Excepting two-part episodes, should I watch TOS in some sort of order (production vs. stardate, etc), and if so, which, or are all the episodes essentially independent?   If a few episodes are not independent, please post them and the order they should be viewed.  Edit: Regarding the similarity to 2 other questions, this one is different: one is about the order of watching each series, and the other question regards the chronologic order of TOS, not the preferred viewing order.


My answer to a question keeps being posted as comment

I was trying to post an answer to this question:    But for some reason, my answer was added to the comments section instead. This is what I was trying to post (at least, I think it was formatted like this):  There's nothing wrong with your CSS, but it won't work. This is a [*security feature*][1].     [1]: https://stackoverflow.com/a/8331950/1679849


Remove/Close sidebar when using Cairo-Dock

How do I close the top bar and the left side bar now that I am using Cairo-Dock as my primary access point for everything? Please help if you can. Thank you in advance.


how amperage of the source influences the components of a circuit?

I am trying to understand when some devices say that for example it needs 5V and 2a to work properly, or when a USB charger says it provides 5V at 1A or another that says 5V at 2A. Why does all this mention the source current? isn't the source supposed to only provide voltage and the current is defined by the resistance of whatever im connecting to the source? So for example, if I have a resistor to heat a blanket or whatever at 10W plugged into a 5v 2amp usb port, to get the 10W of heat dissipation the resistor must be 2.5 ohms and all is ok. But if I connect the same resistor to a usb port that "supplies 5v and 1amp" the circuit current should be 2 amps anyway because V = IR and with that the resistor will dissipate 10W because P = V ^ 2 / R, right? What am I missing? I suppose that in a heater there must be other components that provokes this?, I read that when the devices demand more current that source provies, the voltage source drops to maintain the required current. But I don't see how my heater "demands" a certain amount of current if it should be defined by I = V / R (I only know some basic of electricity and all this arose because I want to buy some heatpads that work at 5v and 2A and I was wondering if connecting it to the usb3.0 of my laptop would give me satisfactory results and because im curious xd)


getting this type of error "Error: Compile Error: expecting a semi-colon, found ')' at line 20 column 23 "

Here is my complete code sample   global class b1 implements Database.Batchable<sObject> {   global final string query;  global final string s_object;  global final string field;  global final string field_value;   global b1 (string q, string s, string f, string v){        Query =q;        s_object=s;        field = f;       field_value =v;    }    global Database.QueryLocator start (Database.BatchableContext BC){   return Database.getQueryLocator (query);   }    global void excute(Database.BatchableContext BC, List<sObject> batch) {   for(s_object o= batch){   o.put(field,field_valu);    }   update batch;   }     global void finish(Database.BatchableContext BC){    } }


How to install Microsoft Silverlight on Firefox on 12.04?

I am using Ubuntu 12.04 LTS 64-bit on my system. I am using Mozilla Firefox 37.0 and Google Chrome 41.0 browsers.  I went to  in both browsers. In Chrome I could see the content on the webpage perfectly. In Firefox it asked me to install Microsoft Silverlight. I'm surprised that on Chrome it didn't ask me to install Silverlight.  Please explain me what is Silverlight, why it is needed, and how to install this on my system in an easy, efficient and reliable way?  P.S. Please don't suggest to do anything using WINE as I know it's not a reliable approach.  Thanks in advance.


Where it is possible to challenge the decision of the moderator of one of the Stack Exchange projects?

(English is not my native language)  Today  on Russian Stack Overflow. Blocking justification:     Информация на странице вашей учетной записи вводит в заблуждение относительно вашей личности. Там размещён портрет и ссылки на учетные записи в социальных сетях совершенно другого человека. Это просто по-человечески плохо, а ещё явно запрещено пользовательским соглашением.   Я удалил всю подобную информацию. В будущем, пожалуйста, избегайте любой возможности того, что вас примут за кого-то другого.    Translate:     Information on the page of your account misleads concerning your personality. There the portrait and links to accounts on social networks absolutely of other person is placed. It simply is properly bad, and it is obviously forbidden by terms of service.    I removed all similar information. In the future, please, avoid any possibility of that you will be taken for someone another.   In my profile there was a  of my Beloved and the link to Her profile in a social network. Information was in my profile 3 months, my profile collected more than 200 viewings, anybody didn't say to me that my profile violates rules.  Well, I understand that, perhaps, photos and links to other people are forbidden. I would remove information if it is forbidden. But I wasn't warned that my actions are forbidden before blocked me.     of the moderator of Russian of Stack Overflow.     Если конфликт еще только назревает, участник получает устное предупреждение. Далее следует бан на неделю/месяц/год за первое/второе/третье серьезное нарушение соответственно. Иногда может применяться бан менее недели.   Translate:     If the conflict just becomes ripe, the participant receives the oral prevention. Further the ban for a week/month/year for the first/second/third serious violation respectively follows. The ban can sometimes be applied less than a week.    of that moderator which blocked me.     При первом случае нарушений мы часто ограничиваемся предупреждением.   Translate:     At the first case of violations we are often limited to the prevention.     But I wasn't warned about inadmissibility of my actions. If I was told that my actions violate the rules Russian Stack Overflow, I would remove the forbidden content from my profile. It is my first blocking, I respect and I don't want to violate the rules of the Stack Exchange projects.  The moderator blocked me without the prevention that contradicts words of moderators which I provided above in the text. Where projects Stack Exchange is the court where the contested decision moderators individual projects? Thanks.


18.04 HP Pavilion desktop "No Wi-fi Adapter Found"

This Q has been asked times before on here, going by a search for the message, but all the answers have been immensely convoluted and impractical in my situation. I have installed Ubuntu on many other machines over many years and know my way around it. I'll give it a quick go anyway:  I've installed Linux 18.04 from USB on a HP Pavilion desktop literally straight out of the box. During the installation I wasn't prompted for wifi details, so clearly the installation didn't pick up the Wifi adaptor. Clicking on Settings / Wifi it says "No Wi-fi Adapter (sic) Found". The adaptor definitely works in Windoze 10 so clearly Ubuntu is lacking the driver.  Linux and hardware drivers is a problem going back to when I started using it in the Jurassic, but I'd thought it had been resolved in modern versions. Are there any quick fixes to this that don't involve abstruse and complex command lines, as suggested in other Qs on this topic? Also suggested is physical connection to the router which is not a physical option as one's upstairs and one's downstairs. I do have another machine, on which I'm writing this, on which I could download drivers.  Alternatively, is it worth me downloading 2 gigs of Ubuntu 19.10 and installing that?  The installation is not important - I just want a dual-boot desktop but can live with just Windoze, inferior and insecure as it is. I don't want to spend any significant time on a fix.  If there's no relatively simple fix, can anyone advise on how to remove the Ubuntu installation, and/or replace it with another distro?


I'm trying to rid my code of a couple of evals that I have in my javascript, but I'm not sure of the best way to achieve what I'm trying to do.  I have a "filter form" on a bunch of my pages, with a bit of JS attached to it that reloads parts of the page depending on what the user does.  Different pages require different actions though.  So my solution (that I came up with yearrrrs ago...) was  <form name="callback_loadCalendar"> <form name="callback_loadNames">   Etc.  And this horrible bit of JS (attached to onchange events etc) to then call the relevant function:  if (f.getAttribute('name') && f.getAttribute('name').indexOf('callback') === 0)     eval(f.getAttribute('name').substr(9)+'()');   E.g. that would call loadCalendar() and loadNames() respectively.  What SHOULD I be doing instead?  Thanks!


Is it better to use latin or Japanese characters in URL?

If I want to reach native Japanese speakers, which slug is better; 1/ english-dictionary.com 2/ 英語の辞書.com  There are several questions on this but none seem to give a clear answer.


Topological space with countable open cover $\{U_\alpha\} $ with each $U_\alpha$ second-countable, is second countable

I'm trying to prove the following statement:     Let $X$ be a topological space with a countable open cover $C= \{U_\alpha : \alpha \in A\}$. If each $U_\alpha$ is second-countable then $X$ is second-countable.   However I'm stuck on how to proceed, so any hints on how to tackle it would be highly appreciated.


Plus-minus sign in the continued fraction

How to write the plus/minus signs aligned with the bottom of the fraction. I can write the rest of the part of equation (1.1) and (1.2). but can cot write the plus/minus sign at the bottom.


Nexus 7 2012 is almost unusable after upgrading to the latest Lollipop. What should I do?

I have a Nexus 7 2012 wifi. With the latest version of Lollipop it has really become unusable, freezing for a minute or more, or even rebooting while loading a page in Chrome.  I did a system reset, but that did not change much past the few first minutes.   What is the recommended version to have again a usable tablet? Is anyone having a "runbook for dummies" to install Android 4.x (or CM or whatever works fine) ?   Most of the tutorials I found on the Internet are for geeks wishing to experiment. I just want a running system with minimal fuss/risk.


sudo on Windows 10 Linux subsystem cannot resolve local machine name

I installed Windows 10 Anniversary update and the Linux subsystem. When running anything with sudo it takes ages and then I get this error message:     sudo: unable to resolve host MYMACHINE   How to get rid of this and make sudo fast?


Section/subsection numbering doesn't appear on titles on my computer only

I am a new LyX user and something strange is happening when I generate on my computer: the section numbering is not appearing on the titles.   I already checked the document settings ToC option and tried to change "manually" the \secnumdepth 3 LaTeX parameter to 5.  However, it look like it is specific to my computer (Ubuntu mate Xenial) because, on my friend's Mac, the numbering is working. The ToC is also working well.  I use the TeX template: thesis-template-latex.tex, the class dcsbook.cls with the style dcslib.sty from this page:   I suspect one of the Ubuntu LaTeX lib related packages that I installed while starting using LyX to be the origin of the problem.  Does anybody have any clue what the problem is?


Empty preimage of an intersection implies empty intersection of the preimages

Assume $f:A\to A'$ is a function, $B\subset A'$, $C\subset A'$, and $f^{-1}(B\cap C)=\emptyset$  How can we see that $f^{-1}(B)\cap f^{-1}(C)=\emptyset$?


Fault in Proof of $1\times 1\times 1\times 1\cdots =2$

The supposed proof of the result in the title goes like this: First, $$2=(2^{\frac 1n} )^ n $$ for all positive integers $n$. So, $$2= \lim_{n\to \infty} (2^{\frac 1n} )^n = \lim_{n\to \infty} \bigg( 2^{\frac 1n} \times 2^{\frac 1n} \times 2^{\frac 1n} \times \cdots \bigg) $$ Now this is where I believe for some reason things go wrong. Since each of the individual limits $\lim_{n\to \infty} 2^{1/n} $ exist and equal a non-zero finite number, by the product law for limits it can be said that the limit of the product is equal to the product of the limits, i.e. $$2= \lim_{n\to \infty} 2^{\frac 1n} \times  \lim_{n\to \infty} 2^{\frac 1n} \times  \lim_{n\to \infty} 2^{\frac 1n} \times \cdots =1\times 1\times 1\times \cdots$$ If this step is wrong, is it because the product law for limits doesn’t apply to limits over natural numbers? Or is the mistake somewhere else?


Map array modified objects to underlaying surface

I create a big grid of objects using 2 array modifier on my original mesh. The resulting objects shall be placed (snap) to another underlaying mesh which is bumpy.  Following the description of shrinkwrap it sounds like the tool to go to, but sadly half of the objects are either to far away from the surface or the meshes get unrecognizably stretched. Is there a way to place those objects without needing to do everything by hand? Preferably with the normals aligning correctly.  "The Shrinkwrap Modifier allows an object to “shrink” to the surface of another object. It moves each vertex of the object being modified to the closest position on the surface of the given mesh (using one of the three methods available)."


I am confused with Logical 'And' and 'or' combination in python  I got some idea from  but I couldn't understand combination of 'AND' and 'OR'     a=3    print(a%2 and 'odd' or 'even')   I understood how even was printed if a is 2 ie., a= 2, 2%2 = 0 => False. Then Note String object is considered as True so 'odd' and 'even' are True. So False and True(odd) or True(even) will give be False(even) object.  But when I didn't understand how even works. If 1st object is True then the output should be immediate True without checking other condition(or operations), how is it going further and printing 'even'


Dashed line with equal length dashes in TikZ

Consider this MWE:  \documentclass[tikz,margin=5pt]{standalone} \begin{document} \begin{tikzpicture} \draw [dashed] (0,0) -- (1.7,0); \end{tikzpicture} \end{document}     How do I get the dashed line to have dashes of equal length? I don't actually mind if the dashed line doesn't start directly on the coordinates I specify, but I want to be able to specify a start and end coordinate and obtain a dashed line without trailing short bits.


How to match case insensitive patterns with ls?

I would like to list all files matching a certain pattern while ignoring the case.  For example, I run the following commands:  ls *abc*   I want to see all the files that have "abc" as a part of the file name, ignoring the case, like  -rw-r--r-- 1 mtk mtk 0 Sep 21 08:12 file1abc.txt -rw-r--r-- 1 mtk mtk 0 Sep 21 08:12 file2ABC.txt   Note  I have searched the man page for case, but couldn't find anything.


I an running Unity version 7.4.0+16.04.20160906 under Ubuntu 16.04.2  I would like to have the user name (or user ID number) displayed on the desktop (not in a window or any of a window's decoration) as soon as it starts up and perpetually thereafter.  After switching user, even for the first time (especially when that user first logs in) it should immediately show as soon as anything shows.  It does not need to show when the screen is black just before the display begins.  An ideal location would be somewhere along the title bar at the top.  How can I do this?


What is the fastest connection between two MacBooks

What is the fastest way to connect two MacBooks? In my case I want to connect an MacBook Air (2011) with a Retina MacBookPro and use Screen Sharing.  Options I'm thinking of:   Thunderbolt/Ethernet and connecting both MacBooks directly? something else?


I often want to search through a man page, however I am forced to either do:  man <package> | grep <search>   Or:  man <package> > file.txt   But there must be an easier way than this to do this, so how can I search through a man page while in it instead of having to send its contents to a file, or use grep to print the necessary matching contents to standard output?


Simplest way of creating a themed page from a module

Unifying the questions below, I want to check if the problem and solution is correct:  Problem: I want to create a page with hook_menu from my custom module. This page will have a different template to the other pages. Some of the dynamic content of the page will be retrieved by my custom module.  Solution: the code below, with these convoluted steps:   hook_menu with callback function callback function returns empty array. Based on path, hook_preprocess_page retrieves data and send to page. theme suggestion is set, based on path.   What I don't understand is why 3. and 4. cannot be accessed directly from callback function, avoiding to guess what page we are accesing via path.  Code:  function hook_menu(){     $items['product-detail'] = array(        'page callback' => '_hook_product_detail',        'type' => MENU_CALLBACK,        'access callback' => TRUE, );  function _hook_product_detail(){    return array("#markup" => ""); } // function  function hook_preprocess_page(&$variables) {    $cp = current_path();    $cp_arr = explode("/", $cp);    if($cp_arr[0] == "product-detail"){        $variables['theme_hook_suggestion'] = 'page__product_detail';        // ... get data to populate var1, used in page--product_detail.tpl.php        $variables["var1"] = $var1;    } // if   }      Questions unified:  and


libimobiledevice doesn't work for me. I've got Ubuntu 11.10 and I'm trying to put music on to my iPod Touch 4Gen running iOS 5.0.1.   I have tried every program available in the Ubuntu software center for sycing iPods and I get basically the same response from each one: "[cannot apply changes etc, ect, etc]" I've tried rigorously with Banshee and Rythmbox with no success.   I've even tried running iTunes on Windows XP in VirtualBox with no success. I've tried running iTunes through Wine and it results in an error message saying something along the lines of "[Please install Apple Application Support and then reinstall iTunes]". I am considering Jailbreaking my iPod but I cannot find Absinthe that works with my iPod and with Ubuntu. In addition I'm not sure how ** works with Ubuntu. I'm really in a pickle here.   It would be ever so helpful if I could indeed have some help with this issue.


Problem Statement:     Let $G$ be a finite group, say a group with $n$ elements, and let $S$ be a nonempty   subset of $G$. Suppose $e \in S$, and that $S$ is closed with respect to multiplication. Prove   that $S$ is a subgroup of $G$. (HINT: It remains to prove that $G$ is closed with respect to   inverses. Let $G = \{a_1, \ldots ,a_n\}$; one of these elements is $e$. If $a_i \in G$, consider the distinct elements $\{a_ia_1, a_ia_2, \ldots a_ia_n\}$.   Incomplete Solution:  Let $G = \{a_1, \ldots, a_n\}.$ Let $a_i \in G.$ Then any number of $a_ia_1, a_ia_2, \ldots, a_ia_n \in S,$ since $S$ is closed under multiplication. One of those $a_ia_j$ is $e$ since $e \in S.$ Then either $(a_i)^{-1}$ or $(a_j)^{-1} \in S.$  To complete the proof I was told:     You need to argue why one of them must be $e$. Show $f(x)=a_i \cdot x$ is an injection, then since it's a map from a finite set to itself that implies it's also a surjection.   Let $a_i \cdot x = a_i \cdot y$. Then $x = y$. So, $f$ is injective. Not too sure if that's correct, but I have a follow up question:  For $x = 1, 2, 3, \ldots, n$; $f(x) \in \{a_i, a_i \cdot 2, a_i \cdot 3, \ldots  a_i \cdot n\}$. So, $f: \{1, 2, 3, ..., n\} \to \{a_i, a_i \cdot 2, a_i \cdot 3, ..., a_i \cdot n\}$. Is that correct? If so, how do we know $f$ maps from a finite set to itself?


Can I be automatically notified of prolonged blocking in SQL server?

About once a week I have to resolve a blocking chain on a SQL Server 2005 database, caused by a long-lived read lock from an Access 2003 front-end. The lock is taken out whenever a user opens a certain form and is released once the user has finished scrolling through the form or closes it. Since many of our users open this form as reference, these locks stay around for a while. Any update to the table causes the blocking, and suddenly nobody can select from this table since they're all waiting on the first lock. This is quite a problem for us, since lots of apps rely on this data. I understand that this locking behavior is part of how Access works with linked tables.  I've been solving the problem from Activity Monitor,  whenever I find out about it. This is a problem not only because it takes me time to do it manually, but also because it's reactive. By the time I hear about it, it's already been a problem for a lot of people.  I'd like to know if there is an automatic way to check for these long-lasting blocking chains, and either be emailed or have the problem resolved automatically. The logic seems straightforward enough ("if any process matching this SELECT query has been blocking for longer than a minute, notify me/kill it") but I don't know how to implement this with SQL Server.  For what it's worth, I think the proper solution is to fix or rewrite the app. However, due to departmental politics, this is not an option for the next few months, so I'm looking for a stopgap.


I've never had problems in finding the $R_{eq}$ of a circuit, but in this case I don't really know how to do it:


Full error:  Err:11 http://ppa.launchpad.net/kernel-ppa/ppa/ubuntu xenial Release   404  Not Found Reading package lists... Done                       E: The repository 'http://ppa.launchpad.net/kernel-ppa/ppa/ubuntu xenial Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.   Normal sources.list:  $ cat /etc/apt/sources.list deb http://ports.ubuntu.com/ xenial main restricted universe multiverse deb-src http://ports.ubuntu.com/ xenial main restricted universe multiverse  deb http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse deb-src http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse  deb http://ports.ubuntu.com/ xenial-security main restricted universe multiverse deb-src http://ports.ubuntu.com/ xenial-security main restricted universe multiverse  deb http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse deb-src http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse   I see that the kernel-ppa has . How can I fix this error or deactivate the from throwing an error over the lack of xenial folder?


Today we tried to check our website but we found this error. I don't know what happened exactly.  PDOException: SQLSTATE[HY000] [2002] No such file or directory in Drupal\Component\DependencyInjection\PhpArrayContainer->createService() (line 79 of /var/www/html/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php).   Please I need help to fix this error as soon as possible.  Thank you.


What property causes lightsabers to not cut through other lightsabers during combat?

I know there are materials in the universe (both in the StarWars universe, and other plausible materials outside the StarWars universe) which cannot be penetrated by a lightsaber, but I'm not familiar with what properties of the lightsabers themselves cause them to collide on impact rather than pass through?  Aren't lightsabers just controlled beams of energy? (I'm assuming the answer here is no, considering the question).


Would Farming Simulator 15 run on my laptop?

Will my following laptop run Farming Simulator 15 ?   LENOVO IdeaPad 110 15.6" Laptop   Intel® Celeron® N3060 Processor Dual-core 1.6 GHz / 2.48 GHz (Burst) 2 MB cache   Memory (RAM) : 4 GB DDR3 (8 GB maximum installable RAM)   Storage : 1 TB HDD, 5400 rpm     Thanks in advance


Do computer viruses affect all user accounts on a computer?  IF a virus affects a local user will that effect administrator account and vise-versa?


Workaround for a very weird bug in lualatex math-mode?

In this MWE, of a math equation  \documentclass{article} \begin{document} \begin{equation} \sqrt{\frac{\left(E-\frac{N_c e^d}{b}\right)}{a}} \end{equation} \end{document}   I find that lualatex (Version beta-0.70.2-2013031016 (TeX Live 2013/dev)) produces a very strange result:    The result is however as expected with pdflatex 3.1415926-2.5-1.40.13 (TeX Live 2013/dev) and xelatex (3.1415926-2.5-0.9999-2013031016 (TeX Live 2013/dev))  The example is really minimal to reproduce the bug.  The question is: I really need to type an equation like this and I really need to use lualatex for other reasons. What is a workaround (trick with commands) or a permanent solution (e.g. load package, add something to the preamble)?  A secondary question is how one reports a bug in lualatex?, (or for any TeX program for that matter)


Is it possible to show the Stack Exchange flair on LinkedIn?

I have found the HTML to show the flair, and I was wondering if it was possible to place this in a LinkedIn profile.    Where would be the best place to put it?


I hold an Indian passport and I'm currently in the US under an F1 visa. I'm planning to go back to India, SJC - MAA. I have a 24-hour layover in Frankfurt. If I want to visit Frankfurt during that time, do I need a visa?


What are the Nvidia open source graphics drivers?

I just added the Nvidia driver PPA ppa:graphics-drivers/ppa, and am noticing that a number of the options in Additional Drivers now have "(open source)" (i.e. first option in image) appended to them instead of "(proprietary)".  Sorry if I'm out of the loop, but I thought Nvidia only provided proprietary drivers, and it was X.Org, the makers of Nouveau, who did the open source stuff.  Can anybody clarify? Thanks!


The following LDO is supplied from 2 input sources. BAT, which is a battery from 2.5-4.2V and VBUS, which is a power adapter voltage of 12V. My understanding is that a diode has a forward voltage drop of about 0.7V. So what is the LDO input voltage if both sources are connected?    Edit: In the reference question that is linked below it is not explained how the power is shared between both sources.


SQL Server T-SQL - Convert INT e.g. 201211 value to Nov 2012 during select

Just wondering if anyone can help me format a Year/Month INT column in the format YYYYMM to a user friendly date with short month e.g.Jan, Feb rather than a number.  A couple of examples:  201101 to Jan 2011 201312 to Dec 2013    I can substring out the components no worries, I just can't work out how to turn 01 to Jan.  EDIT:  Based on @Karl's answer this it what I have come up - it's pretty ugly but it works:  DECLARE @Test INT SET @Test = 201206  SELECT SUBSTRING(DATENAME(month, DATEADD(month, CAST(SUBSTRING(CAST(@TEST AS VARCHAR), 5, 2) AS INT) - 1 , CAST('2008-01-01' AS datetime))),1,3) + ' ' + SUBSTRING(CAST(@Test AS VARCHAR),1,4) as Test


Was the significance of Arya's Braavosi coin ever explained?

Jaqen H'ghar gives Arya the iron coin, she can apparently give it to any Braavosi and say Valar Morghulis and that gets her where she needs to go, but why?    Where do these coins come from and what do they indicate to a Braavosi?


So I'm rendering an animation of 420 frames and each frame is taking more than one hour. I have two render layers, both with the same settings. One is the background and the other the principal object of my scene. I don't have many meshes. Here are my render settings am I doing something wrong?    Here  is what I'm rendering  My computer specifications are:  Intel Core i7-2600 CPU 3.40 ghz Ram 8GB Nvdia Geforce Gtx 555


Why am I getting the An expression of non-boolean type specified in a context where a condition is expected, near ',' error

This is my code: SELECT *  FROM mytable  WHERE (Permit,Stampdate) IN (SELECT Permit,MAX(Stampdate) AS Stampdate                               FROM mytable GROUP BY Permit)


A point due east of me is closer to the equator?

This footnote:     East-west directions can be misleading. Point B, which appears due East from A, will be closer to the equator than A. Thus the curvature found this way is smaller than the curvature of a circle of constant latitude, except at the equator. West can exchanged for east in this discussion.   appears on the Wiki page regarding .  This does not correspond to my understanding of the geometry for an ellipsoidal Earth: if I move due east, I'll stay at the same latitude, and thus I'll still be the same distance way from the equator.  I what sense is a point B that is due east from A "closer to the equator"?  In fact, how can this make sense? nothing in the problem setup differentiates point A from point B, so neither can be closer to the equator than the other since the problem is symmetric.  In response to duplicate question comments: whether I move from A to B via a great circle or via a rhumb line, it shouldn't affect whether one of the two points is closer to the equator than the other.


Transer from file from Windows to Linux in WMWare

I have Windows OS in which I have installed VMWare.VMWare has Ubuntu in it as Virtual OS.Now I try to copy my Windows Desktop to Ubuntu Folder but it is not working.Is there a way to do this? Please find the image for reference.


Show that $f : \Bbb{R}^2 \to \Bbb{R} , f(x, y) = \sqrt{|xy|}$ is not differentiable at $(x, y) = (0, 0)$

I was going to use the definition of derivative for $f : \Bbb{R}^n \to \Bbb{R}$ but when I was calculating $\nabla f(0, 0)$, it didn't exist, so now I'm stumped on what to do. Should I not plug in the point $(0, 0)$ into $\nabla f$ and then try to prove $$\lim_{h\to 0} \frac{f(a + h) - f(a) - \nabla f \cdot h}{||h||} \neq 0$$  for general $a$?


Correct way of passing a PHP $variable to MySQLI

I am wondering about the safe or correct way to pass a $variable to a query. I am new to PHP thats why I am asking such beginner question. Here is the example one and two, which one is correct and safer because of symbols?  Example one:  //here is the line I am asking about. The $identification $query = "SELECT * FROM `members` WHERE `username` = '$identification' LIMIT 1";   Example two:  //here is the line I am asking about. The $identification $query = "SELECT * FROM `members` WHERE `username` = '" . $identification . "' LIMIT 1";   I don't need answers about PHP 4 or 5 or PDO. I just need to know what is correct:  This   '" . $identification . "'   Or this  '$identification'


"Infer" vs. "imply" — can "infer" imply "imply"?

Okay that's a crazy title, but bear with me.  Got into a good natured discussion with someone on another stack exchange site, and I was "correcting" him on the use of infer vs. imply.    (The discussion can be found here: )  He pointed me to a dictionary entry for "infer" that seems to use the definition for imply.    The 4th definition that is given there reads:     suggest, hint  -  "are you inferring I'm incompetent?"    That, to me, is a classic example of where someone should not use "infer", but should use "imply".  But maybe I'm wrong?  Granted, it's the 4th of four definitions, and so presumably less common, but I thought the two, "imply" and "infer" had totally distinct meanings.  According to definition #4 on that link "infer" can imply "imply".    Am I nuts?  Am I the only one surprised by this?  (very possible...I'm often surprised by English).  Or is it possible that the dictionary is...something less than accurate?  It's not a mom-and-pop shop, so that seems unlikely...but I throw it out there as a possibility...but if the dictionary is wrong, where do you go to to find evidence of it?  (Who watches the watchmen?)


Generalising integration by parts for the product of more than two functions

Just as the product rule can be generalised to the product of more than two functions, i.e. $$\frac{d}{dx} \left [ \prod_{i=1}^k f_i(x) \right ]  = \sum_{i=1}^k \left(\frac{d}{dx} f_i(x) \prod_{j\ne i} f_j(x) \right) = \left(  \prod_{i=1}^k f_i(x) \right) \left( \sum_{i=1}^k \frac{f'_i(x)}{f_i(x)} \right),$$ is there a way to generalise integration by parts to evaluate $$\int f_1(x) f_2(x) \cdots f_n(x) dx \qquad ?$$    For contextual purposes only, I'm trying to evaluate by hand   $$\int x \cosh(x+1)e^x\sin(x) dx \quad  . $$  I know that I could let $u=x \cosh(x+1)$ and $v \ '=e^x\sin(x)$ but that would require integration by parts to be performed at least three times.  Is there a more-efficient way to evaluate this integral using the proposed 'generalisation'?  Thanks!


Re-applying for a Schengen visa, difference between 'revoked' and 'annulled'

I applied for a Schengen visa 2 years ago and got it, but the visa was revoked because I tried to travel to another Schengen country, which I wasn't allowed to due to the limitations on my Schengen visa.  I was giving some days to vacate the country, which I did. I wasn't deported – it's a voluntary departure – but the earlier visa given was canceled.   Since my earlier circumstance has changed, can I re-apply for a new Schengen visa and this time?  Or am I going to be refused because of my earlier visa revocation, which I still have on my passport?  I am only visiting the country that is going to issue the Schengen visa. The earlier visa was issued by the Latvian embassy; now I intend to travel to Estonia as a tourist again.


How did part of my house in minecraft disappear?

I was playing Minecraft 1.6.2 survival mode (normal difficulty), and I built a house. Then I went far away to explore a cave. When I got back, part of my house had simply disappeared.     As you can see, a part of my house just vanished. There used to be walls and a roof, but not anymore.     The stranger thing is, the wooden floor just turned into a perfect square of dirt.    There also used to be a pond nearby, but part of the pond also turned into dirt. (as indicated by the redstone circuit.)    Fences are gone. My iron golem and a cat are nowhere to be found. The whole area encircled by the redstone simply turn into dirt.  I thought of a creeper explosion. Yes, I might have left the gate open, and yes a creeper might be able to sneak into the house, (if it managed to get pass my two cats). It seems unlikely that an explosion would occur. There is no hole on the ground, and the roof is gone too. I don't think the blast radius is that large. The house was fine when I left. Doesn't a creeper has to be near me to trigger an explosion?  I am really puzzled. Can somebody explain what happened? I would be very grateful.


How to print utf-8 encoded special characters using NASM and GCC in windows

I make a simple Intel assembly code to print a literal string containing a special character (ñ) in standard output that doesn´t print it in the correct way.  I'm using NASM to assemble, GCC to link, _printf function to print. Windows 10 is my OS.  global  _main extern  _printf section  .data msg     db  'The letter ñ is used in spanish language',0 section  .bss section .text _main: push    msg call    _printf          add     esp,4        ret   Below the details of commands to assemble, linker and the result of program execution:  C:\nasm-2.14.02\MisProg>nasm utftest.asm -f win32  C:\nasm-2.14.02\MisProg>gcc utftest.obj -m32 -o utftest  C:\nasm-2.14.02\MisProg>utftest The letter ├▒ is used in spanish language C:\nasm-2.14.02\MisProg>   I couldn't find out what is needed to do to print the letter ñ in the correct way.


How do I access Windows Event Viewer log data from Java

Is there any way to access the Windows Event Log from a java class. Has anyone written any APIs for this, and would there be any way to access the data from a remote machine?  The scenario is:  I run a process on a remote machine, from a controlling Java process. This remote process logs stuff to the Event Log, which I want to be able to see in the controlling process.  Thanks in advance.


Why is unquoted $PATH containing whitespaces safe in an assignment?

What does the following from  mean?     In general, in shells other than zsh, $PATH outside double quotes breaks when the value contains spaces or other special characters, but in an assignment, it's safe   Could you give some example? Thanks.


Monitoring of .net applications at runtime

There is a system composed of an ASP.NET web application, .NET windows services and shared .NET libraries. It has large number of classes, each containing multiple methods.  How to conveniently collect runtime data about execution of methods without having to modify each single class and method? The goal is to register execution of all the methods that are part of the system (except .NET Framework classes). The purpose of collecting this data is to learn what features of the system are never used by the users. We already performed static code analysis as well as eliminated pages that were never displayed based on IIS logs.


Solve $x^2-5x+6\equiv 0 \pmod{18}$.  Here is what I did: I rewrote the equation into $(x-2)(x-3) \equiv 0\pmod{18}$ And I know if (mod p is a prime number) $x \equiv 2\pmod{18}$, $x \equiv 3\pmod{18}$ However, it is not in this case, how do I find other solutions within the range of $1$ to $17$. ($11$ and $12$)?


How to randomize numbers with no repeat in C?

I want to randomize number in each element of array in a variabel. I currently use srand() function. But, with this function i could get a same number in two or more element of array.    the output of my program is         number[0]=6         number[1]=3         number[2]=8         number[3]=3    See, number[1] and number[3] has same value. How to prevent this thing happen?


Suppose you want to generate a password using ASCII  characters ($128$ characters.)How many ways can you create a password of 10 characters long that has at least one lowercase letter (a-z) and at least one number ($0-9$)?  ** MY ANSWER: $26*10*(128)^{10}$**  I don't understand why this is wrong? Can anybody help? Thanks!


I was reasonably certain I've seen this before, but I was wondering how to solve the Diophantine equation  $$a^2+b^2=c^2+d^2$$  I tried a web search and found nothing on this one.  I'm trying to avoid another library trip to a less than local library (maybe I should have taken better notes on that chapter...).  I'm not quite sure how to handle this one.  The only thing I can figure out with this equation, if I remember correctly, is that the sum on either side may only contain prime factors of 2 or odd primes congruent to 1 mod 4.  And if I don't want a and b equal to c and d, the sum can't be prime as I believe a prime congruent to 1 mod 4 can be represented as the sum of 2 squares in exactly one way.  But that doesn't give me any insight into actually solving this problem.


Can windows 7 installed in virtual box suppot 3d graphics for gaming

I have recently installed Windows 7 in my virtual box and my main OS is ubuntu 14.04 LTS.  I have gallium 0.4 on AMD RS-780.  Can I get a stepwise manual to install graphic card accelerators required to enable high quality gaming in virtual box? This is the status of my computer.


Choose parameters to make a harmonic function

Let $B(0;1)=\{x\in \mathbb{R}^N ;|x|\leq 1\}$,  the ball of $\mathbb{R}^N$ equipped with the euclidian scalar product  $$x \cdot y=x_1y_1+...+x_Ny_N,\ \ \ x=(x_1,...,x_N),\ \ y=(y_1,...,y_N)\ \ \ |x|=\sqrt{x\cdot x}.$$ Let $\alpha\mbox{ , } \beta \mbox{ two real numbers, } \alpha\geq 0\mbox{ , } a \in \partial B(0,1)$ fix. $$h(x)=\log\left((1-x\cdot a)^{\alpha}+|x-a|^{\beta}\right)$$ Can we find $\alpha$ and $\beta$ such that $h$ is harmonic in $B(0,1)$?


Does installing and using Wine open up your Linux platform to Windows viruses?

Just wondering if installing Wine might open up a fairly solid Linux desktop to the world of Windows viruses.  Any confirmed reports about that?  Would you then install a Windows antivirus product under Wine?


Is installing Windows Server 2012 R2 using .com versus .local going to cause future problems?

I know using example.com would cause a conflict, but what about ad.example.com, corp.example.com or internal.example.com?  I have a web .com domain.  Will need to remote in and/or VPN etc.  I am being told that ONLY .local should be used and nothing else.  I am not so certain about that.  Something about self-signed certificates?  And when the server is accessed from the public it will fail?  I don't know much about certificates and need to read up on it.


I have been reading about apport and its usage for a week by now. But could not understand the below things.  Scenario:  I have developed an application and packaged it. And its name is MyApp.deb. The binary package name is MyApp .The application is installed in the path /opt/myapplication/bin/MyApp.   Requirement:   When my application crashes, I want to be able to collect core dump. On each subsequent crash, it has to create a new crash, but not overwriting the existing one. Something like auto renaming with the current time stamp, etc would help me. When I install my application on a customer machine, my installer must not modify his system wide parameters. Say for example, I must not change the pattern of his core file generation, because the user/customer might hate my application as I would change his system parameters without his consent. I am ok with the path of core file generation. Either current directory or /var/crash   Things that I have explored till now:  Apport is a nice utility which enables core file generations. Using /proc/sys/kernel/core_pattern I can format core files. This provides flexibility to redirect the core files to a predefined directory, name core files with pid, file path pattern appended or prep-ended to it,etc.. For non Ubuntu packages, I have to write hooks to generate core dumps (reports). Apport after collecting the report it will upload.  Things that I do not understand:   Is Apport the one I must be looking at?? I mean does it suffice my purpose? Or should I be looking at something else? What kind of package does my application fall under? Do I call it non-ubuntu? 3rd part? what is it? I see different terminologies in documents? As I mentioned, MyApp runs from /opt/myapplication/bin/MyApp, so where will the core files be generated? Current dir or /var/crash? Does Apport detect crashes trigerred from /opt? Does it interpret it? Important question: If I have developed the application and if Apport uploads the report to Ubuntu repositories, it does not make sense. So how can I tell Apport to send the report to me. I get this error: executable does not belong to a package, ignoring. So what am I doing wrong? For apport to recognise my package, do I need to make it a source package? Is it mandatory? I just want to create a binary package?  I also saw somewhere in the documents that Apport recognises:  Ubuntu packages or Launchpad applications but my application is neither of these. So how does Apport help me in the current scenario?


ionic cordova ng-src force cache reload based on new image size?

Before trying to say this was answered elsewhere or is a duplicate - PLEASE fully read.  All other solutions are cache-busters forcing image reload EVERYTIME.  I only want to force image reload on condition of new image size - but keeping same image name.  On my server I am naming images ceLogo_C1001.png - the 1001 is the customer ID, the image is the company logo.  If the client updates their image on the server side, the image is still named ceLogo_C1001.png.      <img ng-src='myserver.com/clients/images/ceLogo_C1001.png'>   However, in the app, the image isn't updating and is showing the old ceLogo_C1001.png - not the new one.  I believe this is because the old image and the new image have the same name.  Is there anyway to get the app to force reload the image if it recognizes the image size is different from the last one - even though the images still have the same name?  I am trying to force a certain uniformity in naming...without having to add dates or incremental numbers (IE: ceLogo_C1001_1.png) to force a name change - which would then force an image reload.


"Black and white dogs": ambiguity with coordinate adjectives

A black and a white dog means "two dogs". A black and white dog means "one dog".  Then what about black and white dogs?  Does this mean two things?  "Dogs, each of black and white color" and "dogs of black and dogs of white"?