Trying to find a sci-fi short story - different perspective on devil and god

I am trying to find a sci-fi story I read in early 1980s sci-fi anthology. It was told from the perspective of snake/devil hiding from a megolomaniac God. Any leads much appreciated. It was written in the first person, from the view point of Satan. I remember him as a snake, hiding from a mad God who has convinced the world that light and sound are necessarily good and darkness and quiet are bad. It's kind of a rumination - I don't recall any actual action.


Java: collection that cannot be converted to List

In the following code I get an error saying that collection cannot be converted to List. Why not? I thought when the method saveObject is called the part  List e = c;   equals   List e = ArrayList();   because c - although of type Collection - refers to ArrayList in the end  Code:  import java.util.*; class Test { int i; Object prevObject; public void saveObject(List e) {     prevObject = e;     i++; }  public static void main (String[] args) {     Test t = new Test();     Collection c = new ArrayList();     t.saveObject(c);     } }


Change to default start folder for Windows command prompt

My new Windows XP work computer's command prompt automatically brings up "H:\>" when I open it.  Is there a way for me to change that safely?  Specifically, to "C:\foo\bar\Something Else"?  I found the method of changing the Autorun value through Google, but it came with a warning that it "might affect the functionality of batch scripts."  Bonus note: I was originally getting at this issue in , but I didn't ask very directly.  The answer I ended up accepting was really good, so I wanted to leave it there.


I recently installed ncurses and from then on I have been getting similar errors while trying to install new libraries  You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  lib64ncurses5-dev:i386 : Depends: lib64c-dev:i386   After I run apt-get -f install I hit another wall  The following NEW packages will be installed:   libc6-dev-amd64:i386 0 upgraded, 1 newly installed, 0 to remove and 548 not upgraded. 6 not fully installed or removed. Need to get 0 B/1,429 kB of archives. After this operation, 9,590 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 451168 files and directories currently installed.) Preparing to unpack .../libc6-dev-amd64_2.19-0ubuntu6.6_i386.deb ... Unpacking libc6-dev-amd64 (2.19-0ubuntu6.6) ... dpkg: error processing archive /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.6_i386.deb (--unpack):  trying to overwrite '/usr/include/gnu', which is also in package libc6-dev-i386 2.19-0ubuntu6.6 Errors were encountered while processing:  /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.6_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)


How do Starfleet personnel get credits or Latinum?

Quark's bar takes payment in Latinum; and perhaps, as discussed in  - in Federation "credits" (backed by something - not clear what). Now, in another discussion e.g. in , the mechanism of distributing Latinum or credit is supposedly not interesting.  Except - it's very interesting. Let's By what mechanism does a Federation subject, or military personnel ("Starfleet"), get either credits or Latinum? Is there a wage? An allowance? Savings?  Or - maybe they don't get them at all? i.e. maybe Quark logs orders then bills the Starfleet directly? I don't remember DS9 scenes with Starfleet personnel paying or settling their tab.


This is my data stored as Exist_eutran_freqs.csv:  120,1775 2984,1800 1942,2850 65,150 206,3050 8,1825 45,125   when I want to print them by below gawk command and switch the col1 and col2, I'm getting below output!  Command:  gawk -F'[,]' '{print $2,$1}'  Exist_eutran_freqs.csv   Output:   120  2984  1942  65  206  825  45   what is the solution for this?


Create a visual force Component with tags that require form to be used in page within form tags

I have run into a dilemma where I have a bunch of VF page markup and code that is to be used on Two different VF pages. I would like to put all of this code, javascript, etc into a component so it is easier to maintain. The problem,   Component uses VF components that require them to be children of an <apex:form> tag The component will be used on a VF page which has its own <apex:form> tags.  The location of the component is within a  tag so I cannot break up the main page form tags as the  will not be properly closed and other TDs have components that require them to be a child of a form.    Since a VF component that contains a form tag cannot be placed within form tags I cannot figure out how to do it.  Anyone have any wise advice?


Show that every positive integer is a sum of one or more numbers of the form $2^r3^s,$ where $r$ and $s$ are nonnegative integers and no summand divides another.   From:   I see they mean that:  $$n-1 = \sum_{k=1}^{x} 2^{r_k} 3^{s_k}$$  By induction hypothesis. Then:  $$n = \sum_{k=1}^{x} 2^{r_k} 3^{s_k} + 1$$  Then how to proceed by $n/2$? How can you say that:  $$\frac{n}{2} = \sum_{k=1}^{x} 2^{r_k} 3^{s_k} $$  Where did the $1$ go? And how can you assume it works for $\frac{n}{2}$ (the hypothesis)?


I'd like to change the font in the colorbox, i.e. the font for the chapter number, e.g. with \changefont{phv}{b}{n} but unfortunately when I add this command the size of the color box changes, too. Is there a way to prevent this form happening?  \documentclass[             fontsize=12pt,                              a4paper,                                                numbers=noenddot,                              headings=big]                             {scrreprt}  \usepackage[english]{babel} \usepackage[utf8]{inputenc} \newcommand{\changefont}[3]{ \fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}  \usepackage{color} %\usepackage{blindtext}   \usepackage[minionint,mathlf]{MinionPro}  \renewcommand{\sfdefault}{Myriad-LF}  % Define own Chapter style % Pretty chapter pages %------------------------------------------ \usepackage{soul} \usepackage{pdfpages} \usepackage{etoolbox}   \makeatletter \newsavebox{\feline@chapter} \newcommand\feline@chapter@marker[1][4cm]{% \sbox\feline@chapter{% \resizebox{!}{#1}{\fboxsep=0pt% \colorbox{red}{\color{black}\bfseries\sffamily\thechapter}% %--> \changefont{phv}{b}{n} }}% \rotatebox{90}{% \resizebox{% \heightof{\usebox{\feline@chapter}}+\depthof{\usebox{\feline@chapter}}}% {!}{\scshape\so\@chapapp}}\hspace{.4mm}% \raisebox{\depthof{\usebox{\feline@chapter}}}{\usebox{\feline@chapter}}% } \newcommand\feline@chm[1][4cm]{% \sbox\feline@chapter{\feline@chapter@marker[#1]}% \makebox[0pt][l]{% aka \rlap \makebox[1.07cm][r]{\usebox\feline@chapter}% }}     \renewcommand*{\chapterformat}{% \hspace{\leftmargin} \feline@chm[2.5cm] % Height of the colored box \hspace{1.0cm} }  \patchcmd{\@@makechapterhead}   {\size@chapter{#1}}   {\size@chapter{\parbox[b]{\dimexpr\textwidth-2.8cm\relax}{\raggedright#1}}}   {}   {}  \makeatother %------------------------------------------  \begin{document}   \chapter{Lorem ipsum dolor sit amet, consectetuer adipiscing elit} Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. \end{document}


In countless episodes of Star Trek incarnations, characters using the replicator for food state that "the replicator hardly does this justice", "this replicated [food item] never tastes quite right" all the way down to "why would you eat such replicated swill!"  So what is wrong with replicators? Based on my limited knowledge of the fictional device, the thing uses molecular definitions of food (or food components) and presents it. Does it add something to give it that certain artificial something to allow you to crave your Aunt's original recipe? Or are the people who say these things just food snobs?


Equal supremes in the open right half plane

I'm starting with Complex-Analysis and I'm struggling a bit with some exercises. I have $\Omega = \lbrace z\in C : Re(z)>0 \rbrace$ and $f: \bar{\Omega} \rightarrow C$ continuous and holomorphic in $\Omega$ with $\lim_{z \to \infty}\vert f(z)\vert =0$. What I have to prove is that $sup \lbrace \vert f(z)\vert : z\in \partial\Omega \rbrace = sup \lbrace \vert f(z)\vert : z\in \bar{\Omega} \rbrace$. I've tried with the Maximum Modulus Principle but I get nowhere with it, would be great if someone could just give me some tips to know how to start.


Convert English into predicate first order logic.

S(x), which stands for “x is a surgeon”  P(x, y), which stands for “x is a patient of y”  R(x), which stands for “x recovers”  H(x), which stands for “x is happy”  1Express, as a formula in first-order predicate logic (not clausal form), this statement S1: “A surgeon with no patients is happy.”   Express, as a formula in first-order predicate logic (not clausal form), this statement S2: “A surgeon is happy if all her patients recover.”    For the first one, I have my answer as: 1. ∀(x) ∃x. (S(x)∧ ¬P(y,x) → H(x))  For the second question, I have my answer as: 2. ∀(x) (H(x) → R(x))  Are these correct? If not, what are the answers?


What does "load" mean and what are the different types?

What are all the different types of "load" and what are the key important facts to know about each?


Get field translations in apex using integration

I am using a Partner WSDL and describe calls to get the fields from one salesforce org into other org. The objects and Fields are fetched, however I also want to get the translation for some of the fields.   Any help is appreciated


How can I rename a project folder from within Visual Studio?

My current solution for renaming the project folder is:   Remove the project from the solution. Rename the folder outside Visual Studio. Re-add the project to the solution.   Is there a better way?


Where did the slang word "basic" come from?

How did the word basic come to be used as slang for "the majority" or "the conformed." Where was it's first usage as such a word? Is it a new internet frenzy or has this word been used as slang before?


Calculating 3d polygons' surface area using ArcGIS Desktop?

I've got a polygon feature class with Z values enabled. The polygon entities represent billboards. I'm looking for a way to measure the front surface area of this entities - i.e the area of the billboards from one side.  Can I do this using a Geoprocessing tool?  Some snapshots    Polygon in ArcMap    Polygon in ArcScene


Upgrade to higher memory or faster processor on MacBook Air

I'm zeroing on buying the 2012 MacBook Air. My usage of the machine will be mostly for development work (MySQL, Eclipse, Xcode, Android, etc.). I will also be running Windows 7 with SQL Server in a virtual box or by using Boot Camp. My question is which upgrade will result in the most bang for the buck: more RAM or a faster processor? Does putting higher memory/processor make the machine run hotter?


I bought this with cash    I bought this by cash   The first one sounds idiomatic. But second one doesn't sound bad though


Is there any function in $L^2$ that is not integrable?

I know that there are functions in $L^2$ that are integrable but not continuous. Is there any function in $L^2$ that is not even integrable?


The Embassy of Finland gave me a visa valid from 10.10.2018 to 29.11.2018, but the  number of days is 50. When will I have to leave Finland?


How can I SSH with a remote server so I can browse files and edit them? I have a username and password to use.


I have this code  #!/bin/bash read num sum=0 i=1 while [$i -le $num]; do     let sum=$sum+1     let i=$i+1 done echo $sum   I am getting the error ./test: line 5: [1: command not found , but I am not sure what part of this is wrong and can not be found.


whenever i try to install chrome this gives dependency problem?

