i just want fix the footer to the bottom of the web. I searched for answers but when i apply the position the "box" isn't complete Here are some imgs     footer {     position:fixed;     bottom:0;     clear:both;     background-color: #22AAAA;      font-size: 25px;      text-align: center;     padding-right: 5px;     font-family: 'Cedarville Cursive', cursive; }
Made at 5am


Why are 'old' questions interweaved with 'new' ones?

Here is a sample of what I've seen every so often for the last few days on Stack Overflow:    As you can see, the first three questions were recent — 1 and 4 minutes ago (though slightly less when I first loaded the page), but the fourth question was last modified 2 hours ago, then 6 minutes, then 4 hours ago, then 8 and 9 minutes ago.  Is this interweaving of 'old' questions with 'new' questions in the 'home' page intentional? (I am looking at the basic  page.)  What is the rationale behind the revised ordering?  (I did look at the  page and didn't see anything that looked relevant.)    About 4+ hours later:    Two of the questions in the older image are stuck in the newer image.


Can $||f||_p$ tend toward infinity arbitrarily slowly?

Suppose $f$ is Lebesgue measurable on $(0,1)$, and not essentially bounded.  Can $||f||_p$ tend to $\infty$ arbitrarily slowly?    I am really lost on this problem. I assume the answer is that it can  tend to $\infty$ arbitrarlily slowly but showing that is really difficult. I have tried letting $f=\sum\limits_{k=1}^{\infty}a_k 1_{E_k}$ where $E_i$ is a disjoint collection of subset of $(0,1)$, and working from there but I am at a loss here. Any guidence?    Arbitrarilly slowly-  We say that $||f||_p$ tend to infinity arbitrarilly slowly if for every positive function $\Phi(p)$ on $(0,\infty)$ with $\lim_{p\to \infty}\Phi(p)=\infty$ there exists a function $f$ on $(0,1)$  such that $||f||_p\leq \Phi(p)$ for all large enough $p$.


I can surely do it for you..   Is the use of surely correct or shall I replace it with certainly without change in meaning.


Do warlocks require alchemist's supplies to cast healing elixir?

I play a Celestial Warlock in a campaign we just started, who took healing elixir () as one of his first spells to support our party. I plan to expand into Divine Soul Sorcerer later. My build would be 14-ish levels in Warlock and the rest in Sorcerer. The components for healing elixir are:  Components: V, S, M (alchemist's supplies)  So we participated in our first major battle against a bandit raid while we protected a caravan, after which I tried to cast healing elixir. My GM asked me if I have any Alchemist's supplies on me, to which I reply "no," but I have my focus which replaces any material components that spells don't specify with a gold cost. His rebuttal is that since Alchemist's supplies themselves have a cost, I still need to have them, but the spell doesn't state their cost in the spell description. I'm kind of at a loss about how I should respond to this or whether I am behaving overly concerned. We are only a level 2 party verging on level 3 now, so I am considering just scrapping this spell entirely. Does healing elixir actually require alchemist's supplies to cast, or does my focus allow me to ignore them?


Why do we care about complex inner products and what do they mean?

If I have two vectors from $\mathbb{R}^q$ then their inner product gives the length of the projection of one on them onto the other multiplied by the other's length. I have searched but couldn't find an intuitive analoge interpretation for the complex inner product. And why do we need complex inner products?  (I'm learning from the book Linear Algebra Done Right of Axler, and they don't really give a motivation for it either, only for the real case..)


How to filter all emails sent VIA domain.com

I keep receiving spam mails from different senders using different domain names (e.g. newsletter@buyerkart.info via  utilityinbox.com).  I could create a filter to catch all mail from newsletter@buyerkart.info, but I want to catch/filter all the mail sent via utilityinbox.com.  How could I achieve that?  Edit: Screen shot attached.


Filtering to Duplicates makes Close-Votes Queue a Haven for Robo-Reviewers

I recently started filtering to duplicates in the close votes queue and I've noticed that every review will always have a Duplicate tab allowing you to tab between the question and proposed duplicate.   Whenever presented with an audit, I know immediately because the duplicate tab disappears.    Upon searching for information regarding audit filtering I found  which told me that audits are not filtered but the tags are faked such that a user could not just watch the tags and only pay attention if their filtered tags do not show up, this doesn't help with this situation though.  As far as I can tell, you can currently robo-review the close votes queue indefinitely without ever reading a question:    Assuming I am not mistaken, should something be done about this?   Related (outdated?) but not duplicate:


I am an Italian citizen and hold an F-1 visa that will be valid starting one month from now. I also have a valid ESTA travel authorization.  I would like to ask if the following travel steps would be allowed, visa-wise:   Flight Italy -> USA (using my ESTA, as my F-1 visa isn't valid yet). Flight USA -> Mexico (using my ESTA or EU passport status) Flight Mexico -> USA (using my n9w valid F-1 visa).   My husband is currently in the US, so I would like to travel to the US now for a few weeks. I would be using the ESTA authorization because my F-1 visa is not valid yet. Then I would like to travel to Mexico for a few days and then go back to the US using my F-1 visa (it will be valid at that point because it will be after the validity starting date).  Is this allowed? Will I get in trouble because I never technically leave the entire Mexico-USA-Canada area? Or will switching to myF-1 visa automatically end the visa waiver?  I am concerned that in the end, I might look like I overstayed the visa waiver because I never really "leave" the Mexico-US-Canada area within the 90 visa waiver days, although I will switch to a valid US visa after the visa waiver.


Difference between 'cat < file.txt' and 'echo < file.txt'

I have a file named file.txt which has some content say 'abcdef', when I do cat < file.txt I get the output abcdef but when I do echo < file.txt, no output is returned. Why doesn't the input redirection work with echo but works with cat?


Why the dust on the wing cannot be cleaned by air flow?

I recently saw that the dust on the airplane's wings are frequently cleaned by some human workers (generally after every trip, workers clean the fine dust on wing's surface by hands). But I have a doubt. I thought that when the airplane is  travelling at a very high speed in air, the dust will cleaned off due to the heavy force of air stream. But it doesn't go like that. But when someone cleans the surface gently, the dust will be removed with out any effort. WHY?  I thought that when we clean the surface of the wing, we move our hands tangentially to the surface of the wing creating a torsional stress. The threshold torsion strain is very weak to hold bonds of the dust particle with the surface of the wing. But the same thing happens with the air, it hits the surface almost tangentially. So my intuition says dust should be removed off.  This can be seen in our regular fans also. See the below figure.    Can someone explain this?


Editing pdfs with a pdf editor not through latex

Can people edit pdfs generated from LaTeX?  I know adobe has a paid program that allows the editing of pdfs.  I ask because I would think this wouldn't work.  With a pdf generated from a Word, there is no code in the background that was need to make the document whereas some LaTeX documents aren't so simple in construction, behind the scenes.  Also, if it can be edited in this manner, we it be able to match the fonts?  What if they tried to edit an image that is floating?  Since the image is based LaTeX's best placement, would this screw up the document?


how to change the language of the "and" conjunction in a citation call-out?

i'm using \usepackage[authoryear]{natbib} for my bibliography, but as i am brazilian, i'd like to change the and when using \citet{} to e.  For example, instead of Brunnermeier and Sannikov (2014), i would want to display  Brunnermeier e Sannikov (2014). Does someone know a way to change that?  The babel package does not translate natbib.


Cannot boot up on mac dual boot mavericks-debian, question mark displayed

I have a mbp late 2012 retina in wich I have installed mavericks and debian in dual boot with efi support. Well this morning I've done a repair in recovery mode on my mac and then I was no more able to boot. I have a blank folder with question mark inside displayed when I try to boot. I've tryied in recovery mode to reinstall the os since i've  a recent backup on a hard drive, but it fails right after it downloaded the packages saying an error occurred. Same thing when I try to recover my backup, it fails.  I suppose the repair somehow trashed the boot partition. I have to say I have filevault enabled, I dont know if it changes anything. How can I fix it? Considering that I've tryied all of the solutions on this answer [ which btw is about lion and it's not my case


saving lists as single or separate files

My task is to:     Develop a program that identifies individual words in a sentence, stores these in a list and replaces each word in the original sentence with the position of that word in the list.      For example, the sentence    ASK NOT WHAT YOUR COUNTRY CAN DO FOR YOU ASK WHAT YOU CAN DO FOR YOUR COUNTRY   contains the words ASK, NOT, WHAT, YOUR, COUNTRY, CAN, DO, FOR, YOU      The sentence can be recreated from the positions of these words in this list using the sequence 1,2,3,4,5,6,7,8,9,1,3,9,6,7,8,4,5   I've done the first part of the task and so far I have this code:  sentence = "ASK NOT WHAT YOUR COUNTRY CAN DO FOR YOU ASK WHAT YOU CAN DO FOR  YOUR COUNTRY" s = sentence.split() positions = [s.index(x)+1 for x in s]  my_list = ['ASK', 'NOT', 'WHAT', 'YOUR', 'COUNTRY', 'CAN', 'DO', 'FOR',  'YOU', 'ASK', 'WHAT', 'YOU', 'CAN', 'DO', 'FOR', 'YOUR', 'COUNTRY'] unique = [] [unique.append(item) for item in my_list if item not in unique]  print("The sentence",sentence,"contains the words",unique)  print("It can be recreated from the positions of the words in this  list",s,"using the sequence",positions)   Is this considered efficient? How can I make it more efficient?   However, my problem is the rest of the task:     Save the list of words and the positions of these words in the sentence as separate files or as a single file.   I have no idea what it means. I did some research and I found out that it involves reading and writing to a file, but I don't have a clue what to do next.  Nevertheless I came up with this:  my_list = ['ASK', 'NOT', 'WHAT', 'YOUR', 'COUNTRY', 'CAN', 'DO', 'FOR',  'YOU', 'ASK', 'WHAT', 'YOU', 'CAN', 'DO', 'FOR', 'YOUR', 'COUNTRY'] with open("task2.txt", 'w') as f: f.write("\n".join(map(str, my_list)))   But I don't know what it does or how it relates to the task??? I need to be able to explain my code which I can't do since I don't understand it.  Can someone please fix my code? Thank you


Why cannot $\frac{0}{0}$ (indeterminate element) be added to a Field extension to $\mathbb{C}$?

Why cannot $\frac{0}{0}$ be added to a field extension to complex field $\Bbb C$? I know the complex field $\Bbb C$ is closed. But can we define additional elements such as $1*\frac{0}{0}$,  $2*\frac{0}{0}$, $i*\frac{0}{0}$ and extend $\Bbb C$ and study its properties?


How do I create a variable to check last time hook_cron() implemented from a custom module was ran?

We have a custom module for which we need to run on a daily basis. I am not sure  it is working, as I am unable to store the time correctly.   Does the following code allow me to create a variable, and use it to store the last time cron ran?  function mymodule_cron() {   if (variable_get('mymodule_last_run', 0) <= strtotime('-1 day')) {     // Omissis.     variable_set('mymodule_last_run', time());   } }  function mymodule_info($options) {   $variable['mymodule_last_run'] = array(     'title' => t('Last Run', array(), $options),     'type' => 'datetime',     'default' => t(time(), array(), $options),   ); }


How to close menu by clicking outside the div JavaScript/Jquery

i'm actually searching how to close div when clicking outside, but i have no idea how to do it. I have tried many things like using the attribute .removeClass with a boolean, add a removeEventListener or even with collapse but i didn't understand that one , but nothings worked for me... I'm really stucked. Here's my code actually :    (function() {             var hamburger = {                 navToggle: document.querySelector('.nav-toggle'),                 nav: document.querySelector('nav'),                  doToggle: function (e) {                     e.preventDefault();                     this.navToggle.classList.toggle('expanded');                     this.nav.classList.toggle('expanded');                 }             };              hamburger.navToggle.addEventListener('click', function (e) {                 hamburger.doToggle(e);             });             hamburger.nav.addEventListener('click', function (e) {                 hamburger.doToggle(e);             });      }()); .nav2 {     -webkit-transition: left 0.5s ease;     -moz-transition: left 0.5s ease;     -ms-transition: left 0.5s ease;     -o-transition: left 0.5s ease;     transition: left 0.5s ease;     background: #000000;     color: #ff4c4d;     cursor: pointer;     font-size: 2rem;     height: 100vh;     left: -20rem;     padding: 6rem 2rem 2rem 2rem;     position: fixed;     top: 0;     width: 49vw;     z-index: 1;     opacity: 0.90;     z-index: 2; }  .nav2.expanded { left: 0; }  .nav2 ul {     position: absolute;     top: 40%;     -webkit-transform: translateY(-50%);     -ms-transform: translateY(-50%);     transform: translateY(-50%);     list-style: none;     margin: 0;     padding: 0; } .nav-toggle {     -webkit-user-select: none;     -moz-user-select: none;     user-select: none;     cursor: pointer;     position: fixed;     top: 2rem;     width: 10vw;     z-index: 3;  }  .nav-toggle:hover { opacity: 0.8; }  .nav-toggle .nav-toggle-bar,  .nav-toggle .nav-toggle-bar::after,  .nav-toggle .nav-toggle-bar::before {     position: absolute;     top: 50%;     -webkit-transform: translateY(-50%);     -ms-transform: translateY(-50%);     transform: translateY(-50%);     -webkit-transition: all 0.5s ease;     -moz-transition: all 0.5s ease;     -ms-transition: all 0.5s ease;     -o-transition: all 0.5s ease;     transition: all 0.5s ease;     background: #5080ff;     content: '';     height: 0.7vh;     width: 100%;     z-index: 4; }  .nav-toggle .nav-toggle-bar { margin-top: 0; border-radius: 4px;}  .nav-toggle .nav-toggle-bar::after { margin-top: 1.5vh; border-radius: 4px;}  .nav-toggle .nav-toggle-bar::before { margin-top: -1.5vh; border-radius: 4px;}  .nav-toggle.expanded .nav-toggle-bar { background: transparent; }  .nav-toggle.expanded .nav-toggle-bar::after, .nav-toggle.expanded .nav-toggle-bar::before {     background: #85faff;     margin-top: 0; }  .nav-toggle.expanded .nav-toggle-bar::after {     -ms-transform: rotate(45deg);     -webkit-transform: rotate(45deg);     transform: rotate(45deg); }  .nav-toggle.expanded .nav-toggle-bar::before {     -ms-transform: rotate(-45deg);     -webkit-transform: rotate(-45deg);     transform: rotate(-45deg); }

Home

Portfolio

About

Contact


I got "BEGIN PGP PUBLIC KEY BLOCK" attached to an email and I don't know what it is

Okay, I have no clue what this is, but I just received an email that has this in it.    -----BEGIN PGP PUBLIC KEY BLOCK-----  [redacted]  -----END PGP PUBLIC KEY BLOCK-----   If this means something, could someone decode it for me? If not, then could someone just tell me what it is?


How do you edit Windows10 Directory Junctions (links to folders) from Windows Explorer?

(it's not a duplicate, but hey. I guess as per some of the comments, the answer is "you can't, Microsoft hasn't made it possible". It's annoying to see people incorrectly directed to a wrong resource at the top of the page, but I don't have any options for un-breaking the wrong filing, so I'll leave it here. Sorry, future visitors!) I have created some hard links (Directory Junctions) - they show up in Windows File Explorer with a little shortcut-like icon overlaid on the normal folder icon. But how do we edit them (and implicitly: see where they are pointing) in Windows Explorer? Worst case, dropping down to the command line, even mklink doesn't appear to have editing as an option () and I can't find anything in Windows File Explorer to see info on them (let alone edit it). Do you have to manually delete each one and recreate it, rather than edit it? Is there literally nothing in MS's own file explorer to view them? (the shell extensions I could find don't show where they point to, and don't let you destroy them, but do let you create them).


What do you do if you dont have a numpad

imtrying to follow a tutorial on youtube but I have a laptop, and it doesent have a numpad, please help whats a good alternative


I was reading this paper   and I came across this part    I didn't get how the third line came from the second line. Any suggestions?


I'm studying graph theory, coloring at the moment. I'm stuck with a proof of the following exercise: Let $G = (V, E)$ be a connected graph and let $v \in V$ be such that $deg(v)\lt d$. If $deg(w)\le d$ for all $w \in V-{v}$, then $G$ is $d$-colorable. I have an idea that I could use Brooks' Theorem but I'm not really sure. I'd appreciate it if someone could give me a hand here


How to Screen Sharing / VNC to an iMac without waking the display?

I have an iMac mid 2011 at home. When I was not home, I may need to access my mac with Screen Sharing. However the iMac display will turn itself on when I connect via Screen Sharing. The problem is I don't want to scare my family at home (with the elders and kids) as the iMac "turn itself on suddenly".   This is a problem specific for iMac. On MacBooks (Pro, Air, whatever) I can set the brightness to the lowest setting so the screen is black (i.e. the LED light is off). However on an iMac you cannot turn off the LED backlit by setting brightness. The display is still bright and everything is clearly visible even on lowest brightness setting.  Therefore these solution are not working as the display will turn on as soon as you move your mouse or hit any key on the keyboard via Screen Sharing.   Sleep Display (by Ctrl+Shift+Eject) Using the code listed on    Question: Is the a way to keep the iMac display off entirely while you accessing it with Screen Sharing?


Slightly related:  Related:   My  currently syncs with my "oldest profile", which is Physics.SE. Unfortunately, this means that the physics-specific blurb out there is shown to everyone. Also, whenever I create a new account, . I had filled in all my details and the one-line bio on Physics and used "copy to all SE accounts". Then I later filled in the Physics-specific bio. It seems that the site the profile was all-site copied from is kept in memory, and new sites just copy from the current version of that site. I'd like a more intuitive and easy way to manage these profiles. I know profiles aren't a big deal, but currently I have a bunch of Physics-y stuff all over the place. And it's annoying.  Also, one important part of a bio is the expertise level, and that's obviously different for each site. Could we have a better way to manage these profile bios? One idea I could toss out is this: Have a centralized place to manage these bios. Maybe, just have a single text box with something like this: SE.com bio here   <!-- Site:stackoverflow--> <!-- summary: SO summary here --> SO bio here  <!-- Site:physics--> <!-- summary: Phy summary here --> Phy bio here . . . . <!-- Site: alltherest --> <!-- summary: General summary for all the sites not listed above --> Bio for all the sites not listed above  Whenever you save this, the relevant bios are sliced out and copied to each site. I feel that this will be way better than the "copy to all sites".  Update: now that profile images can be uploaded independent of gravatar, we should be able to selectively sync these across sites as well.


If $(a_n)$ is such that $\sum_{n=1}^\infty a_nb_n$ converges for every $b\in\ell_2$, then $a\in\ell_2$

Please help me with this question. I've been thinking about it for almost two days. Let $a_n$ a real series that have the following property: for every series $b_n$ in $l_2$: $\sum_{n=1}^\infty a_nb_n$ converges. prove that $a_n$ in $l_2$.


Is AES in CBC mode secure if a known and/or fixed IV is used?

I have a need to encrypt credentials for a third-party app used by a secured internal app. Over on ITSec.SE, I was helpfully shown a scheme to encrypt the third-party credentials based on a hash of the credentials for the internal app.   I picked AES as the encryption algorithm, but the problem is that the password-based scheme doesn't produce a "secret" IV. So, the IV must at least be known to an attacker (stored alongside the encrypted data). A hash value used for password verification could work, or I could just generate a pseudorandom byte array and drop it in the DB as a new column. I was further considering, for simplicity, to use a constant IV.   What adverse effect will either of these choices have on the security of the encryption? Does AES depend, as many block ciphers do, on an unpredictable IV? Does it matter if the IV is stored as unencrypted plaintext?


Remove title-bar of all maximized windows in GNOME 3

(Ubuntu 13.04 with GNOME Shell, upgraded, GNOME version 3.8) Recently, I upgraded Ubuntu to 13.04. the default desktop is gnome-shell. Except Nautilus, other software border doesn't disappear when I make them to be maximized. I checked the problem for these software:  LibreOffice Firefox Rhythmbox thunderbird GNOME-Terminal  On the other hand there are three bars on maximized mode:  GNOME Shell panel  Title-bar for software which contains - + x (minimise, maximise, close) buttons.  Software menu-bar  Number "2" is extra. Is a package missing?


Consider you have the following text:  yada yada  yada yada 1 ;   <Hello.There>yada:EGHKJHKG, Source:QWEKGHGHJGKGHJKGHJKVMVNMVMVMVMVMVMVMBTDFHG, </Hello.There> yada2 yada3   I want to be able to take the information after Source: and before , only.  I've managed to do it with this  , and matched the source value My regex expression is: <Hello.There>.+Source:(.+?),\s*</Hello.There>  My python code is:  match = re.match(r'<Hello.There>.+Source:(.+?),\s*</Hello.There> I get None for match after this line, any ideas? (I tried many more regex options without success)


How can I get a list starting with a,b,c instead of 1,2,3?

How can I enumerate a list using lowercase letters instead of arabic numerals?


Why do we use the $\left(\tfrac{1}{2}, \tfrac{1}{2}\right)$ rep for spin $1$ particles and not $(0, 1)$?

The spin 1 $A^\mu$ field transforms under the $\left(\tfrac{1}{2}, \tfrac{1}{2}\right)$ representation of the Lorentz field. When restricted to the $SO(3)$ subgroup, it decomposes into the $0 \oplus 1$ representation of $SO(3)$. However, when using the massive Proca action, the spin $0$ degree of freedom is "killed off" by the equations of motion. (If the particle is massless, an extra degree of freedom is killed off, let's ignore that.)  What then was the point of using the $\left(\tfrac{1}{2}, \tfrac{1}{2}\right)$ representation to begin with? Why didn't we just use the $(1, 0)$ representation from the beginning?  Similarly, when we want to describe a spin 2 particle, we use the $(1, 1)$ representation and kill off degrees of freedom in the Lagrangian just like we did we the Proca action. What's the point? Why not just start with the $(0, 2)$ representation from the get-go?  To elaborate, there is a difference between the representations of the fields and the representations of the particles. However, which particle representations are actually present and "physical" are determined by the Lagrangian. The massive Proca Lagrangian kills of the spin $0$ particle. Is there some general way to construct Lagrangians that only give you the particles you want? And what's the point of keeping these un-physical representations around?


I am using a key to log in to the machines and I have over 1000 machines to login. The issue is when I use the key to log in it's asking me for ECDSA key fingerprint is SHA256:kfhfhfhfuuisiinnthhthucyFJxjfDJdjdkdmcj. ECDSA key fingerprint is MD5:bg:dd:kk:2l:84:. Are you sure you want to continue connecting (yes/no)?  I was using the -o StrictHostKeyChecking=no option but then it asked for the password. Is there any way I can skip this ECDSA fingerprint and yes/no question and directly login to the machine?


Reverse XY coordinates from csv to qgis?

I find it very difficult to import GPS data from CSV to QGIS and finally I have discovered that the first column in CSV table was Y coordinate and the 2nd was X coordinate.  In the picture you can see the settings for the file import  To check the real position in google maps I have to insert (first value, second value) so I believe that was the same in QGIS    Why is this happening? Is it regular?


Generating random variables from a mixture of Normal distributions

How can I sample from a mixture distribution, and in particular a mixture of Normal distributions in R? For example, if I wanted to sample from:   $$ 0.3\!\times\mathcal{N}(0,1)\; + \;0.5\!\times\mathcal{N}(10,1)\; + \;0.2\!\times\mathcal{N}(3,.1) $$  how could I do that?


how to convert date format to datetime format using php

It is not work for me, i want to convert date format to datetime of mysql format using php.i have try to obtain through the below code.what is wrong with my code         $travelDatesconv=strtotime($travelDate);       //15/03/2015           $travelDates=date('Y-m-d H:i:s',strtotime($travelDatesconv));              echo $travelDates."=>uu";                   //i need 2015-03-15 00:00:00


let $f$ Periodic function (Except Constant functions) then : $\lim_{x\to \infty} f(x)= \text{Does not exist}$  is it right ?? such that : $$\lim_{x\to \infty} \sin x= \text{Does not exist}$$ $$\lim_{x\to \infty} \cos x= \text{Does not exist}$$ $$\lim_{x\to \infty} \tan x= \text{Does not exist}$$ $$\lim_{x\to \infty} \cot x= \text{Does not exist}$$ $$\lim_{x\to \infty} \lfloor x\rfloor +\lfloor -x \rfloor= \text{Does not exist}$$ is it right ??


Identify a book about an exploratory mission + alien pet + topaz maybe?

I remember reading a young-adult sci-fi novel many years ago (early 90's), but I don't remember much about it, even though I read it at least twice. I recall it being an important transitional book for me, and I think that's why I read it more than once. It was the first time I was intrigued by something more sophisticated.  As I recall, the basic plot involved a manned mission to explore a planet or a moon. There was a multi-legged alien that started out as a pet (but was discovered to be more than that?). I think it even had some kind of interesting color-changing behavior.   There was lots of talk about space-dust being a problem at the speeds they were traveling, and I think there was an emergency or two involving related hull-breaches. They might have sealed them with expanding glue from specialized guns?  The main character was a man.  ...there was a woman as part of the mission.  ...there was a cocoon of some kind. I think related to the pet alien?  The title might also have had the word "topaz" in it.


! LaTeX Error: File `Thesis.cls' not found.   I am using Kile editor. If the above error appeared in the log file then how to correct it?


Duplicate a Prefab as a separate asset in Unity 5.2

I have a Asset which is a collectable object [Pickup] and I currently have eight in my scene, I'd like to duplicate this asset and use it to harm the player [Bad Pickup].  I decided to duplicate the asset because I wanted both assets to have the same components (Animation script, rigid body, mesh colider, etc...). However, when I edit the texture of my new asset [Bad Pickup], it changes the texture used for the original asset [Pickup] as well.  I've tried GameObject -> Break Prefab Instance on the object with the new asset but it doesn't appear to make a difference.  Is there a way to break this instance so that I don't have to make a completely new GameObject and add the same components manually?


Login error with the Stack Exchange Android app

I have been trying to login into the Stack Exchange app from the Play Store on my , but it shows: "Error while attempting to login: 'key' is not valid for passed 'access_token', token not found.  I am on Stack Exchange daily with the computer, so my login credentials are right.  I even did a copy paste of the password to ensure there were no mistakes.  Did anybody have the same issue? Any advice?


How do I invite a friend to like my page?

I have found answers to this but they don't work. I want to invite my friends to like my band page.  If I am on the band page and try to Build an audience, it only gives me options to do this via email. If I am on my personal page I see no option for Build an audience.   I am obviously the administrator to my own page I assume.  What am I missing?


Just learning Blender this week and Immediately I'm stuck at some point. I cannot add COLOR because under MATERIAL, there is no choice for SURFACE > COLOR.    I'm so stuck. Help :)


interaction between mathematical structures

From a physicist's perspective there are several situations in which somehow arbitrary choices of mathematical structures can be made. One can describe a system from different perspectives, etc. without changing anything in the physical properties. (see gauge invariance, picture changing etc.) In the situation when these choices impose a mathematical structure one has limitations in the subsequent choices (are these limitations physical???). However, there are situations when this prescription does not hold. The best example is in this case the Black-Hole complementarity principle (if it is well defined in the first place). So, the question about how mathematical structures "interact" in a logical way is not a bad one. Again: what is the interaction between, say, locality and Hausdorff-ity in the case of a black hole? Or what is the true relation between metrizability and hausdorff-ity of a space in the context of a black hole? The question about how mathematical structures assigned (innocently) at some point interact in different situations is in my opinion a quite relevant one...


Changing values of dictionary to integers

I'm currently setting up a dictionary and am attempting to convert the values associated with a key from strings to integers. So I'm trying to go from this:      {'Georgia': ['18', '13', '8', '14']}   To this:      {'Georgia': [18, 13, 8, 14]}   Any ideas on how I would go about doing this?


How to restrict access to specific content types by role?

In D8 core you can either set permission for anonymous users to view all or non publish content, but not set permission different by content type.  I've found this that looked promising, but the functionalities doesn't work for this:    Any others suggestions for how to solve this?


Is there any particular order in which one should watch the movies of Marvel Cinematic Universe? Why?

I have watched all parts of the Avengers (including Civil War) and Hulk series. I am planning to watch rest of the movies of MCU.  I intend to get a fine experience of Marvel movies and most importantly correct understanding of the complete* storyline. For that purpose, is there any particular order in which one should watch the movies of MCU?   It would great if you can justify the order you suggest.  (*I know "complete" is nearly impossible if you are not reading the comics but still)


Should I flag a question for a mod to add a status-* tag?

I sometimes see questions (usually bug reports) where an issue is now fixed and  has not been added.  Should I flag these for moderator attention so they can add the requested tag to the question? Or should I just leave it and move on?  The message would be along the lines of this question was [something], therefore the [tag:status-whatever] tag should be added.  Of course I wouldn't do this if a mod has answered the question - I'd just comment on their answer to ask them to add the tag.  Note: I have flagged around 4 questions in the past, and they have been 'helpful', after 2 or 3 weeks, but I'm asking to see whether mods mind these (seemingly petty) flags :)


I want to go for wine and tapas, it's correct to say this? - I feel like wine and tapas. - I feel like I want wine and tapas. - What about going for wine and tapas?


How can we perform password prompt operation without getch() ( display * at once for every character we enter ) using system calls in linux?

I am writing C code for 'password prompt' . I need to display * for every character the user enters . But I am not supported with getch(). So , I tried system calls .  for(i=0;i<5;i++) {     system("stty -echo");     scanf("%c", &a[i]);     system("stty echo");     printf("*"); }   I have tried to  turn off echo and get a char and display * enabling echo. But we know scanf continues until \n. So , i am unable to display * at once a char is got. Somebody help me pls. Also kindly suggest me any other better way.


Can a user have his own favourite questions list?

I want to keep a list of useful questions that I may need to refer again later. Is there a way to do so in stack overflow?


When temporarily banning someone from reviewing, give access to the misjudged content

Issue: Apparently I got a temporary review ban. It seems like I should have recommended an answer for deletion instead of saying that it looked good. I would like to read again the answer I had misjudged to understand where my decision failed. However it seems like I cannot access the now deleted answer.  Feature request: when temporarily banning someone from reviewing, give access to the content that have been misjudged so that the user can learn from it.    My ban:    My inability to learn from it as I cannot access the deleted answer:


How to boot from USB when USB stick is plugged in and otherwise Windows from HD?

I have an USB Ubuntu image which I have created previously and it worked.    Is it possible to have menu or automatically choose between systems at start?    Ideally I would like to have it done that way:    boot from USB when stick is in  boot Windows from hard drive otherwise.     I was not able to find any tutorials how to do it.


Which one is better for making a calendar, illustrator or indesign?

Someone help me! I would like to know which one is better for making a calendar... illustrator or indesign and why? I have to make one, but not sure which program to use.


Split a polygon layer with another polygon layer in QGIS

I have two layers :    The red layer with 2 features : 1 and 3. The green layer with 3 features : area 1, area 2 and area 3.   I need a layer which contain my green layer split by my red layer. In that example, I would have a polygon layer with 6 features in it. I would like the attribute table like :  area 1 | NULL area 1 | 1 area 2 | NULL area 2 | 3 area 3 | 1 area 3 | NULL   I didn't see such an algorithm in QGIS. What is the best way to do that ?


Someone who speaks very little but uses precise and direct words in short sentences

I'm looking for the adjective to describe a person that speaks very little, but when he/she does, his / her sentences are kept to a minimal length and words are sharp, precise and powerful. Think of those "Clint Eastwood" type of movie character that use one-liners and use as few words as possible to get their point across.


I have this statement and I'm trying to remove the first character and replace it with a blank string but for some reason this returns false. It seems like it's just setting it equal then asking if it's equal to me.  public class Test1 {     public static void main(String[] args)     {         String aString = "123";         String sub = Character.toString(aString.charAt(0));         System.out.println(sub == Character.toString(aString.charAt(0)));     } }


Does an expanding universe assume a space within which the expansion is happening?

When I read about the expanding universe and inflation I often see pictures like this:    (Source: )   or explanation like this:     For getting an idea of space expansion you have to imagine a cubic grid throughout the whole space where the grid/ the number of cubes does not change, but each cube is increasing in size. It is similar to a sort of "stretching" of the size of the cubes.   (Source: )  My question is this: These descriptions only make sense if you assume a space around the universe which serves a frame of reference for measuring the expansion. In the picture from Wikipedia the expansion takes place with reference to the black background of the image. In the example with the expanding grid there has to be some kind of meta space around the cubes to have a frame of reference for measuring the expansion. An observer within the cubes cannot measure the expansion, as his frame of reference grows at the same time.   To my knowledge at the Big Bang both space and time have been created, so in my understanding there is no meta space which could be used as a frame of reference to measure inflation or an expanding universe.   How can I reconcile the concepts of an expanding universe / inflation without having to assme a meta space within which this expansion takes place?  FYI: I'm not a physicist, so please bear with me if this a noobie question.


Prove that $L(V,W)$ forms a vector space

Let $V$ and $W$ be vector spaces over a field $F$. Let $L(V,W) = \{T:V\to W : T \text{ is linear} \}$, that is, $L(V,W)$ is the collection of all linear functions from $V$ to $W$. For $S,T \in L(V,W)$ and $a \in F$, define new functions $(S+T):V \to W$ and $ aT :V \to W$ by $(S+T)(x) = S(x)+T(x)$ ; $(aT)(x) = a(T(x))$.   Prove that $S+T$ belongs to $L(V,W)$ and $aT$ belongs to $L(V,W)$.


Strange folders in Pagespeed cache folder. Did I get hacked?

I have a Centos7 server with nginx and google pagespeed. I wanted to clear pagespeed cache for a reason but i saw lots of chinese site caches in my pagespeed cache folder like baidu.com, ly.com, oray.com etc. and also there are folders like "rname", "prop_page". I have no idea how these folders created. I was getting brute force attacks from china to my SSH but they stopped when I changed the ssh port. What should I do now?  EDIT: I've found the answer here:


Grub rescue : how to fix insmod normal, unknown file system

I have  dual boot with Linux and Windows on my machine, So apparently after I made a new disk partition, I think I messed up the  Linux partition. Now after I boot my machine I get the grub rescue console. I tried to fix this with these commands  :  Set boot =(hd0, 6)  Set prefix=(hd0,6)/boot /grub   This Commands run fine but when I type :  Insmod normal   I get unknown file system  error   Any ideas?


When is the 16.04 LTS .iso file available?

When is the 16.04 .iso file available? I mean the official .iso. I prefer torrent. Cant see any information on the page? Only 14.04 LTS :(


How can I open a site blocked by the ISP?

I use Linux and connect to the internet with a modem, but many sites are blocked by the ISP in Indonesia.   How can I open a blocked site? It's not a porn site.


"No worthy mechs found" when trying to relay email to Gmail using Postfix

I've been trying to configure email to forward to Gmail, using Postfix to relay email to smtp.gmail.com. However, I'm failing to get it to authenticate with smtp.gmail.com, which is a rather vital prerequisite to getting anything working…  The mail logs show only:  Oct 29 15:50:14 gsnedders-1 postfix/master[6596]: daemon started -- version 2.7.1, configuration /etc/postfix Oct 29 15:50:19 gsnedders-1 postfix/pickup[6598]: EBA1F78750: uid=1000 from=<gsnedders> Oct 29 15:50:19 gsnedders-1 postfix/cleanup[6603]: EBA1F78750: message-id=<20111029145019.EBA1F78750@mail.gsnedders.com> Oct 29 15:50:19 gsnedders-1 postfix/qmgr[6599]: EBA1F78750: from=<gsnedders@gsnedders.com>, size=324, nrcpt=1 (queue active) Oct 29 15:50:19 gsnedders-1 postfix/cleanup[6603]: F2D557874F: message-id=<20111029145019.EBA1F78750@mail.gsnedders.com> Oct 29 15:50:19 gsnedders-1 postfix/local[6605]: EBA1F78750: to=<me@gsnedders.com>, orig_to=<me>, relay=local, delay=0.04, delays=0.03/0.02/0/0, dsn=2.0.0, status=sent (forwarded as F2D557874F) Oct 29 15:50:19 gsnedders-1 postfix/qmgr[6599]: F2D557874F: from=<gsnedders@gsnedders.com>, size=454, nrcpt=1 (queue active) Oct 29 15:50:19 gsnedders-1 postfix/qmgr[6599]: EBA1F78750: removed Oct 29 15:50:20 gsnedders-1 postfix/smtp[6606]: warning: SASL authentication failure: No worthy mechs found Oct 29 15:50:20 gsnedders-1 postfix/smtp[6606]: F2D557874F: SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.157.108]: no mechanism available   And the postfix config is:  relayhost = [smtp.gmail.com]:587  smtp_use_tls = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd smtp_sasl_security_options = noanonymous  smtp_tls_eccert_file = smtp_tls_eckey_file = smtp_tls_security_level = may smtp_tls_CAfile = /etc/postfix/cacert.pem smtpd_tls_received_header = yes tls_random_source = dev:/dev/urandom smtpd_tls_security_level = may


i am trying to do the following: var cars = []; var newCar = "toyota"; cars.push({ newCar: { year: 2000, } })  it saves newCar as "newCar", not as "toyota". How can I do it?


If human being evolved without eyes, we'd have not known about light until, maybe Maxwell, $$\frac{1}{\sqrt{\epsilon_0\mu_0}}=c$$ But light is real and it exists physically in our universe.  Similarly, do fields like (electric, gravitational) exist like light but we do not possess right organ to see them? Or are fields just a mathematical trick (like momentum space or Hilbert space) and do not exist physically? Can a creature with right type of organ be able to see a field?


I'm looking for a good tutorial on making a LVM snapshot on Ubuntu Server. I can't find one that isn't way too in depth about what LVM is or I can't find one that is up to date. My ultimate goal is to learn how to make snapshots of my server with LVM so I can return to previous states if I need to.  Also I looked at the volume groups and logical volumes on a clean install of Ubuntu Server 16 in a VM. It looks like there is already an LVM. This is where I got confused.  Could somebody provide a link to a good tutorial for that? Am I completely misunderstanding what LVM is? Thanks for the help!


Subsurf modifier not working. Is it because I booleaned or because of my tris?

I have this reference picture that I put into the side view of my project.  I used a cylinder and then booleaned the bottom part to make the cutout. Now my subsurf modifier doesn't work. What is going on here?     I tried insetting and extruding the bottom to see if that would fix anything but it didn't. Did the boolean mess up the subsurf or is it because I have some tris left over?    Here is the subsurf mod view:


A problem with the geometric series and matrices?

Let $n$ be a positive integer. Let $A$ be a square matrix. Let $I$ be the identity matrix with the same size as $A$.  I want to simplify $f_n(A) = I + A + A^2 + A^3 + A^4 + \cdots + A^n$  Now I know that for a complex number $z$ we have $1 + z + z^2 + z^3 + z^4 + \cdots + z^n= \dfrac{z^{n+1}-1}{z-1}$ when $z$ is not equal to $1$ ... and even if $z=1$ then by computing the limit we get the right answer : $n+1$. This is well known as the geometric series and leads to the so-called q-analogue ideas.  But for matrices $A$ this does not work if the determinant of $A-I$ is $0$ , because then $\dfrac{A^{n+1} - I}{A - I}$ is not well defined.  This frustrates me a lot. Now I have heard about pseudoinverses but I do not know much about them and I even wonder if they can be of any help here.  I tried some things from calculus and continued fractions too, but nothing worked for me.  I also considered this problem for infinite (square) matrices but I assume that is analogue to this problem and so is its solution.


If $(f_n):[0, 1] \to [0, 1]$ are continuous and converge to $f$ pointwise, must $f$ be Riemann Integrable?

I am trying to solve the following question  True or False? If $(f_n):[0, 1] \to [0, 1]$ is a sequence of continuous functions which converges to $f$ pointwise, then $f$ is Riemann integrable and $\int_0^1{f_n} \to \int_0^1f.$  With help from the comments I found  counterexample, but I am hoping there is a simpler one. If we replace the Riemann integrals by Lebesgue integrals, then the result is true by the Dominated Convergence Theorem. This implies that if $f$ is Riemann Integrable, then indeed  $\int_0^1{f_n} \to \int_0^1f.$ So in looking for a counterexample, we should try to find one where $f$ is not Riemann integrable. Thank you very much for any help.


If $f(x+a)$ is irreducible over $F$ then $f(x)$ is irreducible over $F$

Actually we can prove the statement in the reverse way.  Here $a$ is non zero element, $F$ is a field.  Suppose $f(x)$ is reducible then $f(x) = g(x)h(x)$, then $f(x+a)= g(x+a) h(x+a)$.  But I can't understand what it exactly wants to convey.  It's an exercise problem from Joseph Gallion Algebra under Factorization of Polynomials.


Should I mention a cancelled research summer internship in my document?

I got the admission from Mitacs Globalink Research Internship last year, a research internship initiative in Canada, but it was cancelled due to Covid19. Now I am applying for my Master program in a different major (My research program is physics but I am applying for Computer Science Program), should I mention it in my application document (like CV & Statement .etc)? If it is feasible, how to describe it properly? PS: I contacted my instructor after the cancellation if it was possible to conduct it in a remote mode, but after the consideration he rejected it because of the difficulty of doing research remotely. So I have not done anything about the program Many other people must have encountered the same cancellation in various programs, and some of my peers in the program have the same questions. I hope to hear a good instruction on the issue, thanks.


Is it possible to exit the airport without going through the customs?

I was a first time traveler and didn't know what to do.  I got my luggage and exited the airport without going through the customs. I didn't pass when I arrived in the country that I travelled to and didn't pass again when I arrived at the country I travelled from.  It's an honest mistake, I just didn't know what to do then until my friend told me.    I am planning to travel again but I am afraid that I may have violated something and they will not allow me to leave.  Can I get penalized?


Closed form expression to a nested radical formula

$$\large\lim\limits_{n\to\infty}\left(1+\sqrt{2+\sqrt[3]{3+\sqrt[4]{4+\sqrt[5]{5+\sqrt[6]{6+\cdots+\sqrt[n-1]{(n-1)+{\sqrt[n]{n}}}}}}}}\right)$$  I can only obtain the numerical approximation of it:  $$2.911639216245824$$  How to find a mostly simplified cloed form expression?


I installed ubuntu 16.04 and now my wifi will not come up

After install 16.04, my wifi stopped working.  It recognizes it in Network Connections window, including my SSID and password.  It just wont connect.  Any suggestions?  *-network                       description: Ethernet interface        product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:01:00.0        logical name: enp1s0        version: 05        serial: 08:9e:01:4c:37:0e        size: 100Mbit/s        capacity: 100Mbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8105e-1.fw ip=192.168.0.110 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s        resources: irq:28 ioport:2000(size=256) memory:90004000-90004fff memory:90000000-90003fff   *-network UNCLAIMED        description: Network controller        product: BCM4313 802.11bgn Wireless Network Adapter        vendor: Broadcom Corporation        physical id: 0        bus info: pci@0000:02:00.0        version: 01        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list        configuration: latency=0        resources: memory:90100000-90103fff


Why is the value of 'count' not kept across different recursions?

This is Java code to count inversions in an array.  private void findInversions(int begin, int end, Integer count) {     System.out.println("begin: " + begin + ", end: " + end + ", and count is " + count);     if (end - begin < 1)         return;     int middle = (begin + end) / 2;     findInversions(begin, middle, count);     System.out.println("begin: " + begin + ", end: " + end + ", here count is " + count);     findInversions(middle + 1, end, count);     mergeAndCount(begin, middle, end, count);     System.out.println("begin: " + begin + ", end: " + end + ", count now is: " + count); }    private void mergeAndCount(int begin, int middle, int end, Integer count) {      int[] result = new int[end - begin + 1];     int aptr = begin;     int bptr = middle + 1;     for (int i = 0; i < result.length; i++) {         if (aptr <= middle && bptr <= end) {             if (numbers[aptr] < numbers[bptr]) {                 result[i] = numbers[aptr];                 aptr++;             }             else { // numbers[aptr] > numbers[bptr]                 // (a[aptr], b[bptr]) is an inversion here                 count++;                 System.out.println("Found: (" + numbers[aptr] + "," + numbers[bptr] + ") " + count);                 result[i] = numbers[bptr];                 bptr++;             }         }         else if (aptr > middle) {             result[i] = numbers[bptr];             bptr++;         }         else if (bptr > end) {             result[i] = numbers[aptr];             aptr++;         }      }      for (int i = 0; i < result.length; i++) {         numbers[begin + i] = result[i];     }  }   The inversions are printed just fine, but the count is never correct, because it loses its value after a recursive call returns. I've debugged couple of times and all I saw was that count became 0 again when a recursion ended, but I couldn't find why. Can anyone explain?


Should partitioning increase performance of indexed accesses and updates?

I often hear that partitioning huge tables should significantly increase query speed and insert/update speed, because indexes are proportionally smaller. I'm struggling to understand why that should be the case. In my understanding operations on an index should be of log(N) complexity, so even if we partition a huge table into 100 smaller items then we just partitioned a single index into 100 smaller ones. If queries frequently access items from the entire dataset, then these 100 indexes will compete for processor cache anyway, so I don't see why database will be hitting the disk less often. If we are usually only requesting some portion of the data - for example if we have a table with timestamped data and are more often interested in latest data - then the B-tree node count that we have to traverse will be 1 or 2 less. But in un-partitioned table scenario top-most nodes of B-tree will be cached anyway, so the fact that B-tree is slightly higher shouldn't have significant impact on performance. Variation on previous scenario: if we are commonly accessing ranges of data that are on the same "axis" as the partition key - again, if we have a table paritioned by timestamp and run reports on date ranges - then partitions will provide natural clustering for the data, thus reducing disk accesses and improving query performance. But I don't see how this will improve insert/update performance? And why should it improve performance on queries that do not filter by partition key? I realize that partitions are useful in some other cases (dropping old data, lock contention with many users, backups, aforementioned clustering, etc) - but I commonly hear that query or update performance should increase as well, hence this question. I'm most familiar with PostgreSQL, but I suspect the underlying concepts are similar between many relational databases.


Package expect is not installed in gnome connectiom manager

I'm trying to install gnome connection manager after installation following process comes. sudo dpkg -i gnome-connection-manager_1.2.0_all.deb Selecting previously unselected package gnome-connection-manager. (Reading database ... 171778 files and directories currently installed.) Preparing to unpack gnome-connection-manager_1.2.0_all.deb ... Unpacking gnome-connection-manager (1.2.0) ... dpkg: dependency problems prevent configuration of gnome-connection-manager:  gnome-connection-manager depends on expect; however:   Package expect is not installed.  dpkg: error processing package gnome-connection-manager (--install):  dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ... Processing triggers for mime-support (3.60ubuntu1) ... Errors were encountered while processing:  gnome-connection-manager  When I clicked to launch the gnome connection manager icon the message come "You must install expect" Kindly guide me how to fix this issue


Measure of  reals in $[0,1]$ which don't have $4$ in decimal expansion

It's an exercise in E. M. Stein's "Real Analysis."  Let $A$ be the subset of $[0,1]$ which consists of all numbers which do not have the digit $4$ appearing in their decimal expansion. What is the measure of $A$?  I would be grateful if someone can give me some hints.  Thank you.


SQL Server 2012 Standard Edition using more than 64GB of memory, why and how?

I put SQL Server 2012 Standard on a virtual machine (VMWare) which has roughly 98GB of Memory.  Now I checked the query below how much memory is taken by SQL Server.  Microsoft SQL Server 2012 - 11.0.5058.0 (X64)    And see that he ate already 81GB of the memory and the max Memory is set to ~90GB.  Using:  select (physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,       (locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,  (total_virtual_address_space_kb/1024 ) VAS from sys. dm_os_process_memory   SQL Server 2012 Standard should support only 64GB of memory.  Why does my SQL Server eat more than he can? Or is the info incorrect?  Any idea? Is that related to a virtual machine using virtual memory?   I don't know if balloon driver is activated on VM Host...  If you need any more info I will add it.


Get to system restore without loading USB keyboard or mouse drivers?

My windows 8.1 pro system has been running great, and I should have left everything alone, but after installing a new graphics card, I thought I'd go ahead and update other drivers.  I made system restore points and updated the USB 3.0 drivers, then restarted.  System restarts fine, but keyboard and mouse are not responsive.  RDP is disabled. PC is on LAN, but I don't know it's IP.  All I'm able to do is hard restart with the reset button. Keyboard works until Windows starts, so I can do whatever until then...  How do I get into system restore mode (before the new USB drivers kick in and disable keyboard and mouse) to roll back to the restore point?


Starting photography was in the back of my head for the last couple of years. Now that a new year is approaching I want to make this happen. I just want to say that I have no idea where do I begin. The only camera that I own at the moment is that of my cell phone.  I am really interested in black/white photography and people seem to think that's a good place to start. I managed to save around 450 euros so that's my budget. Any input you have for me it would be greatly appreciated.


Let $A$ be a $3$X$3$ matrix whose eigenvalues are $1$, $2$, $3$. Find $\det(B)$ where $B = A^2 + A^T$.  I know that $\det(A) = 6$, but I cannot proceed after $|A^2 + A^T|$. Any hints as to how to approach the problem?


i have string like below :  FuntionStr='AccName,S,Balance,N,AccrInterest,N'   i would like to convert string to two dimensionals list :  FuntionList=[('AccName','S'),('Balance','N'),('AccrInterest','N')]   Please help give me any example code.  Regards,


Disjoint closed sets in a second countable zero-dimensional space can be separated by a clopen set

I want to prove the following:     Let $X$ be second countable zero-dimensional space.  If $A,B \subseteq X$ are disjoint closed sets, there exist is a clopen set $C$ such that $A\subseteq C$ and $B\cap C = \emptyset $.   (A topological space $X$ is zero-dimensional if it is Hausdorff and has basis consisting of clopen sets.)


Proving the summation formula using induction: $\sum_{k=1}^n \frac{1}{k(k+1)} = 1-\frac{1}{n+1}$

I am trying to prove the summation formula using induction:  $$\sum_{k=1}^n \frac{1}{k(k+1)} = 1-\frac{1}{n+1}$$  So far I have...  Base case:   Let n=1 and test   $\frac{1}{k(k+1)} = 1-\frac{1}{n+1}$  $\frac{1}{1(1+1)} = 1-\frac{1}{1+1}$    $\frac{1}{2} = \frac{1}{2}$   True for n=1   Induction Hypothesis:   Assume the statement is true for the n-th case   $\sum_{k=1}^n  \frac{1}{k(k+1)} = 1-\frac{1}{n+1}$  Inductive Step:   Prove, using the Inductive Hypothesis as a premise, that   $$\sum_{k=1}^{n+1}  \frac{1}{k(k+1)} = \sum_{k=1}^{n}  \frac{1}{k(k+1)} + \frac{1}{(n+1)(n+2)} = 1-\frac1{n+1} + \frac{1}{(n+1)(n+2)} = \frac{(n+1)(n+2)}{(n+1)(n+2)}+\frac{-2-n}{(n+1)(n+2)}+\frac{1}{(n+1)(n+2)} = \frac{(n+1)(n+2)-2-n+1)}{(n+1)(n+2)} = \frac{(n+1)(n+2)-n-1}{(n+1)(n+2)} = \frac{n^2+2n+1}{(n+1)(n+2)} = \frac{(n+1)(n+1)}{(n+1)(n+2)} = \frac{n+1}{n+2}$$  To prove $$ 1-\frac{1}{n+2} = \frac{n+1}{n+2} $$ Multiply both sides by $n+2$ to get an equivalent expression. $$ (1-\frac{1}{n+2}) * (n+2) = (\frac{n+1}{n+2}) * (n+2)  $$ $$ n+1=n+2−1 $$  Does this all make sense? How can this be improved upon?


What is another word or phrase for state?

By 'state' I mean part of a country, like New York, for instance. What other word is globally accepted to mean what we know as state. A little background I'm building a web form where users will have to select their country and then type in their state. If I'm not mistaken, some countries might not use the word 'state.' So I need another word that can be attached to the 'state' label so almost any user easily understands what is required of them. Thank you.


Contradiction between the Law of Large Numbers and the Gambler's Fallacy?

If I flip a fair coin 10 times, and all of them land on heads, according to the Law of Large Numbers I am more likely to get tails on the next flip. However, this is clearly the Gambler's Fallacy.   How am I misinterpreting the Law of Large Numbers?


The local variable may not have been initialized or java.lang.NoClassDefFoundError stuck in between

First, sorry for basic questions..But still, I could not run the run properly. The whole code is like this, and I run it with eclipse.  import java.io.File; import java.io.FileInputStream; import java.io.IOException; import org.apache.poi.poifs.filesystem.*; import org.apache.poi.hssf.usermodel.*; public class hannimpeha1 {     public static void main(String[] args) throws IOException {          // Locate xls file.                 File workbookfile = new File("C:\\Users\\bok\\Desktop\\old.xls");                 FileInputStream file = new FileInputStream(workbookfile);                 POIFSFileSystem fs = new POIFSFileSystem(file);                 @SuppressWarnings("resource")                 HSSFSheet sheet = new HSSFWorkbook(fs).getSheetAt(1);          // Get row and column count.                     int rowCount = sheet.getPhysicalNumberOfRows();                     int colCount = sheet.getRow(0).getLastCellNum();          // Iterate over rows and columns.                     for(int r = 0; r < rowCount; r++) {                         HSSFRow row = sheet.getRow(r);                       for(int c = 0; c < colCount; c++) {                                                  HSSFCell cell = row.getCell(c);                         String cellval = cell.toString();                        System.out.print(" | " + cellval);                       }                       System.out.println(" |");                   }         } }   The code itself seems okay, but it throws out,   "Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections4/ListValuedMap     at hannimpeha1.main(hannimpeha1.java:15)"    if I put XSSFRow row = null; to suppress error message, otherwise I got The local variable row may not have been initialized  what is this mean? and how can I fix this? Thank you for your suggestions.


How to move a taxonomy term from one vocabulary to another?

How can I change vocabulary of some taxonomy term? And keep all its data - tid, references, fields, alias and translations (except hierarchy)?


I have to show the followiing equation, but I can't see how that can even be true: $$\frac{B(x,y)}{c^{y}} = \int_{0}^{\infty} \frac{t^{x-1}}{{(c+t)}^{x+y}}$$ What I tried is $$\int_{0}^{\infty} \frac{t^{x-1}}{{(1+t)}^{x+y}c^{y}} = \int_{0}^{\infty} \frac{t^{x-1}}{{(1+t)}^{x}{(1+t)}^{y}c^{y}} = \int_{0}^{\infty} \frac{t^{x-1}}{{(1+t)}^{x}{(c+ct)}^{y}}$$ but this doesn't seem to get me anywhere since it doesn't result in the integral on the right side.


For instance, let $v_{1}=(1,-2,3),v_{2}=(0,-1,2)$. The set $\{v_{1},v_{2}\}$ is linearly independent. Enlarging $\{v_{1},v_{2}\}$ to a basis for $\mathbb{R}^3$ I simply form a matrix using $v_{1},v_{2}$ as columns and then augment one of the elementary columns from $I_{3}$ and see whether the resulting echelon form has $3$ pivots, from then I conclude that it spans $\mathbb{R}^3$ and is linearly independent.   But the book I am using gives a solution as: $(a,b,c)$ with $9a-3b-5c\neq 0$. What method was use here and how might I arrive at such an answer? Thanks.


How to remove duplicates from a list of custom objects, by a property of the object

I want to remove the duplicates based on a property of my object:  public class MyType {     public string _prop1;     public string _prop2;      public LocationsClass(string prop1, string prop2)     {         _prop1= prop1;         _prop2= prop2;     } }  ...  List<MyType> myList;   So basically I want to remove all MyType objects from myList, with the same value in _prop1. Is there a way to do this, probably with LINQ?


'Boot space insufficient' Problem after updating Ubuntu

Recently, I updated my Ubuntu 16.04 and now I am facing problem with my boot space. How can I fix this problem? Is there any way to reallocate the /boot space?


I’m interested in expliciting a norm in the space of continuous functions from $\Bbb{R}$ to itself. It does not need to induce a complete metric.


Nonexistence of a continuous injection from $\mathbb{R}^n$ to $\mathbb{R}$, for all $n \geq 2$.

I'm trying to do the following exercise from my lecture notes:  There does not exist a continuous injection from $\mathbb{R}^n$ to $\mathbb{R}$, for all $n \geq 2$.  I don't really know where to start, but I think it helps that the exercise is marked as harder than the following exercises before it:   $\mathbb{R}^n\setminus\{0\}$ is connected, for all $n \geq 2$.  $\mathbb{R}^n$ is nonhomeomorphic to $\mathbb{R}$, for all $n \geq 2$.


How do you add tags to blocks so they can only be placed on 1 type of block?

I am trying to make a Escapists map and i want to know how to add tags to blocks so they can only be placed on a certain block? Thank you to whoever anwsers my question.


A common need when using a database is to access records in order. For example, if I have a blog, I want to be able to reorder my blog posts in arbitrary order. These entries often have lots of relationships, so a relational database seems to make sense.  The common solution that I have seen is to add an integer column order:  CREATE TABLE AS your_table (id, title, sort_order) AS VALUES   (0, 'Lorem ipsum',   3),   (1, 'Dolor sit',     2),   (2, 'Amet, consect', 0),   (3, 'Elit fusce',    1);   Then, we can sort the rows by order to get them in the proper order.  However, this seems clumsy:   If I want to move record 0 to the start, I have to reorder every record If I want to insert a new record in the middle, I have to reorder every record after it If I want to remove a record, I have to reorder every record after it   It's easy to imagine a situations like:   Two records have the same order There are gaps in the order between records   These could happen fairly easily for a number of reasons.  This is the approach that applications like Joomla take:    You could argue that the interface here is bad, and that instead of humans directly editing numbers, they should use arrows or drag-and-drop—and you'd probably be right. But behind the scenes, the same thing is happening.  Some people have proposed using a decimal to store order, so that you can use "2.5" to insert a record in between the records at order 2 and 3. And while that helps a little, it's arguably even messier because you can end up with weird decimals (where do you stop? 2.75? 2.875? 2.8125?)  Is there a better way to store order in a table?


intuition on the fundamental group of $S^1$

I am familiar with the proof that the fundamental group of the unit circle $S^1$ is $\mathbb Z$, yet I couldn't develop intuition for why it is true. For example, why would I fail if I try to find homotopy from a path that circles $S^1$ once to the path that stays at one point all the time? What brakes the continuity of such a homotopy?


Compute $P(X_1+\cdots+X_k\lt 1)$ for $(X_i)$ i.i.d. uniform on $(0,1)$

Consider $N=\min\{n: S_n>1\}$, where $S_n=X_1+\cdots+X_n$ and $(X_i)_{i=1}^\infty$ is i.i.d. uniform on $(0,1)$. So, $N$ is the first time that $(S_n)_{n=1}^\infty$ crosses $1$. I'd like to calculate $E(N)$. To this end I'd like to calculate $\Pr(N\gt k)=\Pr(S_k\lt 1)$.  Is there a way to actually do this for any arbitrary $k$? I mean, certainly there is as I know about the distribution of $S_n$ but the formula is just formidable when you move with $k$ toward $\infty$ and even though tractable with a computer, I don't think it's tractable without it.  Is there maybe a better way to calculate the expectation? Thanks for any help.


Broken textures(?) after resuming from sleep

After resuming I have a graphics issue with textures (not sure, see screenshots).  Windows frame:    Viber app:    Also some other apps are affected.  Some video info:  $ lspci | grep 'VGA\|3D' 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) 01:00.0 3D controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)  $ glxinfo | grep OpenGL OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GTX 970M/PCIe/SSE2 OpenGL core profile version string: 4.5.0 NVIDIA 375.39 OpenGL core profile shading language version string: 4.50 NVIDIA OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.5.0 NVIDIA 375.39 OpenGL shading language version string: 4.50 NVIDIA OpenGL context flags: (none) OpenGL profile mask: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 375.39 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions:   Unity reload (Alt+F2 → unity) helps, but it crashes the most of open apps.  Any suggestions?  UPD: seems like it is bug of NVidia card/driver (reproduced with nvidia-367, nvidia-370, nvidia-375, nvidia-378).


Is this sentence actually grammatical?     You know your having a rough day when kittens don't even make you smile.   The writer of this sentence may intend to mean you're instead of your but I'm just wondering if having a gerund preceded by a genitive is considered grammatical in this case.  If the sentence above is ungrammatical, why is this sentence grammatical?      He resents your being more popular than he is.   What's the difference between these two sentence that determines one to be grammatical and the other to be not?  This is how I analyze the two sentences and I can't see the difference:   "You know it when kittens don't even make you smile" for "it" = "your having a rough day" "He resents it" for "it" = "your being more popular than he is"


If a point $a\in D$ is a zero of $f$, prove that $a$ is a limit point of zeros of $f_n$ for $n > n_0$

Let $\{f_n\}_{n=1}^\infty$ be a sequence of holomorphic functions in a domain $D\subset \mathbb C$ which converges uniformly on a compact subsets to $f$ with $f\not\equiv 0$. If a point $a\in D$ is a zero of $f$, prove that $a$ is a limit point of zeros of $f_n$ for $n\geq n_0$ for some positive integer $n$.         Someone gave me a hint, but I forgot it.


Is it possible to use different wifi IP on apps?

Basically, my question is, can you change the wifi IP on different sessions. Like you have a different wifi IP on YouTube and Facebook.


How does Kyle Reese get hooked up with Sarah Connor?

In Terminator Genisys, Kyle Reese goes back in time and we find out that Kyle is Sarah Connor's "mate" and John Connor's father even though Kyle was born 30 or 40 years after Sarah Connor.   A similar trip by Kyle to the past caused the birth of John Connor in an earlier movie. So there is a paradox. Kyle Reese goes back in time to protect the mother of John Connor but in that very same act Kyle himself becomes the father of John Connor. So that John Connor would not even exist in the first place if this recursive loop in time were not repeating.   So how did this loop begin?


How much of an $n$-dimensional manifold can we embed into $\mathbb{R}^n$?

I observed some naive examples. Spheres, for example, when we cut out one point, can be embedded into $\mathbb{R}^n$. And if we cut out a measure zero set of a projective space, it can be embedded into the Euclidean space of the same dimension. So I wonder if all manifolds can be embedded into a same dimensional Euclidean space when we cut out a measure zero set? Can anyone prove it or disprove it by giving me some counterexamples?


I've run through Both SO and Meta searches for an answer, as well as reviewing the , and I cannot find a canonical process to challenge an audit failure.  I can find discussions of the single-choice "I Understand" topic that appear unresolved, in that no solution presently exists.  The particular question in point is .  Despite the number of up-votes, I feel that this quite clearly falls into a common closure category: "Here's my problem; how do I write the program?"  Compare this to   I also failed review on the first link I posted above, .  This looks like a case of code review, rather than SO.  I don't want to get rid of audits; I've learned good things from some of my failures, especially at the start.  However, in the past few weeks, a majority of my failures have been highly questionable, and I've drawn more than one suspension from those that are outright wrong by current standards.  If we have a challenge mechanism, please point me in the right direction.  Otherwise, it's simply not worth the annoyance any more, and I'll drop back to merely comments and answers.


If p and $8p^2+1$ are prime numbers then $p=3$?

I'm trying to prove the statement above.   Any hints?


Vector autoregression for mix of stationary and nonstationary variables

I am currently investigating the impact of certain indicators such as GDP and inflation on the stock market. However some of my variables are non-stationary and some stationary in levels. All variables are stationary in first differences.  My question:   Since I have a mix of I(0) and I(1), I need to take the first difference of the I(1) variables and then use VAR. Say that I have a dependent variable $y$ which is I(0) and independent variables $x_1$ which is I(1) and $x_2$ which is I(0). Do I take the first differences of only $x_1$ and then apply the VAR model? Is that correct?  If I take the first differences, then might I lose the long-run relationship between the variables? Is ARDL the better method in this case?   If you have any references regarding the above I would be grateful.


java.lang.NoClassDefFoundError: how do i resolve this?

I'm using NetBeans to write the program. The program calculates the area of a circle The code : public class Pragnya {      public static void main(String[] args) {         int r = Integer.parseInt(args[0]);         double PI = 3.14;         double area = PI * r * r;         System.out.println("Area of circle is: "+area);     }      }  The error shown is : Error: Could not find or load main class Pragnya Caused by: java.lang.NoClassDefFoundError: pragnya/Pragnya (wrong name: Pragnya)  How do I resolve this?


I want excerpt to be appear in paragraph, atleast 400 words and  words should not be cut at end.  is my website and it should be align left.  i want excerpt like single post style. And i dont want to have "....".


what does this mean in detail? -rwxr-xr-x 1 root root 920788 Mar 28 2013 bash

can anybody help me with what this means: -rwxr-xr-x 1 root root 920788 Mar 28 2013 bash and explain it in detail.


Prove or Disprove: There exists $f: \mathbb{R} \rightarrow \mathbb{R}$ that is onto and one-to-one but not continuous.

There exists $f:  \mathbb{R} \rightarrow  \mathbb{R}$ that is onto and one-to-one but not continuous.  I believe this statement is wrong, because values exist in the function's image that will not be "used" due to the function not being continuous. And since the function is one to one, no other number in the domain will be able to use up that specific y value in the range/image.  Am I correct? What could I use for a more concrete proof?


How do I find the equation of the circumcircle?

Tangents are drawn from the point P(1,8) to the circle $x^2+y^2-6x-4y-11=0$ touch the circle at points A and B.So what will be the equation of the circumcircle of $\Delta$ PAB?I am not asking you to to solve the question and tell me the answer.Just tell me how to do it please.


I'm looking for a single word noun that would perfectly summarize the stereotypical nerdy uptight virgin student council president.   Basically, a more proper version of the slang word "square": a person who always does what they're supposed to even if it means sacrificing things like fun and happiness and who casts a judgemental gaze on anyone who does otherwise.   I'm trying to describe a certain person, and so far I've got "an OCD, judgemental, paranoid, uptight", but I need a noun to finish it off.


Why does Vbe decreases with the increase in temperature for an n-p-n transistor?

Microelectronics Circuits by Sedra/Smith says,     As in silicon diodes, the voltage across the emitter–base junction   decreases by about 2 mV for each rise of 1°C in temperature, provided   the junction is operating at a constant current.     $$i_c = I_s e^{\frac{V_{BE}}{V_T}}$$  $$\implies V_{BE} = V_T \ln\left( \dfrac{i_c}{I_s}\right)$$  $$\implies V_{BE} = \frac{kT}{q} \ln\left( \frac{i_c}{I_s}\right)$$  It can be clearly seen that when \$i_c\$ is constant, \$V_{BE}\$ is directly proportional to temperature.  Then why does the voltage decreases instead of increasing?


What is the largest power of 2 that divides $200!/100!$.  No use of calculator is allowed. I had proceeded in a brute force method which i know regret.. I would like to know your methods.


I just updated the DNS record (ns1, ns2, ns3.myhostingcompany.com) for a site I've got hosted, but I still get the domain registrar parking page.  I'd like to see if the problem is Ubuntu's cached DNS records. Is there a way to clear Ubuntu's DNS cache? (if such a thing exists?)


Calculating the integral $\int_{-\infty}^{\infty} x\sin(x)/(x^2+1)^2 dx$

I need help calculation the integral $\int_{-\infty}^{\infty} x\sin(x)/(x^2+1)^2 dx$  I am getting confused on how to integrate around $\pm i$. I think I'll have to use $\gamma = Re^{i\theta}$ where $|R|\leq n$ for $n\geq1$


Proving that every connected graph has a vertex whose removal will not disconnect the graph.

I have not done much proofs before this and need some guidance. I know that for a simple graph such as this :  node - node - node -node   Removing the first and last vertex will not disconnect the graph. So far, I can think of two cases: Where there are leaves, or nodes with degree of 1. Where there are no leaves, which means all nodes have degrees 2 or more.   In the first case, removing the leaf will not disconnect the graph. In the second case, removing any should not disconnect the graph. Problem is, I don't know how to formulate this into a good proof.


How to get the players to care and RP more?

About two month ago I got interested in D&D and I decided to start playing it. I read the rules, found an adventure and got four of my friends to play with me. They always show up to play and we have fun, but I think the game could be a lot better and fun than it currently is.  I think my main problem is that the players don't seem to care that much, mostly about RP. I know you shouldn't force RP, but they never ever speak in character (Instead they choose "I ask him if..." "I try to intimidate him..." and come up with the simplest stuff when I ask them what they're saying exactly).  They don't seem to take most of the NPCs, the world, or the challenges seriously, and they don't take initiative at all no matter how I try to make them. I have to ask "What do you do?" every 5 minutes, and most of the time they say they don't know or very vague stuff, like they just wanna get the story going.    It annoys me because I like DMing, but I would also really like to be a player so I could immerse myself in the world and RP.  My players, on the other hand, don't seem interested in that, and so the only moments where anything seems to be happening are during fights.  Another problem I have is pacing. We play something like 2-3 hour sessions, and all we can do is a very tiny bit of roleplaying and at most 2 fights, or one fight and one skill challenge.    In the end I'm really frustrated, because the story doesn't move very quickly, the players don't seem to care that much about it anyway, I kinda have to hold their hands if I want something to happen, and while I was excited to roleplay with them and let them discover this awesome world that I created on my own, they don't really do that.  I really like them, they're my best friends, but sometimes it's really unsatisfying to play with them.  However, they're the only players I've got.    Oh and one last thing which may be one of the causes of the problem:  we play on Roll20, not IRL, so sometimes they just mess up with the drawing tool and sometimes they just don't answer and are kinda lost.


How to stop an extra trailing newline character?

This is my code:  line = 'hi' while line != '':     line = input('Sentence: ')     if '!' in line:         if list(line)[0] == '!':             reversed_text = ''             last_index = len(line) - 1             for i in range(last_index, -1, -1):                 reversed_text += line[i]             print(reversed_text)         else:             print(line)     else:         print(line)   It seems to be adding an extra blank line when the user inputs nothing, and I'm not sure how to stop it. Any suggestions?


Pgfplots Boxplots with a thick line at the mean value

produces nice looking plots, that have consistent look and feel. But sometimes you have a good reason to change that look, and I found it tricky to change style of an specific line, circle, etc.  I am using R to process my data, and I need to create a  and use it with LaTeX. Using tikz/pgfplots to draw boxplot, I can produce the boxplot using data generated by R, but I want boxplots that have thick line in the mean value. Using keyword thick causes all lines of the boxplot to be drawn thick.  This is an  that I use:  \documentclass{article}  \usepackage{pgfplots} \usepgfplotslibrary[statistics] \pgfplotsset{compat=1.12}  \begin{document}  \begin{tikzpicture} \begin{axis}[boxplot/draw direction=y] \addplot+[ boxplot prepared={     lower whisker=5,     lower quartile=7,     median=8.5,     upper quartile=9.5,     upper whisker=10, }, ] table[row sep=\\,y index=0] { data\\ 1\\ 3\\ }; \end{axis} \end{tikzpicture}  \end{document}   My desired plot should look like this:    which is created with R, and it should optionally have a dashed vertical line, and smaller min and max limits.


$k[x_1,...,x_n]/I$ is an Artinian ring if and only if $k[x_1,...,x_n]/I$ is of finite dimension as $k$ vector space. ($k$ is algebraically closed)

$k[x_1,...,x_n]/I$ is an Artin ring if and only if $k[x_1,...,x_n]/I$ is of finite dimension as $k$ vector space. ($k$ is algebraically closed)  My attempt:  If $k[x_1,...,x_n]/I$ is Artin and $k[x_1,...,x_n]/I$ is of infinite dimension as k-vector space, let's take $\{b_1,b_2,...\}$ a base for $k[x_1,...,x_n]/I$, then it would be fulfilled that $\left \langle b_1, b_2,...  \right \rangle\supset  \left \langle b_2,...  \right \rangle\supset\left \langle b_3,...  \right \rangle $ is a descending chain that does not stabilize which contradicts that $k[x_1,...,x_n]/I$ is Artin. (This is OK?)  On the other hand, if $k[x_1,...,x_n]/I$ is of finite dimension as a k-vector space, then let $\{b_1,..., b_n\}$ take a basis for $k[x_1,...,x_n]/I$, are the ideals of $k[x_1,...,x_n]/I$ of finite dimension as k-vector space?


Why is there a secondary image of a light bulb in my image?

I have a few pictures of this anomaly, the fluorescent bulb has seemed to move into another location of the picture when took perfectly still photos. I used a Fuji Finepix-S.   What could of caused this anomaly?


How can you put text on top of a <picture> tag? so lets say you have:  <picture>   <source media="(min-width: 650px)" srcset="someotherimage.jpg">   <img class=" w-100 " src="someimage.j" alt="The Advocates   </picture>  So basically its a width 100% image that is supposed to work as a background image, but you want to add some text on top of it, kind of like floating on top of it. How can you do that? Lets say I do something like this:  <picture>   <source media="(min-width: 650px)" srcset="someotherimage.jpg">

Hello I am the text over the image

  </picture>  I know the code above wouldn't, but what would be the right way to do it?


Blank desktop after installing Ubuntu 14.04

I performed a clean install from an Ubuntu 14.04 iso disk. When I login I get a blank desktop with only the Ubuntu 14.04 logo showing in the lower left-hand corner of the screen. Nothing comes up on the screen when I right-click my mouse. I have to power off my HP PC in order to try to reboot the computer.  I have tried numerous suggestions from other threads with the same issue. I am fairly new to Ubuntu and Linux.


TikZ: Polar coordinates referencing system

Many times I like to use polar coordinates but the reference frame is always at the origin.  This is a bother when I went to draw a specific angle and radius from a location other than the origin.  I end up having to do xshift and/or yshift or the scope environment.  Is it possible to have polar coordinates work from the location I start each time; that is, it interprets the starting point as its origin.  I don't just mean for one instance though.  If I say, \draw (1,1) -- (30:1cm); and then later use \draw (-2,5) -- (60:1cm); each location will be treated as the origin when the line is drawn.  \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node at (0,0) {O}; \draw(-3,2) -- (45:1cm); \end{tikzpicture} \end{document}   From the picture, we see that the line was drawn right and down.  However, 45 degrees from (-3,2) should be up and right since my reference frame wasn't the origin here.


Frequently when I ask a question I have to include quite a bit of code for reference purposes.    It would be nice to be able to bold the important lines in the code.  For example this code:  <DataTrigger Value="True">     <DataTrigger.Binding>         <MultiBinding Converter="{StaticResource DisableWorkItemConverter}">             <Binding ElementName="MainForm" Path="PickedWorkItemID"/>             <Binding Path="Id"/>         </MultiBinding>     </DataTrigger.Binding>     <Setter Property="IsEnabled" Value="False"/>     <Setter Property="IsSelected" Value="False"/> </DataTrigger>   Is not way long, but the important part (as seen in ) is the second to last line.  However, if I try to bold it, it ends up looking like this:  <DataTrigger Value="True">     <DataTrigger.Binding>         <MultiBinding Converter="{StaticResource DisableWorkItemConverter}">             <Binding ElementName="MainForm" Path="PickedWorkItemID"/>             <Binding Path="Id"/>         </MultiBinding>     </DataTrigger.Binding>     <Setter Property="IsEnabled" Value="False"/>     **<Setter Property="IsSelected" Value="False"/>** </DataTrigger>   Not what I was going for.  It would be nice to be able to draw attention to specific lines of code when needed.    (One suggestion of a different color background sounds nice too (ie a yellow background to draw the eye to the relevant code.)  If there is some other way to bold in code please let me know.


Give each site a parallel site for polling, recommendations and subjective-ish stuff

Stuff like polls, recommendations based on subjective constraints, puzzles, webcomics etc. do not belong on the serious main SE sites, where professionals should be considered at work and having just a few spare minutes ("code's compiling") to answer questions, so they should not be distracted by such things. However, I'd also like to have a home for these things still using the SE engine. For the reason I mentioned before, this needs to be a separate place though. Let's call it four.[sitename-here].com.


Having  that in Old English the word for was written as fore, why is therefore still written as it is currently, and not as therefor?   Being a non-native English speaker, many times I automatically write therefor, as my brain probably is thinking on for. Alternatively, many times I also write fore, as my brain is probably thinking on therefore.   Edit: the  is about the difference between the two expressions, and it would only be relevant if the actual reason why it is therefore instead of therefor is to distinguish them. But since that is not the reason, I believe that question is not a duplicate of this.


Why isn't the background colour showing up in my divs?

So I want to have a background colour for each of my div sections to separate them but it's not showing up, I tried putting the background colour in the html code and the css code but it didn't work for either so how can I fix this problem? Here is what it looks like:  Here is my html code:   #background1 {   background-color: #c5c5c5; } #box {   margin-top: 10%;   padding: 20;   height: 200px;   width: 300px;   background-color: #f2f2f2;   text-align: right;   float: right; }  .left {   margin-top: 10%;   padding: 20;   width: 50%;   display: block;   float: left; }  .right {   padding: 20;   width: 50%;   display: block;   float: right; }

About us

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed    cursus ante dapibus diam. Sed nisi.    Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus    sed augue semper porta. Mauris massa.    Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora torquent per conubia    nostra, per inceptos himenaeos.


Expected number of cycles in permutation

Consider a random permutation of $1,2,\ldots,n$. What is the expected number of cycles in it? I thought about using linearity of expectation, but here it's not clear how we can break down the main random variable into different ones.


How does mathematical induction actually work?   After surfing on the internet for a while, I found the following analogy. Consider rectangular tiles (dominoes) stacked on beside the other. When we force the first tile to fall, the others begin to fall. To actually know if all the tiles have fallen, we need to know the following-   If the first tile has fallen or not. (If not, non of them have fallen) If the first tile has fallen, then we can pick some random tile from the stack to check if that has fallen. If this tile has fallen, then the previous tile must have also fallen.  From this, we can conclude that all the tiles have fallen.   But I don't understand how this idea of induction works with numbers?


How to detect the presence of URL in a string

I have an input String say Please go to http://stackoverflow.com. The url part of the String is detected and an anchor  is automatically added by many browser/IDE/applications. So it becomes Please go to http://stackoverflow.com.  I need to do the same using Java.


Entering Spain with a Schengen visa taken from Italian embassy

With the Schengen visa taken from Italian embassy can I enter Spain?


difficulty upgrading distribution from yakkety/zesty

I'm trying to upgrade my Ubuntu distribution to version 17.10 Artful Aardvark from my current version, which is either 17.04 Zesty Zapus or 16.10 Yakkety Yak.  Ok, so I start out with the standard  sudo do-release-upgrade   I encounter multiple PPA errors (Err http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu yakkety Release 404 Not Found and the like).  It asks if I want to rewrite my sources.list in order to update zesty entries to artful. I say yes. It then says no valid entries for zesty are found and asks if it should add default entries for artful. I say yes. It disables third-party sources.  It appears to do an apt update and then halts saying  Error during update  A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.   There is no network problem.  It goes on in its error message to mention how some repositories do not have a Release file, though it doesn't indicate that this is a major problem.  Then, it halts, saying only  Restoring original system state   To try to address what seems to be problems arising from third-party sources, I  try to remove them, starting with running a sudo apt-add-repository -r ppa:fkrull/deadsnakes I encounter an error that ends with the following:  aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/zesty   So, now I don't know what to do. The error messages don't make sense to me and I've seen references both to yakkety and zesty.  I ran lsb_release -a and it returns the following:  No LSB modules are available Distributor ID: Ubuntu Description:    Ubuntu Zesty Zapus (development branch) Release:        17.04 Codename:       zesty   When I do egrep -v '^#|^ *$' /etc/apt/sources.list /etc/apt/sources.list.d/* I see many references to yakkety and no references to zesty.  Can anyone guess at what might be wrong and how I might advance out of this mess?    EDIT: A suggestion from @pomsky prompted me to modify /etc/apt/sources.list.  First, I changed the sources to old-releases.ubuntu.com. With this the problems continued. Second, I changed all yakkety references to zesty references. This seemed to make things work.  The do-release-upgrade then ran as expected and apparently successfully and the references in sources.list changed from zesty to artful.


Cutting features to do opposite of clipping in ArcGIS Desktop?

What´s the easiest/smartest way of getting the opposite output of the clipping tool?   I just need the area of feature A1 which is not covered by feature A2 in a new Layer/File.  Now, I get the result by union´ing both features and deleting the "wrong" parts by hand.  I'm using ArcGIS Desktop 10.


How to stop a wile loop at certan time when for loop appending values to a list end no more values

I have two loops fist is wile loop and first is for loop witch iterate try at dynamic variable I want to stop the wile loop after no more new values are appending to the list in the for loop. usernames is dynamic it change every time the for loop iterate.     while n < 10000:         for each in usernames:             user_list.append(each)         if(some condition to break the loop):            break


How do I add an electrical switch to a series of lights from an additional doorway?

My basement shop has been fully wired to operate by one power switch.  I would like to add another switch to power up the shop by entering from another door.


How to 'group by' a query using an alias, for example:  select count(*), (select * from....) as alias_column  from table  group by alias_column   I get 'alias_column' : INVALID_IDENTIFIER error message. Why? How to group this query?


difference between string and final string

public class ExampleString {     public static void main(String[] args) {         String s1="u cannot change me!";         String s2="u cannot change me!";         String s3="u cannot"+" change me!";         String s4="u cannot";         String s5=s4+" change me!";         final String s6="u cannot";         String s7=s6+" change me!";          System.out.println("s1==s2 "+(s1==s2));//true         System.out.println("s1==s3 "+(s1==s3));//true         System.out.println("s1==s5 "+(s1==s5));//false  why  it is false         System.out.println("s1==s7 "+(s1==s7));//true   why  it is true         System.out.println("s4==s6 "+(s4==s6));//true        //  System.out.println("s5 "+s5);        // System.out.println("s7 "+s7);         System.out.println("s5==s7 "+(s5==s7));//false  why                          } }   in case of s5 am doing  concatenation but it will give ouput false in case of s7 also am doing concatenation it will give true. am declaring s6 am declaring string as final string am getting true  my question is why it is giving like that or what is the difference between them


How to customize the message "Changes you made may not be saved." for window.onbeforeunload?

I am testing in Google Chrome.  I did some search and found that someone is using:  window.onbeforeunload = function() {     if (hook) {       return "Did you save your stuff?"     }   }   But when I use it, I still got the "Changes you made may not be saved." message. How can I change it to something I want?


Does Wind Soul (Storm Sorcerer) stack with the Mobile feat?

The Storm Sorcerous Origin (from Unearthed Arcana) includes the following feature:     Wind Soul   At 18th level, you gain a flying speed of 60 feet...   The Mobile feat (PHB, pg 168) includes the following:     Your speed increases by 10 feet.   If a character had both these traits, would they have a flying speed of 60ft or 70ft?  Similarly, if the sorcerer casts Haste on themselves, would their fly speed increase from 60ft to 120ft? And if Mobile does affect the fly speed, would the Haste spell then increase it to 140ft?


Looking into  prompted this inquiry:  What happens when you move through a wall of sand on difficult terrain?  This involves the understanding that wall of sand changes the cost of moving 1 foot to 3 feet and that difficult terrain typically changes the cost of moving 1 foot to 2 feet.


How to add another dictionary in LaTeX/TeXnicCenter?

In the options menu in TexnicCenter you can go to the tab Spelling. There is the option to download a dictionary. I did that, but I still cannot choose this dictionary as default language. How can I change the language?


I'm new to JS. I try the function closure, just as in the documentation example and I get an uncaught reference. Why?  function fetchData(filter) {     return $.ajax({         type: "GET",         contentType : "application/json; charset=utf-8",         dataType: "json",         url: "my_url"+route,         data: filter       }); };  function fetchDataSource(filter) {   var route = "data_source";   return fetchData(filter); };   And now, when I call the function:  var filter; fetchData(filter);   I have the following error:     Uncaught ReferenceError: route is not defined       at fetchData (:6:49)       at fetchDataSource (:3:10)       at :1:1   Why is route not visible in my function?  Thanks


bash - Why does type -a execute "$(printf 'a')" and is it possible to get back the original alias?


Looking for a YA book series about teenagers who are the only ones to survive hypersleep

I read this series back in the early 2000s - sometime between 2003 and 2010. There were a ton of them, thin paperbacks. Some of them focused on different characters.   The plot that I remember: Earth was ending and they sent a space shuttle out to a habitable planet, but most of the people died in hypersleep. A few of them, all teenagers I believe, wake up and end up on a planet where some of them develop superpowers. I vaguely remember one girl's consciousness ending up in someone else's brain so she could only think to the other person for communication. There were aliens on this planet, but I don't remember them being humanoid. I think there were different groups forming and a lot of infighting between the kids. I think it ended with them growing up, some of them had kids and they had established a new kind of civilization on this planet.  Does anyone know what this is?


I'm using a low resolution texture (128x64) from an old game as a background image to help me model but it gets blurry (or aliased I guess) which ruins everything.   I heard that one might need to increase the size of texture but if I do that then texture will get messed up and I want to keep all pixels of it in the same place without "JPGing" it.  Is it absolutely impossible to get sharp background image? Zooming doesn't help either. My version is 2.79