On compilation, I get a syntax error on the line On Error GoTo ErrorHandler &quot;Near Column 15&quot; which is the beginning of GoTo. I also tried adding a colon to the end of the line (On Error GoTo ErrorHandler:) as I've seen some people do, and I get the same error. What is the syntax error that I'm missing? Subroutine: Sub HandleAnError()     On Error GoTo ErrorHandler          Dim X     X = 1/0          Exit Sub      ErrorHandler:     MsgBox &quot;Error &quot; &amp; Err.Number &amp; &quot;: &quot; &amp; Err.Description End Sub
I want to use VBScript to catch errors and log them (ie on error "log something") then resume the next line of the script.  For example,   On Error Resume Next 'Do Step 1 'Do Step 2 'Do Step 3   When an error occurs on step 1, I want it to log that error (or perform other custom functions with it) then resume at step 2. Is this possible? and how can I implement it?  EDIT: Can I do something like this?   On Error Resume myErrCatch 'Do step 1 'Do step 2 'Do step 3  myErrCatch: 'log error Resume Next
I was supposed to find all possible Jordan canonical forms of a $5\times 5$ complex matrix with minimal polynomial $(x-2)^2(x-1)$ on a qualifying exam last semester.  I took the polynomial to mean that there were at least two 2's and one 1 on the main diagonal, and that the largest Jordan block with eigenvalue 2 is $2\times 2$ while the largest Jordan block with eigenvalue 1 is $1\times 1$.  Did I miss any matrices or interrupt the minimal polynomial incorrectly?  \begin{pmatrix}   2 &amp;1  &amp;0  &amp;0  &amp;0\\   0 &amp;2  &amp;0  &amp;0  &amp;0\\   0 &amp;0  &amp;2  &amp;1  &amp;0\\   0 &amp;0  &amp;0  &amp;2  &amp;0\\   0 &amp;0  &amp;0  &amp;0  &amp;1 \end{pmatrix}  \begin{pmatrix}   2 &amp;1  &amp;0  &amp;0  &amp;0\\   0 &amp;2  &amp;0  &amp;0  &amp;0\\   0 &amp;0  &amp;2  &amp;0  &amp;0\\   0 &amp;0  &amp;0  &amp;2  &amp;0\\   0 &amp;0  &amp;0  &amp;0  &amp;1 \end{pmatrix}  \begin{pmatrix}   2 &amp;1  &amp;0  &amp;0  &amp;0\\   0 &amp;2  &amp;0  &amp;0  &amp;0\\   0 &amp;0  &amp;2  &amp;0  &amp;0\\   0 &amp;0  &amp;0  &amp;1  &amp;0\\   0 &amp;0  &amp;0  &amp;0  &amp;1 \end{pmatrix}  \begin{pmatrix}   2 &amp;1  &amp;0  &amp;0  &amp;0\\   0 &amp;2  &amp;0  &amp;0  &amp;0\\   0 &amp;0  &amp;1  &amp;0  &amp;0\\   0 &amp;0  &amp;0  &amp;1  &amp;0\\   0 &amp;0  &amp;0  &amp;0  &amp;1 \end{pmatrix}  \begin{pmatrix}   2 &amp;0  &amp;0  &amp;0  &amp;0\\   0 &amp;2  &amp;0  &amp;0  &amp;0\\   0 &amp;0  &amp;1  &amp;0  &amp;0\\   0 &amp;0  &amp;0  &amp;1  &amp;0\\   0 &amp;0  &amp;0  &amp;0  &amp;1 \end{pmatrix} How to perform a true GIS clip of polygons layer using a polygon layer in R? Automatically building a database of forward and backward citations My goal is to produce a graph showing the linkages (and lack there of) between several fields that share a common subproblem by showing who cites whom.  There are many databases that show citations between papers: , , and Google Scholar.  However none allows me to download even part of their database.  Is there some database I have overlooked?  Has someone written a scrapper for one of these websites?    For reference, the fields I'm considering are Mechanics, Magnetic Resonance Imaging, Signal Processing, Geophysics, and several others. How to find correctly the .bib file? I have a .bib document called References.bib saved in the following directory: C:\Users\dvale\Documents\3_References\References.bib  This file contains this entry: @Article{Ballot2014,   author    = {Ballot, Andreas},   title     = {Diversity of cyanobacteria and cyanotoxins in {Hartbeespoort Dam, South Africa}},   journal   = {Marine and Freshwater Research},   year      = {2014},   volume    = {65},   number    = {2},   pages     = {175--189},   issn      = {1323-1650},   doi       = {10.1071/mf13153}, }  I created a document and cited this reference, however the citation is not appearing, apparently because the .bib file was not found. I'm using biber as bibliographic tool (if is important this information). \documentclass[12pt,a4paper]{article} \usepackage{biblatex} \addbibresource[location=remote]{C:/Users/dvale/Documentos/3_References/References.bib} \begin{document} Example \cite{Ballot2014} \printbibliography \end{document}  When I compile the bibliography (F8 in TeXstudio) the following error appears ERROR - Cannot find 'C:/Users/dvale/Documentos/3_References/References.bib'!  EDIT 1: I use JabRef to create my .bib files with UTF-8 encoding The .blg file has the following information in the notepad [0] Config.pm:312&gt; INFO - This is Biber 2.15 (beta) [0] Config.pm:315&gt; INFO - Logfile is 'MWE.blg' [105] biber-MSWIN64:330&gt; INFO - ===  [127] Biber.pm:415&gt; INFO - Reading 'MWE.bcf' [234] Biber.pm:952&gt; INFO - Found 1 citekeys in bib section 0 [251] Biber.pm:4334&gt; INFO - Processing section 0 [267] Biber.pm:4523&gt; INFO - Looking for bibtex format file 'C:/Users/dvale/Documentos/3_References/References.bib' for section 0 [502] Utils.pm:411&gt; ERROR - Cannot find 'C:/Users/dvale/Documentos/3_References/References.bib'! [502] Biber.pm:132&gt; INFO - ERRORS: 1 Pagination not working with custom loop Android finding missing numbers From a paper via Schneier on Security's  (emphasis mine):  In the case of AES-128, there is no known attack which is faster than the 2128 complexity of exhaustive search. However, AES-192 and AES-256 were recently shown to be breakable by attacks which require 2176 and 2119 time, respectively. While these complexities are much faster than exhaustive search, they are completely non-practical, and do not seem to pose any real threat to the security of AES-based systems. In this paper we describe several attacks which can break with practical complexity variants of AES-256 whose number of rounds are comparable to that of AES-128.  Is the implication here that AES-192 is stronger than AES-256? If so, in simple terms, how is that possible?  The attack exploits the fact that the key schedule for 256-bit version is pretty lousy -- something we pointed out in our 2000 paper -- but doesn't extend to AES with a 128-bit key.  Again, in simple terms, what does that mean? In practice, does this mean I should drop AES-256 in favor of its 128-bit counterpart, like Schneier recommends in the comments?  That being said, the key schedule for AES-256 is very poor. I would recommend that people use AES-128 and not AES-256. Prove if $|z| < 1$ and $ |w| < 1$, then $|1-zw^*| \neq 0$ and $| {{z-w} \over {1-zw^*}}| < 1$ What is the difference between 'git pull' and 'git fetch'? Why can lstlisting not be saved in a command? Zip all files in directory? Linux: clnt_create: RPC: Program not registered NFS mounts recently automatically got un-mounted. When I checked, the NFS service status it was shown to be running.  [root@hsluasrepo]# service nfs status rpc.svcgssd is stopped rpc.mountd (pid 4083) is running... nfsd (pid 4148 4147 4146 4145 4144 4143 4142 4141) is running... rpc.rquotad (pid 4079) is running...  [root@hsluasrepo]# service rpcbind status rpcbind (pid  4203) is running...  [root@hsluasrepo common]# rpcinfo -p 10.80.3.154    program vers proto   port  service     100000    4   tcp    111  portmapper     100000    3   tcp    111  portmapper     100000    2   tcp    111  portmapper     100000    4   udp    111  portmapper     100000    3   udp    111  portmapper     100000    2   udp    111  portmapper   But showmount output was showing an error.  [root@hsluasrepo ]# showmount -e 10.80.3.154 clnt_create: RPC: Program not registered   After restarting the NFS service, showmount output displayed the NFS server's export list.  Can anyone tell me the root cause of this issue and How to avoid this problem in future?  /var/log/messages:  Jul 7 03:22:01 hsluasrepo rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1188" x-info="rsyslog.com"] rsyslogd was HUPed Jul 7 03:22:02 hsluasrepo rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with RHN. Please enter your Red Hat login to ensure your system is up-to-date. Jul 8 03:22:01 hsluasrepo rhsmd: In order for Subscription Manager to provide your system with updates, your system must be registered with RHN. Please enter your Red Hat login to ensure your system is up-to-date. Jul 8 16:36:55 hsluasrepo kernel: nfsd: last server has exited, flushing export cache Jul 8 16:36:55 hsluasrepo rpc.mountd[4083]: Caught signal 15, un-registering and exiting. Jul 8 16:36:55 hsluasrepo rpc.mountd[24463]: Version 1.2.3 starting Jul 8 16:36:55 hsluasrepo kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory Jul 8 16:36:55 hsluasrepo kernel: NFSD: starting 90-second grace period Jul 8 16:37:32 hsluasrepo rpc.mountd[24463]: authenticated mount request from 10.60.5.208:1004 for /common/PROD (/common/PROD) Jul 8 16:38:09 hsluasrepo rpc.mountd[24463]: authenticated mount request from 10.60.5.181:869 for /common/PROD (/common/PROD)  Jul 8 16:38:43 hsluasrepo rpc.mountd[24463]: authenticated mount request from 10.60.5.180:825 for /common/PROD (/common/PROD) Jul 8 16:39:12 hsluasrepo rpc.mountd[24463]: authenticated mount request from 10.60.5.176:688 for /common/PROD (/common/PROD) On iOS 7, there is a feature under Cellular in Settings called: Use Cellular Data For:. This lists all of the apps I have on my iPhone 4 with individual On/Off Switches to disable or enable cellular data. So, I disable it on several of my apps, one of which being Music. When I open my Music app, it tells me…     Cellular Data is Turned Off for "Music"   You can turn on cellular data for this app in Settings.   This alert does not occur once, but every time I clear the Music app from my multitasking and re-open it. Is there a way to dismiss this alert once and forever?  The alert looks something like this, but for Music: I have a small issue with my Ubuntu (I think After an upgarde). When I try to login (Login Screen), I get disconnected and get back to the screen (again &amp; again).  I tried:   Trying to login with others Desktop environements. Booting from old kernel. log in via command line [apt-get update &amp;&amp; apt-get upgrade]. removing ~/.gconf directory. sudo apt-get install --reinstall ubuntu-desktop and sudo apt-get install unity   None of these solutions worked. Does anyone know where I can find cheat codes for Goldeneye 007 Wii? I know that the game hasn't even been out for a week, but does anyone know if any cheat codes have been released by Activision yet?  I know that they must exist since there is a cheat codes menu within the game. Could not find class Finding information on German soldiers from World War I and World War II? Where can I find information on German soldiers from World War I and World War II?   I am curious to find out about my ancestors' role in the wars, i.e. what rank they had, where they where fighting, with whom and anything else. I saw a dog.       I have seen a dog.   What are the differences between them? Did these events happen on the same day? Placing math environments inside math environments I have a macro which appears throughout my document in various places:  \newcommand{\placefraction}[2]{     $\frac{#1}{#2}$ }   Sometimes it is placed with regular text. Sometimes it is placed within other math modes. However, the document won't compile if it is placed inside another math mode.  None of my math ever appears in displayed formulas, it is always part of the paragraph.   How can I have a macro which sometimes appears inside math mode, sometimes outside, but itself contains math mode? I want to shrink my second (LVM) partition, in order to create a new partition in the newly freed space. I am using the Live CD to do so, because I know I can't resize/move this partition while it is in use. When I opened GParted in the Live CD, I realized that I could not resize the partition, because when I right-click it, the option "resize/move" is disabled.  I tried to unmount it, to "lazy" unmount it (umount -l /dev/sda2) but it didn't work.  A screenshot from GParted: