How to reinstall Ubuntu without lose Home Information

I reinstall Ubuntu, and in partitioning remove root and create new root and install, after install my home information goto a new volume mounted and my home empty and my home capacity equal with root. ? how to change to back, and create home and transform information to home ?


A reviewer has stolen my idea – what can I do?

I submitted a manuscript for publication in May (it was about DFT analysis of a specific system). The manuscript was rejected in October; one reviewer had made some suggestions, and the other recommended rejection as there is nothing new in the paper. I revised the manuscript according to the first reviewer’s suggestion and submitted the manuscript to another journal.  The second journal rejected my manuscript as one reviewer stated that similar analysis has already been published. I checked the reference introduced by the reviewer, and it is exactly the idea of my work with a slightly different method and different discussions. The manuscript had been submitted for publication in July (two months after my first submission). It is hard to assume it is just a coincidence.  I wrote to the editor of the first journal and asked him if the reviewer who rejected my manuscript is one of the authors of this new paper. He replied that he cannot disclose the name of reviewers under any circumstance due to data-protection laws.  Now my research is useless as I cannot publish it anymore. What can I do?


I'm having troubles with staying signed in on data.stackexchange.com. I have no issues with any other Stack Exchange site -- they all work fine. Once I log in, I don't need to log in every time I visit the site. But with data.se, I need to re-login everytime. As I can't execute queries without captcha without being logged in, this is an issue.  What could be causing this issue? I'm using Google Chrome 31.0.1650.63, if that matters.


Could this be a Plot Flaw - No use of Dumbledore Portrait in Headmaster's Office

After Book 6, when Snape killed Dumbledore, as per the magical law every Hogwarts headmaster/headmistress gets his/her portrait in the headmaster's office. This was known to Harry and obviously he was aware that Dumbledore will have his portrait in the headmaster's office as well.   We also know that portraits of the headmaster can travel between their portraits outside the headmaster's office as well. For instance, Phineas could travel between Hogwarts and Grimmauld Palace. Similarly, Dilys Derwent can travel between Hogwarts and St. Mungo.   We also know that headmasters in the portraits can travel between the portraits irrespective of the actual location of the portrait. For instance, when Hermione took out Phineas portrait from Grimmauld Palace and put it in her purse, she was able to interact with it when needed. Moreover, Phineas was also able to listen to their conversation whenever the purse was opened.   Now this seems very far fetched that Dumbledore didn't discuss about this with Harry when he was giving him lessons in Book 6. Dumbledore knew perfectly well that he had only few months left and Harry will definitely need his help and guidance when he will be hunting the horcruxes.   Why didn't he advise Harry to keep a portrait of him along with him in case something happens to him?  This seems like a convenient flaw in the plot to make the horcrux hunting a lot more laborious work than it actually was.   Furthermore, why Harry couldn't think of this when he started hunting the horcruxes in Book 7?  He knew perfectly well that he had absolutely no idea about the location of the horcruxes let alone what to do with them and how to destroy them when he found them. That was the reason the trio kept on dangling the locket in their necks for months long. It could have been a lot easier and much better approach to get the portrait of Albus Dumbledore along with them and getting advise from it wherever needed.


How did Amy and Rory see themselves from 10 years in the future

In season 5 episode 9, Amy and Rory see themselves from 10 years in the future waving at them. However,       Amy and Rory get zapped in the past by the angels.    So how do they visit the town to re-live  the good old times.


How to add a line break inside a bash string?

I have the following bash string and I need to add a line break to it, before the 'Hello' string:  bash -c "echo 'Hello' > /location/file"   I already tried adding it with different variations of the \n syntax; Before the double quotes, inside the range of the double quotes, and with different variations of escaping.  How could I add a line break just before the 'Hello' string, so to make it appear in the second row?


Close button in review queue not working when viewing duplicate

In the Close Votes review queue a post can be voted as duplicate. The duplicate which was flagged is available in the queue interface to allow to compare the two posts easily. When I'm in that queue I do as follows: I read the original post, I click on the Duplicate button, I read the duplicate, and if I agree I want to press the Close button that has the tooltip agree with this close vote. However, in this case the button does not do anything. It shows up as clicked (visible by a blue border) but the close dialog does not show up (in fact the screen does not change at all). Screenshot (from TeX.SE):  To actually cast the vote I first need to click on the Question button again, which shows the question that is to be voted on, and only then the Close button works as expected. Note that the close dialog does seem to be present in the page source. The Inspector in Firefox shows the following when the button is clicked while the duplicate target is viewed:  The dialog is however not shown on the page itself. Proposed bug fix: could the UI be changed to make the button work (i.e., show the close dialog) when viewing the duplicate? Browser: Firefox 79.0 (64-bits) on Ubuntu 18.04.


I want a regex to extract a value from a string but can´t make it work :( regex is hard!  const myString = "the user id is: [user]10[/user]"   this is my regex  (?:[user])([\s\S]*)(?:[\/user])   but I´m not getting a match


arcpy.MakeFeatureLayer_management: query throws error 000230/000358

Im trying to create a feature layer on which i want to perform a select by location, however:  arcpy.MakeFeatureLayer_management (perp, "selected","LINK_ID = 23002109")   throws:  ExecuteError: ERROR 000230: Failed selecting with LINK_ID = 23002109   and   arcpy.MakeFeatureLayer_management (perp, "selected") arcpy.SelectLayerByAttribute_management("selected", "NEW_SELECTION", "LINK_ID = 23002109")   throws:  ExecuteError: ERROR 000358: Invalid expression   The same query works fine when done manually in ArcMap. The field exists and its datatype is DOUBLE.   My problem seems to be exactly the same as in  The difference is I'm working with a local GDB and not with a SDE connection. What is wrong here?


How to permanently finetune Syndaemon on 15.04?

I am using the HP Envy x360 15'. Everything works fine but it has an unusually large touchpad (for better Windows 8 usability). Every time I am typing I accidentally am hitting the touchpad and the mouse pointer jumps somewhere else creating chaos during typing.   The solution is to install Touchpad-indicator (as described ) and set the Disable touchpad on typing -option. As far as I understand this uses Sysdaemon which is installed with any Ubuntu installation.   The problem is however that the seconds to wait after the last key press before enabling the touchpad -setting can only be set to 1 or 2 seconds. So far so good, but after using the 1 second setting for days now I have the feeling that my finger falls off as this setting is way too long to be practically usable when working with text.   You can fine-tune Sysdaemon as described . For me, the command syndaemon -i 0.3 -d -K works best, but it does not autostart when I create an entry in Startup Applications. Is there any way to finetune sysdaemon in 15.04 and make it autostart?


Prove that $\lim ( \sqrt{n^2+n}-n) = \frac{1}{2}$

Here's what I have so far:  Given $\epsilon > 0$, we want to find N such that $\sqrt{n^2+n}-n < \epsilon$ for all $n>N$. And so:  $( \sqrt{n^2+n}-n-\frac{1}{2}) \cdot \frac{\sqrt{n^2+n}-(n+\frac{1}{2})}{\sqrt{n^2+n}-(n+\frac{1}{2})}$  $= \frac{(n^2+n)-(n+\frac{1}{2})}{\sqrt{n^2+n} + (n+\frac{1}{2})}$  And I'm not sure how to go on from here. Help would be appreciated.


Can $(X_1,X_2) \cap (X_3,X_4)$ be generated with two elements from $k[X_1,X_2,X_3,X_4]$?

Can $(X_1,X_2) \cap (X_3,X_4)$ be generated with two elements in the ring $R=k[X_1,X_2,X_3,X_4]$? Can it be generated with three elements? (Here $k$ is a field.)    Thanks for any help.


How can I calculate the probability of a certain arrangement of chess pieces?

I'm trying to calculate the probability that if 8 rooks are placed on a chessboard, they are placed in a fashion such that none of the rooks can capture another rook. So, no row or column can contain more than one rook.   I figure that the total number of positions they can be placed is C(64, 8). As for the number of places they can be placed without capturing one another, I modeled it as a set of vectors where each element is 1(where a rook is present), or a 0(no rook). So I need to find the number of sets of vectors such that the sum of all vectors is (1,1,1,1,1,1,1,1), that is, no value 1 shares a row or column.  The first vector is C(8,1), the second is C(7, 1) and so on. So I got:  8! / C(64, 8).    I don't feel this is correct though, so some help would be much appreciated.


I am trying to embed A functional web browser in my java app.  I tried [jBrowser]1 but first it is for 32 bits platform and when I try in 32 bits it don't work, shows this message:  "java.lang.UnsatisfiedLinkError: D:\xulrunner\xulrunner\xulrunner\javaxpcomglue.dll: Can't find dependent libraries"  I tried using setXulRunnerPath(new File("d://xulrunner")) with latest. I tried with previous version and dont work anyway, but instead I found this [advice]2. I saw the swt browser works but  I need my application in swing.  My question: Is there is some component to acomplish this? Thank you in advance for any help.  1:    2:


Cant click on heads up notifications on Lollipop Nexus 5

I installed android lollipop from the factory images on googles website. I dont know if its supposed to be like this but i think not.   I cant click on the options in the notifications be it to answer a call or reply to an SMS.  I have to first swipe it right or left then go to the call or sms to continue.  Any idea ?


I've got a problem with the settings of lighting in my unity scene.  The objects have got "dark sides" and it doesn't look natural.  You can see the screenshots and my light settings here:  The screenshot that shows the problem


I am a teenager who plans to start a Minecraft server. I live in the United States and I assume that I will need to pay taxes.   My parents want to find out more about the taxes. I've read a couple of things but I'm not sure what to do. Obviously I want to pay as little as possible.  How do I do this? Also what kind of taxes does the server count as?


A square with side 1 is given, and a point $T$ is chosen randomly inside of a square. Let $Z$ be a random variable that represents distance from point T to some fixed vertex of square.  Let's say we are working with vertex A. I have to find $F_Z(t)$. Obviously when $t\leq 0$ then $F_Z(t)=0$, and when $t>\sqrt2$ $F_Z(t)=1$.   The part when $t\in(0,1]$ I understood.    Now when $t\in(1,\sqrt2]$, I don't understand. I can't see how they computed the area of the $ABEFD$ section?    Also, is there any other way of approaching this problem?


How do I write documents using llncs.cls without having to put it in the same folder as the document?

I'm using Linux Mint, with the TeX Live distro and Texmaker as my editor. Basically, I would like to be able to use llncs.cls as a document class without having to always put that file in with the document I'm trying to compile. Under MikTeX (which I used back when I used Windows), there was a way to resolve it by giving it a place to search for packages etc. if it couldn't find them normally. However, I have no idea how to do this in Linux. Could someone help me out?


How to view and export database content?

I'm trying to view the actual entries, not the backend identifiers.  > db.<collection>.find({"_id": "486b4ca55b144b119f4551417c5798c8"}).pretty()  {     "_id" : "486b4ca55b144b119f4551417c5798c8",     "date" : ISODate("2017-04-20T05:47:06.176Z"),     "content" : ObjectId("58f84b5a0318762cb6e230a6"),     "digest" : "d064a874c872d75f6ab67c04d8b79b26f65f9b4f",     "short" : "5f9b4f",     "size" : 2374694 }   Also tried mongoexport:  $ mongoexport --host 127.0.0.1 --port <port> -o test --pretty --db <database> --collection <collection>   This also shows backend data. I just want to see what was uploaded to the database. The actual content itself.


Using a PSN account from India in Germany

I have a PSN account from India in which I have a lot of trophies, but no games. I used to live in India, but recently moved to Germany. I bought a new PS4 pro today in Germany and I was wondering whether I should keep using my Indian PSN account or create a new one? I don't want to lose any trophies I acquired earlier, but I don't want to get into a region locking mess also.    So, I just want to know if there'll be any potential issue I may face when I use my Indian PSN account on a German PS4 pro in Germany? I may want to buy a PS plus subscription on a later date and I certainly do not want to get into a legal trouble (if there's any).


