I have a shapefile composed of a number of polygons. The shapefile has table column entitled as name (field: NAME).  How can I export with ArcPy each polygon so I get a shapefile for each one and it's name (ex: name.shp) corresponds with the ones in the table column?  I've attempted to use the following code:  import arcpy shp = "c:/temp/folder/shapefile.shp" TargetFolder = "c:/temp/folder" query = """"NAME" > 2""" with arcpy.da.SearchCursor(shp, ["NAME","SHAPE@"], query) as cursor:     for row in cursor:         arcpy.FeatureClassToFeatureClass_conversion(row[0], TargetFolder, row[1])   I get the error code: An invalid SQL statement was used.   I used code from  as the basis for mine.

I have a feature class with over 2,000 features, and I need to make them all individual feature classes based on a field.   Is there a way to do this?


As in title, can anyone tell me what lexical category the words 'who, what, why, where, when, how' are in?     Who are you? What are you? Why are you here? Where did you come from?   When did you come? How is that possible?   I have read 'adverb', but there seems something unusual about them and that this isn't quite specific enough or necessarily correct.  Thank you

'When did you last see him?'   In the above sentence, is "when" an adverb? If so, what word is it modifying?


All the planets in our solar system rotate 'Anticlockwise', except Venus. Why is the only planet that rotate 'Clockwise'?

Given: Law of Conservation of Angular Momentum.   Reverse spinning with dense atmosphere (92 times > Earth & CO2 dominant sulphur based). Surface same degree of aging all over. Hypothetical large impact is not a sufficient answer.   Assuming any object large enough to alter a planets rotation or even orbit would likely destroy most of its shape, yet Venus has retained a spherical property with a seemingly flat, even terrain indicating no volcanoes,and few if any visible meteor impacts. It would be fragmented and dispersed for billions of years.  Even the question of what meteor, comet, asteroid composition could survive traveling that close to the sun's temperature, radiation, electromagnetic energy, solar flares, or gravity to equal a mass reactionary change as to alter it's spin.


I just installed 14.04 LTS on my laptop. I tried to go on Netflix but it tells me to install silverlight but that does not work either. What are my options to get Netflix working on my laptop?

Just got the Firefox 49 update (yay!)  But Netflix still wants to install Silverlight (boo!)  How can I watch Netflix in Firefox, as ?


I've been trying to make a system where certain flags in a MySQL database are checked with php. To see if a certain letter is in the string, I use the function strpos(). If the letter I'm checking for happens to be the first one in the string the function returns 0. However this result seems to be synonymous with the Boolean value for false. I tested this theory with the below code:  if(0 == false){     echo 'true'; }   low and behold this evaluates to true and echoes the output inside the block. So, is there a logical way to distinguish between a character being at index 0 or not being part of the string at all? One option that occurred to me was to basically prepend the flags string with some character like an underscore. This way no meaningful characters would ever be at index 0 of the function's return value. That seems like a very dirty patchy way to fix things though. If you have any other ideas I would greatly appreciate your help. Thanks for reading.

What is the difference between == and ===?  How exactly does the loosely == comparison work? How exactly does the strict === comparison work?  What would be some useful examples?


I'd like to map Win+W to behave like Win+Tab and Win+Q and Win+E to switch to previous and next virtual desktops respectively (What CTRL+Win+Arrow Keys do by default).  How can this be done? (I have AutoHotKey installed but if that's your solution please provide the script as I don't know how to script it.).

One of my laptop's keys has fallen off. Is there any way I can remap another key to serve as that key?  I'll 'sacrifice' the other key because I never use it.


How can i make a logo filled with other shape like the example i have given  I have already used "CIRCLEFILL" plugin in illustrator but that was not as clear as unilever logo is.  Please suggest is there another plugin or script for illustrator or i have to do that manually.

So I've got a file with loads of simple objects. This will later be used to cut out these shapes out of plastic. So, using the material optimally is of outmost importance. I was wondering if there is any script or plugin that could automaticly arrange the objects within the artboard so they could fit best.


I have I ball andi 3.5 kke winner, andriod 4.2.2. I want to remove inbuilt call recorder permanently. There is a logo "REC" on calling screen, showing recording time.  I have rooted my phone and tried Titanium Backup , Rom Toolbox Lite , Simple Root Uninstaller , SD Maid ,there is no apps having word "Call apps" etc.  Any idea to remove/uninstall inbuilt call recorder permanently ?  Thanks !

I have iBall Andi 3.5 KKe winner, Android 4.2.2. It records every call and there is a logo "REC" on calling screen, showing recording time. There is no option of turning call recording off. In apps there is nothing like "auto call recording". I have rooted my phone. How to remove/uninstall auto call recording?


What about rewarding users that flagged a question with some reputation if the flag was accepted?    So, for example, user A sees a question that is spam (an advertisement) and a moderator accepts this flag, wouldn't it be nice to give the user that flagged the question some reputation (maybe +2 or so).    On the other hand, if user B flaggs a question and the flag was not helpful, and this happens some more time, the user could lose some reputation (-1).

By helping the site by flagging successfully (and therefore gaining higher flag weight), you typically inform that you are able to understand the system and be helpful.  Similarly, when you are helpful by editing posts (not necessarily even understanding anything, just making it better), you gain 2 points for each edit. Good flagging may require even more understanding; while editing just fixing spelling and/or formatting gives reputation points. You don't have to understand whether question (or answer) is on-topic, or even meaningful.  So, why there isn't for example 2 points for each flag that was acted on, in the same way flag weight increase is determined?


