I went to  (deleted, so 10K+ only) and pressed the "undelete" link. As you can see in the following screenshots, there are discrepancies in what it tells me about how many votes are needed to undelete the post.  First, it says 1 more vote is needed.    Then it says there are 22 votes remaining. I am not sure if this is supposed to be the number of undelete votes I have left or the number of votes still required to undelete the post.    Apparently, even though earlier my vote was the only one needed to undelete the post, now yet another vote is required. (Also note the minor pluralization bug; it reads better as "1 more vote from another user" instead of "1 more vote from other users".)    What's going on here? How many undelete votes would this question actually need to be undeleted?    Side note: I don't really care much about whether or not this post should be undeleted; I clicked through just to document the discrepancy.

Normally, it takes three votes to delete.  It still does, though the mouseover tip for a question with one delete vote cast on it already appears to be stuck at '1'    And then after casting a delete vote on it:    And if I've cast the first delete vote:    The above examples are from P.SE, and while I don't have the privs to verify this being the situation on other sites, this has been confirmed on at least SO and is likely network wide.    Child meta dups:   SO:


Let $f : \mathbb{R} \to \mathbb{R}$ and $g : \mathbb{R} \to \mathbb{R}$ be continuous functions. Suppose that $D ⊆ \mathbb{R}$,   and that $D$ is dense in $\mathbb{R}$. Suppose that $f(x) = g(x)$ for every $x ∈ D$. Prove that   $f(x) = g(x)$ for every $x ∈ \mathbb{R}$.   Any tips for where I can start here?  I'm pulling up blanks for this.  EDIT: there is a very similar question asked, but I have no idea what a metric space is so the whole thing didn't mean a ton to me unfortunately.

Let $f: X \rightarrow Y $ and $g:X \rightarrow Y$ continuous functions and $(X,d_X),(Y,d_Y)$ metric space. Let $E$ by a dense subset in $X$. Prove that $f(E)$ is a dense subset in $f(X)$. If $f(p)=g(p)$ for all $p\in E$, prove that $f(x)=g(x)$ for all $x\in X$.  My attempt: since $E \subset X \Rightarrow f(E)\subset f(X)$ and from the dense property we have $f(X) \subset f(\overline{E})$ and since $f$ is continuous, $f(X) \subset f(\overline{E}) \subset \overline{f(E)}$. Then, $f(E)$ is dense in $f(X)$.  Suppose that $f(p)=g(p), \;  \forall p \in E$. Hence, we have  $$d_{Y}(f(x),g(x)) \leq d_{Y}(f(x),f(p)) + d_{Y}(f(p),g(x)) = d_{Y}(f(x),f(p)) + d_{Y}(g(p),g(x)).$$ By the fact that $f,g$ are continuous, there exist a $\delta_1$ and $\delta_2$ such that $$d_X(x,p) < \delta_1 \qquad d_X(x,p) < \delta_2$$  implies $$d_{Y}(f(x),f(p))<\epsilon /2 \qquad d_{Y}(g(p),g(x)) < \epsilon /2.$$ for all $\epsilon >0.$  Is this correct?


Currently each site has it's own reputation rating which shows either expertise or trust in a particular user. This rating is useful for a number of things first of all it gives a number of rights to users second of all it allows us to place bounties and thirdly it shows an "expertise" number of how good a particular user is in a particular subject.   The fact that each site offers it's own reputation does however have some consequences:    I'm unable to offer bounties on different sites, I have quite a bit of reputation built up on Game Dev however I often find myself with problems on Stack Overflow, this means that I cannot use my hard earned reputation on Game Dev to help me resolve my problems (they would be off topic there).   Reputation represents trust, currently many privileges are bound to your level of reputation, this mean that a user can be trusted with full moderator rights on one site yet only have 101 reputation on another not even allowing him to review users first posts.    The solution:  make a single global tracker of all reputation displayed besides the current reputation meter on each site, this global reputation can be used as an alternative supply of reputation for bounties at a lower exchange rate (say 2 reputation for each point offered in bounty and can be used to unlock a number of privileges (but not all)). This would mean that a user who is very well known and in high regards on one website can actually do more then a user who spend a single afternoon on a particular website.

Here's one to get shot down: How about letting bounties to be set using the reputation gained through the use of another site? So, for instance, I'm a programmer with a high Stack Overflow rep who hates using computers. Wouldn't it be useful for me to be able to exchange some of my excess Stack Overflow credit to incentivise a question on Super User?   Or perhaps I'd like to highlight a question on Meta Stack Overflow, but I don't spend my time there.


Assume that $f:[a,b]\to [c,d]$ is a Riemann integrable bijective function. Is $f^{-1}$ also Riemann integrable?  I think it's true. I have tried to find a counterexample but failed since bijective is so strong. But I don't know where should I started with.

If $f \colon [a,b] \rightarrow [c,d]$ is a bijection, $f\in \mathcal{R}$ and $f^{-1}$ exists, then prove or disprove that $f^{-1} \in \mathcal{R} [c,d]$.  Remark: I tried to use integration by parts to find $\int_{c}^{d} f^{-1}$ and to prove that was the right limit of Riemann sum, but failed. But I think this idea might be useful.


Kate is registered as default application for *.html-files. This has the unwanted effect that html files as well as http-URLs are opened in Kate instead of Firefox.  The strange thing now is that when I move Kate down in this list and press the Apply-button, after a second or so it appears again at the top of the list. I tried also with sudo, but it had the same effect.  I could uninstall Kate and everything went back to normal. But as soon as I've re-installed Kate URLs are getting opened by Kate again.  How can I change the priority of the applications here?

In the last few days, Kate took over opening HTML links and files. I want to get it back to Firefox, so I opened System Settings, went into Applications -> File Associations, found the text/html setting, and moved Kate below my browsers. Imagine my surprise when, after clicking Apply, Kate jumped back up to the top! Also, opening a link through xdg-open still launches Kate. That's not supposed to happen, right? Is this a bug? Or is there something else I need to do?  Environment:   Kubuntu 15.10 (current on updates) Kate 15.08.2


I made a simple ,   However, not everything is centered in the middle on every device. I'm not sure is this is just happening to me or if I didn't do something correctly.  This is what it looks like on my   This is what it looks like on my    This is the snippet - try opening the  on your phone. Thanks    body{     margin: 0;     padding: 0;     background: #262626;     font-family: Futura, Futura-Medium, "Futura Medium", "Century Gothic", CenturyGothic, "Apple Gothic", AppleGothic, "URW Gothic L", "Avant Garde", sans-serif;     font-style : italic;     text-align: center;      -webkit-animation-direction: normal;  -webkit-animation-duration: 22s;  -webkit-animation-iteration-count: infinite;  -webkit-animation-name: text;  -webkit-animation-timing-function: ease;   } h1{     font-size: 100px; } .main{     position: absolute;     left: 50%;     top: 50%;     transform: translate(-50%, -50%) } ul{     display: flex;     position: absolute;     left: 50%;     top: 70%;     transform: translate(-50%, 0) } ul li{     list-style: none; } ul li a{     transition: .5s;     width: 80px;     height: 80px;     text-align: center;     line-height: 80px;     font-size: 35px;     display: block;     -webkit-animation-direction: normal;  -webkit-animation-duration: 22s;  -webkit-animation-iteration-count: infinite;  -webkit-animation-name: text;     -webkit-animation-timing-function: ease; } ul li a:hover{     font-size: 45px; }  #particles-js{     background-size: cover;     height: 100%;     width: 100%;     position: fixed;     z-index: -1; } #date{     position: absolute;     font-size: 25px; }  @-webkit-keyframes text{     0% {color: #39f;}    15% {color: #8bc5d1;}    30% {color: #f8cb4a;}    45% {color: #95b850;}    60% {color: #944893;}    75% {color: #c71f00;}    90% {color: #bdb280;}   100% {color: #39f;} } <!doctype html>               <meta charset="UTF-8">         <meta name="viewport" content="width=device-width, initial-scale=1.0">         <meta http-equiv="X-UA-Compatible" content="ie=edge">                            <link href="styles.css" rel="stylesheet" type="text/css">         <link rel="import" href="particles.html">         <link rel="import" href="title.html">         <link rel="import" href="dateCount.html">         <link rel="icon" href="logo.png">          <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">

kaszam

I want to center a div vertically with CSS. I don't want tables or JavaScript, but only pure CSS. I found some solutions, but all of them are missing Internet Explorer 6 support.
Div to be aligned vertically
   How can I center a div vertically in all major browsers, including Internet Explorer 6?


This is Metabase Related Question. I know how to cross join in PostgreSQL.  I have multiple staging databases to store raw data in postgreSQL. All databases are in same host.  Now I want to join multiple databases for analysis in Metabase. I saw before create a raw query first I need to select database.  Is there any way around for this ?

I'm going to guess that the answer is "no" based on the below error message (and ), but is there anyway to perform a cross-database query using PostgreSQL?  databaseA=# select * from databaseB.public.someTableName; ERROR:  cross-database references are not implemented:  "databaseB.public.someTableName"   I'm working with some data that is partitioned across two databases although data is really shared between the two (userid columns in one database come from the users table in the other database). I have no idea why these are two separate databases instead of schema, but c'est la vie...


Hello everyone I'm working with an app and I'm consuming rest api using retrofit2. I have a list of companies that I need to show using recyclerview. I have followed a lot of resources and tutorials but none helped me. In the logcat session I have an error:  java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference in my adapter....  in this line :  @Override public int getItemCount() {     return companies.size(); }   Here is my code:  my adapter  private List<Company> companies; private Context context;  public CompanyAdapter(List<Company> companies, Context context) {     this.companies = companies;     this.context = context; }  @NonNull @Override public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int i) {     View view = LayoutInflater.from(parent.getContext())             .inflate(R.layout.row_companies, parent, false);     return new ViewHolder(view); }  @Override public void onBindViewHolder(@NonNull ViewHolder viewHolder, int position) {     Company comp = companies.get(position);      viewHolder.compName.setText(comp.getName());     viewHolder.compDesc.setText(comp.getDescription());     viewHolder.compNipt.setText(comp.getNipt()); }  @Override public int getItemCount() {     return companies.size(); }  public class ViewHolder extends RecyclerView.ViewHolder {      public TextView compName, compDesc, compNipt;      public ViewHolder(@NonNull View itemView) {         super(itemView);          compName = (TextView) itemView.findViewById(R.id.tvCompanyName);         compDesc = (TextView) itemView.findViewById(R.id.tvCompanyDescription);         compNipt = (TextView) itemView.findViewById(R.id.tvCompanyNipt);     } }   and my activity  private RecyclerView recyclerView; private RecyclerView.Adapter adapter; private List<Company> companies;  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_companies_list);      RecyclerView recyclerView = (RecyclerView) findViewById(R.id.companies_list);     recyclerView.setHasFixedSize(true);     recyclerView.setLayoutManager(new LinearLayoutManager(this));      adapter = new CompanyAdapter(companies, this);     recyclerView.setAdapter(adapter); }   What I'm doing wrong... Any help is appreciated!

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 environment variables are correct? What is the correct way to use them in Ubuntu? I put them at the end of .bashrc file or edit the end of /etc/environment to able to use the $JAVA_HOME and $M2_HOME configuration and on my user?  $JAVA_HOME  JAVA_HOME="/usr/lib/jvm/java-8-oracle/"  CLASSPATH="JAVA_HOME/lib/:$CLASSPATH"  PATH="$JAVA_HOME/bin/:$PATH"  $M2_HOME  M2_HOME="/usr/share/maven/"  M2="$M2_HOME/bin"  PATH="$M2:$PATH"     PATH=$M2:$PATH

