There is no commutative ring whose group of units is isomorphic to $\mathbb{Z}/p^2\mathbb{Z}$

I tried to show that there is no commutative ring with the unit whose group of units is isomorphic to $\mathbb{Z}/p^2\mathbb{Z}$. I can show if the ring is a finite field,it is easy. But I can no idea about general case. Please give me some advice.


Which antivirus scans computer without installing?

I am searching for an antivirus which can run from portable drives so that whenever I get infected computer on my way I can scan it using my drive and clean the infected one and install new one there...  Is there any antivirus for such things?


How to run a python program from command line and pass an argument to it?  Someone, please help me with this problem I have tried but I'm not able to do so.


i have a DLL build in c++ which has a method that return class pointer object ,how to receive this class pointer object in my Java code

i got dll from the customer ,this dll has methode which return class object e.g. DLL code is like this-  namespace mDLL {  class myDll {       public:       char* getName()       {             return "Hello World";       } }; } extern "C" _declspec(dllimport) mDLL::myDll* GetDllInstance(__in__ const        char* const Name);   i want to use this dll insdie my JAVA code and call methode GetDllInstance ,please help me in implementing this . i tried JNA but dont know how to retrieve class pointer object


How can I remove the `qbqjralptr..vbs` worm?

I'm trying to remove a virus from my friend's PC. The virus is called qbqjralptr..vbs & I found it's a worm specified like USB – Dinihou – Houdini Worm.VBScript  It seemed easy to remove but I just was able to deactivate it, without removing.  It infects all USB keys connected to PC creating false links to all files contained into the key. They link to a hidden file on the key which is the virus.  Well, I found it's a process which check if a new key is connected and build virus links.  I tried to kill the process and it worked. It won't recreate itself and the key I connected didn't make any link anymore. I deleted all system registry keys which permitted the virus to start when the OS loaded.  I located it into the temp folder of the user, but when i checked into that folder i didn't find any file.  Windows suggests it is a file but dir command won't retrieve anything, so I can't delete it because of “file not found” message.  Do you know how can I proceed?


Which notation and why: $\text{P}()$, $\Pr()$, $\text{Prob}()$, or $\mathbb{P}()$

Are these merely stylistic conventions (whether italicized or non-italicized), or are there substantive differences in the meanings of these notations?  Are there other notations meaning "the probability of" that should be considered in this question?


How do I limit the running time of a BASH script

I have a long running BASH script that I am running under CYGWIN on Windows.  I would like to limit the script to run for 30 seconds, and automatically terminate if it exceeds this limit. Ideally, I'd like to be able to do this to any command.  For example:  sh-3.2$ limittime -t 30 'myscript.sh'   or   sh-3.2$ limittime -t 30 'grep func *.c'   Under cygwin the ulimit command doesn't seem to work.   I am open to any ideas.


I try to log in my session but the login screen reappeared each time , the password is correctly entered.  NB: the guest session is accessible


Trying to install wine on 14.04, have tried removing all wine related but still no joy

After alot of dependency problems decided to remove all wine related packages from synaptic.  Recently upgraded from 12.04 to 14.04.  Do not understand what is happening. Get depends wine1.6-i386, when I try to install that get cmslib2-2 dependencies   $ sudo apt-get install wine winetricks 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:  wine : Depends: wine1.6 but it is not going to be installed or                  wine1.7 but it is not going to be installed E: Unable to correct problems, you have held broken packages. 2014-08-28_15:28 ~ $


This should be a simple inquiry. Doing a regression analysis I found that the coefficient of a predictor has a(n) (infinitesimal) positive effect of 0.001 that is significant at the 0.005 level. I cannot help wondering how a similar phenomenon may be possibile. Do you think it might depend on the fact that my variables are not (yet) scaled? As soon as I have rescaled all the predictors, do you think that the magnitude of the effect in point would change? I hope someone is able to clarify this puzzle.


Incomplete type only if not declared as pointer

I'm having an object declared in a class:  class B; class A{   B object; };   If I declare it B object; I get "object has incomplete type". If I declare it "B* object", the compilation ends successfully.  Why does that happens? I'm using C++11;


Test if a package (or package option) is loaded

[french]{babel} (aka frenchb) is incompatible with some other packages, such as tikz, since it tries to insert \thinspace before semi-colons.  In order to make these two play nice, you have to call \shorthandoff{;} in the document.  Now I have a package that uses tikz and I would like to locally disable the semi-colon for babel, instead of disabling it for the whole document. I could hack the .sty of the package to do that, knowing that I'm using frenchb, but I would rather make something clean and portable.  Is there a way in my package that I can test if frenchb is loaded and disable semi-colon management with babel locally, so the package doesn't have to be hacked?  Edit:  Martin's solution gives me something like this in general:  \RequirePackage{ifthen} \newcommand{\@babel@loaded}{0} \AtBeginDocument{\@ifpackageloaded{babel}                                                    {\renewcommand{\@babel@loaded}{1}}                                                         {\renewcommand{\@babel@loaded}{0}}                                                       } \newcommand{\somecommandusingsemicolon}{   \ifthenelse{\@babel@loaded=1}{\shorthandoff{;}}{}     % code with semi-colon here }   and in the specific case of tikz:  \AtBeginDocument{\@ifpackageloaded{babel}   {%     \g@addto@macro\tikz@installcommands{%       \shorthandoff{;}%     }     \g@addto@macro\tikz@uninstallcommands{%       \shorthandon{;}%     }   }   {\relax} }


Can you solve non-linear problems with a neural network without using backpropagation?

E.g. is it possible to solve the XOR problem without backpropagation. If so, what would a solution look like?


I have a question about the meaning (evaluation) of Boolean variables in return statements in Java.  I know that:  if (var) { ... }   is the same as:  if (var==true) { ... }   In the second case we explicitly say var==true, but we don't need to do this, because Java evaluates var as true anyway. I hope I have understood this right.  My question is: is it the same when Boolean variables are returned? When we have a return statement?  For example, a task specifies: the method looksBetter() will return true only if b < a. My solution was:  public boolean looksBetter() {      if (b < a) {          return true;      } else {          return false;      } }   The simple answer was:  public boolean lookBetter() {       return b < a; }   So, it seems that here we have again this implicit assumption that in case b < a == true, the return of the method is true. I am sorry ... it seems very trivial, but I am somehow not comfortable with this, and I don't know why. Thank you.


Let $a$ and $b$ be positive integers such that $a | b^2, b^2 | a^3, a^3 | b^4, b^4 | a^5, \cdots $ Prove that $a = b$.  My way is as follows: Let $A=v_p(a), B=v_p(b)$ be the exact power of a prime $p$ dividing $a$ and $b$ respectively. Then by assumption, $(2n-1)A \leq 2nB, n=1,2,3,\cdots.$ Hence $A \leq (2n/(2n-1))B$. Taking limit as $n$ tends to infinite yields $A \leq B.$ Likewise, $2nB \leq (2n+1)A, n=1,2,3,\cdots,$ by a similar argument, we have $B \leq A.$ So that $A=B$ and we are done. But I am rather unsatisfied with the proof because it involves limit. I wanna ask if there is any other alternative proof, thank in advances.


Calculate battery discharge time to a certain voltage value

Let's say I have a 14.8V battery with capacity of 5200mAh. My load constantly draws 20 amps from it. I want to estimate the time it takes until the cell reaches let's say 10V. This is just an example, I dont't have this configuration. How would you calculate this time, to reach from one voltage level to an other?


No year mark for some recent badges in the profile page even though other recent badges have it

For some badges there are no year mark in the profile page, e.g.:        It's expected for the current year dates, but they are not.  Answer from the  says:     Badges only show the year in the date earned if it was over a year ago.   In my case the date Feb 9 '17 was less than one year ago, so there should be no year, but it's here. Probably my question should be rephrased in terms of "why I see a year mark if date was less than one year ago". Answer on possible duplicate is probably wrong then.


Why doesn't the delete operator change the length of an array?

As an example, when using the delete operator on an index of an Array, the index is removed, such as any property of any object would be.  This is proven by:  var arr = ['one', 'two', 'three'];  delete arr[1];  if(1 in arr)     alert("It didn't work!");   If you were to run this block, you will find that the text "It didn't work!" will never be alerted to the user. This is because the property belonging as index 1 on the Array has been deleted.  Now, here is where things get weird...  Although an index is deleted from an Array, the Array length shall remain the same:  var arr = ['one', 'two', 'three'];  alert(arr.length); //will alert '3'  delete arr[2];  alert(arr.length); //will still alert '3'   When looking at the Array arr in the debugger (in Chrome at least), you will see that the index 2 does not even exist, so why does the length still report as 3?


How do I install driver for the Linksys WUSB6300?

I recently installed Ubuntu´s recent os 14.04 and am unable to install the driver for my wireless adapter which is the Linksys WUSB6300. Is there any way to configure the driver in any way, or should I purchase another one?


I misplaced a print of my I-94 form which contains my passport number, date of birth and legal name.  What harm, if any can be done using this information?  I am primarily worried about the passport number since name, DOB (although harmful) are not very hard to obtain otherwise as well.


I am trying to understand the intuition behind .  Why it is called exclusive or? Wikipedia says: it gains the name "exclusive or" because the meaning of "or" is ambiguous when both operands are true  Wait! why "or" is ambiguous when both operands are true?  says nothing about ambiguation.


Use of the verb form "review" vs "reviews"

When referring to a team of people, would it be appropriate to say that the team "reviews" something, or that they "review" that thing? Wouldn't both usages be correct depending on whether you're referring to the team as a whole, or the individuals that make it up?  Ex: "A team of trained monkeys reviews the best jobs."  It's possible that the "team [...] reviews the best jobs," but not possible to have "trained monkeys reviews" the best jobs, even though the latter section is part of the overall sentence.


I've installed another desktop environment which I would like to try. I am not sure how to switch to it.  Is there still a button on the log in screen that will switch desktop environments? This same question for previous versions of ubuntu yields screenshots of this button. But I cannot find any button on the log in screen that does this.  So, in ubuntu 19.10, does there exist a button to switch desktop environments? If so, where is it? If not, what is an alternative method to switch desktop environments after I've already installed one?  ██████@████-linux:~$ ls /usr/share/xsessions gnome-flashback-compiz.desktop    ubuntu.desktop gnome-flashback-metacity.desktop   The gear icon does not show up for me, as the answers indicate it should.    Solved. I was not logged out properly. I locked the screen thinking that was logging out. Logging out properly fixed the issue.