Let $R$ be a topological ring and $R^\times$ the group of units. I read that $R^\times$ with the subspace topology from R does not make the multiplicative inverse map continuous. (Apparently one has to additionally require the map $R^\times \to R \times R$ (given by $x \mapsto (x, x^{-1})$ is continuous). What is a simple example illustrating this point (i.e. where giving the subspace topology makes the inverse not continuous)? For example for $R=\mathbb{Z}_p$ (p-adic numbers) I might be mistaken but I think the open neighborhoods of $1$ in $R^\times$ are $1+p^n\mathbb{Z}_p$, which is the subspace topology from $\mathbb{Z}_p$

I am looking at some notes on Adeles and Ideles by Pete Clark , and puzzling over exercise 6.9 (page 6), that if the group of units $U$ in a topological ring is an open subset, then multiplicative inversion on $U$ is continuous. I am supposing the idea is that projection from the locus of $x y = 1$ onto $R^\times$ is an open map (whence the result would follow), but I'm just not seeing it -- perhaps I'm being dense.   Pete notes that this implies that a (Hausdorff) topological ring whose underlying ring is a field (I guess this is what he means by "topological field") has this property. What is additionally puzzling me is that most of sources I've looked at (e.g. Wikipedia), when defining topological field, explicitly stipulate that inversion should be continuous, but if Pete were correct then that would be redundant (since a topological ring that is a field must be either indiscrete or is Hausdorff, due to the fact that the closure of $\{0\}$ is an ideal, and inversion is trivially continuous for the indiscrete case).   Edit: Looking over the monograph  by Seth Warner, who is expert in this area, one gets a strong suspicion from how the theorems are formulated that inversion need not be continuous even if the group of units is open, contrary to the assertion in Pete's exercise. (Sample statement, pp. 109-110: "If $\mathcal{T}$ is a Hausdorff ring topology on a commutative ring $A$ with identity for which $A^\times$ is open, then of all the ring topologies on $A$ weaker than $\mathcal{T}$ for which inversion is continuous there is a strongest $\mathcal{S}$, $\mathcal{S}$ is Hausdorff, and $A^\times$ is open for $\mathcal{S}$.") But frustratingly, no examples of this (where $\mathcal{S}$ is strictly weaker than $\mathcal{T}$) are given! Perhaps Google Books cut me off before that point was reached.   Anyway, I would be much obliged if someone would give an example of a field with a Hausdorff ring topology but where inversion is not continuous.


My file data Pattern is below and i need output as 6 or 3 or 8 or 4 based on the variable value which is eth0 and eth1  eth0RX:6:eth0TX:3|eth1RX:8:eth1TX:4|   Below code works well  sed 's/.*eth0RX:\([0-9]\+\).*/\1/g' $EMSTATE/packetdrop.txt   But fails when I use dynamic variable like below  rxfile=sed 's/.*$iRX:\([0-9]\+\).*/\1/g' $EMSTATE/packetdrop.txt

I want to do:  cat update_via_sed.sh | sed 's/old_name/new_name/' > new_update_via_sed.sh   in my program.  But I want to use variables, e.g.  old_run='old_name_952' new_run='old_name_953'   I have tried using them but the substitution doesn't happen (no error). I have tried:  cat update_via_sed.sh | sed 's/old_run/new_run/' cat update_via_sed.sh | sed 's/$old_run/$new_run/' cat update_via_sed.sh | sed 's/${old_run}/${new_run}/'


I really like the style of Springer book (which is available ), so I decided to customize it for my own book.   In that template, the section in chapter is labelled as : 1.1 (1st section in chapter 1), x.y(xth section in chapter y).  I want to change numbering the section in each chapter by arabic, start with 1,....  So, how can I do it ?

Some document elements (e.g., figures in the book class) are numbered per chapter (figure 1.1, 1.2, 2.1, ...). How can I achieve continuous numbering (figure 1, 2, 3, ...)?  And vice versa: Some document elements (e.g., figures in the article class) are numbered continuously. How can I achieve per-section numbering?  \documentclass{book}% for "vice versa" variant, replace `book` with `article`  \begin{document}  \chapter{foo}% for "vice versa" variant, replace `\chapter` with `\section`  \begin{figure} \centering \rule{1cm}{1cm}% placeholder for graphic \caption{A figure} \end{figure}  \end{document}   Bonus question: Is it possible to adjust the numbering of the sectioning headings themselves? Can I, e.g., switch from per-chapter to continuous numbering of sections in the book class?


What is the difference in meaning between "booking is amended" and "booking has been amended"?

In a technical environment, what is the most suitable sentence to use when answering to someone about a problem that they had and we solved it for them:   The problem is solved The problem has been solved


var currentTxt = (RichTextBox)TabControl_Query   .SelectedTab   .Controls   .Find("RTX" + TabControl_Query.SelectedTab.TabIndex, true)   .FirstOrDefault();   I am using a BackgroundWorker, also my Tabcontrol is dynamic so i can add new ones with a click (not static), i can use the example below on some physical existent Textboxes, labels, grids and whatever  TXT_SearchResults.Invoke((MethodInvoker)(() => TXT_SearchResults.Visible = true));   Now i can add new tabs without an issue but when i run the text inside the tab that contains a dynamic RichTextBox i will have the issue   I get the following exception

I have a scenario. (Windows Forms, C#, .NET)   There is a main form which hosts some user control. The user control does some heavy data operation, such that if I directly call the UserControl_Load method the UI become nonresponsive for the duration for load method execution. To overcome this I load data on different thread (trying to change existing code as little as I can)   I used a background worker thread which will be loading the data and when done will notify the application that it has done its work.   Now came a real problem. All the UI (main form and its child usercontrols) was created on the primary main thread. In the LOAD method of the usercontrol I'm fetching data based on the values of some control (like textbox) on userControl.    The pseudocode would look like this:  CODE 1  UserContrl1_LoadDataMethod() {     if (textbox1.text == "MyName") // This gives exception     {         //Load data corresponding to "MyName".         //Populate a globale variable List<string> which will be binded to grid at some later stage.     } }   The Exception it gave was     Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on.   To know more about this I did some googling and a suggestion came up like using the following code  CODE 2  UserContrl1_LoadDataMethod() {     if (InvokeRequired) // Line #1     {         this.Invoke(new MethodInvoker(UserContrl1_LoadDataMethod));         return;     }      if (textbox1.text == "MyName") // Now it wont give an exception     {     //Load data correspondin to "MyName"         //Populate a globale variable List<string> which will be binded to grid at some later stage     } }   BUT BUT BUT... it seems I'm back to square one. The Application again  become nonresponsive. It seems to be due to the execution of line #1 if condition. The loading task is again done by the parent thread and not the third that I spawned.  I don't know whether I perceived this right or wrong. I'm new to threading.  How do I resolve this and also what is the effect of execution of Line#1 if block?  The situation is this: I want to load data into a global variable based on the value of a control. I don't want to change the value of a control from the child thread. I'm not going to do it ever from a child thread.   So only accessing the value so that the corresponding data can be fetched from the database.


I need to check a list of domains in parallel. So I was planning on using curl and xargs.  This is check.sh:  #!/bin/bash domain=${1?Pass the domain as a parameter} curl -o /dev/null --silent --write-out "http://$domain/,%{http_code},%{redirect_url}\n" "http://$domain/"   Now, when used a single time it works:  $ ./check.sh example.com http://example.com,200,   If instead I use it in combination with xargs, curl does not work properly and the output looks broken:  $ cat domains.txt | xargs -L1 -P2 ./check.sh ,000,//example.com ,000,//example.org   This is the test file I'm using (domains.txt):  example.com example.org   This happens also without -P2, so it must be related to the way lines are passed to the script. I also added an echo "$domain" in it, but everything looks ok.

#!/bin/bash echo "$(curl -s -I https://google.com|grep Server)" abc   returns:  abcer: gws   and bash -x shows:    ++ grep Server ++ curl -s -I https://google.com ' abco 'Server: gws  abcer: gws   but    echo abc "$(curl -s -I https://google.com|grep Server)"`    returns  abc Server: gws   In other words, if I add text AFTER the curl command, it gets mangled, but it's ok if I add it before curl. What is happening? I cannot figure it out.


Imagine a circle cut in half. Now, are the two angles on it right? I can imagine when going limitedly close that they would be. Got curious about this question after seeing  on the internet.

If you have a line passing through the middle of a circle, does it create a right angle at the intersection of the line and curve? More generally, is it valid to define an angle created between a line and a curve? Is the tangent to the curve at the point of intersection a valid interpretation (I.e a semi circle has 2 right angles) I saw it in a debate thread and it got me curious now.


I have 2 files, file 1 and file 2 and I want to compare column 1 in file to column 1 in file 2 and have additional column generated with column 2 in file 3  File 1:  9001    Whitby          On 9002    Toronto         On 9003    Scarborough On 9004    Victoria    BC 9005    Vancouver   BC   File 2:  9001   501 9002   502 9003   503 9004   504 9005   505   Output:  501   9001  Whitby          On 502   9002  Toronto         On 503   9003  Scarborough     On 504   9004  Victoria        BC 505   9005  Vancouver       BC

I have two files in  file A, there are sequence_numbers in the other file B, there are many columns, and the first column is sequnce numbers, I want to get a files with all the lines in the B with the sequence numbers which are in the A how can I achieve this? thanks  like file A  1 3 8 9 20   file B  1 kfjk 3243424 2 fkdkf 23543592 3 iefjk 21493402 7 dlafdl 23435231 8 kfkdlkf 309834


i have this query in spring:   private String SQL_Clear_Deleted_Options = "DELETE FROM vote_votes WHERE poll_id=? AND option_id NOT IN ?"   my problem is with second ?. the correct form would be (id1,id2,id3,...). how can i pass a string like cl="0,1,2,3,6" to this query?  i'm using jdbcTemplate. so it would be   jdbcTemplate.update(SQL_Clear_Deleted_Options, id,cl)   what should be cl?

What are the best workarounds for using a SQL IN clause with instances of java.sql.PreparedStatement, which is not supported for multiple values due to SQL injection attack security issues: One ? placeholder represents one value, rather than a list of values.  Consider the following SQL statement:  SELECT my_column FROM my_table where search_column IN (?)   Using preparedStatement.setString( 1, "'A', 'B', 'C'" ); is essentially a non-working attempt at a workaround of the reasons for using ? in the first place.    What workarounds are available?


GPS is not very accurate. I was wondering if this is a technical or economic feasibility problem. If there are no technical barriers, GPS devices with accuracy within 1 centimetre might be possible by 2040. Am assuming this can be achieved with new generation of GPS satellites making use of millimetre wave technology, quantum radar etc Can anyone please confirm this

I was talking with a potential client, and they requested that we plot some points with GPS, with a maximum (or should that be minimum?) accuracy of 2 m.  This is an area with no WAAS, and I was under the impression that even in the best of conditions, a single gps point can be accurate up-to only 15 meters(Horizontal field). Is this correct?  What is the maximum theoretical accuracy of GPS without using WAAS or differential GPS?


If I want to prove that $\dfrac {\partial ^2 f}{\partial x\, \partial y}  = \dfrac {\partial ^2 f}{\partial y \,\partial x}$, can I prove it by the definition of derivative using a double limit?    I know how to do it, but I am not sure it's enough.  The first condition is that the partial derivatives must exist and be continuous at my given point. The limit theorem says if the limit exists in some point $(x_0,y_0)$ then the examined function is continuous here. For the multivariable functions the limit exists if it doesn't matter if I calculate it first with respect to $x$ and then to $y$ and vice versa.

Is the following statement $$\frac{\partial^2 f}{\partial x \, \partial y}=\frac{\partial^2 f}{\partial y \, \partial x}$$ always true? If not what are the conditions for this to be true?


Suppose $f : A \to \mathbb{R}$ and $g: A \to \mathbb{R}$ are real valued functions. Define $(f+g)[A] = \{f(x) + g(x): x \in A\}$ and $f[A] + g[A] = \{f(x) + g(y): x, y \in A\}$.  What is the relationship between $\sup(f[A] + g[A])$ and $\sup((f+g)[A])$?  Repeat exercise for $\inf(f[A] + g[A])$. Essentially one side is $f(x) + g(x)$ and the other is $f(x) + g(y)$. I am thinking they are equal, but I'm not sure. I need a proof too.

Suppose $D$ is a nonempty bounded subset of reals. Let $f:D \to \mathbb R$ and $g:D \to \mathbb R$. Define $(f+g)(x)=f(x)+g(x)$. Prove $\sup(f+g)(D) \le \sup f(D) + \sup g(D)$ (also prove that $\sup (f+g)$ exists).   I understand why this is the case, just not how to prove it. Left side is pretty much $\sup  (f(x)+g(x))$ and right side is $\sup (f(x) + g(y))$ for $x,\,y \in D$. Basically $f+g$ has to use the same variable and $f(D)+g(D)$ use different ones. But I don't know how to go about proving this.     The second part of the question is to find a specific example where strict inequality holds.    Let $D=\{a,b\}$ and $f: a \to 1,\, b\to 0, \,g: a \to 0,\, b\to 1$. $\sup f(D) = 1,\, \sup g(D) = 1,\, \sup f(D) + \sup g(D) = 2.$ $\sup (f+g)(D) = 1$ (if we choose a, $f+g = 1+0,\, b,\, f+g=0+1$).


I have a .Net (C#) process and I want to be able to tell the number of AppDomains that have been created.  How can I do this?

Is there any possibility how to enumerate AppDomains within Process?


Let $E$ be a Lebesgue measurable set in $\mathbb{R}$ having measure $1$. Prove that there is an integer $n\neq0$ such that $\int_Ee^{inx}dx\neq0$.  This is an exercise problem. A hint is given: periodize with period $2\pi$. However, I still do not have an idea how to prove it. Any help will be appreciated.

I'm trying to solve a problem from an old qualifying exam that asks to show that $\displaystyle\int_{E}e^{inx}dx$ is nonzero for some integer $n\neq 0$. Here $E$ is assumed to be a measurable set of measure 1.  How do I approach this problem? Do I need to use some result from Fourier analysis or is this a problem from Lebesgue integration theory. So far, the results I know of don't seem to work at all.


I'm trying to draw using my Wacom tablet but why does the corner of my drawing have an extra stroke?

I currently got the intuos art wacom tablet so still learning how to use it. I'm currently in illustrator trying to draw out a map and the brush tool is doing something weird and I cannot figure out why. You can see in my image that where there are curves the black slightly spills over and is filling in half the curve with black. Brush setting is set up as a new calligraphic brush and the size is set to pressure, 3pt-3pt.


Do I always need a capital letter after an exclamation mark or a question mark?  I'm bilingual with french, and, especially in older works, I've often stumbled upon exclamation marks or question marks that don't end a sentence, but merely serve to accentuate a specific part of a sentence. Sometimes they replace a comma, sometimes not.  Is this kind of stuff legal in the english language or not? I haven't seen it in english texts so far, but I have no reason to believe it would only exist in french and not in english.  EDIT: Here are some examples (in french) that  provides:     « Ah ! non ! c'est un peu court, jeune homme ! On pouvait dire… Oh !   Dieu !… bien des choses en somme… »        — Edmond Rostand, Cyrano de Bergerac (I, 4)      « C'est la femme d'un autre ! ô jalousie affreuse ! »        — Victor Hugo, Ruy Blas (II, 3)

May I use a question mark in the middle of a sentence? Examples:  Would you like the drapes to be white? or perhaps something off-white? Would you like the logo to be centered? at the bottom? left off entirely?


Very new to blender so sorry if this is easy. I want to make the tiles on this plane smaller but I can't figure out how. I read about a mapping node, but can't figure out where to put it. If someone could explain how it works that would be great, thanks!

I have a tiling texture that I prepared for use as a bump map.  The problem is that it's too big!  I want the texture to display on the model at about 1/8th of the present size, but I can't figure out how to scale it to be finer. The bump map is supposed to resemble fabric fibers, but at present it just looks like scaly clumps because it's too big.  How can I change the mapping to fix this using Cycles nodes without altering my UV map? If this were a procedural texture I could just change the scale value, but I'm not sure what the equivalent approach would be with an image texture.  Thanks


The upgrade is successfully started, but then  got this error:   Failed to fetch http://archive.ubuntu.com/ubuntu/dists/dapper/main/source/Sources 404 Not Found [IP: 91.189.92.181 80] ...   The Internet connection is fine. When I simply open that URL in browsed I still get 404.  /etc/apt/sources.list:   deb http://ua.archive.ubuntu.com/ubuntu/ oneiric main restricted deb-src http://ua.archive.ubuntu.com/ubuntu/ oneiric main restricted  deb http://ua.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted deb-src http://ua.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted  deb http://ua.archive.ubuntu.com/ubuntu/ oneiric universe deb-src http://ua.archive.ubuntu.com/ubuntu/ oneiric universe deb http://ua.archive.ubuntu.com/ubuntu/ oneiric-updates universe deb-src http://ua.archive.ubuntu.com/ubuntu/ oneiric-updates universe  deb http://ua.archive.ubuntu.com/ubuntu/ oneiric multiverse deb-src http://ua.archive.ubuntu.com/ubuntu/ oneiric multiverse deb http://ua.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse deb-src http://ua.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse  deb http://security.ubuntu.com/ubuntu oneiric-security main restricted deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted deb http://security.ubuntu.com/ubuntu oneiric-security universe deb-src http://security.ubuntu.com/ubuntu oneiric-security universe deb http://security.ubuntu.com/ubuntu oneiric-security multiverse deb-src http://security.ubuntu.com/ubuntu oneiric-security multiverse  deb http://extras.ubuntu.com/ubuntu oneiric main deb-src http://extras.ubuntu.com/ubuntu oneiric main deb-src http://archive.canonical.com/ lucid partner deb-src http://archive.ubuntu.com/ubuntu dapper main multiverse deb-src http://archive.ubuntu.com/ubuntu dapper-updates main multiverse deb http://archive.canonical.com/ lucid partner deb-src http://archive.canonical.com/ lucid partner   How can I get through this?

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


For past few days I have been looking for a way to install Ubuntu Touch on my Moto-G(XT1033). So I tried some process and it failed with failed to enter recovery.  root@ram:/home/ram/Downloads# ubuntu-device-flash touch --channel=ubuntu-touch/stable/ubuntu --bootstrap --device=mako     2015/11/02 23:24:46 Device is |mako|     2015/11/02 23:24:46 Flashing version 24 from ubuntu-touch/stable/ubuntu channel and server https://system-image.ubuntu.com to device mako      Failed to enter Recovery      +++++   Could anyone please help me on this issue. And if there is any process that was working for the installation of Ubuntu OS in mobile, please comment out here. Thanks in advance.

With the announcement of the Ubuntu Phone OS I'd like to know what phone (and tablet) models are supported at this time.  Note from foss & Oli: We are making this the master question for all future "Will this work on <insert random tablet/phone/device here>?!" questions


I have an old farmhouse with a bathroom vanity, laundry room, and kitchen sink/dishwasher draining into a single septic run. There aren’t any vents installed in the system with only a crawl space under the two rooms. Is there a way to add a vent in the crawl space or without running it up through the walls or ceiling?

We're going to move our washer/dryer to the garage (the front loader needs to sit on  concrete to keep it from shaking our house to the ground).   I'll need to add a washer drain to the garage for the washer. Because this will need a p-trap, my understanding is that it also needs to be vented.   I could go straight up into the attic then through the roof, but my question is: do I need to actually go through the roof? Could I instead have it go into the attic then 90 degree it out to the back, second floor wall? I can't find any particular code rules on if it has to penetrate the roof or not. This is a septic system, if that matters.   The reason for trying to avoid the roof is that I'd prefer to not climb up onto the roof...it's about 45 degrees and in the PNW so perpetually wet and mossy.


Suddenly the dopesheet acting weird. I click at a certain place, but the yellow straight line isn't at the place I clicked. If I locrot a bone, the keyframe was created not at the yellow stragiht line. I type the end frame of 150, but the playback stop before 150. How to fix this?

I'm doing a short little animation for a side project and the length is 167 frames. I think I accidentally clicked something and now it only plays up to half of the clip before looping.  So for example let's say I was doing an animation of someone sitting down. Halfway through this animation, it just cuts off as if it reached the end of the clip already.  Also that green line that runs while the animation is playing is always really far behind my mouse. I'm really stuck and confused by this, so I'd really love some insight on this subject.  Also due to copyright, I can't actually share or upload the file or any of it's contents.  Here are some screenshots of the timeline and settings:


what risks about Apple chargers always plugged in? I want to leave my iPhone and iPad chargers always plugged under my desk (so I can just connect my device when I want to charge) but I'm worried that they shouldn't be plugged all the time.

This is something I always wondered about: when I leave my charger plugged on the wall socket but not charging anything, is it still consuming energy?   Some notebook chargers have a led that is always on, so I guess it's consuming at least a bit. But what about Apple chargers? I want to leave my iPhone and iPad chargers always plugged under my desk (so I can just connect my device when I want to charge) but I'm worried they shouldn't be plugged all the time due to safety risks or phantom power consumption.  Is there any way to measure this to be sure?


This claim turned up in one of my lectures, but there was no proof or source for it given (We don't have a textbook for this course). Does anyone have anymore information on this theorem, or an idea where I can learn more about it?   EDIT: Looking at the Wiki article, they say that the following holds $${\displaystyle \int _{-\infty }^{\infty }\|f(x)\|^{2}\,dx=\int _{-\infty }^{\infty }\|{\widehat {f}}(\xi )\|^{2}\,d\xi }$$  but then go on to say      A more precise formulation is that if a function is in both L1(R) and   L2(R), then its Fourier transform is in L2(R)   What do they mean, "both in $L^2$ and $L^1$" ? The above formula clearly states that if the left side is finite, ie $f$ is in $L^2$, then the right side is finite, ie $\hat{f}$ is in $L^2 $?  EDIT2: I think I get it, it is becuse they have defined the Fourier transform to only be applicable to $L_1$ functions, so they RHS might not exist if $f$ is not in $L_1$

I am reading Stein's Fourier Analysis, and I am confused by the proof of Plancherel's theorem.      If $f \in \mathcal S(\mathbb R)$, then $||f|| = ||\hat{f}||$.    The norm here is defined in the $L^2$ sense. The proof goes like this.     If $f \in \mathcal S(\mathbb R)$, define $g(x) = \overline{f(-x)}$.    Then $\hat g(\xi) = \overline{\hat f(\xi)}$.   Let $h = f*g$.   Then $\hat h = \hat f \hat g = |\hat f|^2$, and $\displaystyle h(0) = \int f(-t)g(t) dt = \int f(-t)\overline{f(-t)} dt = \int|f|^2$.    Apply Fourier inversion formula, and get $\displaystyle h(0) = \int \hat h(\xi) d\xi$. Thus $\displaystyle\int |\hat f|^2 = \int \hat h = h(0) = \int |f|^2$.   I understand every step in this proof except for the setence $\hat g(\xi) = \overline{\hat f(\xi)}$.  I try to expand this thing, and get  $\displaystyle \hat g(\xi) = \int g(x)e^{-2i\pi x\xi} dx = \int \overline{f(-x)}e^{-2i\pi x\xi} dx = -\int \overline{f(u)}e^{2i\pi u\xi}du = -\overline{\hat f(\xi)}$,  which would make everything after this off by a minus sign. Could someone tell me what went wrong with my argument here?


Most of the synonyms on  refer to a bad odor.  Is there are word like reek which is used to describe good smells?  Example sentence:     Mary dawdled toward Tom and buried her nose in his school uniform   jacket. Despite being new, it already _ his musky scent.

Specifically I'm looking for an antonym of the infinitive rather than the noun. For example, "fragrance" is an antonym of "stink" (the noun), but you can't say "Wow, that fragrants" or "Wow that fragrances" in the way you can say "Wow that stinks".


I made Panna Cotta for a party. I don't have a fridge where I'll keep them, so most likely they'll be on a buffet table. I'm afraid of them going bad or becoming liquid (Or something like that) after sitting out of the fridge more than 4 hours I guess? I also know you shouldn't keep cooked food more than 4 hours out of the fridge but yes. Does anyone know?

If I leave fully-cooked food (particularly meat) out at warm temperature - say on the counter or in a crock pot that's been turned off -  how long will it stay safe to eat?  Does it make any difference if I re-cook the food afterward?


I'm writing some standalone python code (in Spyder) to automate QGIS work. I am successfully using 3rd party algorithms, having performed the following setup: #initialise qgis qgishome = 'C:/Program Files/QGIS 3.16/apps/qgis/'  QgsApplication.setPrefixPath(qgishome, True) app = QgsApplication([], False) app.initQgis()  import processing from processing.core.Processing import Processing Processing.initialize()  #import third party processing plugins sys.path.append(r'C:\Users\weedingb\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins')  from processing_umep.processing_umep_provider import ProcessingUMEPProvider umep_provider = ProcessingUMEPProvider() QgsApplication.processingRegistry().addProvider(umep_provider)  However, I can't access 'native' algorithms. For example, running the following (as suggested by the QGIS cookbook) for alg in QgsApplication.processingRegistry().algorithms():     if 'buffer' == alg.name():         print("{}:{} --> {}".format(alg.provider().name(), alg.name(), alg.displayName()))  yields nothing, and inspection of the algorithms list shows none with 'native' as the provider. Are these not available in standalone python?

I'm writing a script which must work outside of QGIS GUI. I call some API functions from qgis.core but I'd like to use the processing plugin.  I'm able to import processing with sys.path.append() but I can't run any process. Moreover, all "native" algs are missing in QgsApplication.processingRegistry().algorithms()  So is it possible to run processing that way ? What am I missing ?  import os, sys from qgis.core import * QgsApplication.setPrefixPath('/usr', True) qgs = QgsApplication([], False) qgs.initQgis()  sys.path.append('/usr/share/qgis/python/plugins') from processing.core.Processing import Processing Processing.initialize() import processing  layer1 = QgsVectorLayer('data/ROUTE_PRIMAIRE.SHP') layer2 = QgsVectorLayer('data/ROUTE_SECONDAIRE.SHP')  processing.run('qgis:union', layer1, layer2, 'test.shp') # returns nothing   I'm on QGIS 3.0.1 - Debian 9


I've been using the Index Explorer and Crawl Information in Bing Webmaster Tools to identify 301 redirects & 404 errors. I've noticed however that all of the links are listed without the www. before the root domain, even though the domain was added with the www. and shows as www.domain.com in the Dashboard. I'm also already redirecting domain.com to www.domain.com and have canonical links in place.  Google Webmaster Tools has an option to set "Preferred domain" as either including the www. or not, but I can't find anything like this in Bing's version. Is there an option for this? Is there another way to stop Bing from reporting on URL's without the www.?

My site is www.example.com and Bing Webmaster Tools keeping telling me to submit a sitemap for example.com, so it is possible to stop Bing stop bothering me the example.com?


Say I have a 5/5 creature with double strike and lifelink. I attack with the 5/5 and my opponent blocks with a 1/1. The creature is killed by the damage in the first strike phase and I gain 5 life. Do I gain an additional 5 life in the normal damage phase?

I understand that the double strike mechanic allows a creature to attack in both a first strike combat damage step and a normal combat damage step.  It's clear that when a creature with no other abilities aside from double strike is blocked that even if the defender has lethal damage marked in the first strike step that the additional damage does not carry forward to the player.  How does this view of double strike change with relation to trample and lifelink?  I believe the correct interpretations are (not accounting for other effects or abilities) that 2 times the attacker's power is marked as damage on the defender.  For trample this amount is reduced by the defender's toughness and additional damage carries forward as normal.  Similarly for lifelink the active player gains life equal to 2 times the attacker's power.  Thus a 10/10 trampling double striking life linker blocked by a 1/1 creature would deal 19 points of trample damage and the active player would gain 20 life.  Is this interpretation correct?


I know it's impossible. I normally find the flaw behind the principle, but  is hard to crack. The two wheels are geared together, so that no magnet on one wheel "backlashes" the wheel in a way that this magnets is between two magnets of the opposing wheel. I will use the term "opposing magnets" to describe magnets of two wheels facing one another and repelling one another.  The magnets on both wheels are oriented with the same pole pointing to the axis, so that opposing magnets repel each other. The net rotary force is zero, because the opposing magnets on the top side attept to spin each wheel in one direction while the magnet pair at the bottom apply the same force in the opposite direction.  The inventor believes that he can break this symetry by placing an iron plate between the lower portions of the two wheels. This plate is attracted to the magnets, and mitigates the repulsive force between two opposing magnets. The end result is (according to the inventor) that the opposing magnets on the top part have a stronger repulsion than the opposing ones at the lower part. This, is supposed to give a net non-zero force that should spin the wheels forever...  Where is the catch?  EDIT: This is not a v-gate engine or any type of single-wheel motor with a magnet mounted on a lever. The only moving parts are the two wheels, and the links in the duplicate question (those links which worked) show different designs. In addition, the link I provided is about a device whose dominant force is a repulsive, and not an attractive one. So, if the magnets lose their magnetic field, the device may act differently. Maybe the wheels will oscillate and then stop at a sticky point?

There are many videos on youtube in which people arranged magnets in circle and rotated one placing in middle of that circle on a shaft, and the magnet (magnet motor) starts madly and continues its movement. Do they really rotate infinitely? If so, do they from where they get that extra energy to move so fast and infinitely?    EDIT: This question is about real world scenario  UPDATE: I am unable to find that particular video about which i talked about -- I added them to my favourites, but they are all now deleted :( -- there are hundreds of that that kind of videos. Some example videos links


Commands executed:      cat a1.txt | grep a | wc -l >> a.txt     cat b.txt | grep a | wc -l >> a.txt     cat c.txt | grep a | wc -l >> a.txt   I want count and the command to append to a.txt.   like  Expected file output: Assume 100,200,300 are counts.  cat a1.txt | grep a | wc -l  100 cat b.txt | grep a | wc -l 200 cat c.txt | grep a | wc -l  300

Sorry for the confusing title!  Suppose I run  apt-cache depends kde-window-manager > ~/Desktop/kwin-depends   I'll get a file named "kwin-depends" in my Desktop folder.  Is there some trick to include the command I issued as part of the file, preferably at the start of the file?  So, at least in 14.04 LTS, the first few lines would look like this:    apt-cache depends kde-window-manager > ~/Desktop/kwin-depends  kde-window-manager   Depends: kde-runtime   Depends: libc6  |Depends: libegl1-mesa   Depends: <libegl1-x11>   Instead of just like this:  kde-window-manager   Depends: kde-runtime   Depends: libc6  |Depends: libegl1-mesa   Depends: <libegl1-x11>


Note: The legacy Skype for Linux application (v4.*) is now discontinued and was removed from Canonical’s partner repositories, so this question and its answers are obsolete. Please refer to  of our .    I am receiving the following message while I am trying to install Skype:  nidhin@ubuntu:~$ sudo apt-get update nidhin@ubuntu:~$ sudo apt-get install skype Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  skype : Depends: skype-bin but it is not installable E: Unable to correct problems, you have held broken packages   How can I fix this?

I want to install Skype, but I can't locate it in Software Center or by using Synaptic Package Manager. Can anyone help me?


As in the last question i had, I'm doing some linear algebra. This question has me stumped however. I can't seem to visualize it.   $$ T_{B}: R^2 \to R^2,\qquad B = 1/2 \left[\begin{array} {rr}1 & 1 \\   1 & 1 \\ \end{array}\right]. $$  What, geometrically, does the linear transformation $T_{B}$ do to a vector in $R^2$?  Thanks

$\newcommand{\Reals}{\mathbb{R}}$Doing some linear algebra. This question has me intrigued. I imagine it causes the vector to rotates the $x$ axis. But I mean, is there more to it?  $$ T_{A(\theta)}: \Reals^2 \to \Reals^2,\qquad A(\theta) =  \left[\begin{array} {rr}\cos \theta & -\sin \theta \\   \sin \theta & \cos \theta \\ \end{array}\right]. $$ What, geometrically, does the linear transformation $T_{A(\theta)}$ do to a vector in $\Reals^2$?


I have to use C++ for a project (normally doing Haskell and C) and I completely hang on headers for namespaces. When I leave away the "arrays.hpp" and directly include "arrays.cpp" into other files (which is bad practice, I know). The code works fine, but when I try to define the header for the following code it no longer works (of course, I still pass all the .cpps to g++). I already read several Stack Overflow posts on that topic, but none of the proposed solutions worked for me, so I would really appreciate it if you could tell me how the header for this code might look.  #include <vector> #include <stdlib.h>  #include "arrays.hpp"  namespace Arrays {   template<typename Field> class Array {     private:     int rank;     int* shape;     Field* data;     public:     Array(int _rank, int* _shape, Field* _data) {       rank = _rank;       shape = _shape;       data = _data;     }     Array(std::vector<Field> vector) {       rank = 1;       shape = (int*)malloc(sizeof(int));       shape[0] = (int)vector.size();       data = (Field*)malloc(sizeof(Field)*vector.size());       for(int i = 0; i < vector.size(); i++)         data[i] = vector[i];     }   }; }   Here is what I tried so far:  #ifndef ARRAYS_HPP  #define ARRAYS_HPP  namespace Arrays {   template<typename Field> class Array; }  #endif   And this is G++'s response after invoking it with g++ *.cpp):  error: variable ‘Arrays::Array<int> array’ has initializer but incomplete type

Quote from :     The only portable way of using templates at the moment is to implement them in header files by using inline functions.   Why is this?  (Clarification: header files are not the only portable solution. But they are the most convenient portable solution.)


I'll be travelling to Europe from 30th May to 13th June. I plan on reaching Vienna on the morning of 30th and leaving for Prague on 2nd July. From there, I'll travel to Krakow on 5th July. From there on 8th July, I'll leave for Bratislava. And from Bratislava to Budapest on 10th July. I'll leave Budapest on 13th July.   Since my time of staying in each country is almost the same, should I apply at the Austrian Embassy since they'll be my point of entry?  Also, I haven't purchased tickets for flights yet. Is it necessary or just giving the itinerary of flights I plan to use work? I came across websites offering flight reservations for a nominal fee. Should I use that?

I'm planning to go to Germany on Sept 6-8, then Netherlands on Sept 8-11 and exit Switzerland on Sept 11-14.  My question is:  Which embassy do I need to apply for the Schengen visa? The number of days are the same for Netherlands and Switzerland, but I'm planning to apply in Netherlands since it will be my second point of entry.


How does a particle know it should behave in such and such manner?  As a person, I can set mass is so and so, charge is so and so - then set up equation to solve its equation of motion but who computes that equation of motion for a particle in real life?   I, as a person, employ smart 'tricks' such as principle of superposition to avoid having to calculate super complicated situation (calculating electrical force by a shape where large circle is hollowed out in the off-center) but if I were to calculate this in a brute force manner, this would take long time for me to calculate. However, nature doesn't seem to face these types of problems.   Given a school of fish, the ones at the edge will sense threat and gives signal to those near them and so on but this analogy doesn't seem to make sense for physical objects generally considered in general physics problems. Am I asking the wrong type of question? Would appreciate input on this.

First of all, you may say that, this is a "why" question and in physics we don't ask such a question and instead we ask about "how". However, I want to discuss this with you.  We model the behavior of matter by physical laws, for example by quantum mechanics laws. I want to know how the matter, say electron, knows that it must obey such a law. What forces the electron to obey quantum mechanics laws?  If you consider a simulation of the universe in a computer, in the view of someone  simulated in that computer the physical laws are just there. They may not know what keeps  in check the simulated matter to obey physical laws, but in our perspective those simulated physical laws are there because we implemented them as zero and ones in a hard disk. If we wanted, we could change those physical laws and in the eye of the simulated person everything would be still fine.  Is there a scientific attempt to discuss this issue? so that I can read about it.


It's my understanding you need to keep catching pokemon to get the stardust. But now I can't do that and get the message "Your pokemon box is full. You can buy more space in the shop". I don't want to pay money. What do you do now, is there a way to release pokemon?

It seems that I can buy 50 more slots using 200 coins, but what if I keep on getting more and more common Pokemons such as Pidgey or Rattata, then the slots will be full again.  Right now, I am sorting by CP (Combat Power) and then "Transfer" the lowest CP Pokemons to the Professor (to give it away), but wonder what is a good or better way to handle this?  (For example, can I combine several Pidgey into one?)


I have this line: \textbf{Adv}\textsuperscript{downgrade}\textsubscript{$Pi$, DP, X}  But I get this output:  And I want it like this:  Can you help me with simple solutions as much as possible plz.

I want to use super and subscript at the same time in text mode. I cannot use math mode because I created macros which only work in text mode.  I found this question:   But the suggested answer does not work because the width of the resulting text is based only on the subscript, if the superscript is longer the text overlaps with the content afterwards.  I created the following versions for longer sub / superscripts but i need them combined:  \documentclass{scrartcl} \usepackage[english]{babel}  \def\SPSBbottom#1#2{\rlap{\textsuperscript{#1}}\textsubscript{#2}} \def\SPSBtop#1#2{\rlap{\textsubscript{#2}}\textsuperscript{#1}}  \begin{document}  prefix\SPSBbottom{long}{1}text \\[1cm] prefix\SPSBbottom{1}{long}text \\[1cm] % Working combination prefix\SPSBtop{long}{1}text \\[1cm] % Working combination prefix\SPSBtop{1}{long}text \\[1cm]  \end{document}   If I could place two text at the same place and the width is taken from the longer one than using \textsuperscript{#1 'and' \phantom{#2}}\textsubscript{#2 'and' \phantom{#2}} could work but I do not know how to do this.  Alternatively one could use the math form $A^{top}_{bottom}$ where top and bottom are in a nested normal mode (\text{} does not work). But I found no way to do this as well.  Thanks in advance :-)


So I'm leaving from England to Texas in 2 days and was wondering since my Father brought my tickets with his credit card, does he need to be there with the credit card at check in?  He's taking me to the airport so it's possible but will he need to be there on my return flight too? Because obviously that isn't possible since he isn't coming with me  The airline I'm flying with is Lufthansa by the way!  Also just to be sure...check in is before security right? so he would be in and out right? and does this matter if I check in online?  Hope I was clear, thanks for all the help :)

If someone else is booking international ticket for me using his credit or debit card, does he need to be present physically at the time of check-in?   Suppose I am coming back from Singapore to my home country and my ticket is booked by my friend for me, who lives in my home country. Do airlines in Singapore ask for the person to be present physically to check in?


Related to , in The Terminator we have this dialogue:     REESE: Pay attention. The 600 series had rubber skin. We spotted them easy. But these are new. They look human. Sweat, bad breath, everything. Very hard to spot. I had to wait 'til he moved on you before I could zero him.   From this and other dialogue, we are told that the Terminators are infiltration units, designed to look and appear human.  In this way they can get back to the human base and start shooting, thus wiping out large amounts of resistance members.  But when you look like Arnold Schwarzenegger, you don't exactly blend in.  The resistance was not made up of giant musclemen, but weary ordinary humans with a lot of courage.  We know that Skynet eventually learnt its lesson, making units like Cameron and the T-1000, but why make a giant muscle guy?  Wouldn't it just grab a resistance person and make a copy of them?  Looking for canonical answers please.  Also, that deleted scene from T3 doesn't count.  The T-800s had more than one face.

It was noted that the Terminators (T101) were infiltrator units, designed to infiltrate the resistance.  Given the ragged undernourished humans of the time, wouldn't making an infiltrator body into the hulking over-built Conan The Destroyer frame be something totally illogical if your goal is to blend in?   Why not use a more "normal" body? Robots already have metal frame and super-strong muscles, so size wasn't required to bump the combat capacity as with flesh and bone humans.


Im trying to prove that $\left|A\right|=\aleph$ for the following group:  $A=\left\{f\in\mathbb{N}\rightarrow\left.\mathbb{N}\right|\forall n\le m\ .f\left(n\right)\le f\left(m\right)\right\}$  using Schröder–Bernstein theorem To prove that $\left|A\right|\le\aleph$ I used the fact that $A\subseteq\mathbb{N}\rightarrow\mathbb{N}$ and therefore $\left|A\right|\le\left|\mathbb{N}\rightarrow\mathbb{N}\right|=\aleph_0^{\aleph_0}=\aleph$ For the other side I think I found an injective function $f\in P\left(\mathbb{N}\right)\rightarrow(\mathbb{N}\rightarrow\mathbb{N})$ which given a set $B\in P\left(\mathbb{N}\right)$ it will return the identity on $B$. In that case i will get $\aleph=2^{\aleph_0}=\left|P\left(\mathbb{N}\right)\right|\le\left|A\right|$ Is that correct or I missed something in the way?

The set of all strictly increasing sequences  ($a_n$) of natural numbers has cardinality $\mathbb{N}$, $\mathcal{P}(\mathbb{N})$ or $\mathcal{P}( \mathcal{P}(\mathbb{N}))$?  I answered $\mathcal{P}(\mathcal{P}(\mathbb{N}))$ because as the set can be described by $X=\{\{\ldots, a_n, \ldots \},\{\ldots,b_n,\ldots\}, \ldots\}$ as it is not known if there are any limited sequences (so, assuming all have infinite elements), the cardinality of $X$ could not be the first option $\mathbb{N}$ because considering any function $\phi : \mathbb{N} \rightarrow X$ there would always be elements not listed from $X$. So I thought it would possible to say that $|X|\ge | \mathcal{P}(\mathbb{N})|$ and thinking that trying to build any bijection $\varphi: \mathcal{P}(\mathbb{N}) \rightarrow X$ would also not be possible as there would be elements from $X$ not listed too. So than I got $|X| = |\mathcal{P}( \mathcal{P}(\mathbb{N}))|$, but I would like to know if I answered correct and, if not, why?


What is the determinant of a column matrix? I figured it would not exist, or equal 0, knowing only the method for solving square matrices, but is there a different method for finding such a determinant?

I wrote an answer to  question based on determinants, but subsequently deleted it because the OP is interested in non-square matrices, which effectively blocks the use of determinants and thereby undermined the entire answer. However, it can be salvaged if there exists a function $\det$ defined on all real-valued matrices (not just the square ones) having the following properties.   $\det$ is real-valued $\det$ has its usual value for square matrices $\det(AB)$ always equals $\det(A)\det(B)$ whenever the product $AB$ is defined. $\det(A) \neq 0$ iff $\det(A^\top) \neq 0$   Does such a function exist?


I’m trying to achieve in Blender Cycles (preferably 2.79b) a shader that fills in any object with procedural generation.  For example, if I have a model of a hand, I want to fill with vessels inside the hand. Like following inage:    My final goal is not to add vessels, but tree branches/roots. I want to make a hand look like it’s made out of tree roots. Or maybe electronic wires.  I think is the same idea, but different settings on how the inner object renders.  Here is another example, but being used in a human lung: (Apparently this was made in Houdini)    Can anyone lead me to the right path to achieve this. Thanks in advance.

If you've ever seen anything like Body Worlds or the Bodies: The Exhibition you'll know how they dissect individual organ systems and put them on display with a technique known as . For instance, plastic can be pumped through the circulatory system such that when it hardens, acid can be used to dissolve the rest leaving the underlying network of blood vessels underneath.    I'm looking forward to modeling something as intricate as this, but my first attempts have failed. The initial idea was to generate a tree structure with the Sapling Tree add-on. Then I could do a Boolean modifier with my model, and touch up the end points individually by extruding to follow the contours of the model's surface. However, the Boolean modifier fails in this example.  Do I have to code this procedurally with a Python script or is there some other method I should try first?


Let $f(z) = z + g(z)$ where $g$ is holomorphic. Suppose that $|Img(z)| < 1$ for $z \in [−1−i,1−i]\cup[−1+i,1+i]$ and $|Reg(z)| < 1$ for $z \in [−1−i,−1 + i]\cup[1−i,1 + i]$. Show that $f$ has exactly one zero on the square $Q = \{x + iy \in \mathbb C : |x| < 1,|y| < 1\}$.  I have been trying to find the appropriate function to compare to $g(x)$ in order to apply the theorem, the most obvious candidate would be the function $h(z) = z$. I can show that this function is greater than $g(z)$ on the corners of the square but not anywhere else.  Any tips? Thanks!

Let $f(z) = z + g(z)$ where $g$ is holomorphic. Suppose that $|\operatorname{Im} g(z)| < 1$ for $z ∈ [−1 − i, 1 − i]∪[−1 + i, 1 + i]$ and $|\operatorname{Re} g(z)| < 1$ for $z ∈ [−1 − i, −1 + i] ∪ [1 − i, 1 + i]$.   Show that $f$ has exactly one zero on the square $Q =$ {$x + iy ∈ \Bbb C : |x| < 1, |y| < 1$}.  My attempt:  I let $h(z) = z$. Then, I want to compare $|g(z)|$ and $|h(z)|$ because if $|g(z)| < |h(z)|$ then by Rouché's theorem, $h$ and $h+g$ have the same number of zeros, and $h$ has in fact one zero. But then $h+g = f$ and thus $f$ would also have the same number of zeros as $h+g$ which has one zero.  This is what I could come up with: $|g(z)| = |u(z) + iv(z)|$. Then for $z \in Q$, we have $|g(z)| \leq |u(z)| + |v(z)| < 1 + 1 = 2$ (since $|\operatorname{Im} g(z)| < 1$ for $z ∈ [−1 − i, 1 − i]∪[−1 + i, 1 + i]$ and $|\operatorname{Re} g(z)| < 1$ for $z ∈ [−1 − i, −1 + i] ∪ [1 − i, 1 + i]$)  But I don't know how to continue from here. Any help please?


I know that in speech we say "the bigger the better", but is this ok in written English as there is no verb....

Is the following grammatically correct? My friend says the second sentence is grammatically incorrect, but couldn't explain why.     I have always been fascinated by statistics. The different ways in   which you could look at data and infer knowledge from it.


I am trying to write Test for this class (Java Spring Boot):   Specifically, I am trying to Mock this method call:  URI uri = util.getServiceUrl("product");   To do this, I tried to instantiate a Mock of the ServiceUtils object and use the .when and .thenReturn Mock methods.  private ProductCompositeIntegration productIntegration = new ProductCompositeIntegration();      @Autowired     private RestTemplate restTemplate;      @Mock     private ServiceUtils util;      private MockRestServiceServer mockServer;      @Before     public void setUp() {         MockitoAnnotations.initMocks(this);         mockServer = MockRestServiceServer.createServer(restTemplate);     }      @Test     public void myTest() {         URI uri = URI.create("TestUrl");         Mockito.when(util.getServiceUrl("product")).thenReturn(uri);         ResponseEntity<Product> product = productIntegration.getProduct(1);     }   But I am still getting the result of the original object of ServiceUtils instead of the Mocked method call result.  What am I doing wrong?

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I have installed puTTY for Windows 10 and access a remote server via SSH. I want to send the files from my local Windows box to the remote server. How can I do this?   I am using puTTY but psftp, pscp etc. are also an option.  I use this.   pscp.exe i F:\.ssh\anotherprivate.ppk "F:\xss vulnerability.txt" utkarsh@52.42.74.119.   And got this:  More than one remote source not supported

I am using  on Windows 7 to SSH to my school computer lab. Can I transfer files from my Windows machine to my user on the school machines using SSH?


The HDRI showed up fine in the preview, but didn't show up in the final cycles render. The transparent checkbox is disabled. The HDRI of the other window in the room (not shown) showed up accurately, both in the render and the preview. Both windows used the same glass texture. How does this happen? What should I do? Thank you. Environmental Texture:  Glass Texture for Window:

I'm trying to make a test render of my model. But everytime I render it the render looks completely different from the viewport. The viewport is in render mode so it should look something like that, but this doesn't come even close.   I'm using cycles renderer. And my world note is just the standard one so nothing installed there.  There are 2 sun's in the scene both set to 0.5.  I've tried different hdris but they all have the exact same outcome. I've pressed alt+h to see if there was anything hiddden in my scene that blocked the background and nothing shows up so I don't think that's the problem. I've also copied it to a new Blend file to see if there was anything wrong with the file itself but it also happens there so it must be something in my settings I guess. But I just can't find out which one    this is how it looks in the viewport render.    And this is how it looks when I render it.  I really don't know how to fix this so I hope someone can help me here


I follow the practice of always using a absolute comparison '===', but some learned colleagues have argued that this is an unnecessary waste of computation time on type-checking in situations where you're highly confident of a particular comparison type.  So my question is this; is there realistically any significant performance hit for always type-checking values during comparison?

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


My background is Java mainly, but this project has to be done in c#. So forgive me if I don't sound like I know exactly what I want, I may just use the wrong c# terms.   The core question: Can I use .dll-files like I can use .jar-libraries in Java? I am fully planning on doing my own research on how to actually do it, all I need is a helping hand on where to start / if I am on the correct track.   I am building a tool that is basically performing some mining on databases. The goal is to import a database like SQL, save it internally, do some processes on it and return the results.  These mining processes should be interchangeable. So if I pick to only use two of them, I won't have to load all 20 for example.  Is this possible with dll-files in c# / with visual studio?  My idea was to have the mining in these dll-files, then basically use them over an API. So if I pass a String to the DLL file, I would get a result back.  In Java I would do this with a .jar-library and if I want to add a new mining algorithm later, I could just put a new .jar-file in the program folder and the tool would find it and use it.  Am I on the right track to do this in c# / WPF? Would I be missing some important functionality? If I am on the wrong track, what would be the correct approach to tackle this?

Is it possible to instantiate an object at runtime if I only have the DLL name and the class name, without adding a reference to the assembly in the project? The class implements a interface, so once I instantiate the class, I will then cast it to the interface.  Assembly name:     library.dll    Type name:      Company.Project.Classname     EDIT: I dont have the absolute path of the DLL, so Assembly.LoadFile won't work. The DLL might be in the application root, system32, or even loaded in the GAC.


I want to call a function depending upon the data-value value of the  that is clicked. Is this possible? I tried [call](); and call();. Both return errors.    function a() {   alert("Hi"); }  function b() {   alert("Bye"); }  $(function() {   $("a").click(function() {     var call = $(this).attr('data-value');    [call]();   }); });  A B

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


I am a Jordanian citizen and I applied for UK visa C for me and my husband to visit my daughter who has a temporary residency in UK.  After applying for UK-Visa, my husband got his visa and I got 10 years ban, the reason being that I forgot to mention that I was earlier refused Visa on Jan. 2016.  Should I re-apply or is there any other alternative to get the ban revoked? please note that omeone ales filled my application and he just answered no and i didn't mentioned because i already had two visas before

I am a Nigerian citizen.  In 2007 I was twice denied a visa to the UK.  Recently I was filling out an application for another UK visitor visa and by mistake I answered no to the question whether I had ever been denied a UK visa, instead of yes.  When reviewing my application, the visa officer found out about the previous visa rejections and as a result I got a 10 year ban on travel to the UK.  What can I do to lift my 10 year ban?   Will this ban affect my chances of obtaining a visitor visa to the USA?


Let $p(x)=x^3+x^2+1$ and $q(x)=x^3+x+1$ be polynomials over the field $\mathbb{Z}_2$. Let $\alpha$ be a root of $p(x)$ and $\beta$ be a root of $q(x)$. Now let $K=\mathbb{Z}_2(\alpha)$ and $F=\mathbb{Z}_2(\beta)$. I am asked to find an explicit isomorphism $\phi: K \rightarrow F$.  I know that since $p(\alpha)=0$ and $q(\beta)=0$ then $\alpha$ and $\beta$ are algebraic over $\mathbb{Z}_2$. I'm rather stuck after this point, and my other problems are somewhat similar to this one, so if there is a key fact that I'm missing then it might allow me to solve the others.

They are both Galois fields of order 8. I'm not exactly sure what the question means - how does one determine/describe an isomorphism?


This app won't run without google play services, which are missing from your phone. it's asking me for a code for redeem, setting and or _________   please help me reinstall the google play services that was on the phone it an LG trac phone through page plus

I just upgraded Google+ to 3.6.0.44338848 (released late March 2012) and now it won't launch. It says:     This app won't run without Google Play services, which are missing from your phone.   If I tap "Get Google Play services" I'm brought to Google Play where I tap "install" and "accept and download" but then I get "Error: No connection."  (I do have a connection. I can browse the web just fine.)  Now, I should mention that Market/Play has been odd the whole time, I've had this phone, a T-Mobile myTouch 4G running Android 2.2.1. Whenever I want to install an app, I have to go into Applications, tap Google Play Store, and tap "Uninstall updates" to restore the Market app. Then I can install applications. Over time, some process upgrades Market to Google Play but I can't install applications until I downgrade to Market to avoid the "Error: no connection" message. The processes is frustrating. On my old LG phone (also running 2.2 Google Play worked just fine).  I'm been putting up with all this downgrading because it's not often I install apps and usually there's no problem after installing or upgrading an app.  But now the Google+ app is unusable so I'm motivated to do something about the "No connection" problem.  I've read through posts such as  and Google's help page at  but I'm stuck. Please help.


$$ \lim _{n \rightarrow \infty}\left[n-\frac{n}{e}\left(1+\frac{1}{n}\right)^{n}\right] \text { equals }\_\_\_\_ $$   I tried to expand the term in power using binomial theorem but still could not obtain the limit.

$$\lim_{n \to \infty} n\bigg(1-\dfrac{1}{e}\bigg(1+\dfrac{1}{n}\bigg)^{n} \bigg)$$   If I write expansion of $\bigg(1+\dfrac{1}{n}\bigg)^{n}$ it was equal to expansion of $e$ so $n-n=0$. Is limit is zero ?  Edit: Uploading screen shot of my response. They marked it correct and I don't know if answer key is wrong or not ? Please can anyone say for sure like with $100$ percent  surety if answer given is wrong.


I have a webpage where I list all my database data. I have a DELETE link in front of each record. When a user click that DELETE link, it redirect user to a page called delete.php and in this page I run the delete query. My process is  Index.php  <a href="delete.php?action=delete&id=<?php echo $ID; ?>">DELETE   delete.php  if (isset($_REQUEST["action"])) if ($_REQUEST["action"] == "delete") {     $id= $_GET['id'];     $del_query = mysql_query("DELETE FROM TABLE WHERE id= '$id'"); }   Can anyone tell me any secure method of deleting data because this process is not secure and user can directly type this in the URL delete.php?action=delete&id=3 which will delete that record.

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


OS: Windows XP SP3. When I try to open the website brokerkf.ru in IE8, it says, that it can't find the server. While it opens google.com and many other websites.  Firefox and Chrome open brokerkf.ru without any problems. nslookup  shows the website IP address correctly in the command prompt.  This domain is not in /etc/hosts file.  What could be the issue? I am puzzled.

I'm unable to access the following website from my Internet Explorer 8 under Windows XP with Internet Explorer unable to display web page error. By the other hand the FireFox browser at the same Windows XP can access this website.  How to solve the issue with IE8 ?


How can I use the Pokemon map to catch more/rarer Pokemon after this new update? For example:   How can I use the selector in the bottom right corner to find rarer Pokemon?

Occasionally, you can see little tufts of leaves blowing in spots on the map      Do these mean anything?


We have an n natural number. Prove, that 2(3n)! is divisible with n!(n+1)!(n+2)!.  I tried to make it look simplier, but can't prove that this is true.

Prove that:  If $n$ is greater than 2, then $(3n)!$ is divisible by $n! \times  (n + 1)! \times  (n + 2)!$  From Barnard & Child's "Higher Algebra".  I know that the highest power of a prime $p$ contained in $N$! is  $$ \left\lfloor{\frac{N}{p}}\right\rfloor + \left\lfloor{\frac{N}{p^2}}\right\rfloor + \left\lfloor{\frac{N}{p^3}}\right\rfloor ... $$  I'm unable to show that the formula above gives a higher value for $N = 3n$ than for the sum of its values when $N$ = $n$ , $n + 1$ and $n + 2$, considering the condition that $n > 2$.


My recently closed question isn't showing the duplicate target:    Other duplicate questions seem to be fine (both mine and others).

Obligatory: This is not a duplicate of , which is concerning the much older duplicate closure process.  Have a gander at . Notice anything weird?  The Community♦ user was invoked by the question asker to self-close as a duplicate (presumably of the comment below, which links to ), but the list of duplicates is entirely empty. So it would seem the question asker was able to close their own question as a duplicate of... nothing?  Screenshot, in case the post is altered later:    Any idea what happened here?


I have read and (believe I have) understood the posts made previously on this forum.  However as a Java novice I am having an issue  I create a  MAP voucherDetails and pass it into a function where it is being populated (verified with trace). On return iy is empty. Why?  Map<String, Object> voucherDetails=new LinkedHashMap<>(); log.info("B4: "+voucherDetails.size());   // size is 0   log.info("B4: "+voucherDetails.toString());     // {} if (!ws.handleVoucherDetailsResponse(voucherDetails)){     return false; } log.info("AF: "+voucherDetails.toString()); //{} log.info("AF: "+voucherDetails.size());     // size is 0   public boolean handleVoucherDetailsResponse(Map<String, Object> voucher) throws IOException {     log.enter("handleDetailsDetailsResponse");      PCVMResponseType status=decodeResponse();     switch (status) {            case DATA:         voucher=decodeVoucherDetailsResponse(response);         String accountno=(String)voucher.get("accountno");         log.info("AA: "+accountno);         String voucherno=(String)voucher.get("voucherno");         log.info("VV: "+voucherno);                  log.info("CC: "+voucher.size());         log.info("IN: "+voucher.toString());                     return true;     default:         return false;                }        }   although voucher is being populated inside the function it is still empy on return. As if the Object is being passed not as a pointer to it.  What am I doing wrong and how do I do it correctly  TIA   Ephraim

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


Say I walk outside and throw a ball into the air. Obviously it will decelerate as it travels upward due to Earth's gravity, and accelerate as it travels downward for the same reason. But is the ball ever at rest -- say, for even a nanosecond -- between the period of time when it is traveling upward and the period of time when it is travelling downward? Or is the ball either going up or down -- and only up or down -- at any given instance? If so, how does it make the transition from travelling upward to travelling downward?

When a rubber ball bounces, it first accelerates in the positive direction (downward) then it bounces (hits the floor) .The velocity then becomes negative as the ball declerates while travelling upward - accelerates in the negative direction. After some time, the velocity is finally cancelled out by the downward force of gravity on the ball.  At this point the same amount of force pushing the ball upward is the same pushing it downward - it is at zero velocity.  My question is, how long does this period of zero velocity (motionlessness) last.


The question itself is an example, but it isn't the best example  Have you ever visited D.C.?   or  Have you ever visited D.C?   Both look wrong to me. The former has double punctuation, which is against the rules, at least most of the time. The latter doesn't have a period indicating that the C is an abbreviation.

I always stumble when using abbreviations in a sentence, as they inherently contain a period in them. How do I use a comma or a semicolon after an abbreviation? How about a period?  E.g. (This is an example of my quandary)


I just did my first full PCA on the Iris dataset. I understand the math behind PCA, but less so the statistics. I started by plotting the two variables that had the highest co-variance, just for the fun of comparing their plot to the final PCA (after reducing to two PCs). The result surprised me. There was the same general shape in the scatter plot, but it appears that the slopes were opposite in nature. This makes me think maybe I messed up somewhere.  Here is the graph of the variables that I calculated as having the highest co-variance:   And then, here is the graph of my top two principle components:    My full calculations are here, in a Jupyter notebook. I was wondering if there are any obvious errors, or if this sort of behavior is possible:

I performed principal component analysis (PCA) with R using two different functions (prcomp and princomp) and observed that the PCA scores differed in sign. How can it be?  Consider this:  set.seed(999) prcomp(data.frame(1:10,rnorm(10)))$x              PC1        PC2  [1,] -4.508620 -0.2567655  [2,] -3.373772 -1.1369417  [3,] -2.679669  1.0903445  [4,] -1.615837  0.7108631  [5,] -0.548879  0.3093389  [6,]  0.481756  0.1639112  [7,]  1.656178 -0.9952875  [8,]  2.560345 -0.2490548  [9,]  3.508442  0.1874520 [10,]  4.520055  0.1761397  set.seed(999) princomp(data.frame(1:10,rnorm(10)))$scores          Comp.1     Comp.2  [1,]  4.508620  0.2567655  [2,]  3.373772  1.1369417  [3,]  2.679669 -1.0903445  [4,]  1.615837 -0.7108631  [5,]  0.548879 -0.3093389  [6,] -0.481756 -0.1639112  [7,] -1.656178  0.9952875  [8,] -2.560345  0.2490548  [9,] -3.508442 -0.1874520 [10,] -4.520055 -0.1761397   Why do the signs (+/-) differ for the two analyses? If I was then using principal components PC1 and PC2 as predictors in a regression, i.e. lm(y ~ PC1 + PC2), this would completely change my understanding of the effect of the two variables on y depending on which method I used! How could I then say that PC1 has e.g. a positive effect on y and PC2 has e.g. a negative effect on y?    In addition: If the sign of PCA components is meaningless, is this true for factor analysis (FA) as well? Is it acceptable to flip (reverse) the sign of individual PCA/FA component scores (or of loadings, as a column of loading matrix)?


Every single day when I sit to write something, I am to think what I will write. Every single day when I sit to write something, I am to think what I would write.   Please say what are the differences between 1 and 2?

Here is the sentence from the test     Without the Sun there _____________ no light, no heat, no energy of any kind.   a) will be   b) would be   c) will   The answer is obviously "b" because it is second conditional. However in another sentence     Oxygen is an element of greatest importance to the Earth as all living things __________ without it.   a) would die   b) will die   c) will be dying   the correct answer is "b" and not "a". I don't understand why, because both sentences are constructed similarly, even the "without" preposition appears in both of them.


