App Version: 1.6.6.2 Device: Unknown (iPad7,2) OS Version: Version 11.1.1 (Build 15B150)   I was editing a comment, but the time limit expired.  I selected and cut the text from the edit window before canceling, but was unable to paste it into a new comment.     Similarly, I decided that already saved comment text would be better in an answer.  I tapped the comment and tapped ‘copy.’  The app told me it was copied.  Edited a comment, but then paste did nothing.

I’m able to copy-paste from any application to any application. I’m able to copy from a comment or from a question or from an answer. I’m able to paste to a question or answer. However, if I attempt to paste into a comment, nothing happens. I am able to subsequently paste into another application, confirming that the text is actually on the clipboard.   However, copying SE links will paste them successfully, but all other text - including other links - still fails. This leads me to believe that it’s a SE issue and not an Apple one.   This has been an issue since 11.0 beta and persists through iOS 13 release.


so I was happily working away, until translate stopped working. when i press g to translate a verticie; it doesn't move, although it gives the impression that it is.  when i press 1 and go into reference mode: it works again, and side view with 3. but in the normal camera perspective: nothing works.  please why please? I am fairly new to blender, i tried looking up a solution myself, no success.

My cursor is moving by every selection by large increments!  Normally when I use Blender, I am able to select and move objects to any coordinate. Now, all of the sudden, when I select an object or mesh the selection moves by an inch or so in each direction.  How do I reset it to normal?


After load-shedding when I tried to boot into my Ubuntu 20.10, a black screen with this error message appeared. /dev/sdb1: clean, 670021/4890624 files, 10575973/19537408 blocks

dev/sda1: clean, 552599/6111232 files, 7119295/24414464 blocks   After I turn on my laptop this message appears. The system never boots, the message just stays there.


My wife had a return flight ticket from Seoul to Barcelona via Istanbul at Turkish Airlines for March 6th. We received a mail today (March 2nd) saying please call our Call Center. We called and they said the flight was cancelled. They gave us the options for a refund or change. When asking which changes were possible, they offered the same flight for the 11th of March. I asked if there could be some problem because of the novel coronavirus and they said they had no information. We changed our flight to March 11th, because they said that if the same happened again and it was cancelled again we could get the refund.  Now I've learnt in IATA's list (, update from March 1st) about Turkish ban of non-turkish nationals who have been to Korea recently. I think it isn't likely this ban will disappear soon (right?) so we're looking for alternatives like flights via Germany or direct flights to Barcelona.  Now I'm worried that if Turkish Airlines actually does their March 11th flight but they don't let any non-turkish nationals on, they may argue that no refund is possible because it's the passenger responsibility to check that they have all the rights to enter the countries for every layover, at the time they get the flight. Are we going to get a refund? I called the Call Center again but they said they had no information about this.  My wife is Korean but she is currently living in the EU. I think they should have known that because of my wife's nationality she was not allowed to travel. The ticket fare was the cheapest, no cancellations allowed. We had booked the 1st flight before the novel coronavirus was discovered.

I've got a round-trip flight with Royal Air Maroc from Strasbourg, France (SXB) to Ouagadougou, Burkina Faso (OUA) on Monday, Nov 10. Return is on Dec 1. The recent turmoils in Ouagadougou have led the US Department of State for Travels to issue a , which is why I'd like to refrain from the trip.  Any chance I can get a reimbursement for my tickets? In Germany (where I live), an official travel warning can help you get a refund when you book a trip with a tour operator/travel agency, but in this case I booked the flight directly with a non-German airline, so German law surely doesn't apply here.  EDIT: Sorry for failing to state this earlier, but I had already called the airline as suggested in the answers. They had told me it's not possible to get a refund with my standard fare. However, I understand that sometimes you really have to bargain to get a refund, so I wanted to learn about similar experiences and possibly about some hard (legal) facts that I could bring forward.


The main reason of this post is to provide a writeup of what I think is a correct solution to . I'll quote the poster to phrase the problem:  What is the chance that an infinite series of random numbers will, at some point, repeat all previously generated numbers in that order?  While there was some confusion in the comments, I believe what the poster means is something like the sequences below: $$7,7,...$$ $$3,2,3,2,...$$ $$7,8,6,7,8,6,...$$ Where the dots afterward are arbitrary as the condition has already been fulfilled. If we start writing out a sequence of digits in this way, where the probability of selecting any digit is equal, what is the probability that something like this will happen? I'll post my solution below. Feel free to comment or correct me.

Given an infinite sequence $a_n$ of uniformly random integers $0$ to $9$, what is the probability there exist an integer $m$ such that the sequence $a_1$ to $a_m$ is equal to that from $a_{m+1}$ to $a_{2m}$?  What if we restrict to two symbols, or $k$ symbols?


I currently have a small network with a few servers and about 25 client PCs. We are using Office365 and have AD synchronisation setup from our on-premise server. We also have single-sign-on setup using ADFS.  We have recently replaced all but 2 of our servers with Azure virtual machines.  The only thing we now use our internal servers for is the Active Directory and ADFS.  So - my question is this... Can I setup an Azure Active Directory, sync my on-premise directory to it, get Office365 to talk to the Azure Active Directory and then decommission my on-premise servers?  Will my local client PCs authenticate against the Azure Active Directory?  If the answer is, "Yes" - any suggestions for how to achieve this would be great. If the answer is, "No" - some information on why not would be great!  Thanks!

We have a small business and currently don't have a need for a domain within our office. We have a basic network and a single server running Windows Server 2008 R2 with some file shares and 3rd party apps.  We use Office 365 and have a Windows Azure subscription. The two seem to be keeping the Active Directory for our organisation in sync pretty well. (i.e. The data looks the same on both systems)  All of the thrid party apps we run on our app server support LDAP as an identity provider but because we don't run a domain we are having to get each user to create a new login/password for these services.  Ideally we'd like to get this server to sync from Azure/Office 365 and allow users to then authenticate using their Office365 credentials.  All of the literature I have found talks about synchronising FROM on-premise to Azure but we'd like to rather sync FROM Azure/Office 365 to our on premise server. I guess our on-premise server become a federated identity provider for our Office 365 directory...  Is this possible or do we need some 3rd party LDAP provider that can federate identities from Azure or Office 365?


I'm trying to put two under-braces in math mode:  \underbrace{\frac{5000 \times 1000}{\frac{2 \times 1000 \times 1000 \times 1000}{8}} \times 1000}_\text{transmission time} + \underbrace{13 \times \frac{50}{2}}_\text{wait} = \highlight{345ms}$$   However this renders as:    As you can see, two under-braces are not at the same level. How can I put them at same level?

I have a math formula, having three underbraces, enclosing three expressions, with explanations below each brace, explaining what that quantity is. Since these expressions, as well as their explanations, have different widths and heights, LaTeX automatically adjusts the math font sizes. I want to prevent this so that the expressions above each brace have the same size, regardless of how big the brace is extended.  How can I ensure a consistent math font size in a formula?  \documentclass{standalone}  \usepackage{tikz,amsmath} \usetikzlibrary{positioning}   \begin{document}  \begin{tikzpicture}[>=stealth]   \node (a) at (0,0) {$\frac{\partial y}{\partial t}=\underbrace{\frac{AAA}{BB}}_{ Text 1}+ \underbrace{YYY}_{Text 2}+\underbrace{ZZZ}_{Text 3}$ };   \end{tikzpicture}  \end{document}


While working my way through M. Nielsen's , I decided to try out some presumably silly things to really understand why they won't work and/or why it's not a good idea to use them.  The problem at hand is to recognize digits from the MNIST database. I built in Python a network with 784 input neurons, 10 sigmoid output neurons and cross entropy as the cost function. I trained it via the gradient descent, using backpropagation over the entire dataset (50 000 images). This is what I refer to as silly -- I know there's not much upside to doing this. But I still wanted to compare the behaviour of this network for different batch sizes. Here's the code for reference:  import numpy as np import random  # Import data import mnist_loader training_data, validation_data, test_data = \ mnist_loader.load_data_wrapper()  # Auxiliary functions def sigmoid(arg):   return 1.0/(1.0 + np.exp(-arg))  def sigmoid_prime(arg):   return sigmoid(arg)*(1.0-sigmoid(arg))  def feedforward(w, x, b):   return sigmoid(np.matmul(w, x) + b)  def cross_entropy(arg, y):   return np.nan_to_num(-y*np.log(arg) - (1.0-y)*np.log(1.0-arg))  # Initialize weights and biases w = np.random.rand(10, 784) b = np.random.rand(10, 1)  # Hyper-parameters eta = 0.5 iterations_number = int(100)   for counter in range(iterations_number):   increment_w = 0   increment_b = 0    for k in range(50000):      x = training_data[k][0]     y = training_data[k][1]     # Feedforward         output = feedforward(w, x, b)     # Backpropagate     increment_b += output-y     increment_w += np.matmul(output-y, x.T)   # Gradient step     w -= (eta/50000)*increment_w   b -= (eta/50000)*increment_b   This works pretty decently, given how simple it is: accuracy on test data is a hair above 90%. Encouraged with how it went, I moved on to a more compliacated network: I added a single hidden layer consisting of 30 sigmoid neurons, and trained the new network as above, using backpropagation over the entire dataset. Here's the code again (I left out the "Import data" and "Auxiliary functions" parts, they remain exactly the same as above):   # Initialize weights and biases r = 1 w2 = r*np.random.rand(30, 784) w3 = r*np.random.rand(10, 30) b2 = r*np.random.rand(30, 1) b3 = r*np.random.rand(10, 1)  # Hyper-parameters eta = 0.5 iterations_number = 30  for counter in range(iterations_number):   cost = 0   increment_w2 = 0   increment_w3 = 0     increment_b2 = 0   increment_b3 = 0    for k in range(50000):     x = training_data[k][0]     y = training_data[k][1]     # Feedforward         a2 = feedforward(w2, x, b2)           a3 = feedforward(w3, a2, b3)     # Backpropagate     delta3 = a3-y     delta2 = np.matmul(w3.T, delta3)*sigmoid_prime(a2)      increment_w3 += np.matmul(delta3, a2.T)     increment_w2 += np.matmul(delta2, x.T)     increment_b3 += delta3     increment_b2 += delta2      # Increment cost      cost += sum(cross_entropy(a3, y))      # Gradient step     w2 -= (eta/50000)*increment_w2   w3 -= (eta/50000)*increment_w3   b2 -= (eta/50000)*increment_b2    b3 -= (eta/50000)*increment_b3   # Cost function tracking   print 'Cost no. ' + str(counter) + ': ' + str((1.0/50000)*cost)    # Testing accuracy on test data   test_results = []   for k in range(10000):     x = test_data[k][0]     y = test_data[k][1]     a2 = feedforward(w2, x, b2)           a3 = feedforward(w3, a2, b3)      test_results.append((np.argmax(a3), y))   final = sum(int(x == y) for (x, y) in test_results)   print 'Iteration no. ' + str(counter) + ': ' + str(final)     But this fails horribly! The cost function decreases very quickly, but the learning does not occur at all: the algorithm predicts that every single digit in the test data is 1. I've spent quite some time trying to understand what is going on here, but I'm lost.   So, my question is: where does this lack of learning come from? Any help will be greatly appreciated!

