Javascript regex: How do you get the substring match while using match()
How do you access the matched groups in a JavaScript regular expression?
What is a reasonable depth and diameter for postholes dug in clay soil to support an 8' fence? What is a reasonable depth and diameter for postholes dug in clay soil where the frost line is no more than 12” and that will support an 8 foot tall solid wood fence that uses PostMaster metal posts?  I hope to have someone else install an 8 foot high PT wood fence.  There will be no light or air passing through or under the fence and it will be heavier than average, given the additional height and board weight.  One side will run for 135’.  The attached diagram provides more detail.  The PostMaster Installation Instructions describe a 30” deep, sloped, 10” diameter hole, filled with 6” of gravel plus 24” of concrete for a 6 foot high fence.  They caveat that the “exact diameter and depth will be determined by local weather and soil conditions.”  Got it.  Huntsville, AL; very clay soil.  Maximum wind gusts of 65 mph.  (This is not in the normal tornado path and is not intended to withstand a tornado.)  In reviewing the StackExchange posts on fencing and post holes I came across the concept that the diameter of the pier may be increased to compensate for a shallower post hole.  I would like to know the recommended depth and diameter without relying on the 2 buttress posts, which are my small overbuild idea.  We will be able to walk under them.  26 APR 18 update: I just found a Master Halco youtube video specifying 6-8" diameter holes dug 36" deep for an 8' board-on-board fence, such as I would like to have.   - I also spoke to a fence builder experienced using PostMaster posts who opined that the 10" diameter and 30 deep holes were more than adequate, but that the gravel was of no value in our climate.  So, 30" x 10" dia inches of concrete vs. 36" x 8" dia of concrete. How to open Nautilus (File Manager) preferences? Is a finite group uniquely determined by the orders of its elements? I am not talking about mirrors, just a plain window made of glass like material. Would it be possible to allow light pass only in one direction but not the other? There's a department at my university where the head of department is routinely put as author on papers he didn't contribute to, and where researchers from overseas who had no input (but who provide funding to the department) are put on papers.    As a pragmatic matter, how should a PhD student respond when they are told to put three names on a paper, when those people didn't contribute?  Assume that refusing to put the co-authors on is not an option, because:   There will be bad consequences if they do not, and  This practice is routinely done at a high level, and there is nobody at the university to complain to about it.   This is not a duplicate of , because its answer assumes that it is practical for the student to refuse. How do I right align controls in a StatusStrip? Find lost device without Gmail account configured and without SIM card I recently misplaced a phone that did not have gmail account configured and did not have a SIM card in it either. Is there any way I can track it ?   All of the tracking apps either require sending an SMS (needs SIM card) or OTA install(needs Gmail account).   I do have the IMEI number of the phone. Filter dict to contain only certain keys? When adding image from Wikimedia Commons, automatically add author/license/link Many Stack Exchange questions and answers embed images from Wikimedia Commons. It is probably the most used image source here. Good news Thanks to their license, all images from Wikimedia Commons can be legally used inside Stack Exchange. Bad news The only requirement is to cite the author/license (), an easy task, but we are totally failing at it, only maybe 1% of Commons images used here are properly cited. That makes our use of these images illegal, and could expose Stack Exchange to various legal threats. Not my problem, you could say, but this is also important because , bringing Stack Exchange closer to closed-data sites like Yahoo! Answers or Experts-Exchange. Proposed solution When using the image addition widget, the widget should detect whether the image's URL has a *.wikimedia.org domain, and if yes:  (optional) Transfer the image to imgur, for perennity reasons. Retrieve the author name and license name from Commons (there is a very reliable API that gives that). Concatenate into a proper citation, maybe something like &quot;*Credit: [&quot; + author + &quot;](&quot; + commonsPageURL + &quot;) , [&quot; + license + &quot;](&quot; + licenseURL + &quot;)*&quot; Insert the citation at the same time as the image's MarkDown.  Benefits:  Remove a large part of Stack Exchange's copyright violations. Makes us a good citizen in the open data world. Remember what happens to sites who disregard ethics (Experts Exchange). Consistent citations. Zero added burden for the users. Where are my Minecraft saves located? As of patch 1.5, I am completely unable to see underwater in Skyrim.  It's not even that it's murky or dark - it's just a solid grey or green screen.  I can still skim across the surface and see into deep waters, but if I go any deeper than that, nothing is visible.  I can still access items like chests underwater if I figure out their location first (by skimming across the surface) and then point my character there and hope really hard that it gets me to the right place.  I was never able to see much underwater, but I at least used to be able to see small things like wood floating near a shipwreck.  Now, there's just nothing. I am running the Steam version of Skyrim with graphics on Ultra High, with the high res textures DLC.  I've tried disabling the high res textures (along with all my other mods) and it still happens.  In case it's relevant, my GPU is a GTX 560 Ti.  Does anyone have any solutions to this? I'm subscribed to the Ubuntu Security Notes, so everytime that I receive an e-mail, a new update is avalable.  But in the last update, they wrote something in the end that I coudn't undertand much, so can anyone please tell me what does that means?  ATTENTION: Due to an unavoidable ABI change the kernel updates have been given a new version number, which requires you to recompile and reinstall all third party kernel modules you might have installed. If you use linux-restricted-modules, you have to update that package as well to get modules which work with the new kernel version. Unless you manually uninstalled the standard kernel metapackages (e.g. linux-generic, linux-server, linux-powerpc), a standard system upgrade will automatically perform this as well.   I tried to ask to my friend (who also uses Linux), but he don't know much about kernel. How to determine surprise when only part of a side is stealthy? Transcendental Extensions. $F(\alpha)$ isomorphic to $F(x)$ Let $E$ be an extension field of $F$ and $\alpha \in E$. Then $\alpha$ is transcendental over $F$ if and only if $F(\alpha)$ is isomorphic to $F(x)$, the field of fractions of $F[x]$.   This was a theorem in an abstract algebra textbook with a very brief proof. Can someone please explain why this theorem holds? I'm having difficulty grasping the concepts at hand.  Thanks! We moved to a new place where the dryer connection is 3-prong instead of 4-prong. The dryer was originally 4-prong, so we bought a 3-prong cord and installed it. It works fine, except I am not entirely sure if I installed the ground wire correctly.   Originally, there was a green wire on the cord itself, and that was connected to the screw on the top of the first picture. This is, I assume, used to ground the case and prevent shocks when touching the exterior of the dryer.  Now with the 3-pronged plug, there is no ground wire on the cord. So where does the existing green wire in the case go? Do I leave it where it originally was like in the first picture or do I connect it to the central terminal like in the second picture?      There's no bonding strap running from the case to any terminal. I can't tell where the green wire is connected to. Prove a differentiable function between banach spaces is continuous I really don't know where to start with this problem. It intuitively makes sense from basic calculus knowledge but I have absolutely no clue how to show it. , What are the requirements to get the "Weed Eater" hat? The hat's description says     answer a question qualifying for the Tumbleweed badge that gets accepted   During the winter bash, I  a question that is a , and it got accepted; yet I did not get the hat. However  answer  and did get the hat. (What was the difference?)  So what are the exact requirements to get the  hat? Various \textcolor within lstlisting? Explicit construction of a finite field with $p^n$ elements How to model the bottle threads? The picture show the threads I want to create on the highlighted object. Problem is I don't know how and tutorials really haven't helped much as most of them seem to be about creating a bolt. So I was hoping I could get some help on how to do this efficiently.While keeping the top flat like a water bottle. The picture shows the threads I'm after.