I have a funtion in my program that should determine if the last char of a string is a / and if not, add a / at the end, however, it always adds a /, even if the last char is a / Here is the code:  public static String setLastCharSlash(String check) {     if(check.substring(check.length() - 1) != "/") {         check = check + "/";     }     return check; }

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


I'm a Venezuelan citizen and am taking a long flight from Venezuela to Australia. I'm taking two connections and changing airplane two times; my schedule is: Venezuela-Mexico; Mexico-L.A., L.A-Sydney. In L.A. the layover is approximately seven  and a half hours long during the afternoon; I arrive at 2 and depart at 10 approximately. So I was thinking if it's possible to get out of the airport, and do some shopping or even going for dinner... I don't really know if I need a visa for this or which type should it be? Also I don't have any idea if the airport offers some type of luggage lockers or a luggage facility? From L.A. to Sydney I'm traveling by Qantas, in First Class. Is there anyone who knows if Qantas offers some type of luggage keeping service?  Sorry for the length I'll appreciate any info, or help. Thanks. I might sound like a newbie, but i don't even know if it's enough time for going downtown and then going back to airport...  I just don't want to expend 7 hours alone in the airport.

In Europe usually you don't need to go through immigration to change planes (unless you are entering/exiting Schengen). Is it the case in the US as well? May I catch a connecting flight on one of the US airports if I don't have US visa?