What are correct places for:   Global environment variables meant to affect all users? User-specific environment variables?


Is there a possibilty in Salesforce from trigger beforeInsert how to stop the insert in the database table.

I want to check whether a certain criteria is met or not using a trigger before inserting a record. if it meets the criteria, i insert the record, but if it does not i want to display an error message that it doesn't meet the criteria. how do i do it? Please help if anyone knows.


New to Ubuntu but highly interested, I have a problem with 14.04 in locating the terminal for command lines? As an alternative to GNOME Terminal, which I assumed would have been installed, I have tried to download GUAKE Terminal but am prevented by a repetitive error message indicating that the download 'requires the installation of untrusted packages' for which I have the options of ('OK' or 'Repair'). Activation of either has no effect on subsequent repeats, always linked to my hitting the installation button.

What is a terminal? How do I open a terminal window? How do I use the terminal?


The goal of my program is pretty simple. It is to display an integer that adds two to itself every second. Since, some of the answers get updated by latest methods, I have tried many, alas, none of them work. I have tried Timer, Handler the while loop, executor etc. With timer I get Timer-0 error, Executor runs only once, and Handler wants me to declare the auto-incremented variable to be Final. I do want the number to be incremented for an hour or endlessly if possible. I am showing one of the options I have tried here.  public class stats extends AppCompatActivity {       TextView textView2;     TextView textView1;      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_stats);         textView2 = findViewById(R.id.textView2);          final int total = 30000; // the total number //... //when you want to start the counting start the thread bellow.         new Thread(new Runnable() {             int counter = 0;             public void run() {                 while (counter < total) {                     try {                         Thread.sleep(1000);                     } catch (InterruptedException e) {                         // TODO Auto-generated catch block                         e.printStackTrace();                     }                     textView1.post(new Runnable() {                          public void run() {                             textView1 = findViewById(R.id.textView1);                             textView1.setText("" + counter);                          }                      });                     counter += 2;                 }              }          }).start();     }   and here is the error      java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.widget.TextView.post(java.lang.Runnable)' on a null object reference. Now, this error is for the line textView1.post(New runnable)   Could there be a more simpler approach to the problem?


I noticed that, as far as I can tell, the "Trilogy" Stack Exchange sites,      are the only ones that display non-Stack Exchange ads (i.e. ads for other Stack Exchanges or the iOS and Android apps), like the following (from Stack Overflow):  Stack Exchange's Business Model According to Jeff's answer in , besides generating revenue from job listings and candidate search, Stack Exchange also makes money through ads:  Traditional, but respectful (e.g. no animation or flash or pop-anything) display advertising on SO, SF, and to a lesser extent SU.  If such is the case, then why don't any of the other exchanges also display ads? The  exchange is the  (beating out Server Fault), and yet it displays no ads (as far as I could tell), and I would have thought that  would be a perfect site for displaying game ads, and yet it doesn't. Does Stack Exchange have any plans to display ads on these sites in the future?

StackOverflow, ServerFault, and Superuser have ads. (I only see them when I'm not on my own computer where firefox and chrome AdBlock extension is not installed). The new SE 2.0 websites do not seem to have ads. Will this continue for the next couple of years?  I would like to know because ads could be a factor in decisions on whether to migrate existing SE 1.0 communities to SE 2.0 or to use an alternative Q&A platform. There are free-software clones of Stack Exchange (Shapado, possibly others...). I know 1 community (Cheminformatics) that uses a clone and 1 (Bioinformatics) that is considering switching to a free platform. The clones have all the essential features but Stack Exchange software quality and quantity is in the lead.


I want to create a folder using  this Timestamp: %DATE:/=-%_%TIME::=-%  My Robocopy command is :  ROBOCOPY "%BUILD_SOURCESDIRECTORY%\sourcefolder\" "\\server\destination\%date:/=-%_%time::=-%" /V   but it is not working, getting an error:  2020-04-07T03:53:21.7269608Z ##[error]Process completed with exit code 1. 2020-04-07T03:53:21.7292925Z ##[debug]System.Exception: Process completed with exit code 1. at Microsoft.VisualStudio.Services.Agent.Worker.Handlers.ProcessHandler.RunAsync() at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync() at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)   Note: I referred to the below link but I want to create a folder with date and time.in this link only date stamp mentioned.    if anyone has an idea about, please let me know.

Update: Now that it's 2016 I'd use PowerShell for this unless there's a really compelling backwards-compatible reason for it, particularly because of the regional settings issue with using date. See @npocmaka's     What's a Windows command line statement(s) I can use to get the current datetime in a format that I can put into a filename?  I want to have a .bat file that zips up a directory into an archive with the current date and time as part of the name, for example, Code_2008-10-14_2257.zip. Is there any easy way I can do this, independent of the regional settings of the machine?  I don't really mind about the date format, ideally it'd be yyyy-mm-dd, but anything simple is fine.  So far I've got this, which on my machine gives me Tue_10_14_2008_230050_91:  rem Get the datetime in a format that can go in a filename. set _my_datetime=%date%_%time% set _my_datetime=%_my_datetime: =_% set _my_datetime=%_my_datetime::=% set _my_datetime=%_my_datetime:/=_% set _my_datetime=%_my_datetime:.=_%  rem Now use the timestamp by in a new ZIP file name. "d:\Program Files\7-Zip\7z.exe" a -r Code_%_my_datetime%.zip Code   I can live with this, but it seems a bit clunky. Ideally it'd be briefer and have the format mentioned earlier.  I'm using Windows Server 2003 and Windows XP Professional. I don't want to install additional utilities to achieve this (although I realise there are some that will do nice date formatting).


Prove that the eigenvalues for a square Nilpotent matrix A can only be $0$.   Definition of nilpotent      A $^n$=$0$   n is a positive whole integer

I need to prove that:      if a linear operator $\phi : V \rightarrow V$ on a vector space is nilpotent, then its only eigenvalue is $0$.   I know how to prove that this for a nilpotent matrix, but I'm not sure in the case of an operator. How would I be able to relate $\phi$ to a matrix?  Note: A nilpotent operator $\phi$ has been defined as an operator that satisfies $\phi^{n} = 0$ for some $n \geq 1$.


why does the message "some data failed to reconstruct" come up when i solve camera motion? Im working on a gaming montage, so what i did was use the dolly camera from Call of Duty Black ops 2  to create a cinematicand recorded it using a Hauppage. Now i followed the tutorial from blender guru  and at the part of adjusting focal length and sensory width i did not know what to do because the dolly camera is not an actual real camera with camera specs.

I added tracks and stuff, but then when I tried to solve motion track, there was a error that said:     Some Data Failed to Reconstruct   and it also said to look into the console for details, which I did. This is what the console said:    By my understanding, my video is 372 frames long, and Blender is cutting the footage at 318 for some reason. Here is the image of the scene:    Why? Here are links to  and also . Also the next morning I did a camera solve, but then most of the frames went red.


i do not understand the difference of future perect tense and future perect continous in a sentence or paragraph because the time signal of both tense are same. Namely by, before, and when. sometimes I got problem to do homework that determine use future perect tense and future perect continous in sentence.  can you tell me the difference of each sentence?

What is the difference in meaning and / or use between:     I will have worked here for two years by this time next year.   and     I will have been working here for two years by this time next year.    This is often a point of confusion for students and even 'experts' alike. There could be a number of reasons why a speaker chooses to use either construction:   The rest of the conversation was talking about the future using one form or the other, and to maintain consistency, or even because the speaker had been 'primed' by preceding language The attitude of the speaker reflects their attitude. The use of the progressive could indicate that the speaker feels it's more of a temporary solution.    So, is there a difference in meaning and use? Which one of the above (1 or 2) is more likely? Or is there a third I've not considered?


This question may look silly for some but I want to understand the concept behind, I have a single property(i.e TestNumber) within a TestClass.   public class TestClass  {     private uint testNumber=0;     public uint TestNumber     {         get { return testNumber; }         set { testNumber = value; }     }      public TestClass ()     {         TestNumber = 0;         // or         testNumber = 0;     } }   Now, if I want to set or get the value of the property outside the class, I can simply do the following,  TestClass tc = new TestClass (); tc.TestNumber = 10;   but my question is if I want to access this property within the same class, I have two options either  I can use  testNumber = 0;   or  TestNumber = 0;, so which one is correct  & why?  Thanks!

In C#, what makes a field different from a property, and when should a field be used instead of a property?


I have free space on the disk but I can't add that space to the ubuntu partition, gparted doesn't let me resize the ubuntu partition at all.  I'm running the livecd 14.04 LTS, my ubuntu version is 15.04  gparted screen shot   Edit:  sda1 and sda2 are the windows partition sda3 is my data partition  I want to shrink my data partition (sda3) by around 50gb and add that 50gb to my ubuntu partition (runnning low on space frequently)  I can't add that free space to the sda4  Current state:   Solved:  The free spaces must be next to the partition you want to resize, and all the partitions must not be mounted, even the swap partition (select swapoff)

Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers.  Now I changed my OS to Ubuntu 12.04 LTS. I installed Ubuntu by replacing the entire Windows 7 on the 63 GB partition. The rest of the partitions remain as an NTFS Windows partition and I can still access them both (the 173 and 84 GB partitions).  Now I want to change the two partitions of Windows into an Ubuntu format partitions plus most importantly, I want to extend the 63 GB partition to more than a 100 GB because at the moment I am running out of disk space. Whenever I try to install any application, especially using wine, it always complains for a shortage of disk space.  How do I do the extending activity before I entirely format my laptop again and lose all the important files on my partitions?


I think I read it during a battle of the books event in Alaska in the 1999-2002 range. The story is about a kid who finds a house where everything is wonderful and perfect, and morning is always spring, noon is summer, afternoon is autumn and nighttime is winter. Every night they all open presents like its Christmas and its just perfect. All the kids speak of Mr./Ms ____ who runs the house but none of the kids have ever seen them. I remember a pair of quotes where the protagonist realizes that "Mr. __ WAS the house!" and then later, when there ends up a war as some of the kids try to escape, the house itself starts to attack them with the phrase, "The house became Mr. ___". Eventually some of the kids escape and find out they have been missing for years. As many years as they had days in the house. And one girl turned into a fish... I think, my memory on that bit is super vague.

I was a child of ~9-10 years old when I read this back in the early to mid-nineties.  The book revolves around a boy who is taken to a home for children.  Strange things begin to happen and the boy realizes that the home has a dark side.  I honestly remember very little (except for the fact that I enjoyed it), but I do remember a demonic twist to the story (not necessarily a religious bent though.)  I recall gargoyle like creatures and that the children at the home began to disappear.  I believe that they would reappear later, though seemingly they had been brainwashed.  That's really all that I recall, I hope it's enough to spark someone's memory.


What is Post Secondary Education? Does it include only PhD (or) any degree lower than PhD?

When I go to university for four years and study, e.g., law or medicine, do I earn an undergraduate degree? And do I have to go to university for another two years or so to get a graduate degree? Also, is it the same university then, or do I have to go somewhere else? And do you have to get a graduate degree? I’m really confused by the American academic system.


I have the mannequin duplication glitch on 4 of my mannequins at my manor and have been trying to fix it for days. I’ve been trying to follow these steps I found other people use but it doesn’t work for me? Every time I leave my house the loading screen is only black with fog. I’m not sure how to get a loading screen that has pictures and I am desperate.     1) Put 2 of each item that you have been duping into the mannequin's inventory, nothing else. Also, make sure you don't have any more than 4 of each in your own inventory.      2) Leave and re-enter, making sure that when you leave the house, the loading screen shows an image instead of just a black, smoky screen. This ensures that the house (im)properly reloads.      3) Activate the mannequin, and remove one of each item from it's inventory. Without exiting the menu, go to your items and put each one back. WARNING: If you have 6 or more items in your own inventory at this time, it will ask you how many you want to place, and this will cause failure. This is why you can't have more than 4 to begin with.      4) Leave and re-enter, again, making sure that the loading screen shows an image when you leave. NOTE: This is why I like the Riften house, as it's easy to remember which door you went through last, and you can just use the other one.      5) Activate the mannequin, and remove all the items from it's inventory, leaving it naked.      6) Leave and re-enter one last time. Again, be sure it reloads the right way. When you go to your mannequin it should still be naked, and will have stopped duping items.