Notify users about edit suggestion on their own posts

At the moment normal users do not get notified if someone suggests an edit on their own question or answer. I'm not even sure if they can see these suggestions if the do not have the corresponding privilege.  I think users should get notified about pending suggested edits on their own posts and also be able to see and accept or reject the suggestion independent from their own reputation.


Can enchantments (briefly) go on protected creatures?

Protection is an ability that grants an object or player several benefits, including:     702.16c A permanent or player with protection can’t be enchanted by Auras that have the stated quality. Such Auras attached to the permanent or player with protection will be put into their owners’ graveyards as a state-based action. (See rule 704, “State-Based Actions.”)   This ability is usually less relevant because when enchantment auras are cast they target, and protection prevents targeting as well. However, if an enchantment aura enters the battlefield without being cast (such as from a flicker effect or ), the comprehensive rules say:     303.4f If an Aura is entering the battlefield under a player’s control by any means other than by resolving as an Aura spell ... that player chooses what it will enchant as the Aura enters the battlefield. The player must choose a legal object or player according to the Aura’s enchant ability and any other applicable effects.   Does the "any other applicable effects" clause prevent me from putting an aura onto a protected permanent? At first I thought yes because protection specifically says 'can't be enchanted'. But then I re-considered, as I'm more leaning towards the interpretation that protection prevents ongoing enchantment, not the act of putting an enchantment onto something.  For a specific example, if my opponent has a creature with protection from blue, and I use  to flicker a  that is currently on the battlefield, can I choose my opponents pro blue creature to enchant with Reality Acid? Knowing that it would immediately slide off as a state based action, but me being ok with that due to Reality Acid's triggered ability.  This question seems close: , but I think is subtly different as the card in question specifically removes the 'can't be enchanted' clause which is crucial to my question here I think.


What is the poisonous spray that Jackal used on his car?

In  (1997), Jackal sprayed something poisonous on his car.    So, when the hijacker came to steal his car, and touched the sprayed region, he immediately gets suffocated & dies.     What is that poisonous spray Jackal used on his car which suffocates the hijacker, just by touch?


I have used following image as inspiration for my line.    In my case there are 10 instances with different intervals. With some (ok a lot) help I have so managed to make this code  \documentclass[paper=a4, fontsize=11pt]{scrartcl}  \usepackage{tikz} \usetikzlibrary{decorations.pathreplacing} \usetikzlibrary{calc}  \begin{document}   \begin{tikzpicture}[every edge/.style={shorten <=1pt, shorten >=1pt}]   \draw (0,0)  node [below] {0} -- (1,0) node [below] {1};   % draw the tick marks   \coordinate (p) at (0,2pt);   \foreach \myprop/\mytext [count=\n] in {0.06/$p_1$,0.06/$p_2$,0.06/$p_3$,0.06/$p_4$,0.06/$p_5$,0.15/$p_6$,0.13/$p_7$,0.14/$p_8$,0.15/$p_9$,0.13/$p_10$}   \draw [decorate,decoration={brace,amplitude=2}] (p)  edge [draw] +(0,-4pt) -- ++(\myprop,0) coordinate (p) node [midway, above=2pt, anchor=south] {\mytext} ;   \path (1,2pt) edge [draw]  ++(0,-4pt); \end{tikzpicture} \end{document}   The result is     Not very impressive or appealing. I'm new to tikzpicture and find all this overwhelming. Can anyone help?


Homotopic maps have homotopy equivalent mapping cones

Let $f,g:X\to Y$ be maps of spaces such that $f\simeq g$. Is it true that the mapping cones $\operatorname{cone}(f)$ and $\operatorname{cone}(g)$ are homotopy equivalent?  Can we write down an explicit homotopy equivalence? It ought not to be too hard to get a map $\operatorname{cone}(f)\to \operatorname{cone}(g)$ from the existence of a homotopy $H:X\times I\to Y$, but I haven't been able to find a sensible candidate, despite trying for quite a while.


Proof that there must exist infinitely many solutions to a homogeneous system of equations when more unknowns than equations

Consider the system of simultaneous linear equations  \begin{align} a_{11} &x_1 &&\; + \;&& a_{12} x_2   &&\; + \cdots + \;&& a_{1n} x_n &&\; = \;&&& 0 \\ a_{21} &x_1 &&\; + \;&& a_{22} x_2   &&\; + \cdots + \;&& a_{2n} x_n &&\; = \;&&& 0 \\ \vdots\;&\; &&     && \;\;\;\vdots\;\;\; &&                && \;\;\;\vdots\;\;\; &&     &&& \vdots \\ a_{m1} &x_1 &&\; + \;&& a_{m2} x_2   &&\; + \cdots + \;&& a_{mn} x_n &&\; = \;&&& 0 \\ \end{align}  for constants $a_{ij}$ and unknowns $x_j$ , in the case where $m < n$ prove that there  must exist infinitely many solutions to this system of equations.  Okay, so it's pretty easy to prove that this set of equations must have solutions because we have m equations and n values, we x_1=x_n=0 is our trivial solution and if we have more than this one solution, then out null space will be greater than {0} which implies we don't have an injective set of equations. As m is less than n we know the system is not injective, which tells us there must be non-zero solutions. But I want to show these solutions are infinite which means for x_n solutions, the solution should include a parameter. How can I go about this?


Characteristic subgroups and automorphisms

$\DeclareMathOperator{\Char}{char}$$\DeclareMathOperator{\Aut}{Aut}$ Let $G$ be a finite group, $H$ a subgroup, such that $H \Char G$. If $\phi \in \Aut(H)$ is there an automorphism $\widehat{\phi} \in \Aut(G)$ such that $\widehat{\phi}|_H$ = $\phi$?  In words, if $\phi$ is an automorphism of $H$, is there necessarily an automorphism $\widehat{\phi}$ of $G$ where $\widehat{\phi}$ maps the elements in $H$ to $H$ in exactly the same way?  I am thinking this is false (consider the non-finite example of $\bar{Q}$ and $\mathbb{C}$), but would like a counter example (for the finite case).


Why does the Unix permission system use 1 2 3 4... values instead of 1 or 0?

Why does the Unix permission system use 1 2 3 4... values?  Why not just 3 bits; a bit for each setting read write and execute. for example  ( rwx ) 110 => r=1 w=1 x=0


Why does "head /bin/ls" reset the terminal

If you do something silly like cat /var/log/wtmp your terminal can get messed up as shown in the screenshot.  I know there are a number of ways of .  One of the ways not mentioned on that post, which I was told about years ago is to run the command highlighted in a red box in the screenshot.  head /bin/ls   This works.  Why?


Extending a generic interface with a static property of the extended class

I have a generic interface which I would like to have a property of type self i.e.       public interface IFoo<TBar> : where TBar : ISomething      {         TBar Prop1 { get; set; }         IFoo<TBar> Unset { get; }     }   This is fine until I inherit this and create a (non-generic) class:  public class FooDesired : IFoo<Bar>     {         public Bar Prop1 { get; set; }         public static Foo Unset { get { return new Foo(); } }     }  public class FooReality : IFoo<Bar>     {         public Bar Prop1 { get; set; }         public static IFoo<Bar> Unset { get { return new Foo(); } }         public IFoo<Bar> IFoo<Bar>.Unset { get { return new Foo(); } }     }   I have two issues with the current implementation of this:  1. This implementation does not actual allow Unset to be static. I've worked my way around that with Explicit Interface Implementation but I'm always wary of "tricking" the system.  2. If I call Foo.Unset I always have to cast it back to Foo (unless I setup an implicit operator but that's just hiding the issue rather than solving it).  Edited Real Question: How can I enforce the existence of a static property in a set of classes?  **Edit: ** For those who are keen for a use case, let's assume all Animal species have a set number of bones in their bodies once fully mature. Therefore I would like Animal to enforce a static NumBones property on Cat, Dog and Human. This doesn't cover the static property being of the original class' type but the comments have good links to answers to that.


How should I unit test multithreaded code?

I have thus far avoided the nightmare that is testing multi-threaded code since it just seems like too much of a minefield.  I'd like to ask how people have gone about testing code that relies on threads for successful execution, or just how people have gone about testing those kinds of issues that only show up when two threads interact in a given manner?  This seems like a really key problem for programmers today, it would be useful to pool our knowledge on this one imho.


I want to show that for $p \in (0,1)$,$(x +y)^p \leq x^p +y^p$. I thought of doing this:  Since $p \in (0,1)$, then $\frac{1}{p} \in (1,\infty)$. I can then raise both sides of the inequality to the $\frac{1}{p}$ power:$((x +y)^p)^{\frac{1}{p}} \leq (x^p +y^p)^{\frac{1}{p}} \leq x + y$, the last inequality would then follow from Jensen's inequality. It can be shown that $x^\frac{1}{p}$ is convex, so Jensen's would apply.   However, I don't think this is right, it is too easy (and I don't think proves anything). The difficulty here that I notice is that $p \in (0,1)$, so any argument using convexity won't work.  If anyone has any hints or suggestions, they are most welcomed.


Similar warning to Can't install .NET 3.5 on Windows 10

I did not have enough rep to answer or comment on the original question, but I wanted to contribute my findings. See  for the original question. I received a warning similar to the one below, although the error code might have been different.  The following feature couldn't be installed: .NET Framework 3.5 (includes .NET 2.0 and 3.0) Error code: 0x800F081F  I tried running the update through the "Windows Features" dialog after each change, and reverted a change when it did not work where applicable. I tried different VPN's, changing the settings for "Specify settings for optional component installation and component repair" (source: ), however I did not try offline installation using DISM.exe because I did not have a Win 10 image handy.


Why does my 'Caps Lock' diode blink when my system freezes?