given is a symmetrical bilinearform s that has the following matrix:  $A = M_\beta(s) = \begin{pmatrix} -3&0&-1\\0&-3&0\\-1&0&-1\end{pmatrix}$  I have to calculate the signature of s and tell, whether s is positive-definite, negative-definite or indefinite.  I take a look at $det(A-t\cdot E_n)$ and get three eigenvalues $< 0$. This means:  Signature $\sigma(s) = (3,0,0)$ and the matrix is positive definite, right?

what is the signature of this matrix:  $\begin{pmatrix} -3&0&-1 \\0&-3&0 \\ -1&0&-1 \end{pmatrix}$ ?  I tried calculating them without eigenvalues; this should be done via using Gauß, right?  However, I don't see a way to get the signature by using simultaneously raw and line-transformations.. ?


This error occurs when I install the apache2 & php5 around the time that libapace2-mod-php5 is installed:  root@ubuntuServerASC:/home/asc# apt-get install libapache2-mod-php5 Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  cron : PreDepends: dpkg (>= 1.15.7.2)         Depends: adduser but it is not going to be installed         Depends: libpam-runtime (>= 1.0.1-11) but it is not going to be installed  init-system-helpers : Depends: perl-base (>= 5.20.1-3) but it is not going to be installed  libapache2-mod-php5 : Depends: libssl1.0.0 (>= 1.0.0) but it is not going to be installed                        Depends: apache2-api-20120211                        Depends: apache2 (>= 2.4) but it is not going to be installed                        Depends: php5-common (= 5.5.9+dfsg-1ubuntu4.17) but it is not going to be installed                        Depends: ucf but it is not going to be installed                        Depends: tzdata but it is not going to be installed                        Recommends: php5-cli but it is not going to be installed  libpam-modules : PreDepends: debconf (>= 0.5) but it is not going to be installed or                               debconf-2.0                   PreDepends: libpam-modules-bin (= 1.1.8-3.2ubuntu2)                   Recommends: update-motd but it is not going to be installed  libpam0g : Depends: debconf (>= 0.5) but it is not going to be installed or                      debconf-2.0 E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   I tried use apt-cache to resolve the dependency but it didn't work.  root@ubuntuServerASC:/home/asc# apt-cache depends libapache2-mod-php5 libapache2-mod-php5   Depends: libbz2-1.0   Depends: libc6   Depends: libdb5.3   Depends: libpcre3   Depends: libssl1.0.0   Depends: libxml2   Depends: zlib1g   Depends: <apache2-api-20120211>     apache2-bin   Depends: apache2   Depends: mime-support   Depends: php5-common   Depends: libmagic1   Depends: ucf   Depends: tzdata   Conflicts: <libapache2-mod-php4>   Conflicts: libapache2-mod-php5filter   Recommends: php5-cli   Suggests: php-pear   I installed all of the required packages.  I'm running ubuntu 16 LTS server.