I looked around but cannot seem to find anything that actually answers the question of how I can stop the mannequins in my house from duplicating everything I put on them. I had Cicero's armor on a stand and ended up switching it with Miraak's armor, but when I go inside my house it will sometimes spawns Cicero's armor and I have like... 3 sets of them.   All I want to know is how to fix this glitch, so I can use the mannequins as they are intended, for displaying my valuable armors.   Just so you know I am on Xbox 1 and have the Special Edition.


I imported makehuman model with stockings to Blender, cut the stockings and made socks out of them. My problem is that the legs are coming out of the socks in some of the animation frames.  For now, I am making the socks really large so the knee would not stick out, but this is not the solution I wish to move forward with.   I posted the picture showing the problem and the .blend file here:

Starting with a prefab model of t-shirt I tried to scale it to fit better but the result isn't satisfying. Some parts of the models mesh become visible.     Is there any option or modifier that could add some spacing between body and cloth, or should I try to tweak loop-cuts manually?


I would like to send an email to all users immediately after they signup that requires them to click a link inside that email to "activate" their email address.   Ideally each user account would have a status showing whether this had been completed or not.   Can anyone recommend a way for me to accomplish this?

I have set up the registration form using this chunk of code:  wp_create_user($username, $password, $email);  Note that i have did all kinds of validation before use this code. The registration is working fine now. But it register and activate the user account immediately after the form get submitted.   What i want is confirming the email of a user before they can use the account. User have to check there email account and click the confirmation link and user account get registered/active.


I'm looking at the  on Mobius group. But I didn't get if this group is isomorphic to $PSL(2, \mathbb{C})$ or to $PGL(2, \mathbb{C})$

$PGL(n, F)$ and $PSL(n, F)$ are equal if and only if every element of $F$ has an $nth$ root in $F$.($F$ is finite field)  I can show that if  $PGL(n, F)=PSL(n, F)$ then $|F|$ have to be even.I have not any idea how to deal with it. any suggestions ?


In the past, our company had only one domain (www.domain_old.com) which obviously was the main domain. Now we have bought a new domain (www.domain_new.com), which we'd like to be the main domain from now on (i.e., for all the webpages, subdomains, emails, etc...). In other words:     www.domain_old.com --> www.domain_new.com   Answers to similar questions on this site suggest using a 301 redirect, so I assume that's the best option.  Our website uses DirectAdmin and WordPress; how can I add a 301 redirect for the old_domain to the new_domain using these?

Firstly, I want to redirect an old domain to a new domain, (old site to new site).  The old site has good ranking on Google, now if I redirect the site, I want to retain this site on the Google rankings and want to develop the new site's SEO.   What would be the best redirect to use? When a Googlebot re-crawls the old site after its been redirected, would the search results still show the keywords and source code on the original old site (as the page is still on the old server)? the new sites will have near identical /products.html pages and contact us pages etc. Will these all be automatically forwarded? What is ideally the best way to preserve the old site as well as redirect users that go on the old site straight to the new site, i was thinking of using some sort of CSS code which can blank out the page, or add a new layer or white to it, so the keywords remain?


I was trying to upgrade from Ubuntu 14.04LTS to Ubuntu 16.04LTS, however there was some issue with my internet connection and the software update tool had to abort the download. Now, I have changed my mind and want to wait for some more time before I attempt the upgrade. I wanted to cleanup the files/packages that were downloaded during the unsuccessful attempt. Could someone please guide me where does Ubuntu store those files/packages?

