I need help to answer the following problem:  Let $F$ be a field and $n\ge 2$.   Define $\phi:GL(n,F)\to GL(n,F)$ by $\phi(g)=(g^{-1})^T$, where $T$ denotes the transpose.  Suppose that $F$ has at least four elements and $n\ge 3$. Show that the restriction of $\phi$ to $SL(n,F)$ is an outer automorphism of $SL(n,F)$.

Consider the transpose inverse automorphism on $GL_n(\mathbb F)$ where $n\geq2$ and $|\mathbb F|>2$. (i.e. $\mathbb F$ is a field, possibly infinite, with three or more elements). I want to show this automorphism is not inner. I was told to consider $\det(BAB^{-1}) = \det(A)$ and $\det(\,^TA^{-1})=\det(A)^{-1}$ and derive a contradiction.  However, in some fields (where the result holds) I fail to see the contradiction. What about $\mathbb F_3$? An element of $GL_2(\mathbb F_3)$ either has determinant $1$ or $2$, both of which are their own multiplicative inverses in $\mathbb F_3$. I'm not sure if my knowledge of fields and determinants is flawed or the hint is.


My ultimate goal is to simplify routine task of compilation and run.  Now I've following commands   1. g++ foo.cpp -o foo --std=c++11  2. chmod foo +x #this may be overkill  3. ./foo   So, my question if this can be done like  compile foo   with alias or something like that    I've tried  alias compile='g++ $1.cpp -o $1 --std=c++11'   with no luck

Possible Duplicate:          As answered in  I want to use git diff --color=always filename | less -r to get a colored output of my git diffs. Since I use this a lot it would be nice to set up an alias for this. But how to include the filename in this command?  I tried the following without success:  alias gdiff='git diff --color=always $1 | less -r'   Typing gdiff example.php displays the content of example.php with less but ignores the diff part.  Any ideas?


In Ubuntu 13.04 the Disk Utility has been renamed to Disks and has a completely new interface. Using this new version of Disks I want to format my external hard drive to ext4, but the  already posted refer to an old version of Disks.  I only have two options when formatting, neither of which is ext4:    Can anyone tell me how to do this?

Using Ubuntu 11.10, how do I format an external or USB drive? I don't find an option to 'format' when I right click. In the new version, the drives don't come up on the desktop, but instead come on the Launcher.


Mods: Please note that this question is specifically about a server that is managed via cPanel and WHM, which makes it different than the .  The past month, my personal web server has received thousands of these notices. Please note, my server is primarily managed by WHM/cPanel, although I have root ssh, ftp and other traditional access points.   These attacks started by attempting root, but have since progressed to attempting user accounts where I am not certain how they even guessed the correct usernames (albeit wrong passwords).   Is there a way to prevent these kinds of attacks from happening?  Also, here's the number of auto-bans listed just today and some smattering of IP address sources - the attack times for past month are basically around 6:30 am east coast time to 11 pm:

I'm running an SSH server on my personal computer. The log had many people(or bots?) repeatedly trying to log in to my server (that is before I changed the default port), which made me a little freaked out. I was worried about their dictionary attacks or brute force password guessing.  But then if you type wrong password (or wrong username), the server waits for about 2 seconds before it asks for password again. So an attacker can try one password per 2 seconds. So I concluded that these attacks aren't that great a threat (as long as your password does not consist of dictionary words.) Am I correct?


I am copying some large datasets to google drive using rclone in Linux on MobaXterm. First, I copy the dataset using;  -cpu:~$ nohup rclone copy /path_to_source/. /path_to_destination &   once copying is completed, I use sync to make sure everything is copied using;  -cpu:~$ nohup rclone sync /path_to_source/. /path_to_destination &   Now when check the job status using;  ps -ef | grep rclone   For one of the jobs, it gives;   [3]+  Exit 1         nohup rclone sync /path_to_source/. /path_to_destination &   I was expecting to see 'Done' instead of 'Exit 1'. What does this mean? Does it mean sync is unsuccessful? If so what would be the reason?

I ran this command to try and get my python program to run in the background and let me exit the SSH connection I am using:  nohup python files.py >> files.log &   I then check ps to check it worked   $ ps a   PID TTY      STAT   TIME COMMAND 13059 pts/0    Ss     0:00 -bash 13327 pts/0    R+     0:00 ps a [1]+  Exit 1                  nohup python files.py >> files.log   What does this [1]+  Exit 1 mean?  And how can I run my program in the background letting me exit correctly?


Let's say in /var/www/drupal8/core/modules/search/src/Controller/SearchController.php below is the snippet  class SearchController extends ControllerBase {      ...      ...    public function view(Request $request, SearchPageInterface $entity) {         ...        ...       if (count($results)) {          $build['search_results_title'] = array(         '#markup' => '
' . $this->t('Search results') . '
',        );      }       ...    }  }   So  in the above snippet I want to change the text Search results in line  '#markup' => '
' . $this->t('Search results') . '
',   I want to override above view method extending class SearchController in my custom module.  What are the exact steps to do this?  I am using drupal 8.2.1.

In other words, what is the Drupal 8 equivalent of ?  Drupal 8 still uses hook_menu(), but for what I can see, the information returned by the hook is different from what the hook returned in Drupal 7. For example, the definition given in user_menu() for user is the following.    $items['user'] = array(     'title' => 'User account',     'title callback' => 'user_menu_title',     'weight' => -10,     'route_name' => 'user_page',     'menu_name' => 'account',   );   The route_name property links to an entry in the  file.  user_page:   pattern: '/user'   defaults:     _content: '\Drupal\user\Controller\UserController::userPage'   requirements:     _access: 'TRUE'   This is different from what done with Symphony, and it confuses me about how a module can alter the route defined from another user.  The only function that is still invoking hook_menu_alter() is menu_router_build(), but that function still contains code that needs to be updated, since it is still using the now deprecated drupal_alter().    // Alter the menu as defined in modules, keys are like user/%user.   drupal_alter('menu', $callbacks);   foreach ($callbacks as $path => $router_item) {     // If the menu item is a default local task and incorrectly references a     // route, remove it.     // @todo This may be removed later depending on the outcome of     // http://drupal.org/node/1889790     if (isset($router_item['type']) && $router_item['type'] == MENU_DEFAULT_LOCAL_TASK) {       unset($callbacks[$path]['route_name']);     }     // If the menu item references a route, normalize the route information     // into the old structure. Note that routes are keyed by name, not path,     // so the path of the route takes precedence.     if (isset($router_item['route_name'])) {       $router_item['page callback'] = 'USES_ROUTE';       $router_item['access callback'] = TRUE;       $new_path = _menu_router_translate_route($router_item['route_name']);        unset($callbacks[$path]);       $callbacks[$new_path] = $router_item;     }   }


I am currently a level 5 fighter going with Eldritch Knight in a campaign. My friend says that when I use a spell like firebolt to attack an enemy, it does not count as an attack and I cannot use my Extra Attack feature from my class.  It was my understanding that when I hit level 7 I would be able to use a cantrip to attack, then get a bonus melee attack for War Magic, and then use my Extra Attack to attack again, doing the same thing. But according to my friend, once I use any spell I cannot use my Extra Attack ability due to it not being an Attack action only using an action to cast the spell. Is he right?

In the D&D campaign I am currently participating in, I am playing as a level 5 high elf champion (I actually just reached level 5 at the end of the last session).  As a High Elf, I got a free cantrip at first level, and chose the firebolt cantrip.  Here's what I'm wondering now: for the purposes of the extra attack feature, does firebolt (and similar cantrips) count as an attack?


I need to generate an IV for an AES encrypted file, and I'm doing it like so:  private void generateIv() {     SecureRandom rnd = new SecureRandom();      byte tempiv[] = new byte[16];     rnd.nextBytes(tempiv);       System.out.println("IV Generated: " + tempiv.toString() + ", Length: " + tempiv.length);      try{         File outfile = new File("initvector.iv");         FileOutputStream ivfile = new FileOutputStream(outfile);           DataOutputStream dos = new DataOutputStream(ivfile);         dos.write(tempiv);         ivfile.close();         dos.close();     } catch(Exception e){         e.printStackTrace();     } }   Then, I display it to the console like this:  private void displayiv() {     FileInputStream ivout = null;      try {         ivout = new FileInputStream("initvector.iv");     } catch (FileNotFoundException e) {         e.printStackTrace();     }     // DataInputStream dis = new DataInputStream(ivout);       byte[] fileiv = new byte[16];       try {         ivout.read(fileiv);         //dis.close();         ivout.close();     } catch (IOException e) {         e.printStackTrace();     }       System.out.println(fileiv); }   But the problem is that the output is different every time I call the displayiv() method... This is a sample output from the console.   IV Generated: [B@6276ae34, Length: 16 [B@42dafa95 [B@6500df86 [B@402a079c [B@59ec2012   As you you can see the iv is generated fine, but trying to read it from the file gives a different result every time. In the displayiv() method I also tried to wrap the fileinputstream in a DataInputStream but the problem still persists. Why is this?

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]


I dont see any materials in EEVEE Material Preview, Rendered and material isnt showing in material preview cycles

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


i want to make one of the images disappear (opacity 0 ) but when the images completely load  here is the code :   var imges = document.getElementsByTagName('img');   imges[0].style.opacity=0;   how to write the event of when the images load  completely then do this  ?  of course with vanilla javascript

I want to know when an image has finished loading. Is there a way to do it with a callback?  If not, is there a way to do it at all?


To clarify, this isn't a question about what a caret (^) or a dollar sign ($) does in a regular expression. In modern keyboards with QWERTY layout, ^ comes after $ (i.e., ^ appears above the number 6 and $ above 4), so I always have a moment of hand-eye discoordination when I use them like ^foobar$. So I was curious why, historically, the caret and dollar sign were chosen to match the beginning/end of a line because it would be more intuitive if they were reversed. Perhaps they had a different keyboard layout back then? Apparently, the reason ESC was chosen to change mode in vi was that it made sense for Bill Joy's keyboard: .

Many command-line tools (grep, flex, etc.) use the ^ symbol to denote "beginning of line" and the $ symbol to denote "end of line." When did this convention arise? It seems perfectly reasonable to reserve two characters for these purposes, but it's a bit odd that on modern keyboards the $ symbol is to the left of the ^ symbol.  Is this a completely arbitrary decision? Does this come from some older keyboard layout? Is this convention used because some older tool decided to do things this way?  Regardless of the answer, are there primary sources that document this?