I am not sure what caused this error, but here is what the whole error says, and also this is sitting as a notification, and preventing me from updating any software using Update Manager - Please provide some assistance or tell me how to figure out what to do to fix it.  Could not calculate the upgrade  An unresolvable problem occurred while calculating the upgrade.  Please report this bug against the 'update-manager' package and include the following error message: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'


Let $A$, $B$, $C$ three complex 2x2 matrices such that $$A^2=B^3=I\;(A\neq I\neq B),\quad ABA=B^{-1},\quad AC=CA,\quad BC=CB.$$  Show that $C=rI$ for some $r\in\mathbb{C}$.  I got the minimal polynomials of $A$ and $B$, but I can't go further to find the minimal polynomial of $C$. Any suggestion?

I'm self studying Steven Roman's Advanced Linear Algebra, and this is problem 10 of Chapter 8.      Let $A,B\in M_2(\mathbb{C})$, $A^2=B^3=I$, $ABA=B^{-1}$, but $A\neq I$ and $B\neq I$. If $C\in M_2(\mathbb{C})$ commutes with $A$ and $B$, then $C=rI$ for some $r\in\mathbb{C}$.   Is there a way to solve this without writing out arbitrary matrices and attempting to solve a huge system of equations? The only thing I observe is that $A=A^{-1}$, so $B\sim B^{-1}$, so $B$ and $B^{-1}$ have the same characteristic polynomial. I'm stymied trying to show $C$ is diagonal, let alone a multiple of $I$. Thanks for any ideas.  I should add that I know that the center $Z(M_n(\mathbb{C}))$ consists of scalar multiples of $I$, but I don't see any reason to assume or prove $C$ commutes with everything.