dpkg -i /root/Downloads/google-chrome-stable_current_amd64.deb Selecting previously unselected package google-chrome-stable:amd64. (Reading database ... 66306 files and directories currently installed.) Preparing to unpack .../google-chrome-stable_current_amd64.deb ... Unpacking google-chrome-stable:amd64 (81.0.4044.113-1) ... dpkg: dependency problems prevent configuration of google-chrome-stable:amd64:  google-chrome-stable:amd64 depends on libappindicator3-1.  google-chrome-stable:amd64 depends on libasound2 (>= 1.0.16).  google-chrome-stable:amd64 depends on libatk-bridge2.0-0 (>= 2.5.3).  google-chrome-stable:amd64 depends on libatk1.0-0 (>= 2.2.0).  google-chrome-stable:amd64 depends on libatspi2.0-0 (>= 2.9.90).  google-chrome-stable:amd64 depends on libc6 (>= 2.16).  google-chrome-stable:amd64 depends on libcairo2 (>= 1.6.0).  google-chrome-stable:amd64 depends on libcups2 (>= 1.4.0).  google-chrome-stable:amd64 depends on libdbus-1-3 (>= 1.5.12).  google-chrome-stable:amd64 depends on libdrm2 (>= 2.4.38).  google-chrome-stable:amd64 depends on libexpat1 (>= 2.0.1).  google-chrome-stable:amd64 depends on libgbm1 (>= 8.1~0).  google-chrome-stable:amd64 depends on libgcc1 (>= 1:3.0).  google-chrome-stable:amd64 depends on libgdk-pixbuf2.0-0 (>= 2.22.0).  google-chrome-stable:amd64 depends on libglib2.0-0 (>= 2.39.4).  google-chrome-stable:amd64 depends on libgtk-3-0 (>= 3.9.10).  google-chrome-stable:amd64 depends on libnspr4 (>= 2:4.9-2~).  google-chrome-stable:amd64 depends on libnss3 (>= 2:3.22).  google-chrome-stable:amd64 depends on libpango-1.0-0 (>= 1.14.0).  google-chrome-stable:amd64 depends on libpangocairo-1.0-0 (>= 1.14.0).  google-chrome-stable:amd64 depends on libx11-6 (>= 2:1.4.99.1).  google-chrome-stable:amd64 depends on libx11-xcb1.  google-chrome-stable:amd64 depends on libxcb-dri3-0.  google-chrome-stable:amd64 depends on libxcb1 (>= 1.6).  google-chrome-stable:amd64 depends on libxcomposite1 (>= 1:0.3-1).  google-chrome-stable:amd64 depends on libxcursor1 (>> 1.1.2).  google-chrome-stable:amd64 depends on libxdamage1 (>= 1:1.1).  google-chrome-stable:amd64 depends on libxext6.  google-chrome-stable:amd64 depends on libxfixes3 (>= 1:5.0).  google-chrome-stable:amd64 depends on libxi6 (>= 2:1.2.99.4).  google-chrome-stable:amd64 depends on libxrandr2 (>= 2:1.2.99.3).  google-chrome-stable:amd64 depends on libxrender1.  google-chrome-stable:amd64 depends on libxss1.  google-chrome-stable:amd64 depends on libxtst6.  dpkg: error processing package google-chrome-stable:amd64 (--install):  dependency problems - leaving unconfigured Processing triggers for desktop-file-utils (0.23-1ubuntu3) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for man-db (2.8.3-2) ... Errors were encountered while processing:  google-chrome-stable:amd64


How can I make this large number fit into my latex document?


The External Hard Drive fell and I can't access storage . Anyway to fix?

When I plugin the USB cable the device light is on.  A window pops up and says installing expansion after two to three seconds the        window gets closed. The portable drive is not shown in the disk management and in My computer. Portable drive is seagate expansion 1tb/USB 3.0


I have a pretty specific question, and have been able to find lots on conditional subsetting using awk but none that lends enough explicit code for me to generalize to my situation. I have a file 'keys' and a file 'features'. The 'keys' table contains two variables, KEY and GROUP, toy example below.      KEY        GROUP     ---        -----     1          GROUP0     2          GROUP0     3          GROUP1     4          GROUP1     5          GROUP2     6          GROUP2     The file 'features' contains a list of features of widgets like so      ID          FEATURE      VALUE     --          -------      -----     A           num_user     10     A           KEY          4     B           num_user     2     B           KEY          2     B           battery      Large     C           num_user     10     C           KEY          15     D           num_user     2     D           KEY          2     D           battery      Small     E           num_user     2     E           KEY          7     E           battery      Small   I am trying to select all rows for an ID which has a value of 'KEY' that is in the 'KEY' column of 'keys' for a hardcoded list of 'GROUP' values. The desired result is      ID          FEATURE      VALUE     --          -------      -----     A           num_user     10     A           KEY          4     B           num_user     2     B           KEY          2     B           battery      Large     D           num_user     2     D           KEY          2     D           battery      Small   Any ideas?


How long do I have to stay out of Singapore before returning for another tourist visit?

I am an Indonesian citizen. On May 29th I've returned from a 30-day trip to Singapore. I plan to visit Singapore again on the 13th of June for another 30 days.  Would this cause any problems at the border?


Fantasy series from the 80s about a world governed by a book of laws

I read a series in the 80s and am trying to figure out what the name was.  Here is what I can remember about it.  Starts out with a guy, think he is a truck driver, giving a lift to an old man.  Then a lady is picked up also, but she wasn't really part of the initial plan and is just an innocent bystander.  The old man has the truck driver drive him to a ferry that transports them to a leftover portion of Earth where fantasy creatures exist.  Since this world was just the leftovers of the Earth they had to write laws to govern how everything interacted.  The truck driver was brought by the old man to help save this alternate world.  When they make the crossing the truck driver is given a new body that is made from his thoughts, he is described as a barbarian that looks like Geronimo.  He has the body of a barbarian, but has to go through rigorous training to be able to use the muscles, since one of the laws is that nothing can be gained without effort.  I think the lady became a sorceress.  Later in the series his new body dies and he is brought back to life, but another law states that he can't have the body that died or his original body, so he comes back as the body he had when he was in the marines and around 22.  He also becomes a True Were later in the series so that he turns into whatever living thing he is close to when the full moon rises.  At one point he is suspended over a snake pit filled with snakes with silver nitrate venom.  The thinking is that the moon will rise and he will turn into a snake and fall into the pit with the other snakes and be bitten and die because of the silver nitrate.


I seem to be having a problem joining these 2 faces together on the letter A. This is not created using the text feature in blender, but an imported SVG file. I have limited dissolved the mesh to get to where I am now but I can't figure out how to merge these 2 together. Image attached. Any help is greatly appreciated!


What is the use of using star in python before code statement here

Running d = [{1,2,3,4}, {2,3,4}, {3,4,5,6,7}, {4,7,9}] set.intersection(*[x for x in d]) gives '4' but running set.intersection([x for x in d]) only gives error message saying "TypeError: descriptor 'intersection' requires a 'set' object but received a 'list'". What is the use of '*' here ?


issue on EPSON printer (Dot Matrix Printer)…?

our EPSON-DOT MATRIX printer.  not printing on DOS command  Type text.txt>prn text.txt file..??   But - it prints on open TEXT.txt>File>Print - it works perfectly.


The title says it all, more or less. Obviously, there are infinitely many "trivial" integral solutions of the form $p=n, q=(n!-1), r= n!$. How many non-trivial solutions are there?  I came across this about ten years ago; as far as I can tell, it hasn't appeared here before, so I thought that it might be of interest. I'm actually most interested in finding whether there was any progress made since


We know that the sun loses an amount of it's mass equivalent to the amount of energy it produces, according to the $E=mc^2$ equation. so the sun is losing mass every second. Does this affect the space-time curvature it creates. Or does this affect the distance between the Sun and the Earth. Does losing mass affects the gravity of Sun or other planets?


"That will have to" vs "Which will have to"

I am not really sure if this sentence is translated correctly into English :     Access keys have been researched and the implementation will be done in a future sprint, that will have something to do with GUI.    Is the use of the word "that" in this sentence correct? Can I, or should I, exchange "that" for "which"?


How to install Ubuntu server 12.04 on a new HP Microserver Proliant Gen8 G2020?

I am new to all of this.  I have just bought a new HP Proliant Gen8 G2020T microserver. I want to install Ubuntu 12.04 i386 version on the server. I have downloaded Ubuntu 12.04 on a USB from this link:   Is this the right version?  I have powered the server and I get an option of F9 or F10. Which one do I choose?  Could you please give me step by step instructions?  Your help is appreciated in advance.


Downloading OpenStreetMap data with street names and city attributes for ArcGIS Desktop?

I'm currently trying to download data from OpenStreetMap specifically from San Carlos, Venezuela. I'd like to take the OSM file and convert it to SHP for use in ArcGIS.   I've used geofabrik for other country's in the past, but Venezuela is not available for download. Exporting a bounding box of the city directly from OpenStreetMap, then using OpenStreetMap Toolbox to convert the OSM to SHP gives me the lines but it's missing street names and city. Ideally I'd have addresses as well, but I can live with just street names.  Is there any way to achieve this? Export all streets within a city from OpenStreetMap, then convert it to SHP with city and street name attributes?


Can you lose an ability if your reputation falls below a threshold?

For example, if your reputation starts above 50 and then falls below 50, do you lose the ability to leave comments? Or, are privileges forever, once earned?


What does the star mean in $\rightarrow ZZ^{(∗)}$? Z boson can neither be positive nor negative. "For masses above 130 GeV, Higgs-boson decays, H $\rightarrow ZZ^{(∗)}$, where each Z decays to a pair of oppositely charged leptons, would provide the experimentally cleanest channel to study the properties of the Higgs boson." Quoted from "The ATLAS Experiment at the CERN Large Hadron Collider"  page 2 or 3


Spinor field normalisation from poles in the propagator

In the theory of free scalar bosons (KG field) it is a basic result that the propagator $\Delta(p)$ has poles at $p^2=m^2$, with residue $1$ (or any other constant, depending on conventions). Thinking of $p^2$ as a variable is acceptable because it can be shown that the propagator is a function of $p^2$, even in the interacting case.  On the other hand, in the theory of free spinor fields (Dirac field), we can show that the propagator is not a function of $p^2$, but of $\not p$, so we can't use the $p^2$ trick. Conventions aside, the propagator is $$ S(p)=\frac{\not p+m}{p^2-m^2+i \epsilon} $$  It is clear that we cannot think of poles as $p^2\to m^2$, because $S(p)$ depends on $p$ in a non-so-trivial way. The usual solution is to think of $S$ as a function of $\not p$, as if $\not p$ was a number instead of a matrix, thus writing $$ S(\not p)=\frac{1}{\not p-m+i\epsilon} $$ and, again, we find a pole at $\not p=m$, with residue $1$. I think this is not mathematics. This is just nonsensical to me (may be I'm too skeptic, and we can give a meaning to this last formula).  In an interacting theory, we define the field strength normalisation $Z$ as the residue of the propagator at the poles: $$ \Delta(p^2)=\frac{Z}{p^2-m^2+i\epsilon}+\int_{M_\text{thresh}^2}^\infty \mathrm d\mu^2\rho(\mu^2)\frac{1}{p^2-\mu^2+i\epsilon} $$ $$ S(\not p)=\frac{Z}{\not p-m+i\epsilon}+\int_{M_\text{thresh}^2}^\infty \mathrm d\mu^2\frac{\not p\rho_1(\mu^2)+\mu \rho_2(\mu^2)}{\not p^2-\mu^2+i\epsilon} $$  Now, I don't understand what's the proper definition of $Z$ as a residue. In what sense is it a residue? What's the variable? I just can't accept it is a residue as $\not p\to m$. Do we really take this "think of $\not p$ as a variable'' seriously? Is it possible to formalise these matters, by thinking of a residue for an actual variable (as $p_0$)?  Perhaps the $\not p$ trick is just that: a trick, which may simplify calculations, but such that it can be shown that the actual result, found by a more standard procedure, is the same. Is this the case? If so, what is the correct procedure?  (I would really appreciate if the answers don't assume that we can boost to the rest frame of the particle, as I'd like it to be as general as posible. I want to take into account the possibility of $m=0$, so please don't boost into $k=(m,\boldsymbol 0)$ if it's not really necessary)


