Hyberbolic and Circular (Trig) Functions: Why no parabolic?

There are circular (trig) functions which determine all the points on a unit circle:  and which relate to the area swept out by an angle subtended on the circle. -- These functions can of course be extended to relations to ellipses as well.  There are also hyperbolic functions which determine all the points on a hyperbola:   My question is why there are no analogs of these functions for parabolas (the other type of conic section):  Here I have defined $\mathrm {sinp}(\theta)$ and $\mathrm {cosp}(\theta)$ to be the x- and y-coordinates of points on a "unit parabola".  Is there any good reason why we should have these extremely useful transcendental functions (sin, cos, sinh, cosh, etc), but we can't (or don't) define analogous functions for parabolas?    NOTE: I recommended that this post get deleted because Henning's response in  explained theoretically why a "parabolic trigonometric function" is different than the circular and hyperbolic trigonometric functions.  However johannesvalks' answer to this was very interesting, as well, and probably shouldn't be deleted.


Would it be good if we combine all these [home, questions, unanswered] question page?

Would it be good if we combine all these 3 question pages together?  Currently, we have:    Home page [default]  this page has 'custom tab' depend on each stack site  all of default tab   featured [this one also has in Question Page] hot week month     Question page   newest featured [this one also has in Home Page] frequent votes active [this one also has in Home Page of meta stackexchange] unanswered [this unanswered also has different linked than Unanswered Page =>       Unanswered Page [this page linked =>    my tags newest votes unanswered     So, I just thought, is it good to combine all these page (or just Question and Unanswered page)? We might have some condition field [ex. a checkbox to show only unanswered] to support all these pages.


How to SFTP through proxy if there is no netcat?

sftp -v -oProxyCommand="nc -v PROXY_IP_HERE PROXY_PORT_HERE %h %p" user@remote_sftp_server.com 22   How can I do this if I don't have netcat installed? I don't have permission to install it, even in my home directory. There is no tsocks/socksify either.


How can I change the size of text for figure captions?   Currently my code looks like,   \begin{figure}[H] \centering \includegraphics[scale=1]{Image.png} \caption{Caption} \end{figure}   This makes the Caption in the same size and font as the bulk text of my document. Ideally I would like it to be smaller.


Travel site that found the lowest-price tickets from your current location

Some time ago I had a bookmark to an awesome travel site, which I've lost. I'm hoping someone else used it.  The site was very minimal. You told it where you currently are, and it showed you the cheapest flights either in the next three days, or the whole month, from your current city. Ie, you didn't specify where you wanted to go, you specified where you were, and it told you where you could go.  If it helps narrow it down, I remember the website had a rotating set of background photos of various places, and the UI was very minimal and sat in a small rounded rectangle in the screen center.  Ie, the UI was a nice photo, and then in the very center of the screen, a small rounded-rectangle for search and results.  It was very distinctive.  It was a nice approach to travel planning, leading to spontaneous trips, quite unlike all other search sites I've used, and I'd like to find it again.     This question is not a duplicate of "" I am not looking for a general broad search   engine. I am seeking a specific travel/search site with specific   and unusual functionality that is more specific than in that   question and is not answered by any answers in that question.      I hate to sound snippy, but this should have been obvious from reading   both questions.  (For example, where in that question does it mention the site I'm looking for? I'll answer: it doesn't. This specific site had functionality unlike any other site that I know of, and better than those mentioned in the other question.) This specific site did some cool stuff, which is why I ant to find this one, not a common, well-known one. Please reopen, and please read both questions and   answers to verify this, as I believe you should have before closing.


Looking for the name and author of this story. The premise is that interstellar space travel is really simple, with one (unspecified) insight. So, many alien races have space travel, but minimal technology. Here on Earth we missed the insight, so built up tremendous technology and, in particular, weapons, without getting interstellar travel. One alien species invades Earth, using their primitive weapons (if I remember correctly, Molotov cocktails were the most powerful weapon they had), and their primitive, leaky starships. They get decimated by Earth's weapons, and the parting comment is that it wouldn't have been so bad if they hadn't looked like cuddly teddy bears.


Hoping folks are tolerant of rank beginner questions. I recently downloaded QGIS 3.12.3 running on a pc with windows 10. I have my first project and map which looks good in print layout, but it looks very different when exported as a pdf or image file. For example way more fine (but unreadable) detail items showing up (like tiny city names and such). If I could just get an export that looked like what I see on my screen I'd be set. Thanks


For services list on my Ubuntu, Printer service not found on port 515.  nmap -sT -O localhost  PORT     STATE SERVICE 23/tcp   open  telnet 139/tcp  open  netbios-ssn 445/tcp  open  microsoft-ds 631/tcp  open  ipp 9050/tcp open  tor-socks Device type: general purpose Running: Linux 3.X OS CPE: cpe:/o:linux:linux_kernel:3 OS details: Linux 3.12 - 3.19, Linux 3.8 - 3.19       There is no Printer service on port 515. How to add Printer service on port 515?     nmap -v -p 515 127.0.0.1  Starting Nmap 7.01 ( https://nmap.org ) at 2016-11-19 13:03 IRST Initiating SYN Stealth Scan at 13:03 Scanning localhost (127.0.0.1) [1 port] Completed SYN Stealth Scan at 13:03, 0.21s elapsed (1 total ports) Nmap scan report for localhost (127.0.0.1) Host is up (0.000065s latency). PORT    STATE  SERVICE 515/tcp closed printer


I am a member of Stack Overflow in Portuguese, I cross-posted the exact same question on both sites:   Qual é o modo mais eficiente para implementar GroupBy em Javascript?  On Stack Overflow The first thing that happened was a useless comment asking why followed by a suggestion of a full library to use a single method that I asked and this library doesn't even do what I asked. Another member came and suggested two libraries (which I don't want a full library for a single method) and neither libraries do what I want. I've being trying to implement and I posted as an answer what I managed. Even though it is not really fast, it works pretty well. I instantly got a downvote, the person that downvoted didn't even test or tried to understand what I tried for hours. That is even disrespectful. This is not the first time it happened to me, I tried to ignore them with all my strength. Once I even had to report the comments and a mod cleaned up. On Stack Overflow Portuguese First comment was a member trying to understand what I wanted to do, he as probably not familiar with C# and Linq. Second comment was on my answer, a guy told me that what is really making my method slow is the GetHashCode. No one judged me for what I am trying to do, no one tried to make me swallow a nasty library. Everyone so far tried to understand my question and help me out. After all, Stack Overflow is for members to help each other, isn't it?  I do not believe that I am the only one who feels this way. Stack Overflow was not like this a year ago. What happened? How can we improve the community and stop this hate behavior? Updated Aug 2018 This is now being addressed by the  Thanks everyone in the community that helped me express this feeling and thanks Stack Overflow for creating this code of conduct and new flags. Disclaimer: I feel like a lot of downvotes were by the lack of empathy. I guess it is really hard to communicate when someone reads what you write in a "binary way". Also I've never had the intent to make it sound like SO PT is better than SO, if anyone thought that. It's just that SO PT was a new community, fresh, and people were being nice because of it.


sql injection with a newline in the query

So I know the basics of a SQL injection attack, with entries that are not sanitized. So   SELECT id FROM users WHERE username='$username' AND password='$password'   (Note that $password is hashed) would be defeated with $username=x' or 1=1; --  A friend said that if you throw a \n character into your source code, then you can't comment the rest of the query out. So if you have   Select id from users where username='$username' and password='$password'    in php, and then submit it to the query, then even if they tried to comment out the username, it would error because the and password='$password' would still try and be executed.  I tried it, and he seems to be correct. So, my question is, while you should still sanitize your database inputs, does this prevent an attack like this, or is there a way to bypass it still?  I don't know if it matters, but I'm talking specifically about mysql here.


Hello masters of MS SQL   I have a kind of a problem on my hands. We have quite big DB (5TB) and we've just "enabled" some software archiving which means that most of the data will migrate to other DB's. In other words, this big DB is now almost empty with data and will not grow anymore.   The issue here is I have a big file that I need to shrink (space problem). And I wonder how should I approach this problem? Shrinking will probably take quite a while and I am not sure what will happen if something goes wrong and if it's OK to do backups in the middle of shrinking.  Can somebody help me with this issue and shine a little light on this matter?   This is current situation (data is still being deleted, and I assume we will land at 300~500 GB size)  Thank you in advance


Get query back from PDO prepared statement

Is there a way to retrieve the query that was used to generate a PDO Prepared statement object?


Find top Stack Overflow users by their technology stack and location

How to find top Stack Overflow users by their technology stack and location?


On the existence of homotopy between continuous and differentiable

Let be $M$ and $N$ smooth manifolds. Take $f\colon M\rightarrow N$ a continuous maps, so exists smooth $g$ from $M$ to $N$ such that $g$ is homotope to $f$, how can it proved?


Use bluetooth keyboard with a different layout?

I'm Italian, so I use italian language on my tablet (note 10.1), but I have also a bluetooth keyboard with english layout that I use to write little snippets of programmes, the problem is that I don't know how to set english language only for the keyboard. Can someone help me to solve this problem?


Unable to iterate through list for creating Key pair

I'm trying to iterate and map list with a key pair. I'm getting the following output as below(i.e.) Im getting only the last value in the list.   {'first': [{'Key': 'Created', 'Value': '2020'}, {'Key': 'Type', 'Value': 'Entr'}], 'Second': [{'Key': 'Created', 'Value': '2020'}, {'Key': 'Type', 'Value': 'Entr'}]}   Code  tags = [[{'Key': 'Created', 'Value': '2019'}, {'Key': 'Type', 'Value': 'Business'}], [{'Key': 'Created', 'Value': '2020'}, {'Key': 'Type', 'Value': 'Entr'}]]  samplelist = ['first','Second']  sampledict = {}  for i in samplelist:     for tag in tags:         sampledict[i] = tag   Expected Output  {'first': [{'Key': 'Created', 'Value': '2019'}, {'Key': 'Type', 'Value': 'Business'}], 'Second': [{'Key': 'Created', 'Value': '2020'}, {'Key': 'Type', 'Value': 'Entr'}]}


Why exactly does the time-reversal operator need to be anti-linear?

I checked many books and they all state that  is . But why do we need it to be anti-linear? Please explain where this need actually arises.


How to convert complex chars into their dumbed-down counterparts

I am making a discord bot that contains a word filter but as you can guess, people are getting around with letters like '𝖆', 'ń', 'ḝ'... Is there any way within c#.net core 2.2 or using an library to remove the formatting/styling of the letters? To dumb them down to just 'a', 'n', 'e'. I can't be asked to go through the entire UTF-16 char base to get every single possible letter and dumb them down using a switch statement.


Evaluate the sum ${1 - \frac{1}{2} {n \choose 1} + \frac{1}{3} {n \choose 2} + \ldots + (-1)^n \frac{1}{n+1} {n \choose n}}$

Evaluate the sum $${1 - \frac{1}{2} {n \choose 1} + \frac{1}{3} {n \choose 2} + \ldots + (-1)^n \frac{1}{n+1} {n \choose n}}.$$  I have tried comparing this to the similar problem .  I believe I need to differentiate or integrate? But I'm not sure how that might work.  Any ideas? Thanks.


What if n of RSA is same for two people over the network?

I was just going through RSA encryption scheme and was trying to figure out how to do all maths. I was suddenly struck by the question that (e,n) is public to the people. How easy it becomes to attack one's system if you find out that you are using same n as someone else?


Looking for a story about cloning and brain transplants

The story is about a rich man who makes clones of himself. The clones are fed and exercised so that they will have perfect bodies, but are not given the ability to mentally develop. They cannot speak or communicate with the world.  When the rich man gets old, he switches his brain into one of the clones. This way, he will give himself a new, fresh body. However, he is horrified to find that when he wakes up after the transplant, he is in the same body. He has transplanted his brain, but not his soul, or his memories. He tries to tell the operators that there has been a mistake, but he finds himself unable to get the words out. he realizes he will be trapped as an idiot forever, while the clone steals his life from him.


How can I edit my profile from the Android app?

How do I change my picture? How do I change my name?


My brother and I downloaded pokemon go together a couple days ago. I had to delete some apps because I barely had any storage on my Samsung galaxy s5. We went out to find some pokemon this morning for about 30 mins. He found a bunch of pokemon but they were not showing up on my phone. I ran out of data but I'm on a plan that if you run out, it just gets slower instead of being charged extra. I don't know if that is the reason. Can someone help me out because I really want to play this game but no pokemon are showing up no matter where I go.


How to pass data from Javascript to PHP and vice versa?

How do I pass have a Javascript script request a PHP page and pass data to it? How do I then have the PHP script pass data back to the Javascript script?  client.js:  data = {tohex: 4919, sum: [1, 3, 5]}; // how would this script pass data to server.php and access the response?   server.php:  $tohex = ... ; // How would this be set to data.tohex? $sum = ...; // How would this be set to data.sum? // How would this be sent to client.js? array(base_convert($tohex, 16), array_sum($sum))


Can OTP be made practical by using stretched hash algorithms?

One of the main reasons for not using OTP in everydays life is that it is highly  - for encrypting 4GB of files we need a 4GB key that needs to be exchanged secure.  I've had an idea on how to get past this problem and want the opinions of experts (thats you!) about it. The main goal is to maintain the advantages of a OTP: .  The main idea is to use a stretched hashing algorithm for deriving the OTP from a given password. This stretched hash iterates and adds the hash of the previous data to its content to create a new hash for the next data chunk making it .  This is my designed implementation in pseudo code.  Method createOTP ( CLEARDATA, PASSWORD, ALGORITHM )     set OTP to empty     set LASTSALT to derivation of given parameters     While length of OTP smaller than length of CLEARDATA         set LASTSALT to stretched hash of PASSWORD and LASTSALT using ALGORITHM         set OTP to OTP and LASTSALT     End While     set OTP to OTP with length of CLEARDATA     Return OTP End Method   I do understand that the amount of possibilities is drastically reduced by using a hash algorithm. It should be impossible to verify that a given password is correct though as all passwords create an OTP with a different outcome producing possible legit words. The amount of computing power is also an advantage as the creation of such a big key can take a lot of time and is memory expensive.


Is it possible to have connecting loop lines (like algorithm2e) in algorithmic?

I am using the algorithmic package to typeset an algorithm. I would like to have connecting lines between the beginning and end of a loop or conditional like in the algorithm2e package. Is there an easy way to accomplish this, or am I better off switching to algorithm2e?


Applying for a Schengen visa for a second time; what documents should I attach?

I'm an Indian citizen and I am currently a third-year student in engineering. I have been selected to work for  with VLC (VideoLAN) Organisation, which offered me an opportunity to visit their headquarters in Paris in June.  I did not have a passport, so quickly got one and applied for a Schengen visa. During the visa application process, I was asked the purpose of travel. I said attending a conference and tourism. When I got my biometrics receipt, it said my visa had been applied for under the business category. I was a bit surprised, but nothing could be done at that point. After a few days, my passport was returned with my visa refusal letter, stating the reason of refusal as "information provided is unreliable."  After I talked to my mentors at VLC, they agreed to let me try again and visit them in July. I will be applying shortly for my visa would like to know if there is anything else that I should include, apart from the usual documents.


"Marked as duplicate" text doesn't make sense for questions that have no answer

The new "marked as duplicate" text says:     This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.   In some cases though, users like to re-post their questions rather than fixing their closed originals, so we close them as dupes of that original. In this case, the text simply doesn't apply.  It is also the only special case (not counting meta posts) where closing as duplicate does not require any answers on the original question.  If both duplicate questions have been asked by the same user, the text should be special cased to reflect that:     This question has been asked before by the same user.  Instead of re-posting, the original question should have been edited and clarified.   … which will provide better guidance, and it will only mention existence of any answers when it is relevant and true.


I want to show that $\forall x$,$y\in G$, $(xy)^2=x^2y^2 \iff G $ is an abelian group.  Proof of the backward direction seems easy enough:  Assume $G$ is an abelian group. Then consider $(xy)^2=(xy)(xy)$. By associativity, $(xy)(xy)=xyxy$. Since $G$ is abelian, $xyxy=xxyy=x^2y^2$.   Proof of the forward direction I attempt by contrapositive:  That is, assume $G$ is not an abelian group. Then, consider $(xy)^2=xyxy$ as above. Yet, $xyxy\neq xxyy=x^2y^2$ since we no longer have commutativity.  Is this proof by contrapositive completely correct?


In <a href="/tips/page.html">   /tips/page.html is a relative path or absolute path?  EDIT: This question is not duplicate. i have read http://stackoverflow.com/questions/181805/absolute-path-relative-path. That question says it is absolute path while http://www.coderanch.com/t/628765/Servlets/java/Relative-absolute-path says it is relative. therefore i have asked.


I written the following script which gets name of a file and then assemble and link the file. But it doesn't work. What is the problem with it?  EXPECTED_ARGS=2   if [ $# -ne $EXPECTED_ARGS ] then         echo "[+] Assembling with Nasm."         nasm -f elf32 $1 -o $1.o          echo "[+] Linking ..."         ld $1.o -o $1          echo "[+] Done!"   else         printf  "\nInvalid number of arguments, please check the inputs and try again\n"  fi;   When I run it without passing any args, it doesn't shows following error:  printf  "\nInvalid number of arguments, please check the inputs and try again\n"


I don't understand why I still got error message.  \documentclass{article} \usepackage{braket} \usepackage{mathtools} \everymath{\displaystyle} \begin{document} \title{Quantum Mechanics Homework 3 \& 4} \author{Seng Sopheak} \date{2014} \maketitle [...] \begin{figure} \centering \includegraphics{QM HM 3_2.jpg} \end{figure} [...] \end{document}   This is the error message I always got:  ! Missing $ inserted. <inserted text>                  $ l.346 \includegraphics{QM HM 3_2.jpg}   Could you help me?


Non finitely-generated projective $\mathbb{Z}$-module

Let $M$ be a projective $\mathbb{Z}$-module. Must $M$ be free?     It is easy to see that the answer is yes if $M$ is finitely generated, but I do not know about the general case.     If the answer is "yes" (which would surprise me), is the same true for Dedekind domains?


Script continues execution after call to gnome-terminal

I'm using bash to run a terminal which launches a few programs in separate tabs.  However, after the terminal opens, it seems like my script continues even though generally this only happens if we use the ampersand (&).  Here is an example of what I'm talking about:  gnome-terminal --tab -e "./run_script.sh"  ./runanothercommand   The behavior I'm seeing now is that gnome-terminal executes, and then immediately after the second command is executed.  The desired behavior for myself is that the second command only executes when the gnome-terminal process ends.  Is there any way to halt the script until gnome-terminal completes?  EDIT:  According to the question linked, , --disable-factory was an argument that would accomplish this.  However, --disable-factory is deprecated and is no longer availble.  That thread also links here:  , which gives a method using GDB.  However, I don't think this approach will work for me.


my system:    intel cpu gtx 1050 ti ubuntu suite 16.04 kdenlive 4:15.12.3-0ubuntu1  (got this with dpkg -l, think it is the version)   The GPU option in Kdenlive is greyed out, I read I have to have the movit-library (libmovit4) installed in order to enable the GPU option. Strangely, the movit library is already installed.


Humans escape earth destruction and go to alien planet generations later for revenge

I can barely remember the details but here it goes. Aliens were about to destroy earth and kill all humans so a group set out to escape to another planet so human kind could survive. They land on another planet and are left without technology and fight animals that come at night with sticks. They move into a large cave and over many many generations they pass down knowledge and stories to the children and eventually build a ship and go to the alien planet to kill them. The humans were set on revenge. One other detail I remember was there were these small animals that at first the humans did not get along with and over many generations they eventually found the animals to be telepathic and were friendly. This has been eating at me for days, what is this book?


What's a good textbook to learn about waves and oscillations?

I'm taking a course on waves and oscillations using Crawford from the Berkeley series (out of print excluding international copies), and would like to know if anyone has any suggestions for a better book. We cover:    coupled oscillators, forced oscillators,  Fourier analysis,  traveling waves,    and some other topics. Any help with the topic would be appreciated.


Which particles could be waves? Electrons and photons are both particles and waves (electricity and electromagnetic radiation). Could other fermions or bosons be both particles and waves?


What is the use for non-inverting input resistance in a negative feedback opamp?

Here in the Figure R5=50K. This resistor value is not in the equations to obtain output voltage, and in many tutorials non-inverting input is directly grounded without a resistor. What might be the reason to use it here?


How is this simplified pearson coefficient derived?

I came across a variation of the Pearson coefficient as seen here:   $$r=\left[1-\left(\frac{\sum_{i=1}^n (x_{ti}-x_{pi})^2}{\sum_{i=1}^n x^2_{ti}}\right)\right]^{1/2}\,,$$  where $x_{ti}$ is a target value and $x_{pi}$ is a predicted value.   I've seen the various forms of the r coefficient on , but can't figure out how you would get to this form. Any advice would be great. Thanks!


How can we draw $14$ squares to obtain an $8 \times 8$ table divided into $64$ unit squares?

How can we draw $14$ squares to obtain an $8\times8$ table divided into $64$ unit squares?  Notes:  -The squares to be drawn can be of any size.  -There will be no drawings outside the table.


When there is less than 5% battery left on a mac, the battery indicator goes red and system performance significantly drops - presumably in an attempt to make that remaining 5% last a little longer.   Is there a way to manually trigger this, so that the system performance is low (and battery life longer), even when there is plentiful battery?   This would theoretically be a way of extending the number of hours on a battery beyond the rated amount.


How to automatically trigger click event on a `file input select ` in a bs modal? (jsfiddle)

In a bootstrap modal I have a file select input which I want to be fired automatically just by opening modal. I tried many many different approaches, but none of them worked for me.    UPDATE:

             <button id="close-modal-crop" type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
{{ heading_title }}

                     <input id="cropit-image-input" type="file" class="cropit-image-input custom" accept="image/*">   By opening modal, I want #cropit-image-input to be clicked automatically. I'd highly appreciate if you give me a hand.


Ubuntu 13.10 - Black screen after login session

Yesterday, the system asked me if I wanted to upgrade to 13.10 from 13.04. Since that was the first time for me, I decided to proceed and ran the installation without worrying about it.  After the system completed the upgrade, my PC was rebooted and the new version of Ubuntu signalled that the desktop would have run in low graphigs mode due to a graphical driver problem. I couldn't manage to fix the issue, so I continued with the low graphics mode... but nothing showed up. I wasn't even able to access one of the TTYs.  So I ended up rebooting the system and accessing the recovery mode. I uninstalled all my ATI graphics drivers along with xorg-server and fglrx. After rebooting, I was able to access the login session of Ubuntu, but after confirming my credentials, the desktop wouldn't show up, but instead a black screen appeared with the following message:  System program problem detected  I couldn't figure out the problem and tried to restore/re-install all the graphics elements I knew. but nothing worked. The screen still remains black and won't show the icons nor the Unity bar.  What would you advise me to do? Should I try launching a fresh install of the OS from the live CD?  Thank you.


Understanding tiles folder and file names

I have hard times finding the meaning of tiles names and folders. I don't think it's related to QGIS (it seems to be a standard thing) but when I export my map into a tile set the content is split into several folders.    The top folder is the zoom level. But inside I find a set of folders with numbers as names, and inside them a set of tiles with numbers as name. I understand the logic, folder is a "column" and every file is a new "row" of the column.   I imagine that these numbers define some coordinates in a way. But I can't find the logic behind it. For example here is the meta data exported by QGIS alongside the tiles :   "METADATA": {  "map.coverage.center.longitude": 2.3287153244018484,   "map.coverage.bottomRight.latitude": 48.83833969137705,   "map.shortAttribution": "",   "map.type": "overlay",   "map.coverage.bottomRight.longitude": 2.343606948852528,   "map.tileFormat": "png",   "map.maxZoom": 18,   "map.coverage.topLeft.latitude": 48.85906816414893,   "map.coverage.center.latitude": 48.84870392776299,   "map.shortName": "nc",   "map.coverage.topLeft.longitude": 2.3138236999511683,   "map.longAttribution": "",   "map.minZoom": 16,   "map.longDescription": "",   "map.tileSideLength": 512 }   Is there a relation possible between the lat / long coordinates and folder / file names?


Expand magic tag-links so all sites can be specified

Apparently after the split, all the tag-links (once they are fixed) will point to MSE instead of SO.  It seems like many questions will want to reference tags on a particular site.  We already had the special magic tag link of [meta-tag:], so how about a syntax to direct tag-links to the site of choice, or at least a subset of the sites that we can make easy abbreviations to?


How do I get out of bed without a circle pad in Pokemon Ultra Sun/Moon?

At the start of Pokemon Ultra Sun And Ultra Moon, my character is sleeping.   How do I get out of bed?   I don't have a Circle Pad as I'm using Retroarch to play.


Can you fire a pre-loaded hand crossbow one-handed?

I've always thought the answer was 'duh, obviously' but I'm hard-pressed to find RAW evidence all of a sudden. Assume you have a hand crossbow, loaded, in one hand, while your other hand is occupied (holding a sword or a very important relic or even missing for that matter). Can you fire that single shot from the crossbow before having to drop it for something more practical? I'm unsure, on account of not being able to clearly show that such a thing as a 'loaded state' exists for a crossbow, by RAW:  Ammunition Drawing the Ammunition from a Quiver, case, or other container is part of the Attack (you need a free hand to load a one-handed weapon).  Emphasis mine. That part might imply that the loading (and thus the hand requirement) is to happen as part of the attack. Then again, when later referring to using a Loading weapon for a melee attack,  A sling must be loaded to deal any damage when used in this way.  This could imply the sling (and by extension other loading weapons) can be pre-loaded. Or that it needs proper loading, ammo etc. even as an improvised melee weapon. Is there a solid RAW answer on this?


bibliography author-year style, without hyperlinks

I an confused by the vast BibTeX bibliography styles available in LyX. I can't find the style that fits the requirements of my university.  I currently use the "natbib" citation style, and the "plainnat" bibliography style. The citations in my document are author-year style (which is good), but the bibliographic entires containe full hyperlinks and DOI numbers (which is against my university policy).  I tried to switch from "plainnat" to "plain" or to other styles in the LyX menu, but it appeared to be incompatible with the "author-year" style.  How can I find the style that allows both author-year and removing the links?


Do I need a UK transit visa when flying to Ireland through the UK?

I am Lebanese Citizen and am planning a trip to Ireland this month. A valid Irish visa is already in hand and I am willing to reach there through the UK.   Will I need a transit visa in the UK for few hours for flight connections to Ireland?


How non-abelian group of order pq looks like?

Question: if $G$ is non-abelian group of order $pq$ where $p$ and $q$ are distinct primes such that, $p<q$ and $p$ does not divides $q-1$ then, is $G$ is unique? If yes then, how it's looks? My attempt:  yes, $G$ must be unique and, it is nothing but, $\mathbb{Z}_q⋊ \mathbb{Z}_p $ that is, semi direct product of  $\mathbb{Z}_q$ and  $\mathbb{Z}_p$. Is am I right? But I didn't know how to prove this semidirect product is unique. Please help me.


Retrieving last record in each group from database with grouping in SQL


I can't allocate memory for bigger matrices then ~200x200 Lapack Visual Studio in C Here is my code

I am bench-marking the execution time of solving matrices , and i cant get more then ~200x200, i should go probably 1500x1500 or close to that. I am running this on VS .   #include <stdlib.h> #include <stdio.h> #include "lapacke.h" #include "lapacke_config.h" #include <time.h>  /* Auxiliary routines prototypes */ extern void print_matrix(lapack_complex_double *a, int m, int n); extern void generate_matrix(lapack_complex_double * matrix, int w, int h);  /* Parameters */ #define N 179  /* Main program */ int main() {     clock_t t;     /* Locals */     lapack_int n = N,info;     lapack_int ipiv[N];     lapack_complex_double a[N*N];     lapack_complex_double b[N*N];      FILE* fp1 = fopen("complexNumsLog.txt", "w");      int w = 1, h = 1, h2 = 1, i = 0, j = 0;        for(i = 1; i <= N; i++){         for(j = 1; j <= N; j++){             w = i;             h = i;             h2 = j;              generate_matrix(a, w, h);             generate_matrix(b, w, h2);              // print_matrix(a, w, h);             // print_matrix(b, w, h2);              // getchar();                t = clock();             info = LAPACKE_zgesv(LAPACK_ROW_MAJOR, w, h2, a, h, ipiv, b, h2);             t = clock() - t;              fprintf(fp1, "Matrix A: %3dx%3d ", w, h);             fprintf(fp1, "Matrix B: %3dx%3d ", w, h2);             fprintf(fp1, "%3d milliseconds %2.3f seconds\n",t,((float)t)/CLOCKS_PER_SEC);              /* Check for the exact singularity */             if( info > 0 ) {                 printf( "The diagonal element of the triangular factor of A,\n" );                 printf( "U(%i,%i) is zero, so that A is singular;\n", info, info );                 printf( "the solution could not be computed.\n" );                 getchar();                 exit( 1 );             }         }         printf("%d\n", i);     }     getchar();     exit( 0 ); }   void print_matrix(lapack_complex_double* a, int m, int n) {     int i, j;     for( i = 0; i < m; i++ ) {         for( j = 0; j < n; j++ )             printf( " (%6.2f,%6.2f)", a[i*m+j].real, a[i*m+j].imag );         printf( "\n" );     }     printf( "********************************************\n" ); }    void generate_matrix(lapack_complex_double * matrix, int w, int h){     int i,j;     double r;     for(i = 0; i < w; i++){         for(j = 0; j < h; j++){             r = (rand()%1000 - 500)/100.0;             matrix[i*w+j].real = r;             r = (rand()%1000 - 500)/100.0;             matrix[i*w+j].imag = r;;         }     } }


Rolling count of total transactions over time

I need to get a set of total transactions over time on a weekly interval. Essentially I need a total-transactions-to-date column. When I group by WEEK(Date) I get the amount of transactions for that week, but need to also get the transactions from any time before that week as well.  So let's say I have a table like this:  TransactionID  | Date ---------------|-----------              1 | 8-04-2014              2 | 8-05-2014              3 | 8-18-2014              4 | 8-18-2014              5 | 8-20-2014   I want to have a select statement that would provide me with something like  TotalTransactionsToDate | Week | Year ------------------------|------|------                       2 |    1 | 2014                       5 |    3 | 2014   I am using MySql 5.5.38


Enter password in while scping a file via JAVA code

I am doing scp using below code deployed on server.     String cmd = "scp /'location'/'file' useracc@xxx.xxx.xxx.xxx:/'location'/" ;     Runtime run = Runtime.getRuntime();     Process pr = run.exec(cmd);     pr = run.exec("password");  The file is not being copied. It throws no error. This is deployed on linux server. What should I change ?


I have an javascript object of arrays like,  var coordinates = {      "a": [          [1, 2],          [8, 9],          [3, 5],          [6, 1]      ],           "b": [          [5, 8],          [2, 4],          [6, 8],          [1, 9]      ]  };   but coordinates.length returns undefined. .


How can I add a new field from config inside hook_update_N?

I have to add taxonomy by php code. Taxonomy has to got 2 fields. I added new function to test_taxonomy.install, and it seems to work: function taxonomy_update_8805() {      $config_path = 'modules/feature/test_taxonomy/config/update/';     $source = new FileStorage($config_path);      \Drupal::entityManager()->getStorage('taxonomy_vocabulary')         ->create($source->read('taxonomy.vocabulary.regulation'))         ->save(); }  Added new vocabulary to taxonomy. Content of file: langcode: pl status: true dependencies:   module:     - test_remote_vocabulary third_party_settings:   test_remote_vocabulary:     is_remote: 0 name: 'Test' vid: regulation description: 'Test desc' hierarchy: 0 weight: 0    The problematic part is when i try to add fields to the vocabulary. I created 2 files field.storage.taxonomy_term.field_regulation_test.yml langcode: pl status: true dependencies:   module:     - taxonomy     - text id: taxonomy_term.regulation.test field_name: test_field entity_type: taxonomy_term type: text_long settings: {  } module: text locked: false cardinality: 1 translatable: true indexes: {  } persist_with_no_fields: false custom_storage: false  field.field.taxonomy_term.field_regulation_test.yml langcode: pl status: true dependencies:   config:     - field.storage.taxonomy_term.field_regulation_test     - taxonomy.vocabulary.regulation id: taxonomy_term.regulation.test field_name: test_content entity_type: taxonomy_term bundle: regulation label: TEST description: 'Tekst test' required: true translatable: false default_value: {  } default_value_callback: '' settings: {  } field_type: text_long  But i am not sure how can i load them in update_xxx function. EDIT: I tried     \Drupal::entityManager()->getStorage('taxonomy_term')         ->create($source->read('field.storage.taxonomy_term.field_regulation_abo'))         ->save();              \Drupal::entityManager()->getStorage('taxonomy_term')         ->create($source->read('field.field.taxonomy_term.field_regulation_abo'))         ->save();  but i'm getting Missing bundle for entity type taxonomy_term while trying to update module


Community ♦ user's avatar has changed in question lists

I have noticed that Community ♦ user's avatar had changed yesterday on .   (Not that I mind, but the new avatar is harder to spot because it blends in with other new users' avatars.)  Then I clicked on the avatar to consult the profile, and it was the same old, usual avatar.  So there are two different avatar images: one used in the feed, and one used in the profile.  I guess it's a bug?  I have noticed the same behaviour on Stack Overflow too.     Screenshot of the avatar in the question feeds:        Screenshot of the avatar on the profile:


Prove that a metric space is complete w.r.t. sequences iff it is complete w.r.t. nets!  (The converse is trivial of course!)


when I installed Ubuntu 14.04 I missed some thing on my user name , how to correct it and display it correctly in the terminal.  thanks for help .


Grub resue error insmod normal File not Found

I have a Dual Boot with Windows 7 and Ubuntu. Using Disk Management in Windows, I deleted the Ubuntu partition, but when i restart my computer, I'm getting Grub Rescue Command.   I Tried ls (hd0,msdos6) and when I type insmod normal, it says file not found.


Is "drain the swamp" an idiomatic expression exclusively used by Americans?

Now the expression "drain the swamp" is often heard on TV and the internet,especially during the 2016 US presidential campaign.  The meaning of this expression is not hard to grasp, but I am not sure if it is an idiomatic expression mostly used by Americans.


I invested in a leveraged (x3) ETF but it does not grow as the underlying index. What went wrong?

I invested in Ayalon Extreme S&P 500 which is leveraged S&P. But its graphic does not follow the graphic of S&P. This is S&P which recently improved historic maximum:  And this is the leveraged ETF which did not even reach the level of the last year yet:  I expected it to grow 3x the original index.


Sorry maybe this question already answered. In latex i want to generate table and i'm new in table. I found some cool online tool  i draw my table now i paste to my latex code but it breaks my paper width. Then i google it and find some suggest they suggest \usepackage{tabularx} but i can't figure this out here is my code   \begin{table}[] \begin{tabular}{|l|c|c|l|} \hline \multicolumn{1}{|c|}{Авбал зохих нийт оноо}                                                                        & \multicolumn{1}{l|}{15 оноо} & \multicolumn{1}{l|}{} &                                       \\ \hline  & \multicolumn{1}{l|}{}        & \multicolumn{1}{l|}{} &                                       \\ \hline \multicolumn{1}{|c|}{Гүйцэтгэлийн шалгуур}                                                                      & Үнэлгээний эзлэх хувь        & CLOs хамаарал         &  \multicolumn{1}{c|}{Багшийн үнэлгээ} \\ \hline Хичээлийн ирц/оролцоо                                                                                & 10\%                         & 7,8                   &                                       \\ \hline Хэмжүүрийн тоног төхөөрөмж, програм хангамж ашиглах                                                         & 20\%                         & 7                     &                                       \\ \hline \begin{tabular}[c]{@{}l@{}}Лабораторийн заавар, дарааллын дагуу  хэмжилт, симуляци\\ гүйцэтгэх\end{tabular} & 20\%                          & 8                     &                                      \\  \hline Хэмжилт, туршилт, симуляцийн үр дүнг тохирох аргаар боловсруулах                                            & 30\%                         & 9                     &                                       \\ \hline Лабораторийн тайлан бичилт, хамгаалалт                                                                      & 10\% + 10\%                  & 10                    &                                       \\ \hline \multicolumn{1}{|c|}{Нийт үнэлгээ / хувиар/}                                                                & \multicolumn{1}{l|}{}        & \multicolumn{1}{l|}{} &                                       \\ \hline \multicolumn{1}{|c|}{Нийт үнэлгээ /оноогоор/}                                                               & \multicolumn{1}{l|}{}        & \multicolumn{1}{l|}{} &                                       \\ \hline \end{tabular} \end{table}   i want this table width equals my page width. can you help me sorry for bad english