Let say I have one field resolved.time. resolved.time="07/06/17 14:19:39"  I would like to write a condition on javascript like this:  if resolved.time>24 hours{ print("true"); } else { print("false"); }   How can i write this condition "if resolved.time>24 hours" on JS? Appreciate for anything help.  Thanks and regards, Okik

How do I get the number of days between two dates in JavaScript? For example, given two dates in input boxes:  <input id="first" value="1/1/2000"/> <input id="second" value="1/1/2001"/>  <script>   alert(datediff("day", first, second)); // what goes here? </script>


I hope you doing good. Linux Directories contain some system files usually it's hard to detect if Linux doesn't have color-coding enabled or no extension/suffix with the file. We use ls -l, ls -lah command to see the file type and other properties. Output can be as shown below  ls -rwxrwxrwx          Its a file (-) drwxrwxrwx          Its a directory (d) lrwxrwxrwx          What dose (l) stands for? I wanted to know all kind of files we can have inside Linux (on basis of -, d, l if more) and the list of characters we use to identify them. Example - stands for files d stands for directory l stands for what???

When I run ls -adl .* in one of my directories, I get a file that has this listing:  lrwxrwxrwx  1 user group   43 Jul  3 16:25 .#filename.py ->   person@computer.edu.4018:1372874769   The filename and URL-looking thing are highlighted in red. What does the l mean in lrwxrwxrwx? What kind of file is this?