I'm training a neural network but the training loss doesn't decrease. How can I fix this?  I'm not asking about overfitting or regularization. I'm asking about how to solve the problem where my network's performance doesn't improve on the training set.    This question is intentionally general so that other questions about how to train a neural network can be closed as a duplicate of this one, with the attitude that "if you give a man a fish you feed him for a day, but if you teach a man to fish, you can feed him for the rest of his life." See this Meta thread for a discussion:   If your neural network does not generalize well, see:


in the other words, I want when I put http://YYY .org/t/1212 on Chrome/Firefox search bar the browser automatically changes the URL (aka redirect) to http://XXX .org/t/1212  Please guide me to write a simple extension to do that.  UPDATE   I personally wrote a extension but still there's a problem :(  var url = window.location.href;     // Returns full URL var rest = url.substring(20); window.stop(); $(location).attr('href', 'http://imdb.com/'+rest)   but the browser load the http://YYY .org/t/1212 completely and then redirect to http://XXX .org/t/1212 . Is there any way to prevent the browser? I took some time and traffic

How can I redirect the user from one page to another using jQuery or pure JavaScript?


I had virtual box previously installed and it worked fine until I created a new user and gave it permissions using: sudo chmod -R 777 / After that when I closed and reopened my virtual box I could not open Ubuntu. I uninstalled and reinstalled virtual box.But this is what I am getting when I try to open Ubuntu.     How do I fix this issue?

I'm only granting permission to all to do anything but why does the system crash by giving permissions only? I'm only modifying the permission not changing the files.


As a trainer of English as second language, the following statements have caused much dismay among my students. Kindly help clarify.  Which line in each pair (below) is correct?   They are all there but me or  They are all there but I  Who do you take me for? Whom do you take me for? I would not do that if I were him. I would not do that if I were he He answered more questions than I. He answered more questions than me. They are wiser than us. They are wiser than we. We are poorer than they. We are poorer than them.   Thank you very much.

Consider the sentence "I can run faster than 15 miles per hour." Its meaning is clear and to my eyes obviously grammatically correct. Now let me present some variations that have given me trouble for a long time.  I am faster than 15 miles per hour. – To me this is clearly incorrect. Directly comparing me to a speed doesn't seem right. We need to compare my speed to a speed, or me to another person.  I can run faster than him. – Compared to the base sentence, there is a distinct shift in meaning of the comparison. While before I named a speed faster than which I can run, now I am naming a person. It doesn't seem quite right. I realize the parts of speech can change, but my initial objection is that "him" is not a speed.  I can run faster than he. – This seems most correct to me, but still somehow feels objectionable. Is this in fact the correct way to say it? And if so, is it proper as is or need I say "... faster than he can" or even "... faster than he can run?"  I am faster than him. – With "am" instead of "can run" it now seems slightly more correct. But is it?  I am faster than he. – I'm in doubt here. It doesn't seem wrong to me to say, "I am faster than he is" or even "I am faster than he is fast." (Though I suppose that is a given since I could hardly properly compare to some other category as in "I am faster than he is smart.")  My speed is faster than his. – Hmm. This seems more proper as "my speed is greater than his."   So which of these constructions is correct and which is incorrect? Is there a general rule that I can follow? UPDATE The scholarly article  may be of great interest to some readers!  Once we accept that the elided constituent and its antecedent can differ in form, it becomes reasonable to ask how large this difference can be. The answer in Rooth (1992), Fiengo and May (1994), Chung et al. (1995) and subsequent work is that the wiggle room is actually quite small: the elided constituent and its antecedent are allowed to differ only in the realization of inﬂectional morphology. Other than that, both constituents have to be syntactically and lexically isomorphic.


So I've several dominoes in a circle, and I would like each domino to change color after being touched by the previous domino. I can do it manually using keyframes but this will take ages they are 200. So is there is an easier way to do it? Is there is a script that automatically adds a changing color keyframe every 10 frames as that is what I found to be suitable.

I use Eevee and I decided to do synthesizer animation. Faced a problem that I do not know how to properly make the material. The essence of the material is the color change when animating the keys. Material in action:  Material nodes:  The problem is that the color change is associated with specific coordinates, and I cannot move the synthesizer. How to associate a color change, for example, with the touch of one object to another? Or change the color relative to the main part of the synthesizer? Maybe there is a better way?


I have a jquery dropdown which looks as follows after inspecting it in DOM explorer.  <select name="cityID" id="ddlCity" style="width: 128px; display:none;" data-val="true" data-val-number="ID must be a number">     <option value = "0">Select city</option>     <option value = "1234">New York</option>     <input id="txt_ddlCity" style="width: 100px;" autocomplete="off"></input> </select>   I want to set the value of this dropdown to 'New York' by using index.  I tried     $("select#ddlCity").prop('selectedIndex', 1);   However, the value is not getting selected in dropdown. I also tried to set using value as $("#ddlCity").val(1234); but it also doesn't work.  Can anyone figure out what I am doing wrong here. any help would be greatly appreciated.  Update: This is not the duplicate of mentioned question. None of the answer is working for my case. Also please note it contains  inside  tag. Not sure if it is making any issue

If you know the Index, Value or Text. also if you don't have an ID for a direct reference.  ,  and  are all helpful answers.  Example markup  <div class="selDiv">   <select class="opts">     <option selected value="DEFAULT">Default</option>     <option value="SEL1">Selection 1</option>     <option value="SEL2">Selection 2</option>   </select> </div>


I am using a multilingual feature in one of my project and having a following issue.  1) Words,characters doesn't display properly on frontend.  The mysql table collation is set to  "utf_8_general_ci"  I got the following output on frontend.     ÙˆØ§Ù‚Ø¹ÛŒ , Ù¾ÙˆÙ„ , Ø¨Ø§ÛŒØ¯   I have also placed this in header tag  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">   Can you guys please have a look at this.

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


What is the process for targeting someone in Magical Darkness with melee and ranged attacks?   For example, if a Warlock casts Magical Darkness and remains inside it, what rolls need to be made by someone trying to target them?

The rules say that creatures in a heavily obscured area "effectively suffer from the blinded condition".   The  condition states:      Attacks rolls against the creature have advantage, and the creature's attack rolls have disadvantage.   So when the  spell (to use one example) is cast, combatants gain advantage and disadvantage when attacking others who are also inside the area, .   Since they then cancel each other out and attacks are made normally, what really changes?


Say I were to buy shares from myself at a higher-than market price, or place an All-or-Nothing buy order for a fantastic amount of shares, in what markets would it still be within the rules?  I'm thinking if the pink sheets in the USA, the AIM in the UK, or any other market, would have a problem with it?

Suppose I buy 100 shares of Apple at $200 and I want to increase the share price. If I sell 1 share at $210, and at the same time log in to buy the share at $210, will the share price increase to $210 so that I can sell all my shares at $210?


I'm a long-time lurker and first-time poster to this forum... I am currently working my way through an Introduction to Statistical Learning, and I have a question regarding the algorithms presented for best and stepwise subset selection. Am I correct in assuming that none of these algorithms check for multi-collinearity between the predictor variables? Would the next step in the process be to look at the variables selected by these methods and then confirm that there is no multi-collinearity between the variables each method selects?  (I have experience in detecting multi-collinearity using the VIF factor) I don't have a ton of experience in data science, but I have taken several graduate level business courses with an analytics focus, and I am having trouble understanding where one would use best and stepwise subset selection. Should these only be used when there are a lot of independent variables to explore and we are unsure what independent variables have a strong relationship with the dependent variable? I am about to study the Lasso and Ridge regression sections of the book, and I think they may address the issue of multi-collinearity to where it isn't as much of a concern, but I wanted to make sure I was thinking about best and forward and backward stepwise selection the correct way.

I was wondering if we need to check the multicollinearity between variables when we run the stepwise regression, If yes, why? Also, If we have several IV, how we should know which interaction we should include in the model?


Doing some editing and came across a sentence in which a colon is used to introduce a quote.  Is the colon justified in this case? SENTENCE ENDS:     ...wearing a T-shirt that says: "When the going gets tough, the tough get going."    The following question () is actually focused on a slightly different issue, since it is about using a colon to introduce a quotation after a complete sentence.  The answers to it seem to be geared toward that example; one of them cites a Purdue OWL post that says it is appropriate to use a colon to introduce a quotation after a complete sentence or independent clause. But that is not the case here, since "a T-shirt that says" is not a complete clause or statement.   One answer (by Roaring Fish) quotes a "" by Larry Trask that seems to say that it is "bad style," but not outright "wrong," to use a colon in the sentence "President Nixon declared: 'I am not a crook.' " This seems relevant, but it's a bit confusing. Why doesn't Trask just label this "wrong"? Is it a matter of opinion? I'd appreciate other references that describe the most common and influential viewpoints about how to punctuate phrases like this.

