I'm trying to upgrade a very old (Lucid Lynx) Vmware VM I recently re-discovered.  When I try to run the update manager, I get the message "Your Ubuntu release is not supported anymore.  You will not get any further security fixes or critical updates. Please Upgrade to a later version of Ubuntu Linux."  Then update manager freezes.  Is there a way to configure update manager so it can point to something I can upgrade to?  NOTE: I've been following some of the questions involving upgrading end-of-life versions... nothing seems to help,

Recently I have installed an older version of Ubuntu on my old machine. Whenever I try to install any software, I get an error saying it couldn't be found:  $ sudo apt-get install vlc Reading package lists... Done                Building dependency tree        Reading state information... Done     E: Couldn't find package vlc


$G_1$ is graph on the set of vertices $\{1,2,3,4,5,6,7,8\}$, $G_1$ vertice chromatic number is 5.  $G_2$ is graph on the set of vertices $\{7,8,9,10,11,12,13,14,15,17,18,19,20\}$, $G_2$ vertice chromatic number is 7.  we know $G_1$ and $G_2$ have an edge between vertice 7 and vertice 8. (we already used 2 differnt colors on them both).  $G$ is graph on the set of vertices $\{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20\}$, that it's set of edges is the union of the edges set of $G_1$ with the edges set of $G_2$.  the vertice chromatic number of $G$ is: 5 / 7 / 12 / we can't know without further information  prove the answer.  As I understand, no vertice of $G_1$ can be connected to a vertice of $G_2$, except vertices 7 and 8, if we use 7 different colors on $G_2$, with vertice 7 and vertice 8 counted as 2 of them, and we use 5 colors on $G_1$ (with vertice 7 and vertice 8, counted as the same colors we used to color $G_2$ ) $G$ must have a vertice chromatic number of 7.  too simple in my opinion, I'm already waiting for my mistake.

$G_1$ is graph on the set of vertices $\{1,2,3,4,5,6,7,8\}$, $G_1$ vertex chromatic number is 5. $G_2$ is graph on the set of vertices $\{7,8,9,10,11,12,13,14,15,17,18,19,20\}$, $G_2$ vertex chromatic number is 7. We know $G_1$ and $G_2$ have an edge between vertex 7 and vertex 8. (We already used 2 different colors on them both). $G$ is graph on the set of vertices $\{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20\}$, and its set of edges is the union of the edges set of $G_1$ with the edges set of $G_2$. The vertex chromatic number of $G$ is: 5 / 7 / 12 / we can't know without further information Prove the answer. I think I got it, can someone approve? After the union to $G$, we copy the colors of $G_2$ to 7,8,9,10,11,12,13,14,15,16,17,18,19,20, obviously, $G$ vertex chromatic number is 7 and can't be less. We go through the vertices 1,2,3,4,5,6,7,8. We look for a vertex that doesn't connect to a different vertex. (There must be one, because if only one edge was missing in $G_1$, our chromatic number of $G_1$ was 7, but it's 5). Once we find a missing edge, we color both its vertices in the same color. We go through vertices 1-6, and color each vertex that doesn't have a color, with the colors of $G_2$ that we didn't use in $G_1$ (there should be 4-5 of them).


I am travelling from UAE to Russia in the coming month.  My flight will halt for about 4 hr at Brussels, there I will take another flight to Russia.    May I know whether I would require transit Visa-on-arrival at Brussels Airport, if for any unexpected reason passengers are asked to disembark the flight?  I am a Jordanian citizen.

I found many related questions on this site but I am still not sure about the rules. How can I decide if I need a visa to transit? Schengen members as of May 2021 are as follows:  Austria Belgium Czech Republic Denmark (excluding Greenland and the Faroe Islands - but an open border with the Schengen Area is maintained) Estonia Finland France (excluding overseas departments and collectivities) Germany Greece Hungary Iceland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands (excluding Aruba, Curaçao, Sint Maarten and the Caribbean Netherlands) Norway (excluding Svalbard) Poland Portugal Slovakia Slovenia Spain (except Ceuta and Melilla) Sweden Switzerland


I'm a bitcoin miner and my pc unfortunately doesn't support gpu mining (keeps crashing my drivers) so I use cpu mining. However, is keeping my cpu on %100 dangerous? I have a dell inspiron 3542 with i5-4210U. (1,7 to 2,7 ghz)

If I use a processor at 100% constantly for several hours, can that damage the machine?


I am trying to parse json data from online database with a php file link and i dont know how to do it. Generally i know that parsing json data is something like this.  <script>        var data = '{"name": "mkyong","age": 30,"address": {"streetAddress": "88 8nd Street","city": "New York"},"phoneNumber": [{"type": "home","number": "111 111-1111"},{"type": "fax","number": "222 222-2222"}]}';      var json = JSON.parse(data);      alert(json["name"]); //mkyong     alert(json.name); //mkyong      alert(json.address.streetAddress); //88 8nd Street     alert(json["address"].city); //New York      alert(json.phoneNumber[0].number); //111 111-1111     alert(json.phoneNumber[1].type); //fax      alert(json.phoneNumber.number); //undefined </script>      But what if i create a json file with php and it has the link  www.example.com/parse.php   and i want that link to connect it with another html file in another server like  www.example2.com/parsehere.html   which has the above code without putting the json data inline, but to load it from the link of php?? Is that possible?  All im trying to do is to make inside this script to load data from a url and NOT from raw json data like the above script.  <script>          //here something to load data from a link and parse it below.          var json = JSON.parse(data);          alert(json["name"]); //mkyong         alert(json.name); //mkyong          alert(json.address.streetAddress); //88 8nd Street         alert(json["address"].city); //New York          alert(json.phoneNumber[0].number); //111 111-1111         alert(json.phoneNumber[1].type); //fax          alert(json.phoneNumber.number); //undefined     </script>

I need to do an  request in JavaScript. What's the best way to do that?  I need to do this in a Mac OS X dashcode widget.


I have the following sequences $(a_n)$, $(b_n)=(a_{2n})$, and $(c_n) = (a_{2n-1})$.  I have to show that:   if $(b_n)$ and $(c_n)$ both convergence to $a$, then $(a_n)$ also converges to $a$; if $(a_n)$ converges then $(b_n)$ and $(c_n)$ also converge; there exist $(a_n)$ not converging but with $(b_n)$ and $(c_n)$ converging.   I am not sure how to solve this since I only know that $(b_n)$ > $(c_n)$ > $(a_n)$ on the terms how the sequences are defined.

Given a sequence $x_1<x_2<x_3<x_4<\ldots,$ I found both subsequences $\{x_{2m}\}$ and $\{x_{2m-1}\}$ converge to $\lambda^*$. In this case, can I say $\{x_m\}$ also converge to $\lambda^*$? (i.e. a sequence $\{x_m\}$ is divided into two subsequences $\{x_{2m}\}$ and $\{x_{2m-1}\}$)  If so, if the rate of convergence is superlinear for both subsequences $\{x_{2m}\}$ and $\{x_{2m-1}\}$, can I also say that $\{ x_m\}$ converge superlinearly?   What is more curious to me is the case where two subsequnces converge at different rates of convergence. For example, if $\{x_{2m}\}$ converges linearly to $\lambda^*$ and $\{x_{2m-1}\}$ converges superlinearly to $\lambda^*$, what is the rate of convergence of $\{x_m\}$?


If $X$ is a normed linear space and $(x_n)$ is a Cauchy sequence in $X$, then $x_n$ has a subsequence $x_{n_k}$ which satisfies $$\|x_{n_k} - x_{n_{k-1}}\| < \frac 1 {2^k}$$ for every $k > 0$.  Why is this assertion true?

A sequence $\{x_j\}$ is said to be fast-Cauchy if $\sum_1^\infty d(x_j,x_{j+1})<+\infty$. Show that every Cauchy sequence has a fast-Cauchy subsequence.   **My attempt:**Argue by contradiction, suppose there is no such subsequence. Then for any subsequence $\{{x_j}_k\}$,  $\sum_1^\infty d({x_j}_k,{x_j}_{k+1})$ diverges. Vaguely recall from an analysis course, if a series diverges, it doesn't not satisfy the Cauchy criterion. That is to say, there exists $\epsilon>0$ such that for all $k$ and all $p\ge1$, $d({x_j}_{k+1},{x_j}_{k+2})+...+d({x_j}_{k+p}+{x_j}_{k+p+1})\ge\epsilon$.  Then I intuitively think that this is a contradiction, since if the original series is Cauchy, then after a large $N$, since $d(x_m,x_n)$ has to be very small, so that their sum should be smaller than given $\epsilon$, which is a contradiction. But I don't know how I can write down the concrete proof?


Suppose I have a biased coin that comes up heads with probability $p$ and tails with probability $1-p$ with some $p$ such that $0 < p < 1$.  I flip the coin $n \geq 1$ times. I choose some $m$ so that $1 \leq m \leq n$.   I am trying to find the probability, in terms of $p$, $n$, and $m$, of the following being true:     During the $n$ tosses, at some point there is a streak of (at least) $m$ consecutive heads.      Let $f(n,m,p)$ be the probability that such a streak exists.   I am trying to find a general formula for $f$ in terms of $n$, $m$, and $p$, but I don't know how to solve this.   I can figure out some of the easier cases, where I fix one of $n$, $m$ or $p$ and write $f$ in terms of the other two variables:     $$f(1, m, p) = p$$ (in this case $n=1$ forces $m=1$ and this is just the probability of heads on one flip)      $$f(n,1,p) =  (1-p)^n$$ (in this case we can find $1$ minus the probability of no heads)     I don't know how to find a general formula (or a good approximation) for $f(n,m,p)$. I am guessing that the problem is very difficult.   Any help is appreciated, thank you!!

Suppose a biased coin (probability of head being $p$) was flipped $n$ times. I would like to find the probability that the length of the longest run of heads, say $\ell_n$, exceeds a given number $m$, i.e. $\mathbb{P}(\ell_n > m)$.   It suffices to find the probability that length of any run of heads exceeds $m$. I was trying to approach the problem by fixing a run of $m+1$ heads, and counting the number of such configurations, but did not get anywhere.  It is easy to simulate it:    I would appreciate any advice on how to analytically solve this problem, i.e. express an answer in terms of a sum or an integral.  Thank you.


Just curious, I am new and getting used to some of the features of SE. I went to my profile and it said I was in the top 2%. So, I clicked on the link and started navigating through the list of users until I got to the bottom. I was listed only once initially. Then I clicked to page #2 and then pressed the show 50 and I noticed I came up twice. I may have missed something but why would I be listed twice? I am number 1 and 2. I can't be the first AND second most gainful user for the week. Is this a bug?