I need to write a script that runs on Blender (2.72) and writes a YAML file containing the results. In normal python I would use PyYAML and write something like:  import yaml yaml.dump(['some', 'data']) ....   It seems that Blender uses a different python interpreter than the one installed on my system (Ubuntu), thus, a different set of extensions. I tried copying the PyYAML installation files to the Blender script directory blender/2.72/scripts/modules. That way, I can import the library, but I get errors because the library has its own dependencies (I want to avoid having to install every sub-dependency manually).  How can I get a Python extension installed and working in Blender?  Is there an alternative method to write YAML files in Blender (using python)?  Note: I will distribute the blender file containing the python script to other users, so it would be nice to have an easy-setup method!

I'm currently developing a script for Blender to handle Mesh Frequency Decomposition.  The script is nearly complete, but i need one more thing: The SciPy library to compute eigenvalues and eigenvectors.  Following the installation instructions on , I'm able to install it as well as Numpy. Numpy works fine, but I can't even import SciPy:  Traceback (most recent call last): File "/CAF_FD.py", line 4, in <module> ImportError: No module named 'scipy' Error: Python script fail, look in the console for now...   By the way, I'm working on Linux 64 bit and I've installed SciPy and Numpy with my package manager.  Edit: When I try to use SciPy with a terminal prompt, it works.