I noticed a peculiar behavior of my Ubuntu 13.04 (although possibly it's also present in previous versions): when my system freezes completely (I do not ask for troubleshooting this) so that even X does not respond to Ctrl+Alt+FX keys, the CapsLock toggle diode on my keyboard blinks (with frequency of ~1Hz), although the system is completely unresponsive.   What is the cause of this phenomena? Is it caused by some internal kernel mechanisms? Is this specific to Ubuntu (is it caused some custom Ubuntu additional software)? Does it has anything to do with HAL? What is the purpose of it? Can I customize this behavior on Ubuntu?


I came across this example written by a native English teacher: "The student followed a 10 hour English course."  I was curious to know if "hours" would also be valid here, and if there's a nuance etc.  Thanks.


I want to put a table and a figure side-by-side. The table should fill two third of the text width, and the figure the last third.  So I'd like to achieve one of the following effects (which are equivalent in my case):   One table with 3 columns. The first two columns contain text, the third column contains a lengthy image. The height of the image should be determined by the height of the whole table, if that's possible Or, a divided page like in newspapers. On the left side I have the table, on the right side the image.   What I have tried:  \begin{multicols}{2} \begin{tabular}{ l l } Text & Text \\ Text & Text \\ ... & ... \\ \end{tabular} \vfill \begin{figure}[H]     \includegraphics[]{images/image} \end{figure} \end{multicols}   But this places the picture directly on top of the table.  I also tried using \usepackage[export]{adjustbox} and \includegraphics[right]{images/image} but the caption is still in the center of the page and therefor on top of the table.


In a movie that I watched recently, I heard-        for aught I know,    for aught I care.      I work with a lot of native speakers, and they all told me it's not in formal or informal usage anymore.  What's the ground reality?


Import & render PLY with color in the latest Blender 2.8

In the latest version of Blender (2.8), I can't find the option "vertex color paint" in cycles mode to render the PLY mesh with color. I can show the PLY mesh color with "Vertex Paint" mode but when I press F12 to render, the output is still a grayscale image.  I have been googling a lot but still can't find a proper solution for Blender 2.8.   Below are some links I found:        Here is the PLY mesh file I tried:


How can I send a file from Linux to email?

How can I send a zip file (~600MB) to an email account? What is the command line should be used in bash?  What if I want to FTP the files to a server automatically?


How can Java programs crash when exceptions must always be caught?

Forgive me if this is a stupid question, but as far as I know, all Java exceptions must be caught and handled. For example, something like this would create a compiler error:  public String foo(Object o) {     if (o instanceof Boolean) {         throw new Exception();     }     return o.toString(); }   Because the method foo() didn't add a throws clause. However, this example would work (unless either the method foo() didn't have a throws clause or the method bar() didn't surround usage of foo() in a try/catch block):  public String foo(Object o) throws Exception {     if (o instanceof Boolean) {         throw new Exception();     }     return o.toString(); }  public void bar(Object o) {     try {         String s = foo(o);     }     catch (Exception e) {         //...     }     //... }   At the end, sometimes a Java program still sometimes crashes due to an unhandled exception.  How does this happen?


How do I disable Cortana in Windows 10 or at least disable web search results from it (for other users)?

Is it possible for me (parent/admin account) to completely disable Cortana for other users (kids/standard accounts)? ...or at least from using it to search things that are not local on the PC itself. I don't want my children gleaning all the Internet has to offer quite yet.  EDIT: @Chirag64 and @mc10  - thank you so much for your answers, but neither answer really addresses my question of "completely disable Cortana for other users (kids/standard accounts)". I do not want to disable it for me, only for my kids...The "duplicate questions" and the one that was linked as having answers - also don't help me with this...


not able to call http_get function my MySql

I have written stored procedure for calling URL using http_get function but getting error that http_get not exist    DELIMITER $$     CREATE DEFINER=`root`@`localhost` PROCEDURE `Demo`()     BEGIN     SELECT http_get('abc.com/aa') ;      END$$     DELIMITER ;


Target:  I would like to use a table where each second row is colored slightly gray. but i also have a backgrund image on the page so just using \rowcolors with standart colors isnt working.  \documentclass{book} \usepackage[table]{xcolor} \usepackage{background} \usepackage{eso-pic,graphicx}      \backgroundsetup{ scale=1, opacity=1, angle=0, color=black, contents={%  \ifodd\value{page}    \AddToShipoutPictureBG*{\includegraphics[width=\paperwidth]{Images/Backgrounds/HeXXenBG_Left_LQ}}   \else    \AddToShipoutPictureBG*{\includegraphics[width=\paperwidth]{Images/Backgrounds/HeXXenBG_Right_LQ}}   \fi     } }  \begin{document} \rowcolors{2}{black!40}{} \begin{tabular}{l|l|l|l} {\scshape Spalte 1}&{\scshape Spalte 2}&{\scshape Spalte 3}&{\scshape Spalte 4}\\\hline\hline Beispiel 1 & Hier geht mehr rein. & A & Die Tabelle sollte sich an die Textspalten halten\\ Beispiel 2 & Genauso hier. & B & Das musst du manuell machen.leider\\ \end{tabular} \end{document}   Current:  is there some possibility for activate multiply blend mode, for table background color? or some other workaround?  Edit: i am compiling with xelatex, so the duplicate is not working


Every day, as I search for things and never find any remotely relevant search results, constantly encounter fake error messages and buffering and lock-out screens, a nagging feeling makes itself ever more known in my mind:  Am I really using the actual Internet anymore?  I don't mean that somebody has set up a whole fake Internet just for me. I mean that I appear to be using some kind of "second-tier" (at best) version of the Internet where maybe 0.01% of the actual content is available, and nothing works.  I get so many bizarre "error" messages, and find nothing no matter what I search for, that this no longer sounds like a crazy thought. It would make perfect sense that I am other "deemed problematic" people are pushed into this "semi-bubble".  For example, take this scenario which just happened to me:  I've been trying to find out how to remove that horrible "get help" button from File Explorer in Windows 10 since I installed the OS, years ago. Half an hour ago, I decided to once and for all get this sorted out. And so I made a DuckDuckGo search for:  Windows 10 how to remove "get help" icon in File Explorer   As well as numerous variations of that phrase.  Surely that is a reasonable search query?  Yet not a single result has anything whatsoever to do with this. Not one. Not even a question about it, let alone any solution. This keeps happening all the time, even for extremely "high-level" things like this which tons of other people are bound to have asked about for years.  Nothing is found. I don't believe I'm using the real Internet.


I'm trying to restart Apache 2:  sudo service apache2 restart   But get the below error:  * Restarting web server apache2   AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1.  Set the 'ServerName' directive globally to suppress this message   I've tried to change   sudo gedit /etc/apache2/httpd.conf   A blank file appears, and I'd added this:  ServerName localhost   But that error doesn't disappear!  How can I fix this problem?


I observed that when I plug a USB hard drive, Ubuntu starts a service called mediascanner-extractor and mediascanner-service-2.0. What is this? It looks like its kind of new, because I didn't noticed this before (I'm using Ubuntu 16.04.2 LTS)  How to avoid this? because it hits the perfs of my PC. Does anyone knows how?  I searched the site but found no relevant info about it.


I am experiencing some weird inconsistencies using sudo.  Users: carl, root Command: MakeHotdog  root@laptop$ MakeHotdog Hotdog has been made!  carl@laptop$ MakeHotdog Hotdog has been made!   However, this happens:  carl@laptop$ sudo MakeHotdog bash: MakeHotdog: command not found   I thought that whatever was performed through sudo would execute the given command with regard to the environment/path variables of the user which you are executing the command through (in this case, given no username-parameter, root).   This is not an isolated issue. While sudo usually works as expected, there are several issues similar to this I keep stumbling across.


Non .NET job is listed when filtering through the '.net' tag (careers)

By looking for jobs with the '.net' tag, i.e., this URL:  I've come across many jobs that don't have it. They don't have the tag and they don't have the '.net' text in their content either.  A current example is this one:


What does mean this notation $q \mid k$?

Here is two numbers $q$ and $k$. Tell me please what does mean this notation $q \mid k$? Are they relatively prime or something ?


Make bottom of UITableview move up with keyboard

I have an application with a UITableview and a UITextView, so sometimes the keyboard is up. Whenever the keyboard is up, I can't access the bottom 3-4 table cells because they are always stuck behind the keyboard. How can I make the UITableView only take up the space above the keyboard while the keyboard is displayed?


Derivative with respect to the variance of Multivariate Gaussian

I am working on a multivariate Gaussian distribution with mean $\mu \in \mathbb{R}^d$ and the variance-covariance $\Sigma \in S^{d\times d}$ where $S$ denotes the set of symmetric matrices.  When I am trying to maximize the log-likelihood of some observations (with respect to $\Sigma)$, I am basically trying to take the first-order conditions, and I need to derive the following:  $$\nabla_{\Sigma} \left( \mu^\top \Sigma^{-1}\mu \right)$$  This derivative is too complicated for me since $\Sigma$ is a matrix.  How can I solve these?


How do I estimate probability of success with no successes?

My $6$ friends and I tried buying tickets to a popular event. Everyone who wanted a ticket got a random number and if your number is less than or equal the number of tickets available, you can buy a ticket.  None of us $7$ was selected to buy tickets. How can I estimate the probability of successfully buying a ticket? Using maximum likelihood on a binomial model the answer is $0$, but I know tickets were sold, so it can't be $0$.


Since some update biblatex inserts initials into the main text when there are two authors with the same last name. This also happens for "Carl J. Pollard" vs. "Carl Pollard". Is there a switch to suppress these initals?


Every family continues to have children until they have a boy. What's the boys : girls ratio?

I was given the following problem:     In a country in which people only want boys, every family continues to have children until they have a boy. If they have a girl, they have another child. If they have a boy, they stop. What is the proportion of boys to girls in the country?   Could you please check my solution?    Let's start by saying that the probability of having a boy or a girl is 50%. Then we have:   probability of having a family with 1 boy: $\frac12$; probability of having a family with 1 girl and 1 boy: $\frac12 \cdot \frac12$; probability of having a family with 2 girls and 1 boy: $\left(\frac12\right)^3 \cdot \frac12$; ... probability of having a family with $n$ girls and 1 boy: $\left(\frac12\right)^n \cdot \frac12$.   As we could expect, we have $\sum_{n = 1}^\inf \left(\frac12\right)^n = 1$.  Suppose there are $f$ families in the whole country. Then:   $f \cdot \frac12$ families have 1 boy; $f \cdot \left(\frac12\right)^2$ families have 1 girl, 1 boy; ... $f \cdot \left(\frac12\right)^n$ families have $n - 1$ girls, 1 boy.   Obviously, $\sum_{n = 1}^\inf f \cdot \left(\frac12\right)^n = f$.  Finally:   total boys: $f$ (because all families have exactly a boy); total girls: $\sum_{n = 1}^\inf f \cdot \left(\frac12\right)^n \cdot (n - 1) = f$.   In conclusion, the ratio is still 50% : 50%.  This result makes perfect sense to me, but I'm wondering if I got everything right?