How to prove $\det(I+uv^\intercal)=1+v^\intercal u$

Let be $u,v\in\mathbb{R}^n$, then $\det(I+uv^\intercal)=1+v^\intercal u $ where $I$ denotes the identity matrix of order $n$. How to prove this?   what I did:   let be $A=\{n\in\mathbb{N}: \forall u,v \in \mathbb{R^n}, \det(I+uv^\intercal)\neq1+v^\intercal u  \} $, and suppose $A\neq \varnothing $, then for the well-orderer-principle there exists $n_0\in A$ such $n_0\leq n,\;\forall n\in A$. since $1\notin A,\; n_0\neq 1 \rightarrow n_0-1\in\mathbb{N}\setminus A  $ so: $$\forall u,v\in\mathbb{R^{n_0-1}}: \det(I+uv^\intercal)=1+v^\intercal u $$ Then, let be $u,v\in\mathbb{R}^{n_0}$, so $$\det(I+uv^\intercal)= \displaystyle\sum_{j=1}^{n_0}(-)^{1+j}a_{1j}\det(A_{1j})$$ where $a_{ij}=\begin{cases} u_iv_j+1 & i=j \\ u_iv_j & i\neq j \end{cases}$, and $A_{1j}$ is the  submatrix of $I+uv^\intercal$ that results deleting the i-file and j-column. Then I try to open the term for $j=1$ and try to use the relation for the new matrix of $n_0-1$ order with the determinant because it holds the same form but I have other terms which difficult me the work. Do you know other method?.  Ps. , in page 2 I've found something similar but I don't understand what it means PS. I'm taking a course of numerical analisys