I have been working on a software where there is a section to promote and/or demote other users.  For last two days, I have been thinking and searching for a common term to group both of these terms together but it seems like I am out of luck or I am searching in the wrong direction.    I was wondering if anyone is aware of a proper term or word which can convey the meaning of promotion/demotion or level change on itself without requiring any further explanation to the user?


Finite fields of order 8 and isomorphism

Given the following finite fields, $$F_1=\frac{\mathbb{Z}_2[x]}{\langle x^3+x+1\rangle}$$ and $$F_2=\frac{\mathbb{Z}_2[x]}{\langle x^3+x^2+1\rangle},$$ I know that they are isomorphic because their orders are both equal $8$. How can I find an isomorphism between them?  We can write  $$F_1=\left\{c_0+c_1 \alpha + c_2 \alpha^2 : \alpha^3=-\alpha-1,\; c_0,c_1,c_2 \in \mathbb{Z}_2 \right\}$$ and $$F_2=\left\{c_0+c_1 \alpha + c_2 \alpha^2 : \alpha^3=-\alpha^2-1,\; c_0,c_1,c_2 \in \mathbb{Z}_2 \right\},$$ still I have no idea how to go ahead. Thanks for your time!


Just got the  on StackOverflow and, since it can be awarded multiple times, wanted to start tracking progress to the next one, but, the badge is not shown in Available badges to track anymore:    Is it possible to track already awarded badges that can be awarded multiple times?


What happened to the rest of Luke's pupils?

In The Last Jedi we find out that      Luke started a training academy for future Jedi Knights. Ben Solo/Kylo Ren turned against Luke, burnt down the school and fled. He gathered a gang of followers around him from the ex-pupils and killed any who would not join him.  What happened to those pupils that sided with Kylo Ren? I think we see them gathered together in Rey's Force-vision in The Force Awakens.   Is there any further info on these characters in current canon?


How to install ubuntu 16.04 on a HP Stream 11

I would like to keep the preinstalled Windows 10 for the rare case I need it (I know that I will need Windows for Taxman). The Stream 11 I have is a 4GB RAM, 32GB eMMC, Celeron N3060 1.6gHz, 64 bit. I received it today, so it is brand new. Do I have enough space on it to run both OSs?  Is the processor good enough for this?  Is there a good tutorial to do this?  Windows 10 is already taking 14GB, 13.7GB are still available. Is there enough storage on it? I will add an SD card for my files so don't need the internal storage for that.


open terminal option is not showing in all folders in Ubuntu 18.04.1 LTS

I have recently updated my Ubuntu before updated the open terminal option is appearing after update it is not appearing. I have seen many thing but yet cant find anything. Please help me how my open terminal appeared in all folders.


Recalculating Survey Weight from combining two datasets in Stata

So I am working on a research project where I need to combine two datasets from a community survey given every year in NYC. I am combining years 2016 and 2017 which have the same variables used for each year, and each year has a respective survey weight. I am using the append function to combine the datasets but I am unsure how to combine the survey weights for a total survey weight of the two. I'm working with Stata 14.2 if that helps at all. I'm new to stata so if you can clearly explain what you have to do/why you do it, that would be really helpful. Any insight on this would be great! Thanks!


I am searching the internet for hours but I can't find a step by step guide on how to use the dota 2 courier. All guides begin without showing its usage for a newcomer to the game. Any ideas or links? Thank you.


Confused about my comment flag(s). Helpful? Or rude or offensive?

Does this mean I've got both flags on one comment? it's not clear what the "rude or offensive" and "helpful" text is referring to here. And which comment is actually flagged?  It almost looks like I flagged my own comment.


An absolute convergence criterion in $\Bbb C$

Here's a problem I'm having trouble with:     Show that if $\sum u_k$ converges for $u_k\in\Bbb C$, and $|\arg(u_k)|\leq c<\pi/2$ for all $k$, then $\sum |u_k|$ converges too.   All I have after looking at it for an hour is that I kind of believe it could be true (I didn't at first), but I don't really know where to start. Could you give me a hint? I know of course that $$u_k=|u_k|(\cos(\arg(u_k))+i\sin(\arg(u_k))),$$ but I don't have any ideas. I've tried looking at it geometrically too, but I just don't see anything.


Installing cuda 6.5: likely some package issues

So I had successfully install Cuda 7.5. Turns out I needed something pre 6.5, and I was having difficulty installing it.   Seemed like no matter what i did it stayed there, so I did a good search for cuda7.5 using "find" --- and found something like "cuda-repo"  in /etc/apt/sources.list.d and erased them (without making backups)  Since then, I've tried installing everything again, but to no avail.   Thinking it was a broken package, I've tried everything from   sudo dpkg --remove --force-remove-reinstreq cuda-repo-ubuntu1404   to plenty of other posts like       http://askubuntu.com/questions/650692/installing-cuda-7-0-on-ubuntu-14-04   and      http://ubuntuforums.org/showthread.php?t=947124   To no avail.  After doing       sudo dpkg -i cuda-repo-ubuntu1404_6.5-14_amd64.deb   and        sudo apt-get update   I get   sudo apt-get install cuda     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:      cuda : Depends: cuda-7-5 (= 7.5-18) but it is not going to be installed      libcogl15 : Depends: libegl1-mesa-drivers E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   going down the chain of dependencies manually gets me nowhere-- I went all the way down the chain and simply got to the point where it gave the same error, asking for decencies i had already added to the list! (circular dependency, if you will)  It's also very strange that 6.5 would appear to depend on 7.5  Help? I want to install cuda 6.5!


How to do to make Evince open multiple pdf document in tabs and not separately?

I would like to make Evince open multiple PDF documents in tabs instead of opening them separately; how can I accomplish that?


Working with large images and transform in the VSE

I'm trying to work with an image in the VSE that is larger than the rendered screen and the VSE always cuts them off. So either they are stretched to fit the screen or (when using "image offset") they are cut and cropped. in the specific example I want to use a map over which I want to pan and zoom in, but not use the default camera-setup because I don't do anything in it anyway, just use VSE and strip modifiers. So how do I get blender to use the WHOLE image instead of just a cropped 1920x1080 selection of blank ocean?


How can I increase window title font size?

When monitor resolution is increased I want to increase title bar's font size as well. How can I achieve this?


Does anyone know how to make reflective planes? I'm following the  and I can't figure out how to make a glossy plane. Can someone please help?


is there any way to peek a desktop while in another? Some sort of "Desktop PIP"

I use the virtual desktops. They are really handy. Frequently, I leave something that takes some time to load/render/process running in a virtual desktop and then I switch to another to do other work. And to see whether the first task has finished or not, I usually hit SUPER+S just to have an eagle's view on the state of the processing [on the other desktops]. However, doing this I have to stop whatever I'm doing.  That's why I was wondering if is there any way that would give me such view [on just one other desktop, doesn't need to be able to see all the others] without having to [interrupt what I'm doing at the moment and] hit the SUPER+S? You know, a quick glance of eyes would do the trick; switching desktops (even using the handy shortcut CTRL+ALT+directional arrow makes my mind 'shift context' and thus loosing the focus)...  (I know that having two monitors would do the trick, but I don't have a fixed desk, hence have to rely only on the notebook I carry to everywhere... (sigh!))


Using query in Google Sheets, function will not pull over all data

I'm using the Query function in Google Sheets to pull over data tracking student behavior (includes name, ID, date, grade, etc.) The query function will pull over everything except the letter 'k' in the 'Grade column' (the 'k' is for kindergarten. All other grades are written as numbers, and those are transferring over fine).  Here is a sheet showing the problem I'm having.


QGIS 2.4.0: dissolve tool renders artifacts / errors

