What are covariant derivatives, and what is the intuition behind/for covariant derivatives?

Anyone reading this post might be interested in my related question . This is not a duplicate of my related question, which was about affine connections, not covariant derivatives. Here is the definition of covariant derivative, as appears in Milnor's book Morse Theory.  DEFINITION. An affine connection at a point $p \in \text{M}$ is a function which assigns to each tangent vector $\text{X}_p \in \text{TM}_p$ and to each vector field $\text{Y}$ a new tangent vector$$\text{X}_p \vdash \text{Y} \in \text{TM}_p$$called the covariant derivative of $\text{Y}$ in the direction $\text{X}_p$. (Note that our $\text{X} \vdash \text{Y}$ coincides with Nomizu's $\nabla_\text{X} \text{Y}$. The notation is intended to suggest that the differential operator $\text{X}$ acts on the vector field $\text{Y}$.) This is required to be bilinear as a function of $\text{X}_p$ and $\text{Y}$. Furthermore, if$$f: \text{M} \to \mathbb{R}$$is a real valued function, and if $f\text{Y}$ denotes the vector field$$(f\text{Y})_q = f(q)\text{Y}_q$$then $\vdash$ is required to satisfy the identity$$\text{X}_p \vdash (f\text{Y}) = (\text{X}_p f)\text{Y}_p + f(p) \text{X}_p \vdash \text{Y}.$$ (As usual, $\text{X}_p$ denotes the directional derivative of $f$ in the direction of $\text{X}_p$.)  I have two questions.  This definition of covariant derivative is quite terse here (indeed, it seems like affine connections and not covariant derivatives are being made out to be the most important thing here)—I'm just seeing text on a page and not really understanding what is going on here. Is it possible somebody could help me parse through/explain what is really being said here with regards to covariant derivative? Could somebody supply their intuitions behind/for covariant derivatives?  Thanks.


network manager not working, how to restart it?

I have a problem when I run  it kills my NetworkManager and i have to restart my laptop to reverse the problem does anyone have a code to enter to restart the NetworkManager?


Basically I have a package in oracle 11g processing a file and validating and inserting information in multiple tables,      to achiev this I create a stored procedure that reads the file and spread the information, then I call multiple stored procedures to     validate and insert the data in each table (one procedure per table), for errors each SP insert a record in a common error table, at the end,      I call one last stored procedure that identifies if there is errors in the common error table and generate a file with those errors.  Now... I'm trying to improve the code in order to minimize times of execution, then I realice that each SP that validates and insert info     into table does not depend from other SP information, so I'm asking if there is a way to call all this SP in parallel.  TODAY  STORED PROCEDURE charge_file STORED PROCEDURE insert_table1 STORED PROCEDURE insert_table2 STORED PROCEDURE insert_table3 ... STORED PROCEDURE return_file   What I am trying to do  STORED PROCEDURE charge_file STORED PROCEDURE insert_table1 - STORED PROCEDURE insert_table2 - STORED PROCEDURE insert_table3 ... STORED PROCEDURE return_file


How to use the result of an insert as foreign key in another insert?

I have a temporary table with lots of data. I want to populate two persistent tables with excerpts of that data, preferably in one go.  Problem: after insert on tableA, I want to reuse the generated id as foreign key and add it to the insert for tableB. But is that possible at all?  Pseudocode for separated inserts:  INSERT INTO tableA (id, col1, col2, col3)      SELECT(col1, col2, col3) FROM tmp_table     ON DUPLICATE KEY UPDATE id = last_insert_id(id);  INSERT INTO tableB (fk_id, col4)     SELECT (fk_id_from_above, col4) FROM tmp_table     ON DUPLICATE KEY UPDATE...   These are my tables:  //a simple temp table with lots of data CREATE TABLE tmp_table (  id bigint(20) NOT NULL AUTO_INCREMENT,  col1 varchar(20) NOT NULL,  col2 varchar(20) NOT NULL,  col3 varchar(20) NOT NULL,  col... varchar(20) NOT NULL,  colN varchar(20) NOT NULL,  PRIMARY KEY (id) )  //this table should be filled from tmp_table and return the generated id for each row CREATE TABLE tableA (  id bigint(20) NOT NULL AUTO_INCREMENT,  col1 varchar(20) NOT NULL,  col2 varchar(20) NOT NULL,  col3 varchar(20) NOT NULL,  PRIMARY KEY (id) )  //this table should reference the id from tableA (foreign key) CREATE TABLE tableB (  id bigint(20) NOT NULL AUTO_INCREMENT,  fk_id bigint(20) NOT NULL,  col4 varchar(20) NOT NULL,  PRIMARY KEY (id) )   I want to create a single INSERT, that first inserts into tableA, then reuses the generated id and persist it together with only some other columns in tableB.


Use cron to run a bash script that runs a bunch of sub-commands

I have the following shell script: /var/local/myapp/bin/import  #!/bin/bash  # Move to base directory cd $(dirname $0) cd ..  # Execute and bail if one of them fails cake compile cake tms:fetch cake tms:fetch:clean cake tms:split cake tms:injest:main cake tms:injest:schedules   I'm trying to run it from cron. All users have access to cake. However, when I run this script with cron, I get the following error (on every cake line):  /var/local/myapp/bin/import: line 13: cake: command not found   Here's my crontab   * * * * * /var/local/myapp/bin/import   Also, I can't figure out an easy way to redirect the stdout of bin/import to a file when run from cron. Adding > /var/local/myapp/import.log to the end of the cron statement just truncates import.log - the only way I can do it is to add exec &> import.log to bin/import itself, which isn't what I want to do at all, because when I run it by hand I want to see the output on the screen.   Everything works perfectly when I just type /var/local/myapp/bin/import from my terminal.


Table of Contents modifications required

I tried latex code for generating toc suggested by stack exchange in response to my previous query  . Still I need small modifications. In the first page of toc, At top middle “TABLE OF CONTENTS” is required and then in the second line 3 column names such as “CHAPTER NO.”, “TITLE” and “PAGE NO.” are required. In subsequent pages only the said second line particulars are required. The same applies to List of tables and List of figures.


I am getting dock settings empty as shown. Please suggest a fix. Thanks.I have updated from 18.10 to 19.04


I have an elementary question. In quantum field theory observables are operators. But the quantum fields are operators too. This means the quantum fields are observable? I read somewhere that quantum fields are not observable.


I am trying to build a personal website and I have been using the parallax scrolling effect from . I have a div for each of my sections, but there is a 20px gap between each div and I'm noth sure why. Any help would be amazing.   I replaced the parallax images with colors because I have the images saved locally and links might expire. Also I have jquery 3.3.1 but that probably wouldn't matter for this; I'm only using jquery to smooth scroll on anchor clicks.  CSS & HTML:    html, body {     padding: 0;     margin: 0 auto 0 auto;     height: 100%; }  #header {     width: 100%;     margin: 0px;     padding: 12px 0px;     float: left;     background: rgba(238, 238, 238, 0.5);     position: fixed;     font-family: Arial;     font-size: 20px; } #header-right {  float: right; } #header a {     vertical-align: middle;     margin: 15px;     text-decoration: none;     color: #000000; } #header a:hover {     color: #909090; }  .parallax-window {     min-height: 400px;     background: transparent; }  .content {     padding-top: 60px;     display: block;      background-image: url('kalle-kortelainen-242413-unsplash.jpg');     background-attachment: fixed;     background-position: center;     background-repeat: no-repeat;     background-size: cover; }  #intro {     min-height: 800px;     padding-top: 60px;     background-color: #ef69a1;     background-attachment: fixed;     background-position: center;     background-repeat: no-repeat;     background-size: cover; }  #about {     min-height: 800px;     padding-top: 60px;     background-color: #82ff9e;     background-attachment: fixed;     background-position: center;     background-repeat: no-repeat;     background-size: cover; }  #projects {     min-height: 800px;     padding-top: 60px;     background-color: #2092e4;     background-attachment: fixed;     background-position: center;     background-repeat: no-repeat;     background-size: cover; }  #contact {     min-height: 800px;     padding-top: 60px;     background-color: #dfee80;     background-attachment: fixed;     background-position: center;     background-repeat: no-repeat;     background-size: cover; } <!DOCTYPE html>      <meta charset="utf-8">   <title></title>   <meta name="author" content="">   <meta name="description" content="">   <meta name="viewport" content="width=device-width, initial-scale=1">    <link href="test.css" rel="stylesheet">
     Bob
       About       Projects       Contact       Resume

     aksdhgflha

About

Projects

Contact


Textures not appearing on autodesk models when I import them

I'm bit of noob when it comes to blender so I was wondering why when I import .fbx models into blender the textures do not appear even when I select the texture option?


Should someone mention her admission to other prestigous universities in past years when she applies for a PhD program?

Last year, one of my friends received a competitive PhD offer (including a full-time research assistant position) from a highly prestigious university in Canada, however her request for Study Visa was rejected because of some Social Tie issues. This year, she has a plan to apply for universities in Europe and Australia. Is it worth mentioning her last year offer in her emails to the potential advisors or put it in her CV in order to increase her chance of acceptance? Roughly speaking, the acceptance in the aforesaid Canadian university is considered harder than the European and Australian universities she wants to apply.


Connect and run commands over SSH using script

I'm using a series of commands for deploying my files to production. This is currently done manually.  Is it possible to make these commands into an executable file? So that I don't have to copy paste these commands each and every time.  When the first line is executed i.e., connecting to the root server, it will ask for the password and I have to paste the password: xxxxxxxxxxxxxx  ssh root@server pwd: xxxxxxxxxxxxxx ssh-agent bash ssh-add bi-master cd /home/trans/bimaster git status git pull git@bitbucket.org:xxxxxxxxx/bimaster.git master   Note : I'm the admin of the server, Since the project is been done by different teams as of now, we have decided to do manual deployment (cannot use Jenkins or any other tools for automated deployment), as we have to check the status of some files.


Prepositional Phrase - confused - at or in

Let's meet in the morning  or at the morning.  in the afternoon or at the afternoon.  in the night or at the night.  in the park or at the park.  working in the background or at the background.


How can I make custom shortcuts work on key release rather than key press?

I am using Ubuntu 14.04. with Unity DE.  How can I make keyboard shortcuts work on key release, not on key press?   For example, if I want to use the windows key for multiple shortcuts, it works only for the one that's triggered by the win key alone, because the shortcut works before the next key press is registered.


How can I explain to someone who is a beginner, the basic idea and intuition behind dy/dx? I'm introducing calculus to one of my friends and here are the questions I might encounter: Why dy/dx? What do I even need to find the slope? How does that relate to rate of change of y with respect to x? What could be some real life examples for a better understanding? What information does the slope at every point of a curve, which is just a line, give me?  I'd like to explain all of this giving an intuitive sense to the formal differential calculus. Thanks!


Where do I find the windows license key on a Dell XPS without windows currently installed?