When I attempt to create an edge loop, it stops at the corner of the mouth. I want it to continue into the upper lip.      Does anyone know why this is happening?


A number theoretical problem related to inverse sum of divisors

If $n$ is a perfect number then its sum of divisors is $2n$. I would like to prove that $$\frac{1}{d_1}+\frac{1}{d_2}+\ldots+\frac{1}{d_{K}}=2$$  where $d_k$ are the divisors of $n$.


How to check branch was already merged to some other branch?

How to check branch was already merged to some other branch/branches and get a list of these branches?  Update:  Attached 'duplicate' answer is about how to check which branches merged to a specific branch, i.e. knowing the name of the branch git branch --merged <my_branch_name> but I want the opposite: a list of branches where a specific branch was merged into.


Has anyone applied for Schengen Visa from a country where they've been in for less than 3 months?

I'm on exchange in the UK for 9 months and have only lived here for a month right now. I was planning to travel around Europe during Christmas. (I have a Chinese passport and have lived in Canada for 5 years before this and am going back to Canada after the exchange term if that's relevant)   I understand they require the applicant to be in the UK for at least 3 months but that would be a bit late for Christmas break.   According to ,     To apply for a Schengen visa from the UK you must be a UK resident for at least three months. If this condition is not fulfilled, the Consulate of your country of preference will hardly take the application into consideration.   It only says "hardly considered" but didn't say it'll definitely be rejected. I think I have pretty good reasons to apply from the UK but not sure if it's worth a try.   So I was wondering if anyone has ever got a Schengen visa from a country where you've lived in for less than 3 months or has been in a similar situation?


Difference between meta keys with _ and without _

In wp_postmeta table I noticed that some of the keys are with '_' (underscore) prefix and and some are without _   What is the major difference between these fields and how they can be used while theming ?  Is there any special use of fields with _ ?  Most of the plugins used this approach to create meta keys but there is not codex on wordpress regarding meta key naming, its not sure if there is any technical difference between these key names.


How to make /user show registration form by default?

When anonymous users go to /user, i would like to show the registration form instead of the login form, or just redirect to /user/register. I couldn't find anywhere how to do that...


Certified Sales/Service Consultant - Prerequisites

Can someone tell me what is the prerequisite for Salesforce Sales Cloud/Service Cloud Consultant certifications ?.  I have completed DEV 401 but I am unable to register for Sales/Service Cloud certification examinations.  The webassessor is complaining that I have not met prerequisites but does not provide the information as to what those prerequisities are.


UK visa (of any kind) good enough for travelling to Dublin?

I have a Indian passport and a UK ICT Tier 2 Visa valid through April 2016. Do I need a separate visa to visit Dublin in March?


Avro Bengali keyboard switches to Malay (Jawi) after upgrade to Ubuntu 17.04

I upgraded one of my machines to Ubuntu 17.04. May be it is related, may be it is not, but for this machine,  switched to Malay (Jawi) after upgrade.   My other two machines, running Ubuntu 16.04 are working fine.  Please see these self explanatory screenshots.      I tried removing and re-adding the keyboard, uninstalling and  the keyboard without any avail.   Whenever, I switch to Avro keyboard, I get texts in Arabic.


Expansion of the universe in "everyday life"

According to  the universe is expanding with 75km/1Mpc/1s (megaparsec), which comes down to $\beta=2.43\times10^{-18}/s$, a relative rate per second.  To put this in perspective: The average distance between Earth and Sun is $149\,600\,000\, km$. Multiplying this by $\beta$ and one year, I get roughly $11.5\,m$, which means every year the Sun moves away from earth by over $11\,m$ on average, just because of the expansion of the universe (amazing enough as to think I messed up the orders of magnitude, so please check). But this is not the point. I would like to understand the nature of this expansion better.  Questions    the expansion could be measured in principle with a ruler, say a piece of metal of a given length. Is that really true or does the space inside the ruler expand with the same rate such that by counting how often the ruler fits between Earth and Sun, we would see no difference? What if we measure instead with a beam of light (ignoring relative motion for the moment) and measuring how long it takes to bounce back from Sun. Will the time be longer or is space rather like a checker board on a rubber sheet and independent how large you stretch the sheet, 8 rectangles are 8 rectangles and the light moves from rectangle to rectangle, not noticing that they are all stretched out. In (2) above, what would be the right way to measure time anyway? Let a beam of light bounce between two mirrors and count? Huh, but the distance between the two mirrors expands also, while one beam of light goes to the Sun and back, the bouncing one bounces always the same number of times independent of how much space is stretched between to measurements.   3 questions in one post may be a bit too much, so a general explanation how the expansion of space relates to (a) the size of physical objects, e.g. the typical diameter of atomic particles (1) above, and to (b) speed, wave length and frequency of light would be great.


Manually add lat and lon to ArcGIS Interactive Rematch

I have a spreadsheet full of addresses to geocode in ArcMap 10.  I've added the spreadsheet to the map, then started to geocode them via the context menu's "Geocode addresses" item.  Many were matched automatically, and most of the unmatched I've been able to resolve within the Interactive Rematch dialog. But I have a handful of addresses where I get no result at all.  I can, however, locate these points on Google Maps, and I can get the latitude and longitude that way.  How can I enter that data into the table to locate the missing points?  I have tried editing the data and putting the lat/lon values into the X and Y columns, (via Edit Features -> Start Editing, then Open Attribute Table on the context menu).  But when I Flash the point, I don't see it.  The lat & lon are consistent with the other data points on the map (i.e., not swapped, and using the correct sign).  How can I add the points to the table?


A page(p1) has a link to another page(p2). I want to access the links present in P2 from P1