Normal Matrix with Real Eigenvalues is Hermitian

Let $A$ be a normal matrix. Then I want to show that, if $A$ has real eigenvalues, $A$ is Hermitian. (Notation: * denotes the complex conjugate, T denotes the transpose, and $\dagger$ denotes the conjugate transpose.)  Suppose that $A$ has only real eigenvalues and let $\lambda,v$ be a nonzero eigenvalue-eigenvector pair of $A$. Then we have   $\lambda(v,v)=(v,\lambda v)=(v,Av)=(A^\dagger v,v)$.  $\lambda(v,v)=\lambda^*(v,v)=(\lambda v,v)=(Av,v)$.   Thus, $(Av,v)=(A^\dagger v,v)$ and hence $\sum_i (Av)_i^*v_i=\sum_i (A^\dagger v)_i^* v_i$.   Write this as a matrix product: $(A^*v^*)^Tv=(A^{\dagger*}v^*)^Tv\implies (A^*v^*)^Tv-(A^{\dagger*}v^*)^Tv=0\implies ((A^*v^*)^T-(A^{\dagger*}v^*)^T)v=0$.  Since $v$ is nonzero, we have $(A^*v^*)^T-(A^{\dagger*}v^*)^T=0\implies A^*v^*-A^{\dagger*}v^*=0\implies (A^*-A^{\dagger*})v^*=0$   Since $v$ was nonzero, we have $v^*$ is also nonzero, so $(A^*-A^{\dagger*})=0\implies A^*=A^{\dagger*}$. Thus, we have $A=A^\dagger$ so $A$ is hermitian.  I've seen (, for example) a much simpler proof. However, I can't find where I use that $A$ is normal, but I know that normality is required. Could anyone could point out where I made this assumption or where I've made a mistake?


XeLaTeX and graphicx don't seem to work well

I am having trouble getting the graphicx package to work well when running XeLaTeX on my MAC.  I am including .jpg files; some of them scale very nicely, but others don't.  Here is the MWE  \documentclass[11pt]{book} \usepackage{graphicx} \begin{document} \includegraphics[width=1in]{behistun_photo.jpg} \includegraphics[width=2in]{behistun_photo.jpg}  \includegraphics[width=1in]{graphics/Ishango_IRSNB.jpg}  \includegraphics[width=2in]{graphics/Ishango_IRSNB.jpg}  \end{document}   When I compile using PDFLaTeX, it works just fine.  The images are scaled properly.  When I compile using XeLaTeX, the first jpg file scales properly, but not the second.  In addition, the image in the second one over-writes the lines above.  It seems that it is setting the correct space for the scaled picture, but then inserting a much larger one.


I am having trouble with this integral from the 2012 MIT Integration Bee: $\int\frac{dx}{(1+\sqrt{x})\sqrt{x-x^2}}$

$$\int\frac{dx}{(1+\sqrt{x})\sqrt{x-x^2}} $$  Could someone explain to me how to integrate this integral.  Thank you and cheers.


Out of all the vector norms, the $2$ norm, or the Euclidean norm, seems to be "special". Primarily, I say this because we use the 2 norm as a means of determining the distance from one point to another. But what I don't understand is, why do we use the $2$ norm in particular for this? Why not some other norm?  I realize that the unit disk of the $2$ norm forms a figure whose outer boundary is equidistant from the origin, but the only way (that I can think of) that we make that determination is by using the $2$ norm to measure the distance from the boundary of the unit disk to the origin.  So what is it about the $2$ norm that makes us choose it as the measure of distance from one point to another? What special properties does it have that other norms don't have?


Show unknown characters (????) instead of persian characters when trying make requests with devices with android api 16 and lower

Hi i'm developing an android application in android studio in java that send sign up information to the server, i'm using volley library to make HTTP requests(GET method) and for my server side i'm coding with php to get information from client side. my issue is when i send persian characters to the server by android devices with api 16 or lower the server get requests parameters content like this : ???? , i don't have this problem when i make requests from devices with api 17 and higher  i tried to send sign up information in JSON format but it did not work. my php version 5.3.5 ,mySql 5.5.8 and android studio version 3. this is my android client side code :   private void sendDataToServer() {      SendDataObject dataObject = new SendDataObject();     dataObject.setName(edtName.getText().toString());     dataObject.setFamily(edtFamily.getText().toString());     dataObject.setCodeMelli(edtCodeMelli.getText().toString());     dataObject.setOstan(edtOstan.getText().toString());     dataObject.setID(ID);          String url = SplashActivity.SERVER_IP + "sign_up_users.php?name=" + edtName.getText()             +             "&family=" + edtFamily.getText().toString().trim() +             "&codeMelli=" + edtCodeMelli.getText().toString().trim() +             "&ostan=" + edtOstan.getText().toString().trim() +             "&ID=" + ID;       StringRequest getRequest = new StringRequest(Request.Method.GET, url,             new Response.Listener<String>() {                 @Override                 public void onResponse(String response) {                     if (response.toString().equals("true")) {                          SplashActivity.USER_ID = ID;                          Intent intent = new Intent(SignUpActivity.this, MainActivity.class);                         startActivity(intent);                         setSharedPrefs();                         overridePendingTransition(R.anim.slide_i_left,R.anim.slide_i_right);                     }                     else {                         NoInternetDialog cdd = new NoInternetDialog(SignUpActivity.this);                         cdd.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));                         cdd.show();                     }                 }             },             new Response.ErrorListener() {                 @Override                 public void onErrorResponse(VolleyError error) {                  }             }     );     getRequest.setRetryPolicy(new DefaultRetryPolicy(18000, DefaultRetryPolicy.DEFAULT_MAX_RETRIES, DefaultRetryPolicy.DEFAULT_BACKOFF_MULT));     RequestQueue requestQueue = Volley.newRequestQueue(SignUpActivity.this);     requestQueue.add(getRequest);    }   and my php server side code sign_up_users.php :   <?php     include 'connect.php';       if (isset($_GET["name"]) && isset($_GET["family"]) && isset($_GET["codeMelli"]) && isset($_GET["ostan"]) && isset($_GET["ID"])) {         $name = $_GET["name"];         $family = $_GET["family"];         $codeMelli = $_GET["codeMelli"];         $ostan = $_GET["ostan"];         $ID = $_GET["ID"];             $stmt = $conn->prepare("UPDATE users SET name=:name ,family=:family, validation_status=1, codeMelli=:codeMelli , ostan=:ostan WHERE ID=:ID");          $stmt->bindParam(':name',$name);         $stmt->bindParam(':family',$family);         $stmt->bindParam(':codeMelli',$codeMelli);         $stmt->bindParam(':ostan',$ostan);         $stmt->bindParam(':ID',$ID);         $res = $stmt->execute();          $stmt = null;          if ($res) {             echo 'true';         }         else {             echo 'false';         }      }     else {         echo 'error_parameters';     } ?>