I have a recent Dell XPS and I installed Linux on it. I now wish to install Windows inside a VM but there is no license key anywhere on the laptop or in the box. All of the answers I can see say its embedded in the bios but I don't see any way the Windows in a VM could access this. Is there any way to get the windows key without windows currently installed?


Symmetry of the $3\times 3$ Cauchy Stress Tensor

When presenting the stress tensor (say in a non-relativistic context), it is shown to be a tensor in the sense that it is a linear vector transformation: it operates on a vector $n$ (the normal to a surface), and returns a vector $t_n$ which is the traction vector. It is then shown that conservation of angular momentum leads to symmetry of the matrix.  However, tensors are more more naturally presented a multilinear functions. I wonder:   What type of tensor is the ? Is $n$ a vector or a co-vector? What about $t_n$? Is there a way to understand the symmetry when thinking of the stress tensor as a function of two vectors (or two co-vectors), under which it will seems intuitive why $\sigma(A,B) = \sigma(B,A)$?   Edit: To clarify, let's look, for example, at the 1st coordinate of the traction vector $t_n$ of an arbitrary normal $n$: This is $\left<e_1, \sigma(n)\right>$. From symmetry, this is equivalent to $\left<n, \sigma(e_1)\right>$ - the inner product of $n$ with the traction vector of a surface orthogonal to $e_1$. Mathematically, I understand why this is correct. But is there any intuitive meaning as to why these two quantities are the same?


I came across such limit $$\lim_{n \to \infty} \frac{1}{n} \sum_{k=1}^n \frac{k}{k^2 + 1}$$ and don't know how to find it. A factor $\frac{1}{n}$ before the sum hints that the limit should be considered as the limit of integral sums but unfortunately I can't select smth like $f(x_k)(x_{k+1} - x_k)$.  Could you please help me to solve it? I would be grateful for any hints. Thanks a lot in advance.


Alternative to bring OpenStreetMap Basemaps into ArcMap

The standard ArcGIS OpenStreetMap basemap tiles have been performing quite slow as of late. I was curious if there was a (preferably free) alternative service to bring OpenStreetMap basemap tiles into ArcMap.   Most people here vastly prefer the OSM Maps to ESRI's version of Streetmap as a basemap. I was researching on OpenStreetMaps wiki and could not find one that was working in ArcMap sufficiently as of yet.


Calculate Azimuth from polygon in GeoPandas

Is there a simple way / ready-to-go function to calculate the azimuth of 2D-polygons in a GeoPandas DataFrame? My goal is to eventually compute azimuth angles of building footprints. Most of the functions I have found explicitly calculate the azimuth for a line, which is not what I am looking for. I have been thinking along the following lines to calculate the azimuth of a polygon using its normal vector (2 dimensions). Is my approach going into the right directions? I am a bit unsure how to adjust for the quadrants, also my results seem a bit odd. azimuth = 90 - math.degrees(math.atan2(normal[1], normal[0])) if azimuth >= 360.0:     azimuth -= 360.0 elif azimuth < 0.0:     azimuth += 360.0


Why does running awk on /etc/passwd gives nobody?

When I run the command awk -F: '$3>999 {print $1}' /etc/passwd I see this:  nobody tim askubuntu   Why is there a user called nobody? The only 2 user accounts I have are tim and askubuntu.


How can I recover my data after replacing Windows 8 with Ubuntu 14.04?

Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63      Partition               Start        End    Size in sectors >  HPFS - NTFS              0  32 33 12876  51 39  206854144    Linux                    0  32 33 121094 253 55 1945389056    Linux                  429 254 18 120588 194 54 1930350592    HPFS - NTFS          12876  84  9 33399  41 50  329699328 [DOCUMENTS]    HPFS - NTFS          12876  84 16 33399  41 50  329699321    HPFS - NTFS          33399  74 20 59022  11 61  411629568 [PICTURES]    HPFS - NTFS          33399  74 27 59022  11 61  411629561    HPFS - NTFS          59022  44 31 89745 254 45  493578240 [AUDIO n VIDEO]    HPFS - NTFS          59022  44 38 89745 254 45  493578233    HPFS - NTFS          89746  32 15 121601  57 56  511752192 [SOFT n OTHERS]    HPFS - NTFS          89746  32 22 121601  57 56  511752185    Linux Swap           120588 227 24 121601  57 56   16263168 Structure: Ok.  Use Up/Down Arrow keys to select partition. Use Left/Right Arrow keys to CHANGE partition characteristics: *=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted Keys A: add partition, L: load backup, T: change type, P: list files,      Enter: to continueubuntu@ubuntu:~$  NTFS found using backup sector, blocksize=4096, 105 GB / 98 GiB


Why is unicode-math not working with TikZ?

