This may seem like an odd request, but right now in Movies & TV there are dozens upon dozens of Game of Thrones questions.  I don't care about Game of Thrones, I can't answer their questions, nor do I particularly want to see references to their sordid and demonic tribulations.  Is there a setting where a user can exclude a tag, and never see anything tagged with said tag until they deem they wish to see it again?  Doesn't seem like a difficult request; just add an additional piece to the WHERE clause that brings back the questions to display.  Any chance we can do something like this?  It would sort of be like the opposite of the Favorites tags.  In some stacks, I think this could be quite useful.

What are watched tags and ignored tags? How do they work? What are tag subscriptions? What are interesting tags? On Stack Overflow, the content of the main page question list appears to be influenced by watched and ignored tags. How does that work?   For more information, see "" in the .


My C++ is a bit rusty, and I'm used to C# which has a nice "Decimal" datatype which is a floating "decimal" point number, which is great for very accurate stuff or where rounding errors would be bad (and I don't care about speed)   I just can't seem to declare something to be a decimal128.    Looking for help on how to declare a decimal variable. The proper suffix for printf would be great too.

I know that a float isn't appropriate to store currency values because of rounding errors. Is there a standard way to represent money in C++?   I've looked in the boost library and found nothing about it. In java, it seems that BigInteger is the way but I couldn't find an equivalent in C++. I could write my own money class, but prefer not to do so if there is something tested.


fiber text in paragraph is printed in pdf as ber in latex "fi ïs eliminated how to fix it.   In paragraph fiber is displayed as ber in pdf, how to fix it.  \documentclass[12pt,a4paper,oneside]{article} \begin{document} \thispagestyle{empty}  \section{Introduction} connectivity, which can be either X-DSL or ﬁber.  \end{document}

Is there anyway to find and remove ligatures from tex file? Sometimes when I copy/paste a text to Winedt, it shows perfect, but when I compile it to Pdf, some issues appear, e.g. finding becomes nding.  I am wondering if there is any way to search and find these characters?  Here is an example file (needs utf8 encoding).  \documentclass{article} \begin{document} ﬁ \end{document}


I'm creating a listing website where user can make their titles fancy by using special characters:  in my database i have a field name ads_title varchar(255) latin1_swedish_ci  and on my webpage header it says like this  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />   when i tested my posting of ads form, i entered in the title this characters ¥šë™test and then when it saves it to the database it turns int olike this Å¡Ã¯â€¢â€¢  why? how can i save those kind of characters in my dbase at the same time echoing it in php. thanks

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


Suppose A is a 4 x 4 matrix such that $\det(A) = 1/64$. What will $\det(4A^{-1})^T$ be equal to?  Here's my thinking, $\det(A^T) = \det(A)$ I has no effect on the determinant. And $\det(A^{-1}) = 1/\det(A)$ so $\det(4A^{-1}) = \det(4\times64)$ = can't be 256?  I don't understand, Please help me! THANKS!

Suppose A is a 4x4 matrix such that $\det(A)=\frac{1}{64}$ then $\det(4A^{-1})^T$   I created a 2x2 matrix $B$ and transposed it both had the same determinant  I then found $\det(B)$ and $\det(B^{-1})$ the results were inverses of each other I then tried found the $\det(2B)$    but I cannot see what is the relationship between the determinant of a matrix and the determinant of that matrix multiplied by a constant?


Using Ubuntu 17.10 (artful). Can't copy and paste directory in terminal.