I am using a notebook without a CD burner and want to install Ubuntu. I could use an USB stick as an installation medium but I would like to do something different:   I would like to use my old PC and put the HDD from the laptop into it. Than make this HDD as a installation medium using a Ubuntu DVD (the old PC has a CD burner). In the next step I would like to put the prepared HDD into the laptop and install Ubuntu on the same HDD (from the same HDD). Is something like this possible?


Is there a way to procedurally scatter objects on the ground of my scene?

I would like to have plants, rocks, sticks and other debris scattered randomly on the ground in my scene, but I don't want to have to place it all there by hand. Is there an easy way to do this in Blender?


How long takes store-bought fried tofu to go bad?

According to expiration date in the package it only takes a week. Maybe it can keep for longer?


Understanding connection between terms tautology, contradiction, contingent, satisfiable, unsatisfiable, valid and invalid

Couple of days back I asked  question. And after reading comments and answer there, even though I knew the definitions of the different terms (tautology, contradiction, contingent, satisfiable, unsatisfiable, valid and invalid) involved, I was quick to realize that I dont know a lot of subtleties, especially connection between these terms. I didnt find one place discussing all these connections. So I spent some time reading comments and answers on that and other linked post and come up with some understanding which I have put below and want your confirmation for it.     First some quick definitions (you may skip this as this super basic. I have put it to avoid any possible ambiguity):         Tautology: a formula that is true in every possible interpretation   Contradiction: a formula that is false in every possible interpretation   Satisifiable: a formula that is true under at least one interpretation   Unsatisfiable: a formula is unsatisifable if it is contradiction   Valid: a formula is valid if and only if it is true under every interpretation   Invalid: a formula is that is false under at least one interpretation      Doubt  Now to get hold of the connection between all these terms. I prepared below figure:    Next as stated in  comment, "Not a typeX" has two meanings: (1) "The negation of a typeX" and "Not a statement that can be categorized as a typeX".   So, with this in mind, I came up with following relations:   $¬$ tautology $=$ $¬$ valid $=$ contradiction $=$ unsatisfiable $¬$ contradiction $=$ $¬$ unsatisfiable $=$ tautology $=$ valid Not a tautology $=$ not a valid $=$ invalid $=$ can be either contradiction or contingent Not a contradiction $=$ not an unsatisfiable $=$ satisfiable $=$ can be either tautology or contingent $¬$ satisfiable $≠$ (unsatisfiable $=$ contradiction) $=$ invalid $=$ can be contradiction or contingent  $¬$ invalid $≠$ (tautology $=$ valid) $=$ satisfiable $=$ can be tautology or contingent Not an invalid $=$ valid $=$ tautology Not a satisfiable $=$ unsatisfiable $=$ contradiction   Above,    $\neg$ means "negation" (or I dont know if it will be more correct or will add more sense if I say a "Boolean negation") "Not a TypeX" means statement "cannot be categorized as TypeX" $=$ simply means "is" $\neq$ simply means "is not"   I know these are pretty much basic stuff but was source of a lot of confusion for me and I wanted all these related things noted down at one place in correct way. Can anyone confirm if above bullet points and figure are correct?


I've been trying to understand in a more formal way what a set actually is, but I have some questions. According to the axiom of regularity for every non-empty set A there exists an element in the set that's disjoint from A. That would mean that such element is also a set, right?   I read here:  , that in axiomatic set theory everything is a set, I understand that natural numbers are constructed from the empty set, integers are constructed from the naturals, rationals from the integers, and reals from the rationals. I can see how every element in such sets is also a set. But, for example, in the set of all the letters of the alphabet, or the sample space of an experiment when the possible results are not numbers, or the set of my classmates; it's not clear to me how their elements are also sets. So, are they really sets? Is every element in a set also a set?  Thank you


Simplify this equation if $x$ is negative

I am trying to simplify $7 \cdot\sqrt{5x}\cdot\sqrt{180x^5}$, given that $x$ is negative. The answer is $-210x^3$, but I am getting $210x^3$. Below is my reasoning:  For a $ k > 0 $, let $ k = - x $. Then, $7\cdot\sqrt{5x}\cdot\sqrt{180x^5}$ = $7\cdot5\cdot6\cdot i\sqrt{k} \cdot i\sqrt{k^5}$ = $210\cdot(-1)\cdot k^3$ = $ 210 \cdot (-1) \cdot k^3 = 210\cdot (-1) \cdot (-x)^3 = 210x^3$.  What am I doing wrong?  Any help is greatly appreciated


Is $\textbf{MAN}$ a full subcategory of $\textbf{LRS}$?

Let MAN be the category of differentiable manifolds with smooth maps as morphisms. Let LRS be the category of locally ringed spaces. Now I know that there exists a functor $\textbf{MAN}\to\textbf{LRS}$ that associates $$   M\mapsto(M, C^\infty) $$  where $ C^\infty$ is the sheaf of smooth functions  on $M$. My question is whether this functor is fully faithfull, that is, given a morphism of locally ringed spaces  $$   (M, C^\infty)\to(N, C^\infty) $$ then is the associated function $M\to N$ smooth? I know that we will have to use that the induced map at stalks is local at some point, but I can't see how.


When I select the Mesh (scaled by empty), hit Alt+P choose "Clear Parent and Keep Transformation", it clears parenting, but transformation is not kept.  Is there any visible reason why the operator is not working on this specific model (blend file, collection 02)? What kind of hidden setup can cause this issue?  For now it seems like different rotation (mesh and empty), cause the issue. If empty and mesh is the same rotation (collection 01 and 03) Alt+P works fine. Since Empty is rotated it fails (see collection 02).


A normal subgroup $H$ of $G$, $[G:H] = n$

Let $H\triangleleft G$, and H is a subgroup of G such that $[G:H] = k$, where $[G:H]$ states the number of left cosets of $H$ in $G$.  1) How may I show that for all $a\in G, a^k\in H$?  2) If we do NOT assume the normality of $H$, can I have any counterexample showing that 1) is not true?


The situation:  Writing a function in php with PHPMailer for sending account activation mails for a website.  The problem:  All my mails goes straight into the spam folder instead of inbox. Only gmail-adresses recieve my mails correctly.   My code:  <?php   /******************************************************************************************************************************** File:   sendmail.php Author: Burtscher Florian Date:   02.02.2017 Description:     This file contains the sendmail functions for mailing noreply messages to EmailClients. ***************************************************************************************************************************/  require 'PHPMailer-master/PHPMailerAutoload.php';   $result = sendmail('asdf','asdf','asdf','asdf');  if(!$result){    echo $result; }   function sendmail($to,$subject,$message,$name){   $mail = new PHPMailer;    //$mail->SMTPDebug = 3;    $mail->isSMTP();    // Set mailer to use SMTP   $mail->Host = 'smtp.world4you.com';                //'smtp1.example.com;smtp2.example.com';      // Specifay main and backup SMTP server    $mail->SMTPAuth = true;                                                                    // Enable SMTP authentication   $mail->Username = 'activation@scritex.com';   $mail->Password = '*************';   $mail->SMTPSecure = 'tls';   $mail->Port = 587;                                                                   // TCP port to connect    $mail->setFrom('activation@scritex.com', 'Activation');   $mail->addAddress('mytestmail1111@dkimvalidator.com', 'Florian Burtscher');         // Add a recipient   $mail->addReplyTo('activation@scritex.com', 'Office');                              // Add Reply To    $mail->isHTML(true);    $mail->Subject = 'Here is a Subject';   $mail->Body = 'This is the HTML message body <b>in bold!</b>';   $mail->AltBody = 'This is the body in plain text for non-HTML mail clients';    $mail->DKIM_domain = 'scritex.com';   $mail->DKIM_private = '.htkeyprivate';   $mail->DKIM_selector = 'dkim11';   $mail->DKIM_passphrase = '1486107933';    if(!$mail->send()){     return $mail->ErrorInfo;   }else{     return true;   } } ?>   Result:    I don´t have any idea what to do. Anyone who knows this problem?  All my mails goes at hotmail, outlook, yahoo, gmx, aon, msn to spam!


We used to be able to do [faq#how-to-ask], what's the alternative with the new Help Center?

Say I want to refer a user to , With the older, [faq] syntax, I could have done it easily using a hash after the word "FAQ":     Please check the [faq#how-to-ask]   How can I do the same with the new Help Center? Do I have to post a full [description](link) form? Or is there a better way?


How to show that $\lim\limits_{x \to \infty} f'(x) = 0$ implies $\lim\limits_{x \to \infty} \frac{f(x)}{x} = 0$?

I was trying to work out a problem I found online. Here is the problem statement:     Let $f(x)$ be continuously differentiable on $(0, \infty)$ and suppose $\lim\limits_{x \to \infty} f'(x) = 0$. Prove that $\lim\limits_{x \to \infty} \frac{f(x)}{x} = 0$.    (source: )  The first idea that came to my mind was to show that for all $\epsilon > 0$, we have $|f(x)| < \epsilon|x|$ for sufficiently large $x$. (And I believe I could do this using the fact that $f'(x) \to 0$ as $x \to \infty$.)  However, I was wondering if there was a different (and nicer or cleverer) way. Here's an idea I had in mind:  If $f$ is bounded, then $\frac{f(x)}{x}$ clearly goes to zero. If $\lim\limits_{x \to \infty} f(x)$ is either $+\infty$ or $-\infty$, then we can apply l'Hôpital's rule (to get $\lim\limits_{x \to \infty} \frac{f(x)}{x} = \lim\limits_{x \to \infty} \frac{f'(x)}{1} = 0$).   However, I'm not sure what I could do in the remaining case (when $f$ is unbounded but oscillates like crazy). Is there a way to finish the proof from here?   Also, are there other ways of proving the given statement?


Ordinary generating function for Bernoulli polynomial

I know the exponential generating function for the Bernoulli polynomial $B_n(x)$:$$\frac{te^{tx}}{e^t-1}=\sum_{n=0}^\infty B_n(x)\frac{t^n}{n!}.$$ But is there an ordinary generating function? i.e a function $f$ such that $$f(t,x)=\sum_{n=0}^\infty B_n(x)t^n$$ valid for some open interval of $x$ and some open interval of $t$.