What is the correct way to punctuate the end of a sentence before a quote that directly supports the statement? I assume either a colon or a semicolon, but I have no idea which is correct.  For example:     Waldo is a better hide-and-seek player than Clem; "Waldo was   the winner of the past ten annual hiding awards" (Where's Waldo 13).      Waldo is a better hide-and-seek player than Clem:  "Waldo was   the winner of the past ten annual hiding awards" (Where's Waldo 13).   (Excuse the silly example, but I didn't have a better one.)


I often receive scanned documents that has dots and grains in them. I often use the paintbrush in gimp to manually remove them, but it occurs to me that all the dots share so many similarities that a simple algorithm should be able to "white" them out automatically.   Take this example:   If blacks surrounded by whites in a given area is detected then select that said area for further processing:    Does anybody know of any scripting-way or plugin that can do such a thing?

I have a lots of scanned handwritten lecture notes (PDFormat) and I want to improve their readability (I have uploaded an example). In particular I'd like to remove the "squares" on the back. I would appreciate any advice you may have. Thanks in advance.


It is some time since I used Latex, but am now up-and- running again and using pdflatex. I want to insert a Russian symbol (in particular the symbol sh, as in sh(x), to indicate a row of delta functions) into an equation that is contained in an eqnarray and I don't want to be forced to have a space on either side of the symbol. I can manage to type Russian symbols in straight-forward text, but so far not in an array. Can anyone help?  Answers:  Just found some excellent answers to my question. These were posted some years ago, they seemed to pop-up when I browsed around my question. Not exactly sure how I found them, but one was submitted by a lady name of Barbara. It involves the fuction \Sha.  Many thanks

Note I'm not actually planning on writing any, for instance, Russian prose or even any Russian words. It's just that, on paper, I've always had the habit of denoting sets by uppercase roman letters, sets of sets by script letters and, when the need arises, sets of sets of sets by uppercase Cyrillic letters. Is there some package I can load which will allow me to typeset (in LaTeX math mode) Cyrillic letters much as I would typeset Greek letters? ie. $\Zhe$ to produce an uppercase zhe. Thanks!


Say I install a package like postgresql, and then I change the config file.  I now want to see what the default config file was, is it possible to use apt to re-install over what I changed or see the diff?

I would like to restore LightDM to its default state, because for some reason /etc/lightdm/unity-greeter.conf is now an empty file.  Deleting /etc/lightdm/unity-greeter.conf and then running sudo apt-get install --reinstall unity-greeter doesn't create a new config file as you might expect.   How can I restore a missing config file?


I'd like to install Ubuntu on a laptop that I use for work. The only thing stopping me is that I have a piece of (apparently) 32-bit software that I need for my work. According to the system requirements, it requires a 32-bit version of Linux to run, but I figured that getting it to run on a 64-bit system would be less of a hassle than installing a 32-bit system altogether. Perhaps I was wrong. When I click on the executable, nothing happens. Trying to run it in the terminal returned the following message: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory When I tried to install the library mentioned above, I got this message: E: Unable to locate package libX11.so.6 E: Couldn't find any package by glob 'libX11.so.6' E: Couldn't find any package by regex 'libX11.so.6' I've already made sure that Multiarch support is active. Is there any way to get it to run? Otherwise, is it worth seeking out and installing a 32-bit version of Ubuntu? Thanks in advance and please go easy on me; I'm a total noob when it comes to Linux :)

I installed Ubuntu 14.04 and the current Android development SDK, which contains 32-bit executables. I found that I cannot run those 32-bit binaries. Trying to start them from bash gives me an error: $ ./adb bash: ./adb: No such file or directory  It is there though: $ ls -al ./adb -rwxrwxrwx 1 thomas thomas 1231255 Jan 17 13:31 ./adb $ file ./adb ./adb: ELF 32-bit LSB  executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, not stripped.   Same symptom for all the other 32-bit tools in the Android SDK. In olden days one could just install 32-bit libraries on 64-bit Ubuntu to get 32-bit support, but that does not seem to work anymore. How do I run 32-bit apps on a 64-bit Ubuntu distribution?


Am trying to find a certain keyword in url string like so  import re test = re.match(r'coo', 'https://example.com/coo-dropped-today/', flags=re.IGNORECASE)   but when test my test variable using type(test) it presents me with <class 'NoneType'>.  But when i run the same string through regexpal i seem to find a match as evidenced from the screenshot below    This is not a complex regex expression so am guessing regex parsers or engines don't matter.  Why i am unable to find a match in my python code? Thank you.

What is the difference between the search() and match() functions in the ?  I've read the  (), but I never seem to remember it.  I keep having to look it up and re-learn it.  I'm hoping that someone will answer it clearly with examples so that (perhaps) it will stick in my head.  Or at least I'll have a better place to return with my question and it will take less time to re-learn it.


I have an image float in Lyx as per below:    However, when exporting to pdf it is showing on the top of the page instead continuing with the rest of the documents, (refer to below image)    Anyone know how i can solve this please?

In Lyx I'm using float figures.   I have to put three pictures one after the other, so three different float figures.   When I output a pdf, the floats all appear at the top of three different pages.  Why is this happening?


We recently purchased an LSI MegaRAID 9266-8i SAS RAID card to replace a failed card in our NAS.  Setup of the card went smoothly, I updated the firmware, set up RAID6 with hotswap, and let it initialize.  Every so often (once a week or so?) we get flooded with the following error:  Controller ID:  0  Patrol Read aborted on PD:   -:-:0   This error repeats for each of the drives (12 total.)  After all of the errors are sent to us (via email as well as an alert on the device), we get this error:  Consistency Check inconsistency logging disabled, too many inconsistencies on VD:       0   Also, something new that happened today, the MegaRAID software is reporting the array is 'optimal', but looking at the disks shows that one of the drives has a very high media error count (the rest have 0).  Anyone have any idea if this is just a failed drive despite the status being 'optimal?

I have a server with a LSI MegaRAID 9261-8i controller. Recently I started getting alerts like this one:  Controller ID: 1  Consistency Check inconsistency logging disabled, too many     inconsistencies on VD: 0 Generated on:Sat May 12 04:06:40 2012   SYSTEM DETAILS--- IP Address: 192.168.1.29 OS Name: Windows 7 x64 OS Version: 6.01 Driver Name: megasas.sys Driver Version: 4.5.1.64  IMAGE DETAILS--- BIOS Version: 2.120.33-1197 Firmware Package Version: 12.12.0-0045 Firmware Version: 3.21.00_4.11.05.00_0x05000000   VD 0 is a RAID mirror containing the system disk.  I have searched and read, but cannot find any trace of how to actually do anything about this. I tried running a scandisk but that did not find anything (as I expected, since scandisk reads the disks as exposed by the controller, right?). The MegaRAID Storage Manager does not as far as I can see have any options for checking or fixing physical disks. The program claims the VD is "healty", and both disks have Error count 0.  Also a bit strange is the System details in the message... The IP address is associated with the RAS (dial in) interface, and the OS should be Windows Server 2011 SBS.  Has anyone else experienced this before? What can be done?


In A simple linear regression, $SSR/\sigma^2$ follows chi square with one degree of freedom where SSR denotes the sum of squares due to regression. Although I get that it will have one degree of freedom, I just am not able to think how to prove that  $SSR/\sigma^2$ will follow chi square. How do I prove that it's the square of a standard normal?. I am new to statistics and self learning. I tried searching the site. But most of the answers are given in the context of multi linear regression. I don't understand multi linear much right now . I just need a hint in proving that it can be expressed as the square of a standard normal... Could someone please help. Thanks a lot

In the book An introduction to statistical learning with Applications in R, when testing the relationship between the Response and the Predictors using null hypothesis, it gives a formula: $$F = \frac{(TSS - RSS)/p}{RSS/(n-p-1)}$$ where $$RSS = \sum_{i=1}^{n} (y_i-\hat{y_i})^2$$ $$\hat{y}=\hat{\beta_0} + \hat{\beta_1}x_1 + \dotsb + \hat{\beta_p}x_p$$ $$TSS = \sum_{i=1}^{n} (y_i-\bar{y})^2$$  I googled the F test and learned that the degree of freedom in F statistic means number of values in the final calculation of a statistic that are free to vary.(, )   But, here I cannot get why in this formula the degree of freedom are p and (n-p-1)?


I am using Asus motherboard m2n-mx see plus And amd Athlon 64 x2 processor On my desktop. Which version of ubuntu for my system,  And it will also let me install the graphics card software on it. Thank you.

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


I was given a Drupal website in the form of a Drupal database running on a website and an archive containing a Drupal installation complete with a theme. Upon uploading the installation to the server and pointing it to the database, Drupal showed me a list of missing modules errors. I have installed the modules manually, except for a "post_articles" module. I have not been able to find that module anywhere and am at loss. Here is the complete error:  User warning: The following module is missing from the file system: post_articles. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of drupal\includes\bootstrap.inc)  The website itself is unusable. I hope it is due to the missing module but not sure.

I am getting the following error in a Drupal 8 site.     The following module is missing from the file system   It looks as if a custom module was installed and deleted without uninstalling it.   How can I fix this error?


I used to setup my xstartup like this in Ubuntu 12.04 as below and it worked fine.  #!/bin/sh  # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS # exec /etc/X11/xinit/xinitrc  [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & # x-window-manager &  export DESKTOP_SESSION=ubuntu-2d export GDMSESSION=ubuntu-2d export STARTUP="/usr/bin/gnome-session --session=ubuntu-2d"  $STARTUP   But now I transfered to Ubuntu 14.10, but what I've got is only a dark desktop with only a gnome-terminal. Under /usr/share/gnome-session/sessions/, there are no longer ubuntu-2d.session, but only ubuntu.session now. So I changed the 3 ubuntu-2d to ubuntu, but still the same situation. Anyone got any idea how to fix this?  PS: I don't want to use gnome-desktop, I just want to use unity... That's the problem.

After upgrading to Ubuntu 14.04 LTS, I find the Unity destkop in vnc4server never works as it did under Ubuntu 12.04 LTS.  Here is my ~/.vnc/xstartup for vnc4server:  #!/bin/sh  xrdb $HOME/.Xresources xsetroot -solid grey  /usr/bin/gnome-session &   That works fine starting Unity desktop on Ubuntu 12.04 LTS, but unfortunately on 14.04 LTS only a gray screen is seen in vncviewer.  I searched a little and find  shows the way to start legacy gnome desktop (gnome-fallback) in vnc on 14.04, but what I want is the solution for a normal Unity desktop in vnc.  Has anyone successfully run Unity desktop in a vnc session (vnc4server, or any other vnc server) on Ubuntu 14.04 LTS?


Say you have two versions of the same LaTeX document.    For instance, you have one version of your lecture slides for actually delivering a lecture: as you're really not a big fan of the "wall of text", this version would be parsimonious in terms of text content, allowing the audience to listen to what you're talking  about instead of reading the slides, and giving graphical content centre stage.  Another version of those slides, made available to the audience after the lecture, for self-study, would be more self-contained and include a summary of what you said during that lecture along with the graphical content mentioned above.  Consider that you can toggle between the two versions by either changing a class option or by changing the value of some dedicated counter in your input file; something relatively simple to do "by hand".  To produce two different versions of the same document, my current workflow is   "manually" compile the first version, change the filename of the output produced (in order to prevent overwriting in step 4) make appropriate changes in my input file to switch to the second version, "manually" compile the second version.   However, this workflow is tedious and error-prone, especially when the number of different versions increases. I would like to automate it as much as possible. Is there a way to batch compile all the versions of my document, each getting a different output filename?  I guess that would involve modifying the input file at the command line (I'm on Mac OS X), but I don't know how to do that.  Do you have an automated workflow for compiling multiple versions of the same document? How do you do it?  Edit: I figured it out using  and  on , of which my question is a duplicate.

I compile most of my documents via Makefiles which take care of the bibliography, indexes, etc. Often I'd like to compile different versions from the same TeX file changing only small things (e.g. a beamer presentation plus a version with the handout option).  Is there any standard mechanism for passing parameters to the TeX file so that I can just type make handout to get the handout version in the above example?


We have done blah blah blah  Reasons:  \begin{itemize} \item The need to blah blah \item The problem of blah blah \item \ldots \end{itemize}   Results:    As you can see the single-word paragraph "Reasons" appears visually much closer to the preceeding paragraph than to the itemization, which looks wrong.  Is there any way to fix this?

I'm somewhat of a LaTeX noob, and this is driving me completely nuts.  When I type  \documentclass{article} \usepackage{enumitem}  \begin{document}     Some text     \begin{itemize}[noitemsep]         \item Item 1         \item Item 2         \item Item 3     \end{itemize} \end{document}   I don't want the space which appears in between the text "Some text" and the itemization to be there:    When I search around on Google all I see is tons of long, complicated advice on this site, StackOverflow, forums, etc. on how to not fix the problem ("parskip is evil", etc.), or tons of vague/confusing answers on what package to look at, with no actual example for me to learn from.  So while this question is already asked many times, I have never found a single concrete answer to this question.    The question couldn't be simpler: How do I "properly" get rid of this extra space?


A landscaping contractor is using photos of my yard on their website as part of its portfolio of services.  Nothing in my legal agreement speaks to whether it is okay for the contractor to do so. I asked the contractor to remove the photos from the website.  The company declined, saying that they had a right to do so under federal law. What are my options?  Is the contractor correct?  Legally, can they publish the photos over my objection? Thanks, Sam

I have a collection of photos that I have taken while touring through display homes that were part of a home-design show.  I want to publish the photos online to share with others the architectural design that inspires me.  Photography was allowed in the homes by the administrators of the tours.  I may have agreed to some type of restrictions by purchasing the ticket, but I did not sign anything.  I have read  here to attempt to gain an understanding of this issue, but I want to make sure there are no other restrictions that apply to this specific case.  My questions are:   When taking photographs of someone else's property, can I still publish the photo legally? What about when taking photographs on someone else's property? If the property in the photo is "identifiable" as belonging to someone else (or as the work of some architect or designer), does that change things at all? If the "conditions" of the ticket purchase did place some restrictions on photography, but the ticket holders do not sign anything, will that still hold up?   I realize that if I were to commercialize my endeavor, I would be well-advised to talk to a lawyer (and I may need to anyway), but I am just looking for some starter advice here.


How many ways can a list of size $n$ be split into consecutive sublists? For example, for $n=3$ the answer is 4: $$ [[[1, 2, 3]], [[1], [2, 3]], [[1, 2], [3]], [[1], [2], [3]]] $$ In general it is $2^{n-1}$ - why?

I am trying to find a way for the positive integers written as the sum of other positive integers.( expressed in terms of some functions)  I searched a bit and I came across with  But in my case the order matters. What I mean is for example if we write for 4,  there would be 7 ways to express 4 as;           1 + 3           2 + 2           3 + 1           1 + 1 + 2           1 + 2 + 1            2 + 1 + 1           1 + 1 + 1 + 1   Can anyone guide me in approaching to the solution of my problem? Thanks in advance.


Host- WindowsXP Guest- Ubuntu 12.10  The host machine has internet connectivity, but I am not able to connect to internet in Ubuntu. NAT-Using this I am able to ping a site, it shows packets sent and received but via browser I am not able to access.  Bridged- Not able to connect.  I have a static IP on my host machine and I use a proxy too.  Please let me know what is going wrong?

Iam unable to get internet connection inside guest(ubuntu) in virtual box although host(WinXP) has an internet connection. Tried with Nat: In Ubuntu it shows Wired connection connected but unable to browse sites.  Tried with Bridged adapter: In ubuntu it shows that wired connection is not connected.   Yes I use a proxy  I just appended the lines in the file.  "In the window that opens add the following lines modifying as appropriate to the file" can you explain what appropriate is. I am still not able to get connected to internet.


Galaxy S2 lcd broken, totally black screen. Would like to retrieve data through kies but as phone is swipe protected, kies won't unlock it. Any ideas?

I have damaged the screen on my phone, so much so, it will not allow me to get the data to transfer onto my laptop. On opening Samsung Kies, it is saying that the connected device is locked. Please enter password on the connected device. I can only assume its the pattern lock they are referring to as I have managed to unlock the sim.  As I am unable to do this due to the screen being cracked, I wondered whether there is any other way of doing this, before sending the same onto my insurance company, as they are saying that I will lose all the data! Cant see why seeing as its just the hardware that is damaged and not the software.


I see that many people have already asked the same question, but unfortunately I can't make it work for me at the moment. So, once again, how can I centre and fit tables larger than that to my report? Command \scalebox{0.8} doesn't work for larger tables.  \documentclass[12pt,a4paper]{article} \usepackage{setspace}  \spacing{1.5} % \raggedright  \usepackage[margin=1.3in]{geometry} \usepackage{amsmath} \usepackage{graphicx} \usepackage{soul} \usepackage{color} \usepackage{graphicx}  \newcommand{\head}[1]{\textnormal{\textbf{#1}}}  \usepackage[polutonikogreek,english]{babel} \usepackage[utf8x]{inputenx} \newcommand{\greek}[1]{{\selectlanguage{polutonikogreek}#1}}  \begin{document}  \begin{table}     \centering     \resizebox{\linewidth}{!}{\begin{tabular}{ll}     \hline     \head{XXXXXXXXX} & \head{XXXXXXXXX}\\     \hline     \ttfamily xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx & \ttfamily xxxxxxxxxxxxxxxxxxxxxx \\     \ttfamily xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx & \ttfamily xxxxxxxxxxxxxxxxx \\     \ttfamily xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx & \ttfamily xxxxxxxxxxxxxxxxx \\     \ttfamily xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx & \ttfamily xxxxxxxxxxxxxxxxx \\     \hline     \end{tabular}}     \caption{Articles related to stock-prediction techniques}     \label{tab:RegressionMarketEquitiesRSSs} \end{table}  \end{document}

I have a table that I want to insert on a page, but at least one (perhaps both) of the following conditions are met:   The table is too wide to fit within the text block or page. That is, I'm exceeding some horizontal restriction. The table is too tall to fit within the text block or page. That is, I'm exceeding some vertical restriction.   What are my options to make this table fit? If it doesn't fit, regardless of my attempts, what other options exist?


Hi after the installation, I got this warning:  The scripts pip, pip3 and pip3.7 are installed in '/Users/stevetsang/Library/Python/3.7/bin' which is not on PATH. Consider adding this directory to PATH   Does this matter? If yes, could someone tells me on what command to move the scripts to PATH? Thank you  OS: MacOs

Questions about    setting environment variables the PATH   are very common here, and in most cases the answers are very similar to each other. In the future it would be nice to have a good Q/A for this.  So the question is: What are environment variables, like the executable PATH, and how can I change and use them on major operating systems?  A good answer would include a simple explanation of what environment variables and especially PATH mean to the OS, as well as simple guidelines on how to set and read them accordingly.


Where is this empty avatar    stored on  macOS Catalina?

I'm trying to find where this icon is located. I've looked through /Applications/Contacts.app's Assets.car file and it wasn't in there. I've also looked through /System/Library/CoreServices/CoreTypes.bundle and it's not in there either, though the base "human" image is in there, albeit in black.  Where might it be located?


What is the correct usage? I shall update you or I will update you.  in short, what is the difference  between Shall and Will ?

Which is the correct use of these two words, and in which context should one be used rather than the other?


I came across the following combinatorial identity:  $$\sum_{k=0}^n {n\choose k}^2 = {2n\choose n}$$  Here's the kind of proof which caught my interest:  $\sum_k {n \choose k}^2 = \sum_k {n \choose k}{n \choose n - k}$, and this represents the number of ways we might choose a committee of $n$ people out of a group of $2n$ people. On the other hand, ${2n \choose n}$ represents the same thing. So the result follows.  Now, I'm looking for some nice combinatorial identities which are, in spirit, similar to such an identity.  Thank you.

I was hoping to find a more "mathematical" proof, instead of proving logically $\displaystyle \sum_{k = 0}^n {n \choose k}^2= {2n \choose n}$.  I already know the logical Proof:  $${n \choose k}^2 = {n \choose k}{ n \choose n-k}$$  Hence summation can be expressed as:  $$\binom{n}{0}\binom{n}{n} + \binom{n}{1}\binom{n}{n-1} + \cdots + \binom{n}{n}\binom{n}{0}$$  One can think of it as choosing $n$ people from a group of $2n$  (imagine dividing a group of $2n$ into $2$ groups of $n$ people each. I can get $k$ people from group $1$ and another $n-k$ people from group $2$. We do this from $k = 0$ to $n$.


I asked a question and accidentally did an answer instead of a comment on an existing answer. I do not get the option to delete that answer from the app. I can only flag it.  App Version: 1.0.89 Device Manufacturer: Samsung Device Model: SM-N910V OS Version: 5.0.1  I was not trying to vote for deletion. I was trying to delete my own answer which is a process that doesn't need a voting queue. It is not a duplicate of the vote for removal question.

Currently, the only way to vote to delete (and undelete, since you can't see deleted posts) in the Android app is to open the post in a browser, and then vote to delete from there.  Can we get delete vote functionality within the app, as well as the ability to delete our own posts?  Worth to mention: users , so it's possible in the API.  Related:


I have a world that has just transitioned into hard-mode. Stripes of Hallow and Corruption have both appeared in the world (as I expected), but the Hallow appeared right in the middle of my jungle biome (it even surrounds the Jungle Temple!).  Will the Hallow eventually destroy the jungle? I'm concerned that I won't be able to fight Plantera if it takes over the underground jungle quickly enough.

Once a world enters hardmode, corruption and hallows being spreading at an alarming rate, including the underground. Grass, which grows on dirt, succumbs easily to both. Jungles and glowing mushrooms grow on mud and provide unique and valuable items. Will corruption/hallows destroy these if left unchecked? If they do destroy mud-based life, how can I preserve these fragile ecosystems?


I tried following  to customize time and date in gnome panel for 18.04.  But I cannot find clock override in Package Manager.

How do I install GNOME Shell extensions?  Is it possible to update, remove and manage the extensions?


Just got myself a new VPS hosted at VPSDime and cannot get mysql to work (mention the host since I've never had the error before). I've had 2 fresh installs of both Ubuntu 14.04 LTS and 12.04 LTS and I've used the same command to install on both. I've found a lot of "hackish" solutions for how to solve this while searching the web but non have given result. The following is the inputs and outputs, simplified, for both systems. Both systems were fresh installs.  apt-get update && apt-get upgrade ...  apt-get install lamp-server^ ... Errors were encountered while processing:  mysql-server-5.5  mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)   The apache server and PHP are both working fine. I've tried to reinstall mysql separately. I have no idea what to do. If you guys can't help me I'm gonna contact the support, don't expect them to solve it but perhaps they give me my money back at least... Thanks in advance.

I wanted to get a look at MySQL 5.6 on Ubuntu 14.04 just out of curiosity. And based on  it certainly looked like installation should be simple and straightforward. So I fired up an AWS EC2 micro server running Ubuntu 14.04 (64-bit), logged into my pristine instance (via PuTTY), and issued the following commands:  $ sudo apt-get update $ sudo apt-get build-dep mysql-server-5.6 $ sudo apt-get install mysql-server-5.6   (The first two commands were desperation moves, since simply running apt-get install alone had previously not worked. But even with all three commands, the install step still did not work.)  At the point where I expected, based on the article referenced above, to see this output from the final command:  mysql start/running, process 2355   Setting up libhtml-template-perl (2.95-1) ...   Setting up mysql-common-5.6 (5.6.16-1~exp1) ...   Processing triggers for libc-bin (2.19-0ubuntu6) ...   Processing triggers for ureadahead (0.100.0-16) ...     I got this instead:  start: Job failed to start   invoke-rc.d: initscript mysql, action "start" failed.   dpkg: error processing package mysql-server-5.6 (--configure):    subprocess installed post-installation script returned error exit status 1   Setting up libhtml-template-perl (2.95-1) ...   Setting up mysql-common-5.6 (5.6.16-1~exp1) ...   Processing triggers for libc-bin (2.19-0ubuntu6) ...   Processing triggers for ureadahead (0.100.0-16) ...   Errors were encountered while processing:    mysql-server-5.6   E: Sub-process /usr/bin/dpkg returned an error code (1)   Can anyone see what went wrong?


I will get straight to the point: I lost 155 reputation because a user was removed. Now, my question isn't about why the user was deleted, it's actually about how to contact the administration to get back that reputation, as 155 reputation is a lot of reputation to be deleted/gone!   This is not a duplicate of         The answers to that do not answer my question.

Why does someone else breaking the rules and being removed cause me to lose reputation for votes they had cast on my questions or answers?


Hi, I am new to Texmaker, and Latex generally. Can anybody please tell me how to solve this problem. It happens when I Quickbuild to see the pdf version. I am running Mac OS X El Capitan (perhaps this is important)  Thanks!

Last night, I migrated my MacBook's operating system from 10.10 "Yosemite" to 10.11 "El Capitan". Everything seemed to go smoothly. Happily, regarding my TeX-related work, I am able to use the GUI front ends "TeXworks" and "TeXshop" just fine since completing the OS upgrade. I use MacTeX2015, with all the latest updates installed.  Oddly, though, since completing the upgrade I can no longer run any MacTeX command-line utilities such as texdoc and kpsewhich. (Actually, as I just discovered, I can no longer run pdflatex either from a command line. However, I never do run pdflatex from a command line prompt, so that's not an urgent problem for me -- at least not for now.)  The suggestions given in the posting  do not seem to be applicable to this case, as they all seem to revolve around setting up /usr/texbin correctly -- /usr/texbin is no longer allowed under MacOSX 10.11. The document  by Herb Schulz deals in depth with adjusting settings in the GUI front ends, but it appears not to touch on what to do about /usr/texbin, which appears to be the now-missing link to TeX's command line utilities.   Pointers and solutions most welcome!


I am trying to run a dynamically generated curl command with basic authorization headers and store response code in a variable. below is my shell script. (say test.sh) auth="--header 'Authorization: Basic abcdefghijkl'" url="http://localhost:8080"  cmd="curl -s -o /dev/null -I -w \"%{http_code}\" -X GET ${url} ${auth}" echo $cmd code=$($cmd) echo $code  but above command doesn't send the authorization header in the GET request. To demonstrate it I have written a small nodejs http server and logging headers in it, see below. var http = require('http');  http.createServer(function (req, res) {   console.log(req.headers);   res.write('This is a sample response from server.\n');   res.end(); }).listen(8080);  console.log("Server is listening on port 8080");  but on running test.sh via bash test.sh  I get below output in shell: "200""000""000"  and on server side i get below text in logs. { host: 'localhost:8080', 'user-agent': 'curl/7.54.0', accept: '*/*' }  There are two problems:  Basic auth header is not received on the server side. Instead of 200 status-code I get "200""000""000" which is unexpected.  Can you please suggest what am i missing here? Thanks in anticipation.

$ ls -l /tmp/test/my\ dir/ total 0   I was wondering why the following ways to run the above command fail or succeed?  $ abc='ls -l "/tmp/test/my dir"'  $ $abc ls: cannot access '"/tmp/test/my': No such file or directory ls: cannot access 'dir"': No such file or directory  $ "$abc" bash: ls -l "/tmp/test/my dir": No such file or directory  $ bash -c $abc 'my dir'  $ bash -c "$abc" total 0  $ eval $abc total 0  $ eval "$abc" total 0


I am familiar with how iOS devices report hot spot use by treating it differently somehow.  My understand is that Android is not crippled like this, and there is rightly no difference in traffic between hot spot data and data from the phone itself. So I was a bit shocked when I received a text from Verizon telling me I had used up almost all my paltry hot-spot "allowance" because this should not be possible that it discriminates traffic like that.  How is this possible?  I have used my hotspot a lot before and never received this message. I have read something about an "APN"s but there is only one, "VZWINTERNET" which can only be "reset to default" with no option to delete or create a new one.

Mobile network operators (also: telephone companies, telcos, providers) sometimes offer low cost data packages that are usable only on the phone. Or so, they say.  How can they distinguish between a user browsing the web with a browser on his Android phone and a user using a browser on a laptop tethered to an Android phone?  In early 2012 I was in Paris and I was using an Orange mobile data package with a Nokia E51 (Symbian S60). Indeed, I could only access the Internet using the phone's browser, not from my laptop tethered to the phone. Now, I a have an Android 2.3 phone, and I am thinking about subscribing to a similar data package in Spain (operator Más Móvil).


A={ 1, 2, 3, 4 } For group we check associativity, identity and inverse. Clearly set A with composition as operation is associative but i can't figure out the other two things to check whether set of all one-one functions will be a group or not.

Problem:  Let T be a nonempty set and A(T) the set of all permuations of T. Show that A(T) is a group under the operation of composition of functions.  Permutation of the set T is the bijective function $f: T \rightarrow T $  For A(T) to be a group it must be closed, associate have an identity for every element and an inverse.  Since f is  bijection the composition of two bijective functions is itself bijective so A(T) is closed. Every bijective function has an inverse, and composition of functions is associative. What about the identity? Are we to take $ A(T) = S_n $ here, which would be assuming that $T$={$1, ..., n$}? In which case $ I = \begin{bmatrix}1&2&...&n\\1&2&...&n\end{bmatrix} $  Not sure what I'm supposed to be showing since $T$ and A(T) are arbitrarly specified here.


I am trying to import files from the same folder, but put the r'location' on separate lines.  import pandas as pd extra=r'C:\Users\Desktop\Pandas\' visits=pd.read_csv(extra+r'visits.csv')   I get the EOL while scanning string literal error.

Technically, any odd number of backslashes, as described in .  >>> r'\'   File "<stdin>", line 1     r'\'        ^ SyntaxError: EOL while scanning string literal >>> r'\\' '\\\\' >>> r'\\\'   File "<stdin>", line 1     r'\\\'          ^ SyntaxError: EOL while scanning string literal   It seems like the parser could just treat backslashes in raw strings as regular characters (isn't that what raw strings are all about?), but I'm probably missing something obvious.


I'm about to send my 2016 MacBook Pro for a top case replacement due to a failing keyboard. Since the battery will also be replaced as a part of the top case, I'm wondering if Apple installs a refurbished battery or a brand new one? And for that matter, is there any way to really tell?

I handed my MacBook Pro (15" Touch bar) to the service centre in order to have the keyboard replaced. Now, when I check the battery cycle count, it shows "1". Before it was at "82".   Also, I'm getting a battery life of only 4.5 - 5 hours now.   Is there a way to find if my battery was replaced or not?


Please, let me make it clear that my question is not asking how native speakers usually respond to "Thank you". Before posting this question I did some research and I also read this discussion:   In my opinion none of the suggested answers apply to my question.  This is a specific question on the appropriateness of two specific responses.  Let's take a situation when I ask my colleague to briefly explain me something. And after he has done it, I say, "Thank you".   Is it polite to respond with an "OK" to my "Thank you"? (That's how a native English speaker replied to me today.)     Is it acceptable in an informal situation to respond with "You welcome" (without "are") or even with "Welcome"? Responding, "You are welcome" sometimes feels too long to me :)   UPDATE. Today two different people responded with "OK"  to my "Thank you" and "Thanks", so it seems it's not that rare.

In my school and university I was taught to say "Not at all" or "Don't mention it" in response to "Thank you!". Now I rarely hear these phrases used, but rather something like "You're welcome", "It's OK", "My pleasure", or "No problem".  My real life conversation experience is very poor. I often listen to some English learning podcasts, and watch some films in English. So I listen to dialogs, which are probably not from  the modern real life world.   How do native English speakers tend to respond to "Thank you!" now? What I should care about, when choosing from the available options?


Okay, I am not a much experienced Linux user.Recently my Windows 7 went bad and I installed Lubuntu, Xubuntu, Ubuntu 13.10 (a triple boot). This morning I thought that I should only keep one OS and put in the Ubuntu Saucy CD. I selected the "Erase everything and install" option in the install menu. I thought that would only erase the other OSs but when I booted into the recently installed Ubuntu, I found out that I could not find any mounted hard drive on nautilus. I am confused and do not know what to do. This is the output of sudo lsblk:   NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 298.1G  0 disk  ├─sda1   8:1    0 296.1G  0 part / ├─sda2   8:2    0     1K  0 part  └─sda5   8:5    0     2G  0 part [SWAP] sr0     11:0    1  1024M  0 rom   sr1     11:1    1 102.3M  0 rom

I'm considering ditching Windows 8 and doing a fully clean install of Ubuntu. However, I'm concerned because my computer came with a built-in 16 GB recovery partition that would need to be erased as well.   If I pick the "erase entire disk" option during installation, will it wipe out this recovery partition too?


I have created file Upload using FTP (code given below) and it is working Correctly. But now I have to do a file Upload Using SFTP Kindly request you to guide me on the library to be used for sftp in VS.  class Program {     static void Main(string[] args)     {          try         {                 string path = ConfigurationManager.AppSettings["filepath"];             string[] files = Directory.GetFiles(path, @"*.xlsx");             string FtpServer = ConfigurationManager.AppSettings["ftpurl"];             string Username = ConfigurationManager.AppSettings["username"];             string Password = ConfigurationManager.AppSettings["password"];             string directory = ConfigurationManager.AppSettings["directoryname"];               if (files != null)             {                 foreach (string file in files)                 {                      int port = 22;                     FileInfo fi = new FileInfo(file);                     string fileName = fi.Name;                     string fileurl = path + @"/" + fileName;                     string ftpFile = FtpServer + @":" + port + @"/" + directory + @"/" + fileName;                     FtpWebRequest myRequest = (FtpWebRequest)FtpWebRequest.Create(ftpFile);                      //WebRequest myreq = (WebRequest)WebRequest.Create(ftpFile);                      //myreq.Credentials = new NetworkCredential(Username, Password);                     myRequest.Credentials = new NetworkCredential(Username, Password);                     //WebProxy wb = new WebProxy("http://proxy4.wipro.com:8080");                     //wb.Credentials = new NetworkCredential(Username, Password);                     //myRequest.Proxy = wb;                      myRequest.Method = WebRequestMethods.Ftp.UploadFile;                     myRequest.Timeout = 1000000;                     myRequest.UseBinary = true;                     myRequest.KeepAlive = true;                       myRequest.ContentLength = fi.Length;                      byte[] buffer = new byte[4097];                     int bytes = 0;                     int total_bytes = (int)fi.Length;                     System.IO.FileStream fs = fi.OpenRead();                     System.IO.Stream rs = myRequest.GetRequestStream();                       while (total_bytes > 0)                     {                         bytes = fs.Read(buffer, 0, buffer.Length);                         rs.Write(buffer, 0, bytes);                         total_bytes = total_bytes - bytes;                     }                      fs.Close();                     rs.Close();                      //WebRequest upload = (WebRequest)myreq.GetResponse();                     FtpWebResponse uploadResponse = (FtpWebResponse)myRequest.GetResponse();                     Console.WriteLine("Upload File Successful");                     uploadResponse.Close();                  }             }         }         catch (Exception ex)         {            FTPDirectory.logfile.LogInfo("Error in Uploading file in ftp://ftp.xactlycorp.com" + ex.Message);         }  } }

Can anyone recommend a good SFTP library to use?  Right now I'm looking at products such as SecureBlackbox, IPWorks SSH, WodSFTP, and Rebex SFTP.  However, I have never used any SFTP library before so I'm not sure what I'm looking for.  If anyone has used these before, is there any reason why I should go with product "X" over "Y"?


I have a list of file path within a sub-directory. How can I find the created date for each of the file paths? I used the code below to get all the files within each sub-directory using Python:  def find(pattern, path):     result = []     for root, dirs, files in os.walk(path):         for name in files:             if fnmatch.fnmatch(name, pattern):                 result.append(os.path.join(root, name))     return result  find(pattern, Path)

I have a script that needs to do some stuff based on file creation & modification dates but has to run on Linux & Windows.  What's the best cross-platform way to get file creation & modification date/times in Python?


Gonzalez and I talked about .  Gonzalez: In pilot, Rachel is a spoiled girl who just escaped from her wedding.  Where he used the present tense. Should he have used the past tense?  ... Rachel was a spoiled girl ...

I took this photo by the lake last Saturday, Grandma. It looks lovely.   Do you know any of these people?      Yes, I do. The man who’s reading the newspaper is William.      He’s wearing a nice hat.      He is, isn’t he? Grandpa knows him, I think!   Why don't they say "he was wearing a nice hat" because that was happening in the past?  Can we use the present tense to describe people in a video?  For example, "Look at you in this video! You are smiling and swimming in a bathtub".


I'm Ethan and I am new to asking questions on ask Ubuntu normally it's me reading the answers. I have very little knowledge because I am yet to be an adult and I don't know what model Mac I have either.  My friend and I were at school and we found an iMac running MacOSX so I took it so my friend can use it at his home. Because of the age it won't patch anymore and since I am a Linux user I installed Ubuntu 16.04 just installed it was okay except for one thing. When ever I open the Unity Dash the menu on the top the screen freaks out and there is a lot of glitching and I see the current application name that i'm on in big blurry pixel words stretched across the top of the screen and after a bit the screen goes yellow then it crashes and turns off. My father and I think it's the iMacs' drivers.  My processor is an: Intel Core2 Duo CPU P7350 @ 2.00GHz x 2 Graphics: Gallium  0.4 on NVAC OS type: 64-bit  $ lspci -nnk | grep -A3 -Fe '[0300]' 03.00.0 VGA compatible controller [0300]: NVIDIA Corporation C79 [GeForce 9400] [10de:0867] (rev b1)   Subsystem: Apple Inc. iMac 9,1 [106b:00ad]   Kernel driver in use: nouveau   Kernel modules: nvidiafb, nouveau   What do I do to fix it? If you can please give me the solution because this is one of the first graphical problems I have had with Ubuntu!  Cheers Ethan

I just ordered the Nvidia GTX card. I have a dilemma, though. Should I keep using the driver which is available in "additional drivers" in Ubuntu, or should I install the driver from the Nvidia site?  So which driver is the best for me?


I am using a template from overleaf.  I am using  \usepackage{setspace}    and  %\doublespacing \singlespacing   But i feel doubespacing too large, single spacing too narrow. Is there a way to set 1.5 spacing?  This is one of the example:  \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{accents} \usepackage{setspace}  \begin{document} \setlength{\parindent}{0pt} %disable auto indentation  % $ \| \underaccent{\tilde}{\tilde{x}} \| $ % \doublespacing \singlespacing % This is my $\|\undertilde{\widetilde{x}}\|$ Testing Testing $\hat{\undertilde{\widetilde{x}}}$ $=$ $\sqrt{0^2, \space\widetilde{x_1}^2, \space\widetilde{x_2}, ..., 1}$ Second sentences $\hat{\undertilde{\widetilde{x}}}$ $=$ $\sqrt{0^2,\space\widetilde{x_1}^2,\space\widetilde{x_2}^2, ..., 1}$  First formular  \[ y = a + b1 \]  \[ c = a + b2  \]    \[ y = a + b1 and c = a + b2  \]   \end{document}

Does anyone know how to get line spacing in a paragraph to be greater than one and half spacing and less than double spacing? I tried \renewcommand{\baselinestretch}{value} but it did not work.


Any force applied to a body creates a torque around some reference point, but if we ignore all other forces (gravity etc.) the body will rotate if and only if the torque is not zero relative to the centre of mass? How can we prove that? Why is it the centre of mass and not some other point?  If the torque around the CoM is zero, I will still be able to find infinitely many other points such that torque around all of them is not zero, but the body won't rotate at all.

Say I have a rigid body in space. I've read that if I during some short time interval apply a force on the body at some point which is not in line with the center of mass, it would start rotating about an axis which is perpendicular to the force and which goes through the center of mass.  What is the proof of this?


When I was checking the T1 font encoding table, I realized there are two distinct comma characters: One at 0x0D and another one at 0x2C. They look similar but their kerning differ as far as I see.  What's the reason that there exist two versions of commas? Does one of them used as quotes? Which one?

I am using german quotation marks in my LaTeX document. See for example the following code:  \documentclass[a4paper,12pt,numbers=endperiod]{scrartcl} \usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm,footskip=1cm]{geometry} \usepackage{setspace} \usepackage{yfonts} \usepackage{lmodern} \usepackage{CJKutf8} \usepackage[footnote,printonlyused]{acronym} \usepackage[utf8]{inputenc} \usepackage[T2A,T1]{fontenc} \usepackage[russian,ngerman]{babel} \usepackage{tipa} \usepackage{csquotes} \DeclareRobustCommand{\cyrins}[1]{%     \begingroup\fontfamily{cmr}%     \foreignlanguage{russian}{#1}%     \endgroup } \begin{document}     Comma: blah, \\     Quotation marks: \glq{}blah\grq{} and \glqq{}blah\grqq \\     This comma , and this quotation mark \glq{} are equal. \end{document}   It does everything I need it to do but my quotation marks are identical to the commas in the text which really bothers me.    Is there a way to make the quotation marks (I always enter them like \glqq \glq \grqq and \grq) distinguishable from my commas?


I cannot update my BQ M10 Ubuntu pad. Can anyone advise?

With the announcement of the Ubuntu Phone OS I'd like to know what phone (and tablet) models are supported at this time.  Note from foss & Oli: We are making this the master question for all future "Will this work on <insert random tablet/phone/device here>?!" questions


I have a couple of  cards.  They have      {T}, Sacrifice Generator Servant: Add {2} to your mana pool. If that   mana is spent on a creature spell, it gains haste until end of turn.   (That creature can attack and {T} as soon as it comes under your   control.)   Must this mana be used immediately or can it be used in a future round?  And if it's used, does it disappear forever after being used?  Thanks!

Does mana added to your pool from  get destroyed when the card that added it is destroyed?


I am trying to use bpy.ops.nla.tracks.add() but I get this error:

I keep on getting context errors in the Blender Python API.  I don't understand the issue of the context in the API, how do I know which is the correct context?   Thanks!


I am looking for a words for a thing in which you invest a lot of time but don't gain anything. For example using whatsapp.

"To send somebody out in pursuit of some black " is a Persian idiom that implies 'to make or ask someone to run an errand so that you be able to have/ buy some time in order to deal with your private affairs in their absence', like having or continuing a (secret) conversation with someone else.   According to its etymology, since 'black garbanzos/chickpeas' were rarely available in the markets, when someone wanted to buy them, they had to search many stores for a long time, and most of time they couldn't find them at all.   Today, its meaning has changed somehow, and it doesn't necessarily mean that we ask someone to run an impossible errand, but it means we use that errand as an excuse to send them away for a while just to have time to do something in their absence.   Example scenario:   Suppose your classmate has come to your house and you are talking about some girly issues in the sitting room. Now you want to tell her a big secret about one of your classmates, but not in the presence of your younger sister who is sitting there too. So you ask her to go to the market and buy some snacks for you. In this way, you will have some time to continue your conversation until she is back. So you might say to your friend:     Well, I sent my sister out in pursuit of some black chickpeas.  I'm sure that she won't be back for another 15 minutes, so we can talk more freely now."   And your sister, before leaving the house, might sarcastically say to you:     Okay, but I know this is just an excuse, and you are just sending me in pursuit of some black chickpeas!!! so don't think that you can fool me!   Is there any idiom, expression or proverb that conveys the same meaning or connotation in English (i.e. to make or ask someone to do an errand just in order to buy time so that you can deal with some of your private affairs)?   I have found to be/go on  but I'm not sure if I can use it or not.


First, someone  blocking all-caps questions.  This was declined.  The decliner seemed to feel that the problem was too rare to bother with. Well, all-lowercase questions are 50 times more common than all-caps questions.  Stack Overflow gets only about 100 all-uppercase questions per year; see .  Yet it gets about 5,000 all-lowercase questions per year; see . (These statistics are for Stack Overflow only; the rest of our network wasn't considered.) All-lowercase questions are often of poor quality.  Let's block them. Note:  If you disagree with my idea, it would be helpful if you could please tell me why you disagree. P.S.  This idea is modified and adapted from  by stack exchange user Gilles.  My dear sir Gilles, I thank you.

Proposal If a question on an English-language Stack Exchange site does not contain at least one uppercase and one lowercase letter, our quality filter should reject it. (We can make exceptions for sites which don't use a mixed-case alphabet, such as .) Justification The quality filter currently rejects neither all-uppercase nor all-lowercase posts. I've checked. The best Stack Exchange users use mixed case. If an asker is too lazy to use their Shift key, their question tends not to be of very good quality. Don't take my word for it. You can see proof. Sam Saffron helped me write  which lets you see with your very own eyes that what I am saying is true. Single-case askers tend to ask poor-quality questions such as:      In addition, posts which use only uppercase or only lowercase — even if they aren't riddled with typos or grammatical errors — tend to be hard to read. Capitalization aids readability. Why is this proposal not a duplicate? This proposal is not a duplicate of the older proposal . This is because it also deals with all-lowercase questions. All-lowercase questions are 50 times more common than all-caps questions.  Stack Overflow gets only about 100 all-uppercase questions per year; see .  Yet it gets about 5,000 all-lowercase questions per year; see . (These statistics are for Stack Overflow only; the rest of our network wasn't considered.) I suspect that the older proposal was declined for two reasons:  All-uppercase questions are rare.  Therefore, the effort required to block all-uppercase questions is too much.   This proposal is better. For just a bit more effort, the Stack Exchange developers can get a much richer reward. Conclusion What do you think of my proposal? Agree? Disagree? Thoughts? PS: This idea is modified and adapted from  by Stack Exchange user Gilles. My dear sir Gilles, I thank you. Note There's even a  which automatically detects questions with all-caps titles and alerts interested users and moderators.


has a profile picture of a smiling face:    However, in questions or answers, the smaller version of this image shows up with a strange grey corruption at the bottom, blocking the smile:    The image returned for the thumbnail is    Why is this? Is there an error in the thumbnail creation process?*    * If there is a bug, I suppose the problem is with Imgur, but perhaps ye could pass it onto them?

In , you may see something odd: a peeking duck.    I've just recently uploaded this new profile picture of mine. I checked it after the upload and everything's fine. After a few hours, I opened my profile and there it is, the duck has somehow become afraid of the people viewing it.  Is this a bug, a feature, or is it just the duck?  I am about to re-upload my profile pic, but I've decided to drop first this topic to meta.  And if you're curious,  is the original picture.    ADDITIONAL: I've used the non-gravatar way to upload the picture.  ADDITIONAL 2: The problem only shows in the profile view. No problem in chat, less info profile view, and in the questions and answers.  UPDATE: Re-uploaded picture. Status normal (for now, at least).


I've been trying to read in this XML file ( in the link below) into my class that I've created. but had no luck. Anyone got any ideas ?  I have this xml file that is consist of food items each food item is consist of country, id, name, and description, category, and price. I've also created a class called data the is a parent to items to hold the data once I read in the data from the xml file. I am not very experienced in xml. If you guys could help me out. i would be very thankful    // Here is my XML  //http://i62.tinypic.com/2r4mwzb.jpg public class Items{ //The class I've created to hold the data from xml       public string country {get;set;}     public int id { get; set; }     public string name { get; set; }     public string description { get; set; }     public string category { get; set; }     public float price { get; set; }       public void print(){         Console.WriteLine("Country: " + country);         Console.WriteLine("id: "+ id);         Console.WriteLine("description: "+ description);         Console.WriteLine("category: " + category);         Console.WriteLine("Price: " + price);     } } public class Data{ // Items is a child class of Data      public Items [] FoodItemData; }   public class Program {     static void Main(string[] args)     {          XmlTextReader reader = new XmlTextReader("FoodItemData.xml");          Console.ReadLine();     } }

How do I Deserialize this XML document:  <?xml version="1.0" encoding="utf-8"?> <Cars>   <Car>     <StockNumber>1020</StockNumber>     <Make>Nissan</Make>     <Model>Sentra</Model>   </Car>   <Car>     <StockNumber>1010</StockNumber>     <Make>Toyota</Make>     <Model>Corolla</Model>   </Car>   <Car>     <StockNumber>1111</StockNumber>     <Make>Honda</Make>     <Model>Accord</Model>   </Car> </Cars>   I have this:  [Serializable()] public class Car {     [System.Xml.Serialization.XmlElementAttribute("StockNumber")]     public string StockNumber{ get; set; }      [System.Xml.Serialization.XmlElementAttribute("Make")]     public string Make{ get; set; }      [System.Xml.Serialization.XmlElementAttribute("Model")]     public string Model{ get; set; } }   .  [System.Xml.Serialization.XmlRootAttribute("Cars", Namespace = "", IsNullable = false)] public class Cars {     [XmlArrayItem(typeof(Car))]     public Car[] Car { get; set; }  }   .  public class CarSerializer {     public Cars Deserialize()     {         Cars[] cars = null;         string path = HttpContext.Current.ApplicationInstance.Server.MapPath("~/App_Data/") + "cars.xml";          XmlSerializer serializer = new XmlSerializer(typeof(Cars[]));          StreamReader reader = new StreamReader(path);         reader.ReadToEnd();         cars = (Cars[])serializer.Deserialize(reader);         reader.Close();          return cars;     } }   that don't seem to work :-(


I am planning to book a flight from Islamabad, Pakistan  to Oslo, Norway on Turkish Airlines. The flight is via Istanbul Atatürk airport.   I have a 10 hours and 30 minutes of stay at Atatürk airport. Do I need a transit visa for staying at airport terminal?   I have a Pakistani ordinary passport and Norway study visa.

I have an Indian passport and am planning to visit Germany with a valid visa. To book a flight for Germany (Mumbai – Dusseldorf), I came across some connected flights that stop at Istanbul.  Do I need to have visa for Turkey?  This is the first time I am travelling outside my country, and any information on this will be helpful.


Forgot password for Outlook data file 2003. Is there a way to restore it or do something to reset or delete. I just don't know what to do now. Did a system kickback, but it didn't help. No this recovery point when the password has not been set. May try to look in the vault? But I don't know where Outlook 2003 stores all passwords and accounts. Really need your help!

I am trying to recover an Outlook .pst file password.  Is there some way to do this?  I am using Outlook 2007 and Windows 7.


I have a problem with these sentences. They have two verbs and the second verb is negative. Where should not go?   try to not waste food try not to waste food   and   try to not take it personally try not to take it personally

This is one thing that keeps bugging me, and maybe there's a direct answer. Grammatically, which one is more correct of these two?  Does it make a difference?  I tried not to do that. I tried to not do that.


Is it possible to use setupbackend and pdfpageattr together via ConTeXt?    I was able to use setupbackend alone via ConTeXt (LuaTeX). Got the result as expected.    I was able to use pdfpageattr alone via ConTeXt (pdfTeX). Got the result as expected.    However, combining those two together I couldn't compile the code without a problem.    If compiled via ConTeXt (pdfTeX), an error states: Undefined control sequence. \setupbackend    If compiled via ConTeXt (LuaTeX), no error but pdfpageattr settings not affected with result. For example, the result with TrimBox is not [81.6378 96.9449 513.6378 744.9449]    \setupbackend [format=PDF/X-3:2002, profile=ps_cmyk.icc, intent=ps_cmyk.icc]    \pdfpageattr{/TrimBox [ 81.6378 96.9449 513.6378 744.9449]}     If it is not possible to combine those two macros together, is there an alternative way to set PDF/X-3:2002, insert ps_cmyk.icc and set TrimBox together via ConTeXt?

I am currently typesetting a book in ConTeXt and have been wondering how to get correct PDF Boxes when creating a PDF/X file for printing. According to a page on  this should be possible with current versions (I'm using 2017.04.27); alas, I noticed that especially the TrimBox doesn't seem to be exported correctly.  Please consider this MWE:  \setuplayout  [location=middle,   width=middle,   height=middle,   cropoffset=3mm,   trimoffset=6mm,   bleedoffset=9mm ]  \starttext  \setuppapersize[A4][SRA4]  \input tufte  \stoptext   (Note that I used these definitions for the parameters cropoffset, trimoffset and bleedoffset just for testing.) The file that is created when running context looks like this, when opened in Acrobat Pro:    Notice the green line: This is only visible, when activating "Show art, trim and bleed boxes" in the preferences and represents the TrimBox (normally equal to the CropBox). This should be showing the actual cropped page size (A4). In addition, although largely irrelevant in actual printing, there should also be the BleedBox (page size plus bleed), but there doesn't seem to be one in this PDF. What's more, the parameters specified don't seem to have any effect, at all. What I'm seeing is the paper size SRA4 give by the command \setuppapersize[A4][SRA4].  In contrast, here's a PDF file created by Adobe InDesign:    Notice again the green line: This time it is correctly positioned (A4) and there's also a blue line that represents the BleedBox.  Can anyone offer any help? Is this a bug? Or am I missing some switch?  All help would be much appreciated.


I got weird problem with shading in my Blender. Anyone know how to fix this? Rendering, texutre and material looks good. Earlier I tried reinstall but nothing special happened.

I don't know why but now, when i go in material preview or rendered (in solid mode it works fine), my object is entirely gray, or invisible idk, because it has the same color of the background. I've been working for days on this project without having this issue, it suddenly showed up. I tried opening other old projects and suddenly they all do the same so i guess it is some blender program setting that applies for all the projects, but idk how it happened cuz i didn't change anything :/, anyone got any tips?


![The picture says "To form the possessive of any singular proper noun, add an apostrophe and an S. For example, Venus's beauty Dickens's reputation  But I saw somewhere, Aeschylus' Sophocles' There is no S after apostrophe. Which one is correct?] ()

Many questions already ask about this topic ( , , etc.) and their answers vary, but they always give exceptions to the apostrophe-s rule, for example:      6.24 The general rule for the possessive of nouns covers most proper nouns, including most names ending in sibilants."   Examples they give include Kansas’s, Ross’s land, and Jones’s reputation. Exceptions include Jesus’  and Moses’.  Which names does this apply to?  Is the Aeneas’  form correct, or is it Aeneas’s instead?


I have a basic question related to Identity and Attribute based encryption.  Construction of IBE scheme was first shown by Boneh et al. in 2001 and I think in 2004 Sahai and Waters introduced  Attribute based encryption in 2004 for multiple attributes. ABE extended to CPABE or KPABE schemes.  Can ABE schemes be considered as child of IBE schemes or ABE can be considered as subclass of IBE schemes. Or ABE schemes cannot be categorized as a variant of IBE scheme at all.  Is there a generic name under which I can group the IBE and ABE schemes? Please suggest.

Can somebody explain in simple words. real life example light help and limitations of these schemes etc.


I've got a big problem with RTL8723be. My WiFi doesn't work, it never works. I've tried all the possible solutions written on internet and on AskUbuntu. The chip is installed on a HP p215nl , what can i do?  EDIT: I've tried Pilot's answer.  . Bluetooth works perfectly, Wireless Network is totally absent.  EDIT 2: rfkill list output:  0: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 1: hci0: Bluetooth     Soft blocked: no     Hard blocked: no 3: phy2: Wireless LAN     Soft blocked: no     Hard blocked: no   EDIT 3: Tried  And still not working  EDIT 4: Yep, sure. I forgot to say that one of them is an external wireless adapter. This is the output without it.  0: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 1: hci0: Bluetooth     Soft blocked: yes     Hard blocked: no   EDIT 5: I haven't that option in my BIOS settings. I've tried moksb command but it gave me an error.  EDIT 6: sudo modprobe -r rtl8723be sudo modprobe rtl8723be msi=1  After these commands i was able to connect through WiFi.

I have installed Ubuntu 15.04 on my laptop with RTL8723BE Wi-fi card. But it is always disconnecting from network. I have tried echo "options rtl8723be fwlps=N ips=N" | sudo tee /etc/modprobe.d/rtl8723be.conf but that didn't helped. What can I do to prevent the wifi from disconnecting? If I upgrade to kernel 4.X, will it help?  ~$ lspci -knn | grep Net -A2  09:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]     Subsystem: Hewlett-Packard Company Device [103c:2231]     Kernel driver in use: rtl8723be   ~$ rfkill list 0: hci0: Bluetooth     Soft blocked: yes     Hard blocked: no 1: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no   ~$ ifconfig && iwconfig && route -n && ping -c 1 google.com eth0      Link encap:Ethernet  HWaddr 38:63:bb:cd:4a:7e             UP BROADCAST MULTICAST  MTU:1500  Metric:1           RX packets:3 errors:0 dropped:0 overruns:0 frame:0           TX packets:53 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:752 (752.0 B)  TX bytes:8445 (8.4 KB)  lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:3870 errors:0 dropped:0 overruns:0 frame:0           TX packets:3870 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:314613 (314.6 KB)  TX bytes:314613 (314.6 KB)  wlan0     Link encap:Ethernet  HWaddr c0:38:96:6d:c4:83             inet addr:192.168.1.205  Bcast:192.168.1.255  Mask:255.255.255.0           inet6 addr: fe80::c238:96ff:fe6d:c483/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:15240 errors:0 dropped:0 overruns:0 frame:0           TX packets:14627 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:14410285 (14.4 MB)  TX bytes:2192744 (2.1 MB)  eth0      no wireless extensions.  wlan0     IEEE 802.11bgn  ESSID:"DIR-615"             Mode:Managed  Frequency:2.437 GHz  Access Point: 00:90:4C:08:00:0D              Bit Rate=150 Mb/s   Tx-Power=20 dBm              Retry short limit:7   RTS thr=2347 B   Fragment thr:off           Power Management:off           Link Quality=70/70  Signal level=-22 dBm             Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0           Tx excessive retries:0  Invalid misc:186   Missed beacon:0  lo        no wireless extensions.  Kernel IP routing table Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 0.0.0.0         192.168.1.1     0.0.0.0         UG    400    0        0 wlan0 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0 PING google.com.Dlink (172.26.136.19) 56(84) bytes of data. 64 bytes from 19.136.26.172.in-addr.arpa (172.26.136.19): icmp_seq=1 ttl=249 time=102 ms  --- google.com.Dlink ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 102.547/102.547/102.547/0.000 ms


Our website is sending out email verifications to members who sign up with our service.  Yahoo is throwing our messages in the spam box and displaying this message in the headers:  Received-SPF: none (domain of -.com does not designate permitted sender hosts)   I'm pretty sure this is the reason why.  I added a text record to our DNS:  v=spf1 mx:smtp.secureserver.net +all   Maybe I didn't set it up right? The yahoo message remains.  Our email has html and text versions and has received a score of .07 on spamassassin, so I highly doubt that anything in the email content itself is throwing a flag.

This is a  about setting up .     I have an office with many computers that share a single external ip (I'm unsure if the address is static or dynamic). Each computer connects to our mail server via IMAP using outlook. Email is sent and received by those computers, and some users send and receive email on their mobile phones as well.  I am using  to generate an SPF record and I'm unsure about some of the fields in the wizard, specifically:   Enter any other domains who may send or relay mail for this domain Enter any IP addresses in CIDR format for netblocks that originate or relay mail for this domain Enter any other hosts which can send or relay mail for this domain How stringent should SPF-aware MTA's treat this?   the first few questions i'm fairly certain about... hope i have given enough info.


One way that I tried to solve an integral was to divide integrand by $\cos^3x$ para para obter  $$ \int_{0}^{\pi/2}\dfrac{\sec^3x}{1 + \tan^3x}dx $$ Through software, I saw that the result involves $\tanh^{-1}\bigl(\frac{1}{\sqrt{2}}\bigr)$, but I do not know how to get there.

How do I integrate the following $$\int \frac{dx}{\sin^3 x + \cos^3 x}$$ ?  It appears that I am supposed to break this up into $(\sin x + \cos x)(1-\cos x \sin x)$, but the next thing to do is not apparent to me.


This has been going on for a couple of days:    The bottoms of the badges are cut off on the mobile site.  Android 5.1.1, on both the default browser and Chrome 46.

I have no idea if it's just a local problem, but I don't remember changing any settings recently.  I am seeing a few bugs on the mobile version of the site, but the one I've seen consistently over the past few days is badges rendering too big for their container.   Here is an example screenshot:    I'm using a nexus 5. I searched for similar bug reports here to no avail before posting this.  Can anyone confirm that it's reproducible?  Can anyone explain why it's happening?


I am wanting to sample from a distribution with uniform marginal distributions but with an interesting joint structure. Let the random vector be denoted $X = (X_1, X_2, \ldots, X_n)$ with $X_i \sim \text{uniform}(0,1)$. The random vector has the dependence structure $AX \leq b $ where A is a $q \times n$ matrix and $b$ a length $q$ vector (so I have $q$ linear constraints on $X$). The constraint I care about most is $\sum_{i=1}^N x_i \leq 1$. If we consider a 2D example $X = (X_1, X_2)^T$ we have that $f_{1,2}(x_1, x_2) = f_1(x_1)f_2(x_2)c(x_1, x_2)$ hence the joint density is just the copula density (since uniform implies $F(x) = x$). By Sklar's theorem there must be a copula that exists. Most the copula I know of are essentially symmetric apart from e.g. the skewed Normal/Skewed-$t$ copula. Fairly naive random sampling doesn't give us the required density. Any idea on how I could construct such a copula for direct sampling? Or even construct e.g. a markov chain which targets the correct distribution?

I would like to uniformly generate weights for n different objects. I understand this is the same as sampling from the Dirichlet distribution with alpha = 1 or sampling uniformly from the standard n-simplex which i can do in the same way as covered here:    If I wanted to add further constraints, such as maximums and minimums for each weight, is there a way I can do this without repeatedly sampling until the values fall within my constraints?


say I have a hexidecimal values or rgb values of a color in illustrator, how could I decrease the saturation easily and following the same tone in illustrator? Thanks

I purchased a stock vector design.   I want to change the preset colors used in vector art and leave everything as it is. The object is made up of bunch of shapes.   As I try to change the colors instead of it looking nice and blended as it did when I have bought it. All I see is the shapes with no gradients or blends.  Since I am new, I do not know the simplest way to change the color "theme" without messing up the way it looks right now.   Is there an easy way to change colors of an exiting Illustrator file?


I cannot find any tutorial in Google and Youtube. I have a C++ program that uses OpenGL ES 2.0 API to render something on the screen. How can I debug my shaders? Any step-by-step guide? What is the easiest way to at least print variable values?

I'm in the process of debugging GLSL vertex shaders and I can't shake the feeling that I'm doing it wrong.   In general I have two strategies to make up for the lack of tracing   I stuff values into a debug color varying that I pass to the fragment shader and then try to interpret the colors. I change the vertex shader code and see what happens.   I'm thinking that ideally I could make up for the lack of tracing by writing values to a texture somehow, reading the texture from the GPU and printed the values stuffed in the texture.  My guess is that there might be way better ways. Any suggestions?


The following is a toy example. At first, it works very well. The bottom shows the same number in the input. However, after clicking the interference button, the bottom display doesn't synchronize the input number anymore. Does anyone know where is the problem? Thanks.

  <button type="button" id="interference">interference</button>

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.