This thread evoked from .  \documentclass{article}  \usepackage{unicode-math} % This causes the question mark bug % This code requises unicode-math % How can you use the code without unicode-math -package? \setmathfont[BoldFont={latinmodern-math.otf}]{latinmodern-math.otf} \setmathfont[range=\mathscr,Scale=MatchUppercase]{Asana-Math.otf} \usepackage{tikz} \usetikzlibrary{tikzmark,decorations.pathreplacing,calc} \newcommand\MyText[4][0pt]{% \begin{tikzpicture}[overlay, remember picture] \draw [decoration={brace},decorate,thick]    ( $ ({pic cs:#3}|-{pic cs:#2}) + (#1,1.3ex) $ ) --       node[anchor=west,xshift=5pt,text width=5cm] {#4}    ( $ (pic cs:#3) + (#1,0) $ ); \end{tikzpicture}% }  % I have defined question like this \usepackage[framemethod=tikz]{mdframed} \newtheorem{question}{Question} \mdfdefinestyle{que}{   linecolor=cyan,   backgroundcolor=cyan!20, } \surroundwithmdframed[style=que]{question}  \begin{document} \begin{question} Lorem ipsum? \end{question} \end{document}   I am thinking why you need the  package for the TikZ code.  Why does the TikZ code require unicode-math package?


Orthogonality with engenvectors of A and A transpose

I was told about this fact in class but no proof was given:   if v is in the span of egienvectors v2, v3...vn of n by n matrix A, where v1 is the leading eigenvector (eigenvector corresponding to the largest eigenvalue) and v2...vn so on, then v is orthogonal to the leading eigenvector of A transpose (v1 of A transpose)  Can someone explain why this is true? I tried to figure out the relationship between eigenvectors of A and A transpose but failed.


I have often wondered about the (seemingly) arbitrary capitalization of words in 17th & 18th century English, and again today, came across this quote by Edmund Burke in  (pg. xii):      Edmund Burke, the philosopher, railed at the plight of miners who "scarce ever see the Light of the Sun; they are buried in the Bowels of the Earth; there they work at a severe and dismal Task, without the least Prospect of being delivered from it; they subsist upon the coarsest and worst sort of Fare; they have their Health miserably impaired, and their Lives cut short."   Emphases mine & quoted from Burke's Vindication (pg. 59) according to the secondary source, which Wikipedia tells me was published in 1756.   Are these typographical issues? What are the rules, if any, that governed capitalization of words in texts from this time?


Reordering fields (permanently) in file geodatabase using ArcGIS Desktop?

Using ArcGIS 10.0, is it possible to reorder the fields in a file geodatabase, and have the order persisted to the database?  We considered exporting to XML, and writing a parser to change the field order, then re-creating a new database from the XML. This seems like a laborious process.  Another idea is to import the existing field definitionss into Excel, re-order them, export to CSV, then write a Python script to create these fields in a new Geodatabase. Does a script like this exist, before we write it from scratch?  Unfortunately the ArcGIS Diagrammer doesn't seem to support field re-ordering.  Are there any scripts or hacks we could use to simplify this process?


Entry and exit from different Schengen countries

I came to Netherlands from Dubai on a business visa. Now I wish to travel to Paris by train and after two days wish to leave to Dubai direct from Paris. Am I allowed to exit Paris to Dubai when the entry stamp in my passport is Amsterdam?


My code is not working, how can I solve this problem? I want to receive mail on my Yahoo ID.  <?php   // the message   $msg = "First line of text\nSecond line of text";    // use wordwrap() if lines are longer than 70 characters   $msg = wordwrap($msg,70);    // send email   mail("faisalkhan00668@yahoo.com","My subject",$msg); ?>   The error:     Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\mail\mail.php on line 9


How does a digital camera measure white balance?

Is there some kind of dedicated sensor for white balance in the camera, or does the processor just grab the normal image signal and perform some processing like "shift color to make the brightest part white"?


I just want to check if the given passwords are not equal to each other. So I had made this:      String password = etPassword.getText().toString().trim();     String confirmPassword = etConfirmPassword.getText().toString().trim();      if (password != confirmPassword) {         Toast.makeText(getApplicationContext(),                 "Passwords do not match", Toast.LENGTH_LONG)                 .show();     }   But somehow it doesn't work. I have logged it when I gave an input value "e" for both passwords.


What do we know about Hagrid's father? Was he a wizard?

Hagrid grew up with his father.  We know his mother has left them when he was a child, leaving the father heart-broken.  We also know the father wasn't giant-sized (Hagrid could lift him when he was a small kid).  There seems to be very little else we know about him.  So I'd like to ask what we know about Hagrid's father.  In particular, what species was he, and was he a wizard or a Muggle?  If he was a Muggle, how was Hagrid introduced to the wizarding world?


Which kind of oil is best to fry steak in a cast-iron skillet with?? Olive, Canola, almond ?? I'm looking for the best taste profile also. Thanks.


Here is a common definition of a background process:  "A background process is a program that is running without user input. A number of background processes can be running on a multitasking operating system, such as Linux, while the user is interacting with the foreground process Some background processes, such as daemons, for example, never require user input. Others are merely in the background temporarily while the user is busy with the program presently running in the foreground. So that other process can be sleeping and taking up swap space, until activated, which thus makes it currently a background process."  Given that definition, wouldn't that make a process like apache2 a background process since it never interacts with user input in terminal? And wouldn't that consider most process background processes, since most processes running on a system do not deal with user input in the terminal? Oddly enough, I personally wouldn't consider apache2 a background process since a user does interact with it through http requests (just not a terminal).


What is correct:     My name has five letters   or     My name have five letters   I do not know which one is correct.


What fallacy dismisses problems by presenting "bigger" problems?

Wasn't really sure how to phrase this, but I'm thinking of an instance in which someone diminishes a problem by presenting one of larger scope - as a rather shoddy example, "x political problem in America doesn't matter because half the world's population is starving."  I honestly have no idea if this is considered fallacious or not, but for some odd reason I can't shake the feeling that someone has described it to me as a fallacy before. Am I crazy or is there something to this (or something similar)?


Keep Column which is not in aggregate function in group by statement

I would like to modify an existing select so it outputs the row with the MAX(amount) per customer and all of its values. At the moment the result is like this.     AMOUNT CUSTOMERID     ITEMID USERNAME                        USERID SUMMARYDAY      60    198507        205 luk                                   12 03.10.18    300    198526        207 max                                   12 03.10.18  20000    198507        126 luk                                   12 03.10.18   6000    198526        158 max                                   12 03.10.18   1200    198526        206 max                                   12 03.10.18   But I want this:     AMOUNT CUSTOMERID     ITEMID USERNAME                        USERID SUMMARYDAY    20000    198507        126 luk                                   12 03.10.18   6000     198526        158 max                                   12 03.10.18   The query at the moment:  SELECT max(totalamount) as amount, cg.customerId, g.itemid,        (select c.nickname from customer c where c.customerId=cg.customerid) as nickname,        12 as clientId, sysdate as summaryDate FROM ItemBuy cg,      ItemToSell gf,      Item g WHERE cg.itemSellId = gf.itemSellId and gf.itemId = g.itemId   and cg.type = 0 and cg.shopId = 12   and cg.starttime >= sysdate-100 and cg.starttime < sysdate+100 group by cg.customerId having max(totalamount) > 0   I anonymized the query a bit but I my main question is:  How can I keep specific colums with an group by statement and tell sql to just keep it after group by and max () have "choosen" a row.  Thank you so much in advance!


Should I activate "Active State Power Management" as PowerCFG suggests?

After  I ran PowerCfg /energy on an Admin Powershell which created a html "Power Efficiency Diagnostics Report" that included this bit as and "error":     Power Policy:PCI Express ASPM is disabled (Plugged In)   The current power policy for PCI Express Active State Power Management (ASPM) is configured to Off.   What exactly does that mean? Should I enable it? Where?  Is "Active Sate Power Management" the same as ? This would mean this is about this setting, correct?


I'm creating a dynamic page using clone property.   The problem occurs when I create say 4 Assured elements and when I close the first Assured (i.e) Assured 1, the close if statement occurs multiple times based on the nth-element value (hopefully).   I would like only one loop to occur such that the id-- occurs only once...    $(document).ready(function() {   var id = 1;   var assured = document.getElementById('assuredconb');    $('.add-contact').click(function(e) {     e.preventDefault();     if (id < 5) {       $(this).closest('li').before('
New assured ' + id + '
');       var clone = assured.cloneNode(true);       clone.id = "assured" + id;       $('.tab-content').append(clone);       id++;     }      $('.close').click(function() {       id--;       var anchor = $(this).siblings('a');       $(anchor.attr('href')).remove();       $(this).parent().remove();       $(".nav-tabs li").children('a').first().click();       alert(id);     });    });  }); .close {   color: red;   opacity: 0.8;   position: absolute;   right: 5%;   top: 25%; }  .nav-tabs>li>a {   width: 175px;   text-align: center; }  .add-contact {   width: 50px !important; } <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" rel="stylesheet">   <link href="https://use.fontawesome.com/releases/v5.0.2/css/all.css" rel="stylesheet">

Mr.X

Mr.Boy

#1

#2


Without hellfire ring how do I get 45% experience boost?

Many says that the level 70 hell fire ring is easier to get. Other said it's much harder than the level 60 hell fire ring.  Well, I have a hard time finding people wanting to do keywarden.  So, how do I get huge xp reward?


Show that if $a$ and $b$ are positive integers with $(a,b)=1$ then $(a^n, b^n) = 1$ for all positive integers n  Hi everyone, for the proof to the above question,  Can I assume that since $(a, b) = 1$, then in the prime-power factorization of a and b, they have no prime factor in common, when they are taken to the $nth$ power, they will still have no prime factors in common, and so $(a^n, b^n) = 1$ for all positive integers n.  I think I'm jumping to conclusions here again, if so, leave some tips on how to do the proof properly, thanks :)  And also, I do not know how to approach the reverse problem where if $(a^n, b^n) = 1 then (a, b) = 1$, any guidance will be much appreciated!


Create instance of generic type in Java?

Is it possible to create an instance of a generic type in Java? I'm thinking based on what I've seen that the answer is no (due to type erasure), but I'd be interested if anyone can see something I'm missing:  class SomeContainer<E> {     E createContents()     {         return what???     } }   EDIT: It turns out that  could be used to resolve my issue, but it requires a lot of reflection-based code, as some of the answers below have indicated.  I'll leave this open for a little while to see if anyone comes up with anything dramatically different than Ian Robertson's .


Why did Thorin believe that the gold could kill Smaug?

Thorin was successful in causing Smaug a great deal of agony, but the molten gold was ineffective beyond that. Smaug is obviously capable of dishing out extreme temperature, so why did Thorin believe that he could be killed by it?


Style Question: Use of "we" vs. "I" vs. passive voice in a dissertation

As I'm not a native speaker and just finishing my dissertation in Computer Science, I wonder  what style I should be using. In German (my native tongue) most dissertations, school-books and scientific writing use third person or passive voice to sound 'objective'. I know that passive voice in English should be avoided. In most of my publications I use "we" (e.g. "we can improve the recognition rate by ...").  For the dissertation, as it is my work, should I prefer "I" over "we"? I don't like the idea too much, as it sounds pretentious to me. Currently, I want use first person singular for the contributions section and first person plural for the rest. I try to avoid passive as often as possible. Is this acceptable?


How to install software into the home partition?

I have read some article about home partition in Ubuntu but I don't know why it is used widely. Because software I have installed via Ubuntu software center or deb package, they all automatically install into root partition like /opt, /usr or something like that. Anybody can give me some suggestions?


Regarding the values that n and r can take in $\binom{n}{r}$

I am thinking what values can n and r take in the following notation, $\binom{n}{r} = {n!\over r!(n-r)!}$ ? I mean which one among the following is correct and why?  $0≤r≤n$ where $r,n\in Z_0^+---------(1)$ $0≤r≤n$ where $r,n\in Z^+---------(2)$ $0<r≤n$ where $r,n\in Z_0^+---------(3)$ $0<r≤n$ where $r,n\in Z^+---------(4)$  Furthermore, can you kindly say if $\binom{0}{0}$ exists. If it does exist, I can not find it holding a physical meaning even though we can obtain 1 by simplifying. I would like to know which is correct for nPr from the above 4 connections I have written. 1, 2, 3 or 4 and why? Thanks in advance.


C String Literals and Pointers Assignment

I was looking at tutorials for C and pointers on the internet and found a debugging example and am wondering how to fix this block of code? I have been looking for a while and can't find out how to make it work. I want to replace the 'i' in "Harris" with an "a".  char * ptr = (char *) "Harris";  ptr[4]="a";


Many ships in the Star Wars franchise are named after their look: Y-wing, X-wing, K-wing etc.  As the main alphabet in use is  , why not name the ships after that?  Looking at the link for Aurebesh, the closest thing to our letter Y is "Vev" (representing our letter V), so why not call it Vev-wing?


Proving the inequality $\sum_{\text{cyc}} \frac{a}{a^2+b^3+c^3}\le\frac1{5abc}$

Let $a,b,c> 0$ be three real numbers such that $a+b+c=1$. I want to prove that   $$\frac{a}{a^2+b^3+c^3}+\frac{b}{b^2+a^3+c^3}+\frac{c}{c^2+a^3+b^3}\le\frac{1}{5abc}.$$  My attempt: Using AM-GM on each denominator gives (here, LHS denotes the left-hand side) $$LHS\le\frac{1}{3a^{\frac12}bc}+\frac{1}{3b^{\frac12}ac}+\frac{1}{3c^{\frac12}ab}.$$  However, I think that my attempt doesn't work because the last expression can get larger than $\frac{1}{5abc}$. In fact, if we multiply with $3abc$ then the original inequality is: $$\sqrt a+\sqrt b+\sqrt c\le\frac35$$  However, as $a,b,c<1$, $$\sqrt a +\sqrt b + \sqrt c> a+b+c=1>\frac35.$$ So my upper bound is always larger than the given one.


sql query to get the datedifference as year(s) month(s) day(s)

i tried to get datediff in sql with the following query,  SELECT DATEDIFF(MM,'05/05/2013',GETDATE())  it's working fine but is returning results only in terms of days/months/years depending on the parameter(DD/MM/YY) passed to DATEDIFF() function.  is their any way to get the result as, suppose in above case 0--years,7--months,0--days?  thanks


In PHP (>= 5.0), is passing by reference faster?

In PHP, function parameters can be passed by reference by prepending an ampersand to the parameter in the function declaration, like so:  function foo(&$bar) {     // ... }   Now, I am aware that this is not designed to improve performance, but to allow functions to change variables that are normally out of their scope.  Instead, PHP seems to use Copy On Write to avoid copying objects (and maybe also arrays) until they are changed. So, for functions that do not change their parameters, the effect should be the same as if you had passed them by reference.  However, I was wondering if the Copy On Write logic maybe is shortcircuited on pass-by-reference and whether that has any performance impact.  ETA: To be sure, I assume that it's not faster, and I am well aware that this is not what references are for. So I think my own guesses are quite good, I'm just looking for an answer from someone who really knows what's definitely happening under the hood. In five years of PHP development, I've always found it hard to get quality information on PHP internals short from reading the source.


How can I improve framerate of Minecraft client?

I'm a happy Minecraft player. I place my blocks, mine my coal, and generally nobody gets hurt. Lately though, those mean creepers have been sneaking up on me from behind, and killing me. Why? Because my framerate is so darn low.  Adjusting the graphics option (Fancy to Fast) and the render distance help, but they are not enough. I have seen mention of outside optimizations and programs that people have made/used.  What hacks, tricks, and mean mods can I use to improve my Minecraft FPS?


Postfix fatal: open /etc/postfix/main.cf: Permission denied

I'm on Debian 8 and not sure what I have done as whenever I try and send an email using Roundcube it says there was an error sending the message, so I checked the logs and found:  postfix/sendmail[22146]: fatal: open /etc/postfix/main.cf: Permission denied   Everything was working a couple of days ago and I have not changed anything since, not even installed updates.  So I tried:  sudo chown root:root /etc/postfix/main.cf sudo chmod 0644 /etc/postfix/main.cf   Still no luck after restarting both Postfix and Dovecot :(  When using ls to view permissions:  -rw-r--r-- 1 root root 2363 Jun  3 23:32 /etc/postfix/main.cf   What do I do?  UPDATE:  Here are my permissions for /etc/postfix  drwxr-x---   3 root root  4096 May 30 19:44 . drwxr-xr-x 101 root root  4096 Jun  4 00:58 .. -rw-r-----   1 root root   329 May 30 18:08 dynamicmaps.cf -rw-r--r--   1 root root  2367 Jun  4 00:40 main.cf -rw-r-----   1 root root  6046 Jun  1 13:39 master.cf -rw-r-----   1 root root   149 May 30 19:43 mysql-virtual-alias-maps.cf -rw-r-----   1 root root   143 May 30 19:44 mysql-virtual-email2email.cf -rw-r-----   1 root root   139 May 30 19:45 mysql-virtual-mailbox-domains.cf -rw-r-----   1 root root   139 May 30 19:52 mysql-virtual-mailbox-maps.cf -rwxr-x---   1 root root 28047 Apr 29 17:01 post-install -rw-r-----   1 root root 20281 Apr 29 17:01 postfix-files -rwxr-x---   1 root root  8861 Apr 29 17:01 postfix-script drwxr-x---   2 root root  4096 Apr 29 17:01 sasl   I found  and tried everything there and nothing worked for my setup.  Also by running sudo service postfix status is shows that postfix is loaded from /etc/init.d/postfix but there is no directory located there? Is this normal and should it not be loaded from /etc/postfix ?


Yesterday I looked at the record you sent me last week. I saw on the sleeve that you wrote/had written "no payment is necessary for you" but I had paid 50 usd through discogs to get it.  So it would be nice to make me a refund of the postage  Is it better like that                      in fact :                               I had paid for the record  past perfect                               you wrote the message  past simple or past                               perfect                                 you sent       past simple                               looked saw the message    past simple                               ask for a refund       I am not sure  if I can write "had written" instead of "wrote" because of "had paid" that comes next. if both are past perfect we can't know which comes first


In my Ubuntu 17.10, Record My Desktop is not launching

In my Ubuntu 17.10 , Record My Desktop is not launching. How to launch and use?


Python: appending one list inside a list of lists

I have initialized a list of empty lists, like so:  >>> myList = [[]]*5 >>> myList [[], [], [], [], []]   and I'm wanting to append one of those lists with something:  >>> myList[2].append(3)   but it appends 3 to all of my lists:  >>> myList [[3], [3], [3], [3], [3]]   How can I append to just one of these lists?


I have this function...  private string dateConvert(string datDate) {         System.Globalization.CultureInfo cultEnGb = new System.Globalization.CultureInfo("en-GB");         System.Globalization.CultureInfo cultEnUs = new System.Globalization.CultureInfo("en-US");          DateTime dtGb = Convert.ToDateTime(datDate, cultEnGb.DateTimeFormat);         datDate = dtGb.ToString(cultEnUs.DateTimeFormat.ShortDatePattern);          return datDate; }   But I want it with the leading zero still on lower digits (1-9) so the date is 11-09-2009 (mm-dd-yyyy)...  Now If I wasn't converting it id use string.Format("{0:d}", dateVar) how do I do this in the conversion?  ***** Solution ***** Used a slightly modified version of the answer below (i.e. one that would render).  Convert.ToDateTime(datDate).ToString("MM-dd-yyyy");


Exactly 5hr 25min in Frankfurt, can I visit the city?

Is layover time of 5 hours and 25 minutes enough to visit Frankfurt ?   Both flights are international with Lufthansa and on one ticket, so I will have the boarding pass of the second flight with me. Will arrive and departure to/from terminal 1 and do not need visa to enter Germany.


What is the probability that the selected function maps prime numbers to prime numbers?

Let $X = \{1, 2, 3, . . . , 25\}$. If a student selects a function randomly from the set of all functions from $X$ onto $X$, then what is the probability that the selected function maps prime numbers to prime numbers ? No idea how to proceed, please guide.


When using "did" in a sentence, does that put the verb in present or past tense? Example:      What did they teach you?    or:      What did they taught you?   Example 2:      What did he say?    or:      What did he said?


I have a table that shows up earlier in my document and I want to display it again later in my document for reference, but if I just copy and paste the code later down it will label it as "Table 2" and not "Table 1", and this also means I would have to manually make changes to both tables. Is there a way to display a verbatim copy of a table later in a document, including the same reference number, such that when I change the original all of the copies change to match?


As of yesterday, November 21, 2016, . Which ones had their CP changed?


How are people able to so easily identify Valyrian steel?

There are numerous accounts throughout GoT where a Valyrian steel sword has been shown, followed by someone immediately identifying that the sword is made of Valyrian steel.   How are they able to so quickly tell the composition of the sword?  Do Valyrian steel swords have a special marking that's imprinted by the smith? Or, are people able to tell simply by knowing what different metals look like?   To me it seems kind of unusual that so many people know what Valyrian steel looks like when it's said to be such a rare metal.


how to call click event of dynamically generated content?

I am displaying following data in controller..  <?php $i=0; foreach($this->session->userdata('data') as $item) {     //echo "
"; print_r($item); echo "
";     $query = $this->db->query("SELECT product_name FROM phppos_product WHERE   product_id='".$item['product_id']."'");     foreach ($query->result() as $row) { $product_name=$row->product_name;  }     echo "
";     echo "".$product_name."	";     echo "".$item['quantity']."	";     echo "".$item['unit']."	";     echo "".$item['unit_rate']."	";     echo "	";     echo "
";     $i++;  }  ?>   An in view file on success of ajax...      $.post( followurl, {'product_id' :       product_id,'quantity':quantity,'unit':unit,'unit_rate':unit_rate}, function(data){          //alert(data)   ;            $("#cart_details").html(data);          $("#quantity").val('');         $("#unit").val('');         $("#unit_rate").val('');         $("#add_to_cart_status").css("visibility", "hidden");                    });       $(".remove_from_cart").click(function() {      alert("dsasdas");      var array_index = $(this).attr('rownum');       alert(array_index);      var followurl  ='<?php echo base_url()."index.php/placeorder_ajax/remove_from_cart";?>';      $.ajax({             method: "GET",             url: followurl,             data : {'array_index':array_index}             success: function(data, status){                                                 $("#cart_details").html(data);                                             }             });     });   Now I want to call another function on click of remove_from_cart class. But alert is not coming on click of remove_from_cart class. So anybody have any idea??  Note that I am displaying data in controller


For an affine connection $\nabla$, prove the curvature R  $R(X,Y,Z,\alpha)=\alpha(\nabla_X \nabla_Y Z - \nabla_Y \nabla_X Z -\nabla_{[X,Y]}Z)$  with $X,Y,Z$ vector fields and $\alpha$ a co-vector, is a tensor.  So I realise the aim is probably to show that each of the three terms in the expression for $R$ are tensors themselves as then the result will obviously follow. However, I'm not too sure how to show each of these terms are tensors. Do I need to expand out each covariant derivate to get a bunch of connection coefficients and then see some cancellations? Still though, I'm not too sure what I'll want to see after all of this so that I can say "…therefore $R$ is a tensor".  Also, very much related to the question, I'm a bit confused with the difference between  $\nabla_Y Z$ $\space \space $ and $\space \space $  $\nabla_{\mu}\omega$.  The second one I know as the covariant derivative of a 1-form, but what is meant by the covariant derivate of a vector $\textit{field}$? As in, what's the difference between the $\nabla_Y$ and $\nabla_{\mu}$?  Edit: In answering this last question, I have realised that $\nabla_YZ=Y^{\mu}\nabla_{\mu}Z^{\nu}$ and $\nabla_{\mu}\omega=\nabla_{\mu}\omega_{\nu}$.


Can you run a 14/3 to feed two separate zones of lights? Two breakers Two hot legs feeding 2 lighting circuits each with their own switch, and share the neutral?


Missing Windows 7 when i installed ubuntu 12.4

i am newbie to this i installed Ubuntu using separate drive and i choose windows 7 loader as a boot device loader and after the installation i can only choose Ubuntu no windows 7 os so please help me to solve this .


How to automate the file arranging for plotter to make it efficient and faster in Corel Draw 16+

i need automate the file puzzling for plotter, so im looking for a macros for Corel 16+, to get the puzzling done automatically and efficiently.   In the past i puzzled it manually and spent a lot of time.    I tried PlotCalc for Corel, but it doesnt work in 16th version  Thanks PS if this topic is already asked, please, do not dislike my question)


how to snap several vertices to the same z.position

I encountered a little problem. Say I have a mesh an the Vertices on top are not in the same Z-Position. I am looking for a method to have them all aligned in Z.  My approach is to select the 3 Vertices, grab the blue arrow to constrain the movement in the Z-Axis and want to snap to the vertex highlighted with the red circle.   My Snappingsettings    But for some reason they don´t have the same z-Position. They seem to keep their Offsets to each other?  I used this method in Maya.  Do you know a way how to get that working?  thanks in Advance Guido.


In the official rules of Monopoly, can you offer immunity to other players in deals? Also, what about tournament play, which has different rules again?  For example, it was a common house rule from my childhood that where two players were making a deal, but one of the players was more at risk of landing on the other player's property in the next move or two, the owner of those properties would offer immunity for the next time around the board (or maybe even the next two or three times around the board). So this is a popular house rule, but is it allowed in the official Monopoly rules and in tournament play?


How to switch windows of the application in Ubuntu 18.04

How do I switch between windows of the same application in GNOME in Ubuntu 18.04? For example, if you have two Nautilus windows open, Alt+Tab will go to the next application (say, browser), but not to the second window of Nautilus.


How can I force a long string without any blank to be wrapped?

I have a long string (a DNA sequence). It does not contain any whitespace character.  For example:  ACTGATCGAGCTGAAGCGCAGTGCGATGCTTCGATGATGCTGACGATGCTACGATGCGAGCATCTACGATCAGTCGATGTAGCTAGTAGCATGTAGTGA   What would be the CSS selector to force this text to be wrapped in a html:textarea or in a xul:textbox?


Wireless wont show up on Dell Latitude D620, I am New to LUBUNTU and never used Linux

I got a Dell Latitude D620 from work on condition it had to be DBAN DOD wiped prior to removal. It is a DuoCore 1.6GHz 1GB RAM machine which sounded like LUBUNTU would be good fit... All of it worked including wireless on MS XP SP3.   So I installed LUBUNTU today and am working on on wired connection but wireless does not show up... Tried iwconfig in terminal, which I would copy and paste here but copy{CTRL+C} in Xterm just results in ^C, however it shows lo which looks like a loopback and eth0 which is my wired... No Wireless...  In System Information:  Operating System reports Kernel "Linux 3.13.0-37generic (i686)"  Operating System reports Distribution "Ubuntu 14.04.1 LTS"  In Kernel Modules I see a wl but its blank however several 802.11 modules show up...  In the PCI devices I see "Network Controller Broadcom Corporation BCM4311 802.11a/b/g (rev01)"... That all said the LED is off and the hardware switch is on. On WinXP the blue light was on when the switch was on... Here in PCI Devices it knows its Dell and seems to have Broadcom driver...  Is there something like Device manager in windows? Or is System Information as close to that as there is?  I see a couple other Questions requarding this specific model and none seem to have a solution... Concerns me starting into UBUNTU... Hopefully there is a solution. Thanks,


How do electrons move at an atomic level?

This was meant to be a sub question in the comments of my last question but I think it is big enough to have its own post.  I know that electrons move because of the potential difference across the wire.  But do the electrons jump from the valence shell of 1 atom to the valence shell of another atom or do they flow in a swarm without interacting with any atoms? Here I am talking about electron flow in a metallic conductor.  And what about insulators? Let's say we have an insulator in the middle of a conducting circuit. How will the it prevent electrons from going through?


How to resolve NoClassDefFoundError for AutoloadedDriver40?

I am new to Hadoop and Hive as well. I am trying to connect to Hive from Java by creating Java project and by adding all below required libraries  $HIVE_HOME/lib/*.jar $HADOOP_HOME/share/hadoop/mapreduce/*.jar $HADOOP_HOME/share/hadoop/common/*.jar   And below is my sample code to connect Hive database.  package com.stpl.hive.jdbc;  import java.sql.SQLException; import java.sql.Connection; import java.sql.Statement; import java.sql.DriverManager;  public class HiveSample {      //private static String driverName = "org.apache.hadoop.hive.jdbc.HiveDriver"; private static String driverName = "org.apache.hive.jdbc.HiveDriver";      public static void main(String[] args) throws SQLException,             ClassNotFoundException {         // Register driver and create driver instance         Class.forName(driverName);         // get connection         Connection con = DriverManager.getConnection(                 "jdbc:hive2://localhost:10000/default", "", "");         Statement stmt = con.createStatement();         stmt.execute("CREATE DATABASE newdatabase");         System.out.println("Database userdb created successwdbfully.");         con.close();     } }   While running i am getting below error   Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.AutoloadedDriver40     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Class.java:348)     at java.sql.DriverManager.isDriverAllowed(DriverManager.java:556)     at java.sql.DriverManager.getConnection(DriverManager.java:661)     at java.sql.DriverManager.getConnection(DriverManager.java:247)     at com.stpl.hive.jdbc.HiveSample.main(HiveSample.java:18)   Am I missing any other jars to add in project? Please help me to solve this error. And i am using Hive 2.3.2 version. Please ask me if any other details required to solve it.


What are the differences between morals and ethics? Are morals standards of behaviour that everybody in a certain group can agree on or is that an ethical code of behaviour? To the Vikings doing the 'right' thing might have been participating in the tradition of finding other villages and ransacking and stealing. This was part of their ethical code of behaviour. Could it be said to be immoral or amoral?


Deriving upper bound for derivative of analytical function

$f$ is an analytical function on the unit disk $\mathbb{D}$ for which there is a $C > 0$ such that  $\forall z \in \mathbb{D} \colon |f(z)| \leq \dfrac{C}{1-|z|}$.  I know have to prove that    $\forall z \in \mathbb{D} \colon |f'(z)| \leq \dfrac{4C}{(1-|z|)^2}$.  I tried using the Cauchy integral formula but I can't find a fitting circle to get this result.


Can I tell if someone copied files and folders from my computer to a usb or to the network?

Can I tell if someone copied files and folders from my computer to a usb or to the network ? I'm working on windows 8


What to do when crib dragging does not work for OTP ciphers?

7ECC555AB95BF6EC605E5F22B772D2B34FF4636340D32FABC29B 73CB4855BE44F6EC60594C2BB47997B60EEE303049CD3CABC29B 64C6401BAF45F6A930435F3DF875C4E102F8742A45C824AFCA9B 7AC24F5EAF17F0A0754D5834BC3CC3A90ABD7B2A52C222ABC89B 72C24A52B550B3B8624D4F22F86BD2B30ABD642C498122A1D29B 73CC5457BF17E7A4750C5423B178D0A44FFF756355C03CABC28A 74CC0155B443B3A8795F4224AA7E97B507F2632606CF3FA0D59B   This was given to us as a question so it is possible to solve, but how could you do this? I have tried MANY words and crib dragged them, there is just too many possibilities to deduce them all, there must be an easier way to do this.  It is assumed that each line is a different message encrypted with the same pad.


Java - how to initialize a HashMap inside method by value

I am new to Java and I tried a couple of ways to initialize my HashMap through a method, but every time after method executed, my Map is still empty, I can debug and see during my LoadData method execution, my maps are assigned with value from sub-method, however, when jumping out of the LoadData, my outer parameter becomes empty Map again  // file1.java public Map<String, Student> getStudentWithIdMap() { ... } public Map<String, Teacher> getTeacherWithIdMap() { ... }  public static void LoadData(Map<String, Student> studentMap, Map<String, Teacher> teacherMap, ...other Map) {      studentMap = getStudentWithIdMap();      //I tried with studentMap.putAll(getStudentWithIdMap());      // doing this triggers an exception like "UnsupportedOperationException"      // I also tried studentMap = new HashMap<>(getStudentWithIdMap());      teacherMap = getTeacherWithIdMap(); }  // file2.java public void PrepareData() {    Map<String, Student> studentMap = Collections.emptyMap();    Map<String, Teacher> teacherMap = Collections.emptyMap();    file1.LoadData(studentMap, teacherMap, ...); }   What would be the reason and the best way to deal with the above scenario?   I get to know Java treats method as value type always, so if passing a class object and modify its value, it would be modified after method finishes execution, why a Map behaves differently?


Something is going wrong with my reputation

Whenever I gain reputation, I get 4 additional reputation. See this picture:      This picture is captured when I gained reputation by +5 (for upvote on my question.). Before I gain +5 reputation, my reputation was 2,211. And after I gained +5 reputation, my reputation became 2,220 (as shown in the above picture). But when I refresh my page the real reputation is shown like this:     So the problem is minor. But why do this happen? I suspect this issue might be related with .  EDIT: I do not face this issue in the case of downvotes.


How may I insert horizontal dots in the second row of my vmatrix?

It seems to me that my method is quite inconvenient.  Could someone help me in this matter?      \documentclass[11pt,a4paper]{article}     \usepackage{blindtext}     \usepackage{mathtools}     \DeclareMathOperator{\sgn}{sgn} \begin{document}     $\begin{vmatrix}     a_{11} \cdots a_{1r}\cdots a_{1n}\\     \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \dots \cdot \cdot \cdots \cdot \\     a_{n1} \cdots a_{nr} \cdots a_{nn} \end{vmatrix}$ \end{document}


The given sentence is-  'As no one knows the truth as fully as him, no one but him can provide the testimony.'  As far as the highlighted part is concerned, I improved it as-  'As no one knows the truth as fully as he does, no one but he alone can provide the testimony.'  What's is wrong in the above sentence? I am struck.


How to print fields value in views-view.html.twig in drupal 8

How to print fields value in views-view.html.twig I have created a views-view.html.twig file for my view slider_3. The template name is 'views-view--slider_3.html.twig' The view formatting is done by this template, but I need a field is come at begging position of the view:  <div class="slider-3-main">{{ rows.required_field }} <div{{ attributes.addClass(classes) }}>   {{ title_prefix }}   {% if title %}     {{ title }}   {% endif %}   {{ title_suffix }}    How can be the field will written to display at {{ rows.required_field }}


Show the map from the product of disjoint subgroups of G to G is an isomorphism

Question: Show that if $G$ is a group with two normal subgroups $H$ and $K$ such that $G=HK$ and $H\cap K=\{e\}$, then the map $(h,k)\mapsto hk$ is an isomorphism of groups from $H\times K$ to $G$  Comments: I would like to know where I can find a proof to this statement as it seems like a standard result.  To me the statement seems intuitively obvious since $H$ will look like $\{e,h_1,...,h_n\}$ and $K=\{e,k_1,...,k_m\}$ and $G=\{e,h_1,...,h_n,k_1,h_1k_1,...,h_nk_1,...,k_m,h_1k_m,...,h_nk_m\}$   Therefore $K$ will have $m+1$ elements, $H$ will have $n+1$ elements and $G$ will have $(m+1)(n+1)$ elements and there would be a 1-1 and onto mapping -but how do I prove this?  The homomorphism property comes from taking $a=(h_1,k_1)$ and $b=(h_2,k_2)$  Then $\varphi(ab)=\varphi(h_1h_2,k_1k_2)=h_1h_2k_1k_2=h_1k_1h_2k_2=\varphi(h_1,k_1)\varphi(h_2,k_2)=\varphi(a)\varphi(b)$  This is my understanding of this question, how should I prove the bijective part of this map, also if possible what is the name of this proof or where can I find one.


I'm trying to solve this mean value theorem problem but confused where to start,     If $0<a<b$ prove that $(1-\frac{a}{b})<\ln\frac{b}{a}<\frac{b}{a}-1$   Can someone please lend me a hand?


Is there a way to search for non-english letters in file names?

I am trying to write a script that will replace all non-english alphabet letters in file names with their English counterparts, is this possible?


how change file attributes to make it executable

I want to execute a text file, but I need to change the file preferences so that when I open it, it will actually run the file instead displaying it.  However, I don't know how to change the file preferences.


Does the optical density of a medium depend upon its mass density?

The optical density of a medium is quantified by its refractive index $n$. Does it have any correlation with the mass/number density of the medium? In other words is an optically denser medium must have a greater mass density compared to an optically rarer medium?


What plane type will I need to go transatlantic in Pocket Planes?

I'm based in North America and have a bunch of major airports on the Eastern Seaboard.  I'm level 14 and just unlocked the Pearjet, but I still don't have a plane with enough range to make it across the Atlantic.  What's the first plane I'll get that will let me make that crossing?  Or more specifically, what's the range from New York (or Boston) to London (or Lisbon) - the smallest range that'll get me across?


interpreting Interaction 3 way interaction

What is the simplest way to understand three-way interactions? My interaction was negative and main effect was negative. Other interaction was negative and main effect was positive.


Estimate the sum $\sum_{n = 1}^ N \frac1n$

Let $N\geqslant1$ be an integer. Then which of the following statements are true ?  $\displaystyle\sum\limits_{n=1}^N\dfrac1n\leqslant1+\log N$  $\displaystyle\sum\limits_{n=1}^N\dfrac1n<1+\log N$  $\displaystyle\sum\limits_{n=1}^N\dfrac1n\leqslant\log N$  $\displaystyle\sum\limits_{n=1}^N\dfrac1n\geqslant\log N$   My Attempt : $$\underbrace{\frac11+\frac11+\frac11+\frac11+\frac11+\frac11+\ldots+\frac11}_{N\text{ times}}=N$$ $$\geqslant\sum_{n=1}^N\frac1n=\frac11+\frac12+\frac13+\frac14+\frac15+\frac16+\ldots+\frac1N$$ $$\geqslant\underbrace{\frac1N+\frac1N+\frac1N+\frac1N+\frac1N+\frac1N+\ldots+\frac1N}_{N\text{ times}}$$ $$=\frac NN=1$$ $$\implies1\leqslant\sum_{n=1}^N\frac1n\leqslant N$$ Also $\;\log N\leqslant N,\;\forall N\geqslant1\,.\;$ I'm unable to combine this information to answer the question. Please help me.


It is common  that the universe is 13.8 ± 0.037 billion years - but how was this calculated?


I read like twenty years ago that the word "church" (clutch, hatch, match) is undoubtedly one syllable when written but that an argument can be made that it's two syllables -- CHUR-ch -- when spoken.  Actually I don't think the book put it in such ambiguous terms as much as I've yet to find anyone who would so much as entertain the notion.  Does anyone know what book I'm talking about (perhaps a Norton's Guide to... type book) or have any insight into this phenomenon?  Like maybe a name for such a word?  Other examples?


"if" statement block doesn't work correctly

I don't actually know what's up here, but I am writing server-client application and client sends a string to the server. I need to send the string "x" to the server, so it starts running code1, but when I do it, server runs code3. The funniest thing is System.out.println(x); prints "a" in the console.  Here is a fragment of server code(runs on win7, javac compiler):  sInput = new ObjectInputStream(socket.getInputStream()); sOutput = new ObjectOutputStream(socket.getOutputStream());  String x = (String) sInput.readObject(); System.out.println(x);  if (x == "a") {    /*      * code1     */ } else if (x == "b") {    /*      * code2     */ } else {    /*      * code3     */ }   And this is what client does(runs osx, javac compiler):  sInput = new ObjectInputStream(socket.getInputStream()); sOutput = new ObjectOutputStream(socket.getOutputStream());  String x = "a"; sOutput.writeObject(x);   How should I sort it out?  P.S. I know about exception declaration, they are removed to make the code shorter.


is it problematic to cluster across two datacenters w/aag?

In general is it problematic to cluster across two datacenters that are up to 15-miles apart?  For this one particular project the approach is the following?   2-Node Failover Cluster across two datacenters, one node per datacenter local SAN disks, no shared disks 'Node and FileShare Majority' at third location on-campus employ AAG, failover will be manual; asynchronous mode   Is anyone implementing something like this with success??!?  Thanks so much for the help!!


The linked question is exactly what my problem was but it is not having any solution still.   In the above image we can see the comment box going out of the dialog box in every Stack Exchange Sites,when we click other (needs ♦ moderator attention) in flag section.


How can the formula for the expectation of a log-normal random variable be dimensionally sound?

If $X\sim\mathcal{LN}({\mu,\sigma^2})$, then $\mathrm{E}[X]=e^{\mu+\sigma^2/2}$.  My question is: what right do we have to add a mean and variance together?  If $X$ has physical dimensions, then the expression $\mu + \sigma^2/2$ is incoherent.  So what gives?


What is the reasoning behind standardization (dividing by standard deviation)?

Why does dividing a dataset by sigma make the sample variance equal to 1? Assuming a zero mean for simplicity.  What's the intuition behind this?  Dividing by the range (max-min) makes intuitive sense. But standard deviation does not.


How can I delete my duplicate Ubuntu install?

I made a mistake while installing Ubuntu, so I had to install it twice. Unfortunately, I now have two identical installs of Ubuntu. I am trying to use GParted to delete the partitions with the install but I am getting this error: Unable to delete /dev/sda10! Please unmount any logical partitions having a number higher than 10. This is how my partitioning table look in GParted:   sda1 & sda2 is Windows, sda4 is a swap area, sda10-12 is the Ubuntu installation I don't use, sda13&14 is the Ubuntu installation I am using, and sda5-9 is a Kali installation I occasionally use and don't want to delete.  This is the output I got when I ran df to double check that I was booting from sda13&14.   $ df Filesystem     1K-blocks    Used Available Use% Mounted on udev             4006212       0   4006212   0% /dev tmpfs             805276    9992    795284   2% /run /dev/sda14      62945204 7059752  52664972  12% / tmpfs            4026368    6496   4019872   1% /dev/shm tmpfs               5120       4      5116   1% /run/lock tmpfs            4026368       0   4026368   0% /sys/fs/cgroup /dev/sda13        291252    3684    287568   2% /boot/efi tmpfs             805276      12    805264   1% /run/user/121 tmpfs             805276      32    805244   1% /run/user/1000   What I want to do is to delete sda10-12 and merge the free space into sda14. But as mentioned I am getting an error message when trying to delete them. I still have the Ubuntu Live USB which I can boot from, but I don't want to destroy any of my other OS's. So what I am wondering is, how can I safely accomplish what I want to do?


How to delete backup files using a bash script?

I want to automatically delete the backup files(those ending with ~) from everywhere on my computer.  I tried to write a simple script usinglocate command, but I'm stuck at deleting file having space in there name, like this  /home/abc/def/Unnamed Document~   Can you provide a script to delete backup files(considering that some of them have space in there name).


Would I get my Schengen visa right after the interview?

I think some body here would help me out of this first-time-travelling-blues.  I have applied for Schengen Visa to travel to Greece for four days; I applied to VFS Mumbai, on 13th April, 2016. I have tickets to Greece on 30th April, 2016 and return on 6th May, 2016. I have booked hotels there and am going to attend a scientific conference scheduled for the first week of May, 2016. I was informed during biometric process that as I am travelling abroad for the first time, I may need to attend an interview, scheduled at 22nd April. Now, I am worried, because the date is just 8 days ahead of my departure.   Will I get the visa in time?


You slept with your mouth open VS with your mouth opened (could be difference?)

You slept with your mouth open   You slept with your mouth opened  Could be difference?


Form submission to another page returning 404 error

I'm modifying a form plugin, and trying to have it submit to another page chosen by the user. Right now the page it submits to is page_id=6. If I navigate to this page myself, it prints Array(). When I submit the form, I get a 404 error although the url matches.  page_id=6 uses the shortcode [convertable] to include this code:  <?php  echo "<pre>"; print_r($_POST); echo "</pre>"; ?>   I'm testing in on a WPMU install. You can see the form   Any ideas on what's going wrong?


Independence of ratios of independent variates

If $X= x_1/(x_1+x_2)$ and $Y= (x_1+x_2)/(x_1+x_2+x_3)$ where   $x_1,x_2,x_3$ independent chi-square variates with d.f $n_1,n_2,n_3$   respectively, are $X$ & $Y$ independent?   I know the condition for independence of two random variables and the usual method followed i.e using joint distribution . But is there any short way to establish independence in the above question?


What is a good, short, word to describe a software engineer?

What should I call a person who write software, computer programs ? I know he/she is a software engineer, can I call him/her as "Coder"?


I can run these commands to show the "Section" of certain packages  $ apt-cache show bash | grep Section Section: shells  $ apt-cache show procps | grep Section Section: admin   I would like a command to list all packages in a certain section. Here is what I have tried  $ dpkg --list shells dpkg-query: no packages found matching shells


Is there a way I can get LaTeX to output a .bib file containing only the citations actually in my document? I often copy and past over old .bib files, which makes them rather unweildy over time. Is there any way to get tex to run, and then instead of giving me a pdf, it gives me a new .bib with only the citations actually used in the document I've run it on?


Convergence of $\sum_{n=1}^\infty \frac{\cos(n)}{n}$

Does this series converge  $$\sum_{n=1}^\infty \frac{\cos(n)}{n}$$  someone has told me that I have to apply Dirichlet's test but I don't know how to calculate the sum  $$\left|\sum_{n=1}^{N} \cos(n)\right|$$


Solve the equation $28^x = 19^y+87^z$ in integers

Solve the equation $28^x = 19^y+87^z$, where $x,y,z$ are integers.   I am confused how to find solutions for all integers and not just positive ones. How should we do that?


Can I have multiple question marks in one sentence?

When I ask multiple questions at once should I break it up into multiple sentences and capitalize the first letter at the beginning of each question(?), or should I use one question mark at the very end?   For example: "Is it where my heart is? where my family is? or wherever I feel most at home?"   You'll notice that I want to retain the flow of the sentence to emphasize the sequence of the questions, especially as I introduce that last 'or'.   Thanks!!


Assume there is a rigid body in deep space with mass $m$ and moment of inertia $I$. A force that varies with time, $F(t)$, is applied to the body off-center at a distance $r$ from its center of mass. How do I calculate the instantaneous acceleration, rotational acceleration, and trajectory of this object, assuming it starts from rest?


Spam flags and Rude/Abusive flags - Is the difference practical?

As per , we know that there are two small differences between spam flags and rude or abusive flags (referred to below as S and R/A, respectively).   If a deleted post has at least 1 valid spam flag, it can be used as review audits. The same doesn't apply to R/A flags. If a question has a second answer deleted with at least 1 valid spam flag, it's automatically protected by Community ♦.   However, in day-to-day usage those two things don't make a difference in how the flags affect the posts and sites they're cast on. Pops (an ex-CM) said it best a while back:     , by Pops      It's... hard... to argue in favor of writing an algorithm and making a bot spend time calculating which of the two flag types to use when they are, in actuality, the exact same flag. It's not even Coke vs. Pepsi, it's Pepsi vs. a second bottle of Pepsi that's using a different but still valid Pepsi logo.   In spite of  saying that S and R/A flags should be handled equally (and SpamRam handles both flag types identically in every way), they do make a difference in the system, which is said to have annoyed some SO mods.   Is there practical differences between S and R/A flags anymore? Is it an issue or not that offensive posts are flagged as spam?


UK Visa Refusal: Can I Reapply and What Should I Change? What Documents Should I Use?

The Decision   you have applied for entry clearance for 10 days to visit your uncle and for tourism. In support of your application, you have submitted a letter from him inviting you, a copy of his British passport and evidence of his employment and income.  you have submitted a letter from your father, #####, and he states that he will be supporting you during your stay. In support of your father's circumstances you have submitted a Bank statement in his name. However, I am not satisfied that these  documents alone demonstrate your father's personal circumstances in Ghana. I am unable to determine from the documents where the Funds in his bank account originate from. As a result, I am not satisfied that the funds in this account are under his exclusive control for the purpose of your visit, nor am I satisfied that this provides an accurate reflection of his financial circumstances. I am therefore not satisfied that your father can find your visit as claimed.  the onus is upon you to qualify for entry clearance in your own right and I have to be satisfied as to your own circumstances . You have stated you are a student and you receive money from savings and investments and friends and family. You have submitted a bank statement in your name with your application and I note it contains some large deposits. From the documents submitted I am unable to determine the origin of these funds and as a result, I am not satisfied that your circumstances are as claimed.  in light of this I cannot be satisfied that your personal circumstances are as indicated in your application or that you have adequate funds available to you for the purpose of your visit. I am therefore not satisfied that you are a genuine visitor to the United Kingdom or that you intend to leave at the end of your proposed visit. Nor am I satisfied that you can be adequately maintained from funds of your own of from a third party or that you can meet the cost of your return or onward journey. 41(i)(ii)(vi)(vii)   I have therefore refused your application because I am not satisfied, on the balance of probabilities, that you meet all of the requirements of the relevant paragraph of the United Kingdom immigration rules.  Can I Reapply and What Should I Change? What Documents Should I Use?


General conditions for a continuous bijection to be a homeomorphism

So we all know the basic fact that for two topological spaces $X$ and $Y$ such that $X$ is compact and $Y$ is hausdorff then every bijective continuous map $ f: X \rightarrow Y$ is a homeomorphism.  What I was wondering is: Under what kind on general conditions on $X$ and $Y$ does the following holds ?   $$ \forall f\in C(X,Y) \text{ a bijection } :  f^{-1} \in C(Y,X)$$   I've tried to find conditions on my own but it turns out that it's pretty hard to have good intuition about which conditions will work. For example it feels like the statement should be true for $f: \mathbb{R}^n \rightarrow \mathbb{R}^n$ continuous and bijective but I haven't been able to prove this.


I applied on the 11th October for a visitor visa to the UK. Today, my passport was returned and the visa refused. I'm a Russian national, living in Greece for the last 18 years, have a permanent residence card, own my home. On my application, I provided:  6 months payslips Employer statement that I work there for 2 years, plus the monthly income Tax Status of 2015 (showing my house, taxes, and annual income for 2015) Personal statement of mine that I get paid in cash from my job (which is allowed in Greece) Bank statement of my bank balance (I have stated that this is my savings account and didn't provide bank statements covering 6 months for that reason). Phone bill showing my property and in my name. Permament residence card copy. Invitation by my girlfriend stating I will stay for 4 days at a hotel  I have been refused with the following reason:  As evidence of your own funds and financial circumstances you have submitted a bank account in your own name which shows a closing balance of 1,040 Euro. However, whilst I have considered the documents submitted I'm not satisfied that you have sufficiently demonstrated the origin of the funds." I'm not satisfied that you have sufficiently demonstrated your personal circumstances and funds or that you can be relied upon to meet the conditions of visit entry clearance. I'm not satisfied that you intend to leave the UK at the end of your visit. I am not satisfied that you have sufficient funds available to cover your costs whilst in the UK without working or using public funds.  Please note I have applied only to stay for 4 days as my girlfriend moved to Sheffield to study at the university. I have stated that my maximum visit would be 4 days per month due to work, house duties and having a pet. I don't know how to move forward from now on or what to show as evidence, as if I get my 6 months bank statements there are only small deposits by me and internet purchases. Any help would be appreciated.


All of the trouble I have in learning linear algebra seems to come from my lack of understanding of its applications.  I understand how to do the multiplication, and I understand that it is a necessary tool of matrix algebra, but I want to know what the multiplication actually does, or what does its result actually represent?    Any modern real world examples that are relatively simple and specific would help me immensely.  Thanks.


Primes that can't be written as sum of two squares. Mod

I came to this conclusion: the primes that can't be written as the sum of two squares (lets use$p\prime$ to denote) can be written as ${p}\prime \equiv 3 \;(\bmod\; 4)$.  I need a simple proof to show this and am stuck. I would appreciate guidance!


What is the Unix command to create a hardlink to a directory in OS X?

How do you create a hardlink (as opposed to a symlink or a Mac OS alias) in OS X that points to a directory? I already know the command "ln target destination" but that only works when the target is a file. I know that Mac OS, unlike other Unix environments, does allow hardlinking to folders (this is used for Time Machine, for example) but I don't know how to do it myself.


It is given that the series $ \sum_{n=1}^{\infty} a_n$ is convergent but not absolutely convergent and $ \sum_{n=1}^{\infty} a_n=0$. Denote by $s_k$ the partial sum $ \sum_{n=1}^{k} a_n, \ k=1,2,3, \cdots $. Then   $ s_k=0$ for infinitely many $k$ $s_k>0$ for infinitely many $k$ it is possible that $ s_k>0$ for all $k$ it is possible that $ s_k>0$ for all but finite number of values of $k$.   Answer:   Consider the sequence $ \{a_n \}$ defined by $ a_{2n-1}=\frac{1}{n}$ and $a_{2n}=-\frac{1}{n}$, so that  $ \sum_{n=1}^{\infty} a_n=1-1+\frac{1}{2}-\frac{1}{2}+\cdots $  Thus,  $ s_{2n-1}=\frac{1}{n} \to 0 \ as \ n \to \infty$,  $s_{2n} =0$  Thus,  $ \sum_{n=1}^{\infty} a_n=0$.  Also the series is not absolutely convergent.  Thus $s_{2n-1}=\frac{1}{n}>0$ for infinitely many $n$  hence option $(3)$ is true.  What about the other options?  help me


Why can´t I select an element created with a JQuery event (append)?

I wrote somthing like this:
An Item
    I created this with a jQuery event.   $("button").click(function(){   $(body).append("
An Item
"); });   so now i have something like this:
An Item

A New Item Created With jQuery Event
    The problem: I want to do this, to get the info from both divs.  $(".item").click(function(){    $(this).text();  });   Works fine with the original .item from the HTML. But it doesnt work with the newly created element with jQuery. Why is that?


When cosmologists are explaining the universe to laypeople they generally skip over a couple of details without addressing the apparent contradictions that these omissions introduce.  e.g. for the longest time the abrupt change from the usual mantra that nothing can move faster than the speed of light to the idea that the observable universe consists of things we can see - thins that are moving slower than the speed of light and on the other side of the boundary exist (in a sense) things that are going faster than the speed of light which are hence, unobservable. Some kind of small footnote about the speed of light limit applying locally rather than globally 20 years ago or so would have been appreciated.  So now I am trying to understand the implications of the usual - to laypeople - descriptions of the Big Bang. Statements are made like: at some time, some number of fractions of a second after the Big Bang, the universe was as big as a pea. I presume this means the observable universe. With the idea that, if we could somehow observe this universe, we could move our point-of-view to the edge of that pea (that would eventually expand out to be our current observable universe), and we would be at the centre of another pea. And this pea too would have a symmetrical view of the matter around it.  This clarification (if "true" as this simplified explanation can be said to be true) is important as, if at any point in this process there was an actual edge, a point-of-view anywhere in the very early expanding universe where there was less 'stuff' in a particular direction, then very very bad things should have or would have happened.  So as I understand it now, the early universe was in no way like an explosion. Explosions being probably defined by stuff moving from an area of high pressure to an area of low pressure. The stuff in the early universe on the other hand simply had no where to go. Every direction was equally as dense. Which - given a newtonian understanding of gravity was helpful - with equal stuff in all directions there would be no net gravitational field. And, without a special direction (or point) to collapse down into, the early stuff couldn't collapse immediately into a black hole despite how dense it was. GR probably explains this differently. At any rate, the space between things literally expanded rather than them rushing away from each other.  So now, if we continue with the metaphor that the observable universe being the size of a pea at some time very close to 0, and you can move a hypothetical observer to the edge of a pea and simply be in the centre of a different pea... how many peas were there?  If I understand it (via this ridiculous metaphore) correctly, if we are in a closed universe, then there would be a finite number of peas you could possibly travel to the edge of, before noticing that you were now observing peas you'd seen before. And a flat or open universe would mean that you could always keep on moving your pov to the edge to get a completely new view.  But how does this work if you keep on dividing time closer to t=0?  With a non-closed universe: at the time t when our entire observable universe was squashed into a pea, we could nonetheless move our hypothetical observer around enough to observe, well, as many peas that would fit into our current observable universe. And then we could say that, there must be some time closer to 0 when that entire volume of peas was itself, packed into the size of a pea. And we could then do the thought experiment again.  Where do the bloody peas end?


How can I introduce complex numbers to precalculus students?

I teach a precalculus course almost every semester, and over these semesters I've found various things that work quite well.  For example, when talking about polynomials and rational functions, in particular "zeroes" and "vertical asymptotes", I introduce them as the same thing, only the asymptotes are "points at infinity".  This (projective plane) model helps the students in understanding what multiplicity of a zero/asymptote really means.  I later use the same projective plane model to show how all conic sections (circle, ellipse, parabola, hyperbola, lines) are related.  I get very nice feedback on this, and the students seem to really enjoy it.  I have not, however, been able to find similar motivating examples for introducing complex numbers. I know there must be similar (pictorial!) arguments to engage the students and pique their curiosity, but I haven't found it yet.  Simply saying "all polynomials have a zero over the complex numbers" doesn't really do it for them (again, the more pictures involved, the better).  Are there "neat" and "cool" ways of talking about complex numbers for the first time, that are understandable by beginning precalculus students, but also interesting enough to capture their attention and provoke thought?


How to prove $\gcd(a-bc, b) =\gcd(a,b)$ for $a,b,c \in \mathbb{Z}$?

I'm not really sure how to approach the problem, since I'm not really sure I understand the mechanisms why it is true aside from putting some numbers in and see that it works.  Qualitatively, I'd try a proof by contradiction, trying to show that $\gcd(a-bc, b) \neq \gcd(a,b)$ and use some prime attribute to contradict the assumption.


How to configure Python Script to run as a daemon

I have a couple webservers sitting behind a loadbalancer, and i found "watcher.py" here:   I chose this script for several reasons: recursive through folders, lots of triggering options  Anyways, I will be using this to sync web content between load balanced servers. Is there a way to ensure that this script will run at bootup?


Moving commerce products from one domain to another

I'm the developer for a small online webstore - surfhq.co.uk. We've just moved a subsection of products (the bodyboarding products), off surfhq.co.uk on to bodyboardhq.co.uk to sell them there instead.  We didn't want to sell on both stores as search engines don't like duplicate pages - and bodyboardhq.co.uk has much better seo for bodyboarding - the site has been run as an active blog for sometime - we've only just added the cart.  My question is, should I be using a 301 redirect on the old product pages (sending users to the new pages on bodyboardhq.co.uk), or should I just serve up a 404 not found? Google search currently lists a lot of broken links (I've gone down the 404 route for fear that permanent redirects will result in one of our sites being penalised).  My question is not answered  where the 301 is to the home page and the products have been deleted. My products have been moved to another domain (the 301 would be to the product on the new domain). Also I'm concerned with the SEO effect on both domains.


How is this sentence formed: "The seniors make the freshers write practical files."

How is this sentence constructed?     The seniors make the freshers write practical files.


How to prove $e^{n}$ is irrational for $n=2,3,4,5,...$  where $e$ is natural logarithm constant?


Showing logical operations with query language

We are struggling with how to incorporate AND/OR logic amongst a list of filters in our user interface.  I know this question has been asked many times, but I'm trying to fit the logic addition into an existing UI without making too many changes.    Here is what we currently have:  A user can build a chain of filters by selecting a filter from a list of filters, and then specifying a range or possible values for it.  The user then sees their filter chain as follows:  - Filter1 between 0 and 0.5  - Filter2 in (value1, value2, value3)  - Filter3 not in (valueX, valueY)  - Filter4 in (Present)  These filters are all AND-ed by default.  Now, we want to support more complex logical operations amongst the filters, such as ((Filter1 OR Filter2) AND (Filter3 OR Filter4)).  The idea I've come up with is that most users might not use this advanced query functionality, and so this grouping operation should be hidden under an Advanced tab or modal.  When the user builds their filter chain and sees the 4 filters, they can then click on 'Advanced', which will open up a query box for them with the 4 filter names preloaded (the box will only show Filter1, Filter2, Filter3, Filter4, without their constraints).  The user will then be able to type around these text tokens to introduce (, ), AND, or OR, to group them in any way they like.  Is what I proposed intuitive at all?  Are there sites that have already tackled this problem, and what solutions have they come up with?  Thanks for all your help!


If $ \langle G, \star \rangle $ is an abelian group, then for all $a, b \in G$, show that $(a \star b)^{n} = a^{n} \star b^{n}$.  I am stuck at the first step, unable to figure out how to start. I am just beginning on group theory, and know that an abelian group obeys commutativity, associativity, has an identity element, and each element is invertible. I am unable to figure out how to apply this for the proof. Any hints on how I should get started?


Proving that the Empty Set $\emptyset$ is Unique Verification

I know that this question has been asked before, but I am presenting my proof for verification. I do not want anyone to give me a proof or suggest a better one; I only want to know if the following proof is legitimate.  Let $A$ and $B$ be empty sets. Let $U$ be the universe in which $A$ and $B$ abide. Clearly, $U = \overline{A}$ and $U = \overline{B}$. However, this implies that  $\overline{U} = \bar{\bar{A}} = A$  and $\overline{U} = \bar{\bar{B}} = B$. Since $\overline{U} = \overline{U}$, we conclude that $A=B$, that is, the empty set is unique.


C# exception anywhere in the application

i have a C# application that is crashing "stopped working" and i am not a C# guru. From what i saw on the internet, the main reason for a C# application crash is an unhandled exception (i don't know why you're not forced to use try catch in c# like in java). Is there a way to catch an unhandled exception that occurred anywhere in the application? Like in Main maybe? I don't really want to go through 50 classes and properly add try catch blocks.


Prove that prime ideals of a finite ring are maximal

Let $R$ be a finite commutative unitary ring. How to prove that each prime ideal of $R$ is maximal?


Can no longer enter comments on Stack Overflow with IE8, IE9, IE10

Starting about an hour ago: on Stack Overflow I can no longer enter comments (clicking add/show 4 more comments does nothing) and I can no longer get the Help menu to display (e.g., get to Meta).   I'm using IE8 on Windows 7 (similar problems have been reported on IE9 and IE10 as well), and no, I am not using Compatibility mode.   When I click comment nothing happens, except the browser page is redisplayed to show the top of the page. When I click Help in the top bar, nothing happens in Stack Overflow: no menu -- unless I am on my user homepage. When I click StackExchange in the top bar, instead of the drop-down menu, it takes me to a generic welcome page for StackExchange, which says "expert answers to your questions". I've tried logging out and back in, and even closing the browser and reopening it. I've tried deleting my browser cache.   I've tried clearing the browser cache and cookies for the StackExchange domain.   Behavior appears to be intermittent. If I go here:  and I reload the page, then the site switcher works momentarily. But if I then go here: , even if I reload the page, the site switcher no longer works (likewise comment).  Here is an image showing an error with IE10 on SU. The site kicks the browser into compatibility view (mode). I turn off compatibility view. It comes back on again... Then this. (I'm using Chrome to be able to post this now etc.)


In an mvc .net web application that uses forms authentication, how to know the current user identity in controllers?


Question. Is there a Hausdorff space $ X $ such that every Hausdorff space $ Y $ can be embedded into $ X^\Lambda $ (given the product topology) for some sets $ \Lambda $?  Concerning Tychonoff spaces, $ X = [0, 1] $ satisfies the condition; i.e., every Tychonoff space can be embedded into some powers of $ [0, 1] $. I wonder if there is a counterpart for Hausdorff spaces.  I tried to disprove the existence by proving that for every Hausdorff space $ X $ there exists a non-trivial Hausdorff space $ Y $ such that there are only a few continuous maps from $ Y $ into $ X $, but I got stuck.


Can we say say something is going somewhere if it was delivered?

Sorry for asking a stupid question. In this context: "A monkey holds a tortoise in his hand when going to the river." Can we say: The tortoise is going to the river? I think the tortoise was delivered, so technically, we can't say that "It was going to the river"... ??? Please, enlighten me!


Detecting Mouse clicks in windows using python

How can I detect mouse clicks regardless of the window the mouse is in?  Perferabliy in python, but if someone can explain it in any langauge I might be able to figure it out.  I found this on microsoft's site:   But I don't see how I can detect or pick up the notifications listed.  Tried using pygame's pygame.mouse.get_pos() function as follows:  import pygame pygame.init() while True:     print pygame.mouse.get_pos()   This just returns 0,0. I'm not familiar with pygame, is something missing?  In anycase I'd prefer a method without the need to install a 3rd party module. (other than pywin32  )


Wifi LED continuously blinking UBUNTU 14.04 and slowed connection

I can connect to my wifi fine, but when it is connected the led light to indicate if I am connected to the network keeps blinking. When I disconnect it stays solid. My network is hidden and has a MAC filter. I also want to add that I contacted my internet provider and ruled out them as a problem. Because my connection is 45 Mb/s wired but 16 Mb/s wireless. Where as when I had Windows 7 my average wireless speed was between 35 Mb/s and 40 Mb/s  Here is a summary of some of my specs on my hp pavilion dv6000  Processor  Processors Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz 800.00MHz Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz 800.00MHz Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz 800.00MHz Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz 800.00MHz   Network Interfaces Network Interfaces eth0 0.00MiB 0.00MiB lo 0.11MiB 0.11MiB virbr0 0.00MiB 0.00MiB wlan0 3.61MiB 0.69MiB -Computer- Processor : 4x Intel(R) Core(TM) i3-2310M CPU @ 2.10GHz Memory : 3994MB (1391MB used) Operating System : Ubuntu 14.04 LTS User Name : john (John Syzemore) Date/Time : Sun 20 Apr 2014 12:37:24 AM MST -Display- Resolution : 1366x768 pixels OpenGL Renderer : Mesa DRI Intel(R) Sandybridge Mobile X11 Vendor : The X.Org Foundation -Multimedia- Audio Adapter : HDA-Intel - HDA Intel PCH -  Input Devices- Lid Switch Power Button Power Button AT Translated Set 2 keyboard Razer Razer Naga Hex Razer Razer Naga Hex HP TrueVision HD SynPS/2 Synaptics TouchPad Video Bus HDA Intel PCH HDMI/DP,pcm : 3= HDA Intel PCH Front Headphone HDA Intel PCH Mic ST LIS3LV02DL Accelerometer HP WMI hotkeys -Printers (CUPS)- HP-Officejet-4620-series : Default -SCSI Disks- ATA Hitachi HTS54755 hp DVD-RAM UJ8B1


Why isn't this variable set after for loop runs?

I'm having trouble getting a variable that is modified during a for loop to retain the new value after exiting the loop.  So I have an array called 'outputP' that stores String values. Then I have a for loop with a nested if statement that checks to see if another String value matches one of the strings in outputP and then sets a value for the int variable 'visitCode.':   String[] outputP = { "SC", "BL", "V04", "V06" };   int index = folder.getName().indexOf("_R");  String[] split = folder.getName().substring(index +1).split("_");  subjectInfo = new String[]{folder.getName().substring(0,index), split[0], split[1]};   if (subjectInfo[0].charAt(0) != 'S'      || subjectInfo[1].charAt(0) != 'R'      || Arrays.asList(outputP).contains(subjectInfo[2] != true ){        //Code here outputs error message  }   int groupCode;  int visitCode = 0;   groupCode = Integer.parseInt(subjectInfo[1].substring(1));   for (int i = 0; i < outputP.length; i++)  {       if (subjectInfo[2] == outputP[i])       {            visitCode = i + 1;       }  }   During debugging I've verified during one run that outputP[0] and subjectInfo[2] are both "SC", when I step through the code, it skips over the if statement and visitCode is left equaling 0. I also included above that first if statement, because, it functions as you would expect it to, recognizing that subjectInfo[2] (which was set to "SC") is a string that is also in the outputP array. Does anyone see something that I'm missing that would cause the compiler to skip over the nested if statement?  Thanks in advance to anyone who can help.


In the 2009 film , British intelligence agent Archie Hicox is meeting a German spy in a tavern, but his unusual accent catches the attention of Gestapo officer Major Dieter Hellstrom. The two banter back and forth for several minutes, with Hellstrom attempting to catch Hicox in a lie. Finally, Hellstrom orders a bottle of scotch and asks Hicox how many glasses. Hicox orders three glasses, saying "Drei glasse", and holding up three fingers as he does so. After the drinks are delivered,      Hellstrom pulls his pistol under the table and states that Hicox just gave himself away. leading to a fast-paced shootout scene.   As far as I can tell, Hicox's use of German was correct, so I'm thinking perhaps the gesture of three fingers was behind the Major's behavior. After repeated viewings, however, the answer still eludes me.  What about the drink order alerted Major Hellstrom?


How to import interactions/tasks in Salesforce? (To where you can see who called and what they talked about from contact object)

Me and 9 other employees made calls to people who have donated this year thanking them for their donation. I have a csv file of all people that called, who they called, and what was said on the call. I would like to import these interactions into salesforce to the corresponding donor accounts. I did a test import of one of the interactions to make sure that it will be imported the way we want. I imported it into the "task" object with the task subtype as "call" and this is what it showed on the donors account(See photo 1). I would like the upload to look this way (see Photo 2). This example was done manually and not via an import. But, as you can see it shows who called and what they talked about as soon as you click on the account. It's not until I click the blue "Call" hyperlink button when I am only able to see who called and what was said on the call. I would like this information displayed as soon as I go to the account. Could someone please help me with this? Is this possible via importing or will I have to do each one manually?


Python detecting different extensions on files

How do i make python listen for changes to a folder on my desktop, and every time a file was added, the program would read the file name and categorize it it based on the extension?  This is a part of a more detailed program but I don't know how to get started on this part. This part of the program detects when the user drags a file into a folder on his/her desktop and then moves that file to a different location based on the file extension.


Why doesn't $\sqrt{ab}=\sqrt{a}\sqrt{b}$ work for $a,b<0$?

It seems that $\sqrt{ab}=\sqrt{a}\sqrt{b}$ is only defined for $a,b\geq 0$, because it doesn't work for $a,b<0$.  I can see that it doesn't work. I would like to know why it doesn't work. Is there a less circular reason than "by definition"?  This comes up in Khan Academy's  and wikipedia's  faulty proof:  $$ \begin{align*} -1&=ii\\ &=\sqrt{-1}\sqrt{-1}\\ &=\sqrt{(-1)(-1)}\\ &=\sqrt{1}\\ &=1 \end{align*} $$  They say $ii=\sqrt{-1}\sqrt{-1}$ is OK, and the faulty step is $\sqrt{-1}\sqrt{-1 }=\sqrt{(-1)(-1)}$, because $\sqrt{ab}=\sqrt{a}\sqrt{b}$ is only defined for $a,b\geq 0$.


'Only by defending against threats WILL YOU be able to carry out your strategies' - Position of "will"

I saw this sentence and thought shouldn't "will" be placed after "You" instead of before it?     Only by defending against your opponent's threats will you be able to successfully carry out your own strategies.


Can anyone please recommend a tool, preferably free, for designing a logo for a website?  The ones I've tried using make simple tasks feel very difficult. I want to be able to   use textboxes for translating words into pixels; import existing images; scale and move everything to fit together.


Show that one of these numbers is a Square

For any $a,b\in\mathbb{Z}$, show that at least one of the following values is a square in $\mathbb{Z}_p$ with $p$ prime Those values are: $a^2 -b^2$, $2(b-a)$, $2(-a-b)$. I tried multiplying, adding and substracting those values but I can't conclude anything. edit:  I forgot to mention that the numbers must be squares mod $p$