I have the following which seems to work perfectly, except that it's always 1 less than the count I need:  DECLARE @start_day DATETIME; DECLARE @end_day DATETIME; DECLARE @start_time DATETIME; DECLARE @end_time DATETIME;  SET @start_day = '2013-06-03'; SET @end_day = '2013-06-07';  PRINT   DATEDIFF(d, @start_day, @end_day)       - DATEDIFF(wk, @start_day, @end_day) * 2       - CASE              WHEN DATEPART(dw, @start_day) != 7 AND DATEPART(dw, @end_day) = 7 THEN 1              WHEN DATEPART(dw, @start_day) = 7 AND DATEPART(dw, @end_day) != 7 THEN -1              ELSE 0         END    I should be getting   `5` for `2013-06-03` to `2013-06-07` but it's giving me `4`. `5` for `2013-06-03` to `2013-06-08` but it's giving me `4`. `5` for `2013-06-03` to `2013-06-09` but it's giving me `4`. `6` for `2013-06-03` to `2013-06-10` but it's giving me `5`.   So my question is:  How do I get:  `2013-06-03` to `2013-06-07` to equal 5 `2013-06-03` to `2013-06-08` to equal 5 `2013-06-03` to `2013-06-09` to equal 5 `2013-06-03` to `2013-06-10` to equal 6     Please note, adding +1 to the end does not solve the problem!!!

How can I calculate the number of work days between two dates in SQL Server?   Monday to Friday and it must be T-SQL.


Some spells, I believe, require a willing target. Others only allow a save if the target is unwilling. I am wondering if you can tell a target that you are going to cast one spell and then actually cast a different one.  Can you trick a target creature into being willing to be a target by lying about what spell you are going to cast? Can the target tell the exact nature of an incoming spell for willing/unwillingness/save purposes?

Going through the spells, I see the phrase "Willing creature" used to determine who you can cast some spells on. I don't ever see a proper definition of what a willing creature is, but I would assume that it would go something like if you asked them "Can I perform this spell on you" they would answer yes. Is there a more formal definition of what makes a target willing in 5e?  What are the ways I could make an otherwise unwilling creature willing? Suggestion spells, for instance, should probably work but what other options do I have?


Say I wanted a function that checked whether or not a variable is a string, the interwebs advised me as follows:  function is_string(s) { return typeof s === 'string'; }   but I can't think of any scenario where "typeof s" could return "string" without s actually being a string.  Is there any reason for that === operator instead of ==?  Reason being, I want to check types in a switch statement, AFAIK, the switch statement uses the loose comparison operator. Since I'm only looking for known types and don't need to check for undefined, it should be fine, right?

I'm using  to go through JavaScript, and it's returning many suggestions to replace == (two equals signs) with === (three equals signs) when doing things like comparing idSele_UNVEHtype.value.length == 0 inside of an if statement.  Is there a performance benefit to replacing == with ===?   Any performance improvement would be welcomed as many comparison operators exist.  If no type conversion takes place, would there be a performance gain over ==?


Let $X,Y$ be two independent r.v's with geometric distribution: parameters $\lambda, \mu $, respectively. Let $Z = \min(X, Y) $. Show $Z$ is geometric with parameter $\lambda \mu $.  $$Attempt $$  By hypothesis, I know $P^X( A \in X) = \sum_{j \in A} \lambda^j (1-\lambda) $ and $P^Y(B \in Y) = \sum_{j \in B} \mu^j(1 - \mu) $. Next, I have   $$ P^Z(Z \in C) = \sum_{j \in C} P(Z = j ) = \sum_{j \in C} P( \min(X,Y) = j) $$  We know $X,Y \geq \min(X,Y) $, therefore, $P( \min(X,Y) =j ) = P(X \geq j, Y \geq j ) $ and since $X,Y$ are independent, we have $P(X \geq j, Y \geq j ) = P(X \geq j) P(Y \geq j )$. Here is where I am stuck. Am I on the right track ?

here's a question I got for homework (sorry if my translation is a bit unclear):  Let $X\simG(p_1)$, $Y\sim G(p_2)$, $X$ and $Y$ are independent. Prove that the minimum is also geometric, meaning: $\min(X,Y)\sim G(1-(1-p_1)(1-p_2))$. Instructions: first calculate the probability $P(\min(X,Y) > k)$ and compare it to the parallel probability in (of?) a geometric random variable.  I have no idea where to start, even with the great clue that they've supplied. Any hints?


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

$\displaystyle\int {\frac{dx}{( 1+\sqrt {x})\sqrt{(x-{x}^2)}}}$   $=\displaystyle\int\frac{(1-\sqrt x)}{(1+x)\sqrt{x-x^2}}\,dx$      $=\displaystyle\int\frac{(1-\sqrt x+x-x)}{(1+x)\sqrt{x-x^2}}\,dx$   $=\displaystyle\int\frac{\,dx}{\sqrt{x-x^2}}-\displaystyle\int\frac{\sqrt x(1+\sqrt x)}{\sqrt x(1+x)\sqrt{1-x}}\,dx$   I have tried the above integration a lot . But not able to solve further .   Please give me some hint how to proceed or some other method


Windows Update has 31 optional language packs in the Windows 7 Professional updates. They are unchecked and will not be installed. It is a bit annoying that there is a large list of updates totalling about one gigabyte that I obviously don't need.  How can I tell Windows Update: "No, thank you, skip these updates"? If someday I need to test a software with a different localization I would like to be able to reactivate formerly skipped updates. This skipped updates list feature had been available in Windows XP.

I'm getting really tired of unchecking the same Windows Update candidates so save hundreds of MB's of dowbloads, especially for programs I never use, that are in fact not even installed, and those I don't wish to update.  Is there any way to permanently, or until another explicit change, to turn off certain updates?  There is an option called 'Hide update', but that unsettles me a bit.


Can I use DC20V/6.75A instead DC20V/6.5A Power Adapter for my VisionTek VT4000 - Dual Display 4K USB 3.0 & C Docking Station?

Power supplies are available in a wide range of voltage and current ratings.  If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify?  What if I don't know the device's specs, but am replacing a previous power supply with particular ratings?  Is it OK to go lower voltage, or should it always be higher?  What about current?  I don't want a 10 A supply to damage my 1 A device.


I have to find out the maximum value of the expression :          $2x+3y+z$ as $(x,y,z)$ varies over the sphere $x^2+y^2+z^2=1.$

Let $x, y$ and $z$ be real numbers such that $x^2+ y^2+ z^2= 1$. Find the   maximum and minimum values of $2x + 3y + z$ .       How can I able to solve the problem? Thanks for your help.


When trying to install insight from some PPA repositories, but I get errors.  sudo apt-get install insight Reading package lists... Done Building dependency tree        Reading state information... Done The following NEW packages will be installed:   insight 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/2,298 kB of archives. After this operation, 6,787 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated!   insight Install these packages without verification? [y/N] y (Reading database ... 232356 files and directories currently installed.) Preparing to unpack .../insight_6.8.1-0ubuntu0~sevenmachines1_amd64.deb ... Unpacking insight (6.8.1-0ubuntu0~sevenmachines1) ... dpkg: error processing archive /var/cache/apt/archives/insight_6.8.1-0ubuntu0~sevenmachines1_amd64.deb (--unpack):  trying to overwrite '/usr/lib/libinproctrace.so', which is also in package gdbserver 7.8-1ubuntu4 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/insight_6.8.1-0ubuntu0~sevenmachines1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

For example:  $ sudo apt-get install curl Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: bsh : Depends: libjline-java but it is not going to be installed groovy : Depends: libjline-java but it is not going to be installed rhino : Depends: libjline-java but it is not going to be installed E: Unmet dependencies.   Try 'apt-get -f install' with no packages (or specify a solution).   I get the same or similar errors when I attempt to install clojure1.3, leiningen, and several other packages.   When I try the suggestion made in the error message, this is what happens:  $ sudo apt-get -f install  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required:   diffstat linux-headers-3.2.0-26-generic linux-headers-3.2.0-26 dh-apparmor dkms html2text libmail-sendmail-perl libsys-hostname-long-perl Use 'apt-get autoremove' to remove them. The following extra packages will be installed:   libjline-java Suggested packages:   libjline-java-doc The following NEW packages will be installed:   libjline-java 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 23 not fully installed or removed. Need to get 0 B/72.0 kB of archives. After this operation, 129 kB of additional disk space will be used. Do you want to continue [Y/n]? Y (Reading database ... 226243 files and directories currently installed.) Unpacking libjline-java (from .../libjline-java_1.0-1_all.deb) ... dpkg: error processing /var/cache/apt/archives/libjline-java_1.0-1_all.deb (--unpack):  trying to overwrite '/usr/share/java/jline.jar', which is also in package scala 2.9.2-400 Errors were encountered while processing:  /var/cache/apt/archives/libjline-java_1.0-1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)  $ sudo apt-get upgrade Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies:  bsh : Depends: libjline-java but it is not installed  groovy : Depends: libjline-java but it is not installed  rhino : Depends: libjline-java but it is not installed E: Unmet dependencies. Try using -f.


I need to compare two variables in a loop and I am using the code below. It does not work. It seems that the code cannot find when the two variables are the same. I am not sure why.   var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheet3 = ss.getSheetByName("Approved");   var sheet4 = ss.getSheetByName("ADD/REMOVE");   var list2 = sheet4.getRange(2,4,sheet4.getLastRow()-1,1).getValues();   var list3 = sheet3.getRange(2,8,sheet3.getLastRow()-1,1).getValues();      for(var i = 0;i<list2.length+1;i++){          for(var j=0;j<list3.length;j++){              var x = list3[j];       var y = list2[i];             console.log(x);       console.log(y);        if(x == y){sheet3.getRange(j+2,9).setValue("OK");console.log("HELLO!");}         }   }  I added the console messages to debug. "HELLO" is not there --> x is never equal to y. However, it should. Even the console shows x and y are equal when j = 8. The code does not give an error, it just does not find when x = y. The values I am comparing are strings (emails) Is there something wrong with code? UPDATE: Solved by changing to:   var x = list3[j][0];   var y = list2[i][0];


In Linux it's possible to format a non-system hard disk directly, without first putting any partitions on it.  I've formatted a raw hard disk using mke2fs, creating an ext4 volume /dev/sda, rather than /dev/sda1.  This seems to work perfectly; and presumably if there's no partition then that's one less thing that can go wrong.  However, I wonder why I can't find anyone else who has advocated this. I know it's not possible in Windows, but I can't find anything in Unix land either.  So if I only want one non-system volume on a hard disk, is there any reason why should first create a partition before formatting it?  EDIT: As is often the case, I've found several related questions here after I posted this one:

I ran into something a couple of weeks ago that I'd never seen before: A filesystem (ext3 I believe) installed to a storage device without a partition. In essence /dev/sdb was the entire filesystem. I know many filesystems can be extended into empty space, so doing this allows extending without dealing with LVM or some other kind of volume manager, but are there any other advantages for setting up storage this way?  The specific case I saw was as the ephemeral data volume for a number crunching server, the boot and root volumes were traditional partitions on a different storage device entirely. -