I support a laptop running Ubuntu in another state (so I don't have physical access to it).  It is an EeePC with two internal drives: a 4GB flash drive with the root fs, and a larger (~12GB) drive with the /home partition on it (and plenty of free space).  The user tried to upgrade to 11.10, and the upgrade failed because the root partition doesn't have enough free space to perform the upgrade.  I remember running into a similar problem on a laptop once before, which just had one physical drive but a poorly-thought-out partition scheme; I think I just symlinked a directory from a too-small rootfs partition to a larger partition.  In this case, I think the best solution is to bind-mount whatever directory Ubuntu wants to use to store its downloaded files to the larger drive.   What directory (or directories) is the important one that needs to be 'moved' to the larger drive? If I can get away with just bind-mounting one directory, do I just need to do it once, at the beginning of the installation, or do I need to add the bind-mount to the fstab (i.e. because the files are still needed after reboot, so the bind-mount needs to be persistent)? Is there an easier or better way to accomplish the upgrade?  (Neither a fresh install nor a repartition is an option right now)


I have a script on a linux server which connects to a URL refines the data and returns a text file with multiple links, please see below:  Script:  #!/bin/bash /usr/bin/curl -k -s URL | cut --characters=44-51 | sort --unique | sed -n -E 's|^AP(.+)$|http://ap\1.ztb.icb.commerzbank.com:1025/|p' >> testOutput.txt    Output:  http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/ http://APrandomnumber.com:1025/   I want to now be able to curl each of these URL's from the text file generated by the script and return a true or false depending on whether it was able to connect to them or not.

I want to run a java command once for every match of ls | grep pattern -. In this case, I think I could do find pattern -exec java MyProg '{}' \; but I'm curious about the general case - is there an easy way to say "run a command once for every line of standard input"? (In fish or bash.)


Updated to show more current screenshot and clarified the question (Which tools? What are the steps?)  I'm learning QGIS (1.8 "Lisboa" for Mac).  On the QGIS Layer labeling Settings window there is a section called "Data defined settings":    I believe the user's guide briefly describes its purpose:     The advanced entries inside the Label tab allow you control the appearance of the labels using attributes stored in the layer. The entries beginning with Data defined allow you to set all the parameters for the labels using fields in the layer.   But there are no instructions for using the Data defined entries and the Help file doesn't mention them at all.  For example, I want the label color to be white for the darkest polygon colors in a choropleth map. Will the Data defined settings help me do this in QGIS? If so, how? (Cartographica, for example, allows a user to easily set individual label colors for each category in a choropleth scheme. I was expecting a similar function in QGIS.)  One commenter suggested using the "Expression based label" tool. I don't know how to access the tool and there don't appear to be instructions in the user's guide. It isn't clear to me whether "Expression based labeling" supersedes "Data defined settings" or is meant to be used in conjunction with them.  I'm in need of clear, step-by-step instructions.

I'm using QGIS 1.8. I'd like to customize label features on an existing shapefile using the new label engine and it's "data defined settings" option. I'd like to know what the attribute table field types should be for each of the settings: All 7 font options, all 2 buffer options, and all 6 position options. Should they all be numeric fields, or some text, or both? I want to create these fields in the attribute table correctly so that I can map them to the label field settings. I can't find information on the proper field types anywhere. Thanks for your thoughts.


I have an Acer chromebook c720 can I use this to play hearthstone on it? If so how do i go about that what should i install?

Can .exe and .msi files (Windows software) be installed in Ubuntu?


I have two polygons in PostGIS that have incongruities. One polygon (the yellow one) is legal county boundaries. The other polygon (blue) is essentially neighborhoods. 98% of the lines align perfectly. The other 2% don't align because the boundaries have changes but not been updated on the neighborhoods polygon.   My question: Using either PostGIS (preferred) or QGIS, how can I "snap" the neighborhood boundaries to the county boundaries? I've tried:  ST_Multi(       ST_Intersection(neighborhoods.geom, county.geom)       ) END AS geom  EDIT: This query "worked" in that it prevented neighborhoods from bleeding into incorrect counties, but it just removes the area that causes the bleed creating blank spaces inbetween boundaries.

I am working with vector polygons that have derived from hand drawn areas from when mapping was carried out with tracing paper over paper maps. Therefore many of the polygons don't exactly line up to the boundaries on the ground.  Another dataset of vector lines I have is accurate and so I have been manually snapping nodes of the polygons to the nodes of the lines. But this is a lengthy process.  Here is a screenshot...    The green line is the accurate dataset. You can see how the polygon boundaries (orange) are roughly correct. Bottom left I have started to edit the nodes, with the snapping options set up, and this works to manually move the nodes of the polygons to snap to the nodes of the line. (Yes, I could have enabled topographical editing to move both the polygon boundaries together, and I do do that).  Is there a method for snapping multiple nodes of the polygon to the nodes of the lines, or is there perhaps a better method of doing this? Using Python perhaps? I am looking for something akin to the 'Enable tracing' function (which is great) but for moving polygon boundaries.  I am aware that this may in places be a duplicate as there are many similar questions, but I haven't quite found anything that answers my particular situation? In particular I have looked at...


Google webmaster tools is reporting some/many 404 urls that don't exist on my site.  The links are things such as domain.com/xyz/   However that doesn't exist, but domain.com/xyz/index.html does exist.  The "linked from" pages all show proper links to the "/xyz/index.html".    The page without index.html DOES 404, but why is google even trying these urls if they are not linked to?  My real question, is there a way to have google stop attempting to load these pages, and ultimately remove these from the crawl errors report.  Thanks.

Because of a former error in our ASP.Net application, created by my predecessor and undiscovered for a long time, thousands of wrong URLs where created dynamically. The normal user did not notice it, but Google followed these links and crawled itself through these incorrect URLs, creating more and more wrong links.  To make it clearer, consider the url     example.com/folder   should create the link     example.com/folder/subfolder   but was creating     example.com/subfolder   instead. Because of bad url rewriting, this was accepted and by default showed the index page for any unknown url, creating more and more links like this.     example.com/subfolder/subfolder/....   The problem is resolved by now, but now I have thousands of 404 errors listed in the Google Webmaster Tools, which got discovered 1 or 2 years ago, and more keep coming up.  Unfortunately the links do not follow a common pattern that I could deny for crawling in the robots.txt.  Is there anything I can do to stop google from trying out those very old links and remove the already listed 404s from Webmaster Tools?


Medical 3-Spring Aluminium Chart Holder Provides Strong 3-spring closure form medical  histories.• As shown in the figure below.

I need to model a simple spiral shape. I imagine the best way to do this is with curves, but I am unsure how to create a perfect spiral shape with curves. What's the best/easiest way to make a spiral tube?


When you like level up does some of that score go in the tracking things? How do you get the field upgrade score and what do they do?

Firstly, how do you gain the score exactly? I know it shows in the bar on the side of the map, but I remember a match where I was lone-wolfing and still got a pretty high score in that bar. I suppose my other squad members were together, but do I also gain for their work?  Also, does the score reset when I start a new game? I mean, I play support with the Offensive perk and it took me a long game of conquest to just unlock lvl-3 extra grenade. In the next match, that 'nade is gone. Don't I keep it forever?


How do I turn on autofocus? Using the Nikkor 50mm 1:1.8 lens.   I've gone into the menu selection and have fooled around with the AF settings but camera is still not focusing automatically...  When I click the info button, the MF button is not highlighted and I'm not sure how to get to it to see if that will do the trick.  At a loss! Help!

I know my D40 doesn't have a motor in it to auto-focus lenses.  What type of lens has the motor in it? How can I know which lenses will and will not work?


First off, I don't want to use rewrites.  I'm trying to redirect any call (HTTP or HTTPS) to myserver to the secured fully qualified domain using https at https://myserver.fullyqualified.com.  Here is my config  # Redirect all http traffic to https <VirtualHost *:80> # line 545   Redirect / https://myserver.fullyqualified.com/ </VirtualHost>  <VirtualHost *:443> # line 549   ServerName myserver.fullyqualified.com   SSLEngine on   SSLCertificateFile "conf/mycert.crt"   SSLCertificateKeyFile "conf/mykey.key" </VirtualHost> <VirtualHost *:443> # line 555   ServerName myserver   Redirect / https://myserver.fullyqualified.com/ </VirtualHost>   This works fine for HTTP, I can call http://myserver and it redirects to https://myserver.fullyqualified.com just fine.  However when I call https://myserver I get an error about the site not being secure, and it doesn't redirect to https://myserver.fullyqualified.com like I expect it to.  In Chrome, the error says     This server could not prove that it is myserver; its security certificate is from myserver.fullyqualified.com. This may be caused by a misconfiguration or an attacker intercepting your connection.   This is the output of httpd -S  *:80                   MYSERVER.fullyqualified.com (C:/Apache24/conf/httpd.conf:545) *:443                  is a NameVirtualHost          default server myserver.fullyqualified.com (C:/Apache24/conf/httpd.conf:549)          port 443 namevhost myserver.fullyqualified.com (C:/Apache24/conf/httpd.conf:549)          port 443 namevhost myserver (C:/Apache24/conf/httpd.conf:555) ServerRoot: "C:/Apache24" Main DocumentRoot: "C:/Apache24/htdocs" Main ErrorLog: "C:/Apache24/logs/error.log" Mutex default: dir="C:/Apache24/logs/" mechanism=default Mutex rewrite-map: using_defaults Mutex ssl-stapling-refresh: using_defaults Mutex ssl-stapling: using_defaults Mutex proxy: using_defaults Mutex ssl-cache: using_defaults PidFile: "C:/Apache24/logs/httpd.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG Define: SRVROOT=c:/Apache24   How can I redirect HTTPS traffic to the full qualified domain name?

We're using setup with an nginx on one machine and (currently) one application server on apache in the back.  For multiple domains we got ssl certs, but only for the domain itself. So without subdomain www. Everything works as expected, we do not use the  anywhere. But we have customers who are typing this in by hand, resulting in a warning in the browser on the clientside. ..and a new seo guy insisting on working www subdomain WITH ssl.  What am i looking for: A creative solution which does not require new certificates for 20+ domains.  I already thought about getting certificates from let's encrypt for our www subdomain, then 301 to domain.tld.. but it's still in beta.  Any ideas ?


I'm looking for an early 90s TV series in which aliens set up embassies on Earth. They were human-like, with a pale blue skin.  Their ships were alive and grown rather than built.  The story focused on their ambassador in the US and its relationship with a human (cop?) who discovered little by little they were not the benefactors they appeared to be.  Oh, and they used nice smartphones with retractable screens.  Well, I can't tell much more about it...

I’m looking for a TV show where an alien race comes to Earth and sets up big purple/pink cylindrical or cone shaped spaceships in various cities around the world. The Aliens are not hostile but actually created peace and eliminated hunger on Earth.    I believe the aliens had some human features and were wise and calm the main actor had a phone with a pull out screen I believe the main actor worked for or with the aliens I believe that in the last episode some humans and aliens go into some kind of pods and perhaps leave Earth? one of the space ships was located in a major US city. Maybe Washington DC or another East Coast city   Could someone please tell me what TV series this is? I have been searching everywhere and cannot find it. Thanks!


I tested the following code in gcc 4.8.3 and msvc v120.  #include <iostream> using std::cout;  void bar(int &x) {     cout << "bar\n";     int y = x; // Crash here... } void foo(int *x) {     cout << "foo\n";     bar(*x); // No crash here... } int main() {     foo(0);     return 0; }   output:  $ ./test foo bar Segmentation fault (core dumped)   I expected that it would crash upon the *x, however it crashes when the int reference is dereferenced.  It was compiled with the following g++ -O0 -std=c++11 -pedantic -o test test.cpp.  Does anyone have an explanation for this behaviour?  How is the reference initialized without dereferencing the null pointer?

I came across this code:  void f(const std::string &s);   And then a call:  f( *((std::string*)NULL) );   And I was wondering what others think of this construction, it is used to signal that function f() should use some default value (which it computes) instead of some user provided value.  I am not sure what to think of it, it looks weird but what do you think of this construction?


I have a new client whose site I will be re-building. I noticed on his site he has a badge from McAfee saying the site is secure. Below is an example:     I have seen similar type badges by other companies as well on other sites.   My question is this:   Do these types of services increase conversion and trust for a site? In other words, these services claim that it will increase the trust for the consumer thus increase sales and interactions on your website.  I am looking for studies that provide proof or results than just an opinion as an answer, preferably by a third party who does not offer the service.  Edit   is essentially the same but the answer there provide opinions vs documented studies (other than the ones the companies provide). I am looking for documented studies as an answer.

There are a number of services that will scan a website for vulnerabilities and allow the display of a trustmark image if the site passes their tests.  This allegedly increases the level of trust a potential client feel toward the website and therefore makes them more likely to complete a purchase.    McAfee claims it has studies which show significant increases in sales. Should I take their word for it?  What sort of increase should I really expect, if any?  Are these types of services worth the prices they charge?


my render output has a weird looking shape and color which is different from what I see in layout. the version I am using is 2.92. does anyone know what's wrong with it and how to fix it? this is what i got after hitting F12 button:  this is what I see in layout:

Have Blender on about 4 machines rendering animations. Just spotted on one of the machines its rendering something different from the actual scene that I have setup.    Top window shows a different set of layers objects to whats actually being rendered in the rendering window below.  In my scene contents, layers objects 1-5 are not visible, but these are the ones that look like they are being rendered.  The only thing I can assume is that perhaps it might be because I did not save the document before clicking render, but I would not have expected that behaviour (you dont need to save your word document before printing it).  Can anyone confirm why this is happening?


Found this in an obfuscated malicious shell script, beginning with:  ${!#}${*^} <<<...  Could not find any reference to ${!#}, but when echo'd, it outputs -bash. Is this a secret referene to the running shell? Why there is an extra dash then?  Thanks!

From the Advanced Bash-Scripting Guide, to get the last command-line argument:     Or: lastarg=${!#}    This is an   indirect reference to the $# variable.    Note that lastarg=${!$#} doesn't work.


Is there a particular way on how to handle errors if my FileInputStream cannot find the inputted file name in its directory? I'm just trying to make it so if my program can't find the file that was typed it'd print an error stating "file doesn't exist"  EDIT: Left out info. Hoping to let users reinput the file name.

I have a java program which take path as argument. I want to check whether given path is existing or not before doing other validation. Eg: If i give a path D:\Log\Sample which is not not exist, it has to throw filenotfound exception. How can i do that?


From $$\Gamma(x)\Gamma(y)=\int_0^\infty e^{-t}t^{x-1} \left( \int_0^\infty e^{-t} s^{y-1} ds \right) dt,$$ use a change of variable $s=ut$ to show    $$\Gamma(x)\Gamma(y)=\Gamma(x+y)\beta(x,y).$$   Let $s=ut$ so $ds = udt + tdu$ and then  \begin{align*}  \Gamma(x)\Gamma(y) &=\int_0^\infty e^{-t}t^{x-1} \left( \int_0^\infty e^{-s} s^{y-1} ds \right) dt \\ &= \int_0^\infty e^{-t} t^{x-1} \left( \int_0^{\infty} e^{-ut} (ut)^{y-1}(udt+tdu)\right)dt \\ &= \int_0^\infty e^{-t} t^{x-1} \left( \int_0^{\infty} (e^{-ut} u^y t^{y-1})dt+ \int_0^{\infty} (e^{-ut}u^{y-1}t^y)du\right)dt \\ \end{align*} My next thought was to use integration by parts, but that didn't pan out. Any suggestions?   Note that Gamma Function for $x>0$ we define: $$\Gamma(x):=\int_0^\infty e^{-t}t^{x-1}dt.$$  And for the Beta Function for $x>0$, $y>0$, we define  $$\beta(x,y):=\int_0^1 t^{x-1}(1-t)^{y-1}dt.$$

I'm trying to prove that for $p,q>0$, we have $$\int_0^1t^{p-1}(1-t)^{q-1}\,dt=\frac{\Gamma(p)\Gamma(q)}{\Gamma(p+q)}.$$    The hint given suggests that we express $\Gamma(p)\Gamma(q)$ as a double integral, then do a change of variables, but I've been unable thus far to express it as a double integral.  Can anyone get me started or suggest an alternate approach?  Note: This wasn't actually given to me as the $\Gamma$ function, just as a function $f$ satisfying $$f(p)=\int_0^\infty e^{-t}t^{p-1}\,dt$$ for all $p>0$, but I recognized that. This is in the context of an advanced calculus practice exam.


I have two line feature class like on the image below  How can I split green line at intersect at particularly blue line?

How can I split all the lines in a feature class where they intersect with a second line feature.  I have a roads feature and a rail feature. I want the lines in the rail feature to split where ever it crosses a road. I'm looking to do it all at once with an overlay analysis tool. Like the Split Line at Point tool, but using lines as the input. Too many to do it manually.


I am just wondering if there is any talk about adding notifications to the tab (like gmail) on stack overflow. It would come in handy as at the moment comments, notifications etc only appear if the page is reloaded.

I understand a few similar questions have been asked, but this is hopefully completely separate functionality.  Say you have Facebook open in Tab 1 of your favorite browser (mine is Chrome). When someone posts on your wall, comments, adds you as a friend (the list goes on), you get a number in the title of the page(tab) saying Facebook(1), indicating some sort of activity. The same thing happens if you're ON the page itself, I presume there is a notification ticker of some sort.  I already love the new  logo which does show notifications but only when you refresh look at the page.  I often find myself at work answering a question here and there and then I forget about it and do some actual work. 4 hours later, I click on my profile and BOOM, you have 8 comments, probably because you forgot to .Dispose() of an object or something :)  If my Stack Overflow tab title showed something like      (4) What's your favorite C# book?   Or, for pinned tabs, a browser will also indicate the title changed:    It would attract my attention to go and see who's complaining about my answer, if the OP needs more information or whether someone is just happy with my post.  So rather than refreshing Stack Overflow on an hourly basis, could we automate this and make our lives easier?   What do you think?


I have the following problem, with nested class(in this case a struct) namespace and return type  class Example { struct Node { /* with all the methods it needs */ } Node * func(); }   now I want to put the implementation of the func outside the class. So what I did is:  Example::Node * Example::func() { return nullptr; }   and it worked fine, until I made example template  template<typename T> class Example {/* all the same here */}  template <typename T> Example<T>::Node * Example<T>::func() {  return nullptr; }   where I got many errors. Then I tried   template <typename T> Example::Node * Example<T>::func() {  return nullptr; }   Where I get the error: "use of class template requires template argument list"  As far as I know Example<T>::func() is correct, because this means that function belongs to that namespace. But I'm not sure about the return type of my function. Any help?

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template <typename T, typename Tail> // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template<typename U> struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion<U> dummy;      };     template< > struct inUnion<T> {     }; }; template <typename T> // For the last node Tn. struct UnionNode<T, void> {     // ...     template<typename U> struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template< > struct inUnion<T> {     }; };   The problem I have is in the typedef Tail::inUnion<U> dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion<U> names a type and not a function?


I can not prove the following statement. Could you please help me? Thanks   Prove that for each $a_k>0$ with $\sum_{k=1}^{\infty}a_k< \infty $ there exists a nondecreasing unbounded sequence $(b_k)^\infty_{k=1}$ such that $\sum_{k=1}^{\infty}b_k a_k< \infty $

Given a real positive sequence $\{a_n\}$ such that $\sum_{i=1}^n a_i$ converges.  Prove that there exists a real sequence $\{c_n\}$ monotonically increasing to $\infty$ such that $\sum_{i=1}^\infty a_nc_n$ converges.  What I have done:  I have written $$\sum_{i=1}^{N+1}a_ic_i=c_{N+1}\sum_{i=1}^{N+1}a_i-\sum_{i=1}^N(c_{n+1}-c_n)S_n$$  and then try to prove the convergence by the Cauchy criterion. However my evaluation is still not good enough. I'm really stuck.


I've been working with this query to achieve the results I wanted, which I have. During this time I started using PDO and at first worked by just having one varibale to prepare inside the query. While testing, I ended up using two more variables inside the query but left them out of the prepared statement until I was finished. Now that I have the query completed, I went on and tried preparing the three variables as I did with the first one but an error was displayed when I ran the query:  SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '':cdrLastTable' ON a.id = b.`source_customer_billing_zone_' at line 2  I noticed the error was coming from one of the three prepared variables I needed for my query, but the thing is that the one that's failing is the only one placed before the WHERE clause. Excluding it from the prepared statement works fine. After reading and looking at exaples I could not find any with a variable before the WHERE clause so my question is: Can you prepare variables before the WHERE clause? If this is not possible, then what would be the point on using PDO for this query? I'm assuming that this issue does not relate to the query or any syntax error since removing the variable from the prepared statement just works, but I could be wrong as well. This is the query with all variables prepared (the one that gives off the error): $stmtOutgoing = $connAccounting->prepare("SELECT a.`zone` AS zone, init_time, a.`detail` AS sku, b.`source_external_subscriber_id`, count(*) AS llamadas, SUM((CEIL(b.`duration`))) AS duracion, SUM((b.`source_customer_cost`)/100) AS total, SUM((b.`source_customer_cost`)/100)/(SUM((CEIL(b.`duration`)))) AS precio                                          FROM `billing`.billing_zones_history a INNER JOIN :cdrLastTable                                          ON a.`id` = b.`source_customer_billing_zone_id`                                          WHERE source_external_subscriber_id = :source_external_subscriber_id AND init_time >= :queryLastTstmp                                         GROUP BY a.`detail`                                          ORDER BY total desc");                         $stmtOutgoing->execute(array('source_external_subscriber_id' => $source_external_subscriber_id, 'cdrLastTable' => $cdrLastTable, 'queryLastTstmp' => $queryLastTstmp));  You can see the error message points directly at :cdrLastTable right after the INNER JOIN, and effectively removing it like this: $stmtOutgoing = $connAccounting->prepare("SELECT a.`zone` AS zone, init_time, a.`detail` AS sku, b.`source_external_subscriber_id`, count(*) AS llamadas, SUM((CEIL(b.`duration`))) AS duracion, SUM((b.`source_customer_cost`)/100) AS total, SUM((b.`source_customer_cost`)/100)/(SUM((CEIL(b.`duration`)))) AS precio                                          FROM `billing`.billing_zones_history a INNER JOIN $cdrLastTable                                          ON a.`id` = b.`source_customer_billing_zone_id`                                          WHERE source_external_subscriber_id = :source_external_subscriber_id AND init_time >= :queryLastTstmp                                         GROUP BY a.`detail`                                          ORDER BY total desc");                         $stmtOutgoing->execute(array('source_external_subscriber_id' => $source_external_subscriber_id, 'queryLastTstmp' => $queryLastTstmp));  Makes the statement work. For some context: A new table is created each month, hence the need to store the name in a variable unlike the first table which has a 'static' name. The server is running 10.3.23-MariaDB and PHP 7.2.33. I have tried quoting the variable like this: ':cdrLastTable' but did not work. Thanks for the help!

Why can't I pass the table name to a prepared PDO statement?  $stmt = $dbh->prepare('SELECT * FROM :table WHERE 1'); if ($stmt->execute(array(':table' => 'users'))) {     var_dump($stmt->fetchAll()); }   Is there another safe way to insert a table name into a SQL query? With safe, I mean that I don't want to do  $sql = "SELECT * FROM $table WHERE 1"


I logged into data-explorer for the first time 9I have viewed others' queries but have not created one myself). When I log in with the StackExchange Open Id provider, I am shown as john.doe13574.     This does not happen when I login to a new stackexchange site, my details are recogniozed and fetched from my profile.  Is this an expected behaviour? Strangely, my picture is recognized correctly so the system "knows" me (I know the picture is from Gravatar, but the system knows what details to send to Gravatar)

I just tried to login to the Data Explorer and it gave me a jon.doe user.  I used the same openid...  How can I link this to my other accounts?


$1! + 2! + . . . + n! < (n + 1)!$  This question has left me stumped for quite some time. I am not sure how to approach it. (I am really bad at induction).


I have no idea how to approach this.  I'm supposed to use $f\in \mathbb{Q}[X]$ is irreducible $\iff \exists{a}\in\mathbb{Q}$ such that $f(X+a)$ is irreducible.  I tried to use $a = 1 \in \mathbb{Q}$ so  $\frac{(X + 1)^p-1}{X}=(X+1)^{p-1}+\cdots+ (X+1) + 1$  but I don't see how I can get from there to being able to use  any other criterion.

Can someone give me a hint how to the irreducibility of $X^{p-1} + \cdots + X+1$, where $p$ is a prime, in $\mathbb{Z}[X]$ ?    Our professor gave us already one, namely to substitute $X$ with $X+1$, but I couldn't make much of that.


Can someone come up with two topological spaces $X$ and $Y$ satisfying   Both are Hausdorff, $X$ and $Y$ are not homeomorphic; however $X$ and $Y$ are “compactomorphic” in the sense that there is a proper map between them with a proper inverse.   In other words, the spaces themselves are different, but the compact sets are the same.  This would be trivial in the non-Hausdorff case, using the same finite set with the discrete and trivial topologies. However, the discrete topology is the only Hausdorff topology on a finite set.

Suppose that $\tau_1$ and $\tau_2$ are two topologies on a set $X$ with the property that $K\subset X$ is compact with respect to $\tau_1$ if and only if $K$ is compact with respect to $\tau_2$. Then is this enough information to determine whether $\tau_1 = \tau_2$?  If not (which is suspect to be the case) is there a nice counterexample, and what is the minimum amount of extra information required for $\tau_1 = \tau_2$?  I feel like there would be an issue regarding 'points at infinity.'


I have two monitors that I use for development. I would like to use sloppy focus for switching between windows. sloppy focus -- whatever you mouse is hovering over is in focus.  I know it's available in ubuntu 10.04. How do you enable it?

Is there a way to set up "focus follows mouse" behavior in Unity?


I haven't noticed this before, so I don't know if this have always been like this or not. But at a new question () which are currently unanswered, there is some text at the bottom that reads Know someone who can answer? Share a link to this question via email, , , or . . I guess this is showing on new unanswered questions. At least I cant find it on any of my other questions.  It is a tiny problem, but the , , , or . part doesn't look good.

The list has several empty strings in it for me right now:


Recently i came up with this solution for enums in php:      class Enum implements Iterator {         private $vars = array();         private $keys = array();         private $currentPosition = 0;          public function __construct() {         }          public function current() {             return $this->vars[$this->keys[$this->currentPosition]];         }          public function key() {             return $this->keys[$this->currentPosition];         }          public function next() {             $this->currentPosition++;         }          public function rewind() {             $this->currentPosition = 0;             $reflection = new ReflectionClass(get_class($this));             $this->vars = $reflection->getConstants();             $this->keys = array_keys($this->vars);         }          public function valid() {             return $this->currentPosition < count($this->vars);         }  }   Example:  class ApplicationMode extends Enum {     const production = 'production';     const development = 'development'; }  class Application {     public static function Run(ApplicationMode $mode) {         if ($mode == ApplicationMode::production) {         //run application in production mode         }         elseif ($mode == ApplicationMode::development) {             //run application in development mode         }     } }  Application::Run(ApplicationMode::production); foreach (new ApplicationMode as $mode) {     Application::Run($mode); }   it works just perfect, i got IDE hints, i can iterate through all my enums but i think i miss some enums features that can be useful.  so my question is: what features can i add to make more use of enums or to make it more practical to use?

I know that PHP doesn't yet have native Enumerations. But I have become accustomed to them from the Java world. I would love to use enums as a way to give predefined values which IDEs' auto-completion features could understand. Constants do the trick, but there's the namespace collision problem and (or actually because) they're global. Arrays don't have the namespace problem, but they're too vague, they can be overwritten at runtime and IDEs rarely know how to autofill their keys without additional static analysis annotations or attributes. Are there any solutions/workarounds you commonly use? Does anyone recall whether the PHP guys have had any thoughts or decisions around enumerations?


I have run into something that looks like a bug in Windows.  I have extracted a RAR archive onto my PC and the extracted folders cannot be deleted by any means!  My OS's language is English with some culture aspects of it set to Greek.  The character that seems to create the problem seems to be 'å'.  Here is a screen-shot that displays the problem:    Using DEL from the cmd doesn't seem to help.  When I try to delete the folder from Explorer nothing happens.  When I try to rename the folder from Explorer I get these weird messages :      Seems like a part of Windows thinks it's a file, while another part of it thinks it's a folder.  So, the question is: does anyone know what goes on here and any way to delete this thing?  EDIT:  As you can see, I have found a solution. But if someone could explain to me WHY Windows has problems with this character while it generally supports Unicode, let me know. I would like to understand the internals of it... (that's the only difference from the other question, I guess)  Does NTFS support both Unicode and ASCII files names and that file used ASCII (for some reason)? Then if it used ASSCII, how on earth was the character displayed correctly in Explorer?

I'm trying to delete a folder in Windows 7 and get a perplexing error message: "Could not find this item:  This is no longer located in G:\Graphics.  Verify the item's location and try again.  I can see the folder -- I can find it.  I just can't delete it.    I also get a second error message (sometimes) when I click on the folder: G:\Graphics 2009-11-17 refers to a location that is unavailable...this information might have been moved to a different location.    I'm using Windows 7; this folder is on an external hard drive.  I've emptied the folder (there were items in it); I've scanned that external hard drive for errors.  Trying to rename the folder yields the same enigmatic error message.    Is there a way to delete this folder?


As a beginner, I'm really confused about size_t. I can use int, float or other types. Why still declare size_t type. I don't feel its advantages. I've viewed some , but I still can't understand it.

In several C++ examples I see a use of the type size_t where I would have used a simple int. What's the difference, and why size_t should be better?


I have tried installing all the available updates and when I check again for updates it says the computer is up to date. How can I upgrade?

What are the different ways I can use to upgrade Ubuntu from one release to another?


I rejected a disaster area of an edit, and look what popped up:     Congratulations!      This was only a test, designed to make sure you were paying attention.   You passed.   How many more Easter Eggs are going to sneak up on me?  :-)

I recently received this rather amusing message while reviewing a user's first post:  Congratulations! This was only a test, designed to make sure you were paying attention. This post has already been removed, but thanks for taking time to leave feedback for the author.   What is the purpose of this test? How does the audit work? What happens if I fail? Why was the system expecting me to negatively review a good post, or positively review a bad post? A review is obviously an audit. Should I report it? Do review audits count toward the Reviewer badge? Do robo-reviewers dream of electric sheep?


How do I solve the determinant of this matrix using python?  there are how solve using the word x in python?  p = np.array([[x, 1],               [1, x]])

I read in the manual of Numpy that there is function det(M) that can calculate the determinant. However, I can't find the det() method in Numpy.  By the way, I use Python 2.5. There should be no compatibility problems with Numpy.


This section of Introduction to Statistical Learning in R (page 19 in v6, statement 2.3) is motivating the difference between reducible and irreducible error (that is noted by $\epsilon$ and has mean zero).  Consider a given estimate $\hat{f}$ and a set of predictors $X$, which yields the prediction $\hat{Y} = \hat{f}(X)$. Assume for a moment that both $\hat{f}$ and $\hat{X}$ are fixed. Then, it is easy to show that $E(Y - \hat{Y})^2 = E[f(X) + \epsilon - \hat{f}(X)]^2$ $= [f(X) - \hat{f}(X)]^2 + Var(\epsilon)$  I'm having trouble getting the intermediate steps here. I understand that the expectation of the error in prediction should involve the variance of $\epsilon$ but I'd like to understand the proof. I expanded to $E(Y - \hat{Y})^2 = E[f(X) - \hat{f}(X)]^2 + 2E(\epsilon)E[f(X) - \hat{f}(X)] + E(\epsilon)^2$ and I see that I have $E(\epsilon)$ and $E(\epsilon)^2$ terms that could lead to $Var(\epsilon)$, but I'm stuck trying to fit some of the basic expected value and variance manipulations to it.

On page 19 of the textbook  (by James, Witten, Hastie and Tibshirani--it is freely downloadable on the web, and very good), the following is stated:  Consider a given estimate $$\hat{Y} = \hat{f}(x)$$ Assume for a moment that both $$\hat{f}, X$$ are fixed. Then, it is easy to show that: $$\mathrm{E}(Y - \hat{Y})^2 = \mathrm{E}[f(X) + \epsilon - \hat{f}(X)]^2$$ $$ = [f(X) - \hat{f}(X)]^2 + \mathrm{Var}(\epsilon)$$  It is further explained that the first term represents the reducible error, and the second term represents the irreducible error. I am not fully understanding how the authors arrive at this answer. I worked through the calculations as follows: $$\mathrm{E}(Y - \hat{Y})^2 = \mathrm{E}[f(X) + \epsilon - \hat{f}(X)]^2$$ This simplifies to $[f(X) - \hat{f}(X) + \mathrm{E}[\epsilon]]^2 = [f(X) - \hat{f}(X)]^2$ assuming that $\mathrm{E}[\epsilon] = 0$. Where is the $\mathrm{Var}(x)$ indicated in the text coming from? Any suggestions would be greatly appreciated.


I'm sure this question has been asked many times, but having gone through all the different answers, I'm more confused than ever before. I'm traveling to India from USA (point of entry: Delhi). I have a 7 year old Sony VAIO laptop purchased in India that is now slightly damaged, so I want to take it with me and keep it at home. Someone there might repair it for a much cheaper price (as compared to in USA) and use it.   Since my own laptop is damaged, I purchased a secondhand Dell laptop on eBay recently, and I want to take it with me for the duration of my stay in India. I am a university student in the US, and need this laptop for my thesis work. However, since this laptop was purchased here in US, I'm not sure if I'll be allowed to get it through in customs at India. I'll be returning only with this laptop (duration of stay: 5 weeks).  The price of the laptop purchased at eBay is $199, and I have the invoice for this. I don't have an invoice for the Sony VAIO laptop. (It's been 7 years!)  Other than this, I also have a Samsung phone and an iPad (both purchased in India), and an iPod purchased in USA. At the time of purchase, the iPad was about Rs 44000/$700–$800. It's a 3rd gen iPad, so as of now its valuation might be much lesser.  Which items can I carry without running into customs hassles in India?

I will be landing at New Delhi airport. The worth of new laptop  (Lenovo Yoga Idea Pad 13) is about $1000 and old one (Macbook Pro) is > 1 lakh INR. I want to leave the new laptop in India. I have a copy of bill with me but not the original bill. I want to know if I have risk of being charged with custom duty.


An arithmetic progression is $a+0b, a+1b, a+2b, ..., a+nb$ A geometric progression is $ab^0, ab^1, ab^2, ..., ab^n$. Multiplication is arithmetic, so why is a geometric progression not also an "arithmetic" progression? A line being extended be iteratively adding a constant length is a geometric construction, so why is an arithmetic progression not also a "geometric" progression?

Where does the name of these two famous types of sequences come from?  The article  of Wikipedia says that the geometric sequence is called like this because every term is the geometric mean of its two adjacent terms. Though it is true, it only reduces the question to: why is the geometric mean geometric (in opposition to the arithmetic mean).   Continuing my investigation on , I was told that a square with the same area than a rectangle with sides $a$ and $b$ has their geometric mean $\sqrt{ab}$ for side. That's again totally true, but a square with same perimeter than this rectangle of sides $a$ and $b$ has their arithmetic mean $\frac{a+b}{2}$ for side!  Thus, my question: Who coined these names? And why? Why is the geometric mean more geometric than the arithmetic mean?


As you can see in the title I need help with the following exercise:  Find all entire function with $f(\frac{1}{n})=\frac{1}{n^2}$ I guess I have to use the identity theorem but I dont know how

I am completely stuck in the following problem:  let f be holomorphic function on the unit disk $\{z:|z|\lt 1\}$ in the complex plane.which of the following is/are necessarily true?  (a) if for each positive integer $n$ we have $f(\frac{1}{n})=\frac{1}{n^2}$,then $f(z)=z^2$ on the unit disc.  (b) if for each positive integer $n$ we have $f(1-\frac{1}{n})=(1-\frac{1}{n})^2$,then $f(z)=z^2$ on the unit disc.  (c) $f$ cannot satisfy $f(\frac{1}{n})=\frac{(-1)^n}{n}$ for each positive integer $n$  (d) $f$ cannot satisfy $f(\frac{1}{n})=\frac{1}{n+1}$ for each positive integer n   what I thought in this problem is the following:  in the first part,by identity theorem we can say that $f(z)=z^2,\forall$z in the unit disc.  but,in the second part ,if we choose $g(z)=z^2$ then,$f(1-\frac{1}{n})=g(1-\frac{1}{n})$ but,the limit point ,i.e, $1$ is not in the unit disc.so,in this case,we cannot use identity theorem to conclude whether $f(z)=z^2$ on the unit disk or not .so,what procedure can we follow in this case???also,explain the options (c) and (d).  please answer in detail..  thanks a lot...


I use a QWERTY English keyboard layout which I would like to assign some new characters for Turkish characters, such as hitting Alt+o at the same time should type ö.  What free tool do you recommend to perform this keyboard mapping in Windows?  PS: This was so simple in Fedora as the Turkish keyboard layout was overlaid on the default English keyboard, so I could continue typing without any hassle.   Thanks.

On Linux, the Compose key is a great way to enter many symbols. E.g.   em-dash — by pressing Compose then - - - ö by pressing Compose then : o Euro € by pressing Compose then C =   (The Compose key function can be assigned to various keyboard keys, such as right/left Alt, right/left Windows key.)  I really miss the Compose key when using Windows. I've looked but so far haven't found any way to get equivalent Compose key functionality on Windows. Does anyone know of how to do it?


Before I go into details here is my specs CPU: Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz GPU: NVIDIA GeForce GTX 1650 GDDR5 @ 4GB (128bit) RAM: 8.00 GB (7.85 GB usable) Storage: 133 GB free out of 500 GB OS: Microsoft Windows 10 64 bit I'm trying to figure out why my Elgato HD60s is giving me dropped game performance. I belive the weakest part in my specs is the CPU, but according to a twitch streamer I know, he said that the elgato system uses the GPU when ran from an HDMI signal to the USB 3.0 port on my computer, however I'm only having issues when it is ran from the HDMI output on my gaming Laptop back into the same laptop through the USB port. I'm trying to set up an adequate game recording system where preferably, I can use OBS to record my games without worrying about bottlenecking my weak CPU or having to lower my settings to an unreasonable percent (I prefer at least being able to encode and record at 720p60 including having a logi tech c922 pro stream camera plugged in). Is there a setting I can change to make the entire elgato system work through my GPU since its the laptop's strongest resource? Or is this even possible according to my specs?

Before I go into details here is my specs  CPU: Intel Core i5-9300H @ 2.40GHz  GPU: NVIDIA GeForce GTX 1650 GDDR5 @ 4GB (128-bit)  RAM: 8.00 GB (7.85 GB usable)  Storage: 133 GB free out of 500 GB  OS: Windows 10 64-bit   I'm trying to figure out why my Elgato HD60s is giving me dropped game performance. I believe the weakest part in my specs is the CPU, but according to a twitch streamer I know, he said that the Elgato system uses the GPU when ran from an HDMI signal to the USB 3.0 port on my computer, however I'm only having issues when it is ran from the HDMI output on my gaming Laptop back into the same laptop through the USB port. I'm trying to set up an adequate game recording system where preferably I can use OBS to record my games without worrying about bottlenecking my weak CPU or having to lower my settings to an unreasonable percent (I prefer at least being able to encode and record at 720p60 including having a Logitech c922 Pro stream camera plugged in). Is there a setting I can change to make the entire Elgato system work through my GPU since its the laptop's strongest resource? Or is this even possible according to my specs? Even when OBS is closed and there is not recording going on. Simply having the Elgato plugged into the HDMI port on the laptop drops the FPS Until I unplug it entirely. However when it is not plugged into the HDMI port on the laptop and its plugged into the USB 3.0 port on the laptop as if it was going to record another device (Playstation or any console device) that doesn't drop the performance of the laptop. Only when the laptop is feeding its screen to the Elgato card is when it gives a performance drop.


What is the distribution (probability density function) of the difference of two Gammas with the same scale? The parameters of each Gamma would be positive integers.     That is, I'd like to know the density function ($f$) of $Z=X-Y$, where $X\sim {\rm Gamma}(a_1,b_1)$ and $Y\sim {\rm Gamma}(a_2, b_1)$. Assume $c$, $d$ are the parameters of $f(Z)$, particularly, I want to know the relationships between $c$, $d$, and $a_1$, $a_2$, $b_1$.

Given two independent random variables $X\sim \mathrm{Gamma}(\alpha_X,\beta_X)$ and $Y\sim \mathrm{Gamma}(\alpha_Y,\beta_Y)$, what is the distribution of the difference, i.e. $D=X-Y$?  If the result is not well-known, how would I go about deriving the result?


I want to try install xampp on Ubuntu 14.04, I download  xampp-linux-x64-5.6.15-1-installer.run and try to run it with sudo ,but in between of unpacking it getting error .    I lookup at path /opt/lamp some files getting copy but installation not getting complete, I try to see log in install duration with tail -f /usr/log/syslog but nothing reported. where is the problem?  update according to comment I try df -h to see free space of my disk

Hi all im a noob on Ubuntu/Linux World,  So i need some that give a full tutorial to How to install  from apachefriends.org correctly on Ubuntu 11.10 + all beyond Ubuntu for 32 bit and also 64 bit Desktop Version.. and also i need this:   Make a Folder on Your Home Folder and Linked to htdocs from Apache Web Server Make a GUI interface for Xmapp Start Xampp when Ubuntu Boot Up or Start Ubuntu   (Note: i ask it for both X86 and X64 so people in the further can see the tutorials)    New Data:  What i did was i download from  for now and i also what to say that I'm currently running Ubuntu 11.10 X64 bit for Dell Studio 1558 processor intel i3  i will let you know guys which solution was the best, and it is for a Desktop Version of Ubuntu 11.10 (Laptop 15 inch screen ^_^ ) not Server Ubuntu


I'm trying to create an application that requires user login. I've used SceneBuilder and FXML file for the interface. I now have to retrieve data from a SQLite database (I've named the table with the data as "Users"). When I run this program, it throws a NullPointerException (I already data stored on the table). How do I fix it?  //P.S. I use IntelliJ edit the database from the IDE itself.    package sample;  import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.text.Text; import javafx.stage.Stage;  import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet;  public class Controller {      @FXML TextField username;     @FXML TextField password;     @FXML Label warning;     Connection c;     PreparedStatement pst;     ResultSet rs;      public void loginButtonClicked() throws IOException {         try {             String query = "select * from Users where Username=? and Password=?";             pst = c.prepareStatement(query);             pst.setString(1, username.getText());             pst.setString(2, password.getText());             rs = pst.executeQuery();              if (rs.next()) {                 warning.setText("Successful");             } else {                 warning.setText("Not Successful");             }          } catch (Exception e) {             System.err.println(e);         }     }       public void cancelButtonClicked(ActionEvent event) throws IOException {         System.out.println("User has cancelled login...");          ((Node)event.getSource()).getScene().getWindow().hide();     } }

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?


Let's say I have a listing website with thousands of pages. I don't want to make all those pages(items) crawlable by others, unless they search for those items. But, still I like to have all those pages indexed in google. Please note that those pages do exist, and it is not a broken link, just that there is no direct link to those pages unless one uses search function of the website.  How can I achieve that? One things that comes to my mind is to create a complete sitemap with all pages included and submit it to google for indexing. would it work!? Or google would complain that it cannot follow a path of links from home page to those (unlinked) pages?  Thanks

We use a  on Stack Overflow, but I have mixed feelings about it.  Web crawlers usually discover pages from links within the site and from other sites. Sitemaps supplement this data to allow crawlers that support Sitemaps to pick up all URLs in the Sitemap and learn about those URLs using the associated metadata. Using the Sitemap  does not guarantee that web pages are included in search engines, but provides hints for web crawlers to do a better job of crawling your site.  Based on our two years' experience with sitemaps, there's something fundamentally paradoxical about the sitemap:  Sitemaps are intended for sites that are hard to crawl properly. If Google can't successfully crawl your site to find a link, but is able to find it in the sitemap it gives the sitemap link no weight and will not index it!  That's the sitemap paradox -- if your site isn't being properly crawled (for whatever reason), using a sitemap will not help you! Google goes out of their way to make :  "We cannot make any predictions or guarantees about when or if your URLs will be crawled or added to our index"  "We don't guarantee that we'll crawl or index all of your URLs. For example, we won't crawl or index image URLs contained in your Sitemap."  "submitting a Sitemap doesn't guarantee that all pages of your site will be crawled or included in our search results"   Given that links found in sitemaps are merely recommendations, whereas links found on your own website proper are considered canonical ... it seems the only logical thing to do is avoid having a sitemap and make damn sure that Google and any other search engine can properly spider your site using the plain old standard web pages everyone else sees. By the time you have done that, and are getting spidered nice and thoroughly so Google can see that your own site links to these pages, and would be willing to crawl the links -- uh, why do we need a sitemap, again? The sitemap can be actively harmful, because it distracts you from ensuring that search engine spiders are able to successfully crawl your whole site. "Oh, it doesn't matter if the crawler can see it, we'll just slap those links in the sitemap!" Reality is quite the opposite in our experience. That seems more than a little ironic considering sitemaps were intended for sites that have a very deep collection of links or complex UI that may be hard to spider. In our experience, the sitemap does not help, because if Google can't find the link on your site proper, it won't index it from the sitemap anyway. We've seen this proven time and time again with Stack Overflow questions. Am I wrong? Do sitemaps make sense, and we're somehow just using them incorrectly?


Any thoughts as to that for which I had not accounted here?  Looks like it returns 99.99999999999999  using ruby 2.3.1p112

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


I am trying to make my document such that when you click on section or subsection titles in the main body, it will take you back to the TOC. I have implemented this as such: \makeatletter \let\oldcontentsline\contentsline% \renewcommand\contentsline[4]{%     \oldcontentsline{#1}{\smash{\raisebox{1em}{\hypertarget{toc#4}{}}}#2}{#3}{#4}}% \let\oldsection\section% \renewcommand\section[1]{%     \oldsection[#1]{\protect\hyperlink{tocsection.\thesection}{#1}}}% \let\oldsubsection\subsection% \renewcommand\subsection[1]{%     \oldsubsection[#1]{\protect\hyperlink{tocsubsection.\thesubsection}{#1}}}% \let\oldsubsubsection\subsubsection% \renewcommand\subsubsection[1]{%     \oldsubsubsection[#1]{\protect\hyperlink{tocsubsection.\thesubsection}{#1}}}% \makeatother  Although it works, at the top of my TOC I get this:  I know it has something specific to do with the \renewcommand\section, because if I change that then it works fine. How can I go about fixing this?

I'd like the section headings in running text to link to their "line" in the Table of Contents so as to get "two-way" navigation, eg: a user looks in the Table of Contents for a section title, jumps there, reads a couple of lines, clicks on the section title again and gets taken to the section's entry in the Table of Contents once more.  Any ideas? :)  (Somewhat related to )


The command sudo apt-get update returns    E: Malformed line 54 in source list /etc/apt/sources.list (dist parse)   as output. Please help me to solve this issue.  Here are lines 53 and 54 in the source list:  deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse deb http://archive.canonical.com/lucid partner

I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that.  I just tried to upload a screen shot but since I'm new it won't allow me to.  I also can not figure out how to cut and paste anything so I have to hand type what the error screen says, both when I attempt to open the software center and nothing happens, when I try to enter commands into the terminal to uninstall, reinstall, whatever I get the same following:  COULD NOT INTITIALIZE THE PACKAGE INFORMATION An unresolvable problem occured while initializing the package information Please report t:his bug against the 'update-manager' package and include the following error message: 'E: Malformed line 91 in source list/etc/apt/sources.list (dist parse)  E: The list of sources could not be read.,  E: The package list of status file could not be parsed or opened.   How do I report bugs?  What can be done about this.  I have searched and everything everyone says to do leads me back to the same line error message.  So, I don't know how to get to line 91 in the source list; to tell you what it says. Sorry, I'm really new to this. That is what I need is to find out how to get there and fix what it says. I would really like to NOT have to re partition my hard drive and start from scratch, so I'm really looking forward to getting this problem solved. I need to be able to install new software.


Is there a way to see a detailed report of how I collected my reputation on a specific site, grouped by the way of achievement? E.g.  +100 from being a network user +450 from upvoted questions +300 from upvoted answers -80 from downvotes +45 from accepted answers -200 from bounties   Ideally I would also like to be able to drop down each section to see the specific questions / answers.

If I am concerned that my reputation score is incorrect, how can I audit it, or get a report of a detailed breakdown of my reputation?


One of my players wants to play a  (VGtM, p. 105) but wondered if he'd be able to use his racial ability, Radiant Soul, in an antimagic field.  Would an antimagic field block the protector aasimar's Radiant Soul feature, or would he be unaffected?

Often confusion arises when the  spell is used, an  is worn, or the 's anti-magic ray is employed, whether a given character's ability will still function.   The spell does give you some guidelines on how to adjudicate the effects of the loss of magic but says very little about how to determine what is affected.  In short, how do I tell if an ability is magical?


I was wondering how i can make my own custom google search.  Can i do something like this :  <form action="http://www.google.com/search=q?+text input" method="get"> <input type="search"> <input type="submit"> </form>

Basically I have a website.  I have a properly setup sitemap so I assume Google knows about all of my pages.  And I've seen on some sites, the search form leads to a page with the shell of the original site but the results are clearly provided by Google.  Similar to codinghorror.com's search, however his results aren't shown within his website's layout.  Any idea what I'm talking about or how to achieve this?


I have a census tract shapefile for the state of South Dakota. I have providers plotted with a 40 mile radius buffer. I am trying to determine what percent of each census tract is covered by any part of the buffer. How can I do this?

I have a point shapefile of villages where data was collected in Northern Kenya. I created a buffer around those villages.   The second vector layer contains polygons defining areas according to vegetation type. So for example, a forest might be surrounded by a narrow ring of woodland in an area which is mainly grassland. I'm trying to obtain a percentage of each vegetation type within the buffer per village.   I'm using QGIS 1.7


I'm trying to find the distance to an object with my Android.  I know the real size of object, also done some camera calibration with OpenCV to calculate focal length, camera matrix and distortion parameters as well. To easy up the question, it's assumed that the orientation is 0 degrees (can compute the angle of the android device when detecting the object)    My previous method was using some sort of manual calibration:  - Calculated the area in pixels at several known distances and saved both values (area and distance). Every time I see the object i compute a regression based on the area measured. But this method is obviously inaccurate.   So based in the parameters I know that I mentioned above, what do you recommend as best method?   Cheers

If I took a picture of a windmill on the horizon — given that I know the sensor size and the focal length of the lens and other factors to do with the shot — could I calculate how far away an object is from the photographer?


From the docs of :     Throws: NullPointerException - if this collection contains one or more    null elements and the specified collection does not support    null elements (optional), or if the specified collection is null.   But the code below does still throw a :  public class TestSet {      public static void main(String[] args) {          Set set1 = new TreeSet();          set1.add("A");          set1.add("B");          Set set2 = new HashSet();          set2.add(null);          set1.removeAll(set2);      }  }    Can someone help me understand this behavior?

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?


I am new to Ubuntu and I really want to watch anime from my computer on my TV 😢.

I have an ubuntu 14.04 box, Roku 3 and 50 inch TV and I want to cast my pc screen to the TV. The roku and pc are on the same network. Has anyone got a way to do this? Doesn't have to be a nice solution, just wondering if it's possible.


Generally we read or solve problems about charges in the same medium.  I wonder what would happen if the two charges were placed in different mediums. eg.) One is placed in vaccum and other is placed in a dielectric.  The concept would be that dielectric would get polarised  due to the charges and net force of attraction or repulsion between the charges would decrease.  But I cannot understand this from a mathematical point of view like will the permittivity of the mediums add or what? Please help me to understand this mathematically.  Note: This is not a homework question.  Also there seems a similar question on Stackexchange but the answer to it seemed unsatisfactory to me because the answer used a special case to explain the case and not a general one. Also there were a lot of comments questioning the answer. That's why decide to ask a new question.

I am given two charged particles of same charge at a distance of $r$. They initially apply force $F$.  Now an infinite dielectric (of dielectric constant $4$) of width $\frac{r}{2}$ is introduced between the particles. What will be the new force?   I find this problem confusing because I have only been told about forces when its either fully dielectric or fully vaccum given by Coulomb's law. How do we get forces when only partial space is dielectric?


I've used SO for a while as a reference, but never asked a question before. I'm currently in a college C++ class and also reading Programming: Principles and Practice by Bjarne Stroutstrup just for my own benifit, as I saw an answer to a question here that really recommended it. We're covering operators at the moment in my class, and I just can't seem to wrap my head around how the comma operator works in a statement. One example is a sample question for the online portion of the class that I keep getting wrong, even if I write a C program and use GDB to get the result. The question is:  Assuming x==16 before the following expression, what is the value of the following expression (not necessarily the value of x)? x++, ++x, x+=x  I'm not interested in the correct answer so much as how to get the correct answer. I've read through a couple answers to similar questions, such as this one , but it seems like I'm missing how this applies when there is actually no assigment operator. Is this the same as saying int y = (x++, ++x, x+=x);  or int y = x++, ++x, x+=x;  or neither? Could someone please explain how the comma operator works, specifically in relation to a statement without an assignment?

How does the comma operator work in C++?  For instance, if I do:  a = b, c;     Does a end up equaling b or c?   (Yes, I know this is easy to test - just documenting on here for someone to find the answer quickly.)  Update:  This question has exposed a nuance when using the comma operator.  Just to document this:  a = b, c;    // a is set to the value of b!  a = (b, c);  // a is set to the value of c!   This question was actually inspired by a typo in code.  What was intended to be  a = b; c = d;   Turned into  a = b,    //  <-  Note comma typo! c = d;