I have a collection of files and directories with strange names, they contain spaces and the special characters \, *, ), ( and ?. All of them cause problems when I try to use them in the command line or scripts, e.g.:    $ cd space dir bash: cd: space: No such file or directory  $ cat space file cat: space: No such file or directory cat: file: No such file or directory  $ cat ( bash: syntax error near unexpected token `newline'  $ echo content >\ > ^C  $ ls ? (  )  *  ?  \   How do I enter file or directory names that contain special characters in the terminal?


I was just woundring what is the prefered way of skipping the behavior that the browser changes the location when clicking on a link element (A) with inline code.   void(0) // I have always used this one   Or   :; // This one is simple and now a days my favourite   Or   # // Scroll to the top   Or how do you do, and WHY? What is best practies?

The following are two methods of building a link that has the sole purpose of running JavaScript code. Which is better, in terms of functionality, page load speed, validation purposes, etc.?    function myJsFunc() {     alert("myJsFunc"); } Run JavaScript Code     or    function myJsFunc() {     alert("myJsFunc"); }  Run JavaScript Code


Is there any way of saving all the apps that i have downloaded and files in my home folder when switching versions of Ubuntu? I want to upgrade from 12.04 to 13.10 but don't want to lose all of the applications that I have downloaded or the files that have been collected over a period of time. It will take a lot of time and bandwidth if I have to download everything over again. Thanks!

I am currently using Ubuntu 10.04. I know there is a 10.10 release, but can I upgrade directly to 11.04? Could you walk me through the steps please?


I'm on a Windows 8.1 laptop (Thinkpad T440s). For some programs to not appear blurred/scaled, I have to access the .exe properties, go to Compatibility and "Disable display scaling on high DPI settings."  This is pretty annoying to have to do for many applications, and whenever I install a new program. Is there a global override I can use?

I run my ThinkPad with a system DPI setting of 140%. In Windows 7 and 8, I enabled the "Use Windows XP style DPI scaling" checkbox in the Custom DPI Setting dialog. When this setting is off, non-DPI-aware applications get DPI virtualization via bitmap stretching, which results in large but fuzzy text. Turning on the checkbox disables this bitmap stretching, so non-DPI-aware apps get smaller text but without the fuzzy stretching. I find most apps to be more readable with the smaller crisper text, so I enable XP style scaling (i.e. disable DPI virtualization).  Windows 8.1 RTM has removed this option completely. After upgrading, all of my non-DPI-aware apps are running with ugly bitmap stretching. I'm able to fix this by going into the Properties for each app and setting the "Disable diplay scaling on high DPI settings" box in the Compatibility tab, but that is a bit of a pain.  Is there any way to restore the systemwide XP-style DPI scaling in Windows 8.1?


I am doing a project where I have images taken from a panoramic camera inside of a physical object that I have modelled in Blender. I can project these onto a simplified object without problems using an image texture. The object is a bit more complex and so will need multiple images taken from inside. Is there a way to project these images radially from the locations where the camera would have been? I know I can connect the image positions to an object, but it is not clear to me how the image is tethered to the object position. If this is possible, how do I manage the overlap areas?

I am wanting to know if I can use blender to project a texture (from a plane, UV Sphere, object, etc) to another object in a silhouette style?  I have tried to accomplish this with transforming texture coordinates as the attached image shows.  (the attached image shows the cycles shader used on Suzanne)  What I would like to do is project the plane onto Suzanne (given here as a reference) so that it is projected from a point (the circle on the right).  I know there are powerful remapping and baking features in Blender, however I am a bit stumped with this one.  Basically I want the rays to hit Suzanne, from a single point, then I can bake them into Suzanne's texture.  I want to do this so I can generate a Matte from a 360º photograph onto a surface.  So that I can then composite effects to that surface. Such as crumbling etc.  I know that I can accomplish this with texture painting in overlay mode, however I don't think that works with equirectangular images yet.  In the example shown I was thinking I could use an empty as a reference point for the projection, (hence using texture coordinate - which allows access to object) but this isn't working.  I have experimented with UVProject, but this doesn't look to handle 360 textures?   Any help would be most fantastic!


I'm almost new to Latex, and I need to denote an angle D, and a triangle ABC as the following in Latex. Ho can I do that?      I know that there are other more standard ways to denote angles and triangles in math docs, but I just need the above format.  Please help. Thanks.

Is it possible in Latex to make a triangular hat? The one that is used in math over three letters representing points to indicate a triangle.  Something like:


This is what I have. Not sure if this is right. $${4\times3\times2\over3}=8 $$ I think this is too easy to be true

Prove/Disprove: Find $a\in S_4$ that is not a power of $b$ such that $ab=ba$ while $b=(123)$   What I did:  I think this statement is false.  So we need to find $aba^{-1}=b$, we know that $id\in S_4$ will surely $id*b*id^{-1}=b$ but we get $id^k=b$, I wonder if there are more elements such that $ab=ba$, how to find them?   Any help will be appreciated.


From the review queue of StackOverflow:    As you can see. Just few minutes ago, there was a sudden burst in the First Posts review queue. Most posts in the queue were posted around 20~30 days ago.   Does anyone know the cause of this sudden burst in the number?

I was just taking a look at the reviews, and I saw that the amount of first posts jumped by over 400. It usually hovers around 0. Take a look  Also, most of the things I'm reviewing in that are not first posts at all, they're from people with a good amount of rep


I have the following image on a cell in my Google Sheets:  https://drive.google.com/open?id=1C9KL2vEhnZOVdCe2qUG5MZomw3jpvCiX   When I use the formula =IMAGE(A1), the cell with the image stays white...  Any idea how to make it work?  PS. A1 is where the text with the URL is included.

How do I insert/link to images existing in a folder in Google Drive into a Google Sheets spreadsheet?  There is the image() function, I imagine using it something like this:  image("googledrive://somefodleringoogledrivewithmypics/pic_1.png")   How?  Update: Some people noted that by uploading pictures to Picasa, we can then get the URL of each picture and use that. It works. The downside of this is that we have to copy each and every URL of all images. I put that in a separate sheet, then use VLOOKUP to get each image URL per index. It works but the URL copying part is a hell of a job if you have lots of images of course. A better solution is needed.


On the internet, I noticed there were Patches for the Shellshock vulnerability which is scaring me a lot. Does Ubuntu 14.10 have this automatically in it?

Recently, there have been news going around regarding "CVE-2014-6271" (See ), which is a vulnerability in Bash. How do I know if I am affected by this, how can I fix it, and why should I care?  This is designed as a canonical answer for this vulnerability, due to its scope and severity.


I have ubuntu 12.04 lts installed on my hp pavilion and I want to try 13.10. When I try to boot into the livecd, I get the purple ubuntu splash screen, then a blackscreen where some text flashes (to fast to see what it says) then it goes to a black screen and stays there. I know the installation disc is not the problem because I've successfully installed it on a different machine using the same disc. I've been trying to troubleshoot the issue for a while now and no luck. I have a radeon hd 8250 card. I know it's not much to go off of but any help would be greatly appreciated!  Thanks!


I can't figure out why I can't get an html element like this:  <input name="ctl00$body$frmViewODL$ListViewParametri$ctrl0$txtParametroValoreNum" type="text" value="1" id="body_frmViewODL_ListViewParametri_txtParametroValoreNum_10  " class="boxNum" style="width: 60px">   with this jQuery:  $('#body_frmViewODL_ListViewParametri_txtParametroValoreMax_10  ')   I have tried removing/adding the spaces at the end :-)  PS: If i try  document.getElementById('body_frmViewODL_ListViewParametri_txtParametroValoreMax_10  ')   it is ok.  EDIT  The complete code is a little more complicated...  I have a ListView and I use the ClientIDRowSuffix to let asp.net append the Record key to the id of the control. I want to update an array of values(record) in a single post.   So In html I have an array of TextBox, like this:  <input name="ctl00$body$frmViewODL$ListViewParametri$ctrl0$txtParametroValoreNum" type="text" value="1" id="body_frmViewODL_ListViewParametri_txtParametroValoreNum_10  " class="boxNum" style="width: 60px"> <input name="ctl00$body$frmViewODL$ListViewParametri$ctrl1$txtParametroValoreNum" type="text" value="2" id="body_frmViewODL_ListViewParametri_txtParametroValoreNum_11  " class="boxNum" style="width: 60px"> <input name="ctl00$body$frmViewODL$ListViewParametri$ctrl7$txtParametroValoreNum" type="text" value="8" id="body_frmViewODL_ListViewParametri_txtParametroValoreNum_23  " class="boxNum" style="width: 60px"> ...

Does anyone know how to select an item in the DOM by ID with jQuery, when that ID has a space?   For example, the ID of my item would be
Stuff
   How would I select this with jQuery?   If I just do   $("#content Module").whatever()    jQuery will try to find an item with both the ID of content and the ID of Module, which is not what I am looking for.  I should add that I am working with an old code base where these two word ids are used extensively, so going through and changing all the IDs would be bad.


i want to save data into sharepoint calendar list using javascript?i tried some thing but that is unable to save data into list

i want to create new event in SharePoint calendar list in which I have some custom columns,i tried below code but it is not working      function bookingRoomForMeeting() {         var ctx = new SP.ClientContext(appWebUrl);//Get the SharePoint Context object based upon the URL           var list = ctx.get_web().get_lists().getByTitle("MyCalendarList"); //Get the List based upon the Title         var listCreationInformation = new SP.ListItemCreationInformation(); //Object for creating Item in the List         listItem = list.addItem(listCreationInformation);         listItem.set_item('Title', $("#txt_Title").val());         var date = $("#txt_startTime").val();         var dateTime = moment(date, 'DD/MM/YYYY HH:mm a').format("MM/DD/YYYY HH:mm a");         listItem.set_item('EventDate', dateTime);         var enddate = $("#txt_endTime").val();         var enddateTime = moment(enddate, 'DD/MM/YYYY HH:mm a').format("MM/DD/YYYY HH:mm a");         listItem.set_item('EndDate', enddateTime);         listItem.set_item('EmailId1', $("#txt_EmailId1").val());         listItem.set_item('EmailId2', $("#txt_EmailId2").val());         listItem.update();         ctx.load(listItem);         ctx.executeQueryAsync(             Function.createDelegate(this, success),             Function.createDelegate(this, fail)            );     } function success() {     alert("Completed"); } function fail() {     alert("operation failed"); }   list am using is SharePoint hosted app list,can any one tell me where am going wrong?


I've saved the profile on a flash drive by using the Import/Export feature of the Windows Thunderbird. However, the Thunderbird in Ubuntu seems to be a reduced version of the Windows one.   In the Import wizard under the prompt: "please select the type of file to import" it is not possible to enter anything, so I cannot direct the wizard to the saved profile (exported from the laptop).   Also, I don't want to do a profile replacement, as I've got some emails in the Thunderbird on Ubuntu and wouldn't like them to be overwritten. Please note the desktop Thunderbird is set to IMAP, whereas the laptop Thunderbird contains old emails and is not connected to the server.

How can I transfer all messages and contacts of thunderbird with windows 7 to thunderbird ubuntu 14.04?   I know that have a free app called . But it don't works with linux.   There a way that can I make this moving?   Thanks!


Let $p_{1},p_{2},\cdots,p_{K}$ be a non-uniform probability distribution (i.e., not all $p_{k}$s are the same) with $K$ being a fixed positive integer. Consider the following $K\times K$ matrix. $$   A=\left( \begin{array}{cccc}            1&1&\cdots& 1 \\            p_{1}&p_{2}&\cdots & p_{K} \\            p_{1}^2&p_{2}^2&\cdots &p_{K}^2 \\             \vdots& \vdots &  \vdots & \vdots \\            p_{1}^{K-1}&p_{2}^{-1}K&\cdots &p_{K}^{K-1}           \end{array}  \right) $$ Can $\det(A)$ be zero, in other words, can the the column vectors (or row vectors) of $A$ be linearly dependent?

Show that  $$det \begin{bmatrix}         1 & 1 & \cdots &1 \\         \lambda_1 & \lambda_2 & \cdots &\lambda_n \\         \lambda^2_1 & \lambda^2_2 & \cdots &\lambda^2_n \\         \vdots & \vdots & \vdots & \vdots \\         \lambda^{n-1}_1 & \lambda^{n-1}_2 & \cdots &\lambda^{n-1}_n \\ \end{bmatrix} =\prod_{n\ge i>j\ge1}(λ_i−λ_j)$$  My work so far,  I am trying to use induction on $n$.  For the base case n=2, the claim is true, since we have $(\lambda_2 - \lambda_1)$.  I'm not sure how to carry out the inductive step.  Any hints or suggestions are welcome.    Thanks,


Let $f:\mathbb{R^2} \rightarrow \mathbb{R}$ be a function defined as \begin{align*} f(x,y) =       \begin{cases}        (x^2+y^2){\sin\left(\frac{1}{\sqrt{x^2+y^2}}\right)} &\quad\text{if } (x,y) \ne(0,0) \\        0 &\quad\text{otherwise.} \\       \end{cases} \end{align*}  Prove that $f$ is differentiable at $(0,0)$ but its partial derivatives aren't continuous at $(0,0)$.    For the first part, I proved it by definition of differentiability at that point. So, I want that  \begin{align*} \lim_{(x,y)\to\ (0,0)} \frac{f(x,y) - f(0,0) - \frac{\partial f}{\partial x}(0,0)x - \frac{\partial f}{\partial y}(0,0)y}{\Vert (x,y) - (0,0)\Vert} = 0 \end{align*}  By definition, $f(0,0) = 0$. Then i calculate $\frac{\partial f}{\partial x}(0,0)$ and $\frac{\partial f}{\partial y}(0,0)$:  \begin{align*} \frac{\partial f}{\partial x}(0,0) = \lim_{h\to\ 0} \frac{f(h,0) - f(0,0)}{h} = \lim_{h\to\ 0} \frac{h^2\sin\left(\frac{1}{\mid h \mid}\right)}{h} \leq\lim_{h\to\ 0} \frac{h^2}{h} = 0 \end{align*}  \begin{align*} \frac{\partial f}{\partial y}(0,0) = \lim_{h\to\ 0} \frac{f(0,h) - f(0,0)}{h} = \lim_{h\to\ 0} \frac{h^2\sin\left(\frac{1}{\mid h \mid}\right)}{h} \leq\lim_{h\to\ 0} \frac{h^2}{h} = 0 \end{align*}  And,  \begin{align*} \lim_{(x,y)\to\ (0,0)} f(x,y) = \lim_{(x,y)\to\ (0,0)} (x^2+y^2)\sin\left(\frac{1}{\sqrt{x^2+y^2}}\right) \leq \lim_{(x,y)\to\ (0,0)} (x^2+y^2) = 0 \end{align*}   Then the limit is 0 so f is differentiable at $(0,0)$. To prove the partials aren't continuous, I calculate $\frac{\partial f}{\partial x}(x,y)$ using derivative rules around $(0,0)$:  \begin{align*} \frac{\partial f}{\partial x}(x,y) =      \begin{cases}        2x\sin\left(\frac{1}{\sqrt{x^2+y^2}}\right)-x\frac{\cos\left(\frac{1}{\sqrt{x^2+y^2}}\right)}{\sqrt{x^2+y^2}} &\quad\text{if } (x,y)\ne(0,0) \\        0 &\quad\text{otherwise.} \\       \end{cases} \end{align*}  Which i have to prove is not continuous but I can't find the right curves to accomplish this. Any suggestions?

Let $f: \mathbb R^2 \to \mathbb R$ defined as   $f(x,y)=(x^2+y^2)\sin(\dfrac{1}{\sqrt{x^2+y^2}})$ if $(x,y) \neq (0,0)$, $f(x,y)=(0,0)$ if $(x,y)=(0,0)$  Prove that $f$ is differentiable at $(0,0)$ but that the partial derivatives of $f$ are not continuous at the origin.  The attempt at a solution:  I had some problems at the first part of the exercise:  I've calculated $\dfrac{\partial f}{\partial x}(0,0)$ and $\dfrac{\partial f}{\partial y}(0,0)$, both exist and are equal to $1$.  So, to prove $f$ is differentiable at the origin, I have to show that   $\lim_{(x,y) \to (0,0)} \dfrac{|f(x,y)-(f(0,0)+<\nabla f(0,0),(x,y)>)|}{\|(x,y)\|}=0$ But $\lim_{(x,y) \to (0,0)} \dfrac{|f(x,y)-(f(0,0)+<\nabla f(0,0),(x,y)>)|}{\|(x,y)\|}$ equals  $\lim_{(x,y) \to (0,0)} \dfrac{|(x^2+y^2)\sin(\dfrac{1}{\sqrt{x^2+y^2}})-(x+y)|}{\|(x,y)\|}$. I don't know how to show this limit equals $0$.  For the second part (I've only analyzed $\dfrac{\partial f}{\partial x}$ since both cases are the same), what I did was try to show that $\lim_{(x,y) \to (0,0)} \dfrac{\partial f}{\partial x}(x,y) \neq \dfrac{\partial f}{\partial x}(0,0)$   I thought of considering the curve $\phi(t)=(t,0)$, so   $\lim_{t \to 0} (f\circ \phi)(t)=\lim_{t \to 0} 2t\sin(|t|^{-1})-\dfrac{t\cos(|t|^{-1})}{|t|^{-1}}$. But $\lim_{t \to 0^{+}} \dfrac{t\cos(|t|^{-1})}{|t|^{-1}}=\lim_{t \to 0^{+}} \cos(\dfrac{1}{t})$ and this limit doesn't exist, so the original limit doesn't exist. This shows the partial derivative with respect to $x$ at the point $(0,0)$ is not continuous.   I would appreciate if someone could help me to finish the first part and tell me if what I did in the second part of the problem is correct.


In the .theme file of my custom Drupal 8 theme, how do I customize the default search block so that I can add custom classes and also alter the input label to remove the word "search" but instead have a search icon from fontawesome?  Pretty much, I'd like the final output code to look like this:  <div class="infoBar-search">   <form action="#!" class="searchForm">     <input type="search" name="sitesearch" placeholder="Search...">     <input type="submit" class="searchForm-submit fa" value="&#xf002;">   </form> </div>    Would the .theme approach be the best way to go about this? I tried altering a few template files but noticed this would affect the other forms on the site as well.

I would like to replace the search submit button with a Font Awesome character like the Magnifier (Search Icon) character, and put Search the site inside the search box.  How can I achieve something like this?


I would be boarding a flight from Mumbai to Toronto via London and Dublin (2 Layovers). At Dublin I would require changing terminals from T1 to T2. If my entire journey is booked on a single PNR and I would not have to recheckin luggage, then would I be needing a Transit Visa? (According to the Government of Ireland, I wouldn't, but in anycase, if I would be exiting the terminal or crossing the border in the airport, I might, nevertheless, require some kind of visa). Please help.

I am Indian passport holder and travelling from India to Toronto via London and Dublin. I have 2 stop flight from India with 2hours layover in London and then flight to Dublin with 3 hours layover and then to Toronto. Is any transit visa needed? I check at  and it says UK visa is not needed. But not sure in the case from london to dublin.  Any suggestions would be helpful. Thanks


I was trying to take a long exposure photo during the daytime (my first attempt at doing so), details for settings given below, but on LCD, I couldn't see any object, it was all white, as in like lot of light entered. Can anyone please help me taking this shot right?   Camera: Canon 550D or T2i Mode: Manual Aperture: f/22 Shutter: 1/30 s Lens: 15-55mm Time of day: 6:00 PM, it was bright daylight   My intent is to basically learn how to take long exposure photo in daytime, irrespective of the location and whatever.

I would like to take a picture of a street during the day to depict how much traffic and cars there are on the street.  Is there anyway to do this with a long exposure photograph?  I have a Nikon D90 and I set the f stop down to 1/16 (the lowest of my lens) and set the time to 2 seconds. Doing this, the exposure is almost saturated when taken around 5pm with the sun setting behind a tree. Doing this, the cars passing by were very hard to make out against the stationary background, being visible as a blur in the color of the car.  Perhaps this is not possible and I should just do this at night where the cars lights are much brighter than the background.  Please suggest how else I might depict the traffic in a photograph?  Are daytime long exposure photographs even possible?


In my youth I read and enjoyed a SF novel that took place largely on a planet called Ragnarok.  I'd like to rediscover it, if I could.  Some details I remember:   Humans are fighting a war with a humanoid non-human species. The planet is earth-like, and has seasons. The human colonists of the planet arrived there more-or-less accidentally, their ship having been attacked by the antagonists, who were either unaware of their survival or did not care at the time.   The story takes place on Ragnarok over several generations of descendants of the original colonists; the bulk of the story is how they survived and eventually prospered  The humans do not have any advanced technology due to the destruction or disablement of their ship; they gradually recreate some basic technology.  An important weapon is the semi-automatic crossbow. The humans have a hard time surviving -- they can live off the land, but initially not very well Eventually the non-human antagonists return to the planet and the colonists' descendants fight them -- and win!  And thus acquire the means to leave the planet using the starship of their enemies   ETA: It's a duplicate in the sense that both questions are answered with the same story -- but it's not a duplicate exactly. I'm happy, nevertheless, although marking this a dupe after well over a year seems a tad delayed.  No problem.

I'm trying to find a short story that I read years ago.  There were a group of humans marooned on a high gravity planet by an alien species.  On the planet they encountered saber-tooth cat-type animals that they eventually became allies with. There were also telepathic squirrel-like creatures that allowed them to communicate over distance.  The aliens that marooned them returned generations later, but the high gravity and hardships of the planet made the offspring of the original humans become superior warriors, which allowed them to destroy the aliens.


I had been running Ubuntu 14.04 and Windows 8.1 happily along each other on a Lenovo Yoga 2 for a period of months. Even after an initial Windows 10 upgrade this continued, until last night. Since last night, the computer always boots directly into Windows, even booting from USB seems impossible - which then stops me from running the usual boot repair tools  I checked the BIOS and it looks ok to me. Secure boot is off, the UEFI boot order is: USB, Ubuntu, Windows (all of which appear in the menu). I turned off fast boot in the Windows power options.  I can only assume Windows 10 did something to my computer last night, but I cannot figure out what. How do I restore the grub boot loader if USB boot is not working either?

My computer is a Sony Vaio Notebook. I used Ubuntu and Win 8 with dualboot but windows somehow managed to remove the menu to choose the OS at startup. I think the BIOS is UEFI. Secure boot was disabled already and Boot Repair somehow fails.  How can I fix this?


How much money does a Russian citizen have to have to visit the US as a Tourist, and does the visitor have to have a certain amount of cash even if that person can stay at a friends house during the visit?

On Travel.SE we often see questions about a person (usually a love interest) asking for money to pay for airfare, visas, permits and other expenses. For example        What general advice can be given in such situations to the person asking the question? Is it all a scam or can there be legitimate situations in which an online friend could be asking for money?


I am trying to made a program to experiment bitwise operators. The name of the program is bitwise.c  Before compiling the program, I decided to look at the directory just in case I don't get the name wrong.  alexander@debian:~/Dropbox/src_code/C$ ls bitwise bitwise.c  bitwise.c~   What is bitwise.c~ and why is it hidden from the file location?

What is the file with the ~ at the end of the filename for?  $ ls # aliased to add flags -rwxrwxr-x  1 durrantm  2741 May 16 09:28 strip_out_rspec_prep_cmds.sh~* drwxrwxr-x 13 durrantm  4096 May 16 14:21 ../ -rwxrwxr-x  1 durrantm  2221 May 16 14:58 strip_out_rspec_prep_cmds.sh*   This is not the same as .swp files which are there while editing.  The two files have quite a few differences and the newer file (no ~ at the end) has the most recent changes and those changes are not in the older (~) file.  Looks like I can delete it?


I'm new to C# and I want to create a function that accepts any numeric parameter, no matter if it's int/float, signed/unsigned, short/long etc and another function that accepts any other type.  In C++ this can be easily done using SFINAE and std::is_arithmetic:  template<typename T> typename std::enable_if<std::is_arithmetic<T>::value>::type DoSomething(T) {     std::cout<<"int/float/char..."<<std::endl; }  template<typename T> typename std::enable_if<!std::is_arithmetic<T>::value>::type DoSomething(T) {     std::cout<<"any other type except int/float..."<<std::endl; }   How may I achieve similar behavior in C#? I don't want to create an overload for every numeric type as the code for all numeric types as the code is exactly the same.

Can anyone tell me if there is a way with generics to limit a generic type argument T to only:   Int16 Int32 Int64 UInt16 UInt32 UInt64   I'm aware of the where keyword, but can't find an interface for only these types,  Something like:  static bool IntegerFunction<T>(T value) where T : INumeric


Prove that if $X_i \sim \text{Poi}(λ_i)$, $i = 1, 2$, are independent, the sum $X_1 + X_2$ has the Poisson distribution as well.   Prove that if $X_i \sim \text{Gamma}(\alpha_i,\beta)$, $i = 1, 2$, are independent, the sum $X_1 + X_2$ has the gamma distribution as well ($i$'s are meant to be subscript).  I am not sure how to go about solving these problems, help would be greatly appreciated!

$X \sim \mathcal{P}( \lambda) $ and $Y \sim \mathcal{P}( \mu)$ meaning that $X$ and $Y$ are Poisson distributions. What is the probability distribution law of $X + Y$. I know it is $X+Y \sim \mathcal{P}( \lambda + \mu)$ but I don't understand how to derive it.


I am writing a function to zoom to selection (based on a criteria) and Exporting it to TIFF.  The problem I am getting is that the when I load the exported TIFF image in Map, I am seeing distortion towards the edges (perfect near the center). Can someone help me with what am i doing wrong in this case. Attaching my code below:  def SelectDataZoomSelected(mpath, fpath, cond, opath):  # Import system modules import arcpy  mxd = arcpy.mapping.MapDocument(mpath) df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0] lyr = arcpy.mapping.ListLayers(mxd, fpath, df)[0]  # Use the SelectLayerByAttribute tool to select and zoom to the selection arcpy.SelectLayerByAttribute_management(lyr, "NEW_SELECTION", cond) df.zoomToSelectedFeatures()  # Export the map to a TIFF arcpy.mapping.ExportToTIFF(mxd,opath,df,640,480,96,'TRUE','24-BIT_TRUE_COLOR','NONE','TRUE')  # Clear the selection and refresh the active view arcpy.SelectLayerByAttribute_management(lyr, "CLEAR_SELECTION") arcpy.RefreshActiveView()  del mxd

Has anyone created a dataframe geotiff using arcpy.mapping.ExportToTIFF() with satisfactory results?   My output has poor quality and the georeferencing is significantly off. This example is the geotiff at 50% transparency on top of my data. The shift between "South El Monte" is the best shift example.    Here is an example of the code:  currentMxd = arcpy.mapping.MapDocument(r"F:\Test\amp_Edit.mxd") dataFrame = arcpy.mapping.ListDataFrames(currentMxd, "Layers")[0]  arcpy.mapping.ExportToTIFF(currentMxd, r"F:\Test\outtif.tif", dataFrame, df_export_width = 46000, df_export_height = 29000, resolution = 1000, geoTIFF_tags = True)


The value of PI in Decimal units to 20 places is 3.14159 26535 89793 23846...  and the occurrence of digits 0 through 9 in the decimal part of the sequence is:  0 (none)  1,1 2,2 3,3,3 4,4 5,5,5 6,6 7 8,8 9,9,9   As we can see 0 doesn't appear at all, followed by 7 (One occurrence), then 1,2,4,6,8 (Two occurrences each) and then 3,5,9 (Three occurrences each).  Does this distribution smoothen out at some point? Say will PI() to xx million places produce an equal occurrences of all digits (as would happen if these were random digits)? Or is there something inherently non random in PI() which creates a weighted average in favor of certain digits?  The question is also w.r.t PI() in Binary units. At the end of xx million places of PI(), is the total number of 0's and 1's at 50% each?  Just curious.  ps: This is not merely theoretical question, but asked from practical perspective -- i.e. since PI() is calculated to Billion+ p[laces, I was wondering is someone has actually carried out such an exercise; and if so, what is the result?  To further clarify, if PI () was being spit out by a PI producing machine and we do not know the value of PI(), and every day the world waits for the NEXT PI() digit, then I am sure that no one can predict the next PI value, and so it is random. But in a different world, the PI producing machine always knows the answer and so produces the next digit in the series consistently. In other words, the PI producer always knows what the next digit is going to be and is not spitting out the numbers randomly. My question is that over millions of places, can we spot a pattern of digit distribution that would tell on the inherent nature of PI? Or have we found that after a billion places, we end up getting 10 piles of equal weights suggesting that the PI producer is after all random?

Can anything be stated about the distribution of the digits of Pi, i.e., if I were to sample n digits of Pi, can anything be said about the probability to observe certain digits, or is there any reason to assume that they would not be evenly distributed? This is purely a curiosity question.


I have 17.04 and today I installed Skype for Linux, but when I execute sudo apt update I get the following:  W: Errore GPG: https://repo.skype.com/deb stable InRelease: Le seguenti firme non sono state verificate perché la chiave pubblica non è disponibile: NO_PUBKEY 1F3045A5DF7587C3 E: The repository 'https://repo.skype.com/deb stable InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.   (Translation of the first line: GPG error The following signatures were not verified since public key is not available)  How can I solve?

I get the following error when i do sudo apt-get update  W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AF0E940624A220   I tried following ways after reading various questions here and also by googling.  I tried  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6AF0E1940624A220   It did not help. I also tried  sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys   thinking port 11371(default) may be blocked due to firewall.  I also tried to reset everything as follows  sudo rm /var/lib/apt/lists/* -vf sudo apt-get update && sudo apt-get upgrade   still i get the same error or get update. Any other possible solution I can try?


In the review history for suggested edits, I can see what I voted on each of the edits I reviewed.  Is there a way to see which were approved/rejected vs my own vote?  I want to get an idea of my ratio of correct to incorrect reviews.

Is it possible to find the accuracy of my suggested edit reviews, i.e. the volume of my approved/rejected edits that were finally approved/rejected by the community members? Or more importantly, is it possible to find my disputed reviews, i.e. I approved/rejected but it got rejected/approved?  To clarify more, say I have approved x edits, rejected y edits. Now m among x are finally approved, n are finally rejected. So my accuracy is:  (m + n) / (x + y)  Let me give an example. Say I have done total 10 reviews, and 8 of them match the community decision. So accuracy is 80%.  I know that I can check from my profile one-by-one, but is there any better way?   I think finding this in an easy way will help me to improve my review quality.


I have a Dell laptop (Inspiron 15 5559) and I can't Edit/Delete from the sd card reader.  I've moved the readonly switch to both places, I've tried different cards and is the same, what could be wrong?

When I plug in my USB flash drive, it shows up on my computer as write-protected or read-only. I am unable to transfer data to it, nor can I modify or delete any files already stored on it. I also cannot repartition or reformat the drive using Windows Disk Management, DiskPart, GParted, or other tools. The drive does not have a write-protect switch.  Why did this happen and what can I do about it? Is there a way to remove the write protection?  (Note that this can happen with some memory cards, too, as they often use controllers similar to those used in flash drives. In some cases, the system may report that the drive or card was formatted successfully even though it was never actually formatted; the original data reappears when the device is reinserted.)     This question comes up often and the answers are usually the same. This post is meant to provide a definitive, canonical answer for this problem. Feel free to edit the answer to add additional details.


I'm using 16.10 Ubuntu Gnome. When I try to use sudo in command line, it says that I'm not in the sudoers group, and "this incident will be reported".  What should I do?

I clean-installed Ubuntu 11.10 today, and then installed VirtualBox.  This required me to add myself to the vboxusers group, and since 11.10 seems to no longer have a graphical app to add users to a group, I ran the following command:  sudo usermod -G vboxusers stephane   This is a problem.  I now see what I should have run instead is:  sudo usermod -aG vboxusers stephane   The end result is I'm no longer in the groups I should be in.  Including whatever group is required to run "sudo".  When I run any command as sudo now, I get the following:  $ sudo ls [sudo] password for stephane:  stephane is not in the sudoers file.  This incident will be reported.   Is there a way to fix this, or do I need to re-install from scratch again?


for example I have in C++ a struct like  typedef struct point {     double x, y; };   I can use  point *p = new point;   or  point *p = new point();   To create a point dynamically.   Whats the difference? In the second case x and y are initialized implicit to zero. Why not in the first case?

If 'Test' is an ordinary class, is there any difference between:  Test* test = new Test;   and  Test* test = new Test();


I am writing a list of questions:  \begin{enumerate}     \item This is a question.     \item This is another one.     \item This one is a hard one, I want to add an asterisk to the label.     \item This one is another ordinary question. \end{enumerate}   On the third entry, I want an asterisk in front of the label number. A naive approach would be this:  \begin{enumerate}     \item This is a question.     \item This is another one.     \item[*3.] This one is a hard one, I want to add an asterisk to the label.     \item This one is another ordinary question. \end{enumerate}   I would expect the output to look like this:   ... ...   *3. ...   ...   However the output is this:   ... ...   *3. ...   ...   Is there a way to do this?

I am looking for a simple way of adding an asterisk or some small image to the left of an enumerate such that the indentation of the enumeration is not affected by the latter. I have read  and  in which the latter has the effect am looking for.     Update: egreg's solution below is nice and does answer the problem. But I want the possible newcommand to be used without introducing an newenvironment like just having \moditem inside the enumerate and working with enumitem.


The description of the  spell says, in part (emphasis mine):  When you cast this spell, you can designate any number of creatures you can see to be unaffected by it. An affected creature’s speed is halved in the area, and when the creature enters the area for the first time on a turn or starts its turn there, it must make a Wisdom saving throw. On a failed save, the creature takes 3d8 radiant damage (if you are good or neutral) or 3d8 necrotic damage (if you are evil). On a successful save, the creature takes half as much damage.  Let's say the caster is on the second floor and he casts spirit guardians. He designates his ally next to him to be unaffected by it. Now, directly below him, two other allied PCs are waiting; however, since he can't see them, he can't designate them to be unaffected by the spell. Will the players on the bottom floor be affected by the spirit guardians spell once they go up to the 2nd floor? Can the caster decide at some point after casting the spell that the spell won't hurt them? When does the caster need to decide who is and isn't affected?

We just had a scenario where the enemy set up a 'death trap' with arrow slits covering a corridor, allowing them to pop in, shoot, then pop out -- all without actually entering the corridor.  Which was fine in and of itself, until my cleric ran through the corridor at top speed, with Spirit Guardians up.  The DM and I discussed it, and as far as we can tell the spell doesn't require a line of sight and isn't blocked by walls -- just being 'in range' gets you the damage.  So I wiped out an entire encounter with one well placed third level spell.  In and of itself, that doesn't seem too OP -- at level 5/6 a third level spell is a pretty big investment!  But it still seems a bit odd that I can do it without even LOS.  Are there any rules I'm missing?


I have the following code.  x = [['']*2]*2 # [['', ''], ['', '']] x[0][0] = 'a'   This produces the following. But why? When I actually just changed the first element of the first list.  [['a', ''], ['a', '']]   Or is [['']*cols]*rows not the right way to create a matrix in Python?

I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3  The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]    Then I changed one of the innermost values: my_list[0][0] = 5  Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]]    which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?


$$\int_{-\infty }^{+\infty }\frac{1}{(e^x-x)^2+\pi ^2}dx=\frac{1}{e^{-e^{-e^{-e..}}}+1}$$ I saw this integral in a mathematical book but I don't know how to find this result.

I ran across an interesting integral and I am wondering if anyone knows where I may find its derivation or proof.  I looked through the site. If it is here and I overlooked it, I am sorry.  $$\displaystyle\frac{1}{\int_{-\infty}^{\infty}\frac{1}{(e^{x}-x)^{2}+{\pi}^{2}}dx}-1=W(1)=\Omega$$  $W(1)=\Omega$ is often referred to as the Omega Constant. Which is the solution to   $xe^{x}=1$.  Which is $x\approx .567$  Thanks much.   EDIT:  Sorry, I had the integral written incorrectly. Thanks for the catch.  I had also seen this:  $\displaystyle\int_{-\infty}^{\infty}\frac{dx}{(e^{x}-x)^{2}+{\pi}^{2}}=\frac{1}{1+W(1)}=\frac{1}{1+\Omega}\approx .638$  EDIT:  I do not what is wrong, but I am trying to respond, but can not. All the buttons are unresponsive but this one. I have been trying to leave a greenie and add a comment, but neither will respond. I just wanted you to know this before you thought I was an ingrate. Thank you. That is an interesting site.


I was trying to make the book in blender but when select 3 faces and trying to inset it evenly I got this that you can see in the picture. in my inset option i have only select offset even please help me...

I seem to have screwed up something that allows you to inset evenly, I think I have tried every combination of settings in inset and pivot center and even is far from even.  I tried uninstalling and re installing blender 2.71 and get the same result.  The image attached is a simple default cube that I tried to inset evenly.  I have also attached the blend file link  help??


Taken from An Introduction to the Theory of Numbers by Niven et al:  Prove that if $m\gt n$ then $a^{2^n}+1$ is a divisor of $a^{2^m}-1$. Show that if $a,m,n$ are positive with $m\ne n$, then:  $gcd(a^{2^m}+1,a^{2^n}+1)=1$ (if $a$ is even) or $2$ (if $a$ is odd)  I just got that since $a^{2^m}-1$ is divisible by $a^{2^n}+1$ it is equal to $x(a^{2^m}+1)$ for some integer $x$. But that's all I got.   P.S.: Sorry, but I'm extremely poor in Number Theory and related problem-solving. If you could suggest some methods to get better, I'd be highly obliged. And a final request, please make the answer simple such that I understand it.  Thanks a lot!

I've been struggling with this all day today. I imagine it's not very hard, but my algebra skills are terrible. So, how can I show that if $m>n$ and $a$ is a positive integer, then $$a^{2^n}+1 \mid a^{2^m}-1.$$ I just can't get a coherent picture of what I'm supposed to do. If this too (see yesterday's question) boils down to the Unique Factorization Theorem, I would be very grateful for any intuition on how to think about this!


University retired researchers often get privileges to use Libraries etc. When a retired member uses the university library for research are they obliged to mention the university affiliation in subsequent publications?

This question is similar to   and  except that I am a retiree.  I intend to submit a paper to a journal without mentioning any affiliation because I am no longer employeed. I have been thinking about a footnote in the paper indicating I am a retiree from my former employer for two reasons: I am receiving pension from the company pension fund and it is a well-known company in U.S. Using their name may make me look good. On the other hand, I feel like it's cheating because I am not their employee anymore.


I don't know how I got this idea, sorry if it is already asked. I searched but couldn't find.  Let's say there is a question and X person writes first answer with low quality. Then Y person comes and writes a good answer. Then, X answer edits his own question containing the information Y shared, sometimes exactly with same words. Is it possible to detect this? If it happens what should we do?

I  to the question "" which was specific to the question asked.  Another user engaged positively with my answer, as there was a small conversation thread.  That person then  and made what I would say are minor modifications (the comments I left in my original code that pertained to the specific case are still in the places where he made edits to be more specific).  The answer does acknowledge that it is a general case of my specific code.  Ignoring the fact that I'm involved in it, what should one do when seeing this situation?  The only thing I can think of, and I'm not sure that it's necessarily the right solution, is to flag the answer for moderator attention.  Other possible actions, which I believe are wrong, are:   Editing the answer; that would change its intent Voting the answer down; it's a technically correct answer   One could leave a comment, but that can lead to confrontation and escalation (depending on the parties involved) which would be counterproductive.  The only thing I've done, which is not really related, is edit the answer to hyperlink the already existing attribution (but I do this as a regular edit for any answer which explicitly references another).  What's the best approach here, if any?


Evaluate  the product $$\prod_{n=2}^\infty ( 1 + \frac{1}{n^2} + \frac{1}{n^4} + \frac{1}{n^6}+\cdots)$$ My attempt :$$y=\prod_{n=2}^\infty ( 1 + \frac{1}{n^2} + \frac{1}{n^4} + \frac{1}{n^6}+\cdots)$$ Taking log both  side , we get $$ \log y=\log \prod_{n=2}^\infty ( 1 + \frac{1}{n^2} + \frac{1}{n^4} + \frac{1}{n^6}+\cdots)=\log \prod_{n=2}^\infty \sum_0^\infty \frac{1}{n^2} = \log \prod_{n=2}^\infty \frac{\pi^2}{6}$$ $$\implies y=e^{\log \prod_{n=2}^\infty \frac{\pi^2}{6}}$$ After that im not able proceed further

How to evaluate the product:  $$\prod _{n=2}^\infty\left(1+\dfrac{1}{n^2}+\dfrac{1}{n^4}+\dfrac{1}{n^6}+\dfrac{1}{n^8}+\ldots\right)$$  $$\left(1+\dfrac{1}{n^2}+\dfrac{1}{n^4}+\dfrac{1}{n^6}+\dfrac{1}{n^8}+\ldots\right)=\dfrac{1}{1-\dfrac{1}{n^2}}$$  How to proceed now?


Are there any mammals whose males can feed the offsprings with milk from the breasts?

Birds from the family Columbidae (e.g., doves and pigeons) produce a fatty, milk-like substance in their crop.  The secretion is often referred to as "crop milk."  They feed crop milk to their young through regurgitation.  Does anyone know of another bird or reptile group (or even mammals) that has evolved such a mechanism; not regurgitation but secretion of a milk-like substance for feeding young?  Also, both male and female doves produce crop milk; are there cases where males of a mammal species produce milk?


I want to adjust my windows sound volume to 30 using cmd prompt without using mouse or keyboard.  My intention is to create a bat file and once I plugin my headset Iwill change my system volume using the bat file.

Is it possible to change the volume in Windows XP via the command line?


Here is a problem from Hersteins Topics in Algebra:     If $1+\frac{1}{2}+\frac{1}{3}+\ldots + \frac{1}{p-1}=\frac{a}{b}$ for a prime $p$, then show that $p$ divides $a$. Moreover if $p>3$ then $p^2$ divides $a$.    I am able to prove the first part by writing  $$1+\frac{1}{2}+\frac{1}{3}+\ldots + \frac{1}{p-1}=\frac{(p-1)!+ \frac{(p-1)!}{2}+\frac{(p-1)!}{3}+\ldots + 1 }{(p-1)!},$$ where we can show the numerator to be congruent to $0$ mod $p$. I can't seem to crack the second part. Thanks in advance for any help.

According to the theorem, if  $$1+\frac{1}{2}+\frac{1}{3}+\frac{1}{4}+\frac{1}{5}+\cdots+\frac{1}{p-1} =\frac{r}{q}$$  then we have to prove that $r\equiv0 \pmod{p^2}$.  (Given $p>3$, otherwise $1+\dfrac{1}{2}=\dfrac{3}{2}$, $3 \not\equiv  0 \pmod 9$.)  I guess there's a $(\bmod p)$ solution for this, but I don't really get how to start it.


The mass of a photon is said to be 0, But light (photons) get attracted due to gravity of a black hole, that means photons have a mass which is very very very small. And we know that any object with mass cannot reach speed of light. Then how does a photon which have a very little mass can travel with speed of light?

Light is clearly affected by gravity, just think about a black hole, but light supposedly has no mass and gravity only affects objects with mass.  On the other hand, if light does have mass then doesn't mass become infinitely larger the closer to the speed of light an object travels. So this would result in light have an infinite mass which is impossible.  Any explanations?


In an example sentence like: 'Sit down, won't you?'  What is the full form of that sentence without contraction? Is it 'Sit down, will you not?' cause we can't say 'Sit down, will not you?'

When asking someone questions about the future, would you ask Will you not? or Will not (won't) you?  For example, of     1. Will you not go to school today?    2. Will not you go to school today?    3. Won't you go to school today?  which are grammatically correct?  It's very confusing to me.


I need to create documents containing lots of small bits of R code, which are not to be sent to R via knitr. Ideally, it should work very much like code is formatted here at Stackexchange. It should be set in ttfamily and not break across lines. I'm not sure that a gray background is necessary. I'd prefer not to use \begin{environment} and \end{environment}, because that's cumbersome when the code is just a couple words.  It seems like the trickiest part might be that some special characters should loose their specialness. Specifically, "$" and "_", which are commonly used in R code shouldn't have to be escaped.  There is a solution to a similar question , but that's taking the \begin{}\end{} approach, so it won't work here.  Something like \code{my code} would work better. I have the beginnings of a macro with this:  \newcommand{\nbcode}[1]{\mbox{\texttt{#1}}}   It'd be great if the solution to this is a package I haven't heard of.

I have a document where I quiet often refer to source code element, such as class names, I wanted to format these strings differently, but at the beginning I didn't want to fiddle with various options I had, rather I defined my custom command as follows:  \providecommand{\inlinecode}[1]{\texttt{#1}}   Now my question is, what do you think is the best way to define \inlinecode? Note: I often use text with unescaped <, >, e.g., List<T>.   The \texttt looks fine to me, and works with <, >, but sometimes the words overflow the line. Is there any way to tell latex not to overflow the line, but rather "underflow" or insert more spaces between words, which seems to me as (maybe still ugly but) more acceptable than overflow? And is it possible to achieve it by only changing definition of my command, so I won't have to change the whole source?


Suppose $f(z)=\sum_{n=0}^\infty a_n(z-a)^n$ converges for $|z-a|<s$ .   Then how to show that for $0<r<s$ , $\dfrac 1{2\pi}\int_0^{2\pi} |f(a+re^{it})|^2 dt=\sum_{n=0}^\infty |a_n|^2r^{2n}$ ?

I was reading through my book in complex analysis and i encountered this problem. Given, $F=\sum_{n=0}^{\infty} a_nX^n$ is a convergent power series with radius of convergence R. We are asked to show that for every 0$\leq$r$<$R that $$ \int_0^{2\pi}\mid F(re^{it})\mid^2\mathrm{d}t={2\pi}\sum_{n=0}^{\infty}\mid a_n\mid^2r^{2n}$$ This is not my homework but after some effort I have no clue how to solve this one. The assignment was in the chapter about convergent power series and there is nothing about integrating, thus I assume it should be solvable by real analysis calculus. I would appreciate if someone would help me with this one. Regards, Raxel.


I currently have a Monk that is soon going to be getting Tattooed Monk as a prestige class and I want to prestige again later into an Ur-Priest. I am human, INT 10, and am a level 5 monk.  I meet every requirement for Ur-Priest except for the Spellcraft of 8.  Is there any way to get skill levels into Spellcraft without taking any levels in spell casting classes?

I want to get the skills "Knowledge (Planes)" and "Use Psionic Device" on a Kobold Wilder so that:  He can Prestige into Anarchic Initiate I can use Dorje that have Powers that aren't on my class list.  I don't want to weaken my manifesting level by multiclassing and can't take Education, as I am not human, or on Faerun for that matter, and it is a Faerunian Regional feat. Hopefully this is possible through the use of feats. If not it's going to take a long time to get into Initiate.


What is the correct way to center figures and tables (figure, table)?  \begin{center} ... \end{center}   or   \begin{centering} ... \end{centering}


I have a website that contains world-wide suitable content, although it is in English. The site is just information; not ecommerce. However, it has a ccTLD of ".co.uk", so will search engines specifically drive UK users towards my site and divert the rest of the world away from my site?  Or, will the site simply rank marginally higher for UK users and be mixed in with the 'bigger pot' for the rest of the world?  Does having a .com site make it more 'world-wide' or do the search engines check to see where a site is actually hosted (by IP)?

Because I'm still living like it's 2008, I run a website with a .in TLD. The website has nothing to do we India and does not target Indian users.  Unfortunately, when I go to Google Webmaster Tools I see that Google have locked my geotargeting status to India:    On the , Google state that:     Sites with country-coded top-level domains (such as .ie) are already associated with a geographic region, in this case Ireland. In this case, you won't be able to specify a geographic location.   This seems implausibly inflexible, so I want to know if there are any sneaky ways of removing auto-geotargeting, or changing it to a more appropriate region?


This is a new question going off . Let's say we have the following scenario:      A neurologist is testing the effect of a drug on response time by injecting 100 rats with a unit dose of the drug, subjecting each to neurological stimulus, and recording its response time. The neurologist knows that the mean response time for rats not injected with the drug is 1.2 seconds. The mean of the 100 injected rats' response times is 1.05 seconds with a sample standard deviation of 0.5 seconds. Do you think that the drug has an effect on response time?   When we do this, we assume the sample standard deviation is equal to our population standard deviation. However, from what I see, this 1.05 sample is not necessarily a sample from our population. This 1.05 measurement is a sample taken from a population that might have a standard deviation that's completely different from the null hypothesis population. For example, what if this drug made all the rats have a response time clustered very closely around 1.05. This means the standard deviation of the population who took the drug would be less than the standard deviation of the population who didn't take the drug.  Because we're not necessarily sampling from the same population distribution, how can we use the sample distribution to estimate another population distribution?   The only explanation I can think of is that we have to assume our drug has no effect, assuming the null hypothesis, and then it would be sampling from the distribution under the null hypotehsis. I get that. But if the null hypothesis is FALSE and there really IS a difference, you'd be sampling from a different population (distribution under the alternative hypothesis), but we still ASSUME it's from the distribution under the null hypothesis, and that's what I can't understand.

Let's say you have the following basic one-sample t-test, taken from :     A neurologist is testing the effect of a drug on response time by injecting 100 rats with a unit dose of the drug, subjecting each to neurological stimulus, and recording its response time. The neurologist knows that the mean response time for rats not injected with the drug is 1.2 seconds. The mean of the 100 injected rats' response times is 1.05 seconds with a sample standard deviation of 0.5 seconds. Do you think that the drug has an effect on response time?   When reviewing inferential stats, I was rethinking an issue I didn't understand with t-testing. What if the sample standard deviation for rats injected with a drug is completely different than the standard deviation of the population of rats who are not injected with the drug?  It would make sense that this is a real possibility. Maybe the drug clusters everyone around the sample mean (i.e. every rat who takes the drug gets really close to 1.05 seconds), and the sample standard deviation is half that of the standard deviation of the population of non-injected rats. I could see this happening if you were measuring how an athletic drink affects sprint time, and the treatment sample (people who had this drink) has a very small standard deviation compared to the population (people who did not have the drink) because everyone who drinks it gets around the same very fast sprint time.  Why can we then use the treatment-group sample standard deviation to estimate the control-group population standard deviation if they have a chance of being very different from each other? Or do we just assume they aren't?


Please advice-is there an office to which a Visitor Visa Rejection complaint can be sent to? It's for a UK Visitor Visa rejection.

Here's the situation. My friend applied for a UK tourism visa stating that she would be visiting the UK for 2 weeks (It's written in the visa that she could stay up to 180 days) and granted but she ended up staying for 5 months (150 days). And the visa was valid for 6 months   During the 5 months she traveled a lot in the UK, Wales and Scotland. She stayed with friends so she didn't have to pay for the accommodation. So, she thought it would be ok which the immigration didn't say anything when she went back. She's Thai national.  Now she wanted to come back so she applied for the visa again and got rejected, UK Border gave the reason that they didn't believe she would be coming for tourism again because she stayed for 5 months already. And she applied again because she wanted to come here for vacation during Christmas and got rejected again with the same reason. Now, she wanted to apply again for the third time and she's not sure of what more documentation she needs to provide for UK Border to believe that she will come here for vacation and nothing else. For that last two rejections she also showed return tickets.  Not sure if anyone has seen this kind of case before and how to resolve it?


The title says it all; which is correct?   Two year's experience or Two years' experience or Two years experience?   Likewise,   One year's experience or One years experience?   I was surprised I couldn't find a previous question on this; maybe I missed one.

Which is correct?     1 Three day's work      2 Three days' work      3 Three days work   I would probably guess (2) is right, since the work belongs to the three days ("three days of work"). But I'm not sure. Would it be different if it was only one day?


I don't know what is wrong. I use 18.04, every time when I boots into my laptop Ubuntu, I find that Bluetooth is ON. I turn it off and it stays so till I switch off my laptop. But when I boots into Ubuntu again Bluetooth is ON. No matter how many time I turn it off, it comes back with every new session. Is there any way to permanently turn it off ?

How can I deactivate Bluetooth on system startup?


What I think is :  The protons are present at the centre of the atom with rotating electrons around it so when it is rubbed by fur the electrons get passed from the ebonite rod to the fur leaving the rod negatively charged. But in reality the rod is negatively charged Why ?

It is always told as a fact without explaining the reason. Why do two objects get charged by rubbing? Why one object get negative charge and other get positive ?


Earlier in the game, I received a few units from allied CS Valetta. The odd part is that these units were H'wachas, a Korea only unit. There was no Korea in this game to gift it to them either. How does this work, and how did it happen?

How is it possible for an AI civilization to gain/build another civilization's specialty unit?  Twice now I have run into this issue.  On my current game, the Dutch have a Cho-Ko-Nu (the chinese specialty unit).  In a prior game, the Swiss had Legion units (the Roman spec. unit).


I'd like to create a customized Ubuntu Server 12.04 ISO but couldn't find a clear approach on how to do it. I see that Ubuntu-builder is a very good app to create a customized Ubuntu Desktop, but what about Ubuntu Server?

I would like to customize Ubuntu live CD by installing some additional packages. I have followed   but it doesn't seems to work. Can anyone provide clear instructions?   Note: I do not prefer Remastersys, manual way will be appreciated.  Customization  Packages that I want to install:   Thunderbird    Samba    SSH       Changes that I need:   Remove Games menu from the Application menu Firefox shortcut on Desktop Radiance as the default Theme Different default Ubuntu Wallpaper   Configuration file changes   I want the panel to be placed at the bottom I want to paste my Samba configuration file instead of default Samba configuration I have few Firefox shortcuts and folders I would like to show that in Desktop Also it will be nice if you say me how to change the icon sets   Recent Updates   I have customized Ubuntu 10.10 with Firefox shortcuts and few folders on desktops. Everything went smooth. But the installer gets crashes after choosing the timezone. How do i fix this issue? Also setting wallpaper affects the login screen. The wallpaper which i set is displayed on the login screen also. I just want the default one for the login screen.


The  spell creates illusions in the minds of those it is cast upon (unless they make their save).  The  spell gives truesight, which grants the automatic detection of visual illusions and saves against them automatically succeed.  Do the illusions created by weird qualify for this though?  The illusions the spell creates are visible to the targets, but only to them. They aren't visible in the classic sense like those produced by certain other illusion spells like minor illusion.

Creatures with Truesight, have a number of benefits, one of which is that they     automatically detect visual illusions and succeed on saving throws   against them   How do you determine if a spell creates a visual illusion? Is it as simple as "If the illusion creates something that the target can see, it's visual" or is there a more specific rule?  For some context, this came up into play in our last session where a Wizard PC cast Mental Prison on an enemy with Truesight an we weren't exactly sure how to rule it at the time and decided to research it after the session was over.


I use Reference(&) here,but the a didn't change.Why? While i use Pointer(*) the value have changed.  int all=0;  void call_from_thread(int & a)   {    a = 5; }  int main()  {     thread s = thread(call_from_thread, all);     s.join();     return 0; }   Another program,in this case, i also use Reference(&),but the value have changed. Why the value a in thread didn't change?  void Func3(int &x) {     x = x + 10; }  int main() {      int n = 0;     Func3(n);     cout << “n = ” << n << endl; // n = 10 }

I know references are syntactic sugar, so code is easier to read and write. But what is the difference between a pointer variable and a reference variable?


Let $H$ be a Hilbert space and $U$ a subspace. Let $U^{\bot}$ denote its orthogonal complement.   I had no trouble showing $\overline{U}\subseteq U^{\bot\bot}$. But now I'm stuck for $\supseteq$.     Please could someone help me finish this argument?   This is what I am trying to do:  Let $x \in U^{\bot \bot}$. The goal is to construct a sequence $u_n\in U$ such that $u_n \to x$.   Since $\overline{U} \subset U^{\bot \bot}$ either $x\in \overline{U}$ or $x \notin \overline{U}$. If $x \in \overline{U}$ then we're done. If $x \notin \overline{U}$ I don't know what I can do.

So I'm in an advanced Linear Algebra class and we just moved into Hilbert spaces and such, and I'm struggling with this question.   Let $A$ be a nonempty subset of a Hilbert space $H$. Denote by $\operatorname{span}(A)$ the linear subspace of all finite linear combinations of vectors in $A$, and by $\overline{\operatorname{span}(A)}$ the topological closure of $\operatorname{span}(A)$ with respect to $\|\cdot\|$.  Also, let $A^⊥ = \{h ∈ H : \langle h,f \rangle = 0, ∀f ∈ A\}$ and $A^{⊥⊥} = (A^⊥)^⊥$.  Use orthogonal projection to prove that $A^{⊥⊥} =\overline{\operatorname{span}(A)}$.  The thing that trips me up is that we don't know much about $A$, like if I knew a little more, perhaps to show it's closed, then I can do the direct sum decomposition blah blah, but it also confuses me why we're using the complement of $\operatorname{span}(A)$. Is it possible to show that $\operatorname{span}(A)$ is closed, then go from there? I know it might look a bit like a duplicate, but all the questions I find don't refer to orthogonal projection at all. Any hints would be greatly appreciated!


In JavaScript this code returns 4:   let x = 3;  let foo = () => {   console.log(x); }  let bar = () => {   x = 4;   foo(); }  bar();    But same code in Python3 returns 3: x = 3  def foo():   print(x)  def bar():   x = 4   foo()  bar()   Why and how it works?

How can I create or use a global variable in a function?  If I create a global variable in one function, how can I use that global variable in another function? Do I need to store the global variable in a local variable of the function which needs its access?


I'm trying to get a list of all users in the local groups in my system using powershell.Get-LocalGroupMember -Group "Administrators"  This is working properly.  I would just like to know if there is any built-in API/function in C++ to get this list.

I wondered whether anybody knows how to obtain membership of local groups on a remote server programmatically via C#. Would this require administrator permissions? And if so is there any way to confirm the currently logged in user's membership (or not) of these groups?


In CSS there are a few ways of addressing different elements. (I am going do use div elements in the following example.)  Classes - div.main {  IDs - #id-name {  Element - div {  Let's say I'm making a simple animation, and I want to make a p element spin.    p {   text-align:center;   font-size:40px; } #spinner {   animation-name:spin;   animation-duration:03s;   animation-iteration-count:infinite;   animation-timing-function:linear;  }  @keyframes spin {    from {      transform:rotateY(0deg);    } to {      transform:rotateY(360deg);    }  }
Hello, world!
     What would've been the difference if I would've included all of the animation parts in the p address where I made the text bigger and centered, or used a class such as p.main instead of an id called spinner? Is there a difference, or is it just preference?
Thanks!

What's the difference between
 and
 when it comes to CSS? Is it alright to use
?  I see different developers doing this in both ways, and since I'm self taught, I've never really figured it out.


I've been going around the unanswered sections of my network, and am I right in assuming that Community doesn't poke questions with 0 answers?  Whatever the answer is, can I get an explanation of what I'm seeing?

What can cause a question to be "bumped" to the first page in the Active tab of a Stack Exchange site? (Changing the "Last Active" date.)  .


What is the difference between    $ \lim_{n \to \infty} \ \mathrm{E}_{\theta}(T_n(X)) = \theta$    and    $ T_n(X) \xrightarrow{p} \theta \ $  for  $\ n \xrightarrow{} \infty$ ?  (unbiasdness vs. Consisteny)    Ups... there seems to be this question already :-(     Shall I delete this question?

What is the difference between a consistent estimator and an unbiased estimator?  The precise technical definitions of these terms are fairly complicated, and it's difficult to get an intuitive feel for what they mean. I can imagine a good estimator, and a bad estimator, but I'm having trouble seeing how any estimator could satisfy one condition and not the other.


I am currently sitting on web (Zerodha site) and the 197 shares I bought for Rs 70 is now fluctuating between 65.5 to 70.25 appx. So what are the factors that are causing this? How long do one wait before selling?

Are stock returns based on market wide returns? When there is no new news released about the specific company, prices still rise or fall based on the market. When would a stock's trajectory diverge from that of the market?


An example might be: "Why is the sky neon green?"  What should I do with such questions? Close as off-topic? Close as unclear? Downvote? Answer with (in this case) "It isn't, it's blue most of the time"?  I vaguely remember seeing a question about this but couldn't find it with a search, apologies if this has already been asked.

I asked a question based on a wrong assumption. As it later turned out, my problem had nothing to do with what was assumed in the question. The answer to my question, however, is based on that wrong assumption. My question now would be what to do with that question? As it cannot be altered without rendering the answers useless and wrong, should it be deleted? It'm talking about this question:


The code works. I am asking, what is one method in having a variable instead of a '3' in the while conditional. I learned that these should be variables and not a plugged in number. How can I get an 'n' value instead of a '3' in there. Typically, this value is the total number of a particular category. In this case, the category is entries of floating points. In 'C' language, I believe the usage of '#define VARIABLE_NAME value' is used. import java.util.Scanner;   public class Measurement {       public static void main(String[] args) {         int first, second, third;         double[] arr = new double[2];         int count;         count = 0;          System.out.println("Enter three values: \n");          Scanner val = new Scanner(System.in);         while(count < 3) {             arr[count] = val.nextFloat();             ++count;         }          if(arr[0] > arr[1] && arr[0] > arr[2])         {             System.out.println(arr[0]);             if(arr[1] > arr[2]){                 System.out.println(arr[1]);                 System.out.println(arr[2]);             }             else if(arr[2] > arr[1]) {                 System.out.println(arr[2]);                 System.out.println(arr[1]);             }         }         else if(arr[1] > arr[0] && arr[1] > arr[2])         {             System.out.println(arr[1]);             if(arr[0] > arr[2]){                 System.out.println(arr[0]);                 System.out.println(arr[2]);             }             else if(arr[2] > arr[0])             {                 System.out.println(arr[2]);                 System.out.println(arr[0]);             }         }         else if(arr[2] > arr[0] && arr[2] > arr[1])         {             System.out.println(arr[2]);             if(arr[0] > arr[1]){                 System.out.println(arr[0]);                 System.out.println(arr[1]);             }             else if(arr[1] > arr[0])             {                 System.out.println(arr[1]);                 System.out.println(arr[0]);             }         }         else             System.out.println("There was an error");      } }

Suppose you need to define a class which all it does is hold constants.  public static final String SOME_CONST = "SOME_VALUE";   What is the preferred way of doing this?   Interface Abstract Class Final Class   Which one should I use and why?   Clarifications to some answers:  Enums - I'm not going to use enums, I am not enumerating anything, just collecting some constants which are not related to each other in any way.  Interface - I'm not going to set any class as one that implements the interface. Just want to use the interface to call constants like so: ISomeInterface.SOME_CONST.


I am using .deb package downloaded from Oracle website, and I even had it installed properly earlier. But now there's not really any change to the system however it throws below error. Also I can see the icon of it in the menu but it does not open. Using Ubuntu 20.04.1 What could be the problem? $ sudo dpkg -i Software/virtualbox-6.1_6.1.14-140239~Ubuntu~eoan_amd64.deb Selecting previously unselected package virtualbox-6.1.  (Reading database ... 240840 files and directories currently installed.) Preparing to unpack virtualbox-6.1_6.1.14-140239~Ubuntu~eoan_amd64.deb ...  Unpacking virtualbox-6.1 (6.1.14-140239~Ubuntu~eoan) ...   dpkg: dependency problems prevent configuration of virtualbox-6.1:  virtualbox-6.1 depends on libqt5opengl5 (= 5.0.2); however:   Package libqt5opengl5 is not installed.   virtualbox-6.1 depends on libqt5printsupport5 (=5.0.2); however:    Package libqt5printsupport5 is not installed.   virtualbox-6.1 depends on libsdl1.2debian (= 1.2.11); however:   Package libsdl1.2debian is not installed.   virtualbox-6.1 depends on python (<< 2.8); however:   Package python is not installed.  virtualbox-6.1 depends on python (= 2.7); however:    Package python is not installed.   virtualbox-6.1 depends on python:any (= 2.6.6-7~); however: dpkg: error processing package virtualbox-6.1 (--install):  dependency problems - leaving unconfigured  Processing triggers for systemd (245.4-4ubuntu3.2) ... Processing triggers for gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...  Processing triggers for mime-support (3.64ubuntu1)...  Processing triggers for hicolor-icon-theme (0.17-2) ...  Processing triggers for shared-mime-info (1.15-1) ...   Errors were encountered while processing:  virtualbox-6.1

Say, I have foo-1.2.3.deb which depends on perl and python, however, running command:  dpkg -i ./foo-1.2.3.deb   won't install these dependencies. So I must apt-get install perl python by hand.  How to make dpkg -i install these dependencies for me automatically?


I was wondering what the benefits are for Java 64x version, Does it help the game run smoother, Faster, Enhance graphics?

I'm wondering if I was to run minecraft in a 32bit or 64bit ubuntu server; would there be a benefit (speed improvements) or something else, or just the same?  Downsides?


If two spheres are mounted on a smooth horizontal bar along which they can slide and were initially brought together and connected by a  thread. Then the whole assembly is set into rotation about a vertical axis. Then after a period of free rotation, the thread is burned up. Naturally, the spheres fly apart.   My question is, what forces make it move that way. Why don't the two spheres stay at the original radius from the vertical axis.   Image from irodov's fundamental laws of mechanics.  EDIT:

If some object is kept in a radial groove made on a disk and the disk is rotated with say constant angular velocity.   Now as we know that the object moves outwards ie away from the centre of the disk. I want to know which force is it which throws the object outwards.   As centrifugal force is a pseudo force and hence when the observer is in ground frame it shouldn't be present so which force exactly pulls it out.


I'm writing a manual for a new piece of software, and I would like to be as clear as possible and include entire derivations for the governing equations. However, I understand that most users don't need that level of detail.   Does Latex have the capability for clickable icons to expand/collapse sections of the document in the PDF? I want the user to be able to click an icon to expand the text to show a new piece of the document (to show the derivation of a governing equation) without having the manual bogged down by all of these derivations.   Something like a "Show more" icon would be good, that when clicked shows the derivation.  Thanks!

Is there a way to fold/unfold certain sections in a pdf. Only when the user clicks on the section or plus sign the items show up.  Example: user clicks on the plus sign and the items appear as drop down list.


I am trying to add a cron job to perform an rsync from a remote server to a (Ubuntu12) local machine & create a log file.   Below is the crontab-l  00 18 * * * rsync -a -v --delete -e ssh user@centosvm:/home/user/rsync-test ~/backup > ~/rsync$(date +%Y%m%d_%H%M%S).log 2>&1   i kept getting this mail informing about the syntax error in the job.   Received: by work-virtual-machine (Postfix, from userid 1002)          id 697ADA24A0; Thu, 30 Apr 2015 16:21:01 -0700 (PDT)  From: root@work-virtual-machine (Cron Daemon)  To: user@work-virtual-machine  Subject: Cron <user@work-virtual-machine> "rsync -a -v --delete -e ssh user@centosvm:/home/user/rsync-test ~/backup > /home/user/rsync$(date +  Content-Type: text/plain; charset=ANSI_X3.4-1968  X-Cron-Env: <SHELL=/bin/sh>  X-Cron-Env: <HOME=/home/user>  X-Cron-Env: <PATH=/usr/bin:/bin>  X-Cron-Env: <LOGNAME=user>  Message-Id: <20150430232101.697ADA24A0@work-virtual-machine>  Date: Thu, 30 Apr 2015 16:21:01 -0700 (PDT)  /bin/sh: 1: Syntax error: end of file unexpected (expecting ")")   i have also installed unix2dos package.

I want to create a log file for a cron script that has the current hour in the log file name. This is the command I tried to use:  0 * * * * echo hello >> ~/cron-logs/hourly/test`date "+%d"`.log   Unfortunately I get this message when that runs:  /bin/sh: -c: line 0: unexpected EOF while looking for matching ``' /bin/sh: -c: line 1: syntax error: unexpected end of file   I have tried escaping the date part in various ways, but without much luck. Is it possible to make this happen in-line in a crontab file or do I need to create a shell script to do this?


Would you mind telling me which sentence is correct:  'Why has it been removed?'  From the grammar standpoint, it looks equally to 'Why do you think so?', right?   'Why it has been removed?'   Thank you.

Which of the following is correct?     Why can't I see?   Why I can't see?   I am a bit confused, since both have inversion, negation and a "why" in the beginning.


Now i got a register form that uploads a piece of info to my database table, but when i check for Æ Ø Å its messed up! this is my upload script:  <?php mysql_query("SET NAMES 'utf8'"); $con = mysqli_connect('localhost', 'root', '', 'errors'); if(isset($_POST['submit'])) {     session_start();     $fname = $_POST['fname'];     $username = $_POST['username'];     $password = $_POST['password'];     $email = $_POST['email'];     $about = $_POST['about'];     $date = $_POST['date'];     mysql_query("SET NAMES 'utf8'");     $sql = $con->query("INSERT INTO `usersystems` (`userid`, `fname`, `username`, `password`, `email`, `about`, `birth`) VALUES (NULL, '{$fname}', '{$username}', '{$password}', '{$email}', '{$about}', '{$date}');");     header('Location: login.php'); ?>   So now, how do i make it so the table actually allow those letters?

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


I have created a schedulable class   global class ScheduledClassTesting Implements Schedulable{      global void execute(SchedulableContext sc)     {          testScheduleClass();          System.abortJob( sc.getTriggerId() );       }      public void testScheduleClassMethod(string argPass){      }  }   However it doesnot allow me to save as it give the following error(which makes sense).  Save error: Method does not exist or incorrect signature: testScheduleClass()   Is it possible to create a method similar to testScheduleClassMethod() which accept's an argument(type string) at the time it is being scheduled?

Is there a way to pass a parameter into a schedulable class execute method? We were trying to pass a string from another scheduled class into this scheduled class but it looks like we can't do that?  As quick context we have the scheduled date and time as a record in a custom object so we are trying to pass that info into our scheduled class.  global class MturkVSSchedule implements Schedulable{      global void execute(SchedulableContext SC, **String s**){   Putting String S throws a compile error. Is there a different way that I'm missing?


Is there a name for very long scrolling web pages like the ? I am trying to Google for CSS tutorials and other examples, but have no idea what the design is called.

This question is similar to   I see a lot of modern websites moving to larger, singular pages with more content and more vertical scrolling. This is often combined with the visual marvel of  ().  Does this technique of heavy vertical scrolling have a name?


I use to session but got the below error     Error use to session login

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


My table of contents has the following structure:  List of figures.........3 List of acronyms........4 Introduction............6 1 First Section.........7 2 Second Section........8   But I want it to have some vertical space between the "introduction" sections and the actual content, like this:  List of figures.........3 List of acronyms........4 Introduction............6  1 First Section.........7 2 Second Section........8   Does anyone know how to achieve that? I just found some snippets to change the space between the lines in general or for all sections, but nothing about how to change the vertical space just for a single line.

In a table of contents that has been generated with LaTeX's \tableofcontents command, I would like to add a vertical space before a Chapter item in the table of contents. One way that I have in my notes is to use  \addtocontents{toc}{\protect\vspace{10pt}}   at a desired location in the document so that this gets processed by \tableofcontents to include an appropriate vertical space in the table of contents. I have two questions:   Is the above the correct way to get a vertical space in a table of contents? Why is it necessary to use the \protect command here?   Thank you...


I am a total newb to python. I pieced together a code that works great except when I have brackets in the string for the find_str variable. I tried using double brackets but it doesn't work either.  The goal is to replace all text in a list of CSV's that contain _(FAIL)_ with SUCCESS.  Here is my code:  import glob import re   filenames = sorted(glob.glob('*.csv')) filenames = filenames for f2 in filenames:      csv_name=f2      # open your csv and read as a text string     with open(csv_name, 'r') as f:         my_csv_text = f.read()      find_str = "_(FAIL)_"     replace_str = "SUCCESS"       # substitute     new_csv_str = re.sub(find_str, replace_str, my_csv_text)       # open new file and save     new_csv_path = csv_name      with open(new_csv_path, 'w') as f:         f.write(new_csv_str)

I am tired of always trying to guess, if I should escape special characters like '()[]{}|' etc. when using many implementations of regexps.  It is different with, for example, Python, sed, grep, awk, Perl, rename, Apache, find and so on. Is there any rule set which tells when I should, and when I should not, escape special characters? Does it depend on the regexp type, like PCRE, POSIX or extended regexps?


Is there a way in the Linux command line, to only have a command pipe its output to another, when the command didn't fail?  $ cmda | cmdb   I would like it, so when cmda returns a status code other than 0, its output doesn't get redirected to cmdb.

INPUT_FILE=`ls -rt $MY_DIR/FILE.*.xml | head -1 | xargs basename`   I wanted to execute the second command (head -1) only if the first command is successful. How do I improve this command?


I'm using Blender 2.76, with Cycles renderer.   I'd like to build a model of a thin opaque plate with glass beads embedded in it, with light shining through the glass. I know how to create the plate, the light, and the glass pieces. What functions should I look into as a way to put the glass in the plate so the hole exactly fits the glass?    Here's an image of the pieces. I duplicated the glass piece and simply moved it to coincide with the opaque plate.

How do I make a hole in an object created by me? Please help, youtube tutorials didn't help at all. Hope the image help.


Using two 2x12 that are 12' long tied to a supporting a Load Bearing ceiling with no floor above, can 24 inches be used as a cantilever to support another load bearing ceiling supporting wall? To clarify in attached picture, I want to eliminate 24inches as shown or scribbled out, and tie the two 2x12 into that 'B' Support wall. The 'B' wall which is shown in the picture is a wall with an opening cutout. The B 'Portion shown is 15inches wide (ceiling to end) from the cutout it is 6' to the tie-in to 'A' Wall. To simplify my question I would be leaving the B portion and upper A portion and 24" would be removed from the 'A' wall. Simply having 24 inches now hanging with two 2"x 12" married together  to support the other load bearing wall.

Update: Hopefully for better understanding, The wall showing the electric wall switch plate ( will note this wall as 'A'), I want to eliminate 32" from its end holding the 'Half wall' (will be wall 'B'). I would add two 2x10 the length of Wall (A) and tie it into to support Wall (B) but again 32" would be non supportive. So the electric plate would be removed etc. Hopefully this makes it more clear. I want to remove 32" of a supporting wall which connects to a supporting wall with two 2x10s which will hang 32" with no end support at the end but connect into the other supporting wall. The issue is the other supporting wall currently is a half wall that marries into the wall I want to remove the 32" from. Simply, there will be an L shape with no under beam support for 32 inches, on one wall and the other wall which is a half wall now, will have 6 foot of un-support although the two 2x10s together which will further be 10 foot long married into the first supporting wall should support it. This is a ranch-style home with no upstairs, just a low attic but ceiling rafter do connect on to that half wall. Any help suggestions I would appreciate.


I use Command Prompt (and other programs) really often.   What i want is add them as custom command for context menu of Windows Explorer. But not for specific file extension or folder, or all extensions, but to see it when an empty area of current folder (or desktop) clicked by the user.  I think this could be done with Windows factory tools (Windows Registry), but i am not sure how exactly.  I want to make this command to run in current directory (path where explorer is currently opened in). I also want to add icons and titles to that menu items.  Is there any article or example of making this?

How do I add a menu item to my context menu to open up powershell (or any other arbitary application) when I right-click inside Windows Explorer?  I found tons of links on how to add menu items when doing this: (selecting a folder; )    ...but couldn't find any instructions on how to add menu items when doing this: (not selecting a folder or file)    I did find  and tried adding powershell to HKEY_CLASSES_ROOT\Directory\Background\shell\, (loosely based on the  and linked above) but it didn't work for me.  I'm running Windows 7, by the way.  Also, I'm currently interested in adding only PowerShell, but I'd prefer a general solution I can apply to add any program to the context menu.


I am trying to prove the following : Let f be entire and assume that $$|f(z)| \leq M|z|^n$$ for large z, for a constant M, and for some integer. Show that f is a polynomial of degree $\leq$ n  Here are my thoughts on the problem so far: Since we have the inequality above we know that f must be bounded by $M|z*|^n$ where z* = argmax(f) and n large enough to satisfy the inequality. Given that f is bounded and entire I think I can use Liouville's theorem which says that f should be constant. I am currently not sure how to go from f being constant to f being a polynomial, however.

Suppose that an entire function $f(z)$ satisfies $\left|f(z)\right|\leq k\left|z\right|^n$ for sufficiently large $\left|z\right|$, where $n\in\mathbb{Z^+}$ and $k>0$ is constant. Show that $f$ is a polynomial of degree at most $n$.


I installed Ubuntu 16.04 LTS, and I would really like to download stuff like Unity Tweaks to customize everything. Every tutorial shows you to just go on Ubuntu Software, and search for Unity Tweaks and tadaa. Done.  But when I go in there (and yes, in on the All tabs) I just see a few Apps previewed, like Skype, subsurface, slip, sublime text and 3 others. In the list "Editors Picks". I don't have anything else.  And the biggest problem is when I type in Unity Tweaks to find it, it just tells me "No Application Found". When I only search Unity it finds some other Apps called Unity, but it's all not what I want. It looks like the Ubuntu Software contains like 10 Apps and that's it??

This is the error I get when I open the software center. I've tried rebooting and running sudo apt-get update but I see no improvement. It worked earlier but I don't know what went wrong since then. I'm using Ubuntu 16.04 final release on a Dell Inspiron 15R. Any advice will be appreciated. Thanks in advance.  EDIT: The problem magically solved itself without me doing anything special (or maybe inadvertently doing something, I don't know). So I'd still like to get to the root of this.


The material requirement for the spell chromatic orb is a diamond worth at least 50 gp, but in the Dungeon Master's Guide a diamond is listed under the 500 gp gem list. How small would a diamond be that is only worth 50 gp?

Context  The  (DMG p134) describe six categories of gemstone: 10gp, 50gp, 100gp, 500gp, 1000gp, and 5000gp.  What does this mean? An agate can be worth anywhere between 10gp and 5000gp depending on how big it is, not to mention other factors.  Therefor, I believe we are forced to assume a standard gemstone size for this table.  For the table to be of any use as a resource, a 10gp agate must be roughly the same size as a 5000gp black sapphire.  The statements “an amethyst is worth 100gp” and “a topax is worth 500gp” simply do not mean anything without a size reference.        I understand that gemstone value is not entirely, or even mostly dependent on size: color, clarity, and cut are also important.  But this is not any help, and only makes the existence of a table ranking of gemstone value even more baffling unless we can also assume a standard level of quality, and indeed this assumption is supported by the fact that the table already lists different grades of certain gems.  Sapphires and rubies, for example, appear in different categories of value depending on their color and clarity.  However there is some slight evidence to suggest that there is no standard size.  The 5,000gp gemstone list includes both a diamond and a ruby, which are often not the same value, so perhaps the ruby on this list is larger than the diamond?  Even if this were the case, as I have argued above the table does not make sense without at least some reference to size, so the size variation must be slight, or within a range.  Alternatively, there is a standard gemstone size and either (A) rubies and diamonds are worth the same in this world or (B) the listed diamond is lower grade or the ruby is higher grade (and indeed, there are lower grade rubies listed elsewhere in the table).   My Question  Is there indeed a standard gemstone size in the DMG's treasure tables, and if yes, what is it?   Parameters  I do not require a strictly RAW answer to this question.  There does not seem to be guidance on this issue within the official rules, but I can think of three possible ways of answering this question, in order of authority:    Inference from official adventure modules that contain a description of a gemstone’s size and value.  To get at the pure value of the gemstone as a material, such a reference should not be to gemstones that are part of an art object Inference from real world gemstone value, applied to the RAW.   SE answer to a similar question has some helpful guidance. If nothing else, a secondary source with more usable gemstone tables would be helpful.  This includes previous editions, thoughtfully written homebrews, and third party publications.   All I want is a number that is plausible, based on either real life or existing D&D materials.


have ubuntu 14.04 LTS have used libre office for a while just stopped opening one day. gives an error message stating has experienced an internal error. Have tried uninstalling libre office and reinstalling. Have downloaded direct from libre office and reinstalled still no luck.

Anything LibreOffice will not open.  I can open it if I switch user to guest.  I have searched and gotten many results for this problem, so that it seems to be common, but the answers are unintelligible to me.  This one   said:      ...there is a hidden folder ~/.config (so in your home directory). Could you make >it visible by typing Ctrl+H while in your home directory and remove the libreoffice >folder inside that folder? Good chance that all works fine then. Possibly (probably, my >guess) some settings file is damaged. Those files are not removed when uninstalling I >believe. – Jacob Vlijm 2 days ago   I don't know HOW to do this. Could someone please take it the very beginning, for someone like me who doesn't just know this stuff? Again, it seems like a common problem with an easy fix, if I just knew HOW.


With the geometry package, we can set margins for the whole document (with options like left, right, etc.). Now, how do we set margins for an individual page so that it doesn't affect the whole document. The reason for this question is that, when using book class, the left and right margins are equal in the left page and the right page respectively and the spline is a bit larger. How do I set left and right margins to be equal in the titlepage. Here is the MWE:  \documentclass[12pt]{book} \usepackage{kantlipsum} \begin{document} \begin{titlepage} \noindent \rule{\textwidth}{4pt} \rule{\textwidth}{4pt} \kant[1-3] \end{titlepage} \end{document}

My document class is article with a4paper. The margins that I want for the body are:  top: 1 inch bottom: 1 inch right: 0.5 inch left: 1.5 inch   The title page should have a 1 inch margin on all four sides, but the body of my paper should have margins as specified above.   I tried using the geometry package to specify these margins. But it didn't come out as I wanted. How can I achieve this?


I am just trying to display only the current time in sharepoint.  Example, 4:12 PM  =Now() doesn't seem to work.  Thank you.

I have tried using =TEXT(Today,"mm-dd-yyyy hh:mm:ss") but that only returns the 5/5/55 00:00:00, it won't give the time. How do I get both the date and time with a calculated formula?