The dissolve tool (vector>geoprocessing tools>dissolve) renders some artifacts on shapes with high number of polygons. I’m using a  with 3222 polygons and I’m trying to dissolve it using the field “municipio”, but when the dissolve tool ends calculating the new shape has some artifacts     Does anyone had a similar problem? How to work around it?  I’ve also used v.dissolve from GRASS and the dissolve polygon from SAGA, but the problem persists. I’ve used the same shapefile on ArcGIS 9.3 with the dissolve tool. None artifact/error was produced.  Edit 1  I'm trying to use the v.clean tool as sugested by WhiteboxDev. However I'm getting this error:     An error has occured while executing Python code:      Traceback (most recent call last):   File   "C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing\gui\ProcessingToolbox.py",   line 181, in executeAlgorithm   File   "C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Algorithm.py",   line 511, in checkBeforeOpeningParametersDialog   File   "C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing\algs\grass7\Grass7Utils.py",   line 361, in checkGrass7IsInstalled   File   "C:\PROGRA~1\QGISCH~1\apps\Python27\lib\ntpath.py", line 96, in join   TypeError: object of type 'NoneType' has no len()      Python version:   2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]      QGIS version:   2.4.0-Chugiak Chugiak, 8fdd08a      Python path:   ['C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing',   'C:/PROGRA~1/QGISCH~1/apps/qgis/./python',   u'C:/Users/CERCOTRICHAS/.qgis2/python',   u'C:/Users/CERCOTRICHAS/.qgis2/python/plugins',   'C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins',   'C:\PROGRA~1\QGISCH~1\bin\python27.zip',   'C:\PROGRA~1\QGISCH~1\apps\Python27\DLLs',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\plat-win',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\lib-tk',   'C:\PROGRA~1\QGISCH~1\bin',   'C:\PROGRA~1\QGISCH~1\apps\Python27',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\GDAL-1.11.0-py2.7-win32.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\PIL',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win32.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\python_dateutil-2.2-py2.7.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\pytz-2014.2-py2.7.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\win32',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\win32\lib',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\Pythonwin',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win32.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\six-1.6.1-py2.7.egg',   'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode',   'C:\PROGRA~1\QGISCH~1\apps\qgis\python\plugins\fTools\tools',   'C:\Program Files\SpiderOak\shell_extension_lib\shared.zip']   Not entirely sure if this error is QGIS related... Any idea why I'm getting this error and how can I solve it?


When I declare something like   int *i = new int;   what is the value it is initialized to (by the compiler). If I want to make sure it is zero would I have to use   int *i = new int(0);   will new initialize everything to zero?  on the same topic what will be initialized by the compiler what will have to be user (when it comes to pointers).


C#/.NET: Detect whether program is being run as a service or a console application

I have a C#/.NET program that can run both as a console application and as a service. Currently I give it a command-line option to start as a console application, but I would like to avoid that.  Is it possible to programmatically detect whether my program is being started as a service?   If it was pure Win32, I could try starting as a service with StartServiceCtrlDispatcher and fall back to console if it returned ERROR_FAILED_SERVICE_CONTROLLER_CONNECT, but System.ServiceProcess.ServiceBase.Run() pops up an errordialog if it fails and then just returns without signaling an error to the program.  Any ideas?


Theming User Profile Edit Form not Rendering results.... Help?

I am not rendering any results. This is my template.php:  function fueldeluxe_theme($existing, $type, $theme, $path) {     /**     *  Account edit Forms     */     $items = array();     $items['user_profile_form'] = array(         'render element' => 'form',         'template' => 'user-profile-form',         'path' => drupal_get_path('theme', 'fueldeluxe') . '/templates'     );     return $items;  }  function fueldeluxe_preprocess_user_profile_form(&$variables) {     $variables['account'] = drupal_render($variables['form']['account']);     $variables['picture'] = drupal_render($variables['form']['picture']); }   This is my user-profile-form.tpl.php:

         <?php echo $picture; ?>

         <?php echo $account; ?>

    As you can see I'm trying to load the user profile field forms. However I'm not able to render any results. The page loads okay when I add dummy text but no account field forms.


cursor on unity launcher "refreshes" desktop in 16.04LTS

I'm relatively new to Linux and Ubuntu (about 3 months now), and have been pretty impressed with the whole experience, until now. Shortly after an upgrade about 2 weeks ago, (not sure if it's linked), whenever I try to launch any program from the unity launcher, whatever windows are open, and all icons, flicker briefly, then disappear from the screen (leaving only the desktop screensaver). The lapse lasts a few seconds, then the screen returns to the state it was in before I tried clicking. I have to click another 3-4 times (best case scenario) to get the program to launch. The same thing happens when the cursor simply hovers over the unity icons. This problem does not occur when launching from shortcuts on the general desktop, but then I have to go through the same nonsense when trying to switch from, say, thunderbird to firefox, or the vlc player, from the unity launcher.   PS: An accompanying issue (don't know if related) that is not constant, is the cursor not activating whatever's right under it. Writing this, if I want to click somewhere to, say, correct a mistake elsewhere in the text, I have to point to a line over the mistake, to get the cursor to land a line beneath (not sure this is clear). This issue doesn't occur systematically, but happens in & out.  PS2: This doesn't seem to be necessarily hardware-related, as when I reboot with Windows (from bootable external HDD), no such issues.  Any idea what might be causing this?


My post has been marked with an informational notice in a box above it.   What should I do about this? Who attaches notices to posts? What kinds of notices are available? What should I do if I think a notice should be added to a post? What should I do if I think a notice should be removed from a post?


Compactness of $(M, d)$ in terms of continuous functions $f:M\to \mathbb R$

Suppose $(M,d)$ a metric space. I want to show that      If every continuous real-valued function on $M$ attains a maximum, then $(M, d)$ is compact.   I was trying to do this by assuming $M$ non-compact and showing explicitly a function which does not attain a maximum. If $M$ is not bounded it's enough to take the distance from a fixed point as we can always find a sequence which "exits" every compact and pushes the distance at infinity. But what if $M$ is bounded?


Why is the B field of a solenoid equal to $\mu_0 i n$ while that of a loop is $\frac{\mu_0 i R^2}{2(R^2+z^2)^{3/2}}$?

In the B field of the loop, if R is the radius and z is the distance along the axis perpendicular to the center of the loop, let z go to zero, and multiply by N loops. Starting with the B field of the loop axis:  $$B=\frac{\mu_0 i R^2}{2(R^2+z^2)^{3/2}}$$ Becomes: $B_{\text{N loops}}=\frac{\mu_0 i N}{2R}$ and not $B_{\text {solenoid}}=\mu_0 i n$. What is the difference?


Wordpress loop uses unmodified posts array, why?

I have this code in a Wordpress template:             $prepost      = $post; $normal_args  = array(     // here goes the args ); $normal_query = new WP_Query( $normal_args );  echo 'BEFORE: ' . count($normal_query->posts); wpse_210493_apply_advertising_position( $normal_query->posts ); echo 'AFTER: ' . count($normal_query->posts);  if ( $normal_query->have_posts() ) {     while ( $normal_query->have_posts() ) {         $normal_query->the_post();          // do something here     } }   The output for echo commands is:  BEFORE: 25 AFTER: 23   Which is right since in the function wpse_210493_apply_advertising_position() I am removing those two but problem here is that $normal_query->have_posts() use the original $normal_query->posts and not the modified by the function and that cause two empty values at end of array causing this ugly result:    This is the function wpse_210493_apply_advertising_position():  function wpse_210493_apply_advertising_position( &$posts, $return = false ) {     $ad_posts = array();     $content_posts = array();      // Seperate $posts into "Ads" and "Content" arrays based on whether or not they have 'rw_adversiting_position' meta-data     foreach ( $posts as $post ) {         $position      = intval( get_post_meta( $post->ID, 'rw_adversiting_position', true ) );         $post_date     = $post->post_date;         $post_modified = $post->post_modified;          if ( ! empty( $position ) ) {             if( isset( $ad_posts[ $position ] ) ) {                 if ( $post_date > $ad_posts[ $position ]->post_date || $post_modified > $ad_posts[ $position ]->post_modified ) {                     $ad_posts[ $position ] = $post;                 }             } else {                 $ad_posts[ $position ] = $post;             }         } else {             $content_posts[] = $post;         }     }      // Sort the ads from smallest position index to greatest such that re-insertion properly factors in all ads     ksort( $ad_posts );      // Add the ads back into the content at their specified positions     foreach ( $ad_posts as $position => $ad ) {         array_splice( $content_posts, $position, 0, array( $ad ) );     }      // If $return is true, return the resulting array. Otherwise replace the original $posts array with it.     if ( $return ) {         return $content_posts;     } else {         $posts = $content_posts;     } }   Can any give me some advice around this? I am getting crazy and don't found a way to get this fixed


New to Ubuntu. Need help on how to install Flash and Java.


Latex packages tcolorbox and xcolor compatibility issues

I am trying to use the packages xcolor and tcolorbox but there seems to be some sort of compatibility issue. In the example below I have included two lines that are commented and the example compiles just fine. But if these lines are uncommented, then the coloring of the table doesn't work. Grateful for your help and insights. \documentclass{article} \usepackage{lipsum}  \usepackage{tcolorbox} %\usepackage[table]{xcolor}  \begin{document} \lipsum[2]  \vskip 10 mm  \begin{tcolorbox} \lipsum[3] \end{tcolorbox}  \vskip 10 mm  %{\rowcolors{1}{gray!80!white!50}{gray!70!white!40} \begin{tabular}{|p{8cm}|l|l|} \hline \textbf{Question} & \textbf{Right} & \textbf{Wrong} \\  \hline Vestibulum luctus nibh at lectus.  &  &  \\  \hline Sed bibendum, nulla a faucibussemper,  leo  velit  ultricies  tellus,  ac  venenatis  arcu  wisi  vel  nisl. &  &  \\  \hline \end{tabular}  %}  \end{document}


Application of Chinese Remainder theorem (Shor's algorithm)

I'm working on Shor's algorithm. In Wiki, there says that if N is the product of two coprime integers greater than 2. Then, exist at least four distinct square root of 1 (mod N). And, I know I could reduce this congruence relation into two congruence relations. Then, we could apply Chinese Remainder theorem. But, I don't know how to apply this theorem to this statement. May someone give me some hints? Thank you!!


Suppose $A=M_n(D)$, i.e. n by n matrices over a division algebra $D$.  We want to prove that:    $D^n$ (viewed as row vectors) is a simple right $A$-module and  any other simple $A$-module is isomorphic to it.   How do we go about proving this?  My attempt: $D^n$ is clearly a right $A$-module, we need to prove it is simple, i.e. has no nonzero submodules.  Let $C_1\times C_2\times \dots\times C_n$ be a nonzero submodule of $D^n$, where $C_i\subseteq D$.  $(c_1,c_2,\dots,c_n)\begin{pmatrix}d & 0 & \dots & 0\\0 & \dots\\\dots\\0 & \dots & \dots & 0\end{pmatrix}=(c_1d,0,\dots,0)\in C_1\times C_2\times\dots\times C_n$ for all $d\in D$. This means $c_1d\in C_1$ for all $d\in D$.  Since $D$ is a simple $D$-module, $D$ is a minimal right ideal, so $D\subseteq C_1$. Thus $C_1=D$. Similarly $C_2=C_3=\dots C_n=D$. Thus the only nonzero submodule of $D^n$ is $D^n$ itself, i.e. $D^n$ is a simple module.  Let $X_1\times X_2\times X_n$ where each $X_i$ is a $D$-module (is this correct?) be another simple $A$-module. Using exactly the same method, we can conclude that $X_i=D$ for all $i$?  Thanks for help.


Math approach to Classical Thermodynamics

I have a basic knowledge about differential geometry, tensor calculus,.. but nothing about Thermodynamics. There are a lot of references of classical theormodynamics for physics.  There exists a formal book for mathematician of classical theormodynamics ?


How can i configure a static ipv6-prefix to one linux host

I have a virtual Linux server (Kubuntu 14.04) and i will ask the hosting provider for a complete /64-Prefix for this machine (at the moment i have 4 individual IPv6-Addresses).  How do i configure the entire /64-Prefix to a physical interface at my server?I mean, the server must announcing itself to the LAN (inside the hosting provider) as being responsible for the entire /64-Prefix and all other hosts on the LAN (including the border-router with the connection to the real/global Internet) should know that all IP-Packets with a destination-ip-address inside this prefix must be delivered to the MAC-Address of my server.  Example:My hosting provider owns the prefix 2001:db8::/32 for further delegating subnets of it to all its costumers. Then my hosting provider gives me 2001:db8:dead:beef::/64 for my server.How do i configure the Linux on my server that it accept incoming connections on all IP-Addresses inside my /64-Prefix and (even more important) announce itself as the responsible host for all IP-Addresses in the entire Range 2001:db8:dead:beef:0000:0000:0000:0000--2001:db8:dead:beef:FFFF:FFFF:FFFF:FFFF?  All that i have found in the Internet are examples for configuring (multiple) individual/single IPv6-Addresses (each with full 128 significant Bits) for a specific host by appropriate commands in /etc/network/interfaces but i can not find an example for configuring a complete IPv6-Prefix (with below 128 significant Bits) for a specific host.  Second question: What do the host for advertising that he is responsible for a complete IPv6-Prefix and not only for some individual IPv6-Adresses? What type of ICMPv6 Advertisement-Messages are used for this purpose?


So, I am creating a LorenzSZ40 simulator. And I'm still in early stage of creating it. The thing is the fact that I am using byte[] arrays in order to store plain text and key data.  For example I have this  byte[] plainText = {1, 0, 1, 0, 0}; and  byte[] key = {1, 1, 1, 0, 1}; When XOR'ing that, the result should be 0, 1, 0, 0, 1 But the problem is that I cannot use ^ operator on byte[].      public static byte[] xor(byte[] plainText, byte[] key) {     byte[] result = new byte[Math.min(plainText.length, key.length)];      for (int i = 0 ; i < result.length ; i++) {         result[i] = (byte) (((int) plainText[i]) ^ ((int) key[i]));     }      return result; }  public static void main(String[] args) {      String pt = "10100";     String key = "11011";     byte[] som = pt.getBytes();     byte[] k = key.getBytes();     //0, 1, 1, 1, 1      String nm = new String(xor(som, k));     System.out.println(xor(som, k)); }    This is the code I have tried. When I run it I only get [B@3d494fbf and if I was to use   String nm = new String(xor(pci, key));     System.out.println(new String(nm));   Instead of   String nm = new String(xor(som, k));     System.out.println(xor(som, k));   I wouldn't get anything at all.  My question is, how should I make it right?


mixing beer with spirits, increase alcohol content?

I decided to mix beer with vodka hoping it would make me more drunk due to the alcohol content but then remembered the rest ISNT alcoholic and i cant figure out if mixing beer with vodka or other spirits would increase the alcohol content or not i would really like an answer to this as well as any health risks if there are any, thanks.


How can I close a curve / path / to make it closed shape ?


I used a website called Seeking Arrangements and met a  sugar daddy. He asked for my email login, online banking login, routing, account number, Facebook, as well as my  address which is the only thing I gave him since it’s a PO. I’ve been extremely vague just to see if this is real.   I don’t plan to give him anything because I have only been talking to him for a few months and  I feel conflicted. I doubt that he is trying to scam me but I suspect that he has some kind of master plan. With things such as Venmo, Zelle, and Cashapp, what is the need for “put me on his payroll?”   He claims that he is in another country on a business trip.  He said that  he tried to send me a gift but he lost access to his card. He is now asking to deposit more than 10k into my account and have me wire it. Is this a l classic way of scamming people? If so, is it common that they spend months creating a relationship with you  to catfish you?


I'm new to ubuntu and not have an expereince in networking so i have problem with binding port that already in use   I checked it by   sudo lsof -i tcp | grep LISTEN   and got pid of the port to check the process by   ps -ef | grep 8265   result here   root      8265  8009 33 02:36 pts/8    00:00:16 java -server -Djava.net.preferIPv4Stack=true -Djava.library.path=/usr/local/lib:/blabla  user      8488  7018  0 02:37 pts/30   00:00:00 grep --color=auto 8265   Is that mean two process in the same port ?   I want to understand why one of them root and another user !  as i run this process , i ran it as a root but why i saw it in user ?


I was contacted by someone who claims he is in the military stationed overseas. He said he could transfer fund from his account to mine. Just wondering if this is true. I am not interested in transfering funds.


Is there an intuitive explanation as to why Galois Fields exist only for a prime powers?

I am looking for an intuitive or example based explanation as to why Galois Fields exist only if the number of elements are a power of a prime. I find most explanations I've read difficult to understand. I am studying this topic from the perspective of Information Theory, and do not wish to delve too deep into the specifics. Thank you.


I took a video using my Sony A7iii with the AVCHD file format. I put it in Premiere Pro to trim it and I exported it as H.264 to an mp4 file. The exported video looks fine with Microsoft's Movies and TV App, but once I have imported it into Blender, the footage became distorted. Which software caused the problem and how do I fix it?


Let $G$ be a group. Let $x,y,z \in G$ such that $[x,y]=y$, $[y,z]=z$, $[z,x]=x$. Prove that $x=y=z=e$.

Let $G$ be a group. Let $x,y,z \in G$ such that $[x,y]=y$, $[y,z]=z$, $[z,x]=x$ (the commutators; $[x,y]=xyx^{-1}y^{-1}$). Prove that $x=y=z=e$. I tried to show it by proving that $zx^mz^{-1}=x^{2m}$ with induction. Therefore, if the order of $x$ is even, we can take $zx^{|x|/2}z^{-1}=x^{|x|}=e$ and thus, $x^{|x|/2}=e$ proving it. However, what if the order of $x$ is infinite (or even just odd)? I don't know what to do about that cases. Thank you very much in advance!


Can 8051 pins work as inputs or outputs at the same time in a program?

I have confusion in assigning ports as input or outputs in 8051 microcontroller.   As I have done programming with atmel atmega16 and variants we clearly have DDR registers to assign ports as inputs or outputs but not both in same program(or it might be both since I dont know if it can).  If it can be both(i/p and o/p) how would the microcontroller does this?  In a program while interfacing a 16x2 LCD with 8051 the P1.0 is used as input to find the value as busy flag and is used as an output pin when sending commands and data.  Please provide explanations.  Thakyou


running wc -w against latex files does not amswer question of actual words of content in article, book. Therefore, how to count them?


JavaScript: What is the difference between ', ", and `?

I've been learning JavaScript for not too long, and somethings that I notice a lot, but doesn't make sense to me are the different operators (if I can call them that) that defines a string. What I mean by that is the single quote ('), the double quote (") and the apostrophe-thing(`). I have come to realize that ``` is used when you want to use the variable or something (eg   console.log(`this is my string ${ str }`)   or something like that. I don't know too much about these and I would like to know what their different purposes are (or in the very least, what they are called)  Thanks!  P.S. I realize that this question topic causes some problems with the markdown. I have no idea how to fix it.


What exactly is the "coherence" between waves?

I know, by definition, that  means that a pair of waves have constant phase difference. What does this mean?   Does it mean they always have a 360 degrees, or 0 degrees phase difference? Or could they have 40 degrees or any constant phase difference?  In order to have constant phase difference must they have the same wavelength and frequency?


Accessing inherited variable from templated parent class

Consider the following code:  template<class T> class Foo { public:   Foo() { a = 1; }  protected:   int a; };  template<class T> class Bar : public Foo<T> { public:   Bar() { b = 4; };    int Perna(int u);  protected:   int b;  };  template<class T> int Bar<T>::Perna(int u)  {    int c = Foo<T>::a * 4; // This works   return (a + b) * u;    // This doesn't }   g++ 3.4.6, 4.3.2 and 4.1.2 give error   test.cpp: In member function `int Bar<T>::Perna(int)': test.cpp:25: error: `a' was not declared in this scope   g++ 2.96 and MSVC 6, 7, 7.1, 8 and 9 accept it, as do (at least) older Intel and SGI c++ compilers.   Do the new Gnu C++ compiler obey the standard or not? If they do, what is the rationale behind that inheriting class is not able to see a protected inherited member variable?  Also, if there's  int A() { return a; }    in Foo, I get error  test.cpp:25: error: there are no arguments to A that depend on a template parameter, so a declaration of A must be available test.cpp:25: error: (if you use -fpermissiveâ, G++ will accept your code, but allowing the use of an undeclared name is deprecated)   when I try to use it in a member function of Bar. I find that curious as well: Bar inherits Foo, so I think it's obvious that A() in scope of Bar is Foo::A().


Starting postdoc before getting PhD. Is that possible?

I have already submitted the PhD thesis for examination. I have started to email potential supervisors yesterday to get information regarding postdoctoral positions in their departments. I am wondering whether it is possible to start postdoctorate while waiting for PhD viva.


With OPTION RECOMPILE vs without OPTION RECOMPILE

I am lost why execution plan is different if I run query with option recompile to compare to same query (with clean proc cache) without option recompile. The result is one row. The script is:  Create two tables:  CREATE TABLE H (id INT PRIMARY KEY CLUSTERED IDENTITY(1,1), header CHAR(100)) CREATE TABLE D (id INT PRIMARY KEY CLUSTERED IDENTITY(1,1), idH INT, detail CHAR(100)) CREATE INDEX IX_idH ON dbo.D(idH)   Fulfill:  DECLARE @i int = 1 WHILE @i <= 10 BEGIN     INSERT INTO H (header) VALUES ('nonononono')     SET @i = @i + 1     PRINT @i END SELECT * FROM H GO  DECLARE @i int = 1 DECLARE @ii int = 1 WHILE @i <= 7 BEGIN     WHILE @ii <= POWER (10,(@i - 1))     BEGIN         INSERT INTO D (idH, detail) VALUES (@i, 'nonononono')         SET @ii = @ii + 1     END     SET @i = @i + 1     SET @ii = 1 END   The statement:  DBCC FREESESSIONCACHE  DECLARE @hid INT = 1  SELECT * FROM H h JOIN D d ON d.idH = h.id WHERE h.id = @hid OPTION (RECOMPILE)   With OPTION (RECOMPILE) it uses the key lookup for the D table, without it uses scan for D table. I do not understand why. MS SQL version 13.0.4411.0. And simple (7 rows) and actual statistics.


Blank screen after installing nvidia restricted driver

I've  and rebooted my machine and now I get a black or blank screen.   How can I fix this?


How to add IE specific stylesheet in drupal 7 in drupal way

I want to add this into my Drupal site in a Drupal way!  <!--[if IE]> <link type="text/css" rel="stylesheet" href="IE.css" media="all" /> <![endif]-->   I know it can be done easily by adding the above tag directly into html.tpl.php but I don't want hack the Drupal core and I want to follow a Drupal way for this.  What would be the best possible solution?


I was on Minecraft the other day and I encountered a problem.  Normally on my Minecraft I click an item once and I an move it around my inventory at will.  Although when I tried it the other day, I had to click the item and drag it to move it anywhere.  It started when I loaded up the Vechs Super Hostile, Inferno Mines off of Minecraft forums. I've tried deleting Minecraft and re-downloading it, restarting Minecraft, and shutting down the computer.  Any and all help would be appreciated on the matter ASAP.  I really like this game and I don't want to have to deal with this annoying feature on adventure maps.  Thank you.


I'm trying to go onto some Minecraft servers today, but it never works.  It just pops up with  Internal Exception: io.netty.handler.timeout.ReadTimeoutException   I'm new to Minecraft, so I don't really know what this means.  Any help?


How to copy a list of file names to text file?

How can I copy the names of files in a directory to a text file or to a clipboard?


How can delete "games" from the Steam library?

Steam, among other annoying things, seems to add games to my library spontaneously. For example, it recently added the game "Contagion - 2 hours left" to my library which I have no interest in installing and I cannot figure out how to get rid of it.  Also, they tricked me by suggesting that there was some kind of "free" deal over the Labor Day weekend for getting a free copy of Call of Duty: Ghosts, but of course, after I spend 4 hours downloading it and try to click the "Ready to Play" button, it announces "Failed to Start (no licenses)".  How can I get this junk out of my library?


I was asked this question by a friend today, and the question really beats me. I know that gracias and merci are like practical workarounds, but is there no synonym for Thanks in English?


How can one refute John Searle's "syntax is not semantics" argument against strong AI?

There are many refutations of John Searle's t against Strong AI. But they seem to be addressing the structure of the thought experiment itself, as opposed to the underlying epistemic principle that it is trying to illustrate.   This principle is "syntax is not semantics" (See  by John Searle): At the end of the day, computer software, even the most advanced AI conceivable, manipulates symbols according to a set of syntactic rules, regardless of their meaning.   Anybody who has studied formal logic knows that rules like De Morgans laws or the laws of idempotency ( e.g. A ^ A = A ) are independent of the meaning of the symbols being processed.   This idea, that syntax is independent of semantics, and therefore a computer can function perfectly  without ever knowing the meaning of what it is computing seems like a much stronger argument against AI, and Mind-Body functionalism in general, than Searle's original Chinese Argument.   What are the main refutations advanced by proponents of functionalism and strong AI specifically of the "syntax is not semantics" argument?


Cannot remove file from trash that was put there as root

I know about the dangers of using root access so please forego the lectures. I try to be careful and will be doubly so from now on. I was using the file browser with root access in order to change some file permissions. During the process I deleted some files (I should say that I out them in the trash). Little did I know that the files would go to the trash as root and now I can't remove them because I don't have the permission to read them but I don't know how to access them to change the permissions because I don't know how to get into the trash as root. All I get is a message saying that:  This location could not be displayed. Sorry, could not display all the contents of trash:///: Operation not supported  I have searched around to try to find posts about it but I've only found outdated information about a hidden file in the root directory. That doesn't seem to apply any more so I'm stuck with a file in my trash that I can't remove and can't gain access to. I'm using Ubuntu 14.04 64bit on an ASUS x401a laptop.


Should the not-an-answer flag description be clarified?

Checking the moderator tools this morning I see 60 not-an-answer flags out of which only a several I could agree with. The rest were just bad answers, wrong answers or lazy answers.  The way I understand from experience, is that an answer is not-an-answer if the contents of the post cannot be interpreted as an attempt to answer the question. This usually means that the answer post amounts to asking a question to the poster's own problem, asking for clarification, spam etc.   However, the description for the flag says:     This was posted as an answer, but it does not answer the question. It should possibly be an edit, a comment, another question, or deleted altogether.   Does not answer the question. To me (and apparently to many others, even ) that says a very different thing that the flag should be used for. Technically incorrect answers do not answer the question but they are still answers, though low quality. Low quality vague suggestions don't really answer the question but they are still answers. Not-an-answer flags for these have typically been declined.  In my opinion, these type of answers should just be downvoted until the poster naturally deletes it themselves (or 3 trusted users vote deletion) and everyone gains their reputation back.  So my question is, should the not-an-answer flag description be clarified seeing as there is so much noise being generated?  Here are some examples:   - lazy/bad/wrong answer.  - ditto  - ditto    My question is different from . I flat out just want to change the flag description and not require people to read that post in meta or get their flags declined to understand how the flag should be used.


The vector space of all finite sequences $x = (x_n)$ (i.e. $x_n = 0$ for all but finitely many indices $n \epsilon N$) is a normed space with respect to $||x||_{\infty} := sup_{n \epsilon N} |x_n|$.  I haven't really understood Banach spaces well, So I'm really stuck here!


iOS has a nice option in the accessibility menu that allows you to invert the screen colors. Does Android have anything like this?


This is the $y=2^k$ case of . Suppose that $k\geq1$ and $0<x<2^k$ and $2^{2k}-x^2\bigm|2^{2k}-1$. Is it necessarily the case that $x=1$? Equivalently: Suppose that there are two positive divisors of $2^{2k}-1$ which average to $2^k$. Is it necessarily the case that these two divisors are $2^k-1$ and $2^k+1$?


Why are symmetric positive definite (SPD) matrices so important?

I know the definition of symmetric positive definite (SPD) matrix, but want to understand more.   Why are they so important, intuitively?  Here is what I know. What else?   For a given data, Co-variance matrix is SPD. Co-variance matrix is a important metric, see this  for intuitive explanation. The quadratic form $\frac 1 2 x^\top Ax-b^\top x +c$ is convex, if $A$ is SPD. Convexity is a nice property for a function that can make sure the local solution is global solution. For Convex problems, there are many good algorithms to solve, but not for non-covex problems. When $A$ is SPD, the optimization solution for the quadratic form $$\text{minimize}~~~ \frac 1 2 x^\top Ax-b^\top x +c$$ and the solution for linear system $$Ax=b$$ are the same. So we can run conversions between two classical problems. This is important because it enables us to use tricks discovered in one domain in the another. For example, we can use the conjugate gradient method to solve a linear system.  There are many good algorithms (fast, numerical stable) that work better for an SPD matrix, such as Cholesky decomposition.   EDIT: I am not trying ask the identities for SPD matrix, but the intuition behind the property to show the importance. For example, as mentioned by @Matthew Drury, if a matrix is SPD, Eigenvalues are all positive real numbers, but why all positive matters. @Matthew Drury had a great answer to flow and that is what I was looking for.


A set with a binary operation and an interesting property defines a group

NB: this is Hard. It is not a homework problem and it is a question that I would like on the one hand to share with you and on the other to help gain insight into myself.  Let $G$ be a set (which you may assume if you wish to either be finite, or in the infinite case the axiom of choice if you need it) on which we define an associative binary operation between any two elements $x,y \in G$ with $xy \in G$. Suppose that for every $a \in G$ there exists a unique $a^* \in G$ such that $aa^*a=a$. Prove that $G$ is a group.  So we need inverses and an identity. The closest I got to any meaningful progress was placing equivalence relations on elements in $G$ so as to partition it into smaller sets that have nicer structure. In particular, with one equivalence relation I constructed, I almost (but not quite) partitioned $G$ into sets which were groups under the binary operation, which I'm pretty sure would lead to the whole of $G$ being one equivalence class (or a contradiction). As an example, one of my first attempts was $x \sim y$ if and only if $x=ayb,y=cxd$ for $a,b,c,d \in G$. (Later attempts had things like $x=ay=y^*b, y=cx=x^*d$ etc). I don't know if this is fruitful but I'm putting it out there.  A couple of questions I found here that may prove useful:       Hope you enjoy!


How can I farm most effectively for portal keys in a short timespan

When planning Ops that require many keys for a particular portal, I find farming these keys can take a very long time, for example:    capture the portal drop any existing keys for that portal (or pop them into a capsule) hack the portal wait 5 minutes for cool down do steps 2-4 again until burn out   Which will get me 4 keys in 20 minutes.   Obviously I can add a heat sink to speed up the cool down, but what is the most efficient way to farm as many keys as possible in a short time (say 30 minutes or so)?


Is there a way of viewing a function's source code using the Dis module in Python?

If, for example, I want to view the bytecode for the function x:  def f(x):     print(x * 10)   I would use the dis module, which would generate this:  >>> def f(x): ...     print(x * 10) ... >>> dis.dis(f)   2           0 LOAD_GLOBAL              0 (print)               2 LOAD_GLOBAL              1 (x)               4 LOAD_CONST               1 (10)               6 BINARY_MULTIPLY               8 CALL_FUNCTION            1              10 POP_TOP              12 LOAD_CONST               0 (None)              14 RETURN_VALUE >>>   Yet, is there a way to view the actual code of the function? For example, the output would be:  def func1(var1):     const1 = 10     print(var1 * const1)


How to create a blender object to be used in other blender objects

I am thinking of creating a number of 3D objects/models which will have a particular object/model in all of them,  for example a building which I will use in many other projects with different additions to it and so if I need to make a modification to the building (which is in many other projects) it will automatically flow through to all the other projects which will have that building in them (hope I have explained enough) rather than have to edit all the projects for a change to the building. Is that possible and if so what is the procedure? I know that blender files can be appended and .fbx etc imported but not sure if it is possible what I have in mind.


null and NullPointerexception in Java stream

Here is my example:  import java.util.ArrayList; import java.util.stream.IntStream;   public class Example {       public static void main( String[] args )  {           ArrayList<Integer> list = new ArrayList<>();          list.add(0);list.add(1);list.add(2);           SomeObject  a = IntStream.range(0,list.size())                   .filter(i->list.get(i)==3 || list.get(i)==4)                   .mapToObj(i->new SomeObject(i,list.get(i)))                   .findFirst()                   .orElse(null);          System.out.println(a);    } }  class SomeObject{     int index;     int value;     SomeObject(int index,int value){             this.index=index;             this.value=value;     }      @Override     public String toString() {         return this.index+" "+this.value;     } }   Why when we are calling System.out.println(a); we don't get a NullPointerException?  As the orElse(null) returns an object pointing to null. If not what is the difference between the null in the orElse method and an object pointing to null?


Does the order of quantification matter?

I'm working with the universal and the existential quantifiers and I was wondering is there an order of operations that applies to them? What is the difference between   $(\forall x)P(x)(\exists x)Q(x)$  And  $(\exists x)Q(x)(\forall x)P(x)$  Lets say we have this relationship  (a) $[(\forall x)P(x) \vee (\exists x)Q(x)] \implies (\forall x)[P(x) \vee Q(x) ]$


How to reference another document in LaTeX?

I want to compile sections of the article independently. Clearly, I can make their numbers right just by using something like \setcounter{section}{4}.  How can I get something like \ref{VeryUsefulTheorem} working if the command \label{VeryUsefulTheorem} is in another section (i.e., in another TeX file, which is compiled to its own PDF file)?  I'm using the  package, and, therefore, inter-document links are clickable. Is it possible to make links to a stuff in a different PDF file clickable?


I'm puzzled by      For 2019, the IRS defines a high deductible health plan as any plan with a deductible of at least $1,350 for an individual or $2,700 for a family.    That's understandable.  My in-network deductible for individuals is $1,500 and $3,000 for family, so the plan qualifies as HD.     An HDHP’s total yearly out-of-pocket expenses (including deductibles, copayments, and coinsurance) can’t be more than $6,750 for an individual or $13,500 for a family.   This seems to imply that the OOP must be less than $6,750, and that seems completely bass-ackwards.  Thus, am I reading it wrong, or is the regulation completely bass-ackwards?


Are there any guidelines for labeling axes in plots/graphs?

What are best practices (if any exist) for labeling axes in plots/graphs for academic documents, such as theses, publications, or presentations?   Possible options are to use the variable, spell out the variable, or a combination of both. For example, to label a time axis, we could write: t (s) or Time (s) or Time, t (s).  Are there any objective reasons to prefer one style over another, assuming the publisher does not specify which to use? Or sources suggesting a particular format?  I have browsed many journal requirements, but haven't found any that specifically address this.


Do the digits of $\pi$ contain every possible finite-length digit sequence?

Possible Duplicate:          This is not a practical problem. I am asking out of curiosity.  Any links/references are most welcome.  Say, we write the digits of $\pi$ in base $10$.  Does this sequence of digits contain every possible finite length digit sequence?  What about $e$, $\sqrt{2}$ or some other commonly known irrational numbers?  Is this property of numbers independent of base?  If a number has this property when written in base $10$, will it also have it in base $2$, $3$ and all other bases?


What is a gender neutral word to describe an individual?

Before I begin, I'd like to point out that my primary interests aren't actually in literature/linguistics, but within the domain of music. However, I have come accross a problem I feel is of much concern and is in essence a problem with the (English) language, in part that is, not as a whole.  Anyway, I am writing a song about a person who is climbing a mountain, but they are doing so both physically, and then metaphorically. This is a song that is supposed to represent human weakness and strength, and so naturally that includes both men and women.  The lyrics go something like this:  1.2-2 Oh...  2-3 Will he...  3-4 Sur-vive?  4-5 and climb this   5-6 Mounta…ain  ?  5.2-6 He will do   6-6.2 One   6.2-7 Of only  two things  7-7.2 He  7.2 - 8  Will fail and fall into the dark  The lyrics presented are not meant to be grammatically correct, to me they just need to represent the words to fit the song. Also, the numbers are just units of time, but that doesn't matter here.   So, as you can see, I used what I think is a pronoun, the word 'he', to generalise the term to both males and females. Now, whilst this is common practise, I do not think it is good practice, so I was wondering if there may be another, ideally single syllable word, that one could use to describe both males and females.   I feel that such a word really should be integrated into the English language, as it would be much more effective than s/he, or even worse, just he.


How to buffer a pair of longitude and latitude coordinates in R?

I have a pair of longitude and latitude coordinates, and I want to plot a 500 meter buffer around it using leaflet or mapview. st_buffer, however, does not correctly buffer longitude/latitude data.   Initial code:  library(rgeos) library(rgdal) library(sf)  df <- data.frame(lon = -121.9552, lat = 37.35411) coordinates(df) <- c("lon", "lat") proj4string(df) <- CRS("+init=epsg:4326")  df_sf <- st_as_sf(df) #.... # Something goes here, but I don't know what? #... st_buffer(df_sf, 500)  Warning message: In st_buffer.sfc(st_geometry(x), dist, nQuadSegs) : st_buffer does not correctly buffer longitude/latitude data   What's the missing piece?


New to this, want to install Cairo Desktop

The command that I typed into Terminal was  sudo add-apt-repository ppa:cairo-dock-team/ppa   It then says to enable PPA in list of repositories, and gives more commands to enter. After entering those, it says that I have held broken packages. What does this mean, and how do I fix it?


How do I delete empty fields from a shapefile with QGIS?

This question has been  before but I couldn't get the solution to work. I have a shapefile with lots of empty columns and I would like to remove them all with a script or some tools.  This is the script that was posted as the solution to the other thread.  lyr = iface.activeLayer() lstDelete = []  for idx in lyr.dataProvider().attributeIndexes():     uv = lyr.dataProvider().uniqueValues( idx )     if not uv:         lstDelete.append( idx )  lyr.dataProvider().deleteAttributes( lstDelete )  # Update the layer structure lyr.updateFields()   When I try it both on Windows 2.18.1 and Mac 2.18.0 I get no change to my active layer.


Global Variable/Node across multiple materials?

How can I get a Node input/output (e.g. a single Color/Value) that I can control from the one spot, but have mapped across multiple materials? For example, to control a value (say, Glass Shader IOF, or a Mix Shader Fac) across 30 different materials (that may or may not have different node setups, but all use the input I want as a driving factor somewhere inside). I've got a few ideas so far, but am not sure which will work and/or which will be the best way to go about it:  Use a Node Group I tried setting up an input inside a node group, then using the node group in various locations - however I could only seem to automate/keyframe the 'default' values of things inside the group (these changes didn't flow through into the instances of the group).  Script node I could set up a Script Node that returns the value I want - however I imagine this would be tricky to automate, and it would also lock me into OSL, which feels a bit roundabout and also rules out GPU rendering (not essential but it would be nice)  Driver I could set up a dummy object or material, set up drivers through to the things I want to control, then keyframe the dummy object and that might achieve what I want. However this again feels a bit roundabout/messy.    Background: I'm working on a model that has a non-trivial number of materials (just over 100, auto-generated from a 3D scanner), and am trying to set up effective backface culling in rendering by using the method described . This involves scripting the addition and connecting of all the extra nodes (Mix shader controlled by Geometry Backfacing, and a Transparent BSDF node to make the faces be rendered transparent from the back), because doing it manually for all 100+ materials would be a pain. It's not essential, but I was thinking it would be nice to be able to control the overall effect by automating all the Transparent BSDF Alpha amounts - I'm just not sure how I'd go about controlling that from a single point though.


If the universe is 13,7 billion years old how it could be infinitely large? Maybe it is curved to account for being finite? But then there should be more spatial dimensions...is it right?


I'm currently studying  and Python programming. I just want to know how I would go about executing a Linux command in Python. The commands I want to execute are:  echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080   If I just use print in Python and run it in the terminal will it do the same as executing it as if you was typing it yourself and pressing Enter?


Default initial value of a variable in Delphi?

Developing a window-32 bit application by using DelphiXE-7.  I’ve following piece of code-  Procedure TMainForm.Button1Click(Sender: TObject); Var   iNum: Integer;   bExit: Boolean; Begin   ShowMessage(IntToStr(iNum));   repeat     Inc(iNum);     bExit := True;   until Exit; End;   I know that not initializing iNum before using it may cause this problem, but then it should also come at debugging time.   But when I’m debugging or running compiled exe MessageBox is showing as “0” which seems correct, but when we are installing build and running the same procedure then MessageBox is showing some garbage value instead of zero. Something like “1632824”.  Only difference between compiling and Build generation is that later one is not creating dcu.  Please Advise Accordingly.


Unable to insert a data in a table in mysql


\Footnotes that go over one line are indented?

When using a simple \footnote tag, if the citation goes over one line then the second line becomes unindented to not sit flush with the rest of the footnotes. Any help greatly appreciated!


My passport was stolen in Prague on my way to Vienna. I filed a police report and our embassy swiftly acted by giving me a temporary passport for my onward journey to Munich and Rome. Upon exit from Rome, the immigration ask for the Schengen visa, when I told him that I lost my passport, he did not ask for any document to support my claim, he just stamped my new passport with exit. I am not sure if on record, I am officially out of the Schengen area or not. I am scared that without the lost visa, it appears that I am still in the area and might reach the 90 day limit and will be denied when I re-apply as it would appear I broke the rule. What to do?


How to set path permently for fdisk command

I am using Debian 10 on my laptop. I am facing an error message: # fdisk -l bash: fdisk: command not found  My path is: test@debian:/sbin$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games</code>  If I set my $PATH to: test@debian:/$ PATH="/sbin:$PATH"  I then get: test@debian:/$ echo $PATH /sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games  After that my fdisk -l command executes perfectly. The problem is that every time I reboot my laptop, I have to set the path again. I want to  add it permanently. Please guide me on which file may I choose to edit for permanent changes and what should I add inside it.


I have a Word file which has some Excel plots in it. Unfortunately I lost the original excel plots and the word file is now 'de-linked'.   Is there a way to retrieve the lost data for the plots? Just copying the plot back to Excel does not seem to work, but I can see that the data is still there somewhere, because hovering over a dot on the plot shows the values.


Will I be able to transfer Pokemon from Sun/Moon to ORAS?

Is transferring Gen 6 and under Pokemon from Sun/Moon to ORAS a feature in Pokebank?   I'd like to breed on sun and moon, transfer to ORAS to get move tutors, then back to sun and moon.


FeatureUpgrading - Providing an updated schema.xml file possible?

I've read a lot now about the FeatureUpgrading method. But I'm still asking myself, if I could provide an updated list definition (schema.xml) file in the ElementManifests. There are new views in this updated schema.xml.   Or is this not the way to do it?  Here is my CAML code, I thought, I can use to update the schema.xml. But this code does not work.  <?xml version="1.0" encoding="utf-8" ?> <Feature xmlns="http://schemas.microsoft.com/sharepoint/">   <UpgradeActions>     <VersionRange BeginVersion="0.0.0.0" EndVersion="9.0.0.0">       <ApplyElementManifests>         <ElementManifest Location="DL_Definition_Products\Elements.xml" />         <ElementFile Location="DL_Definition_Products\Schema.xml" />       </ApplyElementManifests>     </VersionRange>   </UpgradeActions> </Feature>   Has anybody a hint for me?


How to non-interactively take screenshot of a predefined area and save it automatically on keypress?

I used to use "Gadwin print screen" on Windows where I could just press a shortcut and a predefined screen area would get saved to a folder (no questions asked), which is very helpful while doing lengthy online courses .  I have switched to Ubuntu and I need an alternative. I have installed Shutter and managed to create a shortcut that can trigger the "selection" tool and auto save the picture, but the problem is I need to re-position the predefined selection area (which is positioned on lower right of screen by default), and shutter doesn't remember the previous position, which is time consuming in my usage scenario where hundreds of screen shots are taken.


Different domains for different languages SEO

I have two domains for two different languages containing the same content. Example.si in slovenian and example.eu in english. I am thinking to use only one domain (.eu) and have both languages on there. What is the recommended choice?


SEO what Meta enables the left display of information in google?

I have seen that when we make some search in google there is a left display of information sometimes in a box in Google. Please what Meta enables the left display of information on google like in the picture below  ?


Proving Inequality using Induction $a^n-b^n \leq na^{n-1}(a-b)$

I was trying to prove this inequality using induction, but couldn't do.  Question: Suppose $a$ and $b$ are real numbers with $0 < b < a$. Prove that if $n$ is a positive integer, then:  $$a^n-b^n \leq na^{n-1}(a-b)$$


How to make the same thing on WinForms, that I have in WPF application (Application.Current.Dispatcher.Invoke((Action)delegate):  public class Fullscreen     { public Fullscreen(Action goFullScreen)         {             goFullScreenMode = goFullScreen;         } public void Make()         { Application.Current.Dispatcher.Invoke((Action)delegate                 {                     goFullScreenMode();                 }); } }   I need to access to MainWindow.cs in WinForms that сontains:  public void GoFullScreen()         {             TopMost = true;             FormBorderStyle = FormBorderStyle.None;             WindowState = FormWindowState.Maximized;         }   That I register like this in MainWindow_Load  _fullscreen = new Fullscreen(GoFullScreen); RegisterJavaScriptObject("__fullscreen", _fullscreen);


Android: progress dialog error java.lang.NullPointerException

I'm trying to adapt two tutorial, to learn Volley.  I have error with showing a progress dialog.  This is my code:  public class MainActivity extends Activity {      final static String MARS_WEATHER_RECENT = "http://marsweather.ingenology.com/v1/latest/";     private static String TAG = MainActivity.class.getSimpleName();      // Progress dialog     private ProgressDialog pDialog;      private TextView debug_container;     private TextView degrees;      // temporary string to show the parsed response     private String jsonResponse;      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);          debug_container = (TextView) findViewById(R.id.debug_container);         degrees = (TextView) findViewById(R.id.degrees);          loadMarsWeatherData();          pDialog = new ProgressDialog(this);         pDialog.setMessage("Please wait...");         pDialog.setCancelable(false);      }      private void loadMarsWeatherData() {          showpDialog();         JsonObjectRequest jsonObjReq = new JsonObjectRequest(Request.Method.GET,                 MARS_WEATHER_RECENT, (String)null, new Response.Listener<JSONObject>() {              @Override             public void onResponse(JSONObject response) {                 Log.d(TAG, response.toString());                  try {                     // Parsing json object response                     // response will be a json object                     response = response.getJSONObject("report");                     String min_degree = response.getString("min_temp");                      degrees.setText(min_degree);                  } catch (JSONException e) {                     e.printStackTrace();                     Toast.makeText(getApplicationContext(),                             "Error: " + e.getMessage(),                             Toast.LENGTH_LONG).show();                 }                 hidepDialog();             }         }, new Response.ErrorListener() {              @Override             public void onErrorResponse(VolleyError error) {                 VolleyLog.d(TAG, "Error: " + error.getMessage());                 Toast.makeText(getApplicationContext(),                         error.getMessage(), Toast.LENGTH_SHORT).show();                 // hide the progress dialog                 hidepDialog();             }         });          // Adding request to request queue         AppController.getInstance().addToRequestQueue(jsonObjReq);     }          private void showpDialog() {         if (!pDialog.isShowing())             pDialog.show();     }      private void hidepDialog() {         if (pDialog.isShowing())             pDialog.dismiss();     } }   Error is      [...]     FATAL EXCEPTION: main         java.lang.RuntimeException: Unable to start activity ComponentInfo{com.webtemplum.crazyweather/com.webtemplum.crazyweather.MainActivity}: java.lang.NullPointerException [...] used by: java.lang.NullPointerException             at com.webtemplum.crazyweather.MainActivity.showpDialog(MainActivity.java:222)             at com.webtemplum.crazyweather.MainActivity.loadMarsWeatherData(MainActivity.java:56)             at com.webtemplum.crazyweather.MainActivity.onCreate(MainActivity.java:46)   (Stripped out some error line, If I understood right the error is in showpDialog).  Of course, If I comment the showpDialog app runs.  Same thing (app runs) if I comment all block in loadWeatherData and leave only  private void loadMarsWeatherData() {          showpDialog();         hidepDialog(); }   Thank you very much.


Prove that if $f(x) > 0 \; \forall \;x \in (a, b)$, then $\int_a^b{f(x) \; \mathrm{d}x} > 0$.

Question is in the title. It appears obvious at first glance, but I've got no idea how to prove it.   Edit: I am referring to the Riemann integral.


What is the point in using enum byte instead of int?

my following question is about Enum. An enum use int as default type, however, it can be converted to byte. What is the point in converting an int enum to a byte?  public Enum SoccerType: byte  { defenders=1,  midfielder =2 ,  attackers = 3  }


Proving a relation between inradius ,circumradius and exradii in a triangle

Prove that in a triangle $$r^2+r_1^2+r_2^2+r_3^2=16R^2-(a^2+b^2+c^2)$$ where the symbols have their usual meanings. I am looking for a smaller or elegant proof using trigonometry. A geometric proof would be super cool. I did prove it but it took me ages to do the calculation. Thanks.


My VSCODE (SFDX) is not running - Command failed with ENOENT: npm

All was working fine till the morning untill, in the afternoon when i tried to run some create LWC commands. Now, no SFDX commands will work, i am getting the following error :   04:30:38.633 sfdx force:lightning:component:create --componentname myComponent2 --outputdir force-app/main/default/aura ERROR running force:lightning:component:create:  Command failed with ENOENT: npm root -g --prefix /Users/padmajasubhash/Documents/SFDX Projects/Surya Practice/.yo-repository --loglevel error spawnSync npm ENOENT 04:30:39.881 sfdx force:lightning:component:create --componentname myComponent2 --outputdir force-app/main/default/aura  ended with exit code 1   Please help.


Source:      Dugin is widely viewed as chief ideologist for the hawkish wing of Russia's ruling elite, and his persistent influence inside the Kremlin has been widely documented.   Why is there no definite nor indefinite article in front of chief ideologist to denote that he is either just one of many chief ideologists, if there are more than one of them (indefinite article), or the to denote that he is the one and only chief in charge (definite article)?


Thieves Guild Skyrim - Return The Skeleton Key or Complete Jobs in Other Towns?

Is it possible to raise the thieves guild without doing the Nightingale questline? Because I have been doing a lot of quests for Vex and Delvin, but it seems I can't get the special quests. Is there anything I can do to change that, or do I have to deliver the lock pick thingy back? And does it matter what quests you do, if you don't have to deliver the lock pick back?


How to change the order of number digits?

How can I change text to be left aligned?  So that, instead of 1.4 it will show 4.1.


Can I use my PC SMPS 12V 450 Watt for my Embedded System work

I am a computer programmer and after a project with Image processing which runs on ARM Embedded system board. Specification says it needs 12V 1 Amp Supply. I have a computer SMPS which gives me 5v and 12v constant supply and rated as 450 watt. Also it is written it can draw upto 24A current so here I cam confused. Can this heavy amount of current burn my board ? Also I recall Ohm Law that if the v is constant then current will vary according to load. Please give me some right direction whether I can use PC PSU for my embedded works.  Thanks


Is there an TikZ command to provide the height and width of the picture?

I've found the following .  So, I know how to find the size of a TikZ picture as follows:  \documentclass{article} \usepackage[margin=0.5in]{geometry} \usepackage{fp} \usepackage{tikz} \usetikzlibrary{calc}  \makeatletter \def\calcLength(#1,#2)#3{%%   \pgfpointdiff{\pgfpointanchor{#1}{center}}%%                {\pgfpointanchor{#2}{center}}%%   \pgf@xa=\pgf@x%%   \pgf@ya=\pgf@y%%   \FPeval\@temp@a{\pgfmath@tonumber{\pgf@xa}}%%   \FPeval\@temp@b{\pgfmath@tonumber{\pgf@ya}}%%   \FPeval\@temp@sum{(\@temp@a*\@temp@a+\@temp@b*\@temp@b)}%%   \FProot{\FPMathLen}{\@temp@sum}{2}%%   \FPround\FPMathLen\FPMathLen5\relax   \global\expandafter\edef\csname #3\endcsname{\FPMathLen pt}%%   } \makeatother  \setlength{\parindent}{0pt}  \begin{document}   \begin{tikzpicture}[baseline=(B)]%%   \coordinate (A) at (0,0);   \coordinate (B) at (10,3);   \draw (A) -- (B);    \coordinate (PUL) at ($(current bounding box.north west)+(-1ex,1ex)$);   \coordinate (PLR) at ($(current bounding box.south east)+(1ex,-1ex)$);   \coordinate (PUR) at (PUL-|PLR);   \coordinate (PLL) at (PUL|-PLR);   \draw (PUL) rectangle (PLR);    \calcLength(PUL,PUR){mywidth}%%   \calcLength(PUL,PLL){myheight}%%  \end{tikzpicture}%%  Here's a rule the width of the picture:  \rule{\mywidth}{4pt}  Here's a rule the height of the picture:  \rule{4pt}{\myheight}  \end{document}   What I'm curious about is whether isn't an easier way to go about this since all I'm interested in is the dimensions of the finished picture.


How can I define items in my RPG like Java game?

I am casually working on an RPG type game in Java but I am having trouble figuring out how I can have items that can do many different things without creating a different class for every item.  As an example, how would I create an Axe that could chop trees and attack monsters?  If I extend either the chopping or the weapon class then I can't extend the other class.  If I have chopping and weapon be an interface then I will have a lot of duplicated code when a dagger can also attack monsters and a different axe can cut trees.  I am hoping there is a way to have a single Item class and load the items and their respective abilities from a file. If that is possible how can it be done? If it isn't then what is the best way to have items in a game?


Auto-populating dynamic text for attribute table information on multiple layers within MXD with Data Driven Pages?

I am working on creating a maintenance inventory for a City's Parks Departments in ArcGIS 10.2.2 for Desktop. I have used the Township/Range/Section boundaries as the clipping areas for my data driven pages to set up viewing windows for different areas of the City. I have created 5 shapefiles of landscape maintenance types, which are present at varying levels in each of the individual Sections within the City. I have set up my pages as follows in the attached image, and would like to know if there would be a way to auto-populate the "table" at the bottom of the page with information that is only present in the current viewable Section(s).     For each of the 5 landscape maintenance types, I have the total area and modes 1-3 in the attribute table. Is there a way to auto-populate the red circled areas for just data within the individual page based on this?   I have found through researching this issue (without much luck so far) that more than likely I will have to join my tables for each landscape type with my index layer that is determining the data driven pages.   If this is the case, what would be the best method to join my landscape maintenance layers with the index layer?   I have access to the X-Tools extension if it would be helpful in this instance.


How can I fix/repair a corrupted PDF file?

Does anyone have any recommendation or procedures for repairing a corrupt PDF?  When I open the file I get "There was an error opening this document.  the file is damaged and cannot be repaired."  There seems to be a myriad of tools out there but none that I could describe as reputable.  Are there any opensource linux based solutions for this possibly?


Using Bounded Derivative to Show Uniform Continuity

Suppose $f: (a,b) \to \mathbb{R}$ is differentiable on $(a,b)$ and $|f '(x)|\leq M$ for all $x \in (a,b)$. Prove that $f$ is uniformly continuous on $(a,b)$. My attempt: I started by observing the definition of uniform continuity, which is for all $\epsilon \gt 0$ there exists $\delta \gt 0$ such that for all $x,y \in (a,b)$, $|x-y|\lt \delta$ implies $|f(x) - f(y)|\lt \epsilon$. Using this I began by trying to find $\delta$. My first thought was to use the information about the derivative. I wrote out that $\lim_{x\to y}$$|$$(f(x) - f(y) \over x - y)$|$\leq M$. Using this, $-M$($\lim_{x\to y}(x - y))$$\leq$$\lim_{x \to y}(f(x) - f(y))$$\leq$$M(\lim_{x \to y}(x - y))$. Now this implies that $|\lim_{x\to y}f(x) - f(y)|$$\leq$$M(\lim_{x \to y}(x - y))$. I'm thinking that this is what will get me to the $\delta$ that I'm looking for. But the limit on the right hand side approaches 0, so this should imply that $|\lim_{x \to y}f(x) - f(y)|$$\leq$ $0$. Is this the result that will show uniform continuity?


Is "The curl of the gradient of any scalar field is identically zero" contradictory to Faraday's Law?

$V$ is a scalar field, then  $$\nabla\times \nabla V = 0$$  Faraday's law:  $$\nabla \times \mathbf{E} = -\frac{d\mathbf{B}}{dt},\\ \mathbf{E} = -\nabla V\, .$$


Find $|(\mathbb{Z} \oplus \mathbb{Z}) / \langle(3,6)\rangle|$ and determine if its cyclic

Find $|\mathbb{Z} \oplus \mathbb{Z} / \langle(3,6)\rangle|$ and determine if its cyclic.   $\mathbb{Z} \oplus \mathbb{Z} = \{(1,1), (1, 2),... (2, 1),...(3,1),...\}$  $\langle(3,6)\rangle = \{(0,0),(3,6),(6,12),...\}$  $\mathbb{Z} \oplus \mathbb{Z} / \langle(3,6)\rangle = \{(a,b) + \langle(3,6)\rangle : a,b \in \mathbb{Z}\}$  How would I go by finding the order of the quotient group? Would it be infinite? Since both sets that make up the quotient group are infinite, does that mean that the order of the quotient group is also infinite? What are some things I'm not noticing that could be helpful?


Command line arguments in Visual C++ in VS2010

How do I access the command line argument that I set in my project. for example if I give following input to command line "abc def ghi" then how do I access them using argc &/or argv.  I am getting some integer values if I am accessing them via argv[i] or *argv[i] Thanks.


I'm fairly new to Illustrator, but I'm working on this vector:    Right now this is accomplished by circle paths, white fill color, and also two strokes. The blue stroke is 4px and then there is a white stroke of 6px under that, which is how I'm getting the gap between the circles.  I need to ultimately have the image be transparent, with no fill, and the white stroke gone. How is it that I can cut out the need for the white stroke and fill?  My first thoughts were to try and do each overlapping circle separately and do a "Minus Front", but this doesn't work because the blue is a stroke and will just redraw along the line of the overlapping circle that cut the bottom path.  Second thought is that if there was a way to turn the stroke into a path with a fill instead of a stroke on a circle, that this would be possible. I Found Object > Path > Outline Stroke which does this, and I can kind of get it working, but then the steps to accomplish would be:   Edit > Expand Appearance each circle Edit > Path > Outline Stroke each circle Copy/PasteInPlace a overlapping circle and subtract the copied circle from whatever is beneath it. (for each overlap!! So I'd have to do this 7 or 8 times!?) Reorder layers (because each path merge messes with the layer order?)   And those steps would work, but it takes a hell of a lot of time to do that, and I'd have to save the file before all of these steps because if I want to change the image after this (ie stroke size), I'd have to do it and re-do all of these steps again.   So is there any way to accomplish what I want to do without that mess?


I have problem with white color. If selected white color I got gray color.  What can be problem?


What's the point of splitting related topics into different sites/communities?

Similar questions have been asked here before, for example , but my point is slightly different. I have absolutely no issue with the total number of SE sites, on the contrary. However I don't think it makes sense to split topics if there is a high correlation between the users interested in these topics. Here is an example which I personally find a bit annoying:  The Stack Exchange site which I find most helpful and in which I am most active is Stack Overflow. Now as a professional software developer I am not only interested in coding issues but also in topics like project management or requirements engineering which become more and more off-topic in Stack Overflow.  To ask or answer such questions, I need to go to other sites like Project Management or Programmers. Especially the boundary between Stack Overflow and Programmers is far from being obvious.  I would find it much more convenient to have all software development related topics on one site. Of course this is my personal opinion but many questions, answers and comments give me the impression that lots of other users have the same issue.  Am I missing something?


Splitting the components of a compound verb

I've always understood that splitting infinitives should be avoided; e.g., instead of     To boldly go where no man has gone before.   use     To go boldly where no man has gone before.   With that in mind, I recently saw someone post the following comment on Facebook:     This is horribly written.   It struck me that a phrasing that sounds more natural to my ear is     This is written horribly.   In trying to determine why I prefer the latter, I realized that the adverb horribly splits the conjugated verb is written. Is this just personal preference, or is this "split conjugation" basically the equivalent of a split infinitive?


Comma after introductory words, phrases, clauses: unacceptable, obligatory or optional?

I am no native speaker and always confused about the comma in introductory phrases, in particular in prepositional phrases. Is there any hard rule when a comma must be set? If I make a google search for certain phrases, I often find both variants. Typical examples where I am not sure whether a comma must be set are:        First[ly][,] I must phone mother   In this case[,] we must...   For simple problems[,] the algorithm...   From Lemma 1.2[,] we obtain...   For a typical user[,] the algorithm...   In our theory[,] we...   A dark line on the horizon[,] the mountain range we were headed for seemed somehow not as threatening as when we had started out on the trip.   Avidly reading her novel[,] Jane did not notice that her stop was approaching.   To be sure[,] it is not easy to see a solution.   When you get to Rome[,] give me a ring.


How to create this realistic glossy preview of a business card?

I am trying to create the effect posted in this image. How can this can be created?


When the Center of Mass and Center of gravity does Not Coincide

"The centre of mass of a system of particles is the point that moves as though (1) all of the system's mass were concentrated there and (2) all external forces were applied there." (Resnick et al, p.215) "The gravitational force on a body effectively acts at a single point, called the centre of gravity of the body." (Resnick et al, p.330) According to these concepts: If we have a body large enough that we could not assume that the centre of mass and the centre of gravity doesn't coincide. Then, by definition of the centre of gravity, the gravitational force does not act on the centre of mass. This means that we have an external force which we can't consider to be acting on the centre of mass. Q (1)-Does the centre of mass still move as if the gravitational force were applied there? Q (2)-Aren't this concepts the best definitions of the center of mass and centre of gravity? Q (3)-What would be the axis rotation if I apply a force to one corner of this body? Source: Fundamentals os physics / Robert Resnick, David Halliday, Robert Resnick - 10th edition.


I overstayed in South Africa and was banned. How long do I have to wait before I can re-enter the country?

I overstayed my 90 day stay in South Africa by 2 days before leaving for Namibia. The officials wanted me to sign a one-year ban which I did not sign.   I now need to re-enter South Africa again only 24hours later. Is that possible?


Stats on handling my spam flags across the network

I am flagging spam posts detected by , and I want to see the network wide impact on flagging the spam.  Spam content is getting deleted immediately from the sites like MSE, SO. Response from other Stack Exchange sites is very slow. Sometimes, it takes hours to remove the spam content.  It's very difficult to remember on which site I have flagged posts.  How do I track down my flags status? How about having an "impact" tab in the network profile page which shows the flag status from all SE sites ?


In a , Elio Fabri says:     A well-known case is the famous paradox of the two capacitors, one charged, the other uncharged. If you connect them, charge is shared, and energy appears not being conserved. But if the connecting wire has a non-null resistance $R$, you can see that the lacking energy is dissipated as Joule heat in $R$. The paradox is that the energy dissipated does not depend on $R$, so that the limit $R\rightarrow$ 0 would still give the same value.   I haven't thought about it very deeply, and I'm sure others have analyzed this carefully, but it seems to me that for small values of resistance, this circuit would behave like an $LRC$ circuit and exhibit oscillations, and in the limit $R\rightarrow0$, radiation would become a more efficient dissipative mechanism than resistive heating. Is this a correct analysis?


How to get a list of files for a package I haven't installed yet?

apt-cache search returns list of available packages. In my case I would like to look at  the list of files that would be installed on my PC in case I install the package usb-creator-gtk.  Something like dpkg-query -L does for an already installed package.   Thanks for help.


Is it possible to call a method by reflection from a class?  class MyObject {     ...   //some methods      public void fce() {         //call another method of this object via reflection?     } }   Thank you.


Adding field of intersected polygons in points using ArcGIS Desktop?

I have some points and polygons in an area. I want to add a field in those points that tell what polygons have been intersected by those points and not only what polygons but a specific attribute of those polygons.


Determine if a number is the sum of two triangular numbers.

Is it possible to figure out if a number $z$ is the addition of two triangular number without recursion or finding the values to $x$ and $y$?  $$\frac{x(x+1)}{2} + \frac{y(y+1)}{2} = z$$  An example of this would be following:   $$\frac{345(345+1)}{2} + \frac{234(234+1)}{2} = 87180$$  Is it possible to determine if $87180$ originated from the addition of two triangular numbers without recursively going back and plugging every possibility for $x$ and $y$?


Swap position of poster and editor on mobile app

Across the Stack Exchange network, the original poster appears in the lower right, with any edits then appearing to the left of that.  I'm not sure when it changed, but the mobile app (iOS, v 1.6.3.6) seems to be displaying this information in a different way to how it used to; the original poster is now on the left, with any edits being shown on the right.  It's a minor thing, but not having it consistent with the network means my eye is drawn to the wrong person a lot of the time.  The latest one being a comment on a Q saying "welcome to stack...", and a brief moment of confusion because the asker had 4k+ of rep.  Only they weren't the asker, they were an editor...    Can these elements be swapped over please?


Observe below a body of an email:-  I have been directed to send the report on the subject mentioned above. PFA.  On the Grammarly software, it is flagged as passive voice misuse. Please enlighten me about the passive voice misuse. Thanks in advance.