I have a user that's utilizing a piece of software written in Perl and uses curses for it's display logic.  The software works perfectly for a lot of other people, it's this one user that has the issue.  I've ensured we're running the same version of PuTTY as him, and share the exact same config (I exported his settings and imported them onto my machine, and it worked).  But no matter what we try (we've played around with the character encoding, making sure that UNICODE line characters are interpreted right, and even the terminal type), he always gets "0's" and other characters instead of vertical and horizontal lines in the curses menu when on UTF-8 (it acts wonky on other character encodings).  We're running the same OS but probably drastically different OS configs.  My thought it to start chasing the character encoding on his machine but I'm not quite sure where to start there.

I'm having trouble setting up PuTTY with Ubuntu.   I'm trying to get line characters to work in aptitude as well as 256-color support, but can only get one or the other.    Ubuntu Config   Using 64-bit Ubuntu Terminal type xterm-256color or putty-256color gives 256-color, but incorrect line characters.  Terminal type linux gives proper lines in aptitude, but only 16 colors.  PuTTY Config   Using font with Unicode characters. (DejaVu Sans Mono) Received Data is assumed to be in UTF-8. Set to use Unicode line drawing code points.    Output from locale:  LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=


I want to know what exact steps needs to be done to file a bug on the VLC 3.0 PPA, upstream. I can't figure this out. Here is the . Where do I file the bug on it?

I thought about reporting a bug about a package from the wine PPA, but neither  has an option to post a new bug report no  has an option to post a new question. But there are old bug reports and questions listed there.  I wonder how I can do this.  The standard ubuntu-bugway doesn't work for a package from PPA:  $ LC_ALL=en_US.UTF8 LANGUAGE=en LANG=en_US.UTF8 DISPLAY= ubuntu-bug wine1.7  *** Collecting problem information  The collected information can be sent to the developers to improve the application. This might take a few minutes. ............  *** Problem in wine1.7  The problem cannot be reported:  This is not an official Ubuntu package. Please remove any third party package and try again.  Press any key to continue...   No pending crash reports. Try --help for more information. $


I have developed a web form in ASP.NET with the code behind in vb.net in Visual Studio 2013. This will be deployed into SharePoint. I have also included a Site State Machine WF in the same solution. I am not able to get the WF to start on submit button click. Can someone please provide me with some advice on how to get this to work? Is including the Site State Machine WF in my solution the correct way to deploy a WF that isn't associated to a list into SharePoint?  I have deployed my ASP.NET web for and code behind into SharePoint via an application page.  Thank you for any help

I have added a state machine WF in VS by right clicking my solution and Add -> Add New Item -> then under "Office/SharePoint I added the "State Machine WF (Farm Solution Only). So the WF is now part of the solution along with my form and code behind. I have not wired up the submit button to "Start" the WF, because I am unsure of how to do it. I have been looking online for any good leads on this and have been unable to find anything that helps with my issue.   My form is developed in asp.net, my code behind is vb.net and I added my state machine WF to the same solution. I then deployed my form, code behind and WF into SharePoint via an Application Page (Farm Solution only) in Visual Studio 2013.  Could someone please provide me with any good advice or articles that relate and solve this issue? Maybe I am approaching this from the wrong direction... I am open to any opinions of others.  Thank you


I'm trying to remember a short story in the science-fiction genre.  It is a story which features a society that revolved around teaching people to maintain spaceships, but in the distant past they had become cut off from the people who actually had the spaceships. This society continued to teach spaceship maintenance long after they knew why they were teaching it. All knowledge of how the knowledge was actually practical was lost.  At some point, one or more people with the maintenance knowledge are re-united with the society that actually has the spaceships - which are seriously out of repair because they lost the repair knowledge when they lost contact with the world that did the repairs.  I think the two societies then get together again, but I don't remember how it ended or much of the actual plot.  What is the name of this story?