So I understand that this has happened in the past: , but all of the "duplicate" posts are marked as  so here is a new bug report: On the , I am listed twice:  While that's fun and all, it isn't exactly right.


I am new to C. Can someone explain me whats the difference between these?  I usually use pointers like this:  int myFunction(int* something) {   ... }  int main() {   int something;   something = 0;    myFunction(&something);   ... }   But I've found code which looks like this:  int myFunction(int& something) {   ... }  int main() {   int something;   something = 0;    myFunction(something);   ... }   It seems like the exactly same thing for me. Is there any difference?

I know references are syntactic sugar, so code is easier to read and write. But what is the difference between a pointer variable and a reference variable?


Learning JavaScript and doing some questions. I am trying to reverse a given string and I don't know why my logic is wrong as running through the debugger it looks like it's doing the swapping as intended.  Any help is really appreciated, I know it's simple but that means I'm missing something important.     function reverse(s) {   let i = 0;   let j = s.length - 1;    while (i < j) {     let temp = s[j];     s[j] = s[i];     s[i] = temp;     i++;     j--;   }   return s; }  console.log(reverse("hello"));

Does javascript use immutable or mutable strings? Do I need a "string builder"?


During process of protein synthesis we need AUG Codon to start translation .As we know this codon codes for Methionine amino acid so can we say that every protein starts with Methionine amino acid ?

Start codon AUG also codes for methionine and without start codon translation does not happen. And even the ambiguous codon GUG codes for methionine when it is first. So does this mean that all proteins start with methionine as the first amino acid.


How do I do this while keeping my reputation on the different sub-sites?

Right now I have an account on Stack Overflow that was created automatically when I logged in using my Google account.  The point is, what happens if I lose access to my Google account? It seemed unlikely when I registered, but now that Google accounts are tied to YouTube accounts, which can get closed for a number of reasons, I'm starting to worry.  I'd like to know if (and how) I can switch my Stack Overflow account from the Google-login to one that uses a dedicated password.  BTW I don't mind needing to remember one more password.


I'm currently stuck with an old PC with amd-core processor and 2GB RAM. Windows isn't doing well so I've switched to Linux and want to know if there is any lite version of Ubuntu available for basic use.

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


In Settings -> Accounts -> Google, when I tap on my Google account, I see a "Sync settings" page with a list of different Google services that can be synced (App Data, Calendar, Drive, Gmail, Google Play Books, etc.).  This list includes both "Contacts" and "People details."  What is meant by "People details" and how does this differ from "Contacts?"    Are there any negative outcomes I would expect from disabling sync of "People details" (i.e. what would break?)

For a Google account, you are allowed to sync Contacts and People details. What is the difference between these two?


I am using the \large font command in a document and it seems that the large font extends beyond my intended text to the end of the document.  Example of code:  ... <previous text> \newpage \large{Examples of Continuous Symmetry} <more text> ...   Now, from the point of \large{xxx} to the end of the document, all text is in the large font.  I have tried various things to find the problem including removing the \newpage or even deleting and rewriting the \large command statement.    I use the \large command at earlier positions in the paper but it works as expected which is the only portion in large font is that contained in braces {}.  Am I doing something wrong or is there a bug.  I downloaded latest Mac version of TeX software just yesterday.  I use TeXShop as the editor environment.  Note: please excuse my choice of tags as I am unsure of the correct tag to use.

Most commands in Latex are written with the arguments inside braces following the command: \command{arguments}. But text formatting options, like \em, or \scriptsize are usually written inside the braces, like {\em some italicised text}. Why is this? What makes these commands different? I'm particularly asking because it seems to make standardisation - of which LaTeX really appears badly in need - more difficult.


I'll go straight to the MWE:   \documentclass{article} \newcommand\mymacro{\MakeUppercase{this is my macro}} \begin{document} Foo \mymacro bar. \end{document}   In my understanding, this should produce Foo THIS IS MY MACRO bar., but instead I get Foo THIS IS MY MACRObar., using both xelatex and pdflatex.   What is wrong with the macro above?

I have a definition:  \newcommand{\arnold}{Arnold Schwarzenegger}   When I refer to it by:  \arnold is a   it is rendered as:   Arnold Schwarzeneggeris a    In order to have a space in front of "is" I would need to write  \arnold\ is a   Is there some other shorter way?


Aight, I've read up on the five other posts here and managed to "brick" my game... of sorts. The current FOV gives me a headache when dealing with anything nearby. I put the line:  Bindings=(Name="F1",Command="FOV1 00",Control=False,Shift=False,Alt=False)    in my steamapps\common\Borderlands\WillowGame\Config\DefaultInput.ini file, and the game has absolutely no input except for my F1 binding (which zooms out to a decent FOV, but then nothing else works).  I had some other keys bound to lower FOV's but they did not work, and they do not pull this out of the wider view.  Everything here seems to be outdated or not for the Steam version, and there's .ini's everywhere. I tried tweaking some others, but they did nothing.  Any ideas? Thanks in advance!

How can I increase FOV (Field Of View) on Borderlands for PC?


Is there any shortcut for it?  I tried Control + Shift + Touch ID, which didn't work.

This was working on older Mac using CtrlShiftPower. But this doesn't work on the new Macbook Pro 2016 with touch bar. Can someone please help. I want to lock my Mac without putting it to sleep.


How can I stop Microsoft Excel from auto formatting data when imported from a csv/text file? Specifically, I want it to treat all of the values as text.  The files come to me as tab delimited text files. When loaded/opened in Excel, Excel auto-formats the data causing leading 0's on values to be truncated and often converting the values into dates.  We do not want to click through the import wizard an specify that each column is text. We would rather open the .csv file and have it be handled accordingly.  Ideally I just want to turn off Excel's Auto-Formatting completely, and just edit every cell as it were plain text. There are no formulas to be concerned with.  This is NOT an Auto Correct or "Replace text as you type" problem so it doesn't appear to be addressable by the AutoCorrect panel.

Though I try to avoid it, I occasionally have to open a CSV file in Excel. When I do, it formats columns containing numbers, which makes them useless for my purposes. As far as I can tell, the only way to prevent this from happening on import is to rename the file so the extension isn't .csv and use the import wizard to specify the format of each column individually. For files with 50-60 columns, this is impractical.  Since every answer for this oft-asked question on the internet suggests either some means of converting the formatted numbers back once the file is open (which won't work for me - I want to solve the general problem, not a few specific cases) or manually selecting the format type of each column (which I don't want to do), I'm looking for a way to set a global preference or style such that all columns of all CSV files opened are always formatted as text.  I know about "armoring" the numbers with quotes, too, but the files I get don't come like that and I was hoping to avoid having to pre-process the files so Excel doesn't screw them up.  Is there a way to do specifically this: Always format all columns in opened CSV files as text, without manually selecting each column every time during import?  I'm using Excel 2003, but I'll take answers for 2007 if that's what you know.


I want to pass the cookie as a variable .  letstr = cookie; (/\bcookie\b/g).test('having cookie.');

I would like to create a String.replaceAll() method in JavaScript and I'm thinking that using a regex would be most terse way to do it.  However, I can't figure out how to pass a variable in to a regex.  I can do this already which will replace all the instances of "B" with "A".  "ABABAB".replace(/B/g, "A");   But I want to do something like this:  String.prototype.replaceAll = function(replaceThis, withThis) {     this.replace(/replaceThis/g, withThis); };   But obviously this will only replace the text "replaceThis"...so how do I pass this variable in to my regex string?


In the finale when they mention the Cloister bells ringing they also refer to the things down there,      The Cloister Wraiths. I thought the Cloister Bell was just a bell on the TARDIS, and did not refer to a race? Are they a Gallifreyan race, or a different race like the Sisterhood of Karn?   What race are these creatures?

All people from Gallifrey are considered Gallifreyans; but what differences, if any, are there between Time Lords and common Gallifreyan citizens other than having a TARDIS?


I want to use "Parallels Desktop" in Ubuntu.  I did some searching and have found the archive Parallels.tgz. But I'm not sure if this is the right one.  How can I check whether I downloaded the correct archive and how shall I proceed?

I'm not normally a fan of mac software implementations, but recently I saw a copy of Parallels Desktop for mac that I was very much impressed by. I looked into parallel's offerings for Linux (I was initially excited that they developed for *nix) but found that it has essentially the same features as VMware.   Does anyone know if there is a software solution for linux that offers the level of integration that the current Parallels Deesktop for mac has?  I looked into wine for the programs I want to run and was very frustrated. I feel like all the ratings in their application database were fabricated honesty. I've tried wine once every Ubuntu release since 8.10 and have never gotten it to work stably.


i have this method  public function getArticles($order){         $stmt = $this->db->prepare("SELECT * FROM articles ORDER BY :order");         $stmt->bindParam('order',$order);         $stmt->execute();         $results = $stmt->fetchAll(PDO::FETCH_ASSOC);         return $results;     }   that im calling like this  $articles->getArticles('created DESC');   but when i trying to do 'created ASC' it will not change the order? i have tryed with two $vars and with backtics around the column, but i cant get it to work and i do not get any errors to work with it just pulls the rows in the same order every time.  Found the solution on   $orders  = ["name","price","qty"]; $key     = array_search($_GET['sort'], $orders); $orderby = $orders[$key]; $direction = _GET['direction'] == 'DESC' ? 'DESC' : 'ASC'; $query   = "SELECT * FROM `table` ORDER BY $orderby $direction";

Why can't I pass the table name to a prepared PDO statement?  $stmt = $dbh->prepare('SELECT * FROM :table WHERE 1'); if ($stmt->execute(array(':table' => 'users'))) {     var_dump($stmt->fetchAll()); }   Is there another safe way to insert a table name into a SQL query? With safe, I mean that I don't want to do  $sql = "SELECT * FROM $table WHERE 1"


I've been reading around the net for about 20 minutes and came across a lot of talk about how the fridge should be on their own 15 or 20 Amp breaker and the defrost cycle can cause the interrupt in a GFCI causing it to flip  I have a 20 Amp GFCI receptacle on a 20A Breaker that also feeds 4 other 15A receptacles that have a load on the fridge, the oven and 3 other receptacles along the kitchen counter, My old fridge (one big door, freezer door on top) had no problems on the GFCI frosted good, made ice, defrosted, everything was fine, I got a new side by side fridge and every 24 hours or so the breaker is flipped.   If it didn't happen with my old one, why would it happen with my new one, I changed the GFCI thinking it was the loose wires or just an old receptacle, Nope. next day it flipped, so i tested and confirmed all of the others outlets were fine, no loss, no interruptions

My refrigerator is tripping the GFCI on the socket into which it is plugged.  Searching about this topic seems to indicate that this is a reasonably common complaint.  However, I can't find any concrete information about general causes or potential solutions other than suggestions to replace everything and hope for the best; this seems unsatisfying.  This is a new fridge and all new electrical work by licensed professionals.  I believe that the electrical is installed correctly and grounded, and that there is no damage to the fridge. I believe this is a dedicated circuit from the breaker panel to the outlet for the fridge. Nothing else is on this circuit and nothing else is plugged into the other socket. Low humidity. Kitchen installation. No water, no ice-maker. This has never happened before, but now it trips the GFCI immediately after reset.  I've done the following things:   Reset the GFCI, then re-plugged the fridge; GFCI tripped again. Plugged other things (alone) into the fridge's GFCI outlet: they work fine and GFCI does not trip. Plugged refrigerator into other GFCI-protected outlet with nothing else on it; this GFCI outlet also tripped. Plugged refrigerator into other non-GFCI outlet; works and doesn't trip the breaker. Tested the socket wiring (using 3-lamp receptacle tester) -- it's correct. Measured resistance between prongs on the refrigerator's electrical cord; ~300 kOhms between hot and neutral; no continuity to ground from either.  This all seems reasonable.   EDIT: per comment below, I should also note that I called the service line for the manufacturer: they said only that, if the appliance works when plugged into a non-GFCI outlet, that there's nothing more they can do.  To me, this seems to suggest the fridge is broken -- but it's brand new!  Why would my fridge be tripping the GFCI? Is this to be expected for a refrigerator? Should I just plug it into non-GFCI and ignore it "like any normal person"? ;-)  Several other questions on this site suggest solutions for other GFCI issues, but I don't see any about refrigerators and GFCI.   seems to suggest that refrigerators shouldn't be on GFCI in the first place.  However, my electrician said it's now code to have refrigerator's on GFCI (at least locally), but  about The Rules.  Other discussions quickly devolve to inaccurate and imprecise citing of NEC, or straying from erudite matters:    that suggests it's common for older refrigerators;  that suggests certain components of the fridge that could be causing it.   Other topics about humidity, garages, other stuff, wiring, etc. don't seem to apply here.