With version 5, elementaryOS introduced a picture-in-picture feature, allowing one to select any screen area and confine it to a floating rectangle above other windows. (Demoed )  Is it possible to get this feature in Ubuntu?  EDIT: Just to further specify: I'm not looking for a full-screen window or a separate workspace in a picture-in-picture. What I'm looking for is elementaryOS's implementation of picture-in-picture, which allows picking any area within a window.

Is it possible to mirror a live section of one workspace so that it is visible in the current workspace as a window that can be moved around?  The other day I had a Windows 10 VM running on my Ubuntu 16.04 host that took a really long time to complete updating.  I kept checking on its progress via Expo (Super+S) on Ubuntu.  That got me thinking that this problem has most likely been solved already since tools such as simplescreenrecorder can be configured to record just a portion of the screen.  However, I don't know the proper terminology to use for my Google search.  I'd like to see the 300x150 screenshot below in the form of a floating window (with live updates) in the top right corner of whichever workspace happens to be current.


foo.tex   \documentclass{article} \usepackage{cancel} \usepackage{breqn} % <= this include is causing troubles  \begin{document}    \[\cancelto{0}{foo}\]  \end{document}   compiling produces these results  $ lualatex foo.tex     $ pdflatex foo.tex     I have no clue what is happening, since the log files are clean of any warnings/errors. Does anyone have a clue on this ?

MWE needs to be compiled with LuaTeX to reproduce the problem:  \documentclass[11pt]{report}% \usepackage{amsmath,mathtools} \usepackage{breqn}                          \begin{document} $J^{\ast} = \text{JFK} \to \text{NO} \to \text{SFO}$ \[ J^{\ast} = \text{JFK} \to \text{NO} \to \text{SFO} \] \end{document}   Gives (no compile error or any warning) the following strange output    I have to use breqn package. If I remove it, then I get the expected output    Is there a way to work around this, so I can use breqn and get correct output?  TL 2015. filelist: (compiled with lualatex)  This is LuaTeX, Version beta-0.80.0.1 (TeX Live 2015) (rev 5863)   *File List*   report.cls    2014/09/29 v1.4h Standard LaTeX document class   size11.clo    2014/09/29 v1.4h Standard LaTeX file (size option)  amsmath.sty    2013/01/14 v2.14 AMS math features  amstext.sty    2000/06/29 v2.01   amsgen.sty    1999/11/30 v2.0   amsbsy.sty    1999/11/29 v1.2d   amsopn.sty    1999/12/14 v2.01 operator names mathtools.sty    2015/11/12 v1.18 mathematical typesetting tools   keyval.sty    2014/10/28 v1.15 key=value parser (DPC)     calc.sty    2014/10/28 v4.3 Infix arithmetic (KKT,FJ)  mhsetup.sty    2010/01/21 v1.2a programming setup (MH)    breqn.sty    2015/08/11 v0.98d Breaking equations    expl3.sty    2015/12/20 v6326 L3 programming layer (loader)  expl3-code.tex    2015/12/20 v6326 L3 programming layer  l3pdfmode.def    2015/11/11 v6250 L3 Experimental driver: PDF mode flexisym.sty    2015/08/11 v0.98d Make math characters macros   cmbase.sym    2007/12/19 v0.92 mathstyle.sty    2015/08/11 v0.98d Tracking mathstyle implicitly graphicx.sty    2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR) graphics.sty    2014/10/28 v1.0p Standard LaTeX Graphics (DPC,SPQR)     trig.sty    1999/03/16 v1.09 sin cos tan (DPC) graphics.cfg    2010/04/23 v1.9 graphics configuration of TeX Live   pdftex.def    2011/05/27 v0.06d Graphics/color for pdfTeX infwarerr.sty    2010/04/08 v1.3 Providing info/warning/error messages (HO)  ltxcmds.sty    2011/11/09 v1.22 LaTeX kernel commands for general use (HO) supp-pdf.mkii pdftexcmds.sty    2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO) ifluatex.sty    2010/03/01 v1.3 Provides the ifluatex switch (HO)    ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO) luatex-loader.sty    2010/03/09 v0.4 Lua module loader (HO) epstopdf-base.sty    2010/02/09 v2.5 Base part for package epstopdf   grfext.sty    2010/08/19 v1.1 Manage graphics extensions (HO) kvdefinekeys.sty    2011/04/07 v1.3 Define keys (HO) kvoptions.sty    2011/06/30 v3.11 Key value format for package options (HO) kvsetkeys.sty    2012/04/25 v1.16 Key value parser (HO) etexcmds.sty    2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) epstopdf-sys.cfg    2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live  ***********   Update  I found another case of duplication when using breqn, which does not involve \text at all. But the solution provided below also fixes this issue. I am adding this second case here for reference just in case it might be useful. Here is MWE  \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{amsmath,mathtools} \usepackage{breqn} \begin{document} \[ \underset{\mathbf{S}} {\operatorname{arg\,min}}      \sum_{i=1}^{k} \sum_{\mathbf x \in S_i}       \left\| \mathbf x - \boldsymbol\mu_i \right\|^2  \] \end{document}   The output is    After adding the patch in the answer below the correct output is now given, which is


Is this correct that a bottle of wine means the same as a wine bottle?  For example:  1) I found a bottle of wine 2) I found a wine bottle  This question is about "Noun Chains" or "Compound Nouns (n+n)" or Stone Wall construction. I wonder what natives (my mother language is russian) FEEL about these two sentences without additional words (like empty) .

There are several Japanese books teaching Japanese students how to write in English. I found this example in  (Correcting Errors in English Composition Manuals) by Michio Kawakami and J.D. Monkman.  The authors of this book claim that this sentence is incorrect:     This box of matches is empty.   They note that a “box of matches” is a box containing matches (and not a box made for keeping matches), hence the sentence should instead be:     This matchbox is empty.   Likewise, an “empty bottle of beer” should instead be an “empty beer bottle.”  Is this actually an error that I should avoid in writing English? If so, is it a grammatical error or something else?


I used a template from overleaf, I can not figure out which setting made this problem happen, so .  And the problem is in the file:     Chapters/Chapter1.tex   on line 30:  \caption{Related work \label{table:related_work}} \\     I tried:  \setcounter{table}{0}   But it doesn't seem to make any difference.

Some document elements (e.g., figures in the book class) are numbered per chapter (figure 1.1, 1.2, 2.1, ...). How can I achieve continuous numbering (figure 1, 2, 3, ...)?  And vice versa: Some document elements (e.g., figures in the article class) are numbered continuously. How can I achieve per-section numbering?  \documentclass{book}% for "vice versa" variant, replace `book` with `article`  \begin{document}  \chapter{foo}% for "vice versa" variant, replace `\chapter` with `\section`  \begin{figure} \centering \rule{1cm}{1cm}% placeholder for graphic \caption{A figure} \end{figure}  \end{document}   Bonus question: Is it possible to adjust the numbering of the sectioning headings themselves? Can I, e.g., switch from per-chapter to continuous numbering of sections in the book class?


I am able to list directories in a root shell,  root@ThinkPad:~# ll /media/ total 36 drwxr--r--  6 root root  4096 2011-05-12 16:41 ./ drwxr-xr-x 22 root root  4096 2011-05-12 13:14 ../ drwxr-xr-x  5 root root  4096 2011-05-12 15:56 hd/ drwxr--r--  2 root root 16384 2011-05-12 14:20 lost+found/ drwxr-xr-x  5 root root  4096 2011-05-12 16:34 main/ drwxr--r--  4 root root  4096 2011-05-12 16:41 .Trash-0/   but not from my user account:  alex@ThinkPad:~$ ll /media/ ls: cannot access /media/..: Permission denied ls: cannot access /media/hd: Permission denied ls: cannot access /media/lost+found: Permission denied ls: cannot access /media/.Trash-0: Permission denied ls: cannot access /media/.: Permission denied ls: cannot access /media/main: Permission denied total 0 d????????? ? ? ? ?                ? ./ d????????? ? ? ? ?                ? ../ d????????? ? ? ? ?                ? hd/ d????????? ? ? ? ?                ? lost+found/ d????????? ? ? ? ?                ? main/ d????????? ? ? ? ?                ? .Trash-0/   I don't understand why I can't see files (/media has a+r permission).

I know that I can use ls -l to list all the files in a directory including their permissions, but how do I see the permissions of a specific directory. For example if I wanted to see the permissions for my /etc directory?


I keep getting this error every time I run sudo apt-get update and also I'm getting a red notification in the top right of my computer that says my      update information is outdated   This is the result of update command:  Fetched 132 kB in 3s (42.5 kB/s) W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)  E: Some index files failed to download. They have been ignored, or old ones used instead.

I am using Google Chrome 48.0 32-bit. Today when I launched Google Chrome, I got this message:    This computer will soon stop receiving Google Chrome updates because this Linux system will no longer be supported   I thought Ubuntu 14.04 is supported for five years, what's exactly happening here?  And on 64-bit Ubuntu, I get an error from Update Manager and apt-get update:  Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)   Some index files failed to download.   They have been ignored, or old ones used instead.


Let $f$ be increasing on $[a,b]$, take points $x_1 < \dotsb < x_n$ in $[a,b]$. I am trying to show that $\sum_{i=1}^n o(f,x_i) < f(b)-f(a)$ where $o(f,x_i) $ is the  of the function at $x_i$.  Here is what I have done: for any $\delta$, $$M(x_i,f,\delta)-m(x_i,f,\delta)\le f(\min(x_i+\delta,b))-f(\max(x_i+\delta,a))$$ where $M(a,f,\delta)$ is $\sup \{f(x)\}$ for $x$ in a $\delta$-neighborhood of $a$, and $m$ is the infimum. The oscillation is the limit of the difference as $\delta \to 0$. I have an upper bound for the oscillation, but I can't find a way to make the terms cancel out when I add them.

Let $f$ be an increasing function defined on $[a,b]$ and let $x_1 < x_2 < \dotsb < x_n$ be $n$ points in the interior of $[a,b]$. Show that $\sum_{k = 1}^n [f(x_k^+) - f(x_k^-)]\leq f(b^-) - f(a^+)$.   The proof I have is very wordy and sketchy. I know it would be easier if I could find a telescoping sum but I've got a road block in my mind. :/