I read this short sci-fi story some time ago:  The story is about an abandoned colony of military engineer corps that crash landed on a planet. They still know all about repairing equipment (they don't have any).   The other part is about the empire that is losing the knowledge about repairing the ships and equipment. One day, a ship reach the colony.


I'm trying to ask a question about combining CSV files in Python, and since I'm new to this site I can't post images of it. How do I create a column by row example like  has done?

How do I post text so that it is formatted as code?  What do I need to do so that my code shows up properly — not escaped or removed — when posted? And how to get the correct syntax highlighting?     For more information, see "" in the .


I am working on some past prelim problems and one of them is the following: If $f \in \mathcal{L}^1(\mathbb{R})$ then $\lim_{h\rightarrow 0}\int_{-\infty}^\infty |f(x+h)-f(x)|dx\rightarrow 0$   Update: Following Jackie Chong's advice, I am attempting this problem with the dominated convergence theorem. Since $f\in L^1(\mathbb{R})$, $f$ can be approximated from below by a sequence of continuous functions $f_n$. Then, I believe I can say that, for all $n$ sufficiently large, $|f_n(x+\frac{1}{n})-f_n(x)|\le 2|f(x)|$. (I'm not sure of this part thought). Then $2|f(x)|$ is integrable and hence a dominating function for $|f_n(x+\frac{1}{n})-f_n(x)|$. So by the dominated convergence theorem we can take the limit inside $\lim_{n\rightarrow \infty}\int|f_n(x+\frac{1}{n})-f(x)|dx=\int \lim_{n\rightarrow \infty}|f_n(x+\frac{1}{n})-f(x)|dx=0$ Is this on the right track?  Another approach that I thought may work, but which I'm less certain of is the following: If $f$ can be approximated by $C^1$ functions (I have no real justification for this, so please correct me if its wrong), then for each $n$ and each $x$ there is some $y(x,n)\in B_{1/n}(x)$ such that $|f(x+\frac{1}{n}-f(x)|=\frac{1}{n}|f'(y(x,n)|$ but from here I don't see how to proceed, because just because $|f|$ is integrable, I can't justify $|f'|$ being integrable, but if there is some way to fix this approach, hints would be appreciated.   Another thing I was thinking was to first approximate $f$ from below by continuous functions $f_n$ then to define $g_{m,n}=|f_n(x+\frac{1}{m})-f_n(x)| \chi_{[-m,m]}$. Then, for each $n$, the function $g_{m,n}$ is continuous on its support, and since it support is compact, it is uniformly continuous there. Can this be used to justify bringing the limit $\lim_{n\rightarrow \infty}$ inside the integral? Then apply the monotone convergence theorem? I know this idea is probably even more sketchy than my previous one, but if it can be fixed please let me know :)  Thanks!

I am having a hard time with the following real analysis qual problem.  Any help would be awesome.  Suppose that $f \in L^p(\mathbb{R})$, where $1\leq p< + \infty$. Let $T_r(f)(t)=f(t−r)$. Show that $\lim_{r \to 0} \|T_rf−f\|_{L_p} =0$, that is $$ \lim_{r\to 0} \left( \int_{\mathbb R} |f(t-r) - f(t)|^p \mathrm d t\right)^{1/p} =0.$$


Let $p$ be an odd prime. Prove that $$1^i + 2^i + \cdots + (p-1)^i \equiv 0 \pmod{p}$$ for all $i$, $1 \le i \le (p-2)$.   If $i$ is odd, then we are done, since $j^i + (p-j)^i \equiv 0 \pmod{p}$ for every $j$. But how can we prove this if $i$ is even? Any ideas? Thanks for your help.

If $p$ is an odd prime and $k$ an integer with $0<k<p-1$ prove that $1^k + 2^k + \ldots + (p-1)^k$ is divisible by $p$. Given hint: use primitive root.   This is a question on a practice final of mine. For $k$ being odd, it seems obvious (as the $\pm$ terms cancel out), but I cannot figure out how to do this for the general case.


how we can give an example of two metrics on a space that induce the same topology , but are not equivalent!(so do we can generalize our definition about equivalent of metrics?)

I've just completed an exercise where I had to prove that two equivalent metrics induce the same topology. Now, I was wondering if it's true that two metrics that induce the same topology, are equivalent? If it's not the case, what are some counterexamples?


It had a matrix like plot -- the protagonist starts to get glimpses of a dark, drab world underneath what appears to be a perfect existence. The defining moment is when       he is chased by armed cops and he looks back to see the reality: a  bunch of pajama clad people pointing L-shaped wooden pieces at him. He  smiles and keep running. None of the make believe bullets hit him.   He goes onto find that the world consists mostly of cardboard and wooden props with barcodes identifying what they're supposed to be. A signal tells peoples' brains what they should see. A name like "Arora" is mentioned but I cannot exactly recall.

This movie came out around 2000 and was created for one of the cable networks (and never in the theaters).  I think it was on the original Sci-Fi Channel or maybe the USA Network, but really not sure.    It's about a 1950's American-style utopian world.  The main character, if I remember correctly, worked at a car dealership.  I recall him looking like Jon Hamm, Adrian Pasdar, or Scott Bakula, but I may be way off there (and I didn't see the movie in their filmographies).  He drives his nice car home, and the whole town is beautiful, as are its people and white picket fence style homes.     He suddenly starts seeing weird things.  For example, instead of people driving cars, they're actually riding rickety bicycles.  The manicured, paved streets are actually dirt roads.  Houses are, in reality, tiny shacks.  Instead of people's clothes being immaculately maintained, everyone's really wearing filthy rags.  And instead of delicious food, they're eating something that looks like rotten garbage.  Something is making everyone believe they live in a beautiful, perfect society, but it's mind manipulation that's almost on the scale of the movie "The Matrix."    He befriends a pretty lady, and together they travel outside their town and try to find answers.  They even meet an outside militarized government, whose officials are interested in understanding and helping him.  This other city's infrastructure appears to be state-of-the-art and well funded.  The officials all have nice uniforms.  However, their environment is also under the same influence that's making everyone see things differently than what they really are.  The main character somehow sees through this illusion too, and realizes this fake prosperity is affecting others outside his home town--maybe the entire world!    The movie ends with       the man and woman eventually running into some elderly maintenance man in a forested area.  The maintenance man's job is to service a machine that alters everyone's perception of reality.     I posted about this a couple of years ago on another site, and somebody took a guess that it was "The Prisoner" but unfortunately that's not it.  I didn't really explain it well the first time, so hopefully this is clearer.


Is it possible to produce the Icelandic Eth and Thorn in LaTex? The lower case eth appears in phonetic fonts, but I need the upper case version. It would be good to have Thorn also.

I know what my symbol or character looks like, but I don't know what the command is or which math alphabet it came from. How do I go about finding this out?


[When taking photos on Cycles, it renders it in Cycles, but I can't see how it looks until it renders.

How can the current viewport view be rendered as a preview?


I have a  7.1 emulated surround sound headset, and I'm trying to find out if anyone knows if there is a way to make this work in Ubuntu. Plantronics has the software for Windows that works great, I just don't know if there is anything for Linux that would make this work. Stereo works great, but not 7.1 surround.   If it doesn't work I can live with it, but if anyone knows of any software out there that'd be great!  Thanks!

This question is targeted at mainstream or gamer-grade software-based audio/sound enhancements, found in highly integrated computing and entertainment systems like laptops, tablets and smartphones.  These are mostly marketed with fancy badges of known audio-releated brands on the product or packaging, while being mostly uncertain about the actual implementation or components used and poorly differentiated from the general audio capabilities of the system or device.     This question is not about actual hardware like speakers. If your headphones are not properly detected, your speakers are assigned wrong, work partially or not at all then your soundcard or chip is not properly detected and you should take a look at .   Some subwoofers on laptops require proper LFE remixing, which is currently disabled in PulseAudio.  This question is also not about enthusiast or recording-grade hardware like recording interfaces, amplifiers and DACs in a variety of formfactors. And this question is also not about audio encoding and playback of different audio formats like Dolby Digital, Dolby TrueHD and DTS. Most of these may be subject to patents and licensing, .   If you are just searching for an equalizer, please take a look at this question:     Simply speaking: Every feature where you would flip a switch or check a box in a fancy looking interface in Windows that makes the sound change from neutral to fancy.


Show that $x^3+3y^3+9z^3-9xyz=1$ has infinitely many integer solutions.   I have found that (1,0,0) and (1,-18,12) are two solutions and tried (1,-18+n,12-n).  There is a hint saying that I should try to decompose the left hand side into complex polynomials. Any idea how I can do this?

A question from Alibaba Global Mathematics Competition (number theory)  Prove  $\displaystyle x^{3} +3y^{3} +9z^{3} -9xyz=1$ has infinitely many integer solutions.  The hint for the question is to transform the left side to a complex polynomial.  I found that:  Set $\lambda =e^{j2\pi /3}$ then the equation can be transformed to:  $$ \left( x+3^{1/3} y+3^{2/3} z\right)\left( x+3^{1/3} \lambda y+3^{2/3} \lambda ^{2} z\right)\left( x+3^{1/3} \lambda ^{2} y+3^{2/3} \lambda z\right)=1$$  but I don't know how to continue.


I am new to latex and cannot solve to fit this table to page size even though I looked up the problem in the forum. Any help would be very much appreciated.      \documentclass[11pt]{article}     \usepackage[utf8]{inputenc}     \usepackage[scaled]{helvet}     \usepackage[table]{xcolor}        \renewcommand\familydefault{\sfdefault}      \usepackage[T1]{fontenc}     \thispagestyle{empty}     \usepackage[margin=0.7in]{geometry}     \begin{document}     \rowcolors{2}{gray!25}{white} % for alt row cols     \begin{table}[ht]     \centering     \makebox[\linewidth]{     \begin{tabular}{lllllll}     \rowcolor{gray!50} %for alt row cols       \hline        & Overall & None (N) & Mild (M) & Moderate (M) & Severe (S) \\      & Mean\% (SE) (95\% CI)&Mean\% (SE) (95\% CI)& Mean\% (SE) (95\%         CI)&Mean\% (SE) (95\% CI) & Mean\% (SE) (95\% CI) \\       \hline     \textbf{XXXXXX}& 65 (61 - 69) & 20 (17 - 23)& 8 (6 - 10) & 7 (5 - 9) & \\     \textbf{XXXXXXX} (XXXX-XXX)&  42 (34 - 51) & 23 (15 - 30) & 17 (10 - 24) & 18 (11 - 25) & \\      \textbf{XXXXXXX} (XXXX-XXXX)& 62 (53 - 70) & 19 (11 - 26) & 8 (3 - 12) & 12 (6 - 17) & \\     \textbf{XXXXXX}& 73 (63 - 84) & 18 (8 - 28) & 5 (1 - 9) & 4 (-1 - 9) & \\         \hline     \end{tabular} }       \end{table}       \end{document}

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


Anyone else have problems when running a PowerShell script, where the script just hangs in one spot until you hit Enter or something on the console window?   This happens to me all the time, and for the life of me I cannot figure out why.

Periodically I notice PowerShell seems to take forever to finish doing whatever it is I told it to do until it occurs to me to "wake it up" by pressing enter. This is not the fault of any one process as best I can tell, as I have even run custom apps that just log their output to the screen every few seconds and even in these cases, PowerShell will stop doing anything after a while until I "give it a kick" by pressing enter.  Any ideas what might be causing this?


I am trying to create the VM instance with NVIDIA K80 GPUs in Asia-East1 so, I requested to increase the quota and team have adjusted the quota. However, when I am trying to create the VM instance by selecting the NVIDIA K80 GPUs with 4 CPUs and Windows 2019 server, I am getting an error "Quota 'GPUS_ALL_REGIONS' exceeded. Limit: 0.0 globally.". Please can you look into this issue and provide the solution.  Thanks & regards, Tushar

When I start a instance with gpu on google cloud platform, it shows me the error that You've reached your limit of 0 GPUs NVIDIA K80.   Anyone who can give me some tips about this, thanks in advance.


What is the simplest way to make citation call-outs like this:  (Author year: page--range) e.g. (Chomsky 1957: 23--24)  or more complete:  (Author year, volume: page--range; Author2...) e.g. (Knuth 1973, 3: 234--236;...)  Edit: MWE (this is what I have tried):  \documentclass{article} \usepackage[backend=bibtex,style=authoryear]{biblatex} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @book{test,   author = "Author",   title = "Title",   publisher = "Publisher",   series = "Series",   year = 2017, } \end{filecontents*}  \bibliography{\jobname}  \begin{document} word\parencite[345]{test},  word2\parencite{test} word3\parencite[345--347]{test} \printbibliography \end{document}   Edit 2:  It seems as if the two examples above aren't clear enough.  If the the citation is only one book (e.g. if it only one volume) then it should look like:  (Chomsky 1957: 23), if it's a page range (Chomsky 1975: 23--24).  (Without the p or pp prefix.)  If it's more than one book (e.g. if it has multiple volumes) then:  (Knuth 1973, 3: 234), if it's a page range (Knuth 1973, 3: 234--236)  The multiple citations should be separated with ;

Suppose I've just made the switch to . I have chosen one of the built-in styles (numeric, alphabetic, authoryear, authortitle, verbose) or of the custom styles available at CTAN, and I've figured out how to sort/compress citations. The bibliography and the in-text-citations look approximately like I want, but need to be tweaked. I've taken a look at the biblatex documentation for advice, but it is somewhat daunting. How do I get started? To add some focus, customization in the following areas would come in handy:   Suppressing of specific BibTeX fields (e.g., publisher); Formatting of fields for specific entry types (e.g., titles of articles not inside quotation marks); Formatting of citation postnotes (i.e., getting rid of "p."/"pp."); Spacing and punctuation in the bibliography (e.g., commas instead of periods as unit separators); Order of first names and last names of authors/editors in the bibliography; Order of certain fields in the bibliography (e.g., swapping location and publisher); Language-specific terms (e.g., replacing "References" with "Works Cited").   Finally, assuming that I'll want to use my style adjustments in a multitude of documents: Where do I put the relevant macro stuff?


The size of an object depends on the size of the molecules and atoms it is made of and these ultimately depend on the value of the fundamental physical constants. The simplest example could be the size of the hydrogen atom which is Bohr's radius $a_{0}=\frac{\hbar}{m_{e}c \, \alpha}$. Let's consider the fine structure constant (since it is dimensionless). Then the size of an H-atom is inversely dependent from $\alpha$. If it would be different than what it is, say twice as much its value, the size of the H-atom would be half as much as it is, and so on. The question is if this linear dependence would still hold for other atoms, molecules and much more complex structures? Would a doubling of $\alpha$ lead to half the length of a complex objects, such for example a table, be also inversely proprtional as $1/\alpha$ ? I tend to say that it is not obvious since the molecular orbitals are complicated to calculate and it seems to me not so straightforward that a linear scaling of $\alpha$, and therefore also of Bohr's atom, leads automatically to a linear scaling of the size of more complex structures as well. I suspect that could be determined only by complicated numerical solutions of Schrödinger's equation? But I'm not sure about that. I'm just trying to find out if there is an easier logical reason to argue how the  change of one constant leads to a change in size. Any thought about that?

Every so often, one sees on this site* or in the news† or in journal articles‡ a statement of the form "we have measured a change in such-and-such fundamental constant" (or, perhaps more commonly, "we have constrained the rate of change of..."). These are often shrouded in controversy, with people often stating quite loudly that statements of the sort are meaningless and even unverifiable, but the end result is often quite confusing. Thus:   Is it possible to speak about changes  to a physical constant that contains dimensional information? If not, why not?     *          .$\ \ $† .$\ \ $‡ .


Consider you have been given that     $$\sum_{i = 1}^{\infty}i = -\dfrac{1}{12} $$   How do you solve this sigma notation? I've not seen this kinda sigma notation before.   Regards!

$\displaystyle\sum_{n=1}^\infty \frac{1}{n^s}$ only converges to $\zeta(s)$ if $\text{Re}(s) > 1$.  Why should analytically continuing to $\zeta(-1)$ give the right answer?


I have to catch an international flight from JFK on a Monday night. Looking for transportation options from EWR to JFK. Is Uber the cheapest option?

I am flying home (Minneapolis) from London after Christmas, and I realized too late that my ticket has me flying into JFK then out of Newark. I land 2:50pm on Sunday (Jan 3rd), then my flight out of Newark leaves at 7:01pm. Is that enough time? If so, what is the quickest way? I won't have a ton of stuff, so I'm not averse to public transport. The best options seem to be:   Airtrain from JFK to Jamaica, LIRR from Jamaica to Penn Station, then the NJ transit train from Penn Station to Newark. I don't know how long this will take. The ETS shuttle. I put in my flight info and they recommend a 4:30 shuttle which would get me to Newark around 6, for $31.    Can anyone tell me how long I should expect to take to get through customs in JFK and I like the first one slightly more, since there is more flexibility (I think), but not if it takes significantly longer.  Any other advice would be appreciated - maybe this is an unrealistic transfer, and I'd be better off looking for a refund.  EDIT: Thank you everyone. I called the airline and got a refund, they barely put up a fight so I think they realized they shouldn't have sold me the ticket. Anyway, you guys were super helpful, thanks again.


Show that $\sin x$ lies between $x-x^3/6$ and $x \;$ $\forall x \in R$   I am getting:  $$\sin(x) = x - \frac{x^3}{3!} + R_4(x)$$  where $R_4(x) = \frac{\cos(c)x^5}{5!}$ for some $c$ between $0$ and $x$   I want to prove $R_4(x)\geq 0$ to arrive at the result $x-x^3/3 \leq \sin(x)$.  for:$$0 \leq x \leq \pi/2 \Rightarrow 0<c<\pi/2 \Rightarrow R_4(x)\geq 0$$ but for: $$-\pi/2 \leq x < 0 \Rightarrow -\pi/2 < c < 0  \Rightarrow R_4(x) < 0$$  How can I proceed with this ? There are many cases that I need to check

Prove that $x - \frac{x^3}{3!} < \sin(x) < x$ for all $x>0$   This should be fairly straightforward but the proof seems to be alluding me.    I want to show $x - \frac{x^3}{3!} < \sin(x) < x$ for all $x>0$.  I recognize this shouldn't be too difficult but perhaps finals have fried my brain.


Prove that if 100 integers are chosen from 1,2,...,200, and one of the integers chosen is less than 16, then there are two chosen numbers such that one of them is divisible by the other. Thanks in advance!

Prove that if 100 numbers are chosen from the first 200 natural   numbers and include a number less than 16, then one of them is   divisible by another.   How to prove this? many thanks....


I am trying to run a bash script  ./my_new_whois.sh my_who_is_yahoo_ mnt.txt persons.txt   Its giving me an error  /bin/bash warning shell level (1000) too high resetting to 1   Can anyone please let me know how do I run my bash script so it can sort my .txt file?

I just tried to run this command:  /etc/ssl/acme/acme.sh --log /var/log/p3x/acme/acme.sh.log --home /etc/ssl/acme --force --issue -d patrikx3.tk -w /var/www/acme-challenge   I got this error:     bash: warning: shell level (1000) too high, resetting to 1   What is this error?


I stumbled upon  and have problems properly escaping variables containing special tex symbols (e.g. LANG=en_US.UTF-8)  My closest attempt can be found below but it still replaces the underscore with a weird dot:    \documentclass{article} \usepackage{xparse}  \ExplSyntaxOn  \NewDocumentCommand{\getenv}{om} {   \sys_get_shell:nnN{ kpsewhich ~ --var-value ~ #2 }{}#1 }   \begin{document}  \getenv[\LANG]{LANG}  \tl_to_str:N\LANG  \end{document}   Furthermore this also does not correctly handle other special symbols like @

\documentclass{article} \usepackage{expl3} \ExplSyntaxOn \begin{document} \tl_to_str:n { testing _ things }  \par  \tl_set:Nn \l_tmpa_tl { testing _ things } \tl_to_str:N \l_tmpa_tl \end{document}   gives a strange result (testing ̇things).  How can I get testing_things?  I basically want verbatim content (with line breaking).


I just got aware that sort seems to ignore dollar characters at the beginning of the line. Why is that? Example:  user@host:~$ cat 5.txt $_a _b $_c user@host:~$ sort 5.txt $_a _b $_c   I have Debian 9.2 Stretch.

I'm trying to sort a patch to highlight a particular change:  $ curl -s https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org/message/ZN6VMFN65JWV7NMG2XEHPUI2AGSLRNGW/attachment/2/0001-LDAP-Change-the-default-rfc2307-autofs-attribute-map.patch | \ grep '^[+-] *{ "' | sort   The output is:  -    { "ldap_autofs_entry_object_class", "automount", SYSDB_AUTOFS_ENTRY_OC, NULL }, +    { "ldap_autofs_entry_object_class", "nisObject", SYSDB_AUTOFS_ENTRY_OC, NULL }, -    { "ldap_autofs_entry_value", "automountInformation", SYSDB_AUTOFS_ENTRY_VALUE, NULL }, +    { "ldap_autofs_entry_value", "nisMapEntry", SYSDB_AUTOFS_ENTRY_VALUE, NULL }, +    { "ldap_autofs_map_name", "nisMapName", SYSDB_AUTOFS_MAP_NAME, NULL }, -    { "ldap_autofs_map_name", "ou", SYSDB_AUTOFS_MAP_NAME, NULL }, -    { "ldap_autofs_map_object_class", "automountMap", SYSDB_AUTOFS_MAP_OC, NULL }, +    { "ldap_autofs_map_object_class", "nisMap", SYSDB_AUTOFS_MAP_OC, NULL },   I would have expected the sort to sort by the first character +/-.  I can confirm the characters are consistently 0x2b and 0x2d:  $ curl -s https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org/message/ZN6VMFN65JWV7NMG2XEHPUI2AGSLRNGW/attachment/2/0001-LDAP-Change-the-default-rfc2307-autofs-attribute-map.patch | grep '^[+-] *{ "' | cut -c1 | hexdump -C  00000000  2d 0a 2d 0a 2b 0a 2b 0a  2d 0a 2b 0a 2d 0a 2b 0a  |-.-.+.+.-.+.-.+.| 00000010   sort -d gives the same result.  -d says alphanumeric, and +/- are not be alphanumeric.  sort -n also doesn't work (I wouldn't expect it to.)  I've been using Linux/Unix for longer than I care to admit, and I've never noticed this before!  ...Is this expected?  Is there another way using sort?  (I know it can also be done in a Perl one liner...)


I am trying to make a spaceship that can go up and down basically. When it goes up, I want the command block to have a command. That's where I ran into a problem; I couldn't find a way to move a command block while keeping the command it has in it. I know how to use command blocks to make blocks appear, but is there anyway to make a command block with a command in it with another command block?  I basically just want to make a command block with a command in it by using /setblock in another command block (if its possible)  side question: when they release the /clone command in the next update, will that work similar to this?

Does someone know how to set a command block with a command inside using the setblock command?  I have created this code /setblock <x> <y> <z> command_block {TileEntityData:{Command:"testfor @p[_=1]"}} but it doesn't works.  Do someone know how to do that?


Thinking of switching from Win10 to Ubuntu. I plan to get a new laptop with a 250gb or 500gb NVME SSD C drive just for the OS and a 2tb spinning drive (D drive) for all data and files. I plan to select a laptop from this list:   My assumption is that it is straightforward to install Ubuntu on an NVME drive. True?  My assumption is that Ubuntu no longer has problems being installed on laptops with UEFI. This true?   Thanks. Just want to make the switch to Ubuntu with eyes wide open. I'm a beginner with computer tech. . .

When I get my next laptop I'm thinking of completely ditching Windows and installing Ubuntu 20.04 onto a Lenovo ThinkPad E15. Based on some googling, it looks like 20.04 will run fine on this laptop. That sound right? In particular, I'd like to confirm (if possible) that the Bluetooth stack in 20.04 will work well on this particular laptop. Any feedback appreciated. Thanks.   I’d hate to get the new laptop, install 20.04 and discover that the 20.04 Bluetooth stack does not work with this laptop. I want to connect my Sony WH-1000XM3 bluetooth headphones to the laptop. Thanks.


I am trying to learn how to cite in LaTex using the natbib package. I have created a bib file (containing only one reference) named "rakthan" using Mendeley for practice and placed in the same folder where my tex file is. Then I have tried the following codes. But compiling the tex file using TexMaker produces a pdf file with a "[?]" where the in-text citation should be. Also, no bibliography appears at the end of the document. I will be grateful if anyone could help!   P.S. I have already followed the instructions given . But it yielded no result. Also, my problem is with Natbib, not with biblatex package as mentioned in that link.  \documentclass[12]{article} \usepackage[left=1in, bottom=1in]{geometry} \usepackage{amsmath} \usepackage{natbib} \usepackage[nottoc]{tocbibind}  \begin{document}  \tableofcontents  \section{Introduction} \citep{rakthan} %The citation key is "rakthan".  \bibliographystyle{plainnat} \bibliography{rakthan}  \end{document}   The following is what's inside the bib file:  @inproceedings{rakthanmanon2012searching,   title={Searching and mining trillions of time series subsequences under dynamic time warping},   author={Rakthanmanon, Thanawin and Campana, Bilson and Mueen, Abdullah and Batista, Gustavo and Westover, Brandon and Zhu, Qiang and Zakaria, Jesin and Keogh, Eamonn},   booktitle={Proceedings of the 18th ACM SIGKDD international conference on Knowledge discovery and data mining},   pages={262--270},   year={2012},   organization={ACM} }

I've browsed the forums and found a number of posts that have addressed this issue, but none of the solutions seem to work for me. I have the following script that I just copied from the bibtex home page to get familiar with it. Instead of the citation number I get a question mark. I compile using Latex+Bibtex+Latex+Latex+PDFLatex+ViewPDF just as has been previously suggested and the problem persists.   \documentclass[11pt]{article} \usepackage{cite}  \begin{document}  \title{My Article} \author{Nobody Jr.} \date{Today} \maketitle  Blablabla said Nobody ~\cite{Nobody06}.  \bibliography{mybib} \bibliographystyle{plain} \end{document}   My bibliography (Bib.bbl)  @misc{ Nobody06, author = "Nobody Jr", title = "My Article", year = "2006" }    Looking at previous posts one thing that is concerning is that my .bbl looks empty as shown below. Further, I don't have a .blg  \begin{thebibliography}{}  \end{thebibliography}


in DIGITAL SIGNATURE in RSA  approach most people and you tuber have told PRIVATE KEY is used for  encryption and PUBLIC KEY for  decryption . When I searched about  working mechanism of RSA algorithm. I found that public key are used for encryption and private key are used for decryption. I  am  confused. so please someone help me?

What is the difference between encrypting some data vs signing some data (using RSA)?    Does it simply reverse the role of the public-private keys?    For example, I want to use my private key to generate messages so only I can possibly be the sender.  I want my public key to be used to read the messages and I do not care who reads them.  I want to be able to encrypt certain information and use it as a product-key for my software.  I only care that I am the only one who can generate these.  I would like to include my public key in my software to decrypt/read the signature of the key.  I do not care who can read the data in the key, I only care that I am the only verifiable one who can generate them.  Is signing useful in this scenario?


Is the Edo god (or Edo lord, from "Justice") a ship? Or is it a space organism of some kind, like Gomtuu? Is it more than one entity?

I guess it's sort of like the way that Q had a vested interest in humanity in general---and Picard's Enterprise in particular. Q wasn't really an overseer, though. He visited the Enterprise mainly to screw around with people and play games. The Edo god clearly desired the Edo as its own---it called one Edo "my child," and so on ("Justice").  Is there anything anywhere which tells us how or why this bizarre relationship started?


I have two continuous distributions and I am trying to compare them using KS test using R Studio with the code below:  f1 <- "filename1" f2 <- "filename2"  readDataFromCSV <- function(filename) {   packetsData <- read.csv(file=filename, header=TRUE, sep=",")   return(packetsData) }  pd1 <- readDataFromCSV(f1) // x pd2 <- readDataFromCSV(f2) // y  timecdf1 <- ecdf(pd1$Time) timecdf2 <- ecdf(pd2$Time)  colors37 = c("red","blue","brown","orange","black","purple", "green","cyan", "navy", "pink", "maroon", "grey", "black", "coral", "lavender", "magenta", "yellow", "azure", "bisque", "darkcyan") ksResult <- ks.test(pd1$Time, pd2$Time, alternative = "greater") print(ksResult)   plot(timecdf1, verticals=TRUE, do.points=FALSE, col=colors37[1], ylab = '', xlab='Time(sec)');par(new=TRUE) plot(timecdf2, verticals=TRUE, do.points=FALSE, add=TRUE,col=colors37[5])   When I apply the KS test it results in the following:      Two-sample Kolmogorov-Smirnov test  data:  pd1$Time and pd2$Time D^+ = 0.015708, p-value = 0.9213 alternative hypothesis: the CDF of x lies above that of y   And when I draw the ecdfs of the values the results are shown below:  The 'x' represents the red line on the graph and 'y' represents the black line.  I don't understand why the graph shows x below the y. On the other hand KS test of the x and y shows a high value of p indicating that x should lie above y.   I am missing something trivial in interpretation of the KS test.

After taking a statistics course and then trying to help fellow students, I noticed one subject that inspires much head-desk banging is interpreting the results of statistical hypothesis tests.  It seems that students easily learn how to perform the calculations required by a given test but get hung up on interpreting the results.  Many computerized tools report test results in terms of "p values" or "t values".  How would you explain the following points to college students taking their first course in statistics:   What does a "p-value" mean in relation to the hypothesis being tested?  Are there cases when one should be looking for a high p-value or a low p-value? What is the relationship between a p-value and a t-value?


What's the way to calculate the following integral $$\int_0^{\infty}\frac{\cos x-e^{-x}}{x}\,dx?$$ The answer is zero. I tried to split into two integrals $\int_0^{\infty}\frac{1-\cos x}{x}\,dx$ and $\int_0^{\infty}\frac{1-e^{-x}}{x}\,dx$ but they both don't exist. Integration by parts failed for the same reason: integral and one of the limits don't exist.

Evaluate $$\int_{0}^{\infty} \frac{\cos x - e^{-x}}{x} \ dx$$


How can I set HUD elements' position and size when changing resolution and maintain the desired layout? All HUD elements (including menu items such as play button, setting button etc) need to get some scaling.

I'm unsure as to what people prefer when it comes to HUDs, and scaling them. What would you say is the best practice when it comes to sizing the HUD? I'm thinking there's really two options: Scale up, or use the same area (in pixels) to display it on a higher resolution.  The problems I see with each are with scaling, I may have a huge blurry mess in the corner, but if I don't, it could be hard to see from a distance. Any guidance?


Couldn't find any solution on the Web or SU. Is it possible to disable control-mouse-wheel-zoom functionality for Chrome on Windows 7?

When scrolling using the mouse wheel scroll in Google Chrome, there is about 25% chance it would zoom in/out as if I have pressed the Ctrl key.  Disabling my mouse gesture extension reduces the chance to only about 2%.  I have tried various extensions and noticed some mouse gesture extensions seem to make it a bit worse than the others. I am guessing the problem is with Chrome or its extensions.  I believe it is not my hardware or software.   It happens in Chrome on both my Windows 7 desktop computers at work and at home It never happens in Firefox on either computer (I use both browsers) I tried turning on "Show location of pointer when I press the CTRL key" so I know if the Ctrl is pressed accidentally - it never was. I don't have AutoHotKey or anything similar installed on Windows.   Is this a Google Chrome bug? Is there a workaround?  UPDATE: I installed AutoHotKey to nullify Ctrl+scroll.Ctrl+scroll now does nothing, but scrolling normally still often zooms.


I like the Stackoverflow's graph to visualize the data, Do you know where I can retrieve the source code?  Thank you!

I'm particularly interested in the zooming functionality which is done very well. Were these graphs generated using off the shelf software or were they coded from scratch?


Our site is prikkabelled.nl. We deal in prikkabel which is Dutch for (Illumination cable). We used to have the number one spot for the keyword prikkabel for almost a year, but we dropped to the second spot on the 8th of July 2017. How to determine what was the exact cause of this? We had some downtime of a few hours around that day, but according to Matt Cutts of Google, this is not a contributing factor for SE position. How tom more accurately determine the reason behind the shift from number 1 to number 2 spot?

There has been a significant drop (90%) in traffic from Google to one of my well-established sites (6+ years) in the last week. Searches show that the top 3 wide keywords all dropped 4 spots. Searches for other keywords do not show ANY results in the first 10 to 25 pages of results, while previously one 1st or 2nd page at most.  Since there are , the question really is:  What steps are necessary to figure out what caused such a drop?  There have been no major changes during this period or the last month on the site and certainly not in the homepage which has dropped in rank. Over all the years of running this site and plenty of others, I have never experienced this. There are is duplicate content on my site and I have rigorously used canonical links for the last few years to ensure it is not misinterpreted as such.


I have some behaviour that I do not understand. While the unrolled loop works fine!!! The loop throws IndexOutOfRangeExceptions. Debugging shows that there 0..9 teamButtons and 0..9 cards c[i]. :(  private void Awake() {     InitCards();     // This works!     teamButtons[0].onClick.AddListener(() => SetCard(c[0]));     teamButtons[1].onClick.AddListener(() => SetCard(c[1]));     teamButtons[2].onClick.AddListener(() => SetCard(c[2]));      teamButtons[3].onClick.AddListener(() => SetCard(c[3]));     teamButtons[4].onClick.AddListener(() => SetCard(c[4]));     teamButtons[5].onClick.AddListener(() => SetCard(c[5]));      teamButtons[6].onClick.AddListener(() => SetCard(c[6]));     teamButtons[7].onClick.AddListener(() => SetCard(c[7]));     teamButtons[8].onClick.AddListener(() => SetCard(c[8]));     // This yields an IndexOutOfRangeException     for (int i = 0; i < 9; ++i)     {       teamButtons[i].onClick.AddListener(() => { SetCard(c[i]); });     }  }

I met an interesting issue about C#. I have code like below.  List<Func<int>> actions = new List<Func<int>>();  int variable = 0; while (variable < 5) {     actions.Add(() => variable * 2);     ++ variable; }  foreach (var act in actions) {     Console.WriteLine(act.Invoke()); }   I expect it to output 0, 2, 4, 6, 8. However, it actually outputs five 10s.  It seems that it is due to all actions referring to one captured variable. As a result, when they get invoked, they all have same output.  Is there a way to work round this limit to have each action instance have its own captured variable?


Towards the end of Half-Blood Prince, Sybil Trelawney mentions having warned Dumbledore that the cards kept showing her the "Lightning-Struck Tower." The chapter in which Dumbledore is killed is actually called the Lightning-Struck Tower, and Dumbledore is killed on top of the Astronomy Tower by the same curse that gave Harry his lightning-shaped scar.  Was she making a real prediction here?

Throughout the Harry Potter series, Professor Trelawney makes many different prophecies and predictions. Although most of them are implied to be nonsense, often enough they still get fulfilled. Which ones have come true? Which ones have been proven false? Which ones are still possible?  How many of Trelawney's prophecies have come true?  I'm not asking if Divination in Harry Potter is real, or what it is. I am asking for a finite list of which of Trelawney's prophecies came true, and which ones didn't.


I am new to python and I read that there is no ++ operator in Python but I am not able to understand the below code.  >>>print (2++3) >>>5

How does Python evaluate the expression 1+++2?  How many ever + I put in between, it is printing 3 as the answer. Please can anyone explain this behavior  And for 1--2 it is printing 3 and for 1---2 it is printing -1


Is it possible to export the extents of all bookmarks in an active map document to a shapefile containing the polygons of the shape and/or to automate the print to PDF of all the bookmark extents?  The code for doing this with extents at

We have this large project in ArcGIS with 30 maps with different extents using Bookmarks to pan between these maps/pages.   Now we would like to use Data driven pages instead. The question is, is it possible to convert bookmarks to data driven pages or do we have to create a lot of polygons covering each map extent?


While reading a chapter on diagonalizable matrices, I found myself wondering:     Can a matrix $A \in \mathbb R^{n \times n}$ be invertible but not diagonalizable?   My quick Google search did not return a clear answer.

If a matrix A is invertible, then it is diagonalizable. Is it true or false?


I have an old PC with 12.04 LTS on it, used headless for NAS.  It's set in the BIOS to boot on AC application and grub2 is set to continue after a 10 second wait time.  Every "X" number of boots (less than 10% of the time), the boot process hangs after the grub countdown finishes and a blank screen appears.  There is no hard drive activity.  The odd thing is that if I then press the power switch on the PC, it shuts off, and if I press the power switch again, the grub screen comes up with 1 second remaining (instead of the normal 10 seconds), and the boot proceeds normally.  I'd really appreciate suggestions on how to track this down.  What logs can I look at?  It's especially perplexing that it only happens every now and then.

After upgrading my laptop from karmic to lucid, my fat32 partition won't mount automatically. I get the message:  The disk drive for /osshare is not ready yet or not present Continue to wait; or Press S to skip mounting or M for manual recovery   Funny thing is, if I skip, then /osshare/ is mounted once I log in.   I've a similar setup on my desktop, and it works fine. Fstab on desktop:  UUID=4663-6853  /osshare        vfat    utf8,umask=007,gid=46 0       1   /etc/fstab on laptop:  UUID=1234-5678 /osshare vfat utf8,auto,rw,user 0 0


I am asked to record down the analysis on PostgreSQL JSONB query having Conditions with high offset number and query that provide no results considering the below. select     * from     sub_test df,     jsonb_array_elements(json_data) jba where     (jba->>'name')::text = 'SubYear'     and (jba->>'value')::numeric > '2050';   SubYear > 2200 (has no results) Explanations about the query plan, are full scans of tables necessary with JSON? SubYear > 1970 (has a lot of results) and offset 30k Explanations about the query plan, are full scans of tables necessary with JSON?  Note that there are about 35k+ records in the table "sub_test" with 500+ keys in the JSONB column "json_data" Could you help me to answer them ?

How does PostgreSQL work i.e. the execution plan on JSONB query with high Offset number and how to improve the performance? Considering the below "Test Query", help me to clarify the following:  As the SubYear is 2050 which is a future date on which there are no cases available yet does it require a full table scan or is there any alternative approach to tune this ?  When the same query is modified to retrieve the data with "SubYear" < 2050, there are lot of results i.e. 35k+. How does PostgreSQL works on it when the Offset is set to a high number lets say 30k ?   Test Query : select     * from     sub_test df,     jsonb_array_elements(json_data) jba where     (jba->>'name')::text = 'SubYear'     and (jba->>'value')::numeric > '2050';


I have a function name = "test".  How do I call this.test() function in a class knowing the function name?   I'm guessing I can use the eval() function but that is not working?  How can I call a class function using only the string name in javascript?

I have the name of a function in JavaScript as a string. How do I convert that into a function pointer so I can call it later?  Depending on the circumstances, I may need to pass various arguments into the method too.  Some of the functions may take the form of namespace.namespace.function(args[...]).


I usually forget to start/stop time trackers when I'm working on different projects and tasks. So I think it would be better if there is an app that can automatically track my screen time on each desktop. That means I can create a separate desktop for each task, and when I switch to it, the time tracker would automatically start. When I switch to another desktop, or when I lock the screen, or when the computer sleeps, it should automatically stop the timer.

I'm searching for an automatic time tracking tool for Mac OS X. I regularly mess up manual time tracking with timers etc., so I want something more automatic:  The application should run in background and track more or less everything I do - which applications are active, which sites I browse, how long I'm idle etc.  It would then list all the things I do in a timeline and let me specify filters like "Xcode in foreground", "browsing developer.apple.com", etc. Using these filters, I could check how long I worked on what after I left work.  Is there an application which does this? I'm aware of a website and a client for it, but I'm absolutely NOT comfortable with putting all the things I do on some random website.


I'm in the process of building my first webAPI server cluster. The webAPI hosted by this cluster provides a hi-comute resource, where each task request requires between 0.5 and 1.0 seconds of CPU time. The API is transactional, so the traditional cache layers in web infrastructures do not apply. (Each API communication receives unique data, and returns unique data only served once and never a second time.)  The architecture of the server cluster is:   Two CentOS boxes, running HA-Proxy as the load balancer. One is active, 2nd is standby. Two to start, more to be added later, Windows Server 2008 R2 boxes configured with the Uniform Server (production ready WAMP) and my hi-compute software that is the basis of the API. two CentOS boxes, serving MySQL, with Raid10 configured disks; one is active, 2nd is replicating and in standby.   Perhaps this mixed OS structure is a bad idea, but I'm primarily a unix guy, and this is manageable by me without needing to hire a Win64 administrator. Plus, the hi-compute software only runs in Win64, so I'm stuck there.  My questions lie in the area of the networking connections between these server layers. I have a hardware vendor who tells me I need one 10 Gb switch between the load balancer and the web servers, and then a second 10 Gb switch between the web servers and the database servers. Is this necessary? This makes two separate networks, right? I'm also seeing a huge, exponential price difference between different 10 Gb switches when searching with Google; what is the cause of this huge price difference? My vendor is suggesting this 10 Gb switch: , which is a price of $8,350... must be a hell of a switch with that price. What does that do which a less expensive switch does not?

This is a  about  the use of a *AMPP's stack.    I recently had a talk with some experienced people and they suggested to me not to use a WAMP stack, and instead install apache, mysql and php separately.  I don't understand why they have suggested this, though, so can anyone tell me?  Is there a particular disadvantage of WAMP, or a particular advantage to installing all of them separately?  Since a WAMP stack itself is composed of apache, mysql and php, then what's the difference between using the WAMP stack and installing them all separately?


I am currently looking for jobs (lecturer in Mathematics) and I have been asked to include a "letter of teaching philosophy". Could any of you please explain what this is or point me to a reference? I couldn't find much after a Google search.  What should I include? I understand what my teaching philosophy is. For example, this includes:   Preparing slides. Going from General to Particular. Presenting examples. Encouraging students to participate (e.g. by saying "well done!"). Pointing out additional references.   Are this sort of things what I am supposed to include in the letter?

In mathematics, submitting a teaching statement (also called teaching philosophy or similar names) is part of the application package for any teaching jobs (and most research jobs). I suspect it is a part of the application for academic jobs in other disciplines too. I have written a teaching statement and I rewrite and modify it every now and then. Since I wrote it myself I think it is perfect and I cannot detect its possible flaws and mistakes. Therefore, I am looking for tips and advice for improving my teaching statement. I particularly appreciate any advices from people who are involved in hiring committees. My questions are:  Which topics would members of search committees like to see in a teaching statement? or alternatively, which mistakes in a teaching statement can ruin an applicants' chances for getting an interview?  In order to make this Q&A useful for others, I didn't restrict it to mathematicians. However, I'll appreciate if someone has a specific advice for writing teaching statements for mathematics jobs.


How does one compile and install Pidgin client and add Google Talk (~ Hangouts) into it on Ubuntu? Not only it is possible, but with relatively high security.

I've been trying to add Google Hangouts to Pidgin but it's not working.


I am working in my own git-branch in a big project. Once I have a stable feature I send a pull request to get my updates into master.  Other colleagues however have their own branches and we have a blessed repo that we merge into our own branch to have the current newest stable global state.  Now here is the problem: When I fetch and then merge the blessed repo into my own branch, then I encounter a merge conflict (A prompt opens and just states -> conflicting)  Now the issue is that this happens for all the pom.xml (basically my whole project explorer is glowing red with merge conflicts in all the pom.xml, even on ones I never touched and are not relevant for my files)  If I open a pom.xml there are merge annotations like <----- HEAD and so on.  Now how do I resolve this? Do I really have to manually go into each and every file and edit this? Can't I just have the merge overwrite all my stuff ... except for the few classes I edited?

I want to resolve merge conflicts in my Git repository. How to do that ?


I am a beginner in DSLR, and would like to purchase another lens other than my kit lenses came with my D3400. After so much googling, and reading blogs, I have decided to purchase one 50mm lens. I have found 2 options, either  or . 1.4 is expensive than 1.8. I did a googling for 1.4 vs 1.8. All of the blogs were technical (coz I don't understand that "tech language") and I am looking for some "simple to understand" definitions, like the image look sharp, background will look blurrier, perfect for night photography etc. I would like to know the difference b/w D and G also.  Thank you.

The contestants are Nikon 50mm ,  and . The list prices are 38,550 INR, 27,990 INR and 18,000 INR respectively.  Bokeh: As with any portrait lens, I want a creamy bokeh performance when used wide open. Theoretically, as the maximum aperture increases, the bokeh effect should be more pronounced, too, if used wide open. But, how about the quality of bokeh? Is the difference at all perceivable in bare eyes? While searching for the image produced by all three lenses, I couldn't find any comparative review putting the shots taken by these lenses, side by side.  Sharpness: How do these three lenses perform in producing sharp images when used wide open? According to  review, f/1.4G performs worse than f/1.8G at least till f/5.6.


I'm having another challenging "hair day".  I have an image I would like to sharpen and remove the feathering around the hair. It does not look professional at all.  Any suggestions on how I can either trim it away nicely or remove the feathering?  (image below)

I use the Pen Tool for 90% of the situations where I need to cut someone or something from a photo but sometimes it gets tricky, especially when it comes to hair.  Let's take the following image for example:     Pen Tool - don't even think about it, it would take years to do an accurate cut so you usually do a more bulky cut. Magic Wand & Quick Selection Tool - in some cases these can work, especially if you know your way around with Tolerance and Refine Edge Blending modes are very useful in some situations also   When confronted with such an image I usually do use one of the tools from above + get something like 10 color samples from the hair, create a new brush that I adjust from photoshop's brush engine and start drawing hair.  From everything I've tried, redrawing hairs gave me the best results so far.     Q: Is there a better way to get an accurate selection when cutting hair? Or, how can I improve what I've got so far?   PS: Just wanted to add that a situation where the background behind the subject is in a single color like in the sample I offered is rare, therefore an answer based entirely on same color selection won't help that much.


(Note: no disrespect whatever to the hard work people that people who run 3rd-party repositories put in.)  I came across a package repository, a ppa, that was suggested for getting php5.5 on Ubuntu 12.04. This has to be added to the list of repositories that Ubuntu knows to download software.  In general, can such 3rd-party repositories be trusted?   In this particular case, the ppa seems to be well regarded - and I would certainly want to support this and recommend it.  Is there a checklist or criteria one can follow to arrive at a decision to trust a 3rd-party repository?  The aim here is to avoid downloading malware or anything else that may damage the computer.

I see a lot of interesting programs out there that can only be obtained by adding a "PPA" to the system but, if I'm understanding correctly, we should stay within the official "repositories" for adding software to our system.   Is there any way for a novice to know if a "PPA" is safe or if it should be avoided? What tips should the user know about when dealing with a PPA?.


If  $g(x) = \text{arctanh}\  (\log x)$, find $g'(x)$.  I tried to separate the terms first and I got $\dfrac12 (\log(1+\log x) - \log(1-\log x))$.  The answer is $\dfrac1{x(1-\log x)^2}$.

I'm struggling with finding derivative of f(x)=arth(lnx).  I've done following:  x=th(y)  f'(x)=(arth(lnx))'=1/(thlnx)'=1/(1/(xch^2(lnx)))=(x(ch^2(lnx)))/(ch^2x-sh^2x)=(ch^2(x(lnx)))/(ch^2(1-th^2x))=(x(lnx))/(1-x^2)  so in conclusion I get f'(arth(lnx))=(x(lnx))/(1-x^2)  but I think it's not correct. Any ideas?


People usually want to preserve their environment variables while executing sudo for various reasons, but, there are some cases where discarding environment variables makes much more sense. For example, on Ubuntu, $HOME (along with a few other variables) is carried over to the process spawned as root; however, this makes no sense when trying to use Linux containers.  One could obviously edit /etc/sudoers to configure this behaviour, but I'd like to keep this behaviour and resort to discarding environment variables only for certain commands. There is a -H flag, but that is only for $HOME and doesn't really help in my case since I need to unset all variables.  How should I go about doing this?

I want to start a process as another uid and it should not need any information from $(env), so I strip the environment prior to the sudo -u powerlessuser /bin/processCmd, that is I run this  env -i sudo -u powerlessuser /bin/processCmd   it turns out sudo thinks it is necessary to repopulate the environment, which I would like to ask it not to do. There is for instance $SUDO_USER set which even tells the powerlessuser's /bin/processCmd about me(tm) that called the command, which I find very indiscrete. Any help?  It is as I figured also possible to use env -i stripping after the sudo, i.e. do this:  sudo -u powerlessuser /usr/bin/env -i /bin/processCmd   which solves the problem somewhat, yet I would really like to know if there is a way to make sudo not add any information in the first place, I browsed  in which I found documentation that sudo adds environment and which, but no help how to make sudo not do that  @terdon♦: I want all environment variables cleaned that are not necessary. I am unable to tell which environmental variables are necessary but just to stick to the question, I have not found the reason why $SUDO_USER would be needed by a process to be called as an unpriveledged user. Therefore I would be satisfied to know how to tell sudo not to leak SUDO_USER  Update - xy-problem issue  As much as I am very interested in avoiding anything of the kind of a xy-problem, I fear it is not the case here. That is because, I do not have actually a different problem as the one stated in the question, namely that searching a way to make sudo not do something, which I can reasonably expect: Sudo get an cleaned up environment and should at best not add stuff to it, i.e. $SUDO_USER. For this reason I am rather very convinced not to have any other problem, since I have already a cure to that issue that sudo leaves me with, i.e. I can do:  sudo -u powerlessuser /usr/bin/env -i /bin/processCmd   which "cleans up after sudo", so in no way is my problem something else, because using the subsequent env -i solved any problem there. The only thing I ask is for knowing if there would have been indeed a way like  sudo --empty-env which then would spawn the new process with an emptied environment, one that at least would not tell $SUDO_USER which uid ran the original sudo.   For all that showed interest in helping me with this question, I like to thank them! I also leave some time, maybe there is such a --empty-env switch possibility. If not maybe somebody that is inside of sudo can tell, i.e. with reference to the sources that such a task is impossible, as sudo cannot but put that undesired $SUDO_USER inside.  Again no xy-problem, for the fact, that it is not really a problem to start with, i.e I do not suffer from the shortcomings of sudo here, as it is solved by a subsequent env -i, which in "unix philosophy" is the one thing that env -i does well, i.e. clean the environment. I should maybe not even have expected any reasonable behavior from sudo there, as sudo has a different one-purpose, which is not concerned about environment variables leaking. Even though, the fact that sudo does offer some flags relating to environment variables misleads into thinking it would deal with environment variables well.


I have a cube positioned at Z-axis = 0 like this    Now I scale the cube 3 times and then I get this    How to scale that the cube is enlarged 3 times along the Z axis and stays at Z = 0 ? Like this

How do I scale from one side side only?  I want to keep the left side of a object in place, but scale it smaller from the right.  See this screen shot:    I want it to end up like this:    But I had to scale and move to get that.


I am doing my lab hw. There is a part that I couldn't handle it: "The company wants to give bonus 200 TL to the employee if the current week is the one in which the employee’s birthday occurs." I am trying to write a method that returns boolean, if the birth date in the current week. Then, I realised that the method I have done is just checking if the current day is equalt to birth date. What I want is if the current payment week if inculdes someone's birthdate. I think I need to use a calendar or something like that. Since the program is temp, each day will be payment day. I mean if the birthday is in the same week with DateTime.Today then return true. And add 200 TL more to the salary.  protected bool isBirthDay()         {             try             {                 string today = DateTime.Today.                 string birth_date = birthDate.ToString("d");                 if (today[0]== birth_date[0] && today[1]== birth_date[1] && today[3]==birth_date[3] && today[4]==birth_date[4])                     return true;                 return false;             }             catch (Exception e)             {                 Console.WriteLine(e);                 throw;             }                      }

How do I find the start of the week (both Sunday and Monday) knowing just the current time in C#?  Something like:  DateTime.Now.StartWeek(Monday);


I love onions, but as an IBS sufferer, I find that it is one of my trigger foods and gives me diarrhea. Is there anything that I can put in recipes as a substitute?

I love the taste of onions and garlic and it seems lots of other people do too.  But they upset my stomach so much that I can't really cook with them.  What can I use in their place to give my food a similar flavour?


I'm new to Ubuntu and I never ran Drupal patches before and now is my first to do so: I've searched here in the Drupal answers with the phrase: "Patches, Ubuntu" But I didn't find instruction on how to run patches for a module in a local site via the Ubuntu terminal. I've also searched some in Google in Youtube but I found ways for many other CLIs, but not for the Ubuntu terminal.  Is it possible to run the patches there as I would run Drush commands?

I downloaded a patch file from mailhandler module and need to apply the changes in order to fix the problem of pop3 accounts not deleting emails after download (import).  How do I install it?


Q: Is $\sum_2^\infty{(-1)^n}{a_n}$ convergent? $$a_n={1\over \sqrt n+(-1)^n} \space \forall n\in\mathbb{N_{\ge2}}$$  The answer says it diverges.The only thing I could deduce is that the series is not absolutely convergent by comparison test.I  tried to find a smaller diverging series but failed miserably.I guess only thing that can be done is to show the series doesn't meet the Cauchy criterion but the difference of two partial sums looks horribly refractory to me.

Discuss the convergence of the sum:   $$\sum _{k=2} ^\infty \frac{(-1)^k}{\sqrt{k}+(-1)^k}.$$  My answer so far: It does not converge absolutely since   $$\left | \frac{(-1)^k}{\sqrt{k}+(-1)^k} \right | \geq \frac {1} {\sqrt{k} + 1},$$  the sum of whose terms diverges. Intuitively, I think it should converge conditionally because $ \sum \frac{(-1)^k}{\sqrt{k}}$ does, and the $(-1)^k$ in the denominator should not make a big difference. However, I am having trouble demonstrating its conditional convergence.  Evidently, the problem is that $\frac{1}{\sqrt{k}+(-1)^k}$ is not monotone. Let's call this sequence $a_n$. If we can show that   $$\sum_{k=2}^\infty |a_k - a_{k-1}| < \infty,$$   then we're done by Dirichlet's test. But this seems to be $O(1/k)$.   Any ideas?


I'm using python and apache2.  I'd like to write a script called test.py that when accessed at , prints the string 'bar'  I'm thinking it should be like this:  def index(req):      return idontknow.foo   The idontknow.foo is the part I'm asking about.

In PHP you can just use $_POST for POST and $_GET for GET (Query string) variables. What's the equivalent in Python?


I've been trying to do this problem for so long...  Suppose that $(a_n)_n$ is a sequence with $a_n \geq 0$ for each $n \in \mathbb{N}$, and suppose further that the series $\sum_{n=1}^{\infty}{a_n}$ is convergent. Prove that the series $\sum_{n=1}^{\infty}{{a_n}^2}$ is also convergent.   I've tried to use the ratio test, the comparison test and even epsilon proofs but I'm not getting anywhere. Would be very grateful if somebody could help me.  Thanks,  Henry

I'm trying to re-learn my undergrad math, and I'm using Stephen Abbot's Understanding Analysis. In section 2.7, he has the following exercise:  Exercise 2.7.5 (a) Show that if $\sum{a_n}$ converges absolutely, then $\sum{a_n^2}$ also converges absolutely. Does this proposition hold without absolute convergence?  I'm posting about this here because my answer to that last question about whether the proposition holds without absolute convergence is "Yes", but my suspicions are raised by him merely asking the question. Usually questions like this are asked to point out that certain conditions are necessary in the statement of propositions, theorems, etc. I just want to see if I'm missing something here.  Anyway, here's how I prove the absolute convergence of $\sum{a_n^2}$, and note that I never use the fact that $\sum{a_n}$ is absolutely convergent:  Proof: Let $s_n = \sum_{i=1}^n{a_n^2}$. I want to show that $(s_n)$ is a Cauchy sequence. So, let $\epsilon > 0$ and $n > m$, and consider, \begin{equation}   \begin{aligned}     |s_n - s_m| &= |(a_1^2 + a_2^2 + \cdots a_n^2) - (a_1^2 + a_2^2 + \cdots a_m^2)|\\                 &= |(a_{m+1})^2 + (a_{m+2})^2 + \cdots + a_n^2|\\                 &= |a_{m+1}|^2 + |a_{m+2}|^2 + \cdots + |a_n|^2\\   \end{aligned} \end{equation} Now, since $\sum{a_m}$ converges, the sequence $(a_m)$ has limit 0. Therefore I can choose an $N$ such that $|a_m| < \sqrt{\epsilon/n}$ for all $m > N$. So for all $n > m> N$,  we have, \begin{equation}   \begin{aligned}     |s_n - s_m| &= |a_{m+1}|^2 + |a_{m+2}|^2 + \cdots + |a_n|^2\\                 &< \left(\sqrt{\frac{\epsilon}{n}}\right)^2 + \left(\sqrt{\frac{\epsilon}{n}}\right)^2 + \cdots + \left(\sqrt{\frac{\epsilon}{n}}\right)^2\\                 &< \left(\sqrt{\frac{\epsilon}{n-m}}\right)^2 + \left(\sqrt{\frac{\epsilon}{n-m}}\right)^2 + \cdots + \left(\sqrt{\frac{\epsilon}{n-m}}\right)^2\\                 &= \epsilon   \end{aligned} \end{equation} Therefore $(s_n)$ is Cauchy and $\sum{a_n^2}$ converges. And since $\sum{a_n^2} = \sum{|a_n^2|}$, the series $\sum{a_n^2}$ is absolutely convergent. ∎  Am I doing something wrong here? Am I right in thinking that $\sum{a_n}$ need not be absolutely convergent for $\sum{a_n^2}$ to be absolutely convergent?


Would that make things easier in any science if matrix multiplication were commutative? I mean are researchers working to find more exceptions to the general rule of matrix multiplication being not commutative? If not why?  Thank you for clearing my doubts

I know that matrix multiplication in general is not commutative. So, in general:  $A, B \in \mathbb{R}^{n \times n}: A \cdot B \neq B \cdot A$  But for some matrices, this equations holds, e.g. A = Identity or A = Null-matrix $\forall B \in \mathbb{R}^{n \times n}$.  I think I remember that a group of special matrices (was it $O(n)$, the ?) exist, for which matrix multiplication is commutative.  For which matrices $A, B \in \mathbb{R}^{n \times n}$ is $A\cdot B = B \cdot A$?


I was trying to use the  package with the LaTeX  package, and I noticed I was getting errors when trying to compile. Mainly I was getting an error when trying to use matlab-prettifier environment, within beamer's frame environment.  Here is a MWE:  \documentclass{beamer}  \usepackage{matlab-prettifier} \lstMakeShortInline[style=Matlab-editor]"  \begin{document}  \frame{     "break"  }  \end{document}   Trying to run this code sample gives me a "runaway argument error".   I should also say that the error is not limited to trying to insert the "double-quote" environment defined in the preamble, I've also tried using other matlab-prettifier environments, but haven't had any success...  Does anyone know of a workaround?

I want to put some PHP code in my slide with the package listings but I have this error message:  Argument of \frame has an extra }.<inserted text>\par }   My latex code :   \documentclass{beamer}  \usepackage[utf8]{inputenc}  \usepackage[T1]{fontenc} \usepackage[frenchb]{babel} \usepackage{setspace} \usepackage{color} \usepackage{listings}  \usetheme{CambridgeUS}   \begin{frame} \begin{large}     Contexte : \newline \pause \end{large}  \begin{itemize}     \item Avertir Drupal \end{itemize} \begin{lstlisting}  // Gestion du contexte ete2013 // Utilisation d'un nouveau template if (%variables['ctpage'] == "ete2013") {     variables['template_files']=array('page-ete'); } \end{lstlisting} \end{frame}


After reading , a comparison between the different boot times and hibernate times of the different windows OS's of today, I wondered why would I want to hibernate my pc/laptop?  Considering shutdown takes less then 10 seconds and the boot-up takes approx. 10 seconds, this would take a total of 20 seconds and no energy use while off. Whereas hibernate alone takes 23 seconds and the wake-up takes 10 seconds.  Why would I still want to hibernate, considering it takes longer and uses little energy?

I've never quite understood the original purpose of the Hibernation power state in Windows. I understand how it works, what processes take place, and what happens when you boot back up from Hibernate, but I've never truly understood why it's used.  With today's technology, most notably with SSDs, RAM and CPUs becoming faster and faster, a cold boot on a clean/efficient Windows installation can be pretty fast (for some people, mere seconds from pushing the power button). Standby is even faster, sometimes instantaneous. Even SATA drives from 5-6 years ago can accomplish these fast boot times.  Hibernation seems pointless to me when modern technology is considered, but perhaps there are applications that I'm not considering.  What was the original purpose behind hibernation, and why do people still use it?    Edit:  I rescind my comment about hibernation being obsolete, as it obviously has very practical applications to laptops and mobile PCs, considering the power restrictions. I was mostly referring to hibernation being used on a desktop.