Should the tags a potential moderator is active in matter?

there are certain tags where the current moderators, as a group, are not, currently, "active". Active being defined as all moderators, as a group, have posted more than 30 questions or answers in the past year. Disclaimer: Obviously this doesn't disqualify the current moderators from being able to act in an appropriate manner on other tags and I'm fairly certain they would be asking and answering less now that they have to deal with all the flags. It's also not to say that the current moderators don't know more than the nominees about these tags; just that they haven't been posting much in them recently. However, there are a number of common tags where the current nominees, as a group, are active and the current moderators are not. Notably the following:  TagName        Nominees -------------- --------  database       41        performance    25        vb.net         78        image          31        json           56        visual-studio  22        android        165       asp.net-mvc-3  62        c              86        silverlight    22        xcode          22        ajax           81        asp.net-mvc    54        multithreading 28        c++            238       facebook       258      When joined against the current list of nominees this list returns everyone! Which was a little surprising but a great indication of the diversity of the nominees.  (making it look really awful) there are several nominees who are individually "active" in tags that the current moderators are not (in no particular order)                                  ,                            ,   Does any of this matter? Is it wiser to have moderators that add to the collective knowledge of the current ones? Even taking this into account there's still some noticeable "gaps" in both the current moderators and the nominees "expertise" Second disclaimer: I actually intend on casting one of my votes for someone not on this list so I'm going to partially ignore it!


DELETE FROM sys.dm_tran_active_transactions safe?

Long story short I've got my local development machine into a bit of a mess with MSDTC and I have the horrible red arrow in DCOM. I have an application that uses MSDTC and MSMQ, and it's got itself stuck. Just to be clear, the SQL Server instance is Express and it is running on my machine. Everything is local to my machine is this case for my development purposes. I have uninstalled MSDTC, MSMQ and then reinstalled MSDTC and reset the log and then installed MSMQ again, however the issue remains. Clicking on COM+ gives the following error:  Delving into MSDTC I can see no active transactions, but curiously the summary totals show 5 transactions, even though none are in the list:  Moving over to SQL Server, the following commands all return no rows:  SELECT @@trancount DBCC OPENTRAN SELECT XACT_STATE()  However, the last query against sys.dm_tran_active_transactions returns 5 rows:  It looks like my machine was in the middle of a debugging session, I left it running and then early in the morning, my machine rebooted. I would like to remove these orphaned transactions, but I'm not sure how. Can I just DELETE FROM sys.dm_tran_active_transactions without any negative impact so I can go back to using MSDTC without issues.


Is there such a thing as a "Javascript context" in C#

If I was looking at the following code as Javascript code, it would make sense...but how is it that the call action() in Main doesn't yield a NullReferenceException for i?  Did the Action grab a JavaScript context like thing?  Thanx in advance to all.  public class Program {     static void Main(string[] args)     {         var p = new Program();         var action = p.method();         action();         Console.ReadKey();      }      public Action method()     {         var i = 6;         Action action = () => Console.WriteLine(i);         i++;         return action;     }  }   OUTPUT>>7


R/mgcv: Why do te() and ti() tensor products produce different surfaces?

The mgcv package for R has two functions for fitting tensor product interactions: te() and ti(). I understand the basic division of labour between the two (fitting a non-linear interaction vs. decomposing this interaction into main effects and an interaction). What I don't understand is why te(x1, x2) and ti(x1) + ti(x2) + ti(x1, x2) may produce (slightly) different results.  MWE (adapted from ?ti):  require(mgcv) test1 <- function(x,z,sx=0.3,sz=0.4) {    x <- x*20  (pi**sx*sz)*(1.2*exp(-(x-0.2)^2/sx^2-(z-0.3)^2/sz^2)+              0.8*exp(-(x-0.7)^2/sx^2-(z-0.8)^2/sz^2)) } n <- 500  x <- runif(n)/20;z <- runif(n); xs <- seq(0,1,length=30)/20;zs <- seq(0,1,length=30) pr <- data.frame(x=rep(xs,30),z=rep(zs,rep(30,30))) truth <- matrix(test1(pr$x,pr$z),30,30) f <- test1(x,z) y <- f + rnorm(n)*0.2  par(mfrow = c(2,2))  # Model with te() b2 <- gam(y~te(x,z)) vis.gam(b2, plot.type = "contour", color = "terrain", main = "tensor product")  # Model with ti(a) + ti(b) + ti(a,b) b3 <- gam(y~ ti(x) + ti(z) + ti(x,z)) vis.gam(b3, plot.type = "contour", color = "terrain", main = "tensor anova")  # Scatterplot of prediction b2/b3 plot(predict(b2), predict(b3))   The differences aren't very large in this example, but I'm just wondering why there should be differences at all.  Session info:   > devtools::session_info("mgcv")  Session info  -----------------------------------------------------------------------------------  setting  value                         version  R version 3.3.1 (2016-06-21)  system   x86_64, linux-gnu             ui       RStudio (0.99.491)            language en_US                         collate  en_US.UTF-8                   tz       <NA>                          date     2016-09-13                     Packages      ---------------------------------------------------------------------------------------  package * version date       source          lattice   0.20-33 2015-07-14 CRAN (R 3.2.1)  Matrix    1.2-6   2016-05-02 CRAN (R 3.3.0)  mgcv    * 1.8-12  2016-03-03 CRAN (R 3.2.3)  nlme    * 3.1-128 2016-05-10 CRAN (R 3.3.1)


Q & A style  A question for High school students (Calculators not allowed !): Is $512^3+675^3+720^3$ a composite number?  I am posting this in Q & A style. Any suggestion will be appreciated.


Transiting in the UK, going to US with valid visa

I am a Swaziland Citizen travelling to the USA with a valid VISA to enter USA and will be transiting through Landon Heathrow to connect flight to USA, Do I need a transit visa ? If is important I am travelling on British Airways.


How to remove unused blocks of code from a source code file?

Let’s suppose I have a bunch of source code files (C or Delphi, i.e., *.c or *.pas). I want to purge them of blocks of text which are not used in the compilation. Those blocks are:   Comments. They can be removed with regexp. (But, for example, Delphi uses the preprocessor directives which look like comments (“{ is it a comment or a directive? }”), so the regexp would not be trivial.) But the most tricking part is the blocks of code which are excluded from the compilation with #ifdef. These blocks have to be removed too.   So, the question is: “Is there a way to do it with some program or script?” Let’s suppose there is a program that can be given a source code file and a list of defined symbols to distinguish unused blocks of code, and it would spit out the cleansed file I want to get.


Auto Switch DB to primary back (persistent mode?) when available in a High Availability Always On settings

We have Always On Availability Group settings, and we have a preferred DB that needs to be in primary all the time even after it reboots.   Once a month or so, these 2 servers DB1 and DB2 reboot for upgrade/updates, however whichever come back online first becomes the primary with HA on, but we prefer to always set DB1 as primary when it comes back online no matter what.  Are there any configs for this, or should we create a trigger?   Thank you


How to get perfect UV sphere Mercator projection?

I'm trying to unwrap a UV Sphere and I can't seem to get a perfect  projection. What process should I follow to get a perfect UV unwrap that looks like the black grid lines in this image?:


Is there a simple proof that if $(b-a)(b+a) = ab - 1$, then $a, b$ must be Fibonacci numbers?

Consider the identity $(b-a)(b+a) = ab - 1$, where $a, b$ are nonnegative integers.  We can also express this identity as $a^2 + ab - b^2 = 1$.  This identity is clearly true when $a = F_{2i-1}$ and $b = F_{2i}$, where $F_i$ is the $i^{th}$ term of the Fibonacci sequence. This is equivalent to one case of Cassini's identity, $(F_{2i-1})(F_{2i+1}) = F_{2i}^2 + 1$, and is easily proven by induction or several other simple elementary means.  My question is this: Is there a simple elementary proof that these Fibonacci numbers are the only solutions of this identity?  By simple elementary proof, ideally I mean a proof using methods and steps that a mathematically gifted high school student could follow and understand. Alternatively, I could define it as a proof using methods that would have been known to mathematicians in Cassini's time, in the late 17th century. In other words, I am looking for a proof that does not rely on more advanced methods such as quadratic number fields or generalized solutions of Pell equations.


Why doesn't pgfplot take the normal font for ticks?

I have libertine as my base font. While using pgfplots to plot a graph, the axis labels do appear in the base font, but the tick label numbers revert to default computer modern. I have tried using tick label style={font=\normalfont} but no avail. How can I get the base font of the document on the tick label numbers? MWE \documentclass{article}  \usepackage{libertine}  \usepackage{pgfplots}  \begin{document}  \begin{tikzpicture} \begin{axis} [xlabel={Time 123(s)} ,ylabel={Distance (in)}, tick label style={font=\normalfont}] \addplot [red,mark=*,line width=1.pt] coordinates { (1,0.25) (2,1) (3,2.25) (4,4) (5,6.25) (6,9) }; \end{axis} \end{tikzpicture}   \end{document}


Can every true theorem that has a proof be proven by contradiction?

After reading and being inspired by,  and after some thought, I still don't have an answer to this.  Does every theorem with a true proof have a proof by contradiction?


How to print c for cos and s for sin in latex math

I have very long trigonometric formulas in latex. I want to print only s instead of printing complete sin in the latex document. same for the cos. Is there any way ?