Show that there exists a unique $v_0 \in H^1(0,1)$ such that $u(0)=\int_0^1(u'v_0'+uv_0), \forall u \in H^1(0,1)$. Further Show that $v_0$ is the solution of some differential equation with appropriate boundary conditions. Compute $v_0$ explicitly.   Let $f: H^1(0,1) \to \mathbb{R}$ be defined by $f(u)=u(0)$. Then I showed that $f$ is linear and continuous. Hence there exists $v_0 \in H^1(0,1)$ such that $u(0)=\int_{0}^1u'v_0'+\int_{0}^1uv_0$  The differential equation is given by $f=-u''+u$ with the conditions $u'(0)=u'(1)=0$.   How do I compute $v_0$ explicitly??


Can 4th edition D&D be played without using miniatures and a grid?

I have inherited all of the 4th ed hardcover books from one of my brothers-in-law. I am currently reading and trying to familiarize myself with the new 5th edition and I am really liking it. I had asked  and I got some very good answers. My new question is about 4th ed. Can 4th ed be played without using tiles and graphs? I realize its centered around this, but I am old school (AD&D in junior high & high school (1980's)) and I like being able to make my own maps & using my & my players' creativity & make our own environments. I'm contemplating selling these books because they aren't really of use to me, but I was hoping to use some of them as source material for 5th ed. Thanks again everyone.


Can the off-regional pokémon hatch from eggs?

Some people claim you can get the pokémon that are not in your region from eggs. Is this only a rumour or actually true? I've seen off-regional pokémon in gyms nearby but I can't rule out that the owner had been abroad or maybe even used location spoofing.


Sum of first n natural numbers, each multiplied by an irrational constant and floored

How would one attack a sum like this:  $$\lfloor 1 \cdot \sqrt{2} \rfloor + \lfloor 2 \cdot \sqrt{2} \rfloor + \lfloor 3 \cdot \sqrt{2} \rfloor + ... + \lfloor n \cdot \sqrt{2} \rfloor$$  or simply:  $$\sum_{i=1}^n\lfloor i \sqrt{2} \rfloor$$


Table and caption output after footnote in Latex - how to make sure footnote is always at bottom of the page?

I'm using:  \begin{table} {\tabulinesep = 1.2mm \begin{tabu}{c || c | c | c | c} species & Ar & Kr & $\SI{}{N_2}$ & $\SI{}{CO_2}$\\ \hline $I_p$ & \SI{15.76}{eV} & \SI{14.00}{eV} & \SI{15.58}{eV} & \SI{13.78}{eV}\\ \end{tabu}} \caption{caption text} \label{tab:Ip} \end{table}\\   to typeset the table shown in the screenshot linked below. The table and the caption show up below a footnote. I tried moving the table environment to a position before the footnote in latex but it still appears after the footnote.  I'm using TeXnicCenter 1.0 and LaTeX => PDF (Sumatra) to create the output.  How can I make sure a footnote is always the last thing to appear on a page? Thanks for your help!


How do I implement the WordPress Iris picker into my plugin on the front-end?

This question  is asking the same question as I am, but there were no adequate answers nor a selected correct answer so I am asking again hoping if I ask in a more coherent manner I might get a response.  I am trying to implement the colour picker wheel as seen in the Wordpress Theme Customization API pane for selecting colours. Loading the scripts and styles works fine when using the hook, "admin_enqueue_scripts" works however trying to load these scripts on the front-end using the hook, "wp_enqueue_scripts" does not work. The style gets enqueued, but not the script.  I want to avoid copying over files into my plugin duplicating what is already bundled with Wordpress. There must be a way to get the Iris colour picker working on the front-end that I am not seeing.  And for those wondering why I want to do this, I am developing a plugin that adds a fly-out panel to the side of the screen which allows you to make realtime temporary styling changes to the site without having to login via the wp-admin panel.


Windows security warning (ActiveX) when clicking into fields in ArcToolbox tool?

I have been running ArcGIS 10.5 on my PC (Windows 10 Home) since December with no issues.  This past week I have started to get ActiveX Security Warnings when I click into a parameter field in any ArcToolbox tool.       Windows Security Warning      An ActiveX control on this page might be unsafe to interact with other parts of the page.  Do you want to allow this interaction?   It doesn't seem to matter whether I click Yes or No, I can still modify the field and the tool still functions fine.  Answering Yes:   Answering No:   I am working through the answers to , although there doesn't appear to be an actual answer on that Q&A. Additionally it's back in the Windows XP/7 days with IE 7/8, and I'm running Win 10 with IE 11 (although that's never used).  If it matters, the browsers we use are Firefox 53.0 (64-bit) and Chrome 58.0.3029.81 (64-bit).  The issue I am having sounds different as it's happening only when I click on the parameter field - not when I open the tool or, as I read elsewhere, ArcMap.  The warning messages on that Q&A also have different text so it may be a completely different problem.  I have opened Internet Explorer (for the first time since getting this PC!) and looked at the Local Zone settings and everything for ActiveX is marked Enabled, including one about running without prompting:    I have also Disabled another one "Automatic Prompting for ActiveX Controls" but that didn't stop the message appearing.  I went through the suggested ActiveX settings from , updated all my settings to match (the only one I had to change was the "Automatic Prompting for ActiveX Controls" one I changed in my testing above).  No new software has been installed on my PC in the past week.    What could have caused this to start appearing, and how do I fix it?


Basic question about the necessity for Newtonian mechanics

Let me begin the question by admitting upfront that my knowledge of physics is limited only to high school and I am extremely rusty with that. With the above out of the way, I want to understand the following better. So, it seems that the high school description of Newtonian mechanics leaves a lot to be desired (at least the way I understand it). The bigger picture, I am told, is that the dissatisfaction with the high school presentations of the topic can be addressed by using the more rigorous framework of the lease action principle. Anyway, back to my question.  Recently, I realized (after a discussion with a physics student) that I  misunderstood something very  elementary in my understanding of Newton's formulation of mechanics. My understanding of second law says that the net force on an object equals the mass of the object times the net acceleration the object gets. However, I note that this only defines force and should I take this to be a definition, there really is no "law" here. Could you please demystify this for me? What content should I think second law has when force has not been defined for me?  Again, because I am so inexperienced in physics, do let me know if my question is unclear. Also if this has been answered already, do let me know (and feel free to close the question in that case).


i'm trying to make my scanner do some basic console interface, but it keeps returning NullPointerException no matter what i try. Here is the some of code:  public static void main(String[] args) {      list nlist = new list();     Scanner menu_input = null;     [..] //a couple println here...     opt = menu_input.nextInt(); //the error points to this line                  switch (opt) { ... }   why would it cause an error like this? I'm sorry if this is trivial, but this is my first real experience with Java.  Full text of the error in case it's useful:  Exception in thread "main" java.lang.NullPointerException     at lab.newJava.main(newJava.java:75)


I heard this phrase long ago. I have always wondered the obvious WHY? Why is it that we park in our driveway and drive on a parkway?


Is it possible to reproject spatial data using SQL Server?

SQL Server takes an SRID when creating spatial data, but is it possible to retrieve with a different SRID translating the coordinates?  For example, let's say I have a bunch of spatial polygons using SRID 4258, but I'd like to use alongside some pre-existing data that has an SRID of 4326 -- are there built in conversions, or do I have to handle this conversion myself?  The SQL-MM method, which PostGIS implements is . How do I do that in SQL Server?


I search solution to pevent my machine form the attack arp poisoning.  I believe to make my device invisible for this haker If they want to ping my machine they have any reply.  I don't khnow how I can use iptable to release it.or if they are a script python to do it to desable ping of devices.  I need help please. thanks.


Ring having infinitely many zero divisors

Does there exist a ring having infinitely many zero divisors ?


Evaluating $\frac{\cos 10^\circ \cos 50^\circ\cos 70^\circ}{\cos 30^\circ}$

$$\frac{\cos 10^\circ \cos 50^\circ\cos 70^\circ}{\cos 30^\circ} = ?$$ I use double sine formula $$\sin2A=2\sin A \cos A$$ But isn't help to reduce any fraction but more degree of $\sin 40^\circ$  How should I do after that?


If I am about to generate one-time pad, where should I generate my pads from?

If I want to generate a few one-time pads, is it OK to just read required number of bytes from /dev/urandom without weakening information-theoretical security?


What is the correct code to form largest number from a given int array?

Problem statement is to form largest number from a given int array. For e.g. if the input array is {3, 30, 34, 5, 9} then the result should be 9534330. I tried following code but I am getting an exception in the if condition where I am trying to parse string into an int. Can you please tell how to resolve this? import java.util.*; import java.lang.Integer; public class Console2 {     public static void largestNumber(int[] array) {      int s = array.length;      String result = "0";      for (int i = 0; i < s; i++) {          int[] temp = new int[s];          temp[i] = array[i];          for (int j = 0; j < s; j++) {              if ( i != j) {                  temp[j] = array[j];              }          }          if (Integer.parseInt(temp.toString()) > Integer.parseInt(result)) { // getting exception here !!!              /*              in the inner for loop, the temp array will store possible combinations of elements of              the input array. so if i convert the temp array into string and then parse it to int, then              i should be able to compare it with a result string (parsed to int) and store the highest              possible number as string. once the outer for loop completes, the result will have highest               formed number which gets printed in this method.               */              result = temp.toString();          }      }      System.out.println(result);     }     public static void main(String[] args) {         int[] array = {3, 30, 34, 5, 9};         largestNumber(array);     } }   Exception message: Exception in thread "main" java.lang.NumberFormatException: For input string: "[I@7cc355be"     at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68)     at java.base/java.lang.Integer.parseInt(Integer.java:652)     at java.base/java.lang.Integer.parseInt(Integer.java:770)     at Console2.largestNumber(Console2.java:15)     at Console2.main(Console2.java:23)


About finding the function such that $f(xy)=f(x)f(y)-f(x+y)+1$

Define a function $f\colon\mathbb{R}\to\mathbb{R}$ which satisfies $$f(xy)=f(x)f(y)-f(x+y)+1$$ for all $x,y\in\mathbb Q$. With a supp condition $f(1)=2$. (I didn't notice that.)  How to show that $f(x)=x+1$ for all $x$ that belong to $\mathbb{Q}$?


iptables: REJECT not working, but DROP does

I have recently setup a server with fail2ban, and it is mostly working except I am getting errors whenever this command tries to execute:  sudo iptables -D fail2ban-ssh -s xxx.xxx.xxx.xxx -j REJECT --reject-with icmp-port-unreachable   The error message is:  iptables: No chain/target/match by that name.   When I don't use REJECT, it works fine. For example:  sudo iptables -D fail2ban-ssh -s xxx.xxx.xxx.xxx -j DROP   Will execute just fine. I can't figure out why REJECT is being, er, rejected.


Returning a "Java" New Line in a String?

This may be a simple question, but I was unable to find anything resembling the topic:  I have a program that needs to be run in Linux, and Windows.  As you know, Windows new line character is \r\n, and in Linux/Unix it is \n (Mac is \r).  When I need to print anything to a file or to the command line, I can use println() function to create a new line.  This works fine, but I need to return many new line characters as Strings so that I can for example use them more than once, modify them, etc. (I can also use find-replace to replace all my \r\n at the same time.)  The windows character \r\n I am using currently prints ^M in Linux.  Is there a character, or method I can use to return new lines in Strings?


Short story where the Earth has been kept inside a force field for millennia

First we are told that the Galactic Empire/Federation/Powers-that-be have kept the Earth locked up for being too warlike, but now their help is needed against invaders from another galaxy.  When the aliens land the first thing they meet is a talking bunny.      at the end when humans have accepted to join the fight the alien offers to send ships to transport them. The human leader tells that there is no need...  and the Earth accelerates away.   I must have read this sometime in the mid eighties, so no later than 84 or 85, but the story may be from the sixties or before.


How to determine whether a file is duplicated but has a different name?

Say you have one file called foo.pdf. How can I find out whether my machine contains another file, say bar.pdf, that has the exact same content but just a different name?


I am taking algebra two and questions like this popped into my head so I would like to learn how to solve them, I am currently working on composing functions.


I am a graduate student in mathematics at a top school. Most of other students achieved gold medal in International mathematics olympiad for high school and/or other similar competitions. Most did their undergraduate in the very best school.  I came from a very modest educational background but worked really hard. I did not participate in IMO or other math competitions and if I did, I do not think I would have done well. I attended a not well-known small university in Australia.  Now that I am surrounded by all these gold medalists, I just feel that they are way beyond me and I am so dumb when I compare myself to them. How should I deal with this feeling?


How can we automate the tag disambiguation process?

I've noticed that the precise meaning of some tags on Stack Overflow is not intuitively obvious - for example, the ambiguous  and  tags could easily be confused with  or . As far as I know, there is not yet any way to automatically identify ambiguously-tagged questions. In the future, will it possible to turn a tag with an ambiguous name into a "disambiguation tag", like , so that users would be presented with a list of unambiguous tags whenever they used an ambiguously-named tag?  Tag disambiguation requests  on Meta Stack Overflow, so I think this would be a very useful feature to implement.


Should labels in tikz / pgfplots / etc. have serifs?

By default, diagrams in tikz and pgfplots inherit the style of the surrounding document, which is a good thing.  However, I've read that serifs are good for large bodies of printed text (the main text of the document), whereas sans-serif is more suitable for headings.  What is a good choice for labels in diagrams such as drawn with tikz and pgfplots, and why?  What is the tradition here?  \tikzset{every node/.append style={font=\sffamily}} % yes or no?   Although I realise that good may be subjective, it appears that typographers often have strong reasons to favour a particular style.  Related questions:


is it safe to pass an id of data selected from mysql database across pages and use it to fetch and display more data in php?

I have a web page where after connecting to and selecting courses from the database, the courses are displayed with a link to view each course as below:
      //query db action and assign the query to $result     $result = $dbcon->query($query);      if($result -> num_rows > 0){          //If courses are available(rows > 0), fetch and display them          while($row = $result->fetch_object()){              echo '
'.$row->course_title.'course_description.'
';              echo 'course_id.'">View Course';         }     }
   And this is the code for view.php page:  if(isset($_GET['action']) && $_GET['action'] == "view"){      //Assign var $id to the id from the _GET array     $id = $_GET['t'];      //Use the $id to fetch course details from the database     $query = ("SELECT * FROM courses WHERE course_id = '$id'");      //Query the db action     $result = $db_connect->query($query);      $rows = mysqli_num_rows($result);      if($result && $rows > 0){          while($row = $result->fetch_object()){              echo '
';                  echo '
'.$row->course_title.'
';                  echo '
'.$row->course_description.'
';                  echo '
'.$row->course_subject.'
';                  echo '
'.$row->course_level.'

'
';          }      } }   My problem is that I'm not sure whether this is proper and of course, safe to do or there is a safer/proper way to do it. Will really appreciate your answers. Thanks


${a_n}$ series of Fibonacci numbers. $f(x)=\sum_{0}^{\infty}a_nx^n$, show that in the convergence radius: $f(x)= \frac{1}{1-x-x^2}$

I'd really like your help with this following problem: Let ${a_n}$ be a Fibonacci series $a_1=a_0=1$ and $a_{n+2}=a_n+a_{n+1}$ for every $n \geq 0$.  Let $f(x)=\sum_{0}^{\infty}a_nx^n$, I need to find the radius of convergence and to prove that in the range of this radius $f(x)= \frac{1}{1-x-x^2}$.  we know that the convergence radius $R=\lim_{n\to \infty} |\frac {a_n}{a_{n+1}}| $, How can I apply it in this case? Any direction to prove that $f(x)$ is as requested?  Thanks alot!


What is the negation of a logical expression?

If I have for example the following:   $p$ is $ x > 4$  $\lnot p$ is $x < 4$ ?


Novel with main character able to mind-link to computers, a female telepath, a computer entity and a healing priest

I'm trying to identify a novel I read around 1990 give or take 5 years. It was fairly short (maybe 120 pages or so) and I read it in Dutch, but it is most likely a translation of an English original. I'm very vague on the story content, but there are a couple of specific details that stuck in my mind and are hopefully enough to have someone be able to identify this. Story is set in a near-future USA. Computers and self-driving vehicles are everywhere. At the start the main character (a man about 30 or so) lives on a houseboat that travels the waterways in Florida (Everglades probably). He suffers from total memory loss, but gradually he recovers and start to discover his past. He (re-)discovers he can mind-link to computers, making him a uber-hacker. And he discovers that he used to work for a black-ops government outfit together with several other people with special powers. One of those (his love-interest?) is a lady with telepathic ability. Another is a former priest that specialized in prayer/healing sessions, but he is actually be able to heal for real without prayer. However he uses is ability mostly in reverse, as assasin, by giving people heart-attacks and strokes making it appear they died from natural causes. The main characters memory-loss may actually have been induced by this priest guy to make him forget all the dirty work he did for the government. (I'm not sure on this detail, but it is logical.) Now his memory returns the government agency is after him so he goes on the run. Eventually there is a showdown in which the telepathic lady gets killed. Someone else gets mortally wounded (not the main character I think) and is saved by the priest (who repents and, for the first time in years, prays again). Some other details: The main character while rummaging around in computer networks encounters an AI entity that has come into being in the interconnected computers of the world. The AI helps him several times. I'm not sure of this: I seem to recall his first contact with the AI was when he was a child and in hospital for a long time. With nothing better to do is mind "connected" with the hospital computers and there he encounterd the AI. When the telepathic lady dies her soul is "rescued" by the AI and she lives on in a virtual reality, or something similar to that, created by the AI. During the main characters flight across the USA he makes use of cargo-trucks. Those big 18-wheeler rigs still ply the interstates form coast to coast, but they are fully self-driving now. Due to Union/Teamsters pressure (this was explicitly mentioned in the novel) they still have a mandatory cabin, including sleeping space. The main character travels a long distance by hiding in such a sleeping cabin. It is not much to go on. Can anyone identify the novel?


Is there and reason to build fences around your animals? I've seen several people raising free-range chickens. Are there any disadvantages to raising chickens free-range? What about the other animals? Can I just have an open ranch, or does it not work that way?


Possible Duplicate:          Whenever an edit I suggest gets rejected, I don't know unless I get curious and check the page. Is there any way that a notification can be sent out when they are rejected, similar to when badges are earned or when privileges are gained?


I am looking for a lightweight image editor for linux (not gimp). I need only one simple feature, namely to draw straight lines (with adjustable thickness) over an image. It should be possible to move, resize and rotate the lines after drawing them.


If I "assign" someone a task, what is the correct verb for "unassigning" them?

I am developing some software where users are assigned tasks. They will see a date and time for when they were assigned to the task, but if they were later removed from the task, there will be a date and time for that also.  01/02/14 - Assigned  03/02/14 - Unassigned   I'm pretty sure unassigned isn't correct. I suppose the task itself could be in a state of being unassigned, but the user wasn't "unassigned" from it.  Notes:   I don't want to use the word "removed", as I don't think it conveys the correct meaning and also sounds too harsh. I would like to avoid using a word your average person would never have heard of, as this isn't very user-friendly from a software point of view.


Why might I measure less than 240 volts on a 240V circuit?

I recently had an electric dryer fail and I have been unable to determine the reason.  All of the obvious items within it to check for (as mentioned in many youtube videos on such appliance repairs) all were in proper working order.    When I first checked the line-to-line voltage at the socket where the dryer cord plugged into, I measured around 208Vac.  That seemed a bit low and the dryer is spec'ed for 220/240Vac.  After trying to make several attempts at repairing the dryer, including carefully taking some measurements at various points with it plugged in, I checked the voltage at the socket again...  To my surprise, I was only reading about 160Vac line-to-line.  Clearly that is way low.   I also did not see any evidence of short circuits or melted/scorched connections and wiring inside the dryer.  Also, the circuit breaker for the dryer circuit was not tripped at all at any time from first noticing the dryer no-start situation to during the troubleshooting.  Before I contact a local electrician, I figured I'd ask here.  What would cause a circuit that is supposed to be 220/240V line-to-line to only be about 160V line to line??


I find each time I read a line, the end of of line character is included as well (showing as '$' in vi set list command) and am wondering how to automatically remove it when reading from a file?  From the print output, you can see end of line is output each time so that it seems two lines are printed each time.  Here is the code and input file, with output,  import sys  fileInput = open(sys.argv[1], 'r')  for line in fileInput:         print line  python TestLineParse.py TestInput.txt.csv 216  218  219  248  head TestInput.txt.csv 216 218 219 248


I'm attempting to replace a pattern in a file with the complete contents of another file using sed.  Currently I am using:  sed "s/PATTERN/`cat replacement.txt`/g" "openfile.txt" > "output.txt"   However, if the replacement file contains any characters such as ', ", or / I start getting errors due to input not being sanitized.  I have been trying to use  to aid me, but I am finding it quite hard to follow. If I try the suggested r file command, I just end up with a string.  What is the best way to approach this?


SEO implications of outdated website architecture

Besides not conforming to modern web standards and not being responsive/mobile friendly, are there any SEO penalties associated with using, say a tabular website?   For example, if the architecture was one giant table containing the site content in columns and rows.


Close Vote options no longer include option for "must include code" and "must show minimal understanding"

What happened to the close vote option for posts that describe an error or unexpected result but don't include the relevant code or any code!? This is on of the two most popular I use.. What am I supposed to do about questions like  now!?  I just also noticed "must show minimal understanding" is missing as well. After reading over the new option again, I am supposing that the intention is to use "not likely to be helpful for future viewers" for both of these?


How to get all data of a SPListItem in C#?

In my project, I want to get all content of a SPListItem which is a calendar event. However, I have no idea to get them.   using (SPSite site = new SPSite(@"http://spabc/"))             using (SPWeb web = site.OpenWeb())             {                 SPList cal = web.Lists["Calendar"];                 SPListItemCollection items = cal.Items;                 string texts = string.Empty;                 foreach (SPListItem item in items)                 {                     var xml = item.Xml;                     texts += xml;                  }                 lab.Text = "Event: " + texts;// it shows "Event: "             }   Target:  Title, start Time, End Time, All Day Event, and Recurrence..  example of recurrence:     Recurrence: Every 1 month(s) on the first Tuesday


I need to run the following command at startup or upon login to make my samba share accessible to my file system. How can I make this command run when I start my computer?  sudo smbnetfs ~/Shared -o allow_other   Note that this command requires sudo and must be run from a terminal. Putting it in startup applications does not work.


I have a LaTeX template produced by Elsevier, "elsarticle-template-3-num.tex", which I have used to typeset a document. I want to distribute the compiled .pdf that I have typeset. Does the copyright of the template place any restrictions on my distribution of the compiled .pdf? Or does Elsevier have any say regarding the distribution of my typeset document?  To be explicit, here is the copyright statement in the header of the template:  %% This is file `elsarticle-template-3-num.tex', %% %% Copyright 2009 Elsevier Ltd %% %% This file is part of the 'Elsarticle Bundle'. %% --------------------------------------------- %% %% It may be distributed under the conditions of the LaTeX Project Public %% License, either version 1.2 of this license or (at your option) any %% later version.  The latest version of this license is in %%    http://www.latex-project.org/lppl.txt %% and version 1.2 or later is part of all distributions of LaTeX %% version 1999/12/01 or later. %% %% The list of all files belonging to the 'Elsarticle Bundle' is %% given in the file `manifest.txt'. %% %% Template article for Elsevier's document class `elsarticle' %% with numbered style bibliographic references %% %% $Id: elsarticle-template-3-num.tex 165 2009-10-08 07:58:10Z rishi $ %% $URL: http://lenova.river-valley.com/svn/elsbst/trunk/elsarticle-template-3-num.tex $ %%   I'm not sure if this is the appropriate place to ask this, but thought that the TeX community might have some experience or could point me to a resource/documentation that could answer the question.


How do I stop windows 10 install games automatically?

Yesterday my windows 10 installed these unexpected games automatically:         12 Labours of Hercules III Girl P..., All Casual Games, All Enthusiast   Games, All Family Games, All Kids Games, Azkend 2 The World Beneath,   Building the Great Wall of China..., Command and Conquer Tiberiu...,   Coyote The Outlander, Delicious Emily's Wonder Wedd..., Entwined The   Perfect Murder, Family Vacation 2 Road Trip, Home Makeover, IGT Slots   Paradise Garden, Imperial Island Birth of an Empire, Insane Cold Back   to the Ide Age, Jewel Match Snowscapes, Living Legends Frozen Beauty   C..., Lost Lands Dark Overlord Collec..., Malor Memoirs Collector's   Edit..., Mystery Expedition Prisoners of..., Plagiarii, Polar Bowler   1st Frame   .  As far as I remember I only had Solitaire.  I use Windows Defender. I'm on the latest Windows 10.  After searching online, I followed one of advices just now: I turned off Updates from more than one place in my Settings. I don't know if this could solve my problem.   Help?  UPDATE  Guys, that link solved my problem. After observing for about a month, my Win 10 didn't install any unexpected new games or anything secretively. Thank you.


How to get null instead of the KeyNotFoundException accessing Dictionary value by key?

In some certain scenario it appeared to be useful for me to have a short-spoken, readable way to get null instead of the KeyNotFoundException while accessing dictionary value by key, when there is no such key in the dictionary.  The first thing that came into my mind was an extension method:  public static U GetValueByKeyOrNull<T, U>(this Dictionary<T, U> dict, T key)         where U : class //it's acceptable for me to have this constraint {     if (dict.ContainsKey(key))         return dict[key];     else          //it could be default(U) to use without U class constraint         //however, I didn't need this.         return null;  }   But it's not very short-spoken actually, when you write something like this:  string.Format("{0}:{1};{2}:{3}",                                                                dict.GetValueByKeyOrNull("key1"),               dict.GetValueByKeyOrNull("key2"),               dict.GetValueByKeyOrNull("key3"),               dict.GetValueByKeyOrNull("key4"));   I'd say, it would be much better to havesomething close to base syntax: dict["key4"].  Then I came up with an idea to have a class with a private dictionary field, which exposed the functionality I need:  public class MyDictionary<T, U> //here I may add any of interfaces, implemented                                 //by dictionary itself to get an opportunity to,                                 //say, use foreach, etc. and implement them                                 // using the dictionary field.         where U : class {     private Dictionary<T, U> dict;      public MyDictionary()     {         dict = new Dictionary<T, U>();     }      public U this[T key]     {         get         {             if (dict.ContainsKey(key))                 return dict[key];             else                 return null;         }         set         {             dict[key] = value;         }     } }   But it seems a little overhead to get the slight change in the basic behaviour.  One more workaround could be to define a Func in the current context like this:  Func<string, string> GetDictValueByKeyOrNull = (key) => {     if (dict.ContainsKey(key))         return dict[key];     else         return null; };   so it could be utilized like GetDictValueByKeyOrNull("key1").  Could you, please, give me any more suggestions or help to choose a better one?


I have the task to provide my point observations data in the "WFS 2.0" (Web Feature Service 2.0) standard format.  Are there any free, easy-to-use, desktop GIS clients or online viewers for showing and querying my WFS 2.0 layers?  I have only found the ""  Do any other popular free GIS viewers (Kosmo, MapWindow, ArcGIS explorer..) have support for showing and querying WFS 2.0 web feature service?


Connecting flight in Heathrow next day flight

I will be traveling to Brazil from the Philippines. I have a separate ticket Cebu Philippines to Incheon South Korea, vice-versa. Also, Incheon to Sao Paulo, Brazil with a connecting flight in Heathrow, London. On first pass by March 31, I have same day travel some maybe 7 hours difference. However, on my return passing Heathrow again it will be on April 13 4pm in Terminal 3 and leave for Incheon at 12 pm next day in Terminal 5. As a Philippine passport holder, do I need a Visa if I will just stay inside Heathrow airport(Terminal 3) as I wait for my flight to Incheon the next day? Thanks.


storing user string integer input, into integer array java

In this assignment I have to store a integer string input, "1234", into a integer array and the program must output the array reversely, the sum and the average. It must continue to prompt the user to enter a string unless they enter "end".  Everything works its just the program prints out -14,4,3,2,1,-14, and I dont know how to fix that issue also I dont know what value to enter into the while loop to end the program. Any help would be appreciated   import java.util.*;  public class Assign1 { public static void main(String[] args) {     int sum=0;     String input;      Scanner scan = new Scanner(System.in);  do{     System.out.println("Enter in a string of integers: ");     input = scan.nextLine();      //makes the size of the array according to the length of the user input     int[] intArr =  new int[input.length()];      //loop to store integers in array     for(int i=0; i<input.length(); i++)     {         intArr[i]= input.charAt(i)-'0';      }      //loop to calculate sum of elements in array     for(int i : intArr)     {         sum=sum+i;     }     System.out.println("Sum of array elements is: " + sum);       //calcluates the average of elements in array     double average = sum/input.length();     System.out.println("Average value of array elements is: " + average);       printReversed(intArr);   }   while(input!=" ");  } public static void printReversed(int[] values) {      //loop that prints out elements in reverse order     for(int i= values.length-1; i>=0; i--)     {         System.out.println(values[i]);     }    }  }


Time Complexity - letter combinations of a phone number

This is a common interview question and I know there are already loads of questions about it, but none that really help me, so here goes.  The question is as follows:  Given a digit string, return all possible letter combinations that the number could represent if entered on a standard phone number pad. Input: "23" Output: ["ad", "ae", "af", "bd", "be", "bf", "cd", "ce", "cf"].  I've written a basic, iterative (non-recursive) solution in python which seems to work: letters = {     '1': '',     '2': 'abc',     '3': 'def',     '4': 'ghi',     '5': 'jkl',     '6': 'mno',     '7': 'pqrs',     '8': 'tuv',     '9': 'wxyz',     '0': '' }  def combinations(number_string):      output = []      for index, number in enumerate(number_string):                  temp_list = []         for letter in letters[number]:             if not letters:                 continue              if index == 0:                 output.append(letter)             else:                 for combo in output:                     temp_list.append(combo + letter)          if temp_list:              output = temp_list                 return output  print(combinations('234'))  But what is the time complexity and why? I understand that I am iterating through each element in the input string, which gives us at least O(n) right away. Then for each of those elements, I am iterating through up to 4 possible letter combinations, so I understand that gets us to O(4n). But for each of the letter combinations, I am then iterating over all the combinations already obtained (to modify each for the latest letter).  This is where I get lost.


I am having trouble wrapping a tikzpicture, which is a matrix of nodes, within a subfigure. I would like this tikzpicture to be captioned and labelled. However I am getting the following error:  Undefined control sequence. <argument> \pgf@matrix@last@nextcell@options   l.23 }  ?    Here is the code that reproduces the issue.  \documentclass[12pt]{book} \usepackage{subfigure} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{figure}[ht] \centering \subfigure[Laplacian $9 \times 9$ filter]{ \begin{tikzpicture}[cell/.style={rectangle,draw=black}] \matrix[matrix of nodes]{ 0& 0& 1& 1& 2& 1& 1& 0& 0\\ 0& 1& 3& 5& 5& 5& 3& 1& 0\\ 1& 3& 5& 3& 0& 3& 5& 3& 1 \\ 1& 5& 3& -12& -23& -12& 3& 5& 1 \\ 2& 5& 0& -23& -41& -23& 0& 5& 2 \\ 1& 5& 3& -12& -23& -12& 3& 5& 1 \\ 1& 3& 5& 3& 0& 3& 5& 3& 1\\ 0& 1& 3& 5& 5& 5& 3& 1& 0 \\ 0& 0& 1& 1& 2& 1& 1& 0& 0 \\ };  \end{tikzpicture} \label{fig:log-filter-discret} } \hspace{.2in} \subfigure[LoG representation]{ \includegraphics[width=.45\linewidth]{log-img.png} \label{fig:log-filter} } \caption{discretized LoG and its representation} \end{figure} \end{document}


Given $\lim a_n =a$ and $\lim b_n =b$,  show $\lim\frac{1}{n}\sum_{k=1}^{n}a_k b_{n+1-k}=ab$  As you can see, two limit are expanding in two different direction. I have no idea about how to do it.


Let $r \ge 2$. How to prove that the fundamental group $\pi_1(GL_r(\mathbb{C}))$ of the invertible matrices $GL_r(\mathbb{C})$ over $\mathbb{C}$ equals $\mathbb{Z}$.  What about $\pi_1(GL_r(\mathbb{R}))$?


Fingerprint gui not installing in ubuntu 20.04 Even tried adding ppa

I tried the following commands: sudo apt-add-repository ppa:fingerprint/fingerprint-gui && sudo apt-get update  sudo apt-get install libbsapi policykit-1-fingerprint-gui fingerprint-gui  but I got the following error: E: Unable to locate package policykit-1-fingerprint-gui E: Unable to locate package fingerprint-gui  Please help quickly to get rid of it and work with my fingerprint sensor — Synaptics VFS7552.


What (and why) are the differences for AF between viewfinder and LiveView

I find that viewfinder never beeps to confirm focus. It also is much quicker (~0.5s) but sometimes jumps around constantly and never settles to a focus point. LiveView probably gets less light for focussing with but can take several seconds and then beeps to confirm a lock.  Why is this?  Anything else to be aware of?


How can I get parent div of javascript code (pure js)?

   MyDiv1 should contain the DOM-Part of div id="a" and MyDiv2 the DOM part of id="b". So that I don't need arguments to get it, like the "this()" or "self()" function / object.  btw. a function to get the child "script" tag dom part of the javascript code inside the script tag.  EDIT: a more detailed example.  //---Global loaded script in HEAD--- function LoadAsyncScript(){     //.....     var TScriptData = xmlhttp.responseText;     var TAppID = G_UNIQUEID;     var TScript = document.createElement('script');     TScript.setAttribute('type', 'text/javascript');     TScript.innerHTML = TScriptData;     document.getElementById('div_main').insertAdjacentHTML('beforeend', '

');     var TApp = document.getElementById('_' + TAppID + '_app');     TApp.dataset['appid'] = TAppID;     TApp.appendChild(TScript);     //..... };  function CloseApp(V_AppID){     var TMyAppDiv = document.getElementById('_' + V_AppID + '_app');     TMyAppDiv.removeChild(TMyAppDiv); }; //---END OF Global loaded script in HEAD---   //Async loaded and "appendChild" script part function OnClick_Callback(){     var TMyDiv = GetMyDivOfThisFunction();     CloseApp(TMyDiv.dataget['appid']); }; //......   How I can get this work?  Thx so much.


How can I detect and delete all lost configuration folders?

Over the time there is an increasing number of hidden .configuration folders in my home folder.  Many of these come from applications I only installed for testing or from applications that I don't use any more. I would not mind really but these folders do clutter my home, and worse than that sum up to as much as 80 GBytes by now. As there are also applications I never heard of (at least I can't remember I had installed them) I hesitate to delete them.  Is there a way to find out which folders came from purged applications? May there even be a way to auto-remove a configuration folder when purging (not removing) the application that created it?


How do i convert from string to int in F#?  As an example i'd like to pass  let someString = "123 to let someInt = 123 I cant really find any parse methods that work for me.. This question is not about parsing from int to String, but string to int. Not duplicate of a related question. Any ideas?  Thanks in advance


How to take photos of children in difficult lighting?

I recently went to a one-year-old's birthday party. The event took place inside; there was some light coming through the windows from outside and there was also light from the lightbulbs in the room, although not nearly enough. I used S mode on my Nikon D5100 (with an 18-55 stock lens) in order to reduce blur as much as possible, even though I wasn't able to go too low with the speed given the lighting; I also increased ISO to about 640.  Some of the pictures came out orangey due to the lightbulbs (the white balance was set to incandescent), especially when people were sitting just below the light source, while others came out blurry, despite my effort.  What should I have done better? Would shooting in RAW have helped?


I'm looking for how can I save my progress in GTA V. I've looked in menu (from pressing "start") then "GAME". I only see    Replay Mission Replay Strangers and Freaks Load Game New Game   I activated the autosave but sometimes I want to save at a precise moment.


A proof that an orthogonal matrix with a determinant 1 is a rotation matrix

Reading proof(starting on page 5) for item 1 of "Rotation Matrix Theorem" in  i'm stuck at understanding its last step. Matrix A being an orthogonal Matrix, at this step the conclusion that A is a rotation matrix is reached based on these facts:   $u_1$ is a unit vector such that $A u_1 = u_1$ $u_2$ is a unit vector perpendicular to $u_1$ $u_3 = u_1 \times u_2$ $A u_2 = \cos(\theta)u_2 + \sin(\theta)u_3$ $A u_3 = -\sin(\theta)u_2 + \cos(\theta)u_3$   I can't realize how that conclusion is reached, although I clearly understand a matrix of the form: \begin{bmatrix} 1 & 0 & 0 \\ 0 & \cos\theta & -\sin\theta \\ 0 & \sin\theta & \cos\theta \\ \end{bmatrix} is a rotation matrix and applying A to the unit vectors has the effect of rotating them about the axis through $u_1$ by the angle $\theta$.


Consider the general linear regression model: $$y_i = \beta_0 + \beta_1x_{i1} + \beta_2x_{i2} + \cdots + \beta_px_{ip} + \epsilon_i = \mathbf{x}_i^t \beta + \epsilon_i$$  where $\textbf{x}_i = (1,x_{i1},x_{i2},\cdots,x_{ip})^T$, $\beta=(\beta_0,\beta_1,\cdots,\beta_p)^T$ and $\epsilon_i$ are iid N(0,$\sigma^2$).  I would like to see a complete proof of the following identity from first principles: $$\sum_{i=1}^n(y_i - \bar{y})^2 = \sum_{i=1}^n(\hat{y}_i - \bar{y})^2 + \sum_{i=1}^n(y_i - \hat{y}_i)^2$$ where $\hat{y}_i= \mathbf{x}_i^t \hat{\beta} $ ($\hat{\beta}$ is the least square estimator, $\bar{y}$ ia the sample mean of $y_i$).  I know that the two terms on the right can be obtained by subtracting and adding $\hat{y}_i$ on the left side. But this introduces a "cross term": $$\sum_{i=1}^n2(\hat{y}_i - \bar{y})(y_i - \hat{y}_i)$$  Many texts claim that this is zero, but I have not seen a general proof of this statement. How can this be shown?


array_push() vs. $array[] = .... Which is fastest?

I need to add values received from MySQL into an array (PHP). Here is what I've got:  $players = array();  while ($homePlayerRow = mysql_fetch_array($homePlayerResult)) {     $players[] = $homePlayerRow['player_id']; }   Is this the only way of doing it?  Also, is the following faster/better?  $players = array();  while ($homePlayerRow = mysql_fetch_array($homePlayerResult)) {     array_push($players, $homePlayerRow['player_id']); }


How do I *really* justify a horizontal menu in HTML+CSS?

You find plenty of tutorials on menu bars in HTML, but for this specific (though IMHO generic) case, I haven't found any decent solution:  #  THE MENU ITEMS    SHOULD BE    JUSTIFIED     JUST AS    PLAIN TEXT     WOULD BE  # #  ^                                                                             ^  #    There's an varying number of text-only menu items and the page layout is fluid. The first menu item should be left-aligned, the last menu item should be right-aligned. The remaining items should be spread optimally on the menu bar. The number is varying,so there's no chance to pre-calculate the optimal widths.   Note that a TABLE won't work here as well:   If you center all TDs, the first and the last item aren’t aligned correctly. If you left-align and right-align the first resp. the last items, the spacing will be sub-optimal.   Isn’t it strange that there is no obvious way to implement this in a clean way by using HTML and CSS?


Expectation of random varible with normal distribution composed with exponential

I am trying to find $\mathbb{E}(e^{-X})$ where $X$ is a random variable with a general normal distribution. I end up with  $$(2\pi \sigma)^{-\frac{1}{2}} \int_{-\infty}^{\infty} e^{-x}e^{\left(\frac{-(\mu-x)^2}{2\sigma^2}\right)}dx $$  Tried some transformations and the polar coordinate trick used to derive values of $(2\pi \sigma)^{-\frac{1}{2}}\int e^{(\frac{-(\mu-x)^2}{2\sigma^2})}dx $ but haven't been able to come up with anything explicit. Can anyone point me in the right direction? I am in despair... do I need to use a numerical method?   If it helps, here is what the integral boils down to $$(2\pi \sigma)^{-\frac{1}{2}}\int \exp\left(-\frac{x(2\sigma - 2\mu +x)}{2\sigma^2}\right)dx $$


To what extent can the open gaming license be used commercially?

Let's say hypothetically I want to make a videogame based on pathfinder. To what extent can I use their content?  From what I can gather, I can use all mechanics, items, and bestiary, but I can't use any copyrighted content such as artwork, story (such as adventure paths) or proper names? I also assume I can't use the word pathfinder except to say the game is based on its rule set.  Does this sound correct? Am I missing anything?


How to convert java.util.Date to java.sql.Date?

I am trying to use a  as input and then creating a query with it - so I need a .    I was surprised to find that it couldn't do the conversion implicitly or explicitly - but I don't even know how I would do this, as the Java API is still fairly new to me.


I got a warning about deleting a question with answers even though I'd deleted my answer

I got this warning when I tried to delete:    Even though I'd already deleted the answer.   / ?


I have  that the sum of Gamma random variables with the same scale parameter is another Gamma random variable. I've also seen the paper by  describing a method for the summation of a general set of Gamma random variables. I have tried implementing  method but have yet to have success.  What does the summation of a general set of Gamma random variables look like? To make this question concrete, what does it look like for:  $\text{Gamma}(3,1) + \text{Gamma}(4,2) + \text{Gamma}(5,1)$  If the parameters above are not particularly revealing, please suggest others.


How to turn continuous signal into a short pulse using logic gates?

Basically, I want to turn a continuous "1" into a short "1" pulse then "0". I'm new to logic gates, apologies if it's too obvious.


Transfer time from Newark Terminal C to B?

I'd like to hang at the United Club in Newark Terminal C as long as poss b4 leaving on international Austrian Air in Terminal B.  How much transfer time should my family allow? Only one of us has Global card.


I read that when something moves at the speed of light, length contracts at the direction of motion. Now consider a photon traveling in the z axis. Since it is travelling at the speed of light, the z axis space should shrink to zero length. If there is no space in z direction how can the photon move? Also, for the photon is the universe a 2D plane( If only 3 dimensions exist in this universe)?


WiFi isn't working in new installation of Ubuntu

It's Linux and everything should be setup manually, but I'm new to this and need help in setting up my WiFi.  here's what I did. I installed ubuntu, tried to connect the WiFi while installation it didn't got connected, I thought well it'll connect once it got installed but it still isn't connected. I think it should be pretty easy to solve, something I forgot to tick or something  a thing to notice is that it says it's connecting for few seconds and doesn't get connected after that


How to prove $a^3 + b^3 +c^3 - 3abc =1 $, If a,b,c are infinite series as given in the description box below?

How do I prove that $$ a^3+b^3+c^3−3abc = 1 $$ if   $ a = 1+\frac{x^3}{3!}+\frac{x^6}{6!}......$ , $b=x+\frac{x^4}{4!}+\frac{x^7}{7!}....$ , $c=\frac{x^2}{2!}+\frac{x^5}{5!}+\frac{x^8}{8!}......$ ?  I have tried the following :-  I discovered that $a+b+c=e^x$ and that $a=\frac{d(b)}{dx}$, $b=\frac{d(c)}{dx}$, $c=\frac{d(a)}{dx}$ . But I am unable to proceed further with these information.


Wondering if anyone's seen this issue where you're clicking and holding with a Logitech trackball and, although you're still holding the primary mouse button the OS (Windows in my case) acts as if you've released it.  It's quite inconvenient, particularly if you're trying to lasso select some files and drag and drop them etc.  I've seen  and, while it may share some common components, it's neither the same mouse nor OS. Also given that the device in question is  I'd be loath to invalidate it by opening the device up.  The trackball is a M570, about 2.5 years old so it's possible that it's a function of age but I'd like to know definitively before I purchase a new/alternative model.  If I use Spy++ to monitor window messages then I can clearly see that's there's a series of mouse down/mouse up/mouse down messages like this:  <000001> 0001014E P WM_LBUTTONDOWN fwKeys:MK_LBUTTON xPos:1561 yPos:5 <000002> 0001014E P WM_LBUTTONUP fwKeys:0000 xPos:1394 yPos:801 <000003> 0001014E P WM_LBUTTONDOWN fwKeys:MK_LBUTTON xPos:1593 yPos:0 <000004> 0001014E P WM_LBUTTONUP fwKeys:0000 xPos:1593 yPos:0   Basically the button leaves go for a split second and then re-engages again. Smells like a hardware fault alright.


I have info path form that has signature and status field and I want to make a condition when signatures field not blank the status field will show a message.  Basically, when signer 1 done then I need status to show Ready for signer 2 And when signer 2 done I need the status to show Ready for signer 3.   Is it possible on info path designer I have difficulty to applied the action is that b/c the control is signature?


Can't configure Canon LBP2900b printer in 20.04

I cannot configure my Canon lbp2900b printer in Ubuntu 20.04. I have a dual boot of Windows 10 and Ubuntu 20.04, and it is working fine in Windows 10. When I turn on the printer in Ubuntu it is showing Configuring printer please wait... and after some time it is showing Printer added Canon lbp2900, but when I print a test page it's showing Printing test page and then it is showing Printing completed but there is no response from the printer. I installed the driver for linux_64 from the official Canon website. Results of lpinfo -v : file cups-brf:/ serial serial:/dev/ttyS0?baud=115200 network https network beh direct ccp direct hp network ipps network http network ipp network socket network lpd direct hpfax  and the command systemctl list-units "ippusbxd" | grep service shows nothing.


How do I start a new village on my second iOS device?

So I have the same clash of clans village on my iPad and my iPhone.   How do I start a new village on my iPad while keeping the same one on my iPhone?


What storage solutions are there for working with large volumes of digital photo data?

I'm dating a professional photographer that has been accumulating digital images at an alarming rate (thousands of high-res images per month).  Does anyone have any recommendations of external and/or remote storage solutions to effectively work with such large volumes of data?  Managing burned DVDs seems a little scary.


Should postdocs work only on the projects they are hired for, or can they work with other people in the same research group on other projects?

Would the latter be an issue with the funding body, when the project proposal and budget only covers the expenses for hiring one postdoc? Note: it is the supervisors who got the grants, not the postdocs themselves.


How can I display a picture from a field as the user picture rather than the drupal default with user-picture.tpl.php?

Because my site requires user pictures to be approved, the default Drupal user picture is not suitable.  Instead, I want to show a picture from a field in each user's profile as the user's profile picture.  The field is "field_profile_picture".  The image style is "profile_picture".  Based on , I put the following code in user-picture.tpl.php in my theme's templates folder:  if (!empty($user->field_profile_picture['und'][0]['filename'])) {   echo theme('image_style', array('style_name' => 'profile_pic', 'path' => file_build_uri($user->field_profile_picture['und'][0]['filename']))); }   This doesn't result in any PHP errors but no picture is displayed.  It appears that field_acc_profile_picture is evaluating as empty because even if I put a print "Hello world"; inside the {} it doesn't appear.  However, I am sure that the field has a value because I can see the picture displayed in views.


Create a batch file or shortcut to PuTTY (ssh) that opens a session and runs a command

I often find myself opening an SSH session to run the same single command. I have everything setup to login without entering a password (Via SSH Key-Based Auth), so I wondered if there was a way to create a shortcut or a batch file in Windows that would load PuTTY or a similar program, then fire off that command (and likely exit if result is good).


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


Was planning to visit family in the UK for 2 weeks; what can I do about this refusal?

REASONS FOR REFUSAL   You have applied for a visa to visit the UK.   In deciding whether you meet the requirements of Appendix V: of the Immigration Rules for visitors (), I have considered:         your application and any additional relevant information you have   provided with it     your immigration history         The decision   I have refused your application for a visit visa because I am not satisfied that you meet the requirements of paragraph 4.2 of Appendix V because:         You are applying to come to the UK with for 2 weeks. I note that this   will be your first trip to the UK. You state that you are employed,   where you earn £1,257.62 per month, you have savings of £7000.6, and   you intend to spend £1,000.00 on your trip to the UK.     In support of your application, you have provided an employment   letter, payslips and a bank statement, and you have explained the   cash deposits credited to your account. However, the information you   have provided does not satisfactorily demonstrate your monthly   outgoings, or explain how the bank balance has escalated in a short   period of time. I am therefore not satisfied that these funds are   available to you for your personal use.     Given the above, I am not satisfied by your intentions in wishing to   travel to the United Kingdom for a limited period, or that you will   leave the UK at the end of your visit.         Furthermore, I am not satisfied that you have sufficient funds available to cover your costs whilst in the UK without working or accessing public funds. Your application for a visit visa has been refused under paragraph V4.2 (a) (c) and (e) of the Immigration Rules.        In relation to this decision, there is no right of appeal or right to administrative review


Can we interchange the limit and integration for $\int f_n(x)\,\mathrm{d}x$?

In connection with  about computing integrals of the form $$\mathcal{I}_n=\int_0^\infty f_n(x)\,\mathrm{d}x=\int_0^\infty \frac{\mathrm{d}x}{e^x+x^n}$$ I noticed an interesting trend while plotting the integrand for $n\to\pm\infty$.  On the left, the blue curve is a plot of the integrand with $n=-1000$; on the right, $n=1000$. The orange dashed curve is $e^{-x}$.    I would think $$\lim_{n\to-\infty}\mathcal{I}_n=\int_0^\infty e^{-x}\,\mathrm{d}x=1\\ \lim_{n\to\infty}\mathcal{I}_n=\int_0^\infty 0\,\mathrm{d}x=0$$ yet the plots suggest otherwise; namely, that $$\lim_{n\to-\infty}f_n(x)=e^{-x}\theta(x-1)\\ \lim_{n\to\infty}f_n(x)=e^{-x}\theta(1-x)$$ where $\theta(x)$ is the , which in turns suggests $$\lim_{n\to-\infty}\mathcal{I}_n=\frac{1}{e}\\ \lim_{n\to\infty}\mathcal{I}_n=1-\frac{1}{e}$$ If I had to guess, my "intuition" of interchanging the limit and integration fails, but what's the precise reason as to why?


i want to delete last dot (.) from this version format 1.1.0010.1214.10

I tried with sed and awk but not getting in required format.  1.1.0010.1214.10   Expected output:  1.1.0010.121410   I tried below ways  echo "1.1.0010.1214.10" | sed -e "s/\(.*\)./\1/g" 1.1.0010.1214.1


Splitting an equation into multiple lines

I want to display the following equation:    The LaTeX code I have made is as follows:  \[PaD^{i}=\left [ \frac{(1-\frac{n_{1}}{N})\times M(i,1)}{m}+\frac{\sum_{t=2}^{m}[(1-\frac{n_{t}}{N}\times \frac{n_{t-1}}{N})\times M(i,t)\times M(i,t-1) )]}{m}+\\ \frac{\sum_{t=2}^{m}[(1-\frac{n_{t}}{N}\times \frac{N-n_{t-1}}{N})\times M(i,t)\times (1-M(i,t-1))]}{m}\right ]\times 100\%\]   Is there any way to break the right side of the equation into three lines so that it can fit the page?


Is there a name for function with the exponential property $f(x+y)=f(x) \cdot f(y)$?

I was wondering if there is a name for a function that satisfies the conditions  $f:\mathbb{R} \to \mathbb{R}$ and $f(x+y)=f(x) \cdot f(y)$?  Thanks and regards!


Crisis in my understanding of probability

If I were to roll a die, what would be the probability of getting $2$? Certainly it would be $\dfrac 16$ (because there are $6$ numbers and sample space contains 6 numbers)  But I think we can look at it another way.  We need $2$ right? and from $1-6$ there is only one number which is $2$ i.e. $2$. If I were to roll there would essentially be two types of numbers ie. one which is $2$ and one which is not ie $1,3,4,5,6$. So there are two basic outcomes. P(E) = number $2$÷total outcomes ie $2$. P(E)= $\dfrac 12$ So why is the probability $\dfrac 16$(when it is clear that the outcome we desire, can either happen or not happen.) Shouldn't the probability be $\dfrac 12$ instead, why not?


How to disable the physical sim and only use the eSIM on iPhone XS/iPhone XS Max?

I'm wondering if there is a way to turn off the Physical sim and use only the eSim on my iPhone XS Max. I travel a lot and I'm loving the use of eSIM.   I understand that I can turn off the eSIM if its required, but I wanted to know if there was any way to turn the Physical Sim off and leave only the eSim ON.  Note - I have an unlocked iPhone XS Max.


I am reading "The C++ Programming Language 4th edition", and at the top of page 958 there is the following code snippet: template<typename Iter> typename Iter::value_type read(Iter p, int n) {     // ... do some checking ...     return p[n]; }   What does "typename" on the second line do in this case?


How can I selectively disable paste blockers

As more and more websites add  of one type or another to e-mail and password fields and more people use password managers, the two are increasingly coming into conflict.  While there are extensions such as  for Chrome or  and the dom.event.clipboardevents.enabled preference† for FireFox, all of these suffer the problem that there are legitimate reasons why websites might want to hook into onpaste (such as Google docs rich text support or Facebook's link handling) so I don't want that functionality completely disabled.  † Go to about:config and search for dom.event.clipboardevents.enabled then double click to toggle.  Another option is to hack every page you find with the offending code manually, but that is a lot of hassle and doesn't work in every case (such as with ). One suggestion of how to do this can be found on Martin Brinkmann's  page.  Ideally I just want to be able to say "Re-enable paste on all fields on this page" either as a button or a context menu option for the page, so is there any way to do this?  The closest thing I have found is Derek Prior's  but this uses the same method as the manual method, so fails to work with the specific page I was having problems with, and I have no idea how many other methods might be available.