Regex Number Capture Without Percent Sign
What special characters must be escaped in regular expressions?
How much of 32-bit support is dropped in macOS Catalina? macOS Catalina is said to have dropped support for 32-bit apps. It’s not clear how much support is dropped.   Is there any supported way for a 64-bit app to request the kernel to create a 32-bit code segment? Does borrowing from my 401(k) make sense in my specific circumstance? Alternate property name while deserializing I'm loading an XML document in my C# application with the following:  XDocument xd1 = new XDocument(); xd1 = XDocument.Load(myfile);   but before that, I do test to make sure the file exists with:  File.Exists(myfile);   But... is there an (easy) way to test the file before the XDocument.Load() to make sure it's a valid XML file?  In other words, my user can accidentally click on a different file in the file browser and trying to load, say, a .php file causes an exception.    The only way I can think of is to load it into a StreamWriter and simple do a text search on the first few characters to make sure they say "  Thanks!  -Adeena I am struggling to find such languages $L_{1}$, $L_{2}$, and $L_{3}$ such that  $$ L_{1} \subseteq L_{2} \subseteq L_{3} $$ where $L_{1}, L_{3} \notin  \mathbb{R}$ and $L_{2} \in  \mathbb{R}$.  I know they exist, I need help finding them. Will my software work on the next version of Windows I have some software and I'd like to know if it works on the next version of Windows (Windows 10). In every keyboard that I have used, the keys are arranged so that the keys are staggered a small increment to the left from the previous row. Q is above and slightly to the left of A, and A is above and slightly to the left of Z. This pattern continues across the entire board. Case in point:    What is the motivation behind this design? I would think that a column layout would be easier to type on - and indeed, many ergonomic keyboards seem to go with a column layout, where Q is directly above A and so on. What's the best way to invite a user to answer a question on Stack Overflow? On several occasions, I was reading a question thinking "I know a guy that knows the answer to this" and that guy (or gal) also happens to be a registered user. How can I bring this to the attention of this user? Leaving values blank if not passed in str.format I stopped dual booting and I don't want to have to choose the OS any more. I want to boot into Ubuntu 12.04 directly without seeing the GRUB menu.  How can I achieve that? Chat reputation in left bar seems different than any other reputation displayed for users Which is more correct:     Apropos of your earlier comment, I decided to....   or      Apropos your earlier comment, I decided to...   Actually, apropos is so fancy a word, even I, a word maven if I do say so myself, am not entirely sure when to use it.  If I may add to my preposition question, are there any constructions where it would be appropriate to use something like with regard to and not apropos? Are there guidelines on how much free RAM a phone should have - specifically Samsung Galaxy S? Personal Hotspot not working over Wi-Fi on iOS 13 After upgrade to iOS 13 from 12.4, I noticed that personal hotspot isn't working anymore over Wi-Fi (via USB is ok).  Tested on two computers with Win7. The PC can connect to Wi-Fi, but no valid IP (IPv4) is assigned and no connection is working to internet. I run sudo apt-get install git-all in Ubuntu 16.04 and see the following in the end  Setting up runit (2.1.2-3ubuntu1) ... start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused dpkg: error processing package runit (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package runit is not configured yet.  dpkg: error processing package git-daemon-run (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                       Errors were encountered while processing:  runit  git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1)   I get the error after rebooting my system also. It really blocks my whole system.  I run killall update-notifier. I run sudo apt-get install git-all but  I get the same error message. I run pgrep -a apt but get nothing as output. I run pgrep -a update but get nothing as output.  A bug report about the case .    In Grub, Choose Advanced options > Ubuntu (Upstart) Linux kernel 4.22. Doing the same only in terminal without systemd causes the same error.      Why is this error here with runit? New to the cloud so pardon this question as I'm certain it's relatively simple!  I've setup my Google Cloud Instance and I'm now trying to connect to it using FileZilla. I have a good understanding of how to do this... but I've been completely unable to download my .ppk file, public key, and private keys. The documentation clearly gives the folder that the files are located in.... but I'm unable to navigate to these folders (it's as if they don't exist) furthermore I'm not really sure how to download something to my computer through the SSH terminal.  Also somewhat infuriating is that I've found the keys in the web portal on Google Cloud however there is no option to download them. I can only view them in clear text.  Any help would be greatly appreciated! C++ equivalent of java's instanceof What is the preferred method to achieve the C++ equivalent of java's instanceof? Lecturer with anxiety. How to survive in academia? I've been a long time member of academia.SE but I created this alt account because the question is a bit embarrassing. I finished my PhD 4 years ago and after a 2 year postdoc at a different university secured a contractual lecturership. During my PhD I never realised I had fear of public speaking, because I always felt secure presenting in front of my supervisor. Even at conferences, his presence in the audience was enough to keep me relaxed.  Fast forward to my postdoc, I was mostly working and publishing by myself. So, even if I had to present something it was to my coauthors, with which I am okay. But as a lecturer doing research part of my time, I am involved in projects and seminars where I am expected to present my latest work. Being on my own has brought out my inner anxiety, so much so that I choked during a presentation, had to drink water to calm my nerves and apologise for my breathlessness and slurred speech. That was the most embarrasing thing in my life. Please note that the anxiety is not the result of me not publishing or doing research. I have published more than most in my department. Knowing that hasn't helped with the anxiety though. I am constantly making excuses to get out of project presentations and seminar talks. Fortunately, the anxiety is less intense in teaching and I am able to manage.   How do I survive as an academic? Now even conference presentations seem daunting. I can publish exclusively in journals, but how do I get out of giving project and departmental presentations? How can I politely refuse to present without revealing my situation? Or better yet, how do I fix the whole thing? That one bad presentation has really messed me up. Are omniscience and omnipotence mutually inconsistent? I see this in The God Delusion by Richard Dawkins:       If God is omniscient, he must already know how he is going to intervene to change the course of history using his omnipotence. But   that means he can't change his mind about his intervention, which   means he is not omnipotent.   Is this argument sound? comma delineation of consecutive endnotes Consecutive footnotes can be separated by commas by invocation of the multiple option of the  package:    \documentclass{article} \usepackage[multiple]{footmisc} \begin{document} Comma delineation of consecutive footnotes fails upon conversion to endnotes% \footnote{First note.}% \footnote{Second note.}.% \end{document}   This comma delineation fails, however, if footnotes are converted to endnotes using the  package:    \documentclass{article} \usepackage{endnotes} \let\footnote=\endnote \usepackage[multiple]{footmisc} \begin{document} Comma delineation of consecutive footnotes fails upon conversion to endnotes% \footnote{First note.}% \footnote{Second note.}.% \theendnotes \end{document}   How can one preserve automated comma delineation of consecutive endnotes?