All of my UWP app icons are blank/empty/missing in the start menu search only. They appear correct in the start menu list itself, in settings. Some are missing in the taskbar as well, some are not.    I am using sagethumbs for some file extensions, but I disabled it and the issue persisted (after restarting Windows Explorer). I cleared the icon cache, still no luck.  Anyone know a fix for this?  I am using Windows 10 (1803 - Build 17134.112)

Some, but not all, icons for UWP apps are not displaying in search or settings. They do, however, display on the start menu when not searching. Icons for all non UWP apps display correctly, every time. UWP app icons are always present on the taskbar.   UPDATE: Many locally stored image thumbnails fail to appear in start menu search results either, no matter what image format.  The reason I have posted this as a separate question from , is for the following differentiating reasons:   Not all UWP app icons fail to display The issue is specifically present on the start menu only during search UWP apps never fail to display their icons on the taskbar   I have tried:    Resetting the icon cache The solution  involving the windowsapps folder Creating a new user account Deleting iconstream registry keys Changing performance settings to save thumbnails Changing default app for PNGs Changing default app for all images in windows settings Changing windows explorer view settings Updating graphics drivers   Screenshots:


I want to run git stripspace on all my source code files, on each build (or precommit or just manually), to remove extraneous whitespace, and later maybe to format the code in a standard way,      So I want to do something like    git stripspace < project/code.m > project/code.m   so I thought I should be able to use find -exec or xargs but by the looks of find does not like 'git stripspace' (maybe because of the space in between or the < or >) and I don't know how to pass the same file name, same argument, twice in a row with the proper redirections (< >) .

The  doesn't give me much hope, but I'm hoping it's an undocumented (and/or GNU-specific) feature.


I am using drush for drupal caches clear, module enable/disable and so more commands. My drush version is 5.4, it working fine for drupal 7 but now i  creating new product in drupal 8. I am using same drush commands for drupal 8. but I am facing below problems.  D:\Drupal\site\website\docroot>drush cr PHP Fatal error:  Class 'Drupal\Core\StringTranslation\PluralTranslatableMarkup' not found in D:\Drupal\site\website\docroot\core\includes\common.inc on line 132  Fatal error: Class 'Drupal\Core\StringTranslation\PluralTranslatableMarkup' not found in D:\Drupal\site\website\docroot\core\includes\common.inc on line 132 Drush command terminated abnormally due to an unrecoverable error.                       ?[31;40m?[1m[error]?[0m Error: Class 'Drupal\Core\StringTranslation\PluralTranslatableMarkup' not found in D:\Drupal\site\website\docroot\core\includes\common.inc, line 132

I am running Drush version 6.2.0 and the latest Drupal 8 beta on Dreamhosters. When I run drush cc all within the sites directory, I receive the following error immediately after executing the command:     Fatal error: Class 'Drupal\Core\Session\AccountInterface' not found in        /home/mywebsite/mywebsite.com/core/includes/bootstrap.inc on line 63       Drush command terminated abnormally due to an unrecoverable error.                                                                                Error: Class 'Drupal\Core\Session\AccountInterface' not found in       /home/mywebsite/mywebsite.com/core/includes/bootstrap.inc, line 63   Why does it happen? How can I fix this?


I'm having trouble seeing number 3 clearly. Or rather, I'm having trouble seeing a proof. I've tested a series of numbers and it works, but I'm having trouble seeing why. Can anyone clarify?    Here is where I get confused:  I start with this log:  $$ \log_2 4^1 = 2$$  now if I raise both sides to the 2nd power then:  $$ \log_2 4^{1^2} = 2^2$$ $$ = \log_2 4^2 = 4$$ $$ = 2 \cdot \log_2 4 = 4$$  but if I raise both sides to the power of 1.5 then: $$ \log_2 4^{2 \cdot 1.5} \ne 4^{1.5} \ne 8$$

What is the proof for the power rule for logarithms? And are there different ways to prove it?


I'm currently studying abstract algebra,rings and fields specifically(entry level stuff,homomorphisms,ideals,quotients,cyclic groups to name most of them)  I am looking for a book focused around solved problems,to practice.Any recommendations?  Thanks in advance

I am currently self-studying abstract algebra from . In that background, I am looking for a problem book in a spirit somewhat similar to  so that I have a lot of problems to solve.


So I’m in the midst of coming to grips with mapping notation and just require some clarity. Is there anything wrong with writing $$x\mapsto\frac{1}{x}$$ Because from my understanding, I understand that for this mapping to describe a function, we would need to specify that $x\neq0$, which we could then write as $$f:x\mapsto\frac{1}{x},x\neq0$$but assuming we’re not looking to describe the mapping of a function, is there anything wrong with the first expression?  The reason for my question is because I know that a mapping and a function are not the same thing, but we can use one to describe the other. Any responses are appreciated.

I wonder if there is any difference between mapping and a function. Somebody told me that the only difference is that mapping can be from any set to any set, but function must be from $\mathbb R$ to $\mathbb R$. But I am not ok with this answer. I need a simple way to explain the differences between mapping and function to a lay man together with some illustration (if possible).  Thanks for any help.


If you read the question entirely, it is not a duplicate. The first time I asked the question, I already gave the link to the similar question and explained why the answer is not satisfying. If you read well the answer, it starts by stating that it is a well known fact that the product of CW complexes is a CW complex, exactly what I don't want.  In a few references I have been looking at (even ), everytime the proof of:  Let $X,Y$ be CW-complexes and let $f:X\rightarrow Y$ be a cellular map, then the mapping cylinder $M_f$ has a natural CW-complex structure,  comes up, there is a hidden argument such as the pushout of two CW-complexes is a CW-complex or other technical arguments which are not clear. Does someone know/can find a neat proof of this, without using implicitly any other major results about CW-complexes?  Thanks a lot,   N.   What I have done:  We want to show that $M_f$ is a CW-complex:  $$\require{AMScd} \begin{CD} X @>{f}>> Y\\ @Vi_0VV @V\hat{\iota}VV \\ X\times I @>\widehat f>>M_f, \end{CD} $$ with $M_f=Y\sqcup_f(X\times I)$.  I started by constructing a CW-decomposition of $X\times I$ by using the CW-decomposition $\partial I\subset I$ of $I$. That is, given a CW-decomposition $X_0\subset X_1 \subset \cdots $ of $X$: $$\partial I \cup X_0\subset \partial I \times X_1 \cup I\times X_0\subset\ldots \subset \partial I \times X_n \cup I\times X_{n-1}\subset \ldots,$$ unfortunately, I get stuck very soon. Hope someone will be able to help me from there on.

If $X,Y$ are CW  complexes and $f$ a cellular map from $X$ to $Y$, is it true that $M_f$ is a CW complex?


I have created a website however i have left preventing injection last because its what i have found most challenging.   Im now at the point where i need to convert all my quires which contain a variable or '$_GET' to a parameterised queries.   Here is an example of a couple of my queries :  SELECT   $storename = urldecode($_GET['name']); $ress = $conn->query("SELECT * FROM pages WHERE storename = '$storename'"); $page=$ress->fetch_array();   DELETE  if(isset($_GET['del'])) {     $id = $_GET['del']; $category = str_replace(".png","", $_GET['category']);   $SQL = $conn->query("DELETE FROM categories WHERE id='$id'");  $SQL = $conn->query("DELETE FROM categories WHERE category='$category'"); }   I have watched loads of tutorials read loads of post explaining this, however i am completely stuck with it, if anyone does not mind showing me how to prevent injection with these 2 queries that would be greatly appreciated. I could then look at how you have done it and apply this to other queries across my site.   Thankyou for any help

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I am wonder what is the better choice for multiple options.  For example consider the following case.  I have main section Web Develepment  And there are several options for this section.   Frontend  Backend SPA API   So what will be better ? As I've mentioned above or    Frontend Development Backend Development SPA Development API Development    I would be grateful for any help

I have an eCommerce based on Opencart, but I have some doubts about how many times I can repeat the same word.  For example, the keyword is present in the title, description, h1, h2 and is repeated several times in the text:   Page Title: Shop Iphone other keyword Page description: Shop Iphone other keyword   (and they continue appearing below)   H1: Shop Iphone other keyword H2: Shop Iphone other keyword 10 more times in the text: Shop iPhone   I mean, if Googlebot sees the same WORD 30 times, can it be considered SPAM? Can I lose something or can I use keywords a lot?  In WOORANK I saw my review and I noticed that I need to improve my keywords, and a lot. I have some keywords like: payment, description, promotion, sales... keywords really "empty"  [ UPDATE ]  Can repeating keywords make them lose importance?


I was looking at the papers and saw 'The Government suffered a humiliating defeat.'  It just felt wrong and I seem to recall it should be 'an' humiliating defeat, although I'm not certain.  I had a search but couldn't find anything.   Please could someone explain why it is one or the other.

A basic grammar rule is to use an instead of a before a vowel sound. Given that historic is not pronounced with a silent h, I use “a historic”. Is this correct? What about heroic? Should be “It was a heroic act” or “It was an heroic act”?  I remember reading somewhere that the h is sometimes silent, in which case it’s an, and when the h is pronounced, it’s a. But then I also remember reading that it depends on which syllable is stressed. And I also think I read somewhere that it might differ between British and American English.  Personally, I pronounce the h, and believe that a is correct. I find that it sounds incorrect to use an and pronounce heroic without the h.  So how do I know when to use a and when to use an with a word beginning with the letter h? Are both acceptable or is there one that is correct?


Whenever I try to install wine this is what I get:       galien1@galien1-desktop:~$ sudo apt-get install wine   [sudo] password for galien1:(Password)   Reading package lists... Done Building dependency tree        Reading state information... Done   Package wine is not available, but is referred to by another package.   This may mean that the package is missing, has been obsoleted, or   is only available from another source  E: Package 'wine' has no installation candidate   galien1@galien1-desktop:~$     I don't know how to get wine!?!?!?!

I am looking for a step by step instruction to guide me in the ways of installing, configuring and debugging many of the issues new users have when dealing with Wine in Ubuntu.  What is the recommended way of installing Wine, some of the key issues that it has and how to solve them?  If I have a specific problem with an App in Wine, how do I go about solving it? What are the recommended steps to ensure that I can fix a problem related to an app I wish to use?


Suppose I want to make a change  I want to change the interfaces ( battery status bar time display and username) to the left side  So how can we edit them. How are they programmed?  What programming language is used to built the interfaces?

Where are the files for the desktop or the interface that appears on the screen stored? And how can we edit them. How are they programmed?  What programming language is used to built the interfaces?


This question has been on my mind for quite some time. I don't really have in-depth knowledge about singularities, but from what I understand they rupture the spacetime and they are hard/impossible to describe in a scientific way, because you are dealing with infiniteley dense objects in an infinitely small point. Somehow it seems reasonable to me to assume, they don't exist to avoid all this trouble. As I understand it, one way that a singularity forms is by a massive star collapsing to a single point under its own gravity. But that's just how the collapsing star experiences it, right? For the outside world, this never happens because time slows down more and more as seen from the outside. So the singularity is never finished and hence does not exist. All we see, are objects that are endlessly becoming singularities, so the math is still finite. No more headaches. What are your thoughts on that?

One thing I know about black holes is that an object gets closer to the event horizon, gravitation time dilation make it move more slower from an outside perspective, so that it looks like it take an infinite amount of time for the object to reach the event horizon. It seems like a similar process should slow the formation of the black hole itself: As the star collapses, its gravitational time dilation make itself collapse more slowly. This make me wonder, are what astronomers claim to be black holes really black holes, or are they stars that progressively make themselves more similar to one without actually reaching the stage of having an event horizon?  EDIT: Contemplating one answer, I realize the question is ambiguous. What does finite time mean in general relativity. Here is a less ambiguous question: Is there a connected solution of 3+1 dimensional general relativity with one space-like slice not have a singularity, and another space-like slice having one.


How do you get a non-italic pound sign? (£)

I know what my symbol or character looks like, but I don't know what the command is or which math alphabet it came from. How do I go about finding this out?


I have a newcommand defining a special paragraph (it's for a cheatsheet document):  \newcommand{\command}[2]{#1~\dotfill{}~#2\\}   I'm using it in the document in the following way:  \command{A}{Desc A} \command{B}{Desc B} \command{C}{Desc C}  Other section of my doc.   This code generates me a warning on line with \command{C}:  Underfull \hbox (badness 10000) in paragraph at lines <n>--<m>   I understand it's because this line is followed by a blank line.  So one solution I found to avoid this warning is to change my definition to:  \newcommand{\command}[2]{#1~\dotfill{}~#2}   (without the new line). And use it the following way:  \command{A}{Desc A}\\ \command{B}{Desc B}\\ \command{C}{Desc C}  Other section of my doc.   But I find it's not super clean, is it a way to do it automatically?   In fact, I want \command to act like a paragraph.

What is the difference between \par, \newline, \\ and blank lines? When should I use which one?


I installed Ubuntu using the Windows Installer (Wubi).  When I start my computer and select Ubuntu, my screen goes black and I see a blinking cursor at the top left of the screen. I have waited an hour, but nothing happens.  I have tried restarting the computer multiple times, but the same thing always happens.  Windows works fine though.  I am trying to use Ubuntu 12.04 LTS.  I also tried to install Ubuntu using a USB drive, but it would hang during the initial start-up.  It would print "voltage table 0x50 unknown" and freeze.  Can anyone tell me what I am doing wrong?  I need Ubuntu for work.

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


I have a problem with my file system as I cannot write or edit files in root folders like etc, opt, var etcetera.  I tried using sudo nano /etc/apache2/apache2.conf and after that I used sudo su to become root. But still I could not write.  It says   Error writing /etc/apache2/apache2.conf: Read-only file system

The title might not be as descriptive as I would like it to be but couldn't come up with a better one.  My server's file system went into Read-only. And I don't understand why it does so and how to solve it.  I can SSH into the server and when trying to start apache2 for example I get the following :  username@srv1:~$ sudo service apache2 start [sudo] password for username: sudo: unable to open /var/lib/sudo/username/1: Read-only file system  * Starting web server apache2                                                                                (30)Read-only file system: apache2: could not open error log file /var/log/apache2/error.log. Unable to open logs Action 'start' failed. The Apache error log may have more information.   When I try restarting the server I get :  username@srv1:~$ sudo shutdown -r now [sudo] password for username: sudo: unable to open /var/lib/sudo/username/1: Read-only file system   Once I restart it manually it just start up without any warning or message saying something is wrong.  I hope somebody could point me into the right direction to resolve this issue.


$$\int_{0}^{\pi/4}\ln(1+\tan x)\,dx \\$$   using $$\int_{0}^{a}f(x)\,dx = \int_{0}^{a}f(a-x)\,dx \\$$  I got up to $\int_{0}^{\pi/4}\ln(2)-\ln(1+\tan x)\,dx \\$ but I'm not sure how to integrate this  Thanks in advance

Possible Duplicate:          I am a bit stuck here in evaluating the following integral:$$\int_{0}^{1}\frac{\log(1+x)}{1+x^2}\,\mathrm dx$$.Your help is appreciated.


How would I prove that for all elements of a set {n | n ∈ ℕ ∧ n > 7} (all natural numbers greater than 7), there are multiples of 3 and 5 which, when added up, are equal to that element of the set?  A := {n | n ∈ ℕ ∧ n > 7} ∀ n ∈ A: n = x*3 + y*5   I do understand why this is true:   8 = 1*3 + 1*5 9 = 3*3 + 0*5 ...  15 = 0*3 + 3*5   and this pattern repeats once 16 is reached, as 8 can be replaced with 1*3 + 1*5, so I'd basically have to add 1 to x and y for every time 8 fits in n.  I am however not sure how I can formulate this mathematically correct.  Thanks in advance, CrushedPixel

I want to determine the set of natural numbers that can be expressed as the sum of some non-negative number of 3s and 5s.  $$S=\{3k+5j∣k,j∈\mathbb{N}∪\{0\}\}$$  I want to check whether that would be: 0,3, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, and so on.  Meaning that it would include 0, 3, 5, 8. Then from 9 and on, every Natural Number. But how would I explain it as a set? or prove that these are the numbers in the set?


I found this question in Conway, and really have no idea how to answer it.  Can anyone provide any hints?     For each integer $n\geq 1$ determine all meromorphic functions on $\mathbb{C}$ $f$ and $g$ with poles at $\infty$ such that $f^n+g^n =1$.

Let $f$ and $g$ be entire functions such that $f^n+g^n=1$, where $n\geq 3$ is an integer. Prove that $f$ and $g$ are constant.  I suppose I should somehow prove that either $f$ or $g$ is bounded so that I can apply Liouville's Theorem, but I don't see how. I tried setting the derivative of the left hand side equal to zero and work with that but that did not seem to work.


The How To Ask page is written for Stack Overflow only. If the community desires to edit its How to Ask page to be better adapted to its site, can they?   I asked it  but got no answer.

After rolling it out to the International Stack Overflow sites last week, we're rolling out the new ask page to the whole network today. The new page was designed with the goal of helping new askers by more readily presenting them with tips on how to improve their question. This is a combination of the "Ask a question wizard" (that was tested on Stack Overflow) and the current standard "ask a question" page. You can read more about it . The /questions/ask/advice page has been replaced by a new modal for first-time askers, and the flow is now broken down into two steps: drafting the question, and reviewing the question — so no more random warnings triggering when you switch from the tag to the title field, while others only show up if you actually try to post. And as the blog post notes, there's also an informational modal at the end, so new askers know what to expect once they've asked their question. Enough words, here's what it looks like... (click on the images to see the larger versions) Welcome modal for new askers:  Drafting a question:   Reviewing a question, with errors (shown inline) and warnings (shown on the right side):   Reviewing a question, without errors:  What's per-site customizable, and what's the procedure to get it live? As you can see, any existing custom guidance on "How to ask," "How to tag," or any custom error or warning messages your site may already have in place will still be there, and will still be customizable with the same restraints (basic HTML, using paragraphs, lists, links) as before:  The "welcome modal" for new askers (seen with the default text in screenshot 1), everything between the title and "Before you post..." (this is only custom on 4 sites at the moment, ). The full contents of the "Draft your question" sidebar (seen with the default text in screenshot 2, and with custom text in screenshot 3). The text in the tag popover, between "Tags help the right people..." and the bullet points (seen with custom text in screenshot 2, and with the default text on screenshot 3). The above three have no character limits, aside from "within reason." The placeholder text in the title field (text only; seen with the default text in screenshot 2, and with custom text on screenshot 3). The warning text shown in the "Review your question" sidebar, regex-based (seen with the default text in screenshot 4, and with custom text on screenshot 5). Tag-related error messages and warnings, regex-based (seen with custom error text in screenshot 4, with the default text on screenshot 5,  and with a tag warning ). The warning and error messages described in the two bullet points above have a limit of 1000 characters.  These can only be edited by staff, so the process to get them live is as described :  Create a Meta post on the appropriate Meta site, and discuss it with your community. Once a consensus is reached, a mod should escalate it to the CM team. Generally speaking, the "contact us" form is the best way to go, though a ping in chat can sometimes work too (the most that could happen is we ask you to use the form). Unless there are any outstanding issues, the CMs should be able to get to it Soon™.   This has been live on Stack Overflow for a while now, and like I mentioned at the beginning of the post, we're rolling this out to the rest of the network now. If you have any questions or see anything that has broken on your site, please let us know — we'll be actively monitoring and responding to this post until March 10th. After that, if you have a bug or specific request, start a new post and tag it with  and  or  :)


First, i initialized my ArrayList to null, then I tried to initialize it with a String, but it doesn't overwrite the String. Now I initialize my ArrayList with another ArrayList containing a String and it works, can someone explain it? (implementation is done in java)

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?


Quick question about structs... I have a struct, lets pretend it looks like this:  struct myStruct {      public int x, y; }   And then I make a list filled with that struct  List<myStruct> myList = new List<myStruct>;   And then later I loop through the list and I want to change the value of x...  for(int i=0; i<myList.Count; i++) {       ...//do stuff to x       myList[i].x = newX; }      Cannot modify the return value of 'List<myform.myStruct>.this[int]'   because it is not a variable   Can you please clear up any confusion I'm having as to why it's not letting me change the value of x.

I have a list of structs and I want to change one element. For example :  MyList.Add(new MyStruct("john"); MyList.Add(new MyStruct("peter");   Now I want to change one element:  MyList[1].Name = "bob"   However, whenever I try and do this I get the following error:     Cannot modify the return value of   System.Collections.Generic.List.this[int]‘ because it is not   a variable   If I use a list of classes, the problem doesn't occur.  I guess the answer has to do with structs being a value type.  So, if I have a list of structs should I treat them as read-only? If I need to change elements in a list then I should use classes and not structs?


In my country (Zambia) I hear adverts saying, "Our offices are along X Road". Is this correct? Should it not be on X Road? Along implies motion, like "driving along the road". unless the buildig covers the entire stretch of the road, like trees (There are trees along X Road).

Possible Duplicate:          I am always confused with the prepositions to use when indicating an event happening at a place. Should I use "at" or "in" or "on"?  For example:     We had our dinner at the McDonalds at/in the shopping centre at/on Sixth   Avenue.   The McDonalds restaurant is in the shopping centre. The shopping centre is located at Sixth Avenue. So am I right to say "the McDonalds in the shopping centre at Sixth Avenue"?  Now, what if it was a street instead of an avenue? Say for example:     We had our dinner at the McDonalds at/in the shopping centre at/on Coral Street.   Here, somehow, I find it natural to say "the McDonalds at the shopping centre on Coral Street".  How do I determine the right prepositions to use? And how would the different prepositions give different meanings to the sentence?


I was on the Stack Overflow Blog and came across a . I thought let me just mark it as spam. But, hmm, where's the spam button? Came here, was writing the title and saw the  about it. But, do you expect a user to send an email everytime they see a spam? Seriously? Why not add a 'flag' button instead?

I was peacefully reading the Gaming.SE blog, when suddenly, GASP I . I diligently look for a way to get rid of it... but found none. , so I'm doing a feature request. Ah, also, if someone is kind enough to remove that spam, thanks! D:


I am building a site using drupal 7. I created a node form for users to write content and upload images (using the core image field).  Is it possible to let users to upload images of 5-10 MB (and more), and immediately reduce the weight of the image to only 1 MB, and only then save it on my Drupal site?  My goal is that user will be able to upload any image size they want, but still save space on my Drupal site.

I have a Drupal 7 site that allows users to upload pictures of themselves.  While the pictures aren't using much space on the server's filesystem now, I am worried that if my membership grows substantially I will have to add more space to cover all the images.  Right now, I allow users to upload images up to 10 MB in size.  I want to leave this limit high if possible because many of my users are not technically skilled and they do not know how to resize their images.  At the same time, the largest resolution that will be used on the site is 1024x1024.  So, I have configured the core image field to automatically scale down the images to 1024x1024.  This significantly reduces the file size.  Are there any other ways to automatically reduce the size of uploaded images?  Please note that I am talking about the original files, not image styles.


What is the best practice writing simple site config file based on ServerName with HTTPS permanent redirect?   Do I need to check mod_ssl each time I redirect? Can we just use one common <VirtualHost *:*> block to solve HTTPS redirects?   <IfModule mod_ssl.c> <VirtualHost *:443>         ServerName example.com          ServerAdmin webmaster@localhost         DocumentRoot /var/www/html          ErrorLog ${APACHE_LOG_DIR}/error.log         CustomLog ${APACHE_LOG_DIR}/access.log combined          SSLCertificateFile /etc/server/fullchain.pem         SSLCertificateKeyFile /etc/server/privkey.pem         Include /etc/server/options-ssl-apache.conf </VirtualHost> </IfModule>  <VirtualHost *:80>         ServerName example.com          ServerAdmin webmaster@localhost         DocumentRoot /var/www/html          ErrorLog ${APACHE_LOG_DIR}/error.log         CustomLog ${APACHE_LOG_DIR}/access.log combined          <IfModule mod_ssl.c>                 RewriteEngine on                 RewriteCond %{SERVER_NAME} =example.com                 RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]         </IfModule> </VirtualHost>

This is a  about redirecting from http to https in Apache Related:     I have an Appache web server which serves both http://example.com/ and https://example.com/. I want to redirect all http requests to https. Currently I'm using this .htaccess rule to redirect http requests to https. RewriteEngine On RewriteBase / RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}   It's working as expected for example.com but the same rule is not working for sub links, when I access existing links, like example.com/about it will still load in http, no redirection happens for existing links. How can I make Apache redirect all http requests to https?


I recently installed cairo-dock-core package from Ubuntu software center.  I played with it for a while and concluded to delete it completely.Then, I uninstalled it from Ubuntu software center itself.  To check that it was completely removed I typed in terminal, the name of the package cairo and checked that if anything related was left.  To my surprise, I found cairo-dock-session. I then tried removing it but didn't succeed.

I've searched the net for such information and found different command lines, like these ones:  sudo apt-get remove application sudo apt-get remove application*  sudo apt-get remove --purge application sudo apt-get remove --purge application*  sudo apt-get purge application sudo apt-get purge application*   So, what is the correct way? Is it necessary to use that "*"?  After that, I also found these commands:  sudo updatedb sudo locate application sudo rm -rf (file/folder name)


this is my first electronics project that i am doing so my understanding is pretty basic. I am using an ESP8266 connected to a L293D motor driver to power a bipolar stepper motor. The issue I am having is the pin connections.    This is the microcontroller that i am using. It has 9 GPIO pins at 3.3V.    This is the driver I am using.  My first question is whether I can use the 3V out of the micro controller to power the EN pins? On the data sheet, on Recommended Operating Conditions, the High-level input voltage is a minimum of 2.3V so I guess this would be ok?  Secondly, I am trying to drive a 12V bipolar stepper motor so I am unsure whether I would need to use a second motor driver due to the lack of available pins on the driver.

I'm pretty new to electronics. I'm using an Adafruit ESP8266 microcontroller connected to a L293D motor driver to power a bipolar stepper motor. I'm struggling to understand the various voltage levels throughout the circuit. For example, the datasheet for the L293D has a supply voltage VCC1 ranging from 4.5V to 7V. However the high-level input voltage has a minimum voltage for a logical true of 2.3V. The microcontroller can supply 3.3V. So does that mean i can connect the microcontroller to the L293D, but i would need some other voltage supply connected to the L293D as well that would be in the range of the supply voltage?  Also, the motor requires 12V to run. How do i control the output voltage on the L293D? Do i need to use a voltage regulator or level shifter on the output? Thanks


I know $p_a(A) = 0$ so $A^n = 0$ and since $A^{n-1} \neq 0$ so there exist y such that $A^{n-1} y \neq 0$ . The hint says dimension of nullspace of A is 1 and up to a constant multiple there is only one eigenvector for A, which I do not understand how to prove. Thanks

Suppose $T$ is in $L(V)$, $m$ is a positive integer, and $v$ in vector space $V$ is such that $(T^{m-1})v \neq 0$, and $(T^m)v = 0$. Prove that  $[v, Tv, T^2v, ... , T^{m-1}v]$  is linearly independent  I get that $(T^j)v \neq 0\ \forall\ j < m$. Additionally, since $T$ is nilpotent, $V$ has a basis with respect to which the matrix of $T$ has $0$s on and below the diagonal. However, I'm not sure if these can be used to show linear independence or if they're even relevant to the problem at all. Any help is appreciated!


I have multiple html elements on the view that are loaded with the ajax call. These html elements depends on javascript files that i have included. It is working properly when loaded without ajax but when i load it with ajax it stops working.    jQuery(document).on('submit','form#hc',function(e){     jQuery.ajax({                     'url' : baseUrl+'manage-function',                     'dataType': 'json',                     'type' : 'post',                     'data': {formData : formData},                     success:function(response){                         jQuery('.function_div').html(response.html);                     }                  }); });

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


I have attached a screen shot of no light passing through the window. The light strength is high, and the glass material I think is good. Why is there not a pinch of light passing or traveling inside the room. In the image the window glass is all black. What is missing in my nodes, so that light can travel inside the room?

My model has a clear plastic (or glass) dome with objects inside.  The objects appear dark.  I've tried the glass shader with color 100% RGB, with very small IOR, and using just a refraction shader.    I know Cycles has problems with caustics, but I just want broad illumination to fall clean through the glass.  The light-to-column path can ignore refraction, but is blocked or tremendously attenuated. The camera-column path needs refraction, and seems to work fine anyway.  This demo image offers all optical paths of interest:   light upon object, seen directly light upon object, seen through glass (looks okay) light through glass onto object, seen directly. This is the shadow on the lit side of the column just below the glass tubing.  I expect full illumination, but there is shadow.  There is some light, but it's diffuse light from the floor. light through glass onto object, seen through glass. This     I did at one point try non-progressive rendering, and find extremely coarse light where there shouldn't be shadow, but this is not a practical way to make nice images. I've even tried cranking up certain sampling settings to many thousands, but still get bad noise though less, at the cost of long render times. I  would like to finish my creations sometime before "Star Trek, the Generation After the Next" becomes real life, if you know what I mean.  The next image is an example. I think Transmission in Sampling was 5000, but not sure.    I'm using Cycles in Blender 2.67 on a quad core Linux machine, 16GB RAM. Machine limits have never been a problem for 3D rendering.  Possibly, I screwed up some setting when I made my startup file, and just need to fix it. OTOH maybe this is just a limitation of path tracing, or of the way Cycles does it. If that's the case, what to real-world Blender artists do when they need to produce images on a budget and schedule?  What is the practical real-world fix?


How do muggle-born students have money to go to Hogwarts? It's very expensive, and if neither of the parents were wizards they wouldn't have money for the wizarding world.

Hogwarts is modeled on English private schools like Eton. If Hogwarts is a "private school" where do the students go who either can't afford it or don't get in?


I have created a workflow in sharepoint designer 2013. This workflow is a list workflow. When I create a new item in this list, the workflow starts automatically. But I can also start the workflow manually. When the workflow starts and I go to the workflow status, I can see that it is canceled. When I go to the error I see this message:     RequestorId: a5c1657a-aaa8-640e-b588-cbefd361c14b. Details:   System.ApplicationException: HTTP 401   {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPRequestGuid":["a5c1657a-aaa8-640e-b588-cbefd361c14b"],"request-id":["a5c1657a-aaa8-640e-b588-cbefd361c14b"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;   RequireReadOnly"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"Cache-Control":["max-age=0,   private"],"Date":["Fri, 31 Jan 2014 11:17:27   GMT"],"Set-Cookie":["WSS_KeepSessionAuthenticated={95337939-7514-4a90-952f-54611a074606};   path=/"],"WWW-Authenticate":["NTLM"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}      at   Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext   context)    at   System.Activities.CodeActivity.InternalExecute(ActivityInstance   instance, ActivityExecutor executor, BookmarkManager bookmarkManager)    at   System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor   executor, BookmarkManager bookmarkManager, Location resultLocation)   Does someone know what is going wrong? I created a new workflow with just 1 simple activity. It also gives this error. So it is not something in the workflow.  UPDATE  I logged in on my dev machine with another user (not the farm admin). Now I got another error (http 500). When I change the workflow with some activity which is changing some column value in the list item it works fine without any errors. When I add an email activity I got this 500 error.  RequestorId: a0caad2f-0745-2d96-327a-071967e2548d. Details: System.ApplicationException: HTTP 500 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["319"],"SPRequestGuid":["a0caad2f-0745-2d96-327a-071967e2548d"],"request-id":["a0caad2f-0745-2d96-327a-071967e2548d"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"Cache-Control":["max-age=0, private"],"Date":["Fri, 31 Jan 2014 15:13:28 GMT"],"Set-Cookie":["WSS_KeepSessionAuthenticated={95337939-7514-4a90-952f-54611a074606}; path=/"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem  ps. I have check the user profile service application and did a full sync. It doesnt help.

I have a problem when I try to start a Workflow 2013 in SharePoint Server 2013. I believe the error is related with permissions, but I cannot be sure.  Here is the error message in the log:  RequestorId: ef9edb7c-cc3d-5e10-3681-eada907596a4.  Details: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPRequestGuid":["ef9edb7c-cc3d-5e10-3681-eada907596a4"],"request-id":["ef9edb7c-cc3d-5e10-3681-eada907596a4"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Thu, 31 Jan 2013 16:36:44 GMT"],"Server":["Microsoft-IIS\/8.0"],"WWW-Authenticate":["NTLM"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}  The HTTP response content could not be read.  'Error while copying content to a stream.'. at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem   The question is: What permissions do I need to configure in SharePoint for the WF publisher and the WF manager service account?  I’ve set a WF Manager service account named “wfservice” (this account is a local admin and has the sysadmin permissions in SQL Server), and I published the workflow and tested it using the account “wfuser”. Both accounts have full control permissions in the web app and are site owners, for testing WF 2013 purposes.  I’ve already done the DNS flush, as mentioned in Andrew Connell’s article, and I’m still getting an Unauthorized exception in the Item Workflow Status.  Anyone knows what’s going on? Which permissions do I need to configure?


I have multiple ac-dc adapters, one with variable voltage and the others for electronic devices. written on them they give specific voltage and current, How come? Doesn't the current change with the applied resistor?   For those adapters of electronic devices may be the resistance of the device is constant. but for that adapter I bought with variable voltages how it says it gives specific current? It says   OUTPUT: 1.5-3-4.5....V CURRENT: 500 mA

Power supplies are available in a wide range of voltage and current ratings.  If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify?  What if I don't know the device's specs, but am replacing a previous power supply with particular ratings?  Is it OK to go lower voltage, or should it always be higher?  What about current?  I don't want a 10 A supply to damage my 1 A device.


$a_n=\sum\nolimits_{i=0}^n 1/(n+i)$  I have to prove that the series converges and the limit. but i dont have a clue of how to approach it. It seems familiar to $log(1+x)$ but since $n$ is in the denominator i have difficulties to manipiulate it. Thanks in advance

What is the sum of the 'second half' of the harmonic series?  $$\lim_{k\to\infty}\sum\limits_{n=k+1}^{2k}{\frac{1}{n}} =~ ?$$  More precisely, what is the limit of the above sequence of partial sums?


I have a Sandisk Ultra 64GB card which works fine.. I used it for a few months and it never had problems  Short story: New files sometimes vanish. Deleted files sometimes reappear, and they also work as if never deleted before  Example 1: I had a full  backup.. I deleted it and created a full new one with a new name... Later I restored it without checking the name and found that I got an old one instead of the latest backup which is impossible right? No, It actually completely ignored the new backup and restored my deleted old backup  Example 2 (TODAY):    (Disk appears normal in Disk Manager as exFAT) + (Appears as unallocated in ) Connected to PC. Formatted as exFAT. (Now it appears as exFAT in all programs) Copied some files (~20GB). Left the PC for ~10m, then came back. (Copied successfully) + (All of the old formatted files are back, all new ones are not there) + (card appears normal in Disk Manager as exFAT and unallocated in MTPW)   Example 3 (today): I also tried formatting it with the format option in phone settings. Tried root apps too. Both successfully did their jobs but the SD returned the original state   In short. My SD Card has mastered time travel...  what are the potential fixes to this situation?  EDIT:  Wiped the entire sd card (fill with zeros) ... MTPW said "process complete" (even though i'm sure it didn't complete) then showed the SD as "Bad disk" until I reconnected it, now it says unallocated.. and it works in file explorer and blabla (original state)  Tried NTFS, exFAT, FAT32 ... Same thing

A week ago I started getting intermittent IO errors accessing the SD card on my rooted Evo 4g. I eventually plugged it into my windows machine and tried to format it. It appeared to work, but when I unmounted and remounted the card all the files came back. I tried formatting on my phone with the same result, and had a coworker try with the Mac diskutils suite. All the formats claimed to work, but the files came back when the card was remounted. Finally I ran dd if=/dev/zero of=/dev/block/mmcblk0; it completed, and the same thing happened again.  But here is where it gets crazy. I put a new recovery file on the sd card -- and it added the file without any issue. But now it can't be deleted, just like everything else. So I can write to the SD card, but I can't delete anything.  How can I fix this? Or if I can't, at least why is it happening?


I have this code that works:  $ array=( {100..300..100} ) $ for k in ${array[@]} ; do echo $k ; done 100 200 300   I want to parametrize the start and end points (and also the increment, because why not?) I tried this:  $ low=100 $ high=300 $ incr=100 $ array=( {$low..$high..$incr} )   But it didn't work:  $ for k in ${array[@]} ; do echo $k ; done {100..300..100}   What am I doing wrong?

How do I iterate over a range of numbers in Bash when the range is given by a variable?  I know I can do this (called "sequence expression" in the Bash ):   for i in {1..5}; do echo $i; done   Which gives:     1    2    3    4    5   Yet, how can I replace either of the range endpoints with a variable? This doesn't work:  END=5 for i in {1..$END}; do echo $i; done   Which prints:     {1..5}


I my code I have while cycle which reads from file: teams=() status=() novy=true j=0 k=0  while read line; do    name=$( echo "$line" | cut -d ":" -f 1 - )       for i in "${teams[@]}"; do     if [ "$i" = "$name" ]; then       novy=false              c=$( echo "$line" | cut -d ":" -f 3 - )       status[$k]="${status[$k]}+$c"              break     fi     k=$(( k+1 ))     novy=true   done      if "$novy"; then     teams[$j]="$name"     status[$j]=$( echo "$line" | cut -d ":" -f 3 - )     j=$(( j + 1 ))      novy=false   fi      k=0  done < ms.txt  But now I want to modify input ms.txt so I tried this: input=$( cat ms.txt )    some modifiations of input (by echo "$input" I verified that the input is in right form)  echo "$input" | while read line; do    name=$( echo "$line" | cut -d ":" -f 1 - )       for i in "${teams[@]}"; do     if [ "$i" = "$name" ]; then       novy=false              c=$( echo "$line" | cut -d ":" -f 3 - )       status[$k]="${status[$k]}+$c"              break     fi     k=$(( k+1 ))     novy=true   done      if "$novy"; then     teams[$j]="$name"     status[$j]=$( echo "$line" | cut -d ":" -f 3 - )     j=$(( j + 1 ))      novy=false   fi      k=0  done  But now the code doesn't work, I don't know why. The while cycle doesn't read the input same as before and it prints some errors.

Why do I get different values for $x from the snippets below?  #!/bin/bash  x=1 echo fred > junk ; while read var ; do x=55 ; done < junk echo x=$x  #    x=55 .. I'd expect this result  x=1 cat junk | while read var ; do x=55 ; done echo x=$x  #    x=1 .. but why?  x=1 echo fred | while read var ; do x=55 ; done echo x=$x  #    x=1  .. but why?


Since I didn't get an answer for this question, I ask now, does there exist a function whose:  limit as x approaches infinity is greater than 1, whose local or absolute minima is 1, and whose integral from 0 to infinity converges

Does there exist a function whose local or absolute minima is greater than 1 such that its integral from 0 to infinity converges?


Are three times that I format my notebook, and I play on Nexuiz online. And I need what is the best driver for target device video GeForce Gt 220M. I use Lubuntu 64 bit:  uname -a Linux mrk 3.16.0-28-generic #38-Ubuntu SMP Fri Dec 12 17:37:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux   This is the image that there are 5 options:    I have the driver that is checked how in image and with this question, I want to know, which is the better driver for fast "reproduction video"?  Update: Ok I compile ubuntu-drivers devices and the result is:   ubuntu-drivers devices == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 == vendor   : NVIDIA Corporation modalias : pci:v000010DEd00000654sv00001043sd00002039bc03sc00i00 model    : G96M [GeForce GT 220M] driver   : nvidia-304-updates - distro non-free driver   : nvidia-331-updates - distro non-free driver   : nvidia-331 - distro non-free recommended driver   : xserver-xorg-video-nouveau - distro free builtin driver   : nvidia-304 - distro non-free   Then what is the better because I not understand distro or free or non-free

I have NVIDIA Geforece 7025 / nForce 630a integrated gfx card on my UBUNTU 12.04.And I have 4 options in Additional drivers:    NVIDIA accelerated graphics driver (version 173)   NVIDIA accelerated graphics driver (post-release updates)(version current updates)  NVIDIA accelerated graphics driver (version current)[Recommended]  NVIDIA accelerated graphics driver (post-release updates)(version 173 updates)   I am currently using the First option.  My Problem is there I can't update the version 173 to the latest version of drivers using xswat PPA. Whenever I do it and reboot but the NVIDIA xserver sttings always shows me the same version.  Which option would allow me to update my drivers to the current version?


Windows 10 has been autostarting calculator, weather, movies & tv, store, xbox, and photos usually after login. It isn't in the task manager autostart list or in the task scheduler. Any help is appreciated.    Some of the processes are outlined. They do not appear in the taskbar below.

Occasionally Task Manager shows that "Store", "Settings", and/or "Calculator" are mysteriously running as background processes.   There's no corresponding foreground application, just the background processes. I haven't interactively run either during the current session. Neither is listed in the "Everything" tab of .    As discussed in  to , these two background processes cause a delay in executing Windows shortcut keys. But besides that, it's just plain weird.   Does anyone know why these foreground apps are mysteriously launching themselves as background processes?   And, ideally, how I can prevent it from happening? As discussed elsewhere ( and ), I could uninstall the Calculator and Store apps. But it seems like overkill to uninstall them just to defeat a shortcut key delay.


Working with a nontrivial ring with unity, the set S of all the invertible elements in a ring is a multiplicative group.   So this is saying the invertible elements(or units) make a group that is closed under multiplication. So should I assume to have some invertible elements from my ring and show they are equal to 1? Then multiply the elements together to show the group is closed?  Let $a,b \in R$, where $R$ is a nontrival ring. $a$ and $b$ are invertible, thus for some $c$, $a\cdot c = c\cdot a =1$ and $b\cdot c =c\cdot b =1$. So $(a\cdot c) \cdot (b\cdot c) = 1\cdot 1 = 1$ thus $R$ is closed?

I am presented with the following task:     Show that if $U$ is the collection of all units in a ring $\langle R, +, \cdot\rangle$ with unity, then $\langle U, \cdot\rangle$ is a group.   I am still not confident with proofs in Abstract Algebra, and I'd like to receive some verification/slaughter/constructive critique on my reasoning here. I do not know if there are any mistakes, or how serious they are.     We know that there is an identity element, since the unity itself is a unit, and therefore in the group. It follows directly from the definition of a unit that there exists an inverse for every element in the group, and associativity follows directly from the Ring-axioms. As for closure, we need to show that the product of two units is also a unit. Let $a, b \in U$ be two elements with the property that $a\cdot b \ne e$, where $e$ is the identity element in $\langle U, \cdot \rangle$. We know that there exists elements $a', b' \in U$ with the property that $a' \cdot a = e = a' \cdot a$ and $b' \cdot b = e = b \cdot b'$. Let $a', b'$ be two such elements with the property that $a' \cdot b' \ne e$. We may now compute $(a\cdot b) \cdot (a' \cdot b')$, and from the Ring-axioms we have associativity under multiplication, so we may write the expression as $a \cdot (b \cdot a' \cdot b') = a \cdot (b \cdot b' \cdot a') = a \cdot (e \cdot a') = a \cdot a' = e$. Thus we have shown that the product of any two elements is a unity, which leads to closure. All the group-axioms are met and $\langle U, \cdot \rangle$ is a group.    I have to apologize if you find the argument needlessly long; I've been having some trouble with assuming things I am not supposed to assume (like what I'm going to prove), so I wanted to stay clear of that.


When you go to add a comment, the hint doesn't disappear if you're using touch gestures tap the "add comment" link. Not sure why this isn't using HTML5 hints instead, as that'd work (assuming that you're up to some browser sniffery).

If I click "add comment", the comment hint (placeholder; "Request clarification or add information.") is not a hint, but editable text. If I delete the text and click outside of the comment then the hint appears as it should and when I click back into the comment box the hint disappears as it should.   I am on Internet Explorer 10.0.7.  Am I just oblivious and this is how it has always been (having to delete the comment hint), or is this a bug?


The limits are not different. The first form is just a indeterminate limit of the kind $\frac00$, this mean that you need some manipulation to get the value for this limit.   App Version: 1.5.0.3 Device: iPhone 5 (GSM) OS Version: Version 9.3.2 (Build 13F69)

Thanks for .  My one gripe I do have is that rendering is disabled in comments unless you use this interface.    Can we please have rendering by default. Pretty please.


AFAIK, C++ offers destructors for primitive types for consistency reason. But that doesn't work for bool type.  bool*   vptr; vptr->~bool();  // Error. "Expected a class name after '~' to name a destructor"  int8_t* vptr; vptr->~int8_t(); // No error.   What's wrong with my code? Here's my compiler version.  Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix

In C++ the following code gives a compiler error:  void destruct1 (int * item) {   item->~int(); }   This code is nearly the same, I just typedef the int to another type and something magic happens:  typedef int myint;  void destruct2 (myint * item) {   item->~myint(); }   Why does the second code work? Does an int get a destructor just because it has been typedefed?  In case you wonder why one ever would like to do this: This comes from refactoring C++ code. We're removing the standard heap and replacing it with selfmade pools. This requires us to call placement-new and the destructors. I know that calling destructors for primitive types is useless, but we want them in the code nevertheless in case we later replace PODs with real classes.  Finding out that naked int's don't work but typedefed ones do was quite a surprise.  Btw - I have a solution that involves template-functions. We just typedef inside the template and everything is fine.


While linking this code:  #include <map> using std::map; #include <string> using std::string; class C { public:     static void dump() {         for (const auto& e : data) {             string(e.first);         }     } private:     static map<string,map<string,string>> data; }; int main() {     C::dump(); }   ... I get this error:  /tmp/cc4W2iNa.o: In function `C::dump()': test.cpp:(.text._ZN1C4dumpEv[_ZN1C4dumpEv]+0x9): undefined reference to `C::data' collect2: error: ld returned 1 exit status   ... from g++ (GCC) 4.9.1. Am I doing anything wrong?

Can anyone explain why following code won't compile? At least on g++ 4.2.4.  And more interesting, why it will compile when I cast MEMBER to int?  #include <vector>  class Foo {   public:       static const int MEMBER = 1;   };  int main(){       vector<int> v;       v.push_back( Foo::MEMBER );       // undefined reference to `Foo::MEMBER'     v.push_back( (int) Foo::MEMBER ); // OK       return 0; }


I am trying to join two vector layers into one, the first is a road noise barrier shapefile, the second is a vectorised DEM.  The road barriers have a relative height attribute for each section of road, one barrier passes through several DEM regions while maintaining the same relative height.   When running the intersect operation I get the following error: GEOS geoprocessing error: One or more input features have invalid geometry.  How can I fix this error or get around the problem another way to find the height of the barrier after subtracting the Local DEM.    Changing the CRS didn't solve the problem

I am working on ownership data at a US county level. I have one shapefile per county that contains thousands of tax parcels. I need to dissolve the polygons representing parcels owned by the same individual. When the shapefile is not clean, the "Dissolve" tool in QGIS doesn't seem to work, it freezes. I have to fix the geometry validity issues first using the "Check Geometry Validity" tool. However, I have sometimes hundreds of errors. It takes a lot of time to fix them manually. Is there any other strategies that could save me some time?  I am using QGIS 2.4.0.


I am using csvreader to import a csv file and display it as a table. The first column contains strings that are very long and so the column takes up most of the page, meaning the table continues off the page. Is there a way to force a cell value to continue on the next line? I don't mind if it is hyphenated  or not, but it would be great if I could specify a max length for the first column and the strings wrap if they are too long. Example code below:      \documentclass{report}      \usepackage{csvsimple}      \begin{filecontents}{test.csv}     LongString,ColA,ColB,ColC     ABCDEFGHIJKLMABCDEFGHIJKLMABCDEFGHIJKLMABCDEFGHIJKLM,12345,23456,34567     NOPQRSTUVWXYZNOPQRSTUVWXYZNOPQRSTUVWXYZNOPQRSTUVWXYZ,45678,56789,67890     \end{filecontents}      \begin{document}      \begin{table}     \csvreader[         tabular=|c|c|c|c|,         column count=4,         table head=\hline,         table foot=\hline,         no head,         late after first line=\\\hline,         respect all     ]{test.csv}{}{\csvlinetotablerow}     \end{table}      \end{document}

I am using csvsimple package to embed csv files as tables into my latex document. It looks like long cell contents break the rendering: tokens.csv: method,corpus,tokens MI,Quran,"allah, thou, thi, punish, believ, ye, thee, messeng, unbeliev, guid" MI,OT,"allah, jesu, christ, thi, king, israel, believ, thou, lord, thee" MI,NT,"jesu, christ, allah, ye, discipl, lord, thing, faith, israel, peter" CHI²,Quran,"allah, punish, believ, messeng, unbeliev, guid, beli, disbeliev, vers, clear" CHI²,OT,"allah, jesu, christ, thi, believ, king, israel, lord, thou, world" CHI²,NT,"jesu, christ, discipl, ye, faith, thing, paul, peter, lord, allah"  main.tex: \csvautotabular{tokens.csv}  Renders as  I'm assuming because the third cell has long contents (other CSV embeds with shorter cell contents are rendering properly in my document) How can I fix this? The CSV files come straight out of other programs so I'd rather not have to edit them at all, or at least not make them incompatible with standard CSV format.


I have been doing an interpolation of rainfall data using QGIS and the interpolated data has a line which make the data uneven and the isohyets are being cut at the boundary line of 180 Degrees. I know that this is due to the dateline passing through Fiji Islands but I need a fix for this so that the isohyets are not cut into two different maps Attached is a QGIS map:

I've found this map that shows the Pacific Ocean from :    I'd like to produce a similar map, for the same region of the earth and I'd like to use the same projection as I think it illustrates well the distance between the continents.  I've searched for the name of this projection, but I don't think I know the answer yet. At first I thought it was Robison but according to Wikipedia:     The Robinson projection is a map projection of a world map which shows the entire world at once.   Which doesn't seem to be the case. (Can't see Europe and Africa here.)  So, my question is two-fold: what is the name of this projection? Should I use it to illustrate what I said earlier or should I use something else?


The screenshots speak for itself. How is it possible to have 2 upvotes but only 1 view (which should be anyway my view)?      . I tried to refresh and hard refresh but the view count is still stuck at 1.  I don't think that this is a cache problem (although I have to say that I know really little on the subject) because this never happened to me on other SE sites before. Moreover, I observe the same as the screenshots on 3 different browsers and after closing/reopening the browsers.

Recently, I read this  about how they have some of their infrastructure laid out. I was curious to know, does Stack Exchange use caching (both at the application layer and/or database layer) and if so, how?


Using rowcolors causes the horizontal and vertical lines in my table to behave strangely . The second horizontal line after the first row is not visible, and the vertical line dissappears in the second row. Is there a way around this?  \documentclass[xcolor={table}]{beamer}     \begin{document} \begin{frame} \frametitle{Famous Composers} \begin{center}     %\rowcolors{1}{}{lightgray} %-- this indicates the change in odd and pair rows     \begin{tabular}{|l|c|}\hline     a & b \\\hline\hline     c & d \\\hline     \end{tabular} \end{center} \end{frame}     \end{document}

I'm using the xcolor package to colour the top row in a table. This is displayed properly using PDF viewers such as Preview or Skim (Mac). But using Adobe Reader 10.1.3 (either Windows or Mac) doesn't display the table line properly.   But removing the colouring for the table fixes it. Here is the example that works as expected:  \begin{table} \caption{Table showing Feature 5's Functional Tests} \hspace*{-0.5in} \begin{tabular}[h!]{|p{0.6cm}|p{4cm}|p{5cm}|p{4cm}|p{1.5cm}|} \hline {\bf Test ID } & {\bf Task } & {\bf Expected} & {\bf Actual} & {\bf Outcome} \\ \hline    5.1 & Something &  Something & Something &  Success \\ \hline    5.2 & Something &  Something & Something &  Success \\ \hline    5.3 & Something &  Something & Something &  Success \\ \hline    5.4 & Something &  Something & Something &  Success \\ \hline \end{tabular}  \end{table}   And here is the example with a coloured row:  \begin{table} \caption{Table showing Feature 5's Functional Tests} \hspace*{-0.5in} \begin{tabular}[h!]{|p{0.6cm}|p{4cm}|p{5cm}|p{4cm}|p{1.5cm}|} \hline \rowcolor{gray!25} {\bf Test ID } & {\bf Task } & {\bf Expected} & {\bf Actual} & {\bf Outcome} \\ \hline    5.1 & Something &  Something & Something &  Success \\ \hline    5.2 & Something &  Something & Something &  Success \\ \hline    5.3 & Something &  Something & Something &  Success \\ \hline    5.4 & Something &  Something & Something &  Success \\ \hline \end{tabular}  \end{table}   Removing the \rowcolor{} command replacing it with \cellcolor{} creates the same view. Any idea how to fix this?  I've tried printing it out of Adobe and the lines print fine, but as this will be read on as a soft copy it's pretty important. .  Any idea how to fix this?


Many articles say that "the coronavirus" — they probably speak of the SARS-CoV-2 — can "remain alive" for so many hours on some surfaces, so many days on some other surfaces. For example, "the virus lives 5 days on glass".  I think that this is a bad choice of word. All these articles speak about the virus SARS-CoV-2 as if it were a living being. But I think it is not a living being. The virus SARS-CoV-2 does not "live" on a glass surface. It just is there.  When a virus SARS-CoV-2 is on an object, what happens to it? If it is not there anymore after 5 days, why? What does time do to a virus?

Given that the majority of biologists do not currently consider viruses to be alive, a virus can never die.  It can, however, get destroyed by long exposures to soapy water, alcohol, and apparently certain frequencies of UV light.  Why is an individual SARS-CoV2 virion not infectious forever?  Or is it?


I have a habit of using the keyboard to navigate through my files and folders. I start typing the name of the file/folder I want to select in the file browser, and then hit ENTER to open it.  With Ubuntu 17.10, the file browser goes a little crazy when I start typing. It triggers some kind of searching feature, and lists all the files or folders that it finds (recursively) matching the text that I've typed. This annoys me quite a lot, I just wanted the folder in the current directory with a matching name to be selected.  Example:  I want to enter the folder "Anaconda3" from here.    So I start typing "anaco" and as I type, search results are changing quite frantically as the search criteria changes.    This is not what I want the file browser to do. I just want to select the "Anaconda3" folder, like so:    Is there any way to make the file browser act the way I want? Or should I just create a feature request at Ubuntu for it?  Cheers

I cannot find enable-interactive-search in    gsettings set org.gnome.nautilus.preferences enable-interactive-search true.     I searched using    gsettings list-recursively | grep search     and    gsettings list-recursively | grep interactive     but no such option.  Can you help me disable this in Ubuntu 17.10 and later?


When songs are used in movies, in what circumstances it is required to get permission or is it always required? For example, If a song is played in the background and used as a soundtrack for the movie/TV show, I guess it is definitely required to obtain permission from the owners. But let's say if the song is used indirectly such as playing on radio or playing on TV, is it still required to get permission. Also let's say a character from the movie or TV show is shown singing that song, is it still required to get permission in such cases?

In films like Step Up, Wikipedia shows some songs as featured songs and some songs as non-featured. Even only featured songs appear on their album. So what are those non-featured songs and what are the rules regarding the usage of non-featured songs? I mean, are movie makers free to use any song as non-featured song or are there any rules regarding it? I mean doesn't they have to pay for them?


I want to make a very minimal linux os which only have a terminal interface and basic commands/applications (busybox is my choice for commands/apps). I don't want the installation option on my os. I just want it to be booted and run completely from RAM. I'm planning to use ISO-Linux as bootloader. No networking, no virtualization support, no unnecessary drivers, etc. I want it to be very very basic os. I've downloaded the latest stable kernel (v4.5) source code from kernel.org and the build environment ready.  My one more confusion is that does a kernel by default has any user interface (shell, terminal, ...) where i can type commands and see output?

It's a question about user space applications, but hear me out!  Three "applications", so to speak, are required to boot a functional distribution of Linux:   Bootloader - For embedded typically that's U-Boot, although not a hard requirement. Kernel - That's pretty straightforward. Root Filesystem - Can't boot to a shell without it. Contains the filesystem the kernel boots to, and where init is called form.   My question is in regard to #3. If someone wanted to build an extremely minimal rootfs (for this question let's say no GUI, shell only), what files/programs are required to boot to a shell?


I am making my first 2D game in Unity and something has been bothering me. If I'm in the scene view, my game looks fine but when I go to the game view the pixels in the sprites aren't rendered correctly and everything looks distorted.   Does anyone know an answer to this?

I'm trying to make an 64x64 tilemap using Super Tilemap Editor & Unity but my tiles looks terrible. I did my research about pixel perfect 2D and all of the solutions were for pixel art, they didn't work for me.  I have the following tileset I made in Adobe Illustrator as an example    Tiles looks like this when placed in game (1x zoom)    I'm pretty sure they're not 64x64 in game, they also look pixelated probably because they're smaller than they actually are on camera.  So my question is, how can I calculate the correct camera size for 64x64 tiles and do I have to make any changes in order to make sprites look pixel perfect? I'm currently using 1080/64/2=8.4375 (vertical resolution / PPU / 2) as camera size.


I don't understand why the following code doesn't compile:  template< typename TypeArg > class Data { public:     struct Selector1     {     };      template< typename Selector >     void foo()     {     } };  template< typename TypeArg > class Test { public:     void test(); };   template< typename TypeArg > void Test< TypeArg >::test() {     Data< TypeArg > data;     data.foo< typename Data< TypeArg >::Selector1 >(); }   I have tested it with GCC 4.6 and GCC 4.9. Both give me the same error:     test.cpp: In member function »void Test::test()«:   test.cpp:28:51: Error: expected »(« before »>« token   test.cpp:28:53: Error: expected primary-expression before »)« token   Can somebody tell me what needs to be done for the code to compile?

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 would like to be able to START or RUN an external program from within the presentation by clicking a link, using PREVIEW.  Is this possible using Beamer package ? I am using Mac OS X Snow Leopard with Preview.  for example : a link to an image in my drive that allow me to start it in preview app ...   I found it but only works from within TEXSHOP not PREVIEW, here is an example :   \href[]{file:///Users/Alji/seg.jpg}{run}

I want to add a "run demo" button to a Beamer presentation (PDF file) that will launch an external Java application.  Can this be done somehow - Embed an "exec" command inside a PDF using LaTeX/Beamer?


Running the minimal example  \documentclass[12pt,twoside]{report}  \usepackage{biblatex} \addbibresource{References.bib}  \begin{document}  simple example \cite{Rn123} \addcontentsline{toc}{section}{References} \nocite{*} \printbibliography   \end{document}   where References.bib is   @article{Rn123,    author = {Rosenthal, Arnie},    title = {Computing the reliability of complex networks},    journal = {SIAM Journal on Applied Mathematics},    volume = {32},    number = {2},    pages = {384-393},    ISSN = {0036-1399},    year = {1977},    type = {Journal Article} }   I do not get any result and do not print the bibliography as in the picture   When I run the Bibtex show these errors  Note I'm using Textmaker 4.5  with MiKTeX 2.9 on Windows 10 ,   I saw a lot of lessons on Youtube and did not work with me ways to solve the problem and I saw a lot of questions here and did not find a solution.  Please help me with many thanks  this pictures of example  and textmaker option    When I use  get

Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools


I turned the camera off somehow which made it easier to catch, but can't seem to turn it back on

I have been trying to catch Pokémon this morning, and have had no luck so far. Eventually I ran into my first Pokémon, but unfortunately, the timing could not be worse.   I'm inside a kebab store, waiting for food, and let's be honest - while catching Pokémon in augmented reality is kind of cool, it certainly does not look cool to unaware onlookers. Raising my phone to locate the Pokémon, people are already looking at me funny. It also occurs to me that it may look like I am recording with my phone1, which can lead to some unpleasant misunderstandings.    Of course, there are many other situations where I would not want to be spinning around, holding my phone up. It would be convenient to turn this feature off, while still being able to play the game, even if it is a major mechanic. Sometimes catching Pokémon in real life just isn't convenient.  How do I disable the augmented reality mechanic for catching Pokémon, so I don't look like a complete idiot at inappropriate times?  1Given the context, I guess I kind of am.


I want to keep a list somewhere like this:  \usepackage{tocloft}  \newcommand{\listtodotitle}{To do} \newlistof[8]{todos}{tod}{\listtodotitle}   \newcommand{\todolist}[1]{% \refstepcounter{todos} \addcontentsline{tod}{todos} {\protect\numberline{\thechapter\thetodos} #1}}  \newcommand{\todo}[1]{\todolist{#1}\textbf{actp: #1}}  \todo{lorem ipsum}\\ % For person x \todo{dolor sit amet}\\ % For person y \todo{consectetur adipiscing elit} % For person x  \listoftodos{} % The actual printed todo list   But sort it. E.g. have the items for person x printed before person y, regardless of where they're added and a header saying "Person X" and "Person Y" above each section.  I've seen similar lists kept with floats but I'm not sure how to use those but if you have a solution using that, shoot.  EDIT: I fixed it using Ulrike Fischer's solution. Thanks a lot!

In this MWE, I made two commands to highlight parts of the text as a reviewer comment, while the comments are colored uniquely to indicate the author whose comment is typeset.  If I want to make two listoftodos, each has the comments entries of one author, how can it be done?  \documentclass{article} \usepackage{hyperref,lipsum}  \usepackage[textwidth=2.5cm,colorinlistoftodos]{todonotes} \setlength{\marginparwidth}{2.5cm}  \newcommand\stR[2]{% 1st reviewer comment     \todo[%     author=1st Reviewer,noline,caption={1st Reviewer #1 Comment},color=blue!20%     ]%     {#1 Comment}{\color{blue}{\bfseries#2}}}  \newcommand\ndR[2]{% 2nd reviewer comment     \todo[%     author=2nd Reviewer,noline,caption={2nd Reviewer #1 Comment},color=red!50!white%     ]%     {#1 Comment}{\color{red}{\bfseries#2}}}  \begin{document} \listoftodos[Reviewers Comments] \section{Section} Text \stR{2nd}{2nd comment of the 1st reviewer} another text\vspace{\baselineskip} \lipsum[1]\vspace{\baselineskip} Some text \ndR{1st}{1st comment of the 2nd reviewer} continue text \end{document}


Is it true that for vectors $x$ and $y$ in $\mathbb R^n$ $|\Vert x\Vert -\Vert y\Vert| \ge \Vert x-y\Vert $?  Can I simply use the triangle inequality $\Vert x\Vert +\Vert y\Vert \ge \Vert x+y\Vert $ to prove it even though there is a minus sign between the norms of $x$ and $y$?

I've seen the full proof of the Triangle Inequality  \begin{equation*} |x+y|\le|x|+|y|.  \end{equation*} However, I haven't seen the proof of the reverse triangle inequality:  \begin{equation*} ||x|-|y||\le|x-y|. \end{equation*} Would you please prove this using only the Triangle Inequality above?  Thank you very much.


So, i wanna keep my UV maps moving to Blender Render. Is it possible to do that?

I am admittedly new to Blender, and of course cycles. I am working on a scene and I have textures set to my objects that render with internal engine just fine. However, when I go into cycles, everything is greyish. I have two light sources that should be sufficient (I think), I just don't know what I'm doing wrong. This is a screenshot of the cycles result.


I am familiar with the physical explanation as to why microwaves heat up food: the rapidly fluctuating electric field exerts a torque on the dipole of the water molecules resulting in vibration and thus and increase in temperature.  As long as all the food in the microwave is exposed to the microwaves, why should it matter how many items are cooking at once? Is there only a finite region on which the microwaves are concentrated?  Lots of food labels contain different cook times based on the number of items you heat at once.

From my experience the microwave takes longer to heat two bowls of soup than to heat just one.  But it's not so obvious to me why this should be the case.  Each bowl of soup is a single thermally isolated system, and the same power radiates across each one, so it should take the same amount of time to heat both, no?  Edit: I'm not convinced by the below answers. The answer should depend on the specific mechanism by which a microwave works, because if we ask the same question for a stove instead of a microwave, I would guess that two soups placed on a stove top would take the same amount of time as one soup, as long as the soup bowls have the same geometry and thermal conductivity.


I am just playing around with a simple c code. I want to print all the days string in the days array pointer. However I am running to segmentation fault. The problem lies in the for loop. What am I doing wrong here. Thanks  main(){   const char *days[] = {"Sunday", "Monday", "Tuesday", "Wednesday",\                         "Thursday", "Friday", "Saturday", "Sunday"};   int i;    for(i = 0; i < sizeof(days); ++i)    printf( "%s\n", days[i]); }

How do I determine the size of my array in C?   That is, the number of elements the array can hold?


I have several regressions in my bachelor's thesis about macro economics. In the first regression one particular coefficient was significant on the 5% level. Let's call the significant coefficient C1, with ic being the intercept.  $$ Y_t = ic_t + βC1_1 + ε_t $$ This significance went away as I added another term with a dummy variable in front of the same variable. $d$ is the dummy variable, and it is only equal to $1$ in $15$% of the observations.  $$ Y_t = ic_t + βC1_t + θd_t*C1_t + ε_t $$  How do I interpret that? I thought it should be interpreted as a type I error, but my supervisor said that it shouldn't be interpreted that way, and also said I shouldn't be talking about type I/II errors, without any further explanations as to why not. I had no opportunity to ask why not either.  So how is this loss of significance supposed to be interpreted?  Edit: I was referred to another topic below, however that topic deals with introducing a completely new variable. In my case I don't see how the interpretation can still be that "holding this constant..." etc, as I am introducing a term that is essentially the same variable just in different circumstances, when d is equal to 1.  Edit2: Again, the second topic I have been referred to and had this topic marked as identical to, does not answer this question.

I have initially run a 2x2x2 Anova and found some significant interaction between the independent variables. I then ran a ANCOVA where I added a covariate. I am confused with how to interpret the output from the ANCOVA as the significant interactions that I found with the ANOVA are now insignificant in the ANCOVA.


I have this plot generated following the answers proposed .  \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document}  \pgfkeys{/pgfplots/x axis shift down/.style={     x axis line style={yshift=-#1},     xtick style={yshift=-#1},     xticklabel shift={#1}}} \pgfkeys{/pgfplots/y axis shift left/.style={     y axis line style={xshift=-#1},     ytick style={xshift=-#1},     yticklabel shift={#1}}} \pgfplotsset{every axis/.append style={semithick,tick style={major tick length=4pt,semithick,black}}}      \pgfplotsset{     range frame/.style={         tick align=outside,         axis lines*=left,           separate axis lines,         x axis shift down=10pt,         y axis shift left=10pt,         enlarge x limits=false,         enlarge y limits=false,         } }  \begin{tikzpicture} \begin{axis}[     range frame,     title={Axial ratio},     xlabel={frequency, GHz},     ylabel={dB},     yticklabel style={/pgf/number format/precision=3},     xtick=data,     ytick=data, ]     \addplot[black,mark=*,smooth] coordinates {(37.0,0.67534604814572) (37.1,0.66594092733667) (37.2,0.66026355025028) (37.3,0.65812677526894) (37.4,0.65927865540192) (37.5,0.66342752821752)}; \end{axis} \end{tikzpicture} \end{document}   Everything works fine, except for this little glitch:    What's the reason behind it?

Question I use pgfplots with the ultra thick option ans without explicitly giving the domain for the y-axis. It seems that in this case, some part of my graph is "eaten" by the margin: see the picture below to understand what I mean. Is there a way to avoid this? Code \documentclass{article} \usepackage{pgfplots} \begin{document}  \begin{tikzpicture}  \pgfplotsset{every axis/.append style={                     axis x line=middle,    % put the x axis in the middle                     axis y line=middle,    % put the y axis in the middle                     axis line style={->},  % arrows on the axis                     xlabel={$x$},          % default put x on x-axis                     ylabel={$y$},          % default put y on y-axis                     grid = major                     }}  \begin{axis}[xmin=-5,xmax=5] \addplot[orange,smooth, ultra thick] {sin(deg(x))} ;                  \end{axis} \end{tikzpicture}  \end{document}


The colour of the sky is determined by light scattered from the sun reaching the earth from a new direction. The shorter the wavelength the greater the light is scattered. On a dull day, with the sun obscured by cloud, with more moisture in the air, the scattered light could extend beyond the blue to include some green light. Because the light most scattered is blue with in this situation some green, I would expect to see a cyan, perhaps bluish cyan, sky.  Has anyone else seen a cyan sky, perhaps with high thin cloud above an overcast/ cloudy day?   Ron

I, like everybody I suppose, have read the  why the colour of the sky is blue:     ... the two most common types of matter present in the atmosphere are   gaseous nitrogen and oxygen. These particles are most effective in   scattering the higher frequency and shorter wavelength portions of the   visible light spectrum. This scattering process involves the   absorption of a light wave by an atom followed by reemission of a   light wave in a variety of directions. The amount of multidirectional   scattering that occurs is dependent upon the frequency of the light.   ... So as white light.. from the sun passes through our atmosphere,   the high frequencies become scattered by atmospheric particles while   the lower frequencies are most likely to pass through the atmosphere   without a significant alteration in their direction. This scattering   of the higher frequencies of light illuminates the skies with light on   the BIV end of the visible spectrum. Compared to blue light, violet   light is most easily scattered by atmospheric particles. However, our   eyes are more sensitive to light with blue frequencies. Thus, we view   the skies as being blue in color.   and why sunsets are red:     ... the light that is not scattered is able to pass through our   atmosphere and reach our eyes in a rather non-interrupted path. The   lower frequencies of sunlight (ROY) tend to reach our eyes as we sight   directly at the sun during midday. While sunlight consists of the   entire range of frequencies of visible light, not all frequencies are   equally intense. In fact, sunlight tends to be most rich with yellow   light frequencies. For these reasons, the sun appears yellow during   midday due to the direct passage of dominant amounts of yellow   frequencies through our atmosphere and to our eyes.      The appearance of the sun changes with the time of day. While it may   be yellow during midday, it is often found to gradually turn color as   it approaches sunset. This can be explained by light scattering. As   the sun approaches the horizon line, sunlight must traverse a greater   distance through our atmosphere; this is demonstrated in the diagram   below. As the path that sunlight takes through our atmosphere   increases in length, ROYGBIV encounters more and more atmospheric   particles. This results in the scattering of greater and greater   amounts of yellow light. During sunset hours, the light passing   through our atmosphere to our eyes tends to be most concentrated with   red and orange frequencies of light. For this reason, the sunsets have   a reddish-orange hue. The effect of a red sunset becomes more   pronounced if the atmosphere contains more and more particles.   Can you explain why the colour of the sky passes from blue to orange/red skipping altogether the whole range of green frequencies?  I have only heard of the legendary 'green, emerald line/ flash'     that appears in particular circumstances     Green flashes are enhanced by mirage, which increase refraction... is more likely to be seen in stable, clear air,... One might expect to see a blue flash, since blue light is   refracted most of all, and ... is   therefore the very last to disappear below the horizon, but the blue   is preferentially scattered out of the line of sight, and the   remaining light ends up appearing green   but I have never seen it, nor do I know anybody who ever did.


I currently own a single credit card and am considering applying for additional cards based on their signup bonuses. (e.g. Amazon Rewards , Best Buy , etc. This is in addition to the benefits outlined in   Ideally my plan would be to sign up for these credit cards, track my combined credit using a service like Mint, and set up auto-pay for my bills to avoid any possible late fees.  I know that credit card companies  and that these rewards are specifically designed to entice financial novices like myself.  Are there any hidden drawbacks to signing up for multiple credit cards for their signup bonuses and reward programs?

I have 4 credit cards that I use occasionally but pay off the balance every month for the most part.   Recently I've been suckered into getting store credit cards (Macy's, Kohl's, etc) because they offer a discount when you sign up.   I'm curious if it's bad to have too many credit cards, even if I keep all of the balances paid in full and under control?


I have three lines of text describing a user, which are centrally aligned.    Now I seek to add an icon to the username, which I have done using ::after styling in CSS (see below).   However, this then is considered when centering the first line. What I'd ideally like is for the username to be aligned centrally with the rest of the text and to then place the icon to the right of that without affecting the alignment at all.   How can I do this?   HTML

 David Wood

 Teacher

 d.wood@school.ac.uk
   (part of my) CSS  .user-name p::after {   content: '';   background: url('homeimages/dropdown-black.png') left center no-repeat;   vertical-align: middle;   background-size: 10px auto;   padding-left: 20px;   padding-top:-20px;   white-space:pre; }

I have a div with two images and an h1. All of them need to be vertically aligned within the div, next to each other. One of the images needs to be absolute positioned within the div. What is the CSS needed for this to work on all common browsers?

testing...


What options are there for visitors to Italy in getting a sim card with a large amount of data (3G or 4G) or alternatively a portable wifi hotspot that I can pick up and drop off easily.  I will be travelling all over Italy, including Venice, Florence, Tuscany, Pisa, Cinque Terre, Rome, Naples.  Ideally this should work in the cities and in the country side (I will be travelling by train and would like to use it on the long journeys)  Edit:  answers the sim card part of the question, but since I only need internet data, I have changed my question to ask only for portable wifi hotspots.  And I will be travelling for about 2 weeks. I'm looking for "a lot" of data (1GB+ per day).

Buongiorno! Suppose I step down from the plain in Fiumicino. What is the fastest way to get hold of Italian SIM-card with some talking minutes and some Internet? The latter is more important than the former.  So, my requirements:   Good coverage in main cities (Rome, Venice, Milan, Florence) Good for 2 weeks (after that I'm going to leave the country, the SIM is going to lose its value anyway) Good for massive internet usage is in store for maps, orientation, etc. Cheap. :)   Now, I know that there are 3 main communication providers in Italy: Vodafone, Wind and the third one. :) Which one? Which one won't leave me destitute and won't sue me over the border months after for some unknown reasons? What I have to look for?


I need a word that describes the love of learning, discovering, or it could even be a word that describes a curious person.

Is there a term that means "a person who enjoys learning"? This term might be used to describe someone who:   Is a self-motivated learner. Is curious, wants to understand many things.   I understand the term "philosopher" might be a good fit, in terms of its root words, however, the general population has an inconsistent understanding of this term, so I am looking for a more precise term.


Where can I find some tutorials for page geometry and margins or formatting of chapters, sections, titles, . . . ?  Thank you,

Which book (free or otherwise) was the most useful to you when you started learning LaTeX?  I am frequently asked this question by friends who want to learn LaTeX, and I recommend the book which got me started, , but I feel that there might be better options around.  Also see .


I have the sentence "It seems that stealing and selling pedigree pets # a lucrative and worthwhile business." and my question is, if I should put "is" or "are" as a verb?

Simple question:     My apples and orange are wrong   or     My apples and orange is wrong   I am not a native English speaker, and I am having some trouble choosing between plural are or singular is for that kind of example.


I have a Dell Vostro 3500 and I have a lot of problem in Linux Mint 12 Lisa. The laptop overheat and shuts down when I have a lot of processing.  I read that the problem is because of the video drivers and the two video cards. The embedded intel can not be desabled.  Can anybody tell me if this problem is solved in Ubuntu?  Thanks, Manuel

I am considering buying a Dell XPS 15 laptop. The laptop has a Nvidia 420m card which should work with Linux but I keep reading that the Nvidia Optimus technology isn't supported on Linux. I am not really interested in switching from Nvidia to Intel to save power but need to know that the Nvidia card will in fact work if I installed Ubuntu.  If anyone has experience using a Nvidia card with Optimus technology or even better the exact laptop in question (Dell XPS 15 with 1GB NVIDIA® GeForce®  GT 420M) it would be great.  A major problem holding people back from adopting Linux is this sort of hardware issue. I am a long term Ubuntu user and supporter who can't afford to make a mistake with a purchase like this. I don't want to spend £500+ to find I have no graphics acceleration because Windows 7 is not an option.


Could anyone please explain how to view your chrome notification history on my mac? I have seen the thread that says in chrome go to chrome://flags/ but cannot find flags. Please excuse my ignorance, but a simpleprocedure would be greatly appreciated.

I get Chrome notifications from several websites and they work when I don't even have any tabs open for those sites.  But sometimes I get these Chrome notifications when I am not at my desk or looking at my laptop.  As some of these notifications are useful to me, I would like to be able to access any that I have missed.  Is there a way to view the notification history?


When i add a material to my object i get an panel that is like the one from [picture left] but what i need is an panel that is similar to [picture right]. Why is there a difference and how can i get the right one?

Complete beginner here.  I'm trying to follow  tutorial on Anisotropic shaders, but my property panel looks nothing like the property panel in the tutorial.  For example, when creating a material, this is what his property panel looks like:    But this is what mine looks like, if I follow the same path:    I'm sure I'm missing something obvious.  How can I see the property panel shown in the tutorial?


There are some situations where tag synonyms make perfect sense the way they currently are. In SF&F, the "lotr" tag is a synonym for "lord-of-the-rings". As we all know, LOTR is just an abbreviation for Lord of the Rings.  There are certain scenarios where tags are related, but not necessarily the same. The Hobbit (the-hobbit) and Lord of the Rings (lotr) are similar subjects since they have the same author, and contain some of the same elements such as plot, setting, and characters. Yet, these are two distinct subjects with their own tag.   If the question is specific to The Hobbit, then it should not have a "lotr" tag. because of this, it creates two "islands of data" when dealing with tags. These two subjects are tied together by author J.R.R. Tolkien, but they don't always carry the "tolkien" tag.  My request would be to create a tagging "class" system where adding a tag would implicitly reference another tag if the tag is a subset of the same subject. For example a question with the tag "the-hobbit" should implicitly also have the "tokien" tag. Subscribing to "tolkien" would then automatically include posts for The Hobbit, Lord of the Rings, The Silmarillion, and his other works. Of course, if you only want to subscribe to "lotr", you would still have that option.

The prime example is C# and .Net. 95% of C# questions are also tagged .Net. The reverse isn't the case so it's not a synonym. Basically, C# is a child of .Net.  Would it be possible to create some sort of one-way linkage like this?


I really like to role-play online with people, but I only have a few people I know who role-play, and I wanted to know if there were any forum sites that are solely for role-playing and having fun.

I'd really like to learn how to play pen-and-paper RPGs.  I know that it takes a few players to actually sit down and play, but I'm not at all sure where to find more gamers.  How do I find existing groups to join? Or, are there any resources online that may help me find existing RPG groups or players?