In 2018 about 50,000 people were involved in it, most of them part time or seasonal staﬀ working from small offices in rural areas. Should there be a "being" between "most of them" and "part time or seasonal staff"? It seems weird when there are only nouns. thank you for help

In a casual search of the web, I found a few indications English does not allow zero copulas ().  However, I frequently see sentences with subordinate clauses that juxtapose a noun phrase with an adverb phrase, such as the following from a contemporary sci-fi author:  Kai stares up at me from the grave, his eyes hard as obsidian.  If this clause were made into a sentence, it would take an obligatory verb:  *His eyes hard as obsidian.  His eyes are hard as obsidian.  The original clause seems to contain an implicit "to be."  Is it an example of a zero copula?  If not, what is this construction called?


I am having trouble running Ubuntu on a custom made desktop (some specs below). The problem is that at a certain point my monitor shuts off and gives me the message:   The current input timing is not supported by the monitor, Please change your input timing to be 1920x1200@60Hz   Initially I was having this problem during installation, so when the first purple screen would come up I hit the down arrow and set nomodeset and added "vga=0x14d" to the end of the command. This allowed me to continue without getting the above error on my monitor. Once installation was complete I edited /etc/default/grub to include the line:  GRUB_GFXMODE=1920x1200   Then I entered:  sudo update-grub   And restarted the computer. Now when I get to the Grub screen, everything is fine but after the that I again run into the input timing error. I have tried various permutations and combinations in the edit screen but I can't seem to set the resolution properly to actually see Ubuntu once it has started up.  Relevant specifications: Ubuntu version: 16.04 Motherboard: Asus X99-E GPU: Nvidia GTX 1080 Monitor: Dell U2412M  EDIT: The motherboard does not have an integrated graphics card. EDIT2: I tried following the answer for , however setting nouveau.modeset=0 at the end of the line that begins with "linux" does not work, I still get the input timing error above and if I cannot boot into Ubuntu then I am unable to install drivers.

I am using Ubuntu 16.04 with GTX 1080. On my first boot, the screen turn black after I selected Ubuntu in grub. After I added nomodeset, the black screen gone however it only shows the Ubuntu default background image. It can't reach the login screen.


Suspended users can still join chat and edit their chat profiles. This is sometimes used as a workaround for communicating, and in the worst cases can be used to spread offensive content, etc.  Suspended users should not be able to log into the chat system at all, or at minimum should not be able to edit profiles.  Somewhat related, as far as communication workarounds go:   Bug if this is not intentional, feature request if it is by design.