I am having a problem getting the results back from a WMSGetFeatureInfo call to my GeoServer. Using OpenLayers 2.12, GeoServer 2.4.0, Windows Server2008, and Microsoft IIS 7.5 with Application Request Routing Cache and URL Rewrite. I do NOT use a proxy because I use URL Rewrite. The URL Rewrite takes my incoming requests and formats them to avoid the cross domain/same origin problem.   I have been successfully querying WFS data using this setup for 2 years but when I try to use the WMSGetFeatureInfo it fails.  Here is my process:   I serve multiple WMS layers from GeoServer to my web page. The user selects a WMS layer from a dropdown. This sets the variable "selLayer" so my WMSGetFeatureInfo call is pointing at the layer the user wants to get information about. When the user clicks on the layer it fires this code which creates a OpenLayers WMSGetFeatureInfo control with an event listener that should accept the return text & xmlHttp request and display them in a div.  :        var infoControl = new OpenLayers.Control.WMSGetFeatureInfo({          url: 'http://xx.xx.xx.xx:8080/geoserver/wms',          title: 'Identify features by clicking',          layers: [selLayer],          queryVisible: true,          //eventListeners: { getfeatureinfo: function (event) { alert("TEXT: " + event.text + ", XY: " + event.xy + ", REQUEST" + event.request + ", FEATURES: " + event.features); } }           eventListeners: { getfeatureinfo: function (event) {              document.getElementById("divAttributes").innerHTML = event.text + "Test Text";              alert("PUT TEXT HERE!!!");          }           }      });        map.addControl(infoControl);      infoControl.activate();   But, when the script runs I do not get return values for the event.text. When I run this in FireFox (with FireBug) I can copy the GetFeatureInfo request into a new browser window and I get the desired return values.  So my question is: Why am I not getting the return values when I run this on my map webpage but I do get results by posting the request into a new browser window.


Shared preferences null pointer exception on Activity close

I have the following code:   public void refresh(){         View rootView=getView();         final SharedPreferences pref = this.getContext().getSharedPreferences("MyFav", 0);         final SharedPreferences.Editor editor = pref.edit();         Map<String,?> entries = pref.getAll();         final Set<String> keys = entries.keySet();}   This function is inside a fragment and I am calling it from Activity as follows:-  public void onBackPressed() {         super.onBackPressed();         FavLegislator fav =new FavLegislator();         if(frag.equals("true"))             fav.refresh();         finish();     }   The shared preferences might have changed in the Activity. I just want an updated list of preferences when the Activity closes.  I am getting the following error on the back button press of Activity:  11-27 10:06:24.126 31645-31645/com.app.congress.congressapp E/AndroidRuntime: FATAL EXCEPTION: main Process: com.app.congress.congressapp, PID: 31645 java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.SharedPreferences android.content.Context.getSharedPreferences(java.lang.String, int)' on a null object reference   at com.app.congress.congressapp.FavLegislator.refresh(FavLegislator.java:85)   at com.app.congress.congressapp.legislator_info.onBackPressed(legislator_info.java:466)   at com.app.congress.congressapp.legislator_info.onOptionsItemSelected(legislator_info.java:454)   at android.app.Activity.onMenuItemSelected(Activity.java:2912)   at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:361)   at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:147)   at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:100)   at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:100)   at android.support.v7.widget.ToolbarWidgetWrapper$1.onClick(ToolbarWidgetWrapper.java:194)   at android.view.View.performClick(View.java:5201)   at android.view.View$PerformClick.run(View.java:21163)   at android.os.Handler.handleCallback(Handler.java:746)   at android.os.Handler.dispatchMessage(Handler.java:95)   at android.os.Looper.loop(Looper.java:148)   at android.app.ActivityThread.main(ActivityThread.java:5443)   at java.lang.reflect.Method.invoke(Native Method)   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)   Can some one please let me know why I am getting the above error and how to fix it?


CloudPages - Link in email pre-populates form

We want to send an email to our users that asks them to sign up for a webinar. The email will be sent from MC and the form will be on a CloudPage.  Is it possible for the user to click a link in an email and have it pre-populate an email field on a CloudPage?


How to cut a piece off a mesh using another mesh/edge as the cut shape

I want to cut off the bezier curve mesh so it has the same shape as the circle on which it is placed but i can't figure out what tool to use. I tried the boolean modifier but this didn't work. I need to keep vertices on top so i can fill the face later. Any help is much appreciated.


Why are my converted CMYK blacks coming out grey?

I'm having a rather annoying problem! I have RGB images made in Photoshop that I need to convert to CMYK.  When I save the file my black background is converted to a light grey! I tried deleting my background and adding a pure black background in my PSD file but even that comes out grey! There is no way to save black? The colors all look fine in Photoshop, it's just when I save them as TIFF/JPEG.  How can I prevent this?


Correlation among different industries of the stock market

It is known that many sectors/industries within the stock market are correlated with each other. For example, using VIF as a measure of correlation, I have the following result:  Sector  ENERGY   CONSUMER STAPLES   CONSUMER DISCR   MATERIALS   INFORMATION TECH   INDUSTIRALS   HEALTH CARE   FINANCIALS   UTILITIES   TELECOM SVC  VIF    2.937214     4.268179      10.755497        6.150606     5.023864           14.064349       2.795279      6.054236     2.985639     3.360512   As you can see, VIF for most industries are greater than 5. I was just wondering if  1) there exists data for the uncorrelated sectors  or  2) there eixsts a way to extract the "pure" part of a given return stream which is uncorrelated with other parts. I am not even sure if it's possible.


drupal overlay text when you hover over the image views

I have the content type with image, title and text fields. I deduce views. I want to hover over the image appear the title and text field and a button with link. Example  portfolio section  how to do it?


How do I write x like this? (vector, linear algebra)

How do I write x like this (left-hand side of the equation)?  As you see it must be a notation for a vector in linear algebra. Is this notation commonly used? Or it's author's preference to use this notation?


Need linebreaks in some columns of a wide table

I am trying to create linebreaks in some of the cells of my table, since I have long sentences and the table doesn't fit on an A4 page. How to let LaTeX choose the linebreaks?  Here is my code   \begin{table}[hbt] \centering \begin{tabular}{lllllll}     \toprule     &  Raumgewicht $\gamma$'$_m$ and [$\frac{kN}{m^3}$] &Reibungswinkel $\phi$'$_m$[]& Kohäsion c'[] & M$_E$-Wert []& N$_SPT$ [] & k-Wert []  \\     \midrule     Auffüllungen/Deckschicht& 18& 27 & 0 & 10* & 17 & -\\     Rückstausedimente nicht vorbelastes& 21 & 28 & 10 & 10 & 15 & $5\times10^-8$ - $1\times10^-6$ \\     Rückstausedimente vorbelastet & 22 & 32 & 10 & >50 & 91 & $5\times10^-8$ - $1\times10^-6$ \\     Moräne & 22 & 36 & 5 & >50 & >100 & $1\times10^-8$ - $5\times10^-6$\\     \bottomrule \end{tabular} \caption{Bodenkennwerte} \label{tab:Bodenkennwerte} \end{table}   My preamble is  \documentclass[12pt,a4paper]{scrartcl} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{booktabs} \usepackage{stackengine} \usepackage[top=3cm, bottom=2.5cm, left=2.5cm, right=2.5cm, footskip = 1cm]{geometry} \usepackage{hyperref}


Do you stop getting helpful flags once you can vote to close?

I noticed that once I hit 3,000 rep and could vote to close I seemed to stop getting helpful flags. The behavior is different too. Before I would flag a post for being non-constructive or whatever, then eventually I would get a +1 for being helpful. Now, what happens is when I try to flag a post I get a "Vote to Close" button instead, and after clicking it, a "Your vote to close has been recorded." message. More significantly, my "moderator flags" count does NOT increase.  So, what is the story here? People who can vote to close no longer get credit for helpful flags?


I am working on a simple project in C where I encountered this statement in one of the tutorials.  int i = 1 << 2 ;      What does this statement actually do?