Welcome to My Homepage

         To see Carnaval history:  http://carnaval.amazon.com/v1/viewHistory.do?type=monitor&amp;name=PyOP.EU.MPQS...          To see Carnaval snapshot: http://carnaval.amazon.com/v1/viewSnapshot.do?timestamp=2018-05-17+22%3A40%...
     I can access the href of this page using   var oLink = document.getElementById('details_readonly').getElementsByTagName("a"); var i, len = oLink.length;  for( i = 0; i < len; i++ ) {     var li= oLink[i].getAttribute('href');                   if(oLink[i].innerHTML.indexOf("viewSnapshot.do") != -1 ) {         //...get document of the link    } }   However, now I want to access the document(and its hrefs subsequently) of the link identified at "//...get document of the link"?  Is it possible using javascript, if yes how?


What are the basis for co-countable and co-finite topologies

I have just learned co-countable and co-finite topologies  But it was never mentioned what are the bases for these topologies and I cannot seem to find any reference to it anywhere.  For example, in the standard topology $\tau_{standard}$ on $\Bbb{R}$, a basis is $\mathcal{B} = \{(a,b) \subset \Bbb{R} | a, b \in \Bbb{R}\}$  Is there something similar for those topologies?


This sounds silly, but is there a way to find out how to obtain a secret hat? I have 2 secrets hats and I really want to know how I got them. All it says is the community I earned it on. Hopefully in the future, maybe once we obtain a secret hat, we'd be able to learn how we got it? I know once someone knows they'd most likely tell others how to get it? Is there already a way to check how you got a secret hat?


How to integrate $\int\frac{\sqrt{1+x^2}}{x}\,\mathrm dx$

I want to know how to integrate  $$\int\frac{\sqrt{1+x^2}}{x}\,\mathrm dx$$  Could anyone solve it?  Thanks


Why Memory size is less than the one Specified on Memory Storage Devices?

I have 4GB Pendrive, but I observed that it actually shows only 3.7GB as a total free memory when the pendrive is completely blank.  In the product specification, it is always specified as 4GB, 8GB etc. but actually it is less than that. Anybody please explain me the reason behind it?


Are there any naturally occurring perfect circles?

Given that $\pi$ is the irrational number that occurs with a perfect circle, and perfection is very difficult to achieve through chance or nature, I think that most circles are really ovals, and imperfect.     Are there any proven naturally occurring objects, behaviors, movements, that have been so highly correlated with the irrational number $\pi$, that it can be assumed the underlying property is also a perfect circle?


Create variables and assign values via loop (bash)

Is there a way to create bash variables and assign them values via a loop?  Something along the lines of:  #!/bin/bash  c=0 for file in $( ls ); do     var"$c"="$file";     let c=$c+1; done   EDIT: Thank you to @Costas and @mdpc for pointing out this would be a poor alternative to a list; the question is theoretical only.


Anytime I got to update my system or install a new theme into unity-tweak tool the error message: "cannot find repositories" appears.  I have heard about solutions through making changes in the .list files, and solutions saying to create a new etc file. I do not know how to go about these procedures. Can anyone help?


My template draft1.tex is as follow:  \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{comment} \usepackage{tikz-feynman}  \usepackage{graphicx,epstopdf,epsfig,xcolor} \usepackage{geometry} \geometry{left=2 cm,right=2 cm,top=2 cm,bottom=2 cm}  \usepackage[backend=biber]{biblatex} \usepackage{hyperref} \hypersetup{       colorlinks=true,       linkcolor=blue,       filecolor=magenta,             urlcolor=cyan,     } \urlstyle{same}  \begin{document} \section{Introduction} \feynmandiagram [horizontal=a to b] { i1 [particle=\(e^{-}\)] -- [fermion] a -- [fermion] i2 [particle=\(e^{+}\)], a -- [photon, edge label=\(\gamma\), momentum'=\(k\)] b, f1 [particle=\(\mu^{+}\)] -- [fermion] b -- [fermion] f2 [particle=\(\mu^{-}\)], };      One of the alternative approach to solve hierarchy problem is \cite{ADD} model which introduced by Arkani-Hamed, Dimopoulos and Dvali. \begin{thebibliography}{9}     \bibitem{ADD}     N. Arkani-Hamed, S. Dimopoulos, and G. Dvali, Phys. Lett. B 429, 263 (1998);     preprint \href{https://arxiv.org/abs/hep-ph/9807344}{hep-ph/9807344}. \end{thebibliography} \end{document}   After  running xelatex draft1.tex  Package tikz-feynman Warning: LuaTeX is required if you wish to have vertices a utomatically placed. You can disable this warning by setting /tikzfeynman/warn  luatex=false on input line 21.   Package tikz-feynman Warning: Consider loading TikZ-Feynman with \usepackage[co mpat=1.1.0]{tikz-feynman} so that you can be warned if TikZ-Feynman changes. on  input line 21.  *geometry* driver: auto-detecting *geometry* detected driver: xetex No file draft1.bbl. (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty)) (./draft1.out) (./draft1.out) (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/se-ascii-print.def)  Package tikz-feynman Warning: The key you tried to use '/tikz/horizontal' requi res LuaTeX. It will be ignored. on input line 23.   Package tikz-feynman Warning: The key you tried to use '/graph drawing/node dis tance' requires LuaTeX. It will be ignored. on input line 23.   Package tikz-feynman Warning: The key you tried to use '/graph drawing/level di stance' requires LuaTeX. It will be ignored. on input line 23.   Package tikz-feynman Warning: The key you tried to use '/graph drawing/sibling  distance' requires LuaTeX. It will be ignored. on input line 23.   Package tikz-feynman Warning: The key you tried to use '/tikz/graphs/spring lay out' requires LuaTeX. It will be ignored. on input line 23.   Package tikz-feynman Warning: The key you tried to use '/tikz/horizontal' requi res LuaTeX. It will be ignored. on input line 23.   LaTeX Warning: Citation 'ADD' on page 1 undefined on input line 31.  [1] (./draft1.aux)  LaTeX Warning: There were undefined references.   Package biblatex Warning: Please (re)run Biber on the file: (biblatex)                draft1 (biblatex)                and rerun LaTeX afterwards.   ) Output written on draft1.pdf (1 page). Transcript written on draft1.log.   And the outcome pdf is like this   How can I use package tikz-feynman and biblatex properly?


Three Rings for the Elven-kings under the sky,   Seven for the Dwarf-lords in their halls of stone,   Nine for Mortal Men doomed to die,   One for the Dark Lord on his dark throne   In the Land of Mordor where the Shadows lie.   One Ring to rule them all. One Ring to find them,   One Ring to bring them all and in the darkness bind them   In the Land of Mordor where the Shadows lie.   In-universe, who composed this, and when?  It should be Sauron, since the poem is on the One Ring. But at the time of its forging, the "lesser" rings had not yet been given to the Men and Dwarves (since Sauron himself gave it to them after retrieving them from the elves of Eregion).


How to properly add resources to a java eclipse project

have a project in java(a pacman game) which uses some external files, for example a .txt for the level design and some images for the pacman and ghosts. Right now i have them all under the  and access them as follows:  Scanner s = new Scanner(new File("level1.txt"));  image = ImageIO.read(new File("PM0.gif"));   The project works fine if i run it through eclipse, however when i export it to a .jar executable it wont load any file properly. What is the simplest way to have these resources properly packaged and loaded? I am new to java programming(this is my first project) and i got very confused from some previous answers to this question(and none of them worked).


So I have a pointer to an array of pointers.  If I delete it like this:  delete [] PointerToPointers;   Will that delete all the pointed to pointers as well?  If not, do I have to loop over all of the pointers and delete them as well, or is there an easier way to do it?  My google-fu doesn't seem to give me any good answers to this question.  (And yeah, I know I need to use a vector.  This is one of those "catch up on C++" type assignments in school.)


ubuntu 13.10 does not work how can I return to ubuntu 13.04?

I recently intalled ubuntu 13.04, which I liked very much, and after a while a window appears asking to upgrade to ubuntu 13.10, which I did. After re-starting computer, ubuntu did not work! I would like to return to 13.04. How can I do that. I would like to remove ubuntu 13.10 from grub.


Issue creating bootable USB using dd command

It's a while that I'm trying to create a bootable USB drive with a Windows on it. I first tried with Unebootin unsuccessfully, I reckon the reason is the fact that the last version doesn't support any more the "show all drivers" option, which was necessary for the application to recognize USB drives formatted to ntfs using Gparted.  And apparently to create Windows bootable USB drives the ntfs format is required, otherwise it won't boot...  Then I've tried, carefully following the instructions that I've picked up on the internet, to do it on the terminal using the dd command. But then again, so far no luck.   Here's the details:  dd if=/home/GIGI/Windows/Windows.iso of=/dev/sdb1 ibs=4b obs=1b conv=notrunc,noerror   But here what the terminal then prompts:  dd: failed to open ‘/dev/sdb1’: Permission denied   What permission? Anyone can help telling me what I'm missing?


how to get this regular expression in python

I have this string:  Sat Apr 18 23:22:15 PDT 2009   and I want to extract   23   what should I have for it ? something like \d\w


Proof of general Euclid's Lemma in a UFD (by Euclidean algorithm?)

Let $A$ be a UFD. Assume that $a,b \in A$ are relatively prime, $c \in A$ and $a | bc$. To prove that $a|c$, is the following approach correct (or do you have to use some type of prime factorization argument)?  By the relatively prime assumption, $\gcd(a,b)$ is a unit. Call that unit $u \in A^{\times}$. Then we can write $u = ax + by$ for some $x,y \in A$. But then, $c = c \cdot u = c(ax+by)=cax+cby$. However, it is clear that $a|cax$ and the fact that $a|bc$ implies $a|cby$. Thus, $a|cax+cby=c$.


2 Internet Explorer (32 bit) processes taking up CPU

I am running Windows 8.1 N Pro x64 and there are 2 Internet Explorer processes that must be for 32 bit. It stays there even if Internet Explorer is closed. I tried ending the processes but they just come back. I run a x64 Internet Explorer. How can I stop those processes?


Recently I installed some software and uninstalled it. After that, the following pop window always show up when my desktop starts. I am using Win8. Could anyone tell me how to locate this bad start up item?


It's common enough for a type of magic to be described in fantasy as *-mancy: Arithmancy in Harry Potter, Astromancy in Warhammer 40k, etc. that picking a Greek or Latin root and adding -mancy is generally understandable as a magical discipline - dendromancy would be some type of magic related to trees, just as necromancy is death magic  The suffix -ology, to me at least, carries connotations of a more mundane, scientific approach to the study of the field.   Are there other suffixes that carry magical connotations?


Prove that:  {$f_n$} converges unifromly to $f$ on $E$ as $n \rightarrow \infty$ if and only if $\lim_{n\rightarrow \infty} ||f_n-f||_u = 0$  I don't understand the approach for the Forward proof.  My approach is:  By definition, for $\epsilon > 0$, there exist $N \in \mathbb{N}$ such that $|f_n(x) - f(x)| < \epsilon$; hence, the smallest upper bound should also be less than the $\epsilon$ (i.e., ${sup}_{x \in E}|f_n(x)-f(x)| < \epsilon$). Thus, $\lim_{n\rightarrow \infty} ||f_n-f||_u = 0$.  However, the solution uses $\frac{\epsilon}{2}$ as the following:     $|f_n(x)-f| \leq {sup}_{x \in E}|f_n(x)-f(x)| < \epsilon $      ${sup}_{x \in E}|f_n(x)-f(x)| \leq \frac{\epsilon}{2}$      ${sup}_{x \in E}|f_n(x)-f(x)| \leq \frac{\epsilon}{2} < \epsilon$   Hence, $\lim_{n\rightarrow \infty} ||f_n-f||_u = 0$.  Why?


Probability for at least one of each result if rolling a d-die at least d times?

Let's say that we have a die with $d$ sides. Now we roll the die $n$ times where $n>=d$. What is the probability that we get at least one of each possible results?  I started reasoning like this. The first die does not matter at all, since it will yield a result not taken by any previous dice. The second die have two options. Either it yields the same result as the first, and then the third die will face the same situation as the second die did. The other possibility is that it yields a different result, and in this case the third die will have three different options. But here I got stuck. Well, I could calculate it for a specific case, but would take a very long time of brute forcing when the numbers increase.  I also tried calculating the possibility of NOT getting one of each, but I got stuck there too.  I found out that the probability when throwing exactly $d$ dice is fairly simple. It will be $(d/d)((d-1)/d)$...$(2/d)(1/d)$. So I started to try to find what happens when you increase $n$ by one, but I also got stuck.  Please help. It's not homework. I just started wondering, and it was a couple of years since I did this kind of math.


I want to change these filenames  download (19).download ... download (27).download   to   download (19).html ... download (27).html   I run unsuccessfully  mv *.download *.html usage: mv [-f | -i | -n] [-v] source target        mv [-f | -i | -n] [-v] source ... directory   How can you change the filename? I think I need a regex here probably.


Unable to set DYLD_FALLBACK_LIBRARY_PATH in shell on OSX 10.11.1

In shell scripts used for unit testing with dynamic libraries in a directory other than the typical @rpath, I have previously been able to set DYLD_FALLBACK_LIBRARY_PATH to set the directory containing the libraries. Under 10.11.1, bash seems to ignore attempts to set this environment variable:  $ sh -x testscript.sh + DYLD_FALLBACK_LIBRARY_PATH=/Users/something/testinglibs + export DYLD_FALLBACK_LIBRARY_PATH + exec printenv   and DYLD_FALLBACK_LIBRARY_PATH is not present in printenv's output.  Is this a security-related hack in 10.11's shell? I haven't been able to find this change documented in man pages or online.


Why didn't my helpful flag result in the reopening of my question?

Some days ago, I asked a  which got 4 down votes and further put on hold by mr.  citing the reason that it was too broad and answers would be apparently very long not suitable for this platform.   I tried to improve the question, and made it more specific and then I raised a flag. The flag was marked helpful but question didn't reopen.   I don't quite understand how will it reopen, I assume that some moderators will vote to reopen it, but why? I guess they don't have that much time.   What should I do now? One guy suggested me to delete my question but I have read that deleted post move towards an automatic ban.   Just locked, shocked and stuck. I would appreciate if anyone helps me out.


What is the difference between a Service and a Process?

From a unix admin standpoint what is the difference please between those terminologies : Service, Process, Thread, Task, Job, Daemon ?


Probability of the sum of three random variables being less than 1

Given three Uniform random variables between 0 and 1, $(x,y,z)$, that are i.i.d., what is the probability $x+y+z < 1$?


Derivative of $a^T X^{-1} b$ with respect to $X$

Given $a^T X^{-1} b$, where $a,b$ are $n\times 1$ vector, $X$ is $n \times n$ matrix. It is easy to see that $\frac{\partial a^{T} X b}{\partial X}=ab^{T}$, but what is $\frac{\partial a^{T} X^{-1} b}{\partial X}$? If I do this $\frac{\partial a^{T} {X^{-1}} b}{\partial X}= \frac{\partial a^T X^{-1} b }{\partial X^{-1}} * \frac{\partial X^{-1} }{\partial X}$, what is $\frac{\partial X^{-1} }{\partial X}$? Any hint?


I need to validate an XML file with a given XSD file. I simply need the method to return true if the validation went fine or false otherwise.


Make Windows 7 ignore WiFi when ethernet is available

When I dock my Windows 7 laptop, I want it to prefer the wired ethernet connection over WiFi.  This is a pretty straightforward thing to do on my Mac - I just reorder my network preferences, and it "does the right thing." I just can't figure out how to achieve the same thing on my Win7 laptop.  So, when I'm docked, it connects to WiFi, and then fails to connect to servers on the local wired network. How do I fix this?


Why does Harry Potter 6 look like it does?

In a recent Collider podcast the hosts were discussing O Brother Where Art Thou?, and mentioned the cinematographer using (I think), a "digital intermediary" which made the sepia tones.   It was then mentioned that the same method gave HP6 its look, and inferred that this caused consternation on the part of the studio.  Can someone explain the filming technique and how it was received by Warner Bros?


How can I modify a USB cable with a voltage-divider to provide 3V?

I want to power a small device, that normally uses 4 AA/R6 batteries arranged in 2 pairs (so the device requires about 3V DC and drains probably 100mA or less).   Is it possible to cut an old USB cable, keeping the type-A connector to plug into an adapter or a computer, and solder the +5V and GND wires to a couple of components (to divide the voltage) then to the + and - of the battery compartment of the device?  The  suggests to avoid resistors to divide voltage. Is is still the case in the above example ? Is there another simple solution?


Stop form refresh not working, on change event

I try to stop the refresh on my form when I use the change event.  JavaScript:  $(function() {      $("input[type='file']").change(function () {         console.log("on change ok");          $("#modifier").submit(function (e) {              console.log("on submit ok");             /*                treatment             */             e.preventDefault();             return false;         });     }); }    HTML:  <form action="" method="POST" enctype="multipart/form-data" id="modifier" >     <input type="hidden" name="action" value="test" />     <input type="file" name="upload" /> </form>   When picture is uploaded (input[type='file']), I'd like to submit it but I don't meed to refresh my page and do some treatment.


Icons in Unity Panel showing incorrectly in Ubuntu 16.10

The Slack and WebTorrent Desktop apps usually have nice top bar icons but sometimes they appear like so:    Is there a way to solve this problem?


Cant boot from windows 8 after installing Ubuntu 13.04

i installed Ubuntu 13.04 as a dual boot on my samsung series 5 (NP353U4C) which came with windows 8 pre-installed. The problem is that i can't boot from windows 8 (loader) any longer, it just give me an error. I'm new to linux and i really need help to get the two working together urgently please.


I want to pull a file from the gitlab and add a sentence to it and then push it. However, I am not sure how to do it. How do I pull the project which is uploaded on gitlab and append a sentence to a file, then commit the change and push the commit to the server?


Cron appears to run but doesn't execute in the same way as when run manually from the terminal

I have a php script that connects to an external API returns some data and updates a database table. I can run this directly via my command line / SSH terminal and it works fine (takes about 5 minutes to complete).  Using crontab I have 'cronned' this script so it runs every three hours using the command below:  0 */3 * * * /usr/bin/php /var/acme/cron/api_update_db.php   Using the syslog I can see that this cron has run, but it would appear that the cron is actually running every three hours as expected however the database doesn't appear to have been updated? But when I run the exact same script manually myself by navigating to that directory & entering the following it runs (and updates the DB)  php api_update_db.php   Would there be a reason for this executing differently when running from the cron job then when run manually from the terminal (which appears to work).


How to /give a named item in Minecraft PE

I need to now how to give a player a named item with commands. I have tried it already on PC, and it works, but it does not work in PE.


Consider the simple phrase “This bottle contains a bee”, is there a single word that would fit the formulation of “This bee [someword] a bottle”?  This is for a taxonomy of edges in a graph where a node might mention another node and that mention can be classed as a particular type. For “contains” the mention could occur at either end of the edge (e.g. “France contains Paris”, or “Paris [someword] France”).  This is subtly different from equivalence establishing mentions where the edge classification means the same in both directions. For example: “France is Bacon” implies “Bacon is France” (as well as an ignorance of late 16th C history).  Some examples to work from:   This bottle contains the bee; The bee ____ this bottle. Europe contains France; France _____ Europe. France contains Paris; Paris _____ France. The forest contains the temple; the temple _____ the forest.


Unmet dependencies installing SWI-Prolog

When trying to download SWI-Prolog using sudo apt-get install swi-prolog, I got a series of errors:  Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libpython3-dev : Depends: libpython3.5-dev (>= 3.5.1-2~) but it is not installable python3.5-dev : Depends: python3.5 (= 3.5.2-2ubuntu0~16.04.4) but 3.5.2-2ubuntu0~16.04.3 is to be  installed              Depends: libpython3.5-dev (= 3.5.2-2ubuntu0~16.04.4) but it is not installable              Depends: libpython3.5 (= 3.5.2-2ubuntu0~16.04.4) but 3.5.2-2ubuntu0~16.04.3 is to be  installed swi-prolog-nox : Depends: libossp-uuid16 but it is not going to be installed               Depends: libreadline7 (>= 6.0) but it is not going to be installed               Depends: libssl1.1 (>= 1.1.0) but it is not going to be installed               Depends: libedit-dev but it is not going to be installed               Depends: libgmp-dev but it is not going to be installed               Depends: libncursesw5-dev but it is not going to be installed               Depends: libreadline-dev but it is not going to be installed               Recommends: debhelper but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   I did try apt-get -f install, which threw the errors:  Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... failed. The following packages have unmet dependencies: libpython3-dev : Depends: libpython3.5-dev (>= 3.5.1-2~) but it is not  installable python3.5-dev : Depends: python3.5 (= 3.5.2-2ubuntu0~16.04.4) but 3.5.2-  2ubuntu0~16.04.3 is installed              Depends: libpython3.5-dev (= 3.5.2-2ubuntu0~16.04.4) but it is  not installable              Depends: libpython3.5 (= 3.5.2-2ubuntu0~16.04.4) but 3.5.2-  2ubuntu0~16.04.3 is installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by  held packages. E: Unable to correct dependencies   I also have the same problem(s) when doing a full update using sudo apt-get update or upgrade.  How can I fix these errors?  Thanks!


So, I made this mesh with a lot of cubes    Is there any way to fuse them (besides Ctrl J)? Because when I smooth them, it smooths all the blocks and it looks weird


I am a complete and utter noob at using ubuntu and linux in general (I literally just put it on my second harddrive yesterday). I would like to get OriginEA onto my computer so that I can play games. I already have steam because there was an app in the software center. But EA doesn't have a compatible version. I already have wine, and when I downloaded the installation file, I right clicked it and hit run with wine. I had already installed it wrong so I reinstalled it. Now when I click on origin both on the taskbar and desktop, nothing. It flashes like it wants to load. I need to know everything I have to do to fix this! (also any info that would help me in the future with installing incompatible software would be great!)


How to symbolize features with NULL values in graduated symbology?

I have a polygon feature dataset, and an attribute from a different table that I join (one-to-one) within QGIS in order to symbolise the attributes as a choropleth map. However, not all polygon fields have a matching field in the table of numerical attributes, so there are some null values when producing the graduated symbology.  From my research, the most common piece of advice in this situation is to include a copy of the polygon dataset (or some other background) that defines a default symbology. This works because the null values are not classified in the graduated symbology, so one can see "underneath" them. I have attached an image of exactly this. The dark grey features do not exist in the join table (mb_percentile_isochrones_all), but do exist in the boundary polygons table (mb2013_wgtn). So I need two instances of the mb2013_wgtn table in order to show the "no data" features.    However, this does not seem elegant to me. Much more intuitive would be to define a null value symbol. Perhaps this could be perfectly transparent to be consistent with what currently exists, or perhaps it would be some kind of muted grey—whatever the user wants. The point is, at present one needs two different layers in the contents in order to handle the symbology of null values. This means that to change the symbology of all your features at the same time (say, if you want to increase the width of all borders), this has to be handled twice: once in the properties for the feature with the graduated symbology, and once for the "background" layer that handles the null symbol.  Is it possible to define a "null" value symbol without using a "copy" of the same layer used for the graduated symbology, in QGIS (2.6.1)?


Exporting features with attachments for use outside ArcGIS?

ArcGIS 10 features the new ability to  to feature classes stored in a geodatabase. One use of this would be to add multiple pictures to a specific location,  seem to be a popular example (important to know if you're a dog on the internet in need of a pit stop I suppose).  In the database the structure of an attachment enabled feature class is trifold:     the feature class itself,  a table holding the attachments and associated metadata (filename, size, etc), and  a relationship class defining the 1-to-many relationship between the two.     My question is: how to export this data -- feature class, attachments, attachment metadata -- for consumption outside of Arcgis?*  Exporting the FC is easy, FeatureClassToFeatureClass works the same as on a non-attachment enabled FC. Exporting the table of attachments? Not so much. TableToTable to output.dbf extracts the attached file metadata only, to output.csv errors out with unsupported field type, and to output info table fails with a general field error.   This isn't all that surprising as those file types don't support a binary blob datatype. I was expecting/hoping to find a tool which would convert the attached binaries into their native format, e.g.    So, how about it? What do I need to do to get the data out?  * ironically my project of the moment which spawned this Q is to export for use within Arcgis, just not Arcgis Desktop...


How to disable desktop Chrome inline auto-complete?

This is when you type "the" and suddenly "the thing I was looking for yesterday" shows up in the address bar so that when you hit Enter it searches for the thing you searched for yesterday not the thing you want today.  I can't find the option to disable this. Disabling Settings > Advanced > Privacy > "Use a prediction service to help complete searches and URLs typed in the address bar" doesn't disable it. That's for something different.  I've looked through the questions/answers here and Google's bug reports (which they've conveniently disabled comments for), and not seen the one comment that maybe Google hasn't considered (or other users haven't mentioned):  This feature is the primary reason I use Incognito for many searches (making Google's search engine less useful to their bottom line and my surfing habits and their ad targeting); because my one-offs or two-offs I needed at the moment don't auto-populate in the search bar causing me to hit Enter on an unintended search or have to hit Backspace to delete the useless text.  I can't comment on any of the questions/answers/comments here (reputation not anywhere near high enough) so I'm leaving this one tidbit to see if anyone else is in my same scenario or has since discovered a tweak to disable this annoying and counter-productive (even to Google and its developers) feature.


According to the C++ Primer 5th Ed by Stanley Lipp:     The standard also reserves a set of names for use in the standard library. The identifiers we define in our own programs may not contain two consecutive underscores, nor can an identifier begin with an underscore followed immediately by an uppercase letter. In addition, identifiers defined outside a function may not begin with an underscore.   All the following did compiled:         g++ -std=c++11 -o test test.cc   int _I=40; int main() {     int __=10;     int _B=20; }   I thought it shouldn't compile ..


A manga about a classless swordsman who can copy everyone’s swordsmanship with only seeing one strike

He is kicked out of an arena because they don’t like his style of fighting, and then he meets a princess who fights him and hires him. It is Japanese styled and had 14 chapters? Also, after he wins against the princess, she takes him to the castle and he meets her maid, who then hits a guy with a mop because he was ridiculing the princess and her decisions.


Null pointer exception when I try to filter a List into a map

I have the follow scenario:     Emp e1 = new Emp("key x", "modelCode x", "modelYear x1");     Emp e2 = new Emp("key x", "modelCode x", "modelYear x2");     Emp e3 = new Emp("key x", "modelCode y", "modelYear y1");     Emp e4 = new Emp("key z", "modelCode z", "modelYear z1");     Emp e5 = new Emp("key z", "modelCode z", "modelYear z1");      Map<AnyEnum, List<Emp>> empsMap = new HashMap<AnyEnum, List<Emp>>();     empsMap.put(AnyEnum.FOO_ONE, Arrays.asList(e1,e2,e3));      empsMap.put(AnyEnum.FOO_TWO, Arrays.asList(e4,e5));   And now I'd like to separete it in another map, getting the total value for each yearCode as follows: public static Map<String,Map<String, Map<String, Integer>>> getTotal(Map<AnyEnum, List<Emp>> empMap){     Map<String,Map<String, Map<String, Integer>>> mapKey = new HashMap<String,Map<String, Map<String, Integer>>>();          Map<String, Map<String, Integer>> mapModelCode = null;     Map<String, Integer> mapModelYear = null;          String key;     String modelCode;     String modelYear;          int total= 0;     List<Emp> empList;          for (Map.Entry<AnyEnum, List<Emp>> entry : empMap.entrySet()) {         empList = entry.getValue();                  for(Emp emp: empList) {             key = emp.getKey();             modelCode = emp.getModelCode();             modelYear = emp.getModelYear();                          if(!mapKey.containsKey(key) ||                 mapKey.get(key).get(modelCode)== null) {                                  mapModelCode = new HashMap<String, Map<String, Integer>>();                 mapKey.put(key, mapaModelCode);                              }else {                 mapModelCode = mapKey.get(modelCode);             }                          mapModelYear = mapModelCode.get(modelYear); //null pointer exception here                          if(mapModelYear == null) {                 mapModelYear = new HashMap<String, Integer>();                 mapModelYear.put(modelYear, 0);             }                      total= mapaModelYear.get(modelYear) +1;             mapModelYear.put(modelYear, total);             mapModelCode.put(modelCode, mapaModelYear);             mapKey.put(key, mapaModelCode);          }     }     return mapKey; }  I'd like the follow result: {key x={modelCode x={modelYear x1=1}}},  {key x={modelCode x={modelYear x2=1}}}, {key x={modelCode y={modelYear y1=1}}}, {key z={modelCode z={modelYear z1=2}}}  But in the seccond interation, on the line appointed I get null pointer exception.


Losing the vertical line on my table when using multicolumn

I tried to use this for the last part of my table, but I can't get a vertical line at the end. Does anyone know?   \begin{tabular}{|CC|C|C|C|C|C|C|C|C|C|C|}\hline \Tab{Method Based on \\\hline       Radiography\\Magnetic Particle (A.C.)\\ \\Eddy Current\\Dye Penetrants\\ Ultrasonics} & \Tab{ \\\hline \\ Wet \\ Dry \\ \\ \\ \\} & \Tab{\rotatebox{90}{~\parbox{5cm}{Minute Surface Cracks }~}  \\\hline       N\\ G\\F\\F\\F\\P}  & \Tab{\rotatebox{90}{~\parbox{5cm}{Deeper Surface Cracks      }~}  \\\hline            F\\G\\G\\G\\G\\G} & \Tab{\rotatebox{90}{~\parbox{5cm}{Internal Cracks      }~}  \\\hline            F\\N\\N\\N\\N\\G} & \Tab{\rotatebox{90}{~\parbox{5cm}{Fatigue Cracks      }~}  \\\hline            P\\G\\G\\N\\G\\G} & \Tab{\rotatebox{90}{~\parbox{5cm}{Internal Voids      }~}  \\\hline            G\\N\\N\\N\\N\\G}           & \Tab{\rotatebox{90}{~\parbox{5cm}{Porosity and Slag in Welds      }~}  \\\hline            G\\N\\N\\P\\N\\F}           & \Tab{\rotatebox{90}{~\parbox{5cm}{Thickness      }~}  \\\hline            F\\N\\N\\P\\N\\G} & \Tab{\rotatebox{90}{~\parbox{5cm}{Stress Corrosion      }~}  \\\hline            F\\G\\F\\N\\G\\F} & \Tab{\rotatebox{90}{~\parbox{5cm}{Blistering      }~}  \\\hline            P\\N\\N\\N\\N\\F} & \Tab{\rotatebox{90}{~\parbox{5cm}{Corrosion Pits      }~}  \\\hline            G\\N\\P\\N\\F\\P} \\\hline & \multicolumn{11}{l}{G=Good;F=Fair;P=Poor;N=Not suitable.} \\ \hline \end{tabular} \label{tab:NDETechniques} \end{table}   It comes out like this:


Insert special characters into the database without disrupting other characters

In the back-end of my database (phpmyadmin), and in my_table>Operations directory, the setting for my Collation is already utf8_general_ci. If it's already in utf8_general_ci, do I have to change the Collation of each field/column of that table?  Sample code:  <form action="insert.php" method="POST">     <input type="text" name="field1">     <input type="submit"> </form>   insert.php  $stmt = $con->prepare("INSERT INTO table (column1) VALUES (?)"); $stmt->bind_param('s',$_POST["field1"]);   Note:  Special characters like ñ is now inserting properly after the first method above, but when a user inputs ’ (not '), the character will be changed to â€™.  Question:  How can I insert properly special characters without disrupting the other characters?


I was wondering if there are any DDoS defences where a (any) router will block all packets (for any period of time) from the MAC address of its attacker. If so, under what circumstances would this occur?


Why does Stack Overflow allow duplicate display names?

What is the reasoning behind the design decision to allow users to create a display name which matches another existing users exactly?    This is opposed to the common practice of enforcing unique user names, and I'd really like to learn something.


Let the sequence be defined recursively $X_{n+1}=pX_{n}+q$ for p nonzero and $X_{1}$ arbitrary. In what conditions does the sequence converge?  I bumped into this problem and I don't know where to even begin. I would really appreciate some help.


Can I travel from Gare du Nord to Gare Montparnasse? (Paris)

On Friday I'm going to Angers from Brussels. The train from Brussels, which is a Thalys, arrives in Paris Nord.   55 minutes later, the train to Anger, which is a TGV, departs from Gare Montparnasse.  How can I travel the fastest way from Garde du Nord to Gare Montparnasse? Should I take the metro or a taxi? And if I take the metro, are the railways close to the metro or is it a long walk?


How does the Detect Magic spell see any creature that knows at least one cantrip?

The detect magic spell states (emphasis mine):  you sense the presence of magic within 30 feet of you. If you sense magic in this way, you can use your action to see a faint aura around any visible creature or object in the area that bears magic  And the definition of a cantrip in the PH is (emphasis mine):  A cantrip i s a spell that can be cast at will [...]. Repeated practice has fixed the spell in the caster's mind and infused the caster with the magic needed to produce the effect over and over.  Is a visible creature that knows and can cast at least one cantrip detected as "bearing magic" by the spell detect magic? I am aware that the spell cannot detect the ability to cast spells in creatures that prepare / learn spells of 1st level or higher. The description of cantrips is the only one that speaks about the caster being infused with magic.


What is the reason for such a strange exchange rate in the wizard currency in Harry Potter?

There are 17 Sickles in a Galleon, and 29 Knuts in a Sickle. This seems very impractical, as both numbers are primes.  It might be an out-of-universe parody of how old muggle money was divided before it was made decimal, but that old system at least made some sense: the divisions of 12, (or 20) meant that they had a lot of divisors, so you could easily divide it in 2, 3, 4 (or 5) equal parts.  Is there a reason why wizard money is divided in such a way?


Ubuntu 15.04 locks and asks for unknown password (pc w/ UEFI firmware)

I got a new computer at work. It is a pc with UEFI firmware and no grub is accessible (as far as I am aware of). It came with Ubuntu 15.04. When I turned the computer on it logged directly to Ubuntu (without asking any password). Then after sometime it locked and asked for the Password to login with the user User. As I do not have administrative permissions I do not know the password so I just restarted the computer the first time and searched from some clarifications on how to deal with this but with no success (maybe I am not searching with the correct keywords).  For this reason I ask you: is there a way to find out this password? Many thanks in advance.


When using the spell Tongues, are you speaking the actual language?

When using the spell Tongues, is it obvious that you are using a spell to be understood, or would it be possible to convince someone that you know the language?  For example, if you wanted to disguise yourself as an enemy, could you use Tongues to speak the correct language and blend in?


Is there a more direct way of proving that this ring is an integral domain?

In self studying abstract algebra and I've come upon the following problem which I could not solve directly. For any $d\in \mathbb{Z}$ we are asked to show that $\mathbb{Z}[\sqrt d]=\{a+b\sqrt{d} ~\colon a,b\in \mathbb{Z} \}$ is an integral domain. This reduces to showing that the ring has no zero divisors which I tried to do through algebraic manipulation.  I have seen two solutions to this problem that use higher level techniques. One defines conjugate and norm and proves the claim using simple consequences of these definitions. The other says that since the given ring is a subring of the field $\mathbb{C}$ it can have no zero divisors.  I don't like either approach because the first uses ideas that haven't been introduced in the text and isn't a natural place to start (for me). The second, while both true and simple, is not satisfying to me. That $\mathbb{C}$ is a field has not been established and assuming it just makes the problem trivial.   My question is whether or not naive tactics like algebraic manipulation are capable of demonstrating the result. Am I lacking in cleverness or is such an approach impossible?


How to Create Text Files with user execution bit set automatically

The closest I got was umask to change the default permissions set for files/folders. However, umask doesn't seem to allow enabling the x bit for files:  The base permissions for directories are 0777 (rwxrwxrwx) and for files they are 0666 (rw-rw-rw-).   I also saw this  which makes sense, but still, umask clearly has an involvement in the issue, not just touch's code, because when I change umask, touch's results are affected).  Is there any way to create files with the execution bit set, at least for the user section (ideally -rwx-r-x-r-x = 755)


Where does the momentum go when atom absorb a photon?

Imagine an electron around an atom absorbs a photon and becomes excited, it has now jumped to a higher orbital. At this point in time, where does the momentum of the photon goes?


Finding the expected value of a continuous random variable with a polynomial function. Update finding the integral.

An insurance company's monthly claims are modeled by a continuous, positive random variable $X$ whose probability density function is proportional to $(x+1)^{-4}$ where $0 \lt x \lt \infty$   I need help understanding the reasoning behind the answer:  the PDF is given by:  $1 =\int_0^{\infty} \frac{k}{(1+x)^{-4}}$   Here is my first issue in the first step, where does K come from? We are given the pdf to be $\frac{1}{(x+1)^{4}}$ So to me it would stand that the function we are given is the PDF because it says thats the pdf, and we are then to find the expected value from here which would be equivalent to:  $\int_0^{\infty} x(1+x)^{-4}$ by definition of expected value  My guess would be that the words "proportional to" are key as to why we have a K introduced can someone explain this?  I understand everything except when taking the integral because and solving for 1 because I arrive at $\frac{3k}{(1+x)^4}$ rather than $\frac{-1}{3(1+x)^4}$  Taking the integral of $(1+x)^4$:  $u=1+x$ $du=1dx$ and   $\frac{u^{-4+1}}{-4+1} dx$  which gives $\frac{-3k}{(1+x)^3}$  Which gives me $k=\frac{1}{3}$ when solving $1=\frac{-3k}{(1+x)^4} \Big\vert_0^{\infty}$ rather than $k=3$ as the answer which is the correct answer. Can someone please explain this to me?


I installed my OS but did not create a swap space. I now realize it is a problem. I have a 4GB ram and I will running huge applications. The below is the snip of my gparted. I opened Gparted but could not find swap on. I saw the accepted answer to  question. Will it work for me. In laymen terms, If I use those two commands can I forget about swap space and related things. Even more laymen, If I shutdown my system and restart it, will i then have to worry about swap space.


Inter-rater reliability for ordinal or interval data

Which inter-rater reliability methods are most appropriate for ordinal or interval data?  I believe that "Joint probability of agreement" or "Kappa" are designed for nominal data. Whilst "Pearson" and "Spearman" can be used, they are mainly used for two raters (although they can be used for more than two raters).  What other measures are suitable for ordinal or interval data, i.e. more than two raters?


Can USB 3.0 device without its own power be plugged in to USB 2.0 port without blowing it out?

I have a computer with three USB 2.0 ports, but only one of them works correctly (the other two disconnect on their own after a seemingly random interval; it's a refurbished Lenovo ThinkPad running Windows 10). I successfully plugged in a hard drive enclosure that uses USB 3.0. It plugs in to AC power. It works better than I thought it would. I also bought a 2TB USB 3.0 external hard drive. It's much smaller than the hard drive in the enclosure and it's got four times the capacity. But it doesn't have its own power. Twenty years ago, I worked in a computer lab. A guy plugged in a 1GB thumb drive into an USB port and blew it out. We were told to post signs telling people not to use thumb drives in excess of 512MB. This is the only reason I'm worried that a 2TB USB 3.0 external hard drive without its own power plugged into a USB 2.0 port might be a problem. I've been shopping for a brand new computer with all USB 3.0 ports. In the meantime, would it be safe to plug in the external hard drive or would that risk disabling my only working USB port for the time being?


I'm using the authoryear style in biblatex with the following options name length options:   maxcitenames=1, mincitenames=1, maxbibnames=999, minbibnames=999   So citations (usually issued with \cite) are properly typeset with only one author like     Shakespeare et al, The...   However I want to typeset a single citation (via \fullcite) with all authors listed, eg.     W. Shakespeare, J. Austen and D. Adams, The...   How can I temporarily increase the values of maxcitenames and mincitenames? Or is there another way to typeset only the \fullcite citatation with all names?


Do I use a plural or singular verb after "half"?

When we describe a pie chart that gives information about percentage of common reasons for travel to a country, which of these two is correct?  As it is mentioned above, half of visitors has a trip for vacation As it is mentioned above, half of visitors have a trip for vacation


Using jquery, how can I get this "inner text" of a li element?

I have the following html and I am trying to figure out the right selector logic to read in certain part. NOTE: I can't change the html as this is being generated by a plugin.
       ×     MS Office

       ×     Photoshop
   and I am trying to read out the text inside the
   but NOT including the      so for the example above, I am looking to parse out the following text:   MS Office, Photoshop


Clarify or visualize the parameters involved for receiving the Curious badge

I was wondering about a question similar to  (for another site), where my "stats" are currently "10/5" (instead of "13/5"). The answer from "Shadow Wizard" links to , which links to yet another "". This last answer has some details about the actual calculation (like the "10" in my case), which is like so:  A positive question record means you don't have too many closed, downvoted or deleted questions, overall. The formula is (total questions - negative questions - closed - deleted)/total questions >= 0.5. Questions that have been downvoted and closed and deleted count three times in this calculation!  Somewhere I also read that these deleted questions seem to count for 3. But the OPer of a deleted question cannot see deleted questions anymore after a while (X days) either. So that seems to make it impossible to actually "verify" your own score (the "7" part), and also how many more "good questions" will be needed. In my case, I'm aware (remember) that there has been at least 1 question deleted. So I assume in my case the "7" must become at least "8" (I don't have negative or closed questions), though I doubt that will be sufficient. Also because I have 2 more questions with a zero votes balance (which makes me wonder also how accurate the "total questions" in the above quote really is ...). My suggestion: think of a way to somehow clarify (visualize) the formula quoted above. Or as a variation at least provide some way to find out the exact number of you questions that were ever deleted (not just the recently deleted ones). Or maybe some other type of indication to indicate "how much more good questions are needed to ever receive the "Curious" badge. Update: I recently learned about adding deleted:yes to a query. With that, these are some more stats about my questions (using "12345" to represent my user id from the site where this question is about):  user:12345 is:q - results in 14 (not deleted) questions, 11 of them have a positive (> 0) voting balance, none of these 14 are closed.  user:12345 is:q deleted:yes - results in 7 (deleted) questions, with this Status / Voting balance for each of them:       Question id Status Voting Balance     1 Closed +4   2 Duplicate +2   3 Migrated 0   4 Duplicate 0   5 Duplicate 0   6 Closed -1   7 Closed -4     So with that extra info, and as per the "Questions that have been downvoted and closed and deleted count three times in this calculation!" I think (guess) in my case the 2 deleted questions with negative voting balance corresponds to -(2*3)=-6 ... So that the "stats" in my case will have to become something equivalent to "(11-6)/5" = "5/5" ... Just guessing, and fingers crossed to see what will happen if I ever post a new question on that site that does not get downvoted+deleted (assuming all other votes for my existing questions don't change in the meantime).


How can I turn-off my laptop screen immediately if I want to?  Laptop: Lenovo Thinkpad  (Dual Boot) OS1: Linux Mint 17 OS2: Windows 8  I know there is power management, but it is not immediately. Need to set a time, and for Linux, the shortest is 5 minutes.  Is there any add-ons/extensions or software that can be downloaded so if I press a key, the screen will be turned off immediately?


Why is the material conditional a thing?

If people have a problem with conditionals with false antecedents and with true consequents always being true, why not just change it according to what is found to be more intuitive?   Regarding equivalence with some disjunctions, every explanation I hear seems to make sense prima facie, but I think ultimately they make sense merely because it makes the whole system simple and easy to work with. For instance, (p->q)->(~pVq) is not as intuitively necessarily true as maybe (pVq)->(~p->q). Simply changing how implications behave reflects that some of these disjunctions would cease to be equivalent.   So again, why do we stick with the material implication? Is it because in it, they're equivalent to some disjunctions and are therefore translatable by something like DeMorgan's Laws and provide for tidy simplifications?


This is maybe a duplicate like , but the error still appears.    When I try to click "mark as duplicate" a HTTP 404 error occur.  I'm using Firefox 16.0.2 with Firebug on Mac OS X 10.5.8


How can I backup or archive my iPhone messages?

I'm upgrading to iOS 8 and need to make some room on my phone. Under "Usage" (in Settings), my "Messages" is over 2 GB. I assume this refers to the Messages app, including iMessages and SMS. I don't necessarily need to keep these on my phone, but I'd like to archive these for posterity. Are there any good ways of doing this? I would prefer to be able to restore messages to my phone at will, but I don't know what options exist. I've used Phoneview before and found its import/export functionality limited.


This is a question about pointers or referencing objects in memory

Now, say for example I write: let object1 = {a: true} let object2 = object1  object1.a = false  console.log(object1) console.log(object2)  The result of the code above is as you'd expect: {a: false} {a: false}  But if I assigned object1 to say a string or number, anything that isn't a data structure, it doesn't give the same result, here's what I mean: let object1 = 'Hello' let object2 = object1  object1 = 'Hello World'  console.log(object1) console.log(object2)  this is the result that follows: 'Hello World' 'Hello'  I've tried the first case with arrays and sets and the second one with numbers and I also replicated this with Python as well. Can anyone please explain why example 2 doesn't work the same way example 1 does? Is there a difference in the way data structures vs strings and numbers are stored in memory.? I just don't really know honestly, lol!


Is 50 min Enough to Transfer at Newark (EWR) from domestic to international

I'll leave United States for Beijing this winter and my flight will be:  United Airlines, 1 stop  BOS - EWR     51min     EWR - PEK  Is this 51min enough to transfer in Newark airport?  Because I'm a international student, so I'm wondering if there's any other checking or process before I leave US in EWR and it may cause missing the flight.


Deriving Mean and Variance of Laplace Distribution

It has been a long time since I have used calculus, and I am trying to understand how the mean and variance of the Laplace distribution with pdf $$f(x|\mu,\sigma) = \dfrac{1}{2 \sigma}\,e^{-\Large\frac{|x-\mu |}\sigma}$$ are derived.  I know that E$[X] = \mu$ and Var$[X] = 2\sigma^2$, but I don't understand how that happens.   Many thanks.


Close button disabled on mobile if already voted

Related:    On the full site, you can still click a close link and check out the current vote counts, even if you've already vote to close yourself. This becomes useful at times.  However, on the mobile site, the close button is dimmed and cannot be tapped—no matter what you try.    Looking at the source, it may be . :/ Why so?


If travelling to Canada and Europe, which visa should I apply for first?

I wish to travel to Canada, and stop over in Europe for 3 months on my way there. I'm Indian, so I require both a Schengen visa and a Canadian visa.  Logically it should be Schengen first and then Canada but would the Schengen guys ask for a valid Canadian visa for them to grant me a Schengen visa? I fly out of Brussels to Montreal. Can't find information about this online.


I can thnk of only one way to tackle this problem, however, it is very tedious. $$ a \oplus b \iff (a \land \neg b) \lor(\neg b \land a)$$ And so now I evaluate, by definition, $(a \oplus b) \oplus c$ and $a \oplus(b\oplus c)$ And then, using the associativity of OR and AND, I get the same expression for arrangements of parentheses.  However, is there an easier way to solve this problem?


Using cd command in Windows command line, can't navigate to D:\

This may be a silly question, and I think I have looked elsewhere to find the answer...  Might be a path issue, but when I open the command line and type from the C:\>: cd D:\  I cannot get to the D drive.  Even if I type: cd D:\<folder name>  The command.exe will auto-complete the line with the tab key, so it knows where I'm at.  It just doesn't print to screen the result or actually get me there.  This problem exists for the network drives as well. Now, if I use the chdir (cd) command like this: chdir D: or cd d: I get the print out of the D:\ below the command but it still says I'm in the C:\. I feel like I'm missing something simple.


Why every time I open the ubuntu file manager, are the hidden files displayed?

I am using Ubuntu 16.04 and whenever I open the file manager to see my folders, the hidden files are always displayed, I do not want to show them ... they appear alone, and it is always when I open the file manager.  How can i fix this?


Applying for Canadian visa after US visa refusal & permanent ban

I was banned permanently from the US in 2009 for misrepresenting a document issued by an agent that I used. I'm applying for a Canadian student permit and I would like to know if this ban would affect my application?


How to maintain PCI compliance on a LAMP server when repositories don't keep up with versions

We run Ubuntu Lucid 10.0.4 as the foundation of our LAMP environment. We are trying to become PCI compliant so that we can pass CC info through our server. We have run some third-party scans on our servers to begin the certification process and have run into errors regarding PHP 5 versions and Apache versions. The latest PHP version hosted in our official lucid repository is about 10 versions lower than what PCI compliance requires.   How do we upgrade to stay current with PCI compliance requirements?   We need to get from php 5.3.2 to php 5.3.15  As well as up to apache 2.2.23  I've searched far and wide for an answer and haven't come up with a realistic answer. Some recommend compiling manually - which sounds like a nightmare, and others recommend a PPA - which sounds insecure. What should we do?


integral of $\int_{0}^{1}\frac{\ln(x^{2}+1)}{x+1}dx$ using contour integration?

I have an interest in contour integration. I am not that good at it, but I enjoy learning what I can about it.  Here is a version of a rational log integral rarely encountered.  $\displaystyle \int_{0}^{1}\frac{\ln(x^{2}+1)}{x+1}dx=\frac{3}{4}\ln^{2}(2)-\frac{{\pi}^{2}}{48}$  I can do this using real methods (via double integral and substitution). I can post my workings if anyone would be interested.  My question is, can this be evaluated using contour integration due to the limits being $[0,1]$ instead of $[0,\infty)$?.  Contours may not be the most efficient way to go about it, but what is the course of action when the limits are 0 to 1 instead of 0 to infinity?.


How can I list all applications installed in my system?

I know, I just can hit Super+A to see all installed apps in Ubuntu, but I need a command to list their names. The command  dpkg --get-selections | awk '{print $1}'   is also not an option because it shows all installed packages and it contains drivers, kernels and libraries.


How to redirect multiple domain to same ip but different port for different services

In my VM, i'm running both apache2 and nginx, but apache2 is pointed to Port 8080 and nginx is Port 80. Already i pointed my domain to ip in nginx and its running properly. The same thing i need to do for apache2. But how will i give Port number while mapping the ip to Domain. In the cName record, i'm not able to specify the port. Is there any alternative way to resolve this issues.


Is it still possible for me to get into a master's program in a quantitative field?

I am about to be a junior this Fall in college and I currently have a 2.6 GPA right now. I also don’t go to a very popular college and it’s located in the city. I have low grades and I am thinking about either getting into a masters program for applied statistics or maybe applied math. However, I might have no chance because I got a few C grades in my early math classes and I had to withdraw from Calculus 1 twice. I am also interested in economics and I have a B and B- in the first two economics classes so far. I understand that I screwed up bad but I am thinking about changing my life around. I have a total of 5 w grades and I am thinking about trying to at least get into a masters program for higher education as that I am thinking about pursuing a career in data science or possibly a consulting/financial field like quantitative analysis. I have a total of 5 w grades on my transcript so far and I don’t want to end up a failure. I just need brutal honesty. I am currently about to be a junior this Fall and if it’s not possible for me to get into a master’s program, what are some possible career choices for me? What else can I do? I don’t have internships yet but I am looking for some experience in the field so that I can get accepted later possibly. Are online master’s a good choice because I was just thinking about that. I also graduate in two years so does anyone have some advice for me?


Windows 10 latest insider builds crashes when save file or browse file

In recent insider builds, lots of desktop apps crashes upon saving a file or browse for a file. The error is something as below  Unhandled exception at 0x00007FFA166E134D (shell32.dll) in Xamarin Workbooks.exe: 0xC0000005: Access violation writing location 0xFFFFFFFFFFFFFF8B.   Now I am using the Build 15063.14 with latest updates. This is really really frustrating as I cannot attach a file as attachment in outlook.com with Google Chrome or save a workbook in Xamarin Workbooks.  This error happens on both my machines which both run insider builds


Seeking name for relationship to step daughter of step daughter

I have a stepdaughter and she has a stepdaughter.  What would my stepdaughters' stepdaughter be to me?


Can I deny a counterspell by readying my spell behind full cover?

Suppose I am within counterspell range of an enemy mage (who has counterspell) and want to guarantee that my spell won't be countered.   Could I do so entirely on my turn by moving behind full cover, then casting the spell with the ready action using a trigger of "when I have an unobstructed line of effect to the enemy mage", and then moving out from cover and releasing my spell?   Using my reaction seems like a fairly (or even unfairly) low cost to be able to deny a counterspell, but maybe the requirement for full cover is enough to make it a justifiable reward for making good use of the environment.


Is it possible to obtain a sphere from a quotient of a torus?

I understand that a torus is obtained from a sphere by adding a handle. I'm working on a question which is asking if it is possible to obtain a sphere from a quotient of a torus? It seems like this should be possible by perhaps identifying the insides of the torus? But I'm not quite sure how to properly express this.  Help is very much appreciated.


Sieve of Eratosthenes : why $\sqrt n$ work?

I have a question about Sieve of Eratosthenes,   I refer at the "simply version" :   If I have an $\boldsymbol{n}$ and I want the prime numbers up to n,  I search and delete multiply up to  $ \leqslant \sqrt n $ .   For example:  $ n = 28;   \sqrt n = 5,29 $  After 5 I'm sure that I haven't delete multiply but I will find only prime numbers.   Now my question isn't how does it work, and why it is work..  But my question is why $ \sqrt n $ ? and for example why not $ \log n $ (is an example for trying to pass my question) How do you get to think that the $ \sqrt n $ has the power in this context?  How do you get to think that the $ \sqrt n $ assures me that there aren't more multiples to be erased?  Is there an explanation? graphic, numerical, of any kind? Thanks!


What's the logic behind the six character edit requirement?

The six character requirement for edits makes little sense.  I've come across an answer with a typo of one character but without correction, the code is nonetheless redundant.   e.g.   (see "Weedkly" that should read "Weekly").  Where is the logic in assuming that a one character mistake is less incorrect or edit-worthy than a six character mistake?  Posting a comment to the said question and tossing a coin as to whether the user will correct their post seems less efficient than allowing unrestricted user-wide editing.  I appreciate that you're perhaps trying to mitigate the moderating queues for edits. Implementing a lower tier of moderators exclusively for spelling/grammatical errors (i.e., for non-expert coders) would allow you to assemble a body of volunteer moderators and thereby allow 1 character editing.


So i'm trying to merge 4 color passes (DiffuseColor, GlossyColor, TranslucentColor and SubsurfceColor) so i can get 1 Combined color map. Is this possible? If so, how cand i do it?  Thanks!


Fastest (Optimized) way to swap bytes of a 32 bit value

I need to swap bytes of a 32 bit value 11223344 should be swapped as 44332211. Currently i'm using following logic.  val = ((((val) & 0xff000000) >> 24)|       (((val) & 0x00ff0000) >>  8) |       (((val) & 0x0000ff00) <<  8) |       (((val) & 0x000000ff) << 24));   This is working as expected. But i just wanted to know is there any other fastest/Optimized way to do the same.


Comma after introductory discourse marker

When beginning a sentence with "well", do you put a comma after it?         Well, you know I was wrong.    Well you know I was wrong.


Is there any way to force a USB HDD stop spinning after "Safely remove"?

I have a USB-powered external HDD connected to my DELL laptop. Some times, after clicking on "Safely remove" item in pop-up menu of its icon in side bar, the drive is un-mounted and is removed from /dev/ folder (sdb and sdb1 both are removed) and lsusb do not show the device, but the HDD remains spinning and I could sense the vibration by putting my finger on it. But some times a few seconds after clicking on "Safely remove", it stops spinning and has no vibration. Is there any way (may be a CLI command or a script) to force the drive stop spinning every time after "Safely remove"? I know that hdparm could stop spinning, but works while drive is connected, but I need a way that works after "Safely remove"!  Note:  When I safely removed the drive I want to keep it plugged-in but not-spinning and not-mounted. Because The access to my laptop USB port is somewhat hard when I fixed my laptop on my desk which is full of extra things and widgets! and also may be I forgot to disconnect the USB port! Considering this, there are two reasons for wanting the drive not-spinning after unmount:     If I run laptop on battery, spinning drive uses more energy!   If I suddenly take-off my laptop or move it, there may be a damage to connected USB-cable or even to the HDD (which is now spinning)!


What does `::*` (colon colon star) means in C++?

There is a segment of code incomprehensible when my friend was reading . Specifically,   what does certain formation such as A(B, C), int(int, int), or in this case T(Type::*) means? I've already seen usages such as std::function<int(int, int)>, but still have no idea what int(int, int), alone, means. what does Type::* mean? How can a asterisk mark follows :: directly?


Is there any general way to obtain the review ID or review summary for a certain review job without the 10 k tools?

Accessing the full review history is a privilege for 10 k users but, statistics for individual reviews can be viewed by everybody ( ).  These review summaries can be somewhat useful for different aspects, such as understanding what happened to a review item that you initiated, e.g., if your close vote remained the only one on a question, you can only guess by the elapsed time whether nobody else has reviewed it or whether the review is finished with everybody disagreeing. Or you can see who performed a disputed review decision and discuss it.  My question now is: Is there any way to acess these review summaries or obtain the review ID – which would allow to find these summaries – for a particular review task?  I am aware that the above information, in particular the reviewer identity, can be abused and it may therefore be undesirable that everybody can find this information. But then, at least on small sites, it’s quite possible to obtain the review ID from guessing. Also, I can access the review summary for every review that I participated in or even skipped from my review history and the review summary for every successful edit from the edit history.


Distance between any two points in a compact metric space

I am given the following problem:     Show that if a metric space (X,d) is compact (meaning X is compact   with respect to the metric d), then there exist points a,b ∈ X such   that d(a,b) = sup{d(x,y) : x,y in X}. (Hint: You’ll need to use the fact   that (X,d) is compact twice. In particular, this means that every   compact metric space has an upper bound on how far away two points can   be)   However, I am not sure if the problem has left out $X \subseteq \mathbb{R}$. Does the statement hold in a general metric space?  Secondly, how might one go about proving this?