When a user is suspended, their account is reduced to 1 rep and all of his privileges are stripped. However, they can still join chat rooms.   This leads to various forms of possible abuse (all of which I've seen by suspended users):   Join/leave spams Expletives in profile messages Hold one sided conversations with users of the room via    Suspended users cannot be kicked, and even moderators can do very little (aside from completely removing the account, which is often overkill).  My proposal is to extend  for suspended users to one of two levels:   Prevent them from being shown in the user list at all. Strip their profile profile picture and description from the profile view visible from chat rooms (not from profile pages).


Recently, the word literally has come to be used for emphasis, rather than to express that something definitely happened.  If you look up the definition of literally on Google, the second definition is:     used for emphasis while not being literally true.   It feels wrong to me that the word literally is in the definition. It seems like this could be interpreted as circular logic since we don't know which definition of literally the definition refers—it could refer to itself.  I am not aware of any such convention where if you use the word you are attempting to define in the second definition, then you use the first definition.  It seems to me that it would be perfectly valid to leave out the word literally from the second definition altogether, and everything would be fine, i.e.:     used for emphasis while not being necessarily true.   Is it wrong that the word literally has been used in its own definition?

Recently I've heard American TV commentators say "[a person] was literally decimated" and "[a Senator] was literally thrown under the bus". In the first case I think the person was not actually 10% killed, but in the second, I believe they meant that 57 members of the US Senate carried #58 onto Constitution Avenue and threw him under a (hopefully moving) bus.  Are usages like these normal or acceptable now? I find them grating, myself.


I am building reporting using SQL Activities. SQL is bucketing success events into tranches that represent the time window for a communication to claim success- i.e. email 1 is from 0 to 24 hours, email 2 is from 24-72 hours, etc.  I have a journey where about 60% of the contacts achieve success before the 1st communication. Which DataView can I find the EventDate for a contact entering a Journey? I want the complete list. If I use the first communication _Sent EventDate, this will exclude contacts that did not reach this point in the Journey.  Is it possible to get the timestamp for when a contact enters a Journey using SQL? If not, how?

I'm looking for a way to retrieve journey contact history - basically the same information that is on Journey Builder - History tab (Contact key, Journey Name, Activity name, Status, Timestamp) via SFMC API. I browsed the REST API documentation but couldn't find anything regarding getting that data. Has anyone ever done something like this and can push me in the right direction?


I am not exactly sure what the use of a friend function or class is when you can easily just use inheritance (parent/child classes)? From my understanding, a friend function or class allows a non-member function to access the members of another class that it is declared a friend of. Similarly, a child class can access the members of a parent class. I am wondering, in which situation would you pick one over the other?

I have been reading through the  and was curious about the  declaration. I personally have never used it, however I am interested in exploring the language.   What is a good example of using friend?    Reading the FAQ a bit longer I like the idea of the << >> operator overloading and adding as a friend of those classes. However I am not sure how this doesn't break encapsulation. When can these exceptions stay within the strictness that is OOP?


When I try to install anything through console this error occurs:  E: Malformed Entry 53 in list file /etc/apt/sources.list (component) E: The list of sources could not be read E: Malformed entry 53 in list file /etc/apt/sources.list (component) E: The list of sources could not be read

I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that.  I just tried to upload a screen shot but since I'm new it won't allow me to.  I also can not figure out how to cut and paste anything so I have to hand type what the error screen says, both when I attempt to open the software center and nothing happens, when I try to enter commands into the terminal to uninstall, reinstall, whatever I get the same following:  COULD NOT INTITIALIZE THE PACKAGE INFORMATION An unresolvable problem occured while initializing the package information Please report t:his bug against the 'update-manager' package and include the following error message: 'E: Malformed line 91 in source list/etc/apt/sources.list (dist parse)  E: The list of sources could not be read.,  E: The package list of status file could not be parsed or opened.   How do I report bugs?  What can be done about this.  I have searched and everything everyone says to do leads me back to the same line error message.  So, I don't know how to get to line 91 in the source list; to tell you what it says. Sorry, I'm really new to this. That is what I need is to find out how to get there and fix what it says. I would really like to NOT have to re partition my hard drive and start from scratch, so I'm really looking forward to getting this problem solved. I need to be able to install new software.


I recently added an answer to a post, only to find someone else providing nearly the same answer (theirs was a bit better) so I deleted my entry.  Now the main question page lists my entry as being the one to "Last Modify" the post.  This seems odd to me...   Here's image the post and the    Here's a shot of who modified the post:   So those who post answers (and delete them) are considered editors of the original post?  that seems very odd to me.

.       The  has no sign of the user sharth The  also does not have any sign of related activity   I would like to know why the user's name is associated with the question. At least why their display name shows up as having modified the question timeline activity.  Possible reason that I can think of is that, .  Is this the reason?  Is there a way (for normal users), to look for such details, other than looking at the user activity and the question's revision history.


I am very new to regression analysis. I have a dependent variable and 9 independent variables. I want to build the best possible model from them, and I don't know when to log transfrom a variable.

Am I looking for a better behaved distribution for the independent variable in question, or to reduce the effect of outliers, or something else?


So, here is a test for fun on SQL SERVER 2012. I have a test table, you could choose any table you have in your local.  Then I add a NOT NULL column with default constraint:  alter table test add new_col8 nvarchar(25) not null constraint df_new_col8 default('aaa');   It won't be surprised to see the value get populated but the physical size is still 0. You could refer to the scripts in .  I used following script and you need to change it a bit when you tested it.  DBCC IND ('master', 'test', 0);  DBCC TRACEON (3604);  GO  DBCC PAGE ('master', 1, 692, 3);  GO   Now, I decided to drop the default constraint. I checked the table again, but the value stays but the physical size is still 0!  alter table test drop constraint df_new_col8;   I checked the sys.default_constraints table and sys.columns table, there is no clue for this default value. How does SQL SERVER still get the default value?!

I am trying to check how the table size is going to be increased after adding new column with default values.  I use the following default values: NULL, ''(empty string) and some text(some random text)` but it seems the table size is not changed.   I am using the following statements:  EXEC sp_spaceused '[Table_A]';  ALTER TABLE [dbo].[Table_A] ADD [Loops] NVARCHAR(900) CONSTRAINT [DF_Loops] DEFAULT('XXX') WITH VALUES;  EXEC sp_spaceused '[Table_A]';  ALTER TABLE [dbo].[Table_A] DROP CONSTRAINT [DF_Loops]  ALTER TABLE [dbo].[Table_A] DROP COLUMN [Loops];   but the sp_spaceused always returns:  name                                               rows                 reserved           data               index_size         unused ------------------------------------------------- -------------------- ------------------ ------------------ ------------------ ------------------ Table_A                                            73540994             8701688 KB         6658544 KB         2042976 KB         168 KB   Could anyone tell what I am doing wrong?


Linear transformation $\varphi$ from space $\mathbf{R}_n$ in basis $\mathbf{e}_1\ldots\mathbf{e}_n$ is given by matrix:  $$A = \begin{pmatrix}3 & 2 & -3 \\ 4 &10 & -12 \\ 3 & 6 &-7\end{pmatrix}$$  I have to find basis $\mathbf{f}_1\ldots\mathbf{f}_n$ in which given matrix has Jordan form $A_j$ and find Jordan form itself.  Which steps should I reproduce to find both?

Our teacher didn't explain us how to find it so I've had to look up a bit by myself.  I have this matrix :  $$A = \begin{pmatrix} 9 & 4 & 5 \\ -4 & 0 & -3 \\ -6 & -4 & -2 \end{pmatrix}$$  I've found its characteristic polynomial $p_A(\lambda) = -(\lambda -3)(\lambda - 2)^2$.  I've found its eigenspaces : $E_2 = span(\begin{pmatrix}-2 & 1 & 2\end{pmatrix}^T)$, $E_3 = span(\begin{pmatrix}-3 & 2 & 2\end{pmatrix}^T)$.  And I've found the generalized eigenspace of $\lambda = 2$ :  $\ker((A-2I_3)^2) = span(\begin{pmatrix}0 & 1 & 0\end{pmatrix}^T, \begin{pmatrix}1 & 0 & -1\end{pmatrix}^T)$  But I don't know what to do now. I've tried to see what result I would get with $$M = \begin{pmatrix} -3 & -2 & 0 \\ 2 & 1 & 1 \\ 2 & 2 & 0 \end{pmatrix}.$$  But $$M^{-1}AM = \begin{pmatrix} 3 & 0 & 0 \\ 0 & 2 & -2 \\ 0 & 0 & 2 \end{pmatrix}.$$  So there it is. Any help ?


This is my file structure:  T1 -> T1sample -> src -> t1sample -> T1.java T1 -> T1sample -> src -> t1sample -> T1.class   I created these folders and files myself (except for T1.class, I got that by running 'javac T1.java' from the shell).  This is T1.java:  package t1sample;  public class T1 {     public static void main(String []args) {         System.out.println('Test');     } }   Now when I try to run java T1 it returns an error saying:  java.lang.NoClassDefFoundError:  T1 (wrong name: t1sample/T1)   Any idea why?

I am getting a NoClassDefFoundError when I run my Java application.  What is typically the cause of this?


I wrote this programme where the user enters the nth term of the fibonachi sequence. So, if I typed 2, a message would appear that the second term of the Fib sequence is 1. I also want to output a message of the arrays upto the term they typed. E.g. is the user typed in 10, a message would appear showing all the numbers up to the 10th term in the fib sequence. Problem is that I dont know how to do that. It gives me a wierd number like @2235f23 (something like that).  My code:  import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.security.cert.X509Certificate;  import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JTextField;   public class maincard extends JFrame{         JLabel label;     JTextField txf;     JButton calculate;      public static void main(String[] args){          new maincard();       }      public maincard(){          thehandler handler = new thehandler();          JPanel panel = new JPanel();          this.setSize(460, 360);         this.setDefaultCloseOperation(EXIT_ON_CLOSE);         this.setLocationRelativeTo(null);         this.setVisible(true);         this.setTitle("Fibonachi Seqeuence");         this.add(panel);          label = new JLabel("Enter the nth term to find the value of the corresponding Fibonachi Sequence");         label.setToolTipText("What are you waiting for? Enter a damn number!!");         label.setVisible(true);         panel.add(label);          txf = new JTextField("Term");         txf.setSize(40, 25);         txf.addActionListener(handler);         txf.setVisible(true);         panel.add(txf);          calculate = new JButton("Calculate");         calculate.addActionListener(handler);         calculate.setSize(40, 60);               calculate.setVisible(true);         panel.add(calculate);          }      private class thehandler implements ActionListener{          @Override         public void actionPerformed(ActionEvent e) {             if(e.getSource() == calculate){                 int fibTerm = Integer.parseInt(txf.getText());                 int answer;                  int[] x = new int[fibTerm];                  x[0] = 0;                 x[1] = 1;                  for(int y = 2; y<x.length; y++){                     x[y] = x[y-1] + x[y-2];                  }                  answer = x[fibTerm-1];                 JOptionPane.showMessageDialog(null, "Sequence up to the " + fibTerm + "is: " + x);                 JOptionPane.showMessageDialog(null, "The term is: " + answer);             }          }     }  }   Oh and another question, finding the nth term works pefect but I dont see why it works when I write 'answer = x[fibTerm-1]' but doesn't work when I write 'answer=x[fibTerm]'

In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]


Black holes have entropy and temperature. As Bekenstein and Hawking showed, this yields the emission of electromagnetic radiation in the form of photons: black holes radiate photons.   The next question is straightforward: do black holes also radiate gravitons? Given that the answer is yes, as the literature shows, what determines the ratio between photon and graviton emission?  -  P.S. The question is not about how gravity gets out of a black hole. This is answered in many places. The question is: is there a slow evaporation process of black holes also via gravitons, in addition to the evaporation via photons.  P.P.S. I am not asking about the radiation of massive particles. Only about photons vs. gravitons.

My understanding is that a black hole radiates ~like an ideal black body, and that both photons and massive particles are emitted by Hawking radiation. So for a low temperature black hole, photons are emitted according to Planck's law, but the peak of this spectrum shifts to higher frequencies as temperature increases.  For sufficiently large temperature, does it follow that massive particles of equivalent energy are also emitted, without preference to other particle properties? If not, I'd be interested to know what physics are involved in determining the form in which the black hole's energy is radiated away.


Can anyone identify this organism please? Often I see it inside my home on the walls moving very slowly.   some more info:   Geographical location: India (north part)  Image taken recently (March 2018) Size of organism: about 1 cm in size.

I couldn't identify which species these worms belong to. I believe they're insect larvae.  They measure approximately 5 to 10 mm in length, and are common in the southern states of India. They carry cocoons, open at both ends, which the worms can wriggle inside and alternate their direction of movement. These cocoons are perfectly smooth except for the openings.  Another  shows something similar, but the cocoon of that worm looks more woven, while this one doesn't.


I have the below objects in two different versions of a blender file I'm working on. However when I click loop cut in Edit Mode with nothing selected, in one version (left image) I can cut the object as a whole. In the other (right image), it allows me only to cut parts of the object. I'm not sure why.    I read one post that indicates I can only use loop cut when an object has four faces, however mine has the ribbon in the middle and on the left version cuts fine.  Can someone explain why this is the case? Sometimes loop cut allows me to cut an object in half all the way around and sometimes not.

Alright so I've seen some postings about loop cuts and done some research. I am very new to blender and modeling overall. I am trying to loop cut this concrete barrier. Now I'm following a tutorial and kind of did my own thing in some areas. I cleaned it up following some instructions in another answer here on stack exchange.  I can't for the life of me figure out why I can loop cut around the whole bottom:   ...but not the whole middle:   I see this marked as answered by another question. That question refers to ngons and inside faces. Now once again I'm totally new to this. I looked on the inside. I don't believe I have inside faces or any ngons by the terms I've read online in my research.  Here is a wireframe picture and the inside view:     Maybe I'm missing something the answers on other posts are saying. If so and you know what it is I'd be very appreciative of what it is.


I'm still confused on what a reference type does/when to use which reference. Lets say Geometric Object is an abstract class and the circle class is a subclass that extends GeometricObject. What would the difference between these two lines be? When would one be preferred over the other?  GeometricObject circle1 = new Circle(); Circle circle2 = new Circle();

I have seen this mentioned a few times and I am not clear on what it means. When and why would you do this?   I know what interfaces do, but the fact I am not clear on this makes me think I am missing out on using them correctly.   Is it just so if you were to do:  IInterface classRef = new ObjectWhatever()   You could use any class that implements IInterface? When would you need to do that? The only thing I can think of is if you have a method and you are unsure of what object will be passed except for it implementing IInterface. I cannot think how often you would need to do that.   Also, how could you write a method that takes in an object that implements an interface? Is that possible?


We know $$e=\sum_{k=0}^{\infty} \frac 1{k!}.$$ But in the question the upper bound of the second sum is $n$ so we can't write $e$ directly. Since upper bound of $n$ is $\infty$ so tried to split the summations to get a clue. The given sum is:  $\left(e-\frac 1{0! }\right) +\left[e-\left(\frac 1{0!}+\frac{1}{1! }\right) \right]+\cdots+\left[e-\underbrace{\left(\frac{1}{0! }+\frac{1}{1! }+\frac 1{2! }+\cdots\infty\right)}_{=e}\right].$  Now I'm clueless. The last few terms tend to $0$ but how to handle the other terms? Please suggest something. I haven't dealt with infinite sums that much, I have just started to deal with such expressions in this lockdown period. So there may be something which hasn't striked me yet.. Please help! And yeah, the answer is $e$.

This comes from the comments section of this question , credits .  The statement is  $$\sum_{n=1}^\infty\left(e-\sum_{k=0}^n\frac1{k!}\right)=1$$  This looks really interesting, so I was wondering if anyone has any ideas/suggestions or even better the whole proof?  Disclaimer: I added that link specifically because this might look like homework, leading to "What have you tried?". So the disclaimer is, I actually haven't tried anything yet, because yes, asking the community is just easier. It would be great if someone could answer this though since I, personally at least, think that this equation is very interesting and adds value to any math enthusiast stumbling upon it here someday. :) I will myself be trying it meanwhile too though(it really is interesting) , and add and accept my solution if I am successful and there are no answers yet.     I tried  for $\sum_{k=0}^n\frac1{k!}$ and it yields  $$\sum_{k=0}^n\frac1{k!} = \frac{e\Gamma (n+1,1)}{\Gamma(n+1)}$$  where $\Gamma(a,r)$ is the incomplete gamma function and $\Gamma(a)$ is the euler gamma function. . Might be of help, might not. Just thought it'd be worth adding.


{             "Name": "John",             "Email": "John123@gmail.com",             "XMLObj": "<Root><Organization xml:space=\"preserve\"><Language><string>EN</string></Language><Description><string /></Description><TypeCode><string>Type 123</string></TypeCode></Organization></Root>"  }  I know how to deserialize the JSON into an object. I can even get the XML data into its own field that way, however what I'd like to do is convert the XMLObj into elements upon deserializing that tie to Name and Email fields. I can ignore <Root><Organization xml:space=\"preserve\"> and the ending </Organization> and </Root> tags. And a field is just "</string>" when it is empty. I need a function parse the XML Object, convert to JSON, and keep it with the corresponding data to that record. So, result would look like this: {    "Name":"John",    "Email":"John123@gmail.com",    "Language":"EN",    "Description":"",    "TypeCode":"123" }  How do I accomplish this?

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


$$\begin{align*} \sin (a) + \cos(a) &\leq \sqrt{2}\\ (\sin(a)+ \cos(a))^2 &\leq (\sqrt{2})^2\\ \sin^2(a) + 2\sin(a)\cos(a) + \cos^2(a) &\leq \text{2} \end{align*}$$ Am I doing it right? I need help.

$$|a\sin x+b \cos x|\leq \sqrt{a^2+b^2}$$   I have tried: $$|a\sin x+b \cos x|\leq |a+b|\leq \sqrt{a^2+b^2}$$  enough to prove: $$|a+b|\leq \sqrt{a^2+b^2}$$  But I can find how to continue from here


\begin{equation} \prod_{n=2}^{\infty} \left (1-\frac{2}{n(n+1)}  \right )^2 \end{equation}  I need to find limit for the following product..answer is $\frac{1}{9}$.  I have tried cancelling out but can't figure out.  Its a monotonically decreasing sequence so will converge to its infimum.. how to find the infimum?


This is a beginning of W.B.Yeats's poem Under Ben Bulben:     Swear by what the Sages spoke   Round the Mareotic Lake   That the Witch of Atlas knew,   Spoke and set the cocks a-crow.   What is the function of a- in the phrase cocks a-crow? What is the general structure and meaning? I think this function is different from what explained in this     I guess here a- applied in the meaning of of. The Oxford dictionary indicates this meaning and brings the example of anew.

For example,   If this van's a-rockin', don't come a-knockin'  (song title)   (song title)   I have a few related questions:   What is the "a-" or "-a" called? Is there a function beyond a rhythmic one? Why is "a-" attached to a word at all -- and why attach to a word at all?


So I just created a blog on blogger last week and I decided to change the title of the blog. When I search my blog on google search the original title shows up instead of the new one.  I added my new blog's homepage on google webmaster and fetched my blog's homepage. However the title still has not changed. Is there an alternative method of doing this or am I stuck with the original title?

On one of our classified sites, when doing site:[mysite.com] in Google, the link text is simply [product name] - [mysite.com], where as it should read [product name] classifieds for sale in...  I suspect that the site map may have been submitted when we just had [product name], and updated the page titles later.  However, it has been a couple of weeks that I have confirmed the longer page titles, and still they appear shortened in organic results.  How can I get this looking right in Google's organic results?


is the size of an enum always the same among different compilers (gcc, visual c and others?). That is, does sizeof() of a specific enum gives the same values with every compiler that follow the C/C++ standards?

I'm creating a set of enum values, but I need each enum value to be 64 bits wide. If I recall correctly, an enum is generally the same size as an int; but I thought I read somewhere that (at least in GCC) the compiler can make the enum any width they need to be to hold their values. So, is it possible to have an enum that is 64 bits wide?


I'm creating a login system for my online game and am using MySQL to manage users. In order to verify login data against the stored data in the database i'm using the following php script:  <?php function mysqli_result($res, $row, $field=0) {      $res->data_seek($row);      $datarow = $res->fetch_array();      return $datarow[$field];  }  $dbhost = 'host'; $dbuser = 'user'; $dbpass = 'pass'; $conn = mysqli_connect($dbhost, $dbuser, $dbpass, 'my_db');  if(! $conn ) {   die('Could not connect: ' . mysql_error()); } //First, get the login details from the URL $username = $_GET["username"]; $password = $_GET["password"];  //Now fetch the password that is on record for that account $sql = "SELECT DISTINCT acc_password FROM users WHERE acc_username = '$username'";  $result = mysqli_query($conn, $sql) or die(mysqli_error($conn)); $p_hash_store = mysqli_result($result, 0);  if (password_verify($password, $p_hash_store)) {     echo "true"; } else {     echo "false"; } mysqli_close($conn);   Now here's the bit I'm worried about. In order to get the players username and password into that verify script I use a function in the game IDE that's the equivalent of a HTTP GET request, calling that verify script with the users raw username and password as parameters. It looks like this.  async_ini = http_get("http://www.website.com/script.php?username=" + obj_control_login.username + "&password=" + obj_control_login.password);   Since the verify script either echos true if the password matches the hash and false otherwise I can easily tell if the login details were correct. This system is all up and running fine.  My problem is that I don't like the fact that I'm sending the player's raw username and password off in a HTTP GET request hence the guts of my question: Are the parameters I pass in the php URL secure or are they open to prying eyes? If they are vulnerable is there anything I can do to fix that?  I'm a total novice at MySQL and php, this is literally the first thing I've done in them, so if the whole thing is laughable insecure please let me know; this is the only way I could think of integrating my game making software with MySQL and password hashing.

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


Is it possible to install pure (not manufacturer modified, without Emotion UI) Android version (4.2 to 4.4) to Huawei Ascend P6? If above is possible, is it possible to recover original Huawei Android version (with Emotion UI)?

There are several reasons to be looking for a ROM:   Upgrading or downgrading your stock ROM Looking for firmware from a different region/language Flashing a custom ROM for different features, removing bloat, etc.   But where can one find ROMs in the first place?  What sites are likely to have the ROM I need?  ; please add to the wiki answer instead of posting separate answers.  See also:


I installed ubuntu 14.04 over my 13.10 but was trying to keep my data so I deleted all partitions (I didn't have a separate home directory) used manual partitioning and allocated 12 GB of my HD for installing the new OS. Everything went fine and 14.04 installed ok. But now I don't know how to recover the data in the free space that I left unpartitioned. I tried partitioning that space without erasing data and mounting it but when I opened it it was empty. How can get my data back?  Thank you  P.S. I have backed up my most important files but still it would save a lot of time if I could get the rest back.

I am on Ubuntu 12.04 64-bits  I accidentally deleted a NTFS 255 GB partition using Gparted, and yes it contains LOTS of important data.  Upon realizing the deletion I haven't yet created any file-system on it. So it still shows Unallocated.    I tried Testdisk , but it shows entire partitions created from the beginning.  This sdb is my secondary drive with Xubuntu and Kubuntu on it. And that 255 GB NTFS  partition was cross platform storage drive.  I am currently in sda with Ubuntu and Win7 in dual boot, which enables me to use it as Safe recovery option rather then Live USB drive.   First ,  should i allocate it to ? file-System for better recovery .  Second , i really need to recover data from this drive so please give me possible  suggestions and proven methods of data recovery.  Third ,does Testdisk requires deleted partition to be allocated for its recovery .  I am currently trying the answer seen here  with Testdisk scanning for partition second time, hoping to recover it.   It looks a duplicate but i can't confirm if the OP got it right. Since my first doubt is to allocate it or not.  If any clarification required please do comment ,i will add it.  Edit: TestDisk deeper search results.      The following partitions can't be recovered:          Partition               Start        End    Size in sectors     >  HPFS - NTFS          22241 107 11 55592   3 27  535777280        FAT32 LBA            274460 158 19 460576 228 16 2989957948  NTFS, 274 GB / 255 GiB & for FAT32 LBA 1530 GB / 1425 GiB


I have a module file which fetch data from a link. I have to run this module as a cron everyday. How can I do it?

I have a PHP file that does some task in consistent intervals.   I have placed that PHP file inside a custom module folder, but I found that Drupal functions like drupal_set_message() are not available inside the PHP file.   How do I include Drupal functions inside this PHP file? How do I set up this php file to be run as a cron job?


Let $M$ be a free $\mathbb{Z}$-module of rank $n$, and $f:M\to M$ be a homomorphism of $\mathbb{Z}$-modules.  $A\in \mathrm{Mat}_n(\mathbb{Z})$ is the matrix representing $f$ with respect to a fixed $\mathbb{Z}$-basis of $M$.  Show that if $\mathrm{Coker}(f):=M/\mathrm{Im}(f)$ is finite, then $|\det A|=|\mathrm{Coker}(f)|$, and for a prime $p$ with $p\nmid |\mathrm{Coker}(f)|$ the induced map $f':M/pM\to M/pM$ is an isomorphism of  $\mathbb{Z}/(p)$-modules.

In a course of group theory an exercise is left with no indications :      Let $A$ be an abelian group of finite type and $a_1,\dots ,a_n$ a $\mathbb{Z}$-basis of $A$. Let $f : A \to A$ be a group homomorphism. Les $M=(m_{ij})$ be the matrix (invertible) defined by $\displaystyle f(a_j)=\sum_{i=1}^n m_{ij}a_i$ with $\det (M)\neq 0$. Show that $[A:\operatorname{Im}(f)]=|\det M |$, i.e the index of $\operatorname{Im}(f)$ in $A$ as a subgroup is precisely $\det (M)$.   I am not able to prove this fact, and need a bit of help. In fact I do not see where I can make $\det (M)$ appear. Can you give me some hints ?   Thank you


Here is the question I am trying to solve: Find polynomials $f(x), g(x) \in \mathbb{Q}[x]$ such that $\sqrt{2} = f(\sqrt{2} + \sqrt{3})$ and $\sqrt{3} = g(\sqrt{2} + \sqrt{3}).$ Deduce the equality of fields: $\mathbb{Q}[\sqrt{2} + \sqrt{3}] = \mathbb{Q}[\sqrt{2},\sqrt{3}].$ And I found the following solution online:       My questions are: 1- How did we know that $f$ and $g$ look like that? what are the trials that lead to this? 2- Is there a more rigorous way of proving that  $\mathbb{Q}[\sqrt{2} + \sqrt{3}] \subseteq \mathbb{Q}[\sqrt{2},\sqrt{3}]$? or what is written is enough? 3- the stated reason for showing that  $ \mathbb{Q}[\sqrt{2},\sqrt{3}] \subseteq \mathbb{Q}[\sqrt{2} + \sqrt{3}]$ is not that much clear for me ......could anyone explain it in details for me please? Note: $F[\alpha]$ is a symbol for subring while $F(\alpha)$ is a symbol for a subfield for any $\alpha$

Is $\mathbf{Q}(\sqrt{2}, \sqrt{3}) = \mathbf{Q}(\sqrt{2}+\sqrt{3})$ ?    $$\mathbf{Q}(\sqrt{2},\sqrt{3})=\{a+b\sqrt{2}+c\sqrt{3}+d\sqrt{6} \mid a,b,c,d\in\mathbf{Q}\}$$   $$\mathbf{Q}(\sqrt{2}+\sqrt{3}) = \lbrace a+b(\sqrt{2}+\sqrt{3}) \mid a,b \in \mathbf{Q} \rbrace  $$  So if an element is in $\mathbf Q(\sqrt{2},\sqrt{3})$, then it is in $\mathbf{Q}(\sqrt{2}+\sqrt{3})$, because $\sqrt{6} = \sqrt{2}\sqrt{3}$.  How to conclude from there?


I am a Lyx user, and very new to this program (new to LaTex). I first made a reference today(using a database), and 'in' was added in front of journal titles unexpectedly. I want to erase 'in' using \DefineBibliographyExtras but don't know what kind of formatting commands. Please give me a tip.  And if anyone knows how to erase 'in' permanently, please let me know. I really hate that 'in'. I make a database with JabRef

How do I suppress the "In: " before the journaltitle? Like so:     In: Journal of Applied Physics


Here's my code. I'm trying to read this text file:  AAA BBB CCC DDD   In the code below, BufferedReader should stop at the line "DDD",  but program goes in loop.  I tried to replace "DDD" with null and it worked, but I want it stop at the line I specified! I'm stucked in this issue and I don't know how to solve it... solution?    import java.io.*;  public class Reading{  public Reading() {}      public static void main(String[] args) throws IOException{         new Reading();          BufferedReader br = new BufferedReader(new FileReader(new File("test.txt")));         String line;          while((line = br.readLine()) != "DDD"){             System.out.println(line);         }          br.close();     } }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


Inspired by , which includes the image:    Which solicited the comment:     No, you have the polarity of Vce shown backwards in the diagram [...]   The diagram seems consistent to me: the arrows go from the thing in the 2nd letter of the subscript, to the 1st letter of the subscript, in each case.  We might see similarly subscripted voltages in contexts besides BJTs: we also see them in FETs, or things that might not be transistors. Thus, given an arbitrary \$V_{XY}\$ to measure, the procedure is:   place positive lead of voltmeter on X place negative lead of voltmeter on Y read measurement   Is this always the convention? Is it a more explicit definition? Or does it change, based on the thing in question, or even which part of the thing being discussed?

I have read from some book that: "The voltage quantity symbol V sometimes has subscripts to designate the two points to which the voltage corresponds. If the letter a designates one point and b the other, and if W joules of work are required to move Q coulombs from point b to a then, \$V_{ab}=\frac{W}{Q}\$. Note that the first subscript is the point to which the charge is moved"   While Wikipedia () says: "\$V_{CB}\$ means the "\$V\$" from \$C\$ to \$B\$."  Can you help me with the true meaning of the first subscript?


This task seemed to be very easy, though my code doesn't work. I have table with some rows, each row has a checkbox, underneath I put button "Remove all" to uncheck checkboxes. This is my code:     $('#remove-button').click(function(){         $('input:checked').prop('checked',false);         //e.stopPropagation(); // I tried also with this         // $('input:checked').removeAttr('checked'); // or this syntax     });  When i click on the button, all inputs are unchecked but this is not happen due to my code because when I comment this snippet, it also happens when I click on the button. I also see that when I click and inputs are unchecked my website seems to refresh because page scrools up. I also add another button to checked inputs:     $('#add-button').click(function(e){         $('input').prop('checked',true);         //e.stopPropagation(); // I tried also with this         // $('input:checked').removeAttr('checked'); // or this syntax     });  When I fire this inputs are checked and in a second my website refreshes and everything disappear. I use the newest Firefox and Chrome, and jQuery - 1.11 (but checked also with 1.8.0 and 1.7.1). There is also atatched  Anyone knows what is wrong?

I'd like to do something like this to tick a checkbox using jQuery:  $(".myCheckBox").checked(true);   or  $(".myCheckBox").selected(true);   Does such a thing exist?


I am currently using the gauss package since I need to write out operations between my matrices. However I am unable to add a vertical line to the far right in my augmented matrices. The gauss package is unable to act upon array-environments, but rather it uses its own gmatrix-environment. I found this workaround:  but its not applicable to gmatrix-environments. Any ideas, forum?

I would like to typeset row operations on a augmented matrix, but the "gauss"-package does not seem to support the vertical line just before the last column, any way to do this?  Thanks!


Chicken, beef, or even shrimp? How long can I keep it there before it goes bad?

How do I know if a given food or ingredient I have is still good, or if I should discard it?  How can I best preserve a food or ingredient?     This broad question is intended as a "general reference" question to quickly answer many how long will food keep for? questions. Please feel free to edit this question to expand and clarify as needed.


In "I Keep Six Honest Serving Men" of Kipling there is a line:      But different folk have different views;   Notice, the word folk here is obviously in plural, but has not -s ending. Kipling had no need to change the grammar in that point - folk instead of folks does not change neither rhythm nor rhyme.  That means, he felt this variant as more suitable for plural here. So, it is absolutely English, I only have to understand it.  But in dictionaries I see:     folk or folks [PLURAL] INFORMAL people in general (Macmillan)    gives more interesting variant:     folk (also folks) informal [treated as plural] People in general.   So, according to the last, ‘folk’ can be considered as plural of ‘person’. But in the same dictionary, or in several others that I checked, (including paper big Macmillan or Concise Oxford), in the article for ‘person’ you will never see ‘folk’ as a plural form for it.   The question  has nothing in common with my question. The mentioned problem is about the plural form of the word folk. It is NOT the case of the mentioned Kipling's line. And it is already written in the question. (Obviously, somebody reacts to the titles not reading the content.) I am talking about the folk as plural for the person -the problem never touched in that other question.

As a British native English speaker I have only ever used the word "folk" as an adjective in phrases such as "folk music" or "folk tales". My unscientific impression is that its use as a synonym for people is increasing in the British media, which prompts the question: How can I decide whether it should be folk or folks?   We should do more for our old folk.   or   We should do more for our old folks.   ..   Some folk never listen.   or    Some folks never listen.   Are the two words interchangeable, or are there some clear usage patterns?


I want to split the 1&90 into 1 and 90 and assign in different variable.  $(document).on("click", "a[name='delete_user_journal']", function (event, element) {      var el = $(element);     event.preventDefault();     var j_id = $(this).attr("href");     alert(j_id); // 1&90 }

I have this string  'john smith~123 Street~Apt 4~New York~NY~12345'   Using JavaScript, what is the fastest way to parse this into  var name = "john smith"; var street= "123 Street"; //etc...


One of our review problems for my complex analysis final is the following:     Show that $e^z=z$ has infinitely many solutions in $\mathbb{C}$.   I've seen a few solutions online, but none of them have used material that was covered in our introductory complex analysis course. Would anyone be able to provide a simple solution?  I'm trying to think of ways to invoke bounding in some way but I can't seem to come up with anything.

(p.236)  has a proof that the equation $e^z-z=0$ has infinitely many complex solutions:    I'm curious if there are any particularly elegant ways to see this, other than that given in the text.


I want to ask how to install package in Ubuntu 14.04 using terminal  I need a command to do that and also a command that works with most of package to install

How can I install applications like Google Chrome on Ubuntu?  Are there any commands to install an application?    Index of answers:


When a polynomial f(x) is divided by (x-3) the remainder is -9 and when f(x) is divided by (2x-1) the remainder is -6 . Find the remainder when f(x) is divided by (x-3)(2x-1).  I do not know how to determine the remainder

This question arose while I was tutoring a student on the topic of the Remainder Theorem. Now, the Remainder Theorem tells us that when a polynomial $p(x)$ is divided by a linear factor $(x-a)$, the remainder is simply $p(a)$. However, in this case we have a product of linear factors.   Using the Remainder Theorem we can see that neither $(x-1)$ nor $(x+2)$ is a factor of $f(x)$. Also, if we try to find the remainder using long division, we get a relatively ugly remainder of  $$ 3(14x - 13) $$ I assume this is not the correct approach as all other questions in this topic used the Remainder Theorem. So perhaps there is a more elegant approach?


In almost any calculus book I can think of (for example, "The Calculus with analytic geometry" by Louis Leithold), and even the books of analysis (for example, the Rudin's "Principles of analysis" and "Real and complex analysis"), one can find that an integral is represented with the $dx$ (the differential; actually $x$ here is a dummy variable), written after the integrand. For example: $$ \int f(x)dx$$ However, on reading papers which I would call about "theoretical physics", I have found very often the other way around: the $dx$ or whatever variable being integrated, is written before the integrand. Take for example "Special Relativity induced by Granular Space", by Petr Jizba and Fabio Scardigli, 2013, equation (4): $$w(\zeta ,t_1+t_2)=\int_0^\zeta {\rm d}\zeta' w(\zeta',t_1)w(\zeta - \zeta',t_2)$$ notice the romanization of ${\rm d}$ as opposite of $d$, from the previous example.   I have the feeling that it is not just a matter of style, but there is a meaning involved in the usage of either way.   Question: what is involved in choosing to write either $\int f(x) dx$ as opposite to $\int {\rm d}x f(x)$ ? is this (these) reason(s) of mathematical nature or are they related with the problem that is being dealt with in theoretical physics?  Also, I would appreciate if someone points to a bibliographical reference were such justification for writting it so, is being explained.

From reading answers here, I've noticed that some people write integrals as $\int dx \; f(x)$, while other people write them as $\int f(x)\;dx$.  I realize that there is no mathematical difference between the two notation forms, but was wondering why some people choose the first method over the second.  Is there some place in higher maths that it becomes beneficial to write the differential first?  (I, personally, have always used the second method, just because I was taught that way...)


I have just watched the Spider-Man: Far From Home trailer, and I'm confused. If this is an MCU-connected film, does Disney/Marvel own the rights? Or does Sony Pictures?   I thought Disney/Marvel owned the MCU films/stories, but the trailer is put out by Sony Pictures, which I didn't think Disney owned. Am I mistaken?   Who actually owns this film?

It was recently announced that Sony Pictures and Marvel Studios have come to an agreement whereby each of them will share the film rights to the characters relating to Spider-man.  What are the details of this agreement, as in, who has creative control, distribution rights, and how can each party use the character? Additionally, what is currently known about the future of The Amazing Spider-man franchise?


I want to view a JSON object in the console log to see which attributes are missing or have incorrect values. When I try to simply: console.log("my object: ", theObject);  I get the output: theObject {id: "the id", name: "the name", type: "the type", ...}  with the tooltip of the blue "i" saying:  Value below was evaluated just now.  The JSON object that I have created, however, has more attributes than just 'id', 'name', and 'type'. For example, I want to view the 'label' attribute, but when I click the down arrow to view the rest of my attributes, nothing happens. I have found that I can display the entire object by using console.log("my object", JSON.stringify(theObject));  but that doesn't help me too much as the object is huge and nested, and I need to be able to see things with the color formatting since the project I'm working on prints out hundreds of objects at a time. I have similarly tried console.log("my object", ...{theObject});  because I thought I was printing out the pointer to the object rather than the object itself, and that at some point the actual object was being destroyed. This did not work. Please let me know if you know of a solution, and please provide constructive (and kind!) criticism to about this post as it is my first one.

What is the most efficient way to clone a JavaScript object? I've seen obj = eval(uneval(o)); being used, but . I've done things like obj = JSON.parse(JSON.stringify(o)); but question the efficiency.  I've also seen recursive copying functions with various flaws.  I'm surprised no canonical solution exists.


\documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{listings} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \begin{document}  \section{Power Converter Topology and Electric Machine Selection} \subsection{Power Circuit Topology} The choice of power circuit topology in the design of an Integrated Starter Generator system is crucial. The associated power electronics technology used in power conversion within the ISG system has important considerations in its working capabilities in numerous applications.\\ \\ Here, either of the traditional Voltage Source Inverter or the Current Source Inverter can be used for the power conversion. A conventional VSI acts as a DC-AC buck inverter or an AC-DC boost rectifier which works with the constraint that the AC output voltage does not exceed the DC bus voltage while a conventional CSI acts as a DC-AC boost inverter or an AC-DC buck rectifier which works with the constraint that the AC output voltage is higher than the input DC voltage that is fed to the inductor. The diagrams for both the inverters are shown here [Figure 2.1 and 2.2]. Due to these constraints both topologies do not prove to be efficient method for optimal ISG design and functionality for the required situation.  \begin{figure} \includegraphics[scale=0.75]{2-1.png} \caption{Conventional VSI Topology} \end{figure} \\ The high-speed procedure of induction machines in expressed in [21] with the help of a dual voltage inverter control method. The primary motive of the control strategy discusses in to achieve a stable power region of 10:1 speed range under 42V and to alleviate the issue of low voltage limit. The control strategy works well in terms of allowing the system to perform over a very large speed range with induction machines of voltage less than 42V, however the extra inverter which is analogous to the main power inverter will raise system complexity, costs and system volume. A new power converter topology for series and parallel stator winding arrangements is expressed in [22] for large speed range for the ISG system. There are multiple disadvantages associated with the discussed configuration like transition from series to parallel, high rated converter power and significant realization efforts. \end{document}   This taking my figure onto a fresh page and not at the position I inserted it at in the code. What do I do to keep the figure between the paragraphs I intend it to be?

Is there any package or a method to force LaTeX to keep floating environments like table and figure closer to where they are declared?


What is the proper capitalization of  at the start of a sentence? For instance, if we were talking about Vincent van Gogh would we say:  "Van Gogh was an artist."  or  "van Gogh was an artist."  The following article did not capitalize the tussenvoegsel which is why I bring up this question.

In the book, "The Crystal Shard," by R.A. Salvatore, a character is surnamed "de Bernezan." Which of the following complete sentences uses the correct English-language capitalization:   de Bernezan entered the room. De Bernezan entered the room.   The  on "de Vries" capitalized "De Vries" as a standalone, but writes "Marc de Vries" when using the full name.  Edits in response to comments:   The book starts sentences as "de Bernezan," which seems incorrect. Hence my question. The Wikipedia page is neither authoritative nor clear. It seems to refers to "De Vries" as the correct capitalization of the surname, except when actually used as a surname. Since I am not Dutch, I do not know how their names work, especially when used in an English-language context. Again, hence my question.


I try to install Ubuntu on a Laptop which actually runs with Windows 8.  After the Installation and restart, it´s this Error:  \ubuntu\wubildr.mbr  staus: 0x0000076

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


For a sequence $\left\{x_n\right\}$, prove that $\lim\limits_{n\to\infty}nx_n=0$, given that $\left\{x_n\right\}$ is decreasing and  $\sum_{n=0}^\infty x_n$ converges. My given hint is to prove: $$\sum_{n=k}^\infty x_n \ge \sum_{n=k}^m x_n \ge \left(m-k\right)x_m$$ Then, I am meant to deduce: $$\limsup\limits_{m\to\infty}mx_m \le \sum_{n=k}^\infty x_n$$ How do I prove the latter deduction? I tried to write $m$ as $\left(m-k\right)+k$ to make $kx_m$ disappear but then I failed to make the $\limsup$ appear.

I'm studying for qualifying exams and ran into this problem.  Show that if $\{a_n\}$ is a nonincreasing sequence of positive real numbers such that $\sum_n a_n$ converges, then $\lim_{n \rightarrow \infty} n a_n = 0$.  Using the definition of the limit, this is equivalent to showing \begin{equation} \forall \varepsilon > 0 \; \exists n_0 \text{ such that } |n a_n| < \varepsilon \; \forall n > n_0 \end{equation} or \begin{equation} \forall \varepsilon > 0 \; \exists n_0 \text{ such that } a_n < \frac{\varepsilon}{n} \; \forall n > n_0 \end{equation} Basically, the terms must be bounded by the harmonic series. Thanks, I'm really stuck on this seemingly simple problem!


I was trying to upgrade from Ubuntu 16.04 to Ubuntu 18.04 and ran into the following error:  Failed to lock /var/cache/apt/archives/lock   I searched google/askubuntu/ubuntu subreddits for any previous troubleshooting steps, and everything has failed so far (as a start, on Ask Ubuntu,  that unfortunately didn't work.  Has anyone run into this problem going from 16.04 to 18.04,and have been able to resolve it?  My output after running the system upgrader is as such:  Fetching  Could not download the upgrades   The upgrade has aborted. Please check your Internet connection or  installation media and try again. All files downloaded so far have  been kept.   Failed to lock /var/cache/apt/archives/lock    Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-6o5gq951/bionic", line 8, in <module>   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/DistUpgradeMain.py", line 238, in main   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/DistUpgradeController.py", line 1949, in run   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/DistUpgradeController.py", line 1905, in fullUpgrade   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/DistUpgradeController.py", line 1201, in doDistUpgradeFetching   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/DistUpgradeController.py", line 1450, in abort   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/sourceslist.py", line 366, in restore_backup   File "/usr/lib/python3.5/shutil.py", line 236, in copy     copymode(src, dst, follow_symlinks=follow_symlinks)   File "/usr/lib/python3.5/shutil.py", line 138, in copymode     chmod_func(dst, stat.S_IMODE(st.st_mode)) PermissionError: [Errno 1] Operation not permitted: '/etc/apt/sources.list' Error in sys.excepthook: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook     pr.add_proc_info(extraenv=['PYTHONPATH', 'PYTHONHOME'])   File "/usr/lib/python3/dist-packages/apport/report.py", line 544, in add_proc_info     self['ExecutableTimestamp'] = str(int(os.stat(self['ExecutablePath']).st_mtime)) PermissionError: [Errno 13] Permission denied: '/tmp/ubuntu-release-upgrader-6o5gq951/bionic'  Original exception was: Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-6o5gq951/bionic", line 8, in <module>   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/DistUpgradeMain.py", line 238, in main   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/DistUpgradeController.py", line 1949, in run   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/DistUpgradeController.py", line 1905, in fullUpgrade   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/DistUpgradeController.py", line 1201, in doDistUpgradeFetching   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/DistUpgradeController.py", line 1450, in abort   File "/tmp/ubuntu-release-upgrader-6o5gq951/DistUpgrade/sourceslist.py", line 366, in restore_backup   File "/usr/lib/python3.5/shutil.py", line 236, in copy     copymode(src, dst, follow_symlinks=follow_symlinks)   File "/usr/lib/python3.5/shutil.py", line 138, in copymode     chmod_func(dst, stat.S_IMODE(st.st_mode)) PermissionError: [Errno 1] Operation not permitted: '/etc/apt/sources.list'

I am running the upgrade(12.10 to 13.04) through terminal and it keeps getting stuck at this:  Failed to lock /var/cache/apt/archives/lock   What do I do? I have root access. I have no idea what else to try other than a clean install.  Checking package manager Reading package lists... Done     Building dependency tree           Reading state information... Done Building data structures... Done   Calculating the changes Calculating the changes  Do you want to start the upgrade?   3 packages are going to be removed. 155 new packages are going to be  installed. 1204 packages are going to be upgraded.   You have to download a total of 595 M. This download will take about  1 hour 15 minutes with a 1Mbit DSL connection and about 23 hours with  a 56k modem.   Fetching and installing the upgrade can take several hours. Once the  download has finished, the process cannot be canceled.    Continue [yN]  Details [d]y  Fetching  Could not download the upgrades   The upgrade has aborted. Please check your Internet connection or  installation media and try again. All files downloaded so far have  been kept.   Failed to lock /var/cache/apt/archives/lock    Restoring original system state  Aborting Reading package lists... Done     Building dependency tree           Reading state information... Done Building data structures... Done  root@chaitanya-XPS-Ubuntu:~#


I have table (2139868 rows):  COLUMN1 NUMBER(20,0) COLUMN2 XMLTYPE COLUMN3 XMLTYPE COLUMN4 VARCHAR2(50 BYTE) COLUMN5 VARCHAR2(50 BYTE) COLUMN6 VARCHAR2(50 BYTE) COLUMN7 VARCHAR2(50 BYTE) COLUMN8 VARCHAR2(50 BYTE) COLUMN9 VARCHAR2(500 BYTE) COLUMN10 VARCHAR2(100 BYTE) COLUMN11 VARCHAR2(50 BYTE) COLUMN12 VARCHAR2(20 BYTE) COLUMN13 VARCHAR2(20 BYTE) COLUMN14 TIMESTAMP(6) COLUMN15 VARCHAR2(50 BYTE) COLUMN16 PROPERTIES_ARRAY_TYPE COLUMN17 TIMESTAMP(6) COLUMN18 TIMESTAMP(6)   In a database  Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production   I'm trying to select all the distinct values of COLUMN4; unfortunately this takes roughly 18 seconds despite the COLUMN4 being indexed.  There are only 5 unique items.  How can I speed up my query?  (Work doesn't let me upload images so I'll type out the execution plan, use your imagination)  Operation             OBJECT_NAME CARDINALITY   COST ---------------------- ----------- ----------- ------ SELECT STATEMENT       NIL                    4 65463 + HASH(UNIQUE)         NIL                    4 65463 ++ TABLE ACCESS (FULL) TABLE1           2010857 65334


I have 2 drives in my laptop (Samsung NP530U4C), a 120GB SSD and a 25GB mSATA SSD. I have Windows 7 on the 120GB drive and after installing Ubuntu 12.04 on the mSATA I cant access Windows or get into the BIOS anymore. When I select Windows 7 in grub it says "invalid EFI file path" and Windows/Linux USBs/CDs dont show up in grub. The BIOS boot menu only shows 'ubuntu' (no drives or CDROM) and I cant get into the full BIOS and no I'm not pressing the wrong buttons. I tried Boot-Repair but had no luck. Anybody have any suggestions?

I installed ubuntu 13.04 on my new notebook (that came with windows 8 installed) and now when I try to load windows 8 appear the error:  impossible to find command 'drivemap'. (this is in portuguese, I'm not sure if I translated it right invalid EFI file path.  ubuntu is working OK. someone knows what can I do to solve this and have both SO running? I have searched on the internet but couldn't find anything I could understand. can someone help me?


Voting to close a question on any SE site should force the voters to actually sit down and state the case why this question should be closed. No more just pushing buttons and leaving but you actually have to type out and state the case.   Then a report is set to the questioner and that will give the questoner a chance to see what is going on or to rebut.   Then the report can be attached with the rebuttals and the questioner can have a chance to send it to a jury of randomly selected users or mods excluding the intial close voters and the questioner.   Once the jury has decided the user can appeal up and for the final time once this appeal has be used the question is marked and judgment is final.   I think this a rather fair way to contest closure of questions and it allows for further clarification as to why the question was asked.   Edit:   After responding to someone, here is a more clearer way on how this might work.   Sally writes an question and its gets posted. Jannett votes to close.   Jannet on the vote to close form, writes up a reason and then points out what is the offending thing, then sends it off.   Sally in her inbox gets the vote form and sees what needs to be done for the question.   Sally either rebutt the vote directly, give some reasoning or explain why she think this wrong.   Or Sally can then change the question to fit the objection and submit the form back.   Jannet has her vote back and click an option to return the close vote or she can option to dispose of the vote effectively removing the vote from the question.   If Jannet not happy with the changes she sends the vote back.   This creates a means of making sure that the people who have vote to close holdings on their question have an opportunity to address and make sure that their is effective comunication.

After a question get closed, it can be reopened after it was substantially enhanced.   But it may be substantially enhanced while it has one or more close votes, but not closed yet.  I think it should be possible to get the close votes removed in case there is a majority that it should be reopened if it were closed. Some close votes mean a question is only partially closed. Now, few or just one vote could close it. I think partly closing should be reverted if it would be voted to reopen when completely closed.   Is this possible? If not, is it a helpful feature?


New to Ubuntu (using 15.04) and trying to install a couple of Network printers I have. Brother HL-2280dw, and Brother MFC-J870dw. I downloaded the Linux deb drivers from Brother's support site and the application installer will give a message to not install.  Why?  Also tried directly by connecting to the network printer, and letting Ubuntu look for drivers and install from a free site it recommended, but during the installation it froze, and I had to reboot.

Guides on how to install drivers for a Brother all-in-one network printer are either for older devices or are rather complicated as they often involve editing or copying system files in my root directory.  Is there a newer, more convenient way to install the drivers needed?


I've seen many similar questions but I've not seen this exactly answered. Let's say that I'm rolling a 10 Int character and gets a temporary buff to Int by an item that let's him pick Combat Expertise. Sometime after, he picks the item again on a level up and picks Karmic Strike. If he loses the Int bonus, aside from the use of Combat Expertise, does he also lose the use of Karmic Strike due to losing the use of Combat Expertise?

Do curses or ability damage/drain cause a character to be unable to use his feats?   For example, a Ranger with 20 Dex who has two-weapon-fighting feats and is using two weapons gets cursed or ability drained and his Dex drops to 14. Does that cause the character not to be able to use his two-weapon feats (which have a requirement of at least 15 Dex)?   What about his other feats that have prerequisites of blocked feats? (As another example: a fighter with the Whirlwind Attack feat, which requires Combat Expertise gets an INT penalty that drops his INT under 13, a prerequisite of Combat Expertise). I think that he can no longer use his Combat Expertise feat (because of low INT) and also Whirlwind Attack and any other feats that require Combat Expertise. Is that right?    I guess it is better to clarify the reason I am asking.  First of all, there are so many books, and there are too many authors that create them and test them. Many bugs are uncovered due to that reason. It is quite hard to keep track of all these things. I know that.   The reason for the question is, for higher-level builds, skill, feat, class, prestige class, template and ability score choices become more important. And there are casters, whose main combat skills depend on spells (clerics, sorcerers, and wizards, especially). Maybe druids can deal with key ability score penalties, and clerics may try to survive such conditions. Wizards and sorcerers have less of a chance when their key ability score drops. A curse may cause them to be without magic (or with some weak spells) if they fail to resist it. They probably have higher Will saves, but they all have the chance.   And I am trying to be sure about the situation of a warrior-based class, because feats mean a lot to them. So what happens when they get cursed? Failure to be able to use a key feat is important, but not as much as a wizard who is unable to cast spells.  Related FAQ answer is not enough about this situation (the following part)     A feat sometimes requires you to have a certain ability   score, which is the case with Two-Weapon Fighting (it   requires Dex 15). A character has, say, Dex 13, but wears   an item, in this case gloves of Dexterity +2, and now her Dex   score is 15. Can she take the feat and have it be active only   when she wears the item?      Actually yes, she could take the feat, but she would lose the   use of the feat if, for whatever reason, she loses the bonus from   the item.   So, still looking for something more satisfactory.  UPDATE: @LitheOhm's answer:  Players Handbook:     Two-Weapon Fighting   Prerequisite: Dex 15.    Complete Adventurer     Oversized Two-Weapon Fighting   Prerequisite: Str13, Two-Weapon Fighting   I wish to clarify that, I just wish to be sure about what to do in such situation. That is just an example and probably being able to use Oversized Two-Weapon Fighting feat will not save the character while he could not use basic Two-Weapon Fighting feats due to Lowered DEX. But I still wonder, whether he could still use Oversized Two-Weapon Fighting.  Of course there could be some other feats which fits that situation. That is just one I noticed.


If I have put the time into creating some skeletons or zombies using the spell Animate Dead. Kept them active expending 3rd level spell slots can I equip them with items, like armour and weapons?  Also if I equip a weapon they don't normally use do they get disadvantage?  (Hoping for a zombie with splint and a Great axe :D)

A wizard has just killed a group of heavily armored fighters with great weapons. He uses Animate Dead on the bodies. The spell reads as:     This spell creates an undead servant. Choose a pile of bones or a corpse of a Medium or Small humanoid within range. Your spell imbues the target with a foul mimicry of life, animating it as an undead creature. The target becomes a skeleton if you chose bones or a zombie if you chose a corpse (the DM has the creature's game statistics).   So from the wording of the spell, these corpses would turn into zombies, as in you are making that body move again. You aren't mashing up the body into a stew and pouring out a new zombie, they're identical, still wearing the armor. Do zombies wearing plate have an AC of 18 instead of 8?  In the section on zombies in the MM, they have the Slam melee weapon attack, which does 1d6+1. The description section for zombies does read:     A zombie armed with a weapon uses it, but the zombie won't retrieve a dropped weapon or other tool until told to do so.   The wizard tells the zombies to pick up their greatswords. Does wielding a greatsword override the Slam attack and they now do 2d6+1?  Armor and weapons require proficiency. The people using the equipment were proficient in them, but are the zombies proficient? Does a zombie have disadvantage because it isn't proficient with this gear? I am certain that the zombie would have reduced speed because it only has a strength of 13, not the required 15 for plate.  Finally, do the implications of this extend to other types of undead? Can the wizard use Create Undead and make ghouls that wear armor?


I can see most SE sites and pages mobile friendly, including this one. But for just stackexchange.com it displays full desktop on mobile chrome and safari. Is there something I need to change on my end? See screenshot.

If you hear about Stack Exchange from a random person, and you’re thinking     Oh I want to go check out this nifty site kids these days like   you probably will open up your phone’s browser and look up stack exchange. However, the top link is, logically, to . No problem here, right?  Wrong. On my iPhone 7, this is what it looks like:    This is the first page a user will see if they look up Stack Exchange. While it’s a different question how well the homepage works on desktop, it’s a very bad first impression on mobile, especially compared to the lovely responsive design seen on the most frequently viewed pages.  This page is desperately asking for a responsive design, or at least a mobile version.


I installed Windows 8.1 Pro as guest OS in VirtualBox. I want to share a folder between Ubuntu 13.10 as my host OS and guest OS for file transfer between them. How can I do that?  Thanks

I have installed VirtualBox OSE on Ubuntu 11.04 and Windows XP pro as the virtual machine. Now I want to have a shared folder which can be accessed on both, my host Ubuntu machine, and my WinXP guest virtual machine.  How can I do that?