I'm using Windows Vista OS. PHP, MySQL as the database and Apache web server.  I want to send notification to those who want to join in my site. But the problem is when I click submit. It doesn't send anything to the email address of the user.  What to do you think is the best solution for this?  <?php $to = "recipient@example.com"; $subject = "Hi!"; $body = "Hi,\n\nHow are you?"; if (mail($to, $subject, $body)) {   echo("
Message successfully sent!
");  } else {   echo("
Message delivery failed...
");  } ?>


As the topic suggests I wish to be able to pass table names as parameters using .NET (doesn't matter which language really) and SQL Server.  I know how to do this for values, e.g. command.Parameters.AddWithValue("whatever", whatever) using @whatever in the query to denote the parameter. The thing is I am in a situation where I wish to be able to do this with other parts of the query such as column and table names.  This is not an ideal situation but it's one I have to use, it's not really prone to SQL injection as only someone using the code can set these table names and not the end-user. It is messy however.  So, is what I am asking possible?   EDIT: To make the point about SQL injection clear, the table names are only passed in by source code, depending on the situation. It is the developer who specifies this. The developer will have access to the database layer anyway, so the reason I am asking is not so much for security but just to make the code cleaner.


Terminal uses one theme for the first window and a different theme for later windows

I want to set the "Homebrew" theme to be the default in Terminal.  I've changed the setting in the preferences: I chose "on startup, open" : "new window with settings" : "Homebrew".  Here is a screenshot:    Terminal uses "Homebrew" only for the first window. Then I do cmd-W to close the window and cmd-N to get a new window. The new window appears with the "Basic" theme! But if I do cmd-Q and restart Terminal then it gives me a "Homebrew" window again. Why don't terminal themes work properly?


How do I ensure a poor answer doesn't get bounty if it's the only answer?

I feel like someone made a comment as an answer on a question with a bounty just so they could reap the "auto bounty" since they are the only answer on it.   I've flagged the bad/useless answer (as a non-answer) for moderator review but the bounty will be assigned automatically in less than 24hrs and I feel like this guy/gal is just trying to cheat the system.   All I'm trying to do is ensure the bounty simply expires and the guy/gal that was trying to cheat the system by putting down a useless guess doesn't get it.   I've answered my own question (properly) and marked it as the accepted answer, not sure if that makes a difference though in this person still cheating the system since I'm the OP and created the accepted answer.   Here is the post:


How can I prevent my text object from flickering?

I have a short animation involving two text objects and blender internal. They have a shadeless black material and simply pop on screen in front of another shadeless material, this one white. The objects are not close enough together for any intersections.   The final render shows the text flickering in and out of existence. I also noticed that other curve objects like the rope of my price-tag, display a strange fragmentation where they come close to intersecting (but don't). I am really mystified by this one.  If someone could try to reproduce my issue the blend file is attached and I'd appreciate any comments trying to narrow down the issue. Thanks!  -Jesse    Blend:


Please add the ability to ignore sites on the HNQ.  There are some things I just don't want to see. Currently, there is a Q&A by one of the member sites  about masturbation on the HNQ, where one of the answers suggests self-harm as solution. I don't want that, I don't need that, and its not stuff I want to read, not when working, not in my free time.  I find the HNQ a great resource in my free time, but I would really like to have the ability to curate it so that I can exclude sites I find inappropriate or uninteresting.


Convergence of a sequence and some of its subsequences

I have the following sequences $(a_n)$, $(b_n)=(a_{2n})$, and $(c_n) = (a_{2n-1})$.  I have to show that:   if $(b_n)$ and $(c_n)$ both convergence to $a$, then $(a_n)$ also converges to $a$; if $(a_n)$ converges then $(b_n)$ and $(c_n)$ also converge; there exist $(a_n)$ not converging but with $(b_n)$ and $(c_n)$ converging.   I am not sure how to solve this since I only know that $(b_n)$ > $(c_n)$ > $(a_n)$ on the terms how the sequences are defined.


Word wrap bug in question titles on new meta.SE theme

One of  was just edited, making the title longer in the process. Turns out it was too long, and the text doesn't wrap: it gets cut off.    On questions with  the wrap works, so I'm guessing it's just some small error in estimating the text length.


When printing a single character in a C program, must I use "%1s" in the format string? Can I use something like "%c"?


This is motivated by my answer to .     gives the following identity:   $$ \sum_{k=1}^nH_k=(n+1)H_n-n $$  Why is this?    Note that I don't just want a proof of this fact (It's very easily done by induction, for example).  Instead, I want to know if anyone's got a really nice interpretation of this result: a very simple way to show not just that this relation is true, but why it is true.    Has anyone got a way of showing that this identity is not just true, but obvious?


Is there a way to download a backup of all of my own tweets, in case Twitter ever goes down for good?


Badge inconsistency between user page and badge page

On Expatriates, on  it says I have earned the inquisitive badge,    but on  it says it has been awarded 0 times   why is there a difference?  Is one more real-time and the other calculated more irregularly?


For a cyclotomic polynomial with p = 5, prove that $G(Q(\alpha)/Q)$ is isomorphic to $C_4$

I'm currently self-studying and would like to understand automorphisms in relation to splitting fields. Could someone please help me with this question?   I'm trying explicitly to write down each automorphism of the splitting field $Q(\alpha)$ (with $Q$ fixed) in terms of a single generator for the group.  I believe that the automorphism - $\psi_{\alpha, \alpha^2}$ will be of use here. $\alpha$ is a root.  Thanks in advance.


I have downloaded NDVI MODIS 500m image i.e. MOD13A1. From the hdf format that i got i converted them into tif format using the HEG tool. The images that i got some are showing pixel values -32767 to 32768; some images are showing from -2000 to 10156. How do i use the scale factor 0.0001 in such case to get NDVI values from -1 to 1 .


Is the pointwise maximum of two Riemann integrable functions Riemann integrable?

Let $f,g$ be Riemann integrable functions, prove that the function $ h(x) $ defined by $$ h\left( x \right) = \max \left\{ {f\left( x \right),g\left( x \right)} \right\} $$ is also Riemann integrable.


Number of ways to distribute keys among the cabinet members according to given condition

There is a cabinet consisting of m members. Cabinet materials are stored in safe. How many lock should the safe have, and how many keys should be made for these locks, and how these keys have to be distributed among the cabinet members such that the safe can be open if and only if at least j members of the cabinet are present?  Attempt: Should I approach this by Stirling numbers of second kind. Where first I have to find the number of locks, then distribute in S(n,k) ways where n is the number of locks and k is the number of keys. Still I am unable to justify?


What is a historical lock, and what is it used for?

Historical locks are sometimes applied to questions.   What is a historical lock? What is the purpose of a historical lock? How are questions affected by historical locking? When is it appropriate to lock a question for historical reasons?  When is it not appropriate? How do I request a historical lock for a question? What should I do if I notice a serious problem with a historically-locked question or one of its answers?


Should I Capitalize the Word "mom" in This Specific Context

In the book Grammar Girl's Quick and Dirty Tips for Better Writing is says the word "mom" is a proper noun in the following context and should be capitalized: "How's Mom these days". My question is: should the word "mom" be capitalized in the following sentence: "She became a mom".


How do I see my comment history on YouTube?

I wish to see the comments on videos I've made. When I go to the  section on YouTube it only shows me comments made on my videos (and I believe it only shows the ones made after the change to Google+). It does not actually show comments that I've posted. How can I see a full history of all the comments I've made on YouTube?  I found  post but sadly it is outdated and does not work with the Google+ system.


Let's say there is a conversation being analysed, and the people in the conversation are being divided into two groups: The people who speak and the people who hear.  If the people who speak are called "speakers", will the people who hear be called "hearers"?


How to check if windows has automatic updates waiting from the command line?

If a Windows server (2k3/2k8) is set to "download but not install" updates, is there a way to check from the command line.. perhaps a log file or something I can check with powershell, to see if there are any updates actually waiting to be installed? I'm trying to prevent having to manually log on to each server to check, even though they want the "trigger" pulled manually. We have an automation system in place I can use (CA Autosys) - just not sure what to have it look for.


What truly is mass, and is there a direct way to measure it?

We know a mass of an object of one kilogram as an object that weighs W = mg = 9.8 N and we reference it to that, (when it should as a fundamental parameter describe weight not the opposite). But if we were to describe mass to an alien civilization on an alien planet we are exchanging knowledge with, by sending them a one kilogram object, according to their gravity they will measure it differently.  Also their star could be curving space time in such a way, or their velocity according to SR will cause them to perceive mass on our planet -if they observe from away- differently.  If we asked a crew on a space ship moving at a speed close to the speed of light wrt us, or moving in a gravitational field they don't know about, to measure the mass of our planet, they will get different results. On the same principle, we could be measuring the mass of far celestial objects like planets, differently.   I perceive space time as full of curves and irregularities. We know the about some of these and we don't about others. I mean we know about the earth's gravity, the sun's but we ignore the effect of the galaxy and the cluster, dark matter, and who knows what else. Besides we change our position all the time with relation to these external factors that bend spacetime. So our measurements to an outside neutral observer, say these aliens could change.  I've found definitions of  like "the quantity of matter in an object" but that seems like the good old: mass = volume x density, but mass is the more fundamental quantity than either of them, with which theses parameters should be described by mass not the opposite, not to mention how relative these other quantities are, considering SR and GR. Or "The resistance of an object to acceleration" but again you have to describe how fast that object is moving and what spacetime it's in according to SR and GR.  So what makes us so confident that mass is such a universal value, when we built everything on a concept referenced by our own gravity, and maybe our own reference frame?  How do we describe mass to the aliens, who don't know about our (g)?  How do we measure the mass of celestial objects say planets, by units like kilograms, and pounds, while they are not subject to the earth's gravity, (I'm well aware of the difference between weight and mass). I mean that's what they will weigh -ignoring their own gravity- if they were in our atmosphere on a huge scale? So what's the method?  Bottom line Is there a direct way to   like we do with other fundamental values like length and temperature, other than using a scale or , i.e not depending on other physical parameters to describe it?  --Forgive the length..


Changing ubuntu to windows without deleting ubuntu first

Im not asking how to install windows 7 I just wanna know if you could install windows first while ubuntu in your system before deleting ubuntu


Broken activation of Windows Server 2012

I inherited non-activated Windows Server 2012 Standard. So I purchased retail version "OEM Win Svr Std 2012 R2 x64 CZ 1pk DVD 2CPU / 2VM" and tried to activate it with product key. With this key, I get an error "This key cannot be validated. Try a different one" (loosely translated, my system is Czech). And I am pretty sure, that I put in the right key. I cannot start validation over phone, command slui 4 gives me only activation by key. Direct phone calls to Czech Microsoft gets me nowhere.  At one occasion I got error "0x8007232b" which relates to  . As far as I understand, there could be broken KMS Client. I don't use activation via KMS Host in the infrastructure. Tried to google how to get rid of it, but didn't find out how. It isn't "Function", "Role" or software...  Thanks for any help,  Martin  PS: Not that it should matter, but this system is virtual machine in KVM


I saw an update for my iOS 9.2.1 device to iOS 9.3.  However, it said that the update cannot be verified, although it was downloaded.  I even deleted all data and applications from the device, but I still cannot update the device to 9.3; it just says "Your software is up to date" on iOS 9.2.1.  Can you force an update to 9.3?


What is the purpose of the designs on the wall?

On both Earth 1 and Earth 2, there is what appears to be braille writing on the walls of the Time Vault. It seems to have no functional purpose.    Why is there braille writing, or whatever the design is all over the walls?   To my knowledge, this has not been addressed at all in the show, but I have no idea if this is something from the comics.  Even if the designs are not braille, why are they there?


How should I kill the developer? I have tried this method: jump onto his head, turtle, then cast Black Demon. He counters with Black Hole, which ends up killing me instantly no matter where i am


Hi folks I've a situation here  I've a page to order food it works fine add to shopping cart successfully but with one issue its delete item button click event dose not perform as it should.   It work fine as i load the page, i mean if i refresh page using F5. If another item is added in the basket and then press the delete button it show # sign in the url an go to the top of the page. where as it should print to console 'remove item'  here is the PHP code when I load the page  $total = 0; $index = 0; if(isset($_SESSION['order_array'])){     foreach ($_SESSION['order_array'] as $value) {         echo '
';         echo '

';         echo '
' . $value['product_name'] . '
';         echo '

' . $value['price'] . '

';         echo '

';         $total = (float) $total + $value['price'];         $index++;     } }   When user adds another item which is done by jQuery post...  $('.addbasketCLS').click(function(event){      var itemID = $(this).attr('id'),         output = "",         cart_total = 0;      $.post("addtobasket_json.php",     {         product : itemID     },     function(data){          $("#cart_result").empty();         $(data).each(function(index,item) {             output = setCartContent(index, item);             cart_total += +item.price;             $("#cart_result").append(output);         });          $("#cart_total").empty();         $("#cart_total").html(cart_total.toFixed(2));     });      return false; });   setCartContent() method below  function setCartContent(index, data){     return '
' +          '

' +         '
' + data.product_name + '
' +          '

' +  data.price + '

' +      '

'; }   click event for rermoveItem  $('.removeItemCLS').click(function(event){     console.log('remove Item : ');     return false; });   it works fine if do not any more item after refreshing the page... if i add an item i'll have to refresh the page to get this working.  Any Idea where I'm going wrong  Regards


I downloaded a .tif raster file from opentopography.org. It's an Alos (AW3D30 ) topography file showing . On the very right the file contains terrain, and on the left a lake surface. The lake surfaces have values of -9999 for each cell.  Is there some way to interpolate these -9999 values into values which would somehow correspond to the lake surface elevation? For example, the elevation of the nearby shore/coast is around 300 something meters. Is there a way to replace all the -9999 values with 300 values in order to get a somewhat acceptable transition from shore/coast to lake surface?  The mentioned file can be downloaded from here:


I want a twitter feed to alert my iPhone

On my iPhone, I'd like to get a push alert when there's a new tweet from a twitter account.  How can I achieve this?


Every finite extension of a finite field is separable

I'm trying to prove that every finite extension of a finite field is separable. I found a solution on internet which says:     Let $F$ be a finite field and $E$ be an extension of $F$ having  $p^n$   elements. Then $E=F(\alpha)$, where $\alpha \in E$ and so   $\alpha^{p^n} -\alpha=0$. This implies $\alpha$ is a separable   element, and hence $F(\alpha)$ is a separable extension of F.   I don't understand why $\alpha^{p^n} -\alpha=0$ and why $\alpha$ is a separable element, I need help.  Thanks


I need to take some online tests for school. This website tells me I need Flash Player 11.3.0 or higher. As far as I can see that is not yet avaible for Linux. I use Ubuntu 12.04 LTS and Chromium. Is there a way I can work around it?  Greetz. Rob.


I've seen a couple of sites that use wwws in their domain, for example: wwws.mint.com and wwws.whitehouse.gov.  I'm sure it has something to do with an extra layer of security.  What does it mean and what is it used for? Why do only a handful of sites use it?


Prove that $\lim_{x\to 0}\frac{\ln (1+x)}{x}=1$ by Taylor series.

I want to prove that $\lim_{x\to 0}\frac{\ln (1+x)}{x}=1$ by Taylor series. I have get to the step: $$\lim_{x\to 0}\frac{\ln (1+x)}{x}=\lim_{x\to 0}\frac{x-\dfrac{x^2}{2}+\dfrac{x^3}{3}-\dfrac{x^4}{4}+\cdots}{x}$$  Next, when $x\neq0$, $\frac{x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+\cdots}{x}=\frac{1}{x}\left(x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+\cdots\right)=1-\frac{x}{2}+\frac{x^2}{3}-\cdots$. This is valid because $\sum_{n=1}^\infty(-1)^{n+1}\frac{x^n}{n}$ converges for every $x\neq 0$ near $0$, and then we can multiply a constant $\frac{1}{x}$ inside it. However, how can I rigorously and easily say that $\lim_{x\to 0}(1-\frac{x}{2}+\frac{x^2}{3}-\cdots)=1$?


I listen to many songs and I always wonder how the genre of a song is determined. Is it by listening to the song, or by the song's info like the artist, year released and so on?


I realized, that on Unix - systems a lot of weird interface acronyms exist:    lo = loopback interface eno = ethernet interface, network interface card  ens = ethernet interface, on newer Ubuntu version   What is the rule behind this namings and is there any?  What do the short-hand "nick-names" mean?


"I absolutely must see him, however painful it may be for me." I feel like this version makes more sense. "I absolutely must see him regardless of the pain." If I'm wrong, can you explain how the first version makes sense. I thought however shows contradiction. I don't see the contradiction. "My grandfather will certainly let me buy German clothes because he thinks it is longest-lasting. However, my grandmother will certainly let me buy French clothes because she thinks it is the most beautiful." For this example, I don't feel like however is used properly either.


Exception in thread while looping on an ArrayList

I have an ArrayList of 9 JButtons, I'm looping on it ti identify every time which buttons are not played yet, but it returns the exception as Exception in thread "Thread-1" java.lang.NullPointerException  JButton buttons[] = { btn1, btn2, btn3, btn4, btn5, btn6, btn7, btn8, btn9 }; ArrayList<JButton> vide = new ArrayList<JButton>();  t = new Thread(new Runnable() {         @Override         public void run() {             try {                 Thread.sleep(1000);             } catch (Exception e) {                 e.printStackTrace();             }             count++;             for (int i = 0; i < buttons.length; i++) {                 if (!buttons[i].getText().equals("X")                         && !buttons[i].getText().equals("O"))                     vide.add(buttons[i]);             }             count++;             Random btn = new Random();             vide.get(btn.nextInt(vide.size())).setText("O");              Thread.currentThread().interrupt();         }     });   the problem is on the loop, I'm implementing tic tac toe game of one user with a machine, this loop is to identify which buttons could be played with the machine by thread.


raster::rasterize set wrong values with enclosed polygons

Similarly to this post    the rasterize function in the raster package is giving me problems with enclosed polygons. In my case, some enclosed polygons are rasterized with cell values equal to the enclosing polygons, as they were somehow 'merged'.   Here's my sample code  require(sp) require(rgdal) require(rgeos) require(raster)  ## set wd wd <- 'M:/foo' setwd(wd)  ## open shapefile sample.poly <- readOGR(dsn=wd, layer='sample')  ## rasterize resol <- 10 r <- raster(res=resol, ext=extent(sample.poly)) sample.r <- rasterize(sample.poly, r, 'Code')   ## export files writeRaster(x=sample.r, filename='sample.tif', format='GTiff') writeOGR(obj=sample.poly, dsn=wd, layer='sample', driver='ESRI Shapefile')   Here's the structure of table of attributes  str(sample.poly@data) 'data.frame':   11 obs. of  2 variables: $ OBJECTID: num  6249 14593 14614 15434 15683 ... $ Code    : int  33200 32110 33300 32410 32210 31210 33300 32110 32210 31210 ..   data$Code are CORINE LCM-like codes. I already tried to set them as characters instead of integers, but the same error occurred.  Here's how the sample shapefile looks like (in QGIS)    and here's the result of rasterize    As you can see, the enclosed polygon marked with yellow arrow is properly rasterized, while the one marked with the red arrow is 'dissolved' in the enclosing polygon.   Any suggestion? Is it a bug? This is just a sample taken from a larger shapefile, with dozens of such errors.


Find tables with modified data after a specified datetime

I am performing few inserts and updates on my database using tool provided by app supplier. I want to compare the updated database and backup after running the tool.  But my database size is around 250GB, that takes long time to compare. Rather than full database compare I want to compare the tables which are modified after running the tool.  How can I get all the table names those are modified after specified date like 2015-04-14?  Can someone help me with this please?


Is there a single word for something that is simultaneously not interesting and not boring?

I am looking for a word that would describe a concept or activity, such as playing a game X, that is1 neither boring nor interesting. In other words, it should mean ‘neutral’ wrt intrestingness (~ boringness) but still comparable on the scale of intrestingness to both ‘boring’ and ‘interesting’.  An example sentence would be  As far as I'm concerned, long-distance running is [insert word]; it is not boring but it's also not interesting.  Criteria2   Has to be unambiguous3, and may consist of two words at most. Has to be a single word. Should be formal in the sense that it is included in Cambridge Dictionary, or Merriam Webster, or both. Should not contain negating prefixes, such as ‘un-’.   Does such a word exist in the English language?  For readers' convenience, please state which criteria you believe your word suggestion has met. You may do so, e.g., by adding a disclaimer at the top or bottom of your answer. Simply writing (1., 2.) is sufficient.        1 Assume a ternary system of intrestingness.   2 If not all criteria can be met, you may relax  the requirements from bottom to top, in the following order: 4. -> 3.  -> 2. -> 1. Answers with the smallest number of relaxed criteria in this order will be preferred in accepting. For example, fulfilling  (1., 2., 3.) is better than achieving (1., 3., 4.). Situations where a  higher priority ordering fulfills fewer criteria than a lower priority  vector, such as (1.) vs (3.,  4.), will be assessed on a case-by-case  basis.   3 Words such as ‘unappealing’ thus even fail  criterium 1 because in a three-valued system ‘unappealing’ ~ ‘not  appealing’ ~ ‘not interesting’ can be taken to mean either ‘boring’ or  ‘neutral wrt intrestingness’.


Sorry, maybe it is a beginner problem. This is a part of my MainActivity.java:  public class MainActivity extends Activity{ ...         EditText et101 = (EditText) findViewById(R.id.editText101); ...         public myOwnClass(String my_id){                 et000.setText(my_id) }   why do I get an NPE when I use et101 in myOwnClass? This is the error:  Caused by: java.lang.NullPointerException   The error is in that line, where EditText et101 = (EditText) findViewById(R.id.editText101); is


With a brand-new Ubuntu 14.04 installation I streamed the third period of a hockey  game last night.  It was literally the first time I used this new computer.  It connected to wifi no problem, and stayed connected, but every five minutes the browser window would disappear and I was presented with the login page that you see when you turn the computer on, and asked for my admin password.  as there seemed to be no way around it to get back to using the computer, I entered the password each time.   Now I'm worrying that I just authorized the installation of malware.  Very computer-illiterate here, but simply knowing enough to know that windows has always been very annoying and ubuntu is much more simple and elegant.    thanks for your time.


How to build 7zip C++ assembly in c# project?

I am writing a .net core (c#) application, that is intended to be cross-platform. My app is using 7zip archives, so I am using the Squid-Box.SevenZipSharp library. However the library requires the 7znative library from the 7zip program, and I cannot count on 7zip being installed on the system. My thought is to import the c++ code, and compile the library with my c# project, but I haven't the slightest clue on how to deal with the c++ code (I would specifically like to import only the relevant 7z assembly files from the project, as there is no need for the .exe and gui interface) Any guidance will be much appreciated.


Is there a way to force the monitor to power off in Windows 8?

I have googled this a bit and looked at powrprof.dll and PsShutdown but I haven't found a way to do exactly what I want to do.  You know that power save option that lets Windows turn off your monitor(s) if you haven't touched the system for x amount of time?  Well, I have a PC that needs to be on most of the day (and night), and I have to watch it much of the time, so I can't have a short timeout for automatically turning off the monitor. However, once I leave it for a few hours (happens at varying times of the day), I would like to be able to issue a command that puts the computer in this mode. Not sleep mode, not hibernate mode. Monitor off, that is all.  I realize of course I could just turn the physical monitor off. That is not what I want. This Dell monitor takes forever to display a picture from a cold state. If it is turned off by the computer not sending a signal - not so bad.  Is there any way for me to do this? As mentioned, the OS can do it, so I would find it really useful if I could do it too. :)


I want to evaluate the integral $\displaystyle \int_{0}^{\infty}\frac{\sqrt{x}}{1+x^2}\,dx$ using complex analysis methods. I know that I have to use a keyhole contour, but I don't know which function to integrate on the contour. For example if I had to integrate $\displaystyle \int_{0}^{\infty}\frac{\ln x}{1+x^2}\,dx$ then I would have chosen to integrate over a keyhole contour the function $\displaystyle f(z)=\frac{\ln^2 z}{1+z^2}\,dx$.  If i had known that function then the rest is routine, since if we declare the given integral as $I$ and the contour integral as $J$ , then there is a simple relationship of $I, \; J$. It holds that $J=2\pi i I $. Hence we have the result.  However, I did not understand  well the keyhole contour. If someone could show me how the other parts disappear I would be glad.


I have this working piece of javascript:  <script type="text/javascript">     //<![CDATA[         jQuery(document).ready(function() {             jQuery("#page_template option[value='sidebar-page.php']").remove();         });     //]]> </script>   What's //<![CDATA[ and //]]> stand for? I never used it but lately I meet it very often. Thank you guys in advance for increasing my knowledge! ;)


Are there any general rules to follow when choosing between bake and fan bake to cook something in the oven? What effect does each have and what are the advantages and disadvantages of both?


Antiparticles as "holes" of the quantum fields?

If particles are simply regions of space where certain quantum fields have non-zero divergence, are anti-particles simply the corresponding regions of opposite divergence?  This seems like the intuitive answer, especially when considering the process of annihilation. I have heard before that anti-particles are analogous to particles moving through time in reverse, which seems to indicate that an annihilation event is just a point of symmetry in that (arguably, single) particle's history. This analogy breaks down, however, when it comes to gravitation, since there seems to be no evidence of a negative-mass particle.  So what then is the meaning of an anti-particle, when their symmetry is preserved across certain fields, but not other?


Can I make and receive phone calls using a tablet with a SIM card slot in it?

I have an Android tablet without telephony capabilities. I can put in a SIM card. When somebody calls my SIM card number (mobile number), can I receive this call? What application do I need?


I'm aware I can use awk to parse on multiple delims, but that spawns subprocesses. I wanted to know if compound/nested bash parameter expansion is possible.  I have PDFs in a directory named like "Px_MM-DD-YY_SSSSSSSSSS.pdf" where:   "Px" means "Page x", and x has no leading zeroes. "MM" corresponds to the two digit month, with a leading zero if applicable. "DD" corresponds to the two digit day, with a leading zero if applicable. "YY" corresponds to the two digit year, with a leading zero if applicable. "SSSSSSSSSS" corresponds to the ten digit epoch time the PDF was created, which allows me to keep PDF page revisions.   I have a for loop (I'll drop "-mtime" when I'm ready to operate on all the PDFs)  for file in $(find -type f -iname '*_??????????.pdf' -mtime -1) do     echo $file done   where I want to echo only the epoch time.   I can use this for loop   for file in $(find -type f -iname '*_??????????.pdf' -mtime -1) do     echo ${file##*_} done   and for the file named like "./P14_07-21-18_4X_1532144458.pdf", "1532144458.pdf" is echoed to the screen.  I can use this for loop   for file in $(find -type f -iname '*_??????????.pdf' -mtime -1) do     echo ${file%.*} done   and for the file named like "./P14_07-21-18_4X_1532144458.pdf", "./P14_07-21-18_4X_1532144458" is echoed to the screen.  If I replace the echo ... line with any of the formats below  echo ${${file##*_}:0:10} echo ${(${file##*_}):0:10} echo ${${file##*_}%.*} echo ${{file%.*}##_} echo ${${file%.*}##_}   I get -bash: ... : bad substitution. Am I not getting the syntax right or is nested/compound bash expansion not possible?


Is there a way to pull or search for data from other sheets?

We use Google Sheets for tech commission sheets (track jobs and hours). Right now we have 2 years (2017&2018) in 1 set of sheets, 1 sheet for each month (jan 17, feb 17, etc). So instead of adding more sheets, I would like to just create a new set of sheets for 2019 but I need to be able to pull/search for data from the 2017/2018 sheets to ensure a tech doesn't accidentally pay themselves for a job twice.  Is this possible? And if yes, how can I do it?


Mean and variance of a lognormal random variable?

A random variable $X$ is lognormal if ln $X$, the natural logarithm of $X$, is normally distributed. Find the mean and variance of a lognormal random variable with $ln X ∼ N(µ, σ^2)$  How should I solve this using the moment generating function of normal distribution, without differentiation?


Why are users without sufficient reputation to self-answer prompted to place answers in comments or the question?

A user with low reputation . He then found a solution himself, and . When suggested to not do that, and instead post the answer as a real answer, he say he couldn't due to his reputation and quoted the following error message:     Users with less than 10 reputation can't answer their own question for   8 hours after asking. You can answer 2/2/2014 12:33:45 AM. Until then   please use comments, or edit your question instead.   This wording seems to convey the entirely wrong message: that it is acceptable to use comments or edits as replacements for answers when (for whatever reason) you are not allowed to post answers yet.  Ignoring the issue of the restriction on low-reputation self-answers (), why is this error message presented this way? It seems to suggest exactly the opposite behavior we want out of StackExchange. Further, the wording doesn't seem to actively discourage the posting of comments as answers, which is apparently the reason this reputation limit exists at all (per the above-linked meta topic).  Can this wording be adjusted to include more accurate guidance, such as "If you have follow-up information, please edit your post or use comments. If you have found an answer to your question, please wait until X and post the answer then," or something along those lines?


How to produce this table in latex with inconsistent lists/items?

I want to produce the first two rows of this 5-column table in LaTeX:      As you can see it is a special type of tables where we see:   itemized lists inside but inconsistently, ie. column 4 all rows have itemizes lists inside, columns 2,3, and 5 do have itemized lists in some but not all rows, column 1 has no itemized lists at all. the nice alignment of the table the candy-eye appearance like that what booktabspackage  was created for it is a compact table that contains no unpleasant spaces   the lists have square bullets   Code:  \documentclass{scrartcl} \usepackage{graphicx} \usepackage{booktabs} \usepackage{array} \usepackage{lscape} \begin{document} \begin{landscape}   \thispagestyle{empty}           % hide page number   \begin{table}     \centering     \setlength{\belowcaptionskip}{\abovecaptionskip}% Correct skip for caption on top     \caption{Wide Itemized Mixed Table}     \label{tab:wide-item-tbl}       \begin{tabular}{lp{2in}p{2in}p{2in}p{2in}}         \toprule         \textbf{BSL} & \textbf{Agents} & \textbf{Practices} & \textbf{Primary barriers} & \textbf{Secondary barriers} \\         \midrule         1 & Not known to consistently cause diseases in healthy adults & standard microbiological practices & no primary barriers required, PPE & bench and sink required \\         2 & - Agents associated with human diseases  - Routes of transmission include per-cutaneous injury, ingestion, mucous membrane exposure & BSL-1 practice plus: - limited access - Biohazard warning signs - ``Sharps'' precautions - Biosafety manual defining any needed waste decontamination or medical surveillance polices & Primary barriers: - BSCs or other physical containment devices used for all manipulations of agents that cause splashes or aerosols of infectious materials - PPE: Laboratory coats, gloves, face and eye protection, as needed & BSL-1 plus: - Autoclave available\\         \bottomrule       \end{tabular}%   \end{table} \end{landscape} \end{document}   The nearest answer I found was , but unfortunately this answer assumes that all rows have itemized list and not some of them, so please for your kind attention to this point before labeling this post as duplicate.


MacBook Pro refuses to boot/recover, hangs at "white screen"

I am somewhat new to caring for Macs, but one has been left in my care and I have not been able to restore it to working order yet. Here are the symptoms:   The MacBook Pro would hang with a "white screen" during the boot process. A bit of boot splash would show up, but the gray background would at some point just hang. Booting recovery mode did not work, as far as I remember. Boot from a Ubuntu 14.04.2 USB stick works, provided one attaches "nofb nomodeset" to the kernel commandline (though I put that one down to insufficient driver support). I have no idea whether or not these usually work out-of-the-box. Using parted from the aforementioned stick, I was able to see three partitions, one EFI Boot, one large main partition and one labeled Recovery. It seemed strange that the recovery was recoognized as HFS+, as I expected, but the "main" partition was not mountable and did not show a filesystem type. I also discovered that the drive in question was an OCZ Vertex3 256 GB, which I assume is not standard? The previous owner could have upgraded it. At this point, I decided to wipe the drive and try with a fresh installation. I removed the SSD from the MacBook, pulled a full disk image from my desktop just in case (which went without any read errors) and used hdparm to do an SATA enhanced erase, leaving me with a "fresh" disk. Then I put it back in. I started internet recovery, which loaded, showing me the global and everything. Afterwards, it rebooted, showing me the Apple Logo. But then I run into the original "white screen" again. I've tried resetting the NVRAM on boot, which succeeded because it turned the boot chime back on, but even then, running internet recovery again just causes it to hang on the white screen. There seems to be either very high CPU or GPU usage on the white screen, as the fans start wailing pretty intensely, also the body gets very hot in a very short time. For funsies, I installed Ubuntu onto the MacBook, which works (after smoothing over a few hiccups, fortunately I have lot more experience doing that). Recovery mode (Cmd+R) and Apple Hardware Test (D?) I have not been able to run. The former suffers the same white screen issue as described above.   Currently, my only vague guess is a GPU issue, that may be circumvented by Ubuntu by using the not completely feature complete open source radeon drivers. But that is a wild guess. Any input is appreciated.


Find all Quotient (or Factor) Groups of $D_4$ (Dihedral Group of order $8$)

I need to be able to find all of the quotient groups for dihedral group 4 with $D_4 = \{ e,R,R^2,R^3,V,H,D,D'\}$. I know I have to start by finding the normal subgroups, which are $\{e,R^2\}$ $\{e,R,R^2,R^3\}$ $\{e,R^2,V,H\}$ $\{e,R^2,D,D'\}$. Then I need to find the sets defined by $G/H=\{ aH : a \in G\}$ with operation $aH  bH = abH$. I am stuck here; could someone please show me how to find all of the factor groups for D4?


Deleting questions and answers in android

Questions  and answers with lots of downvote and still counting Should be Removable..This is not possible in android


For example I have file main.css  #test { my-property-name: 10px; }   and index.html

   Can I somehow get value of my-property-name for this div from js file?


Let $f\in C ((-\infty,+\infty)).  $ If $ \forall  a,b\in(-\infty,+\infty),\int_{a}^{b}f^{2}(x)dx \leq  f(a)+f(b), $ then$f(x)\equiv 0$.   I can prove $f(x)\geq 0,$ so I want use the reduction to absurdity in the next proof that may refuse $f(x)>0.$ In my way of thinking ,I tried but it is seemingly difficult  to deny $f(x)>0.$ Could you please give me some hints?


I am not able to expand my Ubuntu partition even though I have unalloacted space adjacent to it. Can someone help me please?


Quote Behavior With Vectors and Complex Numbers in Common Lisp

After playing with vectors and complex numbers in Common Lisp, I became curious about something. Namely, how does the quote operator relate to these data structures?  For instance, when it comes to lists, the following examples are straightforward to me:  CL-USER> '(1 2) (1 2) CL-USER> ''(1 2) '(1 2)   Let's do the same with vectors:  CL-USER> #(1 2) #(1 2) CL-USER> '#(1 2) #(1 2) CL-USER> ''#(1 2) '#(1 2)   And complex numbers:  CL-USER> #c (1 2) #C(1 2) CL-USER> '#c (1 2) #C(1 2) CL-USER> ''#c (1 2) '#C(1 2)   To save space, I will just say that quoting characters behaves similarly.  My question is why is it that the # and '# evaluated to the same expression? What is the reason for that? What are the "guts" of this mechanism?


How to use the dsm( ) Devel function to print the $form array of my form?

I want to use the dsm() function of the Devel module to print the $form array of a form, where the form_id is search_theme_form. How to do that?


What this code does is to identify the row of the array based on the input (Date) and return the values associated with the input date. However, this for loop is not working as it does not respect the if condition and always returns the last row of the array. function viewData() {    var ss = SpreadsheetApp.getActiveSpreadsheet();   var formSS = ss.getSheetByName("Overall Cashflow"); //Data entry Sheet   var datasheet = ss.getSheetByName("Cashflow Tracker Data"); //Data Sheet   var data = datasheet.getDataRange().getValues();   var date = formSS.getRange("H5").getDisplayValue();      for (var i = 0; i < data.length; i++){          if (data[i][0] == date) {            break;          }         var oldinflow = data[i][1];         var oldoutflow = data[i][2];    }       formSS.getRange("H8").setValue(oldinflow);   formSS.getRange("H11").setValue(oldoutflow); }


Finding Value of the Infinite Product $\prod \Bigl(1-\frac{1}{n^{2}}\Bigr)$

While trying some problems along with my friends we had difficulty in this question.   True or False: The value of the infinite product $$\prod\limits_{n=2}^{\infty} \biggl(1-\frac{1}{n^{2}}\biggr)$$ is $1$.   I couldn't do it and my friend justified it by saying that since the terms in the product have values less than $1$, so the value of the product can never be $1$. I don't know whether this justification is correct or not. But i referred to Tom Apostol's Mathematical Analysis book and found a theorem which states, that    The infinite product $\prod(1-a_{n})$ converges if the series $\sum a_{n}$ converges.   This assures that the above product converges. Could anyone help me in finding out where it converges to? And,   Does there exist a function $f$ in $\mathbb{N}$ ( like $n^{2}$, $n^{3}$) such that $\displaystyle \prod\limits_{n=1}^{\infty} \Bigl(1-\frac{1}{f(n)}\Bigr)$ has the value $1$?


How strong of a magnet would be needed to mess up this hardware?

I just bought a magnetic dry erase board that also came with 2 small magnets. I intend to carry these items everyday in my backpack alongside my laptops and my phone. Some days, I will have my Lenovo Yoga 2 Pro in there, some days my Alienware M17x R3, and otherwise just my Galaxy S3 phone in a small pocket.   Do I have anything to fear in regards to damaging the hard drives on these devices? I'm not sure if the magnetic strength of a dry erase board is anything to fear...


Tilda complains of bogus screen size at startup?

On Ubuntu 14.04, MATE desktop. I have just installed Tilda terminal, and so I added it to Startup Applications, just as /usr/bin/tilda. Rebooted, saw Tilda startup, and then noticed this:    "Your 131072x1 screen size is bogus. expect trouble"  Then I tried killall tilda, started tilda again, same message.  Anyone know how can I fix this bogus screen size issue?


Why getting wrong NDVI values resulted from scaled reflectance in ArcMap?

I have made atmospheric corrections to my Landsat 8-OLI raster using 'ENVI FLAASH' having surface reflectance values scaled between 1-100.     In ArcGIS I am using simple expression to compute NDVI using 'Raster Calculator' tool as illustrated below.      However, the results are not respectable. The same results are faced using 'ENVI Band Math' tool. Interestingly, this is not the case with the outcome from  'Spectral Indices' or 'NDVI' tools built within ENVI.     Why there is great discrepancy in results in all these cases?


Who gives the quest leading to Volkrund Keep in Falskaar?

I'm looking for the last crystal piece and it's supposed to be in Volkrund Keep, but I can't get in (even if my follower opens uses the lever there's another closed door). Who gives the quest connected to that place or is there a way to complete Dreams In Oblivion without it?


Assume that $N$ is a normal subgroup of $G$ such that $N \cap G'=\{e\}$.  Prove that $N \subset Z(G)$.   Note 1: $Z(G)$ is the center of the group $G$, and $G'$ is the set of all commutators of $G$.  Note 2: Assume that $n \in N$. We want to show that for all $g \in G,$  $ng=gn$. But, I don't know how to use the fact that $N \cap G'=\{e\}$ to reach this.    Any hints? suggestions? answers?


Merge all accounts of these Stack Exchange-registered users together (not working)

NOTE: This is not a duplicate because the link this question duplicates does not solve my problem. OK I've read , but I am getting an error when I try to merge the following accounts:      I want to link all stack exchange accounts (stack overflow, super user, android, english, italian, cooking, software recommendations, home improvement, etc...) so that there will be only one account for all of the Stack Exchange sites where these virtual users have posted. The results should be only one "Jack Maddington" account. But I am getting an error. Can someone please carry out this operation for me? Here is a screenshot of the error that I am getting:


java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" return value null

I'm fairly new to programming and trying to connect to a DB using HTML, I'm using Wildfly, Apache NB and Derby in this case, hosted locally, the thing is that the browser gives me the following error after I try to log in with the credentials that I have created in the DB: [Login screen  java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because the return value of "model.Conexion.getConexion()" is null So I went to NB Conexion.java to check the getter but I cannot seem to find what is the issue  here is the code. Also, I have tried this with different versions of JDK, JRE more specifically u144 and u271 tried with GlassFish5, Payara and Wildfly and still no luck. I would really appreciate any help on this as my semester depends a lot on this package model;  import java.lang.reflect.InvocationTargetException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger;  public class Conexion {      private static Conexion conexion;     private static final String BDURL= "jdbc:derby://localhost:1527/proyectohtml;user=ROOT;password=1234";     private static Connection conn;      private Conexion(){         try {             Class.forName("org.apache.derby.jdbc.ClientDriver").getDeclaredConstructor().newInstance();             conn=DriverManager.getConnection(BDURL);         } catch (ClassNotFoundException | NoSuchMethodException | SecurityException | InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | SQLException ex) {             Logger.getLogger(Conexion.class.getName()).log(Level.SEVERE, null, ex);         }         }      public static synchronized Connection getConexion() {         if (conexion==null) {             conexion=new Conexion();         }         return conn;     } }


How to use test set data if model has been built using a training set transformed with PCA?

If I have a train set (train.arff, 10 attributes) I perform a PCA and I save my data with respect to the new transformed variables (say I choose the two first attributes, combination of the original ones, that collect most of the variance), and call this transformed trainset "trainset-afterPCA.arff". Now I train a model using this file (which only has 2 attributes), and save it.  If now I have a new dataset, constructed with the original 10 attributes, and I want to use the model I built before to classify this new data, how do I have to proceed?  If I just try to test on this new dataset, train and test aren't compatible, right? If I ran PCA on the test set, the resulting new attributes won't be the same as the ones obtained in the training set. What should I do?    Update:  Just to show (part) of the Weka output:  eigenvalue  proportion  cumulative 2.31715   0.28964     0.28964   0.512ent-0.472Threshold+0.422impRes-0.335pssm-mut+0.28 pssm-wt... 1.72263   0.21533     0.50497   0.593pssm-mut+0.501pssm-wt+0.41 Threshold+0.403hyd+0.161sub... 1.31987   0.16498     0.66996   0.698vdw+0.628sub+0.219Threshold-0.168hyd+0.154ent... 0.88362   0.11045     0.78041   0.53impRes-0.51pssm-wt-0.478ent+0.346hyd+0.33 subs-score... 0.8404    0.10505     0.88546   0.605hyd-0.552impRes-0.319pssm-wt-0.26pssm-mut+0.235ent... 0.56935   0.07117     0.95663   -0.656vdw+0.531sub-0.449hy+0.207Threshold-0.145pssm-mut...  Eigenvectors V1       V2       V3     V4      V5      V6  -0.4716  0.4104  0.219  -0.0231  0.215   0.2071 Threshold -0.153  -0.1263  0.6977  0.0049 -0.1865 -0.6556 vdw  0.2465  0.4028 -0.1679  0.346   0.6055 -0.4486 hyd  0.2511  0.1609  0.6277  0.3299  0.1513  0.5306 sub  0.2799  0.5007  0.0529 -0.5097 -0.3189  0.061  pssm-wt -0.335   0.593  -0.1004  0.0423 -0.2602 -0.145  pssm-mut  0.5118  0.0616  0.1544 -0.4783  0.2354 -0.1246 ent  0.4217  0.1459 -0.0799  0.5297 -0.5521 -0.0645 impRes   So, based on your answer, if now I choose V1 and V2 to represent my data, I have to use V1 and V2 and calculate the new attributes for the test set, previous to upload the test set to the model..   V1 --> new att 1 = 0.512ent-0.472Threshold+0.422impRes-0.335pssm-mut+0.28pssm-wt...  V2 --> new att 2 = 0.593pssm-mut+0.501pssm-wt+0.41Threshold+0.403hyd+0.161sub...


Can you set a file association in Internet Explorer to open .doc files in Google docs?   I use a SaaS application with integrated email that only runs on IE and I would like to open file attachments with one click in Google Docs.  I've searched Google extensively and can't find an answer to this question, but I have to believe there is a way to do it.


Script to remove files based on threshold value

I have some old file in my Linux server and I need to remove those files which are older than 5 days based on the threshold value.  log_space_checker() {         Use=$(df -kh /logs | awk 'END{gsub("%",""); print $4}');         DATAUSE=$(df -kh /logs | awk 'END{gsub("%",""); print $4}'); }  remove_files(){         RemoveFiles="/logs/abc/abc.log.*"         find "$RemoveFiles" -mtime +1 -type f -delete         }  disk_space_monitor() {         log_space_checker;          if [[ $DATAUSE -gt $TH ]] ; then                 remove_files;         fi  }  TH=7  disk_space_monitor   Is the script correct?


Where Is Shadeless Material Option For Blender 2.8?

just trying to use shadeless lighting for a material, but cant find where it is in 2.8 This is how it looked in the older versions:    Any help is appreciated, thank you!


Find: $$\displaystyle\lim_{x\to\infty}x\Big(\big(1+\tfrac1x\big)^x-\mathrm{e}\Big) $$   EDIT: so we have here a $\infty\cdot0$ so I'll try LHR, Edit2: I don't think LHR will get me anywhere since it will always be zero in the denominator...   Maybe develop a Taylor series ?  Wrong try:  $\displaystyle\lim_{x\to\infty}(1+\frac1x)^x=\frac 1e$ is a well known limit so:  $\lim_{x\to\infty}x(\displaystyle\lim_{x\to\infty}(1+\frac1x)^x-e)=\lim_{x\to\infty}x(\frac 1e-e)=-\infty $


Find the last $2$ digits of $$\large7^{7^{7^{10217}}}$$   So far I have: $17\cdot 601=10217$ and $7=7 \pmod{10}$. Any help greatly appreciated.


If a sequence of functions $f_n$ converges uniformly to $f$, does this imply $f_n$ is continuous? How to prove?

I know I can find an $f_n$ that converges to f uniformly, but can we use this to argue $f_n$ is continuous? Is there a theorem I can state?


Can the gravitational constant $G$ be calculated theoretically?

We know all that the  is $$G=6.67428±0.00067\times 10^{-11}\mathrm{m^{3} \:kg^{-1} s^{-2}}.$$ But can we calculate it theoretically?


Greatest integer less than $\sum_{n=1}^{1599} \frac{1}{\sqrt n}$

What is the greatest integer not exceeding the sum $$\sum_{n=1}^{1599} \frac{1}{\sqrt n}$$ I have already arrived at a solution using calculus but since this came in a Math Olympiad which do not include calculus in their syllabus I wanted to know how I could do this without it. My first thought was to use Titu's Lemma but I couldn't think of what I could do after that. Any hints will be appreciated, thanks


When I try to use one of the more "hacky" methods of getting a literal "special character" (such as backslash or a brace) then I get a different character: backslash seems to be an open quote, left brace a dash, and right brace a close quote.  What happened to my special characters?  \documentclass{minimal}  \begin{document}  \char`\\ \char`\{ \char`\}  \end{document}   produces: "-" (only the two "s are different).


Let $f$ be a differentiable function satisfying the functional rule $f(xy) = f(x) +f(y) + \frac{x+y-1}{xy}$ such that $x,y>0$ and $f'(1) = 2$. Then what is the value of $[f(e^{100})]$.  Where $\lfloor k \rfloor$ denotes the greatest integer less than or equal to $k$.  My try :


disable driver signature check while installing windows 7

is there any possibility where i can disable the default driver signature check while WINDOWS 7 Instalation?.  My problem is that:  i had bought an asus mobo with inbuilt AMD raid card and i want to install windows on that raid array, but windows require driver to be installed to detect that raid as disk. but unfortunately in 64-bit installation of windows it is not bypassing the driver signature check and not allowing me to install driver as well as the windows. i hope it can b done via extracting the installation iso of windows 7 and then changing some values in some files and then again writing it back as bootable media, but not sure which file to edit or from where to start.  Edit  there are some answers which recommend to use a pure windows 7 64bit installation media or to use microsoft WAIK, but there are lot of people having questions about the same amd raid card and says that the driver actually is not signed and that's why it is creating problems. i just want to know a working solution and the reason for this (for knowledge)


How can I change the primary domain on Google Apps?

I have a Google Apps for your domain account for my domain which we will call DomainA  I have since replaced that domain with DomainB which is set up in the Google Apps account as an alias.   Since I want to let DomainA expire at some point in the future, I would like to change my primary domain to DomainB in my Google Apps account with DomainA as an alias.   How can I do this?


How do I set 1920 x 1200 resolution when monitor is connected via D-Sub cable?

Native resolution of my monitor is 1920 x 1200; however, when I connect it via a D-Sub cable, I can't choose this resolution. Only 1920 x 1080 and 2048 x 1152 are available. How can I make my native resolution available?  UPS I'm using Windows 8.1 x64. Monitor is detected as Generic Non-PnP. My monitor drivers installation says that the monitor is not found (I guess because it's connected via an analog cable)  UPD2 I've installed Dell monitor drivers forcibly, but the native resolution still is not available in the resolution selector.


Is it possible to set an application to preferably open in second monitor?

As the title said, I want to set my Firefox application to always open up in second monitor. I'm using Xubuntu 14.04 and default ubuntu driver for NVDIA (noveau I think).   In Windows there is DisplayFusion that can this. Does Ubuntu have same equivalent app/combination key that can do the same?


add a permanent static route in high sierra

I'm adding a route to all 192.168.1.x ips through a gateway like so: sudo route add 192.168.1.0/24 10.0.0.2 .  How do I add this route permanently in High Sierra?


I recently downloaded Ubuntu 13.10. Everything seems ok accept t internet connection. It does not see any wireless internets including mine. I'm guessing it doesn't see my card. I previously had windows 7 and vista on the machine I am using and the internet connected at install with no problem. The card is BCM 4311 802.11b/g WLAN. Can you help.  g.dgibby


I have just started learning programming, and as I was reading about strings, I found this piece of code:  System.out.print("Conversion from string to char array\n");     char [] stringToarray = exampleString.toCharArray();     for (char character : stringToarray) {         System.out.print(character);     }   Which I don't fully understand... what does "char character : stringToarray" do?  Why can you use it inside a 'for', like that? I am confused because it is not the structure of 'for' I am used to see  Thank you very much for your attention !


I want to know the width (e.g., *pt) of each generated column. How can I do it?  \documentclass{article}   \begin{document}    I want to know the width (e.g., *pt) of each generated column. How can I do it?  \begin{table} \centering \begin{tabular}{|l|l|l|l|}     \hline     Column1 & Col2 & Column------3 & Column--4 \\ \hline     I want & to know & the actual & width of each column. \\ \hline     Is there & any & method & to display the size? \\     I am & now & using & \{tabular\} \{|l|l|l|l|\} \\     \hline \end{tabular} \end{table}  \end{document}


Script to Create Custom XML Entries for x-wallpapers.xml

I know there is a way to do this, but I just dumped a bunch of my favorite wallpaper files in /usr/share/backgrouds/.  In order for my Ubutnu 17.10 to use them, I need to edit the artful-wallpapers.xml file and add each file name to a statement looking like this:  <wallpaper>  <name>calm</name>  <filename>/usr/share/backgrounds/02488_calm_1440x900.jpg</filename>  <options>zoom</options>  <pcolor>#000000</pcolor>  <scolor>#000000</scolor>  <shade_type>solid</shade_type> </wallpaper>   This is long and tedious to do one at a time, and I am sure I have merged data before, but for the life of me I cannot remember how.  A script would be very helpful, or at least directions to a tutorial.  Thanks in advance.  Rod


How to use emissive and mask textures in blender cycles 2.79?

I got a lava texture from poliigon.con and noticed that there are 2 types of maps that I have never encountered. One is an "emissive" map, and one is a "mask" map. Will I need to use these maps along with the Diffuse, Gloss, Normal, and Displacement maps to improve the realism of the texture??If so, how do I properly plug these in in blender cycles  2.79?   Textures:


[root@pdbosl02 daily]# ls -lrth total 12G -rw-r----- 1 oracle dba 3.8G Dec  7 20:43 BKPOSLPRD_jcns9p1f.F_bkp -rw-r----- 1 oracle dba 4.2G Dec  7 20:46 BKPOSLPRD_jdns9p1f.F_bkp -rw-r----- 1 oracle dba 3.0G Dec  7 20:51 BKPOSLPRD_jbns9p1f.F_bkp -rw-r----- 1 oracle dba 140M Dec  7 20:52 ALG_OSLPRD_jgns9rfr.alg -rw-r----- 1 oracle dba 189M Dec  7 20:52 ALG_OSLPRD_jfns9rfr.alg -rw-r----- 1 oracle dba 202M Dec  7 20:52 ALG_OSLPRD_jens9rfr.alg -rw-r----- 1 oracle dba  42M Dec  7 20:52 c-4249173797-20121207-00 -rw-r----- 1 oracle dba  41M Dec  7 20:52 ctrl_071223   I want to know about h in ls -lrth command.


How to move windows panels of browser on Windows 10

Please see  I often open Chrome and the incognito windows together (Chrome on left and incognito on right). But sometimes due to my fast speed of clicking, the window shifts from right to left. I can't see how I did it. Click and drag did not work. How do I shift back to left and right without closing and reopening the window.


Remember last selected items per page in global search

The "items per page" stat is being remembered permanently (cross device, attached to our account, not via a cookie) in the search results of any site.  However, in the , this stat is being reset whenever searching again, choosing the items per page affects only that single search:        I assume this is because stackexachange.com is not attached to ordinary account behind the scenes, so can't use the same server side cache. This can be bypassed by using a different cache probably, or use the network profile if possible.  Can it be done/fixed?


Is there a simple and quick way to add a vertex to an existing edge? I mean in a similar manner (Ctrl+R) like a loop cut for the whole object?  My current workflow is, deleting the edge completely, then I select one of the vertices and extend it via E shortcut. Is there an easier method to get an extra vertex like:


Prove that: $\lim_{n\to\infty} f(n+1) - f(n) = \lim_{x\to\infty} (f(x))' $

I conjecture that in some specific conditions a differentiating function gives the following equality: $$\lim_{n\to\infty} f(n+1) - f(n) = \lim_{x\to\infty} (f(x))' $$  However, I'm not sure yet what exactly those conditions are in order to precisely know where I may apply this rule or not. If you wanna take a look over my posted problem  you'll immediately notice that this rule applies for that case. I really appreciate if you help me clarify this.


How does the "Compatibility Mode" in Windows work?

How does the  in Windows work internally?


Move /opt to a different, already existing drive

I dual boot Ubuntu 16.04 and Windows 8.1.  All of Ubuntu lives on an SSD, and the core Windows stuff lives there too, in a separate partition.  The main User folders for Windows (Documents, Downloads, etc.) live on a separate hard drive.  I'm running out of space in Ubuntu. I'd like to move /opt and /usr/local to the hard drive.  All the Q&A I've found about this, however, starts with the assumption that these folders are already mounted on a different partition, or that I can format the destination drive. Neither of these is true for me.  I don't remember exactly what I did when I set this computer up, but I do know the hard drive is accessible from Ubuntu (and is at /dev/sdb1, mounted at /media/steve/storage).  Is it possible to do what I'm asking?


When I go to my calendar it isn't working

When I go to my monthly calendar I can no longer go to a date?! I have to manually scroll through. Any ideas on why or how to fix?


Explanation regarding the blue pill / red pill choice given by Morpheus

You take the blue pill—the story ends, you wake up in your bed and   believe whatever you want to believe. You take the red pill—you stay   in Wonderland, and I show you how deep the rabbit hole goes.   Matrix 1 always got me confused at this point of the movie. This is how I understand the proposition given by Morpheus :  The blue pill   The story ends : the life the matrix invented for you ends. You wake up in your bed : in the jelly tube Believe whatever you want to believe : you are finally free to think for yourself    The Red Pills   You stay in Wonderland : you stay in the Matrix    Then Neo picks the red pill and  I've always been puzzled as why is the red pill the one to get out and not the blue pills. I'd appreciate some enlightenement about this quote : Why is the blue pill the pill to leave the Matrix ?


Are irrational numbers irrational by nature?

I remember hearing an interesting theory once, I don't know the source. Since there are some numbers that are precisely expressible in decimal notation that repeat in a binary base, and vice versa, perhaps there exists a base in which irrational numbers are rational.  The more I think about it, the less likely this seems, and my guess is that whatever proof that $\pi$ or $e$ are irrational doesn't involve the decimal base notation. But perhaps there's some research into this?


$Z[i]/(2+3i) \simeq Z/13Z$ is my proof correct?

Here's my new attempt at showing $Z[i]/(2+3i) \simeq Z/13Z$.  proof:   Let's define the natural homomorphism $$\phi: Z \to Z[i]/(2+3i)$$ where $$\phi(z)= z+ (2+3i)$$ It is easy to check that this is a ring homomorphism.  Claim 1: $Ker (\phi)= 13 Z$  proof: We will show both inclusions.   Let $z\in 13Z$ then $z=13k$ for some integer k. But $13k= (2+3i)(2k-3ik)$ and so $z \in (2+3i)$ and so $z+(2+3i)=0+(2+3i)$ as cosets and hence $\phi(z)= 0 +(2+3i)$ i.e. $z \in ker(\phi)$ and hence $13Z \subset ker(\phi)$   Now let's show the reverse inclusion.   Let $z\in ker(\phi)$, then $z \in (2+3i) \cap Z$. Then $z= (2+3i)(a+bi)$ for some integers a,b such that $z\in Z$, and so multiplying out we get $z= (2a-3b) + (2b+3a)i$ for some $a,b$ such that $z$ is an integer. Now for z to be an integer, the complex part must be $0$, hence $2b=-3a$. Now 3 is a prime dividing $2b$ which implies 3 divides b. Similarly we have that 2 divides a. Hence $b=3k$ and $a=2m$ for some integers k and m. Substituting into $2b=-3a$ we obtain $6k=-6m$ and hence $k= -m$ and hence $b=-3m$ and $a= 2m$ Finally substituting into $z=(2+3i)(a+bi)$ we get $z=(2+3i)(2m-3mi)= 13m$ and hence $z\in 13Z$ and we are done.   Claim 2: $\phi$ is surjective I have also done this part but I would like to make sure my first claim is correct first.  Hence by the first isomorphism theorem, we have that $$Z/13Z \simeq Z[i]/(2+3i)$$ Thanks.


In the movie A New Hope we see Obi-Wan training Luke to use the lightsaber of his father.     HAN: Hokey religions and ancient weapons are no match for a good blaster at your side, kid.   Blasters are as good as guns and their velocities surely help in tearing off enemies. With the help of force they are surely good weapons.  Can’t Jedi interact with the force with help of blasters?  Please consider using spoiler tags in your answer as I have only watched Episode IV


I posted it on  as well, but in any case: there's a network-wide bug affected all sites' Help Centers. E.g. this link:  shows long-deleted Stack Overflow content :  What topics can I ask about here? a "reticulated spline" is a valid geometrical entity. They're used a lot in terrain modelling. Because you can get non-reticulated splines, someone wiseguy obviously thought it good to start reticulating them.


Least Squares with $ {L}_{2} $ (L2) Linear Norm Regularization (Not Squared)

Define $$L(w,u)=\frac{1}{2}\|w-u\|^2+\beta \left\|\frac{w}{x}\right\|,~w,u\in \Bbb{R}^n$$ where $$\frac{w}{x}=\left(\frac{w_1}{x_1},\ldots, \frac{w_n}{x_n}\right)$$ $$\|x\|=\sqrt{x_1^2+\cdots+x_n^2}$$ Given $u$, $x$ and $\beta$, how to get $$\arg\min_{w\in \Bbb{R}^n}L(w,u)$$


how to find the particular integral of the following expression?

The question appeared in the university examination.  $$(D^2-D-2)y=2*\log x+\frac{1}{x}+\frac{1}{x^2}$$  I did the usual procedure that is to $\frac{1}{F(D)}Q=P.I$  where Q is the function of x only  The formula for the manipulation is  $$P.I=\frac{e^{mx}}{e^{mx}}*\frac{1}{F(D-m)}dxQ$$ $$P.I=e^{mx}*e^{-mx}\frac{1}{F(D-m)}Qdx$$ $$P.I=e^{mx}\int{e^{-mx}Qdx}$$  The above formula is obtained to make the D-m nullified to an integration by replacing the D by D+m. which is an identity and can be applied. Vice versa is also possible.  By manipulation we get $$P.I=\frac{-1}{3}e^{-x}\int{e^x[2\log x+\frac{1}{x}+\frac{1}{x^2}]dx}+\frac{1}{3}e^{2x}\int{e^{-2x}[2\log x+\frac{1}{x}+\frac{1}{x^2}]dx}$$ But I am having problem to integrate the following expression, any guidance will be appreciated. I have tried to use the substitution method but there is no factor that is replacing the dx.  I have previously asked the answer to the first part of the equation and got the answer but i Want to know the answer to the second term that is  $$I_2=\frac{1}{3}e^{2x}\int{e^{-2x}[2\log x+\frac{1}{x}+\frac{1}{x^2}]dx}$$


Can't change powerplan settings in Windows 10 build v1709

After upgrading my windows 10, I can no longer change powersettings. It only says the one I use and Balanced.  Where has the setting to change power plan settings moved to?


Why did Black and White Rhino evolve into having relatively poor eyesight?

It is well documented that Black and White Rhino have relatively poor eyesight (compared to humans and many other animals). I have heard anecdotally that their poor eyesight could be due to Rhinos not having many natural predators and therefor they did not needing acute sight to spot predators. I have also heard that it may be due to inbreeding amongst the relatively small and isolated populations. Can anyone shed light on the reason?


So I need to evaluate $$\lim_{n\to\infty}n\sin(2\pi en!)$$ And yes, I know it was discussed  and similar limit was discussed , but I didn't feel quite okay with the solutions/hints given in those links so I did it my way. That's what I did: $$\begin{align}\lim_{n\to\infty}n\sin(2\pi en!)&=^{stirling}\lim_{n\to\infty}n\sin\left(2\pi e \sqrt{2\pi n} \left(\frac{n}{e}\right)^n\right)\\ &=\lim_{n\to\infty}n\sin\left((2\pi)^{\frac{3}{2}}e^{1-n}n^{n+\frac{1}{2}}\right)\\ &=^{\{en!\}=\frac{1+O(n^-1)}{n+1}}\lim_{n\to\infty}n\sin\left(\frac{2\pi (1+O(n^{-1})}{n+1}\right)\\ &=^{sin(n^{-1})\sim n^{-1}}\lim_{n\to\infty}\sin\left(\frac{2\pi n (1+O(n^{-1})}{n+1}\right)\\ &=2\pi\end{align}$$ But my professor didn't accept it because we didn't cover Stirling yet and said I need to prove it another way (he also didn't accept the solutions given in the links above). He told me to use the fact that $$\lim_{n\to\infty}n\sin(2\pi en!)=\lim_{n\to\infty}n\sin(2\pi en!-2\pi n)$$ and then using Taylor or something, but this so called "clue" got me nowhere. Any ideas?


I'm struggling with finding derivative of f(x)=arth(lnx).  I've done following:  x=th(y)  f'(x)=(arth(lnx))'=1/(thlnx)'=1/(1/(xch^2(lnx)))=(x(ch^2(lnx)))/(ch^2x-sh^2x)=(ch^2(x(lnx)))/(ch^2(1-th^2x))=(x(lnx))/(1-x^2)  so in conclusion I get f'(arth(lnx))=(x(lnx))/(1-x^2)  but I think it's not correct. Any ideas?


Is it grammatically correct to start a sentence with the word "request", used as a verb?

For example: "Request you to respond as soon as possible." I've encountered this sentence in a few e-mails (without subject words like "I" or "we").


Disk IO Rate: What causes it and what does it mean to me?

I just got a mail from Linode saying that my account "has exceeded the notification threshold (1000) for disk io rate by averaging 1017.36 for the last 2 hours. "  My question is just out of curious: From the literal meaning, disk io rate must mean the rate of read/write to the server's disk. But because I've never got any notification like this during the past few years, I am interested in knowing what has caused this and what it has to do with my website.   Does pageview generate disk i/o? Does download generat disk i/o? Or only literally copying or creation of files generate it? And is it related to my website's overall performance and popularity?   I just want a brief introcution so I can research further by myself, detailed explanation is appreciated but not necessary.


How to prove that the centering inequality for the sub-gaussian norm does not hold

Specifically, define the sub-gaussian norm for a r.v. X as  $$ \|X\|_{\psi_2}=\inf\{t>0:e^{X^2/t^2}\leq 2\}. $$  How do we prove that the centering inequality with $C=1$ does not hold in general? i.e. $$ \|X-\mathbb{E}X\|_{\psi_2}\leq C\|X\|_{\psi_2}.  $$ A counter example would work too. Thanks in advance!


Can one conjugate and use 'suicide' as a verb?

I don't remember ever seeing suicide used as a standalone verb. I've always seen it as commits suicide or committed suicide.  Can you conjugate and use suicide by itself?


Ubuntu 14.04 doesn' t boot after upgrade from 12.04 installed inside Windows 8.1

I have Ubuntu 12.04 installed like an app on windows 8.1 (Ubuntu 12.04 allow to be installed like an app in Windows 8.1 and it can be removed when you don't need it any more from Control Panel). Usually, to chose what os to boot when you start the laptop, you can choose between windows 8.1 and Ubuntu after windows logo appeared at start up and that was ok until I made this upgrade. Now when I try to choose Ubuntu the laptop try to boot it but, after that full colored screen is showed the screen go black and this messages appear:  mount: mounting /dev/loop0/ on /root failed : Invalid argument mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn' t have requested /sbin/init No init found. Try passing init = bootarg.  BusyBox v1.21.1 (Ubuntu 1:1:21.0-1ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands  (initramfs) _   I don' t know what to do after this screen appears. Please help !


Textarea CSS issue on "needs moderator attention"

To reproduce:   Click Flag (question or answer) Click other (needs moderator attention)   The textarea is too wide:  StackOverflow        AskUbuntu        StackExchange        Most probably affects other sites, but didn't check. I think it's enough. :-)  Reproducing on:   Chromium Version 40.0.2214.111 Ubuntu 15.04 (64-bit) Google Chrome Version 41.0.2272.76 (64-bit) Firefox 36.0   (I'm using Ubuntu 15.04)


Nearest Neighbor Based on Network of Lines in QGIS

Is it possible to incorporate a network into the MMQGIS hub distance analysis? Essentially I have a point shapefile with zip code centroids and I'd like to determine the closest shipping hub (also point shapefile) for each assuming the path must follow a road (a line shapefile).  Unlike creating a  I would like to have a single hub identified for each zip code centroid. A further distinction is that neither the zip code centroids nor the hubs actually lie directly on the roads so I'd like to have the source (zip centroids) and destination (hubs) be the closest point on the road/line.


Another idea for close-vote queue rejuvenation: Show the number of items added today, not the total number

This is just one more idea for a way to rejuvenate people's interest in the SO CV queue - which, at the time of this writing, is at 84.7k reviews needed.  Some people are working hard to try to drum up more interest in the queue - Robert has a great idea with the . Still, it seems that the big number scares many people off.    What can we do about this? From what I can see, the problem stems primarily from the big number. So let's get rid of the big number! But we can't lie. Lying is bad.  So, I propose that we stop showing the total number of reviews needed all big and bold like that - let's just show the total number of reviews added today minus the number of reviews performed today:    Much better!  When the community is making progress on the queue, let's show that:    Basically what I'm getting at is some kind of a delta-reviews (delta-R) system - thereby making the big number seem a little less huge.  I'd even be in favor of showing both numbers simultaneously, though this would probably be bordering on too complicated:    Thoughts?


I have office 2010, 2013 and 2016 and when I run it with wine I get an error when I click install. I'm new to Linux please help me     Transcript of error:     User runs Office 2016 setup file (O16Setup.exe)      Wine error message pops up with title Program Error.      The program setup.exe has encountered a serious problem and needs to close.    We are sorry for the inconvenience.      This can be caused by a problem in the program or a deficiency in Wine.   You may want to check the  for tips about running this application.


Unsigned 64-bit RAID drivers during Windows 7 setup?

I'm in the process of installing Windows 7 64-bit. I use a raid card, Promise tx4300. I have the latest 32-bit & 64-bit drivers for it.  During setup, I need to load drivers so that setup can see the Raid array. I find the 64-bit drivers on my USB drive. Setup finds and recognizes the drivers but then complain that Windows cannot use these drivers because they are unsigned and can cause problems with Windows... So it won't find my raid array.  I try repeating the process and this time choosing the 32-bit drivers. Setup accepts these and it shows my the raid array and I can continue with the setup.  I have a couple questions:   How can I make Windows 7 64-bit Setup accept and use unsigned raid drivers? Is it possible to alter or forge the drivers to make Windows think they are signed? If I use the 32-bit drivers during the 64-bit setup, will this cause problems?   UPDATE This issue ended up being something to do with the Windows 7 installation disc I was using. The disc included both Windows 7 32 and 64 bit versions on it. After borrowing a friend's disc that included only Windows 7 64-bit, the drivers were properly recognized and everything worked fine.


I forward my work email to my Gmail and I want to respond automatically without having to select my work email from there.  How automatically to respond from the email where I received mail from automatically?


Quine - Two dogmas of empiricism - status of mathematics

If we do away with the analytic-synthetic distinction as per Quine, does that mean that mathematics is no more certain than empirical science?  And how does mathematical proof proceed if we don't use analyticity?  What does Quine think about the certainty/fallibility of mathematical proof?


How to list packages from a ppa/source in command line?

I want to list all the files from a source, say  from the command line. What is the command for that?  dpkg --list lists all files or just the filename.


Is it theoretically possible to reach $0$ Kelvin?

I'm having a discussion with someone. I said that it is -even theoretically- impossible to reach $0$ K, because that would imply that all molecules in the substance would stand perfectly still.  He said that this isn't true, because my theory violates energy-time uncertainty principle. He also told me to look up the Schrödinger equation and solve it for an oscillator approximating a molecule. See that it's lowest energy state is still non-zero.  Is he right in saying this and if so, can you explain me a bit better what he is talking about.


How should I best emulate and/or avoid enum's in Python?

I've been using a small class to emulate Enums in some Python projects. Is there a better way or does this make the most sense for some situations?  Class code here:  class Enum(object): '''Simple Enum Class Example Usage: >>> codes = Enum('FOO BAR BAZ') # codes.BAZ will be 2 and so on ...''' def __init__(self, names):     for number, name in enumerate(names.split()):         setattr(self, name, number)


Table Markdown content in a question breaks only when posted

A user on Puzzling.SE reported :  This is what it looked like in the preview thing in the edit mode,    Then, this is what it looked like in question.   We already know that a broken code block or table can be fixed by adding some newlines around the broken thing, yet the current behavior is still a UX problem:  Preview != actual post. When something seems to work (by looking at the preview) but actually doesn't (in the actual post), it gives more frustration than when it doesn't work in preview.   This apparently , but it's still not fixed. (Also, it's so hard to find a duplicate bug report...)


How to specify ec2 instance types for different services?

After I have specified a default EC2 instance type for my Juju charm, how do I override that for one of the services?  For instance, the  deploys wordpress and mysql, and I can set the default-instance-type in my environments.yaml so both services are m1.small  But how do I configure it so that (only) the mysql service gets deployed on an instance type better suited to a database, like m2.xlarge ?


What is an adjective referring to “someone who puts people down”?

I was just thinking about someone I went to school with who had a penchant for putting people down, and I was trying to think of a word that describes this, but couldn’t find it. It would be a synonym of caustic, abrasive, discouraging, and undermining, but these all have slightly different connotations (to wear away", cause discouragement or to make fall). I want an adjective that has the connotation of a hammer hitting you on the head. The word does not necessarily need to describe someone who does this on purpose, out of evil intent. Is there such a word?    The word should give you a mental picture of someone barraging you with negative comments, but it not necessarily affecting you. Think of someone who so often has something negative to “contribute” that many can just either ignore it or roll their eyes at it, and that is the extent of its effect. I keep getting the mental picture of the word buffet as in, how waves buffet the shore. A constant hitting, without the hitting necessarily being devastating in its destruction.


Neutral alternative to "deny" to mean "assert the untruth [of a claim]"

The term "deny" means to reject the truth of some claim.  However, it often seems to imply the claim is in fact true, denial notwithstanding.     Smith continued to deny that he had shot Jones.   I believe it is for this reason that Wikipedia  used to subvert the neutrality of encyclopedic articles.  Is there an alternative to "deny" that does not carry this non-neutral connotation?


I want to know why when I'm using /ref{} it only show A, but I'm actually are referring to A1.  \documentclass[../main.tex]{subfiles}  \begin{document} \appendix  \section{Vedlegg Arbeidspakker}  \includepdf[scale=0.85,pages=1,pagecommand= \subsection{Lekkasjedeteksjon på ledningsnett},offset=0 -3cm]{../vedlegg/ArbeidspakkeLekkasjedeteksjon.pdf} \label{atc:ArbeidspakkeLekkasjedeteksjon}  \includepdf[scale=0.85,pages=1,pagecommand= \subsection{Flomsikring},offset=0 -3cm]{../vedlegg/ArbeidspakkeFlomsikring.pdf} \label{atc:ArbeidspakkeFlomsikring}  \section{Vedlegg Tidsplan}  \includepdf[scale=1,pages=-,pagecommand= \subsection{Timeplanlegging},offset=0 -3cm]{../vedlegg/Timeplanlegging.pdf} \label{atc:Timeplanlegging}  \includepdf[scale=1,pages=-,pagecommand= \subsection{Gantt},offset=0 -3cm]{../vedlegg/Gantt.pdf} \label{atc:Gantt}   \end{document}    Example:  Se vedlegg \ref{atc:Timeplanlegging} og \ref{atc:Gantt}.    Become "Se vedlegg B og B", but they are B.1 and B.2 from TOC.    Is it possible to change it so B og B become B.1 and B.2


What does the runtime iterated log (log*(n)) mean?

I have been browsing youtube and wikipedia but couldn't find anything related to algorithm's runtime, can someone explain to me what does it mean if an algorithm has a run time of O(log*(n))?


SharpZipLib ~ How to extract specific files from a zip

Ok,  I have a list of files (SourceFile objects which just contain the filename only) then I want to pull those specific files out of a zip and dump them into a temp directory so I can distribute them later.  I came up with this, but I am unsure on how to proceed next..  private List<string> ExtractSelectedFiles() { List<SourceFile> zipFilePaths = new List<SourceFile>(); List<string> tempFilePaths = new List<string>();  if (!File.Exists(this.txtSourceSVNBuildPackage.Text)) { return tempFilePaths; };  FileStream zipFileStream = File.OpenRead(this.txtSourceSVNBuildPackage.Text); ZipInputStream inStream = new ZipInputStream(zipFileStream);  foreach (SourceFile currentFile in _selectedSourceFiles) {     bool getNextEntry = true;      while (getNextEntry)     {             ZipEntry entry = inStream.GetNextEntry();          getNextEntry = (entry != null);                  if (getNextEntry)             {              if (fileType == ".dll")              {                 if (sourcefile.Name == Path.GetFileName(entry.Name))                 {                 //Extract file into a temp directory somewhere                  //tempFilePaths.Add("extractedfilepath")                 }              }             }           }       }      return tempFilePaths; }   FYI:  public class SourceFile {     public string Name { get; set; }  //ex. name = "Fred.dll" }


why my workflow is firing even tho I am saying dont

I have my work flow with validation rule and eventho I am trying to not fire when those ownerId are submitting it. it still does   OR(      Owner.Id <> "00516000006OnYB" ,      Owner.Id <> "005G0000002YHAe" ,      Owner.Id <> "005G0000005Foy2" ,      Owner.Id <> "00516000006Tdoh" ,      Owner.Id <> "005G0000004qehs" ) &&  Order_Paperwork_Complete__c = TRUE


Proving a basic property about derived sets and unions

I'm having some trouble showing these two equal each other. I was doing some research and apparently this is not always true in a topological sense but I think that's out of the scope of this class.  $(A \cup B)' = A' \cup B'$  $A'$ is the set of all derived points of A.


I've Ubuntu 11.10 in my system. And i want to upgrade it. but the default update manager doesn't show upgrade status. What do I've to do. I've dual boot system with windows 7 in the other. it's a 64 bit system.


In Illustrator I have a heart shape and the last anchor point is on the upper left side (by that I mean the anchor point that joins everything together).   I would like to have a stroke that comes to a point at the bottom of the heart shape and is thick at the top of the heart shape.   To do this I thought I'd give the 'Variable Width Profile" for strokes a go... but it finishes at the last / joining point at the upper top left which looks a bit crap.     Is there a way I can get it to finish at the base of the heart shape?


I would like to see for what I was rewarded reputation points

When viewing my reputation history I would love to know why I was awarded that particular amount. Was it for answering the question, up votes, etc.?  Maybe a tool tip when you mouse over the amount awarded.


How to use plain text smileys (disable automatic emoji substitution) in Messages.app? In OS X 10.8 there was a setting for this in the app’s Preferences pane, but in OS X 10.9 that doesn’t seem to be the case anymore.


How do I install ubuntu 14.04 in about 35 GB unallocated space?

I'm using windows 7 and want to run both the OS side by side. Also I do not want to lose any of my files.


16.04 using llvm instead of graphics card

lspci | grep -E 'VGA|Display'   shows that it has found my graphics card which is in the supported list and works fine on windows:  01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850 / R7 265 / R9 270 1024SP]   dmesg doesn't show any errors.  glxinfo | grep OpenGL   shows that it is not using the GPU:  OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)   Is there any way to force Ubuntu to use the GPU as I am currently unable to watch youtube and run phpstorm at the same time without considerable lag.


So I received a warning from our monitoring system on one of our boxes that the number of free inodes on a filesystem was getting low.  df -i output shows this:  Filesystem       Inodes  IUsed    IFree IUse% Mounted on /dev/xvda1       524288 422613   101675   81% /   As you can see, the root partition has 81% of its inodes used. I suspect they're all being used in a single directory. But how can I find where that is at?


Should a verb after "any" be singular or plural?

While I'm aware of  it does not quite answer my question. I have a simple sentence:     If any of the devices was not switched off, do something.   Is there supposed to be was or were? I was thinking about was since it could be rephrased as:     If any one of the devices was not switched off, do something.   But maybe that does not make any sense at all. Also, this is for a technical documentation where more formal language is preferred, not sure if that makes any difference.


I keep running into a problem: How can I rotate an UV island by exactly 90 or 180 degrees? The same applies for scaling it to double in size, etc.


Ubuntu 15.04 RTL8188EE Slow/Unreliable Wifi

Hey guys I'm having some issue with my rtl8188ee network card. On Windows I get ~30-40 Mb/s whereas on Ubuntu 15.04 I get ~5 Mb/s. However, the issue comes and goes; often after disconnecting and reconnecting my WiFi temporarily jumps to the proper speed, only to recede again shortly.   In search for an answer I came across ; however I was unable to properly compile the driver (here's  I get when running make).  I was wondering if anyone knew how I could manage to compile the driver properly, or if anyone has another way to fix the slow WiFi speeds in Ubuntu 15.04.  In order to give as much information as possible, here are some diagnostic information:  uname --all:  Linux david-Lenovo-H535 3.19.0-21-generic #21-Ubuntu SMP Sun Jun 14 18:31:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux   lshw -C network:  *-network                   description: Ethernet interface    product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller    vendor: Realtek Semiconductor Co., Ltd.    physical id: 0    bus info: pci@0000:01:00.0    logical name: eth0    version: 09    serial: c0:3f:d5:72:be:6c    size: 10Mbit/s    capacity: 1Gbit/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 1000bt 1000bt-fd autonegotiation    configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168f-1_0.0.5 06/18/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s    resources: irq:46 ioport:e000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff  *-network    description: Wireless interface    product: RTL8188EE Wireless Network Adapter    vendor: Realtek Semiconductor Co., Ltd.    physical id: 0    bus info: pci@0000:04:00.0    logical name: wlan0    version: 01    serial: 28:e3:47:60:76:6f    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless    configuration: broadcast=yes driver=rtl8188ee driverversion=3.19.0-21-generic firmware=N/A ip=10.0.0.14 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn    resources: irq:48 ioport:d000(size=256) memory:fea00000-fea03fff     Edit  I successfully installed the new driver thanks to @Pilot6 but problem persists. For more information, my download is the only speed affected. Upload is consistent at 10 Mb/s. I really have no clue what to do at this point. I know the hardware is fine because in Windows I don't have any issues with wireless.  Second Edit  Disabling IPv6 worked for a while but speeds dropped back down again. Problem remains intermittent. I don't think this has to do with the wireless repeater I'm using because all other devices work fine. Further, upload speeds have been entirely consistent, so I doubt it has to do with the signal or interference.  Alas, 5 Mb/s is sufficient for my daily routine. I only hope a future update will solve the problem.


How can I get a list of files in a git commit?

I have committed a few files on master and also merged some of the local branches with master branch. How can I get the list of committed files on the master branch?


How to put a frame and a color caption to graphics

Hello,  i guess it is the easiest way to show you in a picture what i want to do :-)  I want to have all my grafics with the same style: - color caption - frame grafic  So I have to change just the filename, and the captiontext.  Thanks in advance


What is the difference between postgres=# and postgres-#? I tried googling it and looking on the official site but could not get a hit for the symbols.


Compiz Problems (Plugin Missing, Performance Issues, Development)

I've recently set up the compiz cube again, and I was very happy to find that that flickering window glitch is gone! However, the cube reflection and deformation plugins are also gone.  I am running a fresh 12.10 install, and I have every compiz plugin package installed (including compiz-plugins-extra, which supposedly contains everything that compiz-fusion-plugins-extra package used to have), but those two plugins are still missing. I haven't been able to find anyone with the same problem.   Any ideas? (thanks!)


How can I change the labelling of an equation? Instead of (1.1), (1.2) I want to have (Equation 1.1), (Equation 1.2), ...  Document class is scrbook.  I use the following related packages:  \usepackage{amsmath,amssymb,amsthm}   Example of an equation:  \begin{equation} \label{eqn:example} a+b=c \end{equation}


How do I get rid of the white space around included graphics?

I know that my question may be a duplicate, but I couldn't find a solution that worked for me elsewhere on the site.  Here is the MWE :  \documentclass[12pt]{article} \usepackage{graphicx} \begin{document} This is my attempt to import the image into latex. I do not know how so I decided to try all possible cases.  \begin{center} \begin{figure} \includegraphics[scale=0.7]{12.pdf} \end{figure} \end{center} \end{document}   You can get my 12.pdf file there: .   After compiling, I get a PDF file with a page that contains my text, and another contains the image in 12.pdf. The problem is that I want to insert the image right after the words, but there seems to be lot of white space (in the image).  So, how can I get rid of that white space? I'm not a professional TeX user, so the simpler the solution, the better.


How to temporarily mount a hard drive partition as read-only using Nautilus?

I hibernated Windows 7, then booted Ubuntu. When I tried to mount the Windows partition, I got this error:  I'd just read that switching OSes via hibernating was OK as long as you didn't modify files on the other OS's partition, and I'm glad Nautilus ensures you don't, but I need to copy some files from that partition. Is there a way to make Nautilus temporarily mount it as read-only? I was hoping I could just do something like "right-click->Mount as Read-Only" but that's not an option.  Update: For the record, I was able to do it from a terminal using sudo mount -t ntfs-3g -r /dev/sda3 /media/adam/. It usually mounts to /media/adam/OS/, although it wouldn't let me do that since the OS folder didn't exist. Also, I had to authenticate as an admin to unmount it from Nautilus since it was mounted as root (the mount command I listed had to be run as root). However, I still a graphical solution would be better and a bit more user-friendly.


Solaris let me in with different password with the same 8 first characters

I don't know if this is normal, but the thing is, let's say I have a  Solaris user called gloaiza and its password is password2getin  I'm logging into the server with PuTTY, I just put 192.168.224.100 and it prompts a windows asking for an user, so I type gloaiza, then it asks for a password and let's say I type password2geti by mistake, and it worked! I'm IN the server!  Is that normal? It also works if I put something like password2getin2.  I'm not a native English speaker, so, in case there's something you can't understand please ask me  OS: Oracle Solaris 10 1/13


I've created a button in my package to pass data to a new page.  When I upload the package and install it on another org, the url doesn't work because the server, page name and field id's are different.  How can I create a url that is more 'universal' and will accommodate other org installations?  Here's the url.   https://na17.salesforce.com/a02/e?CF00No0000008adBn={!PI_SFINT__Project__c.Name}&CF00No0000008adBn_lkid={!PI_SFINT__Project__c.Id}&00No000000EGtmZ={!PI_SFINT__Project__c.Name}&retURL=%2Fa00o000000XLyhu


For the first time, I'm creating a document which really needs a long bibliography, i.e. requires the biblatex package or similar. I've read some questions and answers here, and I think I pretty much replicated a common structure of the .tex file. Here's what I have:  \documentclass{article} \usepackage[brazil]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{csquotes} \usepackage[backend=biber,citestyle=authoryear,style=authoryear]{biblatex} \usepackage{filecontents}  \begin{filecontents}{\jobname.bib} @book{bueno,   title={Vísceras da memória: uma leitura da obra de Pedro Nava},   author={Bueno, Antônio Sérgio},   volume={15},   year={1997},   publisher={Editora Ufmg}, } @article{castro,   title={Além de Braverman, depois de Burawoy: vertentes analíticas na sociologia do trabalho},   author={Castro, Nadya Araújo e Guimarães, Antônio Sérgio Alfredo},   journal={Revista Brasileira de Ciências Sociais},   volume={6},   number={17},   year={1991}, } @book{souza,   title={Multiculturalismo e racismo: uma comparação Brasil-Estados Unidos},   author={Souza, Jessé e Sant'Anna, Alayde}, year={1997},   publisher={Paralelo 15}, } \end{filecontents}  \addbibresource{\jobname.bib}  \begin{document} \tableofcontents  \section{Introdução} Aqui vamos falar de algumas obras, nomeadamente \cite{bueno} e \cite{souza}. Talvez falemos também de \cite{castro}.  \printbibliography \end{document}   (I use TeXstudio 2.6.6 with pdfLaTeX.)  The pdf output shows the citation texts just like their labels, only on bold (e.g., my second citation prints as "souza"), and it lacks the bibliography. The log file gives me this:  LaTeX Warning: Citation 'bueno' on page 1 undefined on input line 39. LaTeX Warning: Citation 'souza' on page 1 undefined on input line 39. LaTeX Warning: Citation 'castro' on page 1 undefined on input line 39. LaTeX Warning: Empty bibliography on input line 41.   I also get a very strange ! Paragraph ended before \DeclareBibliographyStrings was complete.  I suspect there might be a problem with the configurations of TeXstudio, although I have read the accepted answer on  and followed the steps therein.  So my (pretty dumb) question is: What am I doing wrong?


I have some struggles with this exercise. Let $X$ and $Y$ be infinite dimensional Banach spaces. Show that no $T\in \mathcal{K}(X,Y)$ is onto. We assume that $T\in \mathcal{K}(X,Y)$, so we have that $T\in \mathcal{L}(X,Y)$. I am thinking of showing this by contradiction, so I assume that T is onto, then I have by the open mapping theorem that T is open. Since we have that X,Y are Banach spaces, we have that they are normed vector spaces, and we have that T is open, then we have that  $B_Y(0,r)\subset T(B_X(0,1))$, then we'll have $\overline{B_Y(0,r)}\subset \overline{T(B_X(0,1))}$. Since we know that T is compact (since $T\in \mathcal{K}(X,Y)$) then we'll have that $\overline{T(B_X(0,1))}$ is compact hence $\overline{B_Y(0,r)}$ is compact. I am thinking that I will be done, if I can show that $\overline{B_Y(0,1)}$ is not compact, but I have trouble doing so.