Story identification: Make your own human kit (short story, circa 1950's)

There is a short story circa 1950's with the following plot: the main hero (young men) gets (maybe via a post) a kind of do-it-yourself kit that allows one to create various life-forms including human. He starts with simple life-forms then tries to create more difficult ones. Finally he decides to use the kit to create a copy of a girl who he loves (she doesn't love him). To prepare better, he decides to create first his own copy. When he creates a copy, an officer appear and explains that the kit was delivered by mistake and it belongs to a different time. So he decides to get back the kit and kill a copy. However, the copy claims that it is the original and the officer believe the copy, thus killing the original hero.  I read it about 15 years ago in Russian translation (I believe it's a short story by American author), most probably in a series of other short stories. However, now I wasn't able to find this story using search engines neither in Russian nor in English.


Which generation does Pokemon Go base its move type effectiveness on?

Only generation-I Pokemon are available, however it seems that the types which did not exist in Gen-I do exist in Pokemon Go (e.g. Dark type moves).   So I'm wondering which type chart the game is using for move effectiveness.    According to Bulbapedia, in Gen I Bug attacks were super-effective against Poison, but in Gen II-V Bug attacks are not very effective against Poison. What is it in Pokemon Go? Similarly, in Gen II-V Ghost attacks are not very effective against Steel, but in Gen VI Ghost attacks are normal effective against Steel. Does anyone have a Magnemite, is it Steel type? Does it resist Ghost? Does STAB exist in this game?


Are the new Marvel Star Wars comics Legends canon?

Has there been any word on what level of canon the new Star Wars comics being produced by Marvel are?    Specifically, are they in continuity with the new movies and the Rebels TV show or are they considered part of the Legends canon?


I am inserting posts programmatically using wp_insert_post. A typical call would look like this:  $news_item = array (     'post_title' => $titleField,     'post_content' => $retrieve_result['content'],     'post_status' => 'pending',     'post_author' => $user->ID,     'post_type' => 'post',     'post_date_gmt' => $post_date_gmt );  $post_id =  wp_insert_post( $news_item );   My question is about the parameter post_date_gmt, is this a correct use? Should I use post_date instead? What value is displayed on the screen? I need explanation of both. Documentation does not offer much.  Thanks.


Configuring TCP keep_alive with boost::asio

Both Linux and Windows support TCP keep-alive packets. They can be activated and configured with (system-dependent) setsockopt calls, see e.g.  for the Linux case. When using boost::asio there appears to be support for keep-alive messages, see . However that page only covers activating it. In several new responses to an  it was pointed out that Boost has recently added the means to configure timeouts on operations (which obviates the need for setsockopt and #ifdef code-branches for different systems). However, a  still suggests calls on the native sockets.  My question is: How can I configure the time interval and timeouts of keep-alive packets using boost::asio?


I play football (soccer) for my community traveling team. Our usual ball handling exercise is getting the ball around a course of cones.  What other ways can I improve my ball handling abilities?


How do I access the 360 guide while on XB1?

With Rare Replay, it includes the 360 versions of some games to "show off" the Backwards compatibility in action. I can get 360 style notifications and achievements, but pressing the xbox button brings me to the XB1's home instead.  How do I get the 360 guide to show up? It was advertised as being able to do so.


Waiting list and confirmation for trains in India

I've booked a ticket to Belgaum for today but it shows WL/44.  Does that mean I'm on a waiting list? Should I cancel the ticket or go to railway station and check?


Hollow every one,  Iam beginner in latex. I have a problem when I build my pdf with latex. The following message error is always displayed: Latex error: file 'tabu.sty' not found or enter new name.< default extension: sty>  any help will be appreciated  thanks


algebrainc proof for $\alpha\beta \leq \frac{\alpha^p}{p} + \frac{\beta^q}{q}$ for conjugate exponents p and q

I found a very informal proof (geometric one, for by taking $\alpha$ as $\beta$ in the x-axis and y-axis and showing rectangle area is smaller than area under the plots).  Is there a proper algebraic proof for the inequality ?  $$ \alpha\beta \leq \frac{\alpha^p}{p} + \frac{\beta^q}{q} $$ where $\alpha, \beta > 0$ $$ \frac{1}{p} + \frac{1}{q} = 1 $$


I imported an OSM file into a Postgres DB using the Osmosis tool. Now, I need to extract some data but I can't find any schema description (I'm really a newbie in GIS).    Where can I find it?   Do you know if there is a tutorial to learn how to query an Osmosis Postgres DB?  I need to extract the names of all streets available within a given bounding box.   How can I do that?


Best compression tool for full disk imaging that can saturate a USB 3 connection on low-powered machines?

I often work on full disk images, I often need to read and write full disk images on not so capable laptops using a USB-3 disk as my temporary medium.  Duplicating a raw image is probably the fastest way, but I have to deal with limited storage space available.  What I need is high throughput and low CPU usage - compression ratio is not that important for me.  I'd like to have a tool that can very lightly compress the images created - mostly encoding empty space on the disk so that I can only store useful data, while making it as fast as possible - hopefully almost as fast as a raw dd duplication.  I tied to use pxz -1, as it can use multiple CPU cores to speed up the compression, hoping for the fastest compression to still be useful. That doesn't however seem to be as fat as I'd like.  Compressing a 500 GB disk image was estimated to take 21 hours:  mint Backup # dd if=/dev/sda bs=100M | pv -ptera -s500G | pxz -1 > Lenovo-Win8-sda.dd.xz 0:09:21 [9.26MiB/s] [6.54MiB/s] [>            ]  0% ETA 21:34:46   No compression at all predicted 3 hours to complete the imaging:  mint Backup # dd if=/dev/sda bs=100M | pv -ptera -s500G > Lenovo-Win8-sda.dd 0:00:20 [80.2MiB/s] [49.8MiB/s] [>           ]  0% ETA 2:50:20   Using lbzip2 -1 for compresson seems to be slightly faster than pxz -1 with ETA at 15 hours, which is still very slow.  mint Backup # dd if=/dev/sda bs=100M | pv -ptera -s500G | lbzip2 -1 > Lenovo-Win8-sda.dd.bz2 0:00:22 [9.07MiB/s] [9.76MiB/s] [>             ]  0% ETA 14:33:38   Are there any faster compression tools for Linux?


Is it possible for random quantum fluctiations in the Universe to cause a new Big Bang before the death of the Universe?

I have read in some distant future predictions that after some years(numbers like 101500 years) random quantum fluctuations could produce a new Big Bang.  Is that possible, and is it possible now, or certain conditions must be met?  Many sources also state that after that much time there will be only subatomic particles left in the Universe, and if a new Big Bang doesn't happen it will end in heat death scenario(permanent end)?


Sam Weller in The Pickwick Papers: What accent is Dickens portraying?

In Dickens' Pickwick Papers, there's a character "Sam Weller". Weller's dialogue is written somewhat phonetically, I presume, but I'm struggling to understand what accent Dickens is trying to portray. The main peculiarities of Weller's speech are using "v" where there should be a "w" and a "w" when there should be a "v". For example, he says "wery" instead of "very" and "avay" instead of "away". Weller is supposed to be from London, but this doesn't seem like any kind of London accent I've heard. Is this a particular archaic accent?  More importantly, what is Dickens telling us about Sam Weller by having him speak like this?


VirtualBox Ubuntu 14.04 - vboxclient the virtualbox kernel service is not running

I've installed VirtualBox (with Ubuntu 14.04 Desktop) and Guest Additions on my Windows 7 machine.  Every time it boots up I get the following error message which goes away:  vboxclient the virtualbox kernel service is not running. exiting.   How can I disable this message? I've tried the following:  I deleted /etc/xdg/autostart/vboxclient.desktop file.  But I am still seeing the message when logging in.  Any suggestions on how to fix this?


The IF statement parameter dimensional x in BASH script

I have found this in an old script but can't tell what is the use of the "x" infront of the ${VARIABLE}  and infront of the value "onx" being compared VARIABLE="${VARIABLE:-"on"}" if [ "${VARIABLE}x" != "onx" ]  Are there any effects if the x is removed?


Why should we expect stocks to go up in the long term?

I have read in many personal finance books that stocks are a great investment for the long term, because on average they go up 5-7% every year. This has been true for the last 100 years for the S&P500 index, but is there reason to believe this trend will continue indefinitely into the future?  Look at other markets. The  trades much lower today than the same day 10 years ago, and the  has not grown for the last 20 years. Is the standard assumption of 5-7% growth true only for American stocks?  Can we expect the trend for the S&P500 to continue? The last 100 years have been a period of economic prosperity for the US, so it's no surprise that stocks have done so well, but is economic prosperity required for such stock growth?


Say I’ve got a list ls = [1,2,3,4,5,6]  And I’d like to get this result: res = [[1,2],[3,4],[5,6]]  What’s the cleanest way to go about this?


trigger quotepotential on Quote_Line_Item__c (after insert) {     list<batch__c> b=[select batch_value__c from batch__c  ORDER BY  batch_value__c DESC LIMIT 1];   if(!b.isempty()){       list<Quote_Line_Item__c> quotelineitem=new list<Quote_Line_Item__c>();         for(Quote_Line_Item__c quoteline:trigger.new){                   quoteline.max_batch__c=b.batch_value__c;                   quotelineitem.add(quoteline);              }     } }   : Compile Error: Initial term of field expression must be a concrete SObject: LIST at line 6 column 24


I have an html page:-

Info

View Details
   My Jquery code is:-                    $("#ViewTable").on('click', function (e) {                  $('.modal-footer .btn-danger').prop("disabled", true);                });   My above code is not working can anybody tell me why?


trouble with adding a logo on a material

I have issues to put a logo on a surface that already has a material and it make a pink color that blend with the transparency but on the right on the preview we can see the résulte that i want. It's only for one face of the 6 so i duplicate the material for one face and and the image on the new material, add the image on the uv editor and unwarp the face.


Do Time Lords choose if they physically age over time or not?

In Doctor Who, season 6, we find out some more information regarding how Time Lords age. One of which is that Melody Pond (River Song) grew up alongside her mother and father and ages at the same rate as a normal human, but we could account this to her being half human.  Earlier in the same season (Episode 1, Season 6), we see The Doctor at age 1103, 195 years older than the last time Rory and Amy saw him (at the age of 908) suggesting that a full-Time Lord can physically not age. But if we look at older episodes such as Season 3, Episode 13, The Master ages the doctor by 100 years and his physical appearance changes.  Do Time Lords physically age depending on certain factors such as they age 1 year for every 10 human years for example, or are there other factors in play?


How many accounts can a scammer take money from?

Someone wants to give me a check over the internet to deposit into my account. If I have a checking and savings account, can they access both? or can they just get to one account?


RTL8812AE WiFi card driver install fails

Trying to install some drivers for my RTL8812AE WiFi card.  I was able to install Sophos by downloading it, dragging the .sh file into terminal and it did it through there.  Can't get it to work for my WiFi card installer, though.  some warnings being treated as errors make[2]: *** [scripts/Makefile.build:286: /home/***/Documents/RTL8812AE_Linux_v4.3.2_12208.20140904/driver/rtl8812AE_linux_v4.3.2_12208.20140903/core/rtw_cmd.o] Error 1 make[1]: *** [Makefile:1606: _module_/home/***/Documents/RTL8812AE_Linux_v4.3.2_12208.20140904/driver/rtl8812AE_linux_v4.3.2_12208.20140903] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.0.0-29-generic' make: *** [Makefile:1323: modules] Error 2 ################################################## Compile make driver error: 2 Please check error Mesg


he or she vs their when using 'one' as a pronoun

Mindfulness allows one to cope with their daily challenges.   Is "one" correct with "their" here?  I want to know if it is okay to user their (instead of he or she) when using 'one' as a pronoun.


prove this inequality with $\sum\limits_\text{cyc}\sqrt{1-xy}\ge 2$

Let $x,y,z\ge 0$,and $x+y+z=2$, show that $$\sqrt{1-xy}+\sqrt{1-yz}+\sqrt{1-xz}\ge 2$$  Mt try: $$\Longleftrightarrow 3-(xy+yz+zx)+2\sum_\text{cyc}\sqrt{(1-xy)(1-yz)}\ge 4$$ or $$\sum_\text{cyc}\sqrt{(1-xy)(1-yz)}\ge\dfrac{1}{2}(1+xy+yz+zx)$$


Why does the "Unanswered Questions" tab show questions that have answers?


What blog editor software are available?

I´m searching for a good blog editor like Windows Live Writer something similar.


What are benefits of using Hexadecimal notation?

Recently, Google published some hash functions on . On this functions codes, some values are defined on base 16, for example on  we have:   const Lanes init0 = {0xdbe6d5d5fe4cce2full, 0xa4093822299f31d0ull,                      0x13198a2e03707344ull, 0x243f6a8885a308d3ull};   0xdbe6d5d5fe4cce2full is a hexadecimal unsigned long long integer that is equal to 15845587454020866000 on base 10.  Now i have this question: Why we use this notation instead of writing value in direct decimal representation? Expect the shorter string, is there any other reason for using this manner?


Are the following linear independent?  If S $=$ {$a, b, c$} $⊆ R^3$, where $(2,3,4)$ $∉$ span {$a, b, c$}.  If S $=$ {$a, b, c$} $⊆ R^3$, where $(1,2,3)$, $(1,3,2)$, $(2,1,3)$, and $(0,1,0)$ $ϵ$ span {$a, b, c$}.  If $S = (u + v, u - v, u - 2v + w) ⊆ R^n$, where $(u, v, w) ⊆ R^n$ is a linearly independent set.    My thoughts: From what I know, linear independent means there is only one solution. As for question 1, what i understood by this $(2,3,4)$ $∉$ span {$a, b, c$} is that $$(2,3,4) ≠ \lambda_{1} a + \lambda_{2} b + \lambda_{3} c $$ where $\lambda$ are real numbers. What then does this relation means? As for question 2, I was thinking along finding any form of linear combination between the four vectors and if it exists $\implies$ they are no linear independent. Am i right to say that? If so, what is the best way to find linear combinations. As for question 3, I was thinking of forming linear combinations as well, but the additional vector w makes it impossible for me to work out a solution. Please advice thanks.


The roots of $X^2-1$ in the ring $(\mathbb{Z}/n\mathbb{Z})[X]$

I don't know how to prove the following.  Let $n$ be an odd natural number with $t$ different prime divisors. Then the polynomial $X^2-1$ has exactly $2^t$ roots.  Own tries  First of all: $X^2-1=(X-1)(X+1)$. We say that $a \in \{1, 2, \cdots, n \}$ is a root if and only if $(a-1)(a+1)=kn$ for some integer $k$. Now observe that $p|(a-1) \iff p\nmid(a+1)$, except when $p=2$. If $a$ is odd, $2$ divides both $a+1$ and $a-1$. If $a$ is even, $2$ divides neither. Luckely $n$ is odd. This means that a prime divisor $p$ from $n$ only can appear in maximal one of the numbers $a+1, a-1$.   It looks like we only need to prove that there exists $k \in \mathbb{Z}$ so that $p$ appears in at least  one of these numbers: $kn+a-1, kn+a+1$, because, be previous observations, there are exactly $2^t$ was to "arrange" prime divisors in the factorisation of $\bar{a}-\bar{1}$ and $\bar{a}+\bar{1}$. Is this correct?


Why are ctrl-m and return keys the same \r char?

Anyone know why ctrl-m and return are the same control chars?


In C#, how can an object that's inside a List itself know what index it is in the list

Quite often I found myself in a situation of needing to know what index an item is in a List while enumerating through the list. Is there any way to do this with out having to resort to using a for(var i=0...) loop?    Ideally I would like to do something like this.  e.g   foreach(SomeType item in myList){   Console.Write(item.Index); }   jQuery has this $(this).index();  which is something like what I would like in C#


Do we have any assumption on the distribution of Data for linear regression?

I am in general confused about the assumptions of linear regression and on whom are those assumptions taken to be and what are the consequences of these assumptions on the validation procedure for the regression model.  Can someone help in this regard.