I am looking for to 'grey out' my image entirely - the main purpose is to be able to have high detailed picture and still allow me to read clearly written contents at the top of the image. The grey out filter/effect I am looking for looks like some web or app components background when a pop-up comes out. I am attaching an image showing you an example. I am a Photoshop user but can use something else if necessary. I have tried many filters but none has this disabled/grey mask effect.


MacBook shows flashing question mark in a folder when battery is at > 70%

I am sure many of you guys know the flashing folder icon which shows up when the Mac cannot find a drive to boot from. My 2017 MacBook Pro has this issue for some time now, but recently I found something interesting.   The MBP won't find the boot drive, as long as the battery level is at > 70%.   The Mac boots just fine at lower battery levels; no issues whatsoever. Now, the problem is, I don't want to run my MacBook via battery the whole time or keep on disconnecting the AC power when 70% is reached every time.   Does anybody have similar symptoms and did find a better solution? Do you think there is a hardware issue with my device?   I've been to the Apple store before (when I didn't knew this was connected to the battery level) and they couldn't find anything. They suggested I reinstall macOS, which of cause didn't change anything.  Edit: One detail I forgot to mention was that when I charge my MBP and close the lid, it crashes and gets really hot (fans turn on slowly). I'm not totally sure on this, but I think this also happens with lower battery levels.  Battery Info:


CAPS LOCK to CONTROL remap is reset after screen lock

I am trying to map my Caps Lock to Control. To that end I added the following:  setxkbmap -option ctrl:nocaps   to the Startup Applications menu. This works fine whenever I start the system, however, after unlocking the screen lock the setting is reset back to the default. Why is that? I run Ubuntu 15.04.


I have recently upgraded OS to 14.10 from 14.04. I am facing issue with Flash Plug-ins. My default browser is Chromium but i am not getting suitable plug-ins for this browser.  I tried installing flash using following command but its not working.  sudo apt-get purge flashplugin-installer   This was the error code :-   dpkg: error processing package virtualbox-dkms (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                           Errors were encountered while processing:  virtualbox  virtualbox-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)


Prove that $\sum\limits_{n=0}^{\infty}{(e^{b_n}-1)}$ converges, given that $\sum\limits_{n=0}^{\infty}{b_n}$ converges absolutely.

It's a question from a test that I had, and I don't know how to prove this, so I am forwarding this to you.    $\sum \limits_{n=0}^{\infty }\:b_n$ is absolutely convergent series . How to prove that the series $\sum \limits_{n=0}^{\infty }\:(e^{b_n}\:-\:1)$ is also absolutely convergent?  We cannot assume here that $b_n\:\ge 0$ for every $n$.


I have an install of Ubuntu Maverick on slicehost, that I'd like to replicate on a different machine (a kvm VM install).  Is there a simple way of mirroring all it? I mainly care about installed programs, installations, mysql + postgres config/data.    okay.. so I guess I mainly care about everything.  maybe except for network config, which I can fix easily enough.


Batman has tended to introduce himself as simply 'Batman', e.g. In the Keaton movie we had the line  "Who are you?!" "I'm Batman"  However he is also referred to as 'the Batman'. Is there any rhyme or reason behind which form is used and when?


LWC NavigationMixin does not work in Community

I use NavigationMixin.Navigate for redirection to external sites. It does work in Lightning App (internal SF) but does not work in Community. Here is the code:  class definition:  export default class SubscriptionRenewal extends NavigationMixin(LightningElement) {   function that uses redirect:  proceedToPayment({ paymentData: JSON.stringify(this.pricingOption) })         .then(result => {                            this.isLoading = false;             const computopUrl = result;             this[NavigationMixin.Navigate]({                 type: "standard__webPage",                 attributes: {                     url: computopUrl,                     replace: false                 }             });         })         .catch(error => {             console.error('error>>>' + error.body.message);             this.isError = true;             this.errors = error.body.message;         }     );   I cannot understand why it does not work in the Community, there are no errors. By the way, in another Full Copy Sandbox I created an LWC component and use NavigationMixin in the Community as well, and it works fine there.  code in another Community:  backToLogin(event) {     this[NavigationMixin.Navigate]({         type: "standard__webPage",         attributes: {             url: this.loginUrl,             replace: true         }     }); }   this.loginUrl is a string returned by Apex in connectedCallback().  And it works just fine there.  Did anyone face this issue or can explain to me what is wrong?


Does Feeblemind's saving throw use the original or current intelligence of the target?

Feeblemind can, on a failed save, reduce a creature's intelligence and charisma to 1. That's a -5 modifier.   Every 30 days, the target can repeat this save. Does the character save with their current intelligence or their original? For a character with a DC spell save of 16, the character might never recover on their own without proficiency in intelligence saving throws. (Thanks to Michał Politowski for pointing out that nat 20's are not automatic successes on saving throws).  I guess the root of my question is that this seems over powered, but I really just want to make sure I'd be rolling the correct modifiers.


Why are variables set inside (...) lost afterwards in bash?

$ p="pineapple" ; echo $p pineapple $ (p="peach" ; echo $p) peach $ echo $p pineapple   Why does the shell doesn't display peach since it was initialized last ? Does the parentheses play a role in this result ?


Good morning,  I would like to put the picture on the left of the table, all horizontally.  When I try  it doesn't work. What changes is the picture and table are aligned with left margin aligned vertically, but both captions remained centered.   I can't seem to do it, can anyone help?  Thanks in advance.    The code is this:  \begin{figure}[H]   \begin{center}   \includegraphics[scale=0.50]{uniformity_machine.PNG}   \caption{Uniformity machine}   \label{fig:uniformitymachine}   \end{center} \end{figure}  {\centering \hfill \begin{table}[h]     \centering     \begin{tabular}{| c | c |c | }     \hline     \small     \textbf{Parameter} & \textbf{Value}  &  \textbf{Unit} \\     \hline     Dimension (wxdxh) & 1 725x2 800x2 500 & mm \\     \hline     Weight & 3 100 & kg\\     \hline     Rim diameter & 13 - 25 & in\\     \hline     \multirow{3}{*}{Electrical requirements} & 3 & Phase\\     & 400 & V \\     & 50 & Hz \\     & 35 & A \\     \hline     Pneumatic requirements & 600 & kPa\\     \hline     Cycle time & 20 & s\\      \hline     Cost & NUMBER & EUR \\     \hline     \end{tabular}     \caption{Uniformity machine specifications}\label{tab2} \end{table} \hfill}


3d rendering: transform to be applied to a screen Rect to match the perspective projection done by a arbitrary camera in an arbitrary 3d world.

I’m using a 3d framework that allows me to draw 3d things into a canvas. I can successfully render 3d objects by drawing them on a 2d canvas using the camera perspective matrix, view matrix and the 3d objects model matrixes.  The world space has its own units obviously and get rendered in -1/-1 -> 1/1 space and I have to translate/multiply/perspective divide the (x,y) coordinates to create the perspective and fit things inside my canvas. I think I’m doing it right, I can see the camera focus in middle of the screen and the axis/origin in a comfortable position (z is going up, x to my right, y to the my back/left).  Let’s say I have a rectangular face (RF) in my 3d space that gets projected on the screen. I also have another screen element (PIC) that’s also rectangular and have the same aspect ratio as RF. Obviously the size of the PIC is in pixels being rendered on the screen. The coordinate system of the PIC is origin at top/lef, positive axis x/y going left/right and the -z forward. I can apply 3d transform matrixes to the PIC (the second framework that I’m using allows me to do that). I also can specify the origin when doing the transform. I thing that will translate the PIC before applying the transform.  I’d like to find out what’s the transform matrix that I can apply to the PIC to get it rendered exactly in the same position on the screen as the RF gets rendered by the other framework.  I could try to use common sense like rotate PIC as RF is rotates in relation to the camera, move it to the ‘middle of the screen’ and zoom it out to fit the RF projection somehow (not clear to me how exactly). Also, I would need to adjust the transform matrix to fit the perspective from the first framework.  I’m sure there’s a clear way yo do this using the coordinates and matrixes that I already have but I would need a deeper understanding of how math works here :).  I could use:  models matrixes: modelMatrix, modelViewMatrix, their inverses. the view matrix, camera matrix (camera model matrix), camera perspective matrix camera properties: fov, position, rotation in relation to the world.  There is a similar work done in the three.js framework in Css3dRenderer that’s basically doing the same thing (applying a transform to a html DIV element to render it ‘in the same perspective projection’ used to render things using webgl) but I couldn’t use it as it is and I’d like to understand how things work.  Again, the question is what’s the transform matrix that would get PIC rendered on screen as RF is rendered.  Even though it could do the trick, the question/solution from  is different because it doesn't handle normals on the cube face... This question is about a face in a 3d space that can be oriented in both ways: front/back to the camera. Basically here we have a 3d transform and the other question/solution is about 2d projections.


Young adult fantasy series from 80s or 90s with a green "demon"

I don't remember too much about this series, but here is what I do remember.    Young man somehow comes across a green demon who becomes his friend and maybe teaches him magic?  He shows him these "streams" or "veins" of magic that can be stronger or weaker depending on the place. There are all kinds of different worlds that they can jump to or travel to? they start some kind of business and set up their office in some kind of market on one of the worlds in a tent that is a lot bigger inside then out. The demons name is Azod or Azoth or something like that.    I think there were 7 or 8 books in the series. Any help would be great!


Where can I find real-world map data for a game?

I want to build a game with a concept similar to , where the game map is overlaid on a real one.  Where can I find map data for an app like that? How (generally) do I integrate my own game objects into that map? Game objects need to move in real time, so having them as static markers on the map isn't sufficient.  I thought I could use Google Maps but as far as I can tell it would be impossible to create my own graphical style (like Ingress has done) with the official API provided by Google.


Custom post meta values reset by autosave

I have created a post view counter plugin that increments a count each time a post is viewed/refreshed.  The count is working fine however if editing a live post the autosave functionality appears to grab the view count when the autosave is generated so when i update the post the view count reduces as the view count from when the autosave is created is used rather than the current value.   For example view count = 100, i open post to edit, autosave is generated, meanwhile 50 people view the post, i click update on the post, the view count drops from 150 back to 100  My plugin code is:  function update_post_views_counter() {     if(is_single())     {         if(get_post_type() == "post")         {             $id = get_the_ID();              $views = get_post_meta($id, "total_views", true);              if($views == "")             {                 $views = 1;                 add_post_meta($id, "total_views", $views);             }             else             {                 $views++;                 update_post_meta($id, "total_views", $views);             }              maintain_top_posts($id, $views);         }     } }  add_action("wp_head", "update_post_views_counter");   Is there a way to exclude updating the total_views post meta value when updating a post, when an autosave has been generated or not?  This is different to the common meta values being lost as the data is being posted just not the most recent data


What does 'subscribe' in the Stack Exchange Shiny Hover Tag Information-o-Matic do?

Now that tags have this erm...  which appears when you move your mouse over them (try it! ), one question remains: What in the billion blue blazes does the 'subscribe' button do?   It's not RSS, since a traditional RSS feed link appears beside it, and clicking on it seems to increment the number of subscriber by one, but other than that scouring over the Stack Overflow UI does not appear to reveal anything. Surely this feature would have more use than serving as a popularity contest for the tags?


Is there a standard way for a web server to be able to determine a user's timezone within a web page?   Perhaps from an HTTP header or part of the user-agent string?


What is the cause of this non-uniform bokeh effect?

A friend of mine is thinking of buying a used medium-format film TLR camera (a ), and he showed me some of the test shots he'd taken with it.  I was struck by the curiously non-uniform bokeh in some of the photos, like this one:   (Subject's face blurred for the sake of privacy, since they're not my kids.)  If you look at the background, especially the trees at the top of the picture, you can clearly see that the bokeh is not circular but elliptic, and that the long axis of the ellipse seems to be orthogonal to the line from the center of the image.  It almost looks like circular motion blur, as if the camera was rotated during the shot, but the lack of blur in the foreground makes it clear that it's not.  I rather like the effect, especially the way it draws the eye to the center of the picture.  (It's not so effective in this particular shot, since there's no strong central subject for the eye to be drawn to, but in some of the other photos with a more central composition it worked really well.)  What I'm wondering, however, is what's causing it, and is there a name for it?  I can sort of see how it might arise from the way the light travels diagonally through the iris near the edges of the image, emphasized by the relatively large film format (my own camera, which I've never really noticed such an effect with, is a Nikon DSLR with a comparatively tiny APS-C sensor), but is that really all there is to it, or is there something more complicated going on?  And how could I deliberately achieve the same effect, short of switching to medium format myself?  Ps. Here's a close-up of the top of the photo above (click to enlarge):    The picture was taken with the Mamiya-Sekor 80mm f/2.8 lens.  Unfortunately, I don't know the exact aperture and shutter speed settings used.


I was working on Blender for 2D animation and at some point the keyframes just disappeared. They are still there hidden because I can access my drawings but the yellow squares are not visible anymore:  Did I activate some shortcut by accident ? Or is it a bug regarding grease pencil ? EDIT 1: The solutions given here  do not solve my problem. Scrolling up as much as I can do not bring back the keyframes, nor clicking view -> Frame all.  Normally I should see the layers below "summary" but here they just disappeared but they are still visible in the layer panel.


What is the difference between prefrontal cortex and frontal lobe?

They are both in the front. Looks like they're the exact same thing.  Is one part of the other?  What?  Why is it called prefrontral cortex? What does pre before frontal mean? Before front?


has the text     Target creature gets +3/+0 and gains first strike until end of turn.   I don't understand what "first strike until end of turn" means.  Does this mean the creature gets first strike until my opponent starts his turn, and then the "first strike" effect is canceled forever?  Or does the creature get first strike every time I start my turn?


I prefer the cinnamon desktop included with Linux Mint but there are some applications that I require that are in the ubuntu repos.  Does linux mint use the ubuntu repos or their own repos?  I know you can install Cinnamon on top of Ubuntu (that's what I have right now) but .


Why does cout print char arrays differently from other arrays?

I'm using C++ to understand how exactly pointers work. I have this piece of code using arrays, which I'm using just to understand how the equivalent works with pointers.  int main() {         int arr[10] = {1,2,3};         char arr2[10] = {'c','i','a','o','\0'};     cout << arr << endl;     cout << arr2 << endl; }   However when I run this, arr outputs the address of the first element of the array of ints (as expected) but arr2 doesn't output the address of the first element of the array of chars; it actually prints "ciao".  What is it that I'm missing or that I haven't learned yet about this?


Disable External Storage (Thumb Drive) on Particular USB Ports

A particular industrial computer has several USB ports accessible from outside the chassis and one USB port inside a secured door.  We need to restrict the accessible USB ports to use with mouse, keyboard and printer so that no storage device can be used on them.


Should I give to charity by check or credit card?

I intend to donate some money to a major charity.  I could donate online with a credit card, or by mail with a check.  I'd like to choose the method that is less expensive for the charity, so that more of my donation can go toward their programs.  But I don't have a clear sense of the costs of processing each type of transaction.  For a credit card payment, I understand the charity will have to pay a "merchant fee" to their credit card processor.  I have a vague understanding that this is typically about 4% of the transacted amount, but am not sure.  The card I have in mind rebates 1% of the transaction back to me, so I could increase my donation by 1% to compensate (but perhaps that card has even higher merchant fees).  Also, with an online payment, I can get the receipt electronically.  For a check payment, I will incur a small expense for postage and stationary.  The charity will have labor costs to open the envelope, log the payment, and take the check to the bank.  Perhaps their bank also charges them to process checks, I am not sure.  They will also have the expense of printing and mailing a paper receipt.  I don't really have any idea how to estimate the total cost.  Since the credit card costs scale with the size of the donation, and the check costs are fixed, I assume it would be better to make small donations by credit card and large donations by check.  But I don't have any idea where the break-even point is.    Data from an official source or from experience would be ideal, but even a rough estimate would be helpful.


Why is the galaxy's dark matter halo a sphere instead of a disk?

I understand that the galaxy is disk shaped because it has a substantial total angular momentum (if that's the right term). If the dark matter halo is a sphere, does that mean that its total angular momentum is zero? If so, why would the galaxy and the halo be so different in this respect?


How do I share an ethernet connection via wifi on Windows 8?

I have a Windows 8 laptop that is connected to a router via Ethernet. I want to make the laptop act like a wireless router via wifi so that other devices could connect to the computer using wifi and gain access to its Ethernet internet connection.  How do I do something like this?


measurable function that has non measurable derivative

A measurable function's derivative in the sense that $f^{-1}(]-\infty,\alpha[) \in\mathcal M \ \forall \alpha\in\Bbb R$ is measurable. But what about in the sense $f^{-1}(\text{measurable set})=\text{measurable set}$ ?   The first statement can be seen by looking at $\frac{f(x+1/n)-f(x)}{1/n}$ which is measurable for all $n$. (why does it imply it converges towards a measurable function?)


I'm trying to remove ubuntu so I can downgrade to a more stable release (I grabbed the latest one, it's crashtacular but I really like it when it works).  It's a single boot system. I have the USB key I used to install it in the first place but when I boot from it it doesn't have an option that jumps out for me as being something that would remove ubuntu.  There's one that says 'Ubuntu with a version number. I tried that, it just makes the system boot into ubuntu off the hard drive.  The other option is a mem test.  Is there a command I can enter or do I need to make a different usb key?  All I want to do is clear it right off, I'm not concerned with saving anything. I just want to blow the whole thing out and then reinstall from scratch.  The install process was really really really easy.  The uninstall process is oddly complex and difficult if google is an indication.  I may just give up, take the drive out and use a windows system to format it but I think having to do that is a bit ridiculous.


Overly generous offer from buyer - is it a scam?

I'm selling an item online. Someone contacted me and, after a question about whether the item is available, said the following:      "Good,Am okay with the price. but right now am currently out of the country for a business trip ,I want you to help me shipping it out to my colleague as his birthday gift to WEST AFRICA.I’ll paying you €100 EURO which includes for the shipping fees through the POST OFFICE, can I send you the money through western Union money transfer?"   The item costs 8€. Shipping costs around 30-40€.  My question is, is it a scam and, if so, how does it work?


How do I disassociate an email from my account?

When I go to the page that lists my logins, I saw that there was a login associated with my previous email address, so I removed it. But when I log on to Stack Overflow and click "Forgot password" and enter that previous email address and submit, the email that comes from Stack Overflow to my previous email indicates that my previous email is still associated with my own account. I expected to either get no email or an error from Stack Overflow stating that there is no account associated with my previous email address on this site.


What are words called when they can be made from the sounds of letter names?

For example:   Icy → IC Excel → XL Easy →  EZ*     * This spelling is based upon the U.S.A's. more recent pronunciation of the letter , which is /ziː/, rather than the British style /zed/. Compare with the pronunciation of , which is /iːzi/ in both regions. See: O.A.L.D.


Why is it always the case that, given an equivalence relation R on a set X and a $x \in X$, that x is equivalent to itself?  According to my book, this is due to the reflexivity of $R$ and consequently $x \in [x]_R$, but isn't an equivalence relation supposed to be reflexive, symmetric and transitive - not just reflexive?  I've cross-checked this with some other books, and they all say the same thing. I don't get it, how can $x \in [x]$ if x only satisfies reflexivity?


In case of test -e for example:  VAR="<this is a file path: /path/to/file/or/dir" test -e $VAR && do_something || do_anotherthing   Question: Should I use "$VAR" here?, here I don't like verbose if not necessary, because $VAR obviously in this case is a path then if it's empty string it should always fail because there's no path that is empty string, then with my logic, double quote it is not necessary.  But it case of string test, test -n for exmpale:  VAR="<this is a string" test -n $VAR && do_something || do_anotherthing   then with my logic, $VAR should be put in double quote: "$VAR" because it can be expanded to an empty string that if not in double quote will be expanded to -n argument only and always true.  So the actual question because of that I'm in doubt of that should we only use double quotes in test command only with -n and -z against strings?


Let $f:\mathbb R\rightarrow\mathbb R$ be a differentiable function and let $f':\mathbb R\rightarrow\mathbb R$ be the derivative of f.Prove that if $\lim_{x\rightarrow a}f'(x)$ exists and is finite for all $a \in \mathbb R$,then $f'$ is continous.  May I ask for a formal $\epsilon-\delta$ proof?  Thanks in advance!


Interpreting hypothesis testing result (assuming that the null hypothesis is true)

I have a doubt on how to interpret a result of a hypothesis test. For example, a scenario where I have an existing configuration and also a new configuration. I am trying to check if with the new configuration the program is faster.  The execution of the program in the existing configuration is 70.20 and in the new configuration is 65.10.  My hypothesis is  $H_0:$ The old configuration is better or same as the new configuration ($u>=0$)  $H_1:$ The new configuration is faster ($u<0$)  And I get a p-value of 3%.  Does this mean that getting 65.10 when the null hypothesis is true is unlikely, so we reject the null hypothesis? So because we get 65.10 the null hypothesis is true? I'm not understanding very well this part of the assuming that null hypothesis is true.


DNS registration, basedomain and CNAME records not wanting MX records broken

Good day,  I currently have an existing domain for a large company. We are using a service to manage our DNS.  We had an existing domain with many subdomains, with a legacy website.  Recently we wanted to update our website, we did so by developing it on AWS and getting it really good.  We now need to update the DNS configuration.  This existing configuration looks something like this   A mydomain.com [original ip]  MX mydomain.com [original link to mx setup for mail]  TXT mydomain.com [mx extensions for mail]   this setup points to office 365  now I needed to update this, so my first thought is add a CNAME record  CNAME mydomain.com [point it to ELB in aws]  this works and my site is now live.  BUT  the mail servers are now broken.  Then I tried removing the CNAME and adding  CNAME www.mydomain.com [point it to ELB in aws]  this works, both with the website and mail but is a bad experience for our users  what I want to do is not damage the original setup and still have   CNAME mydomain.com redirect to my new website  and not have our mail servers breaking.  Is there a way to do this? Its really painful for our users to have to type wwww.mydomain.com and most people won't do it and we are losing users.  how can I have my basedomain with a cname record and have it not override the other records? I know the short answer is it will, but I need a work around to achieve the business result I need, any thoughts?  This is my ideal setup   A mydomain.com [keep it as it was] MX mydomain.com [keep it as it was] CNAME mydomain.com [point it to new website] TXT mydomain.com [keep it as it was] CNAME www.mydomain.com [point it to new website]


Quotient space of closed unit ball and the unit 2-sphere $S^2$

This is an example from Munkres's Topology (Example 4 in Section 22 titled "The Quotient Topology", 2nd edition).  Example 4: Let $X$ be the closed unit ball $$\{ x \times y \mid x^2 + y^2 \le 1\}$$ in $\mathbb{R}^2$, and let $X^{\ast}$ be the partition of $X$ consisting of all the one-point sets $\{ x \times y \}$ for which $x^2 + y^2 < 1$, along with the set $S^1= \{ x \times y \mid x^2 + y^2 = 1 \}$. Typical saturated open sets in $X$ are pictured by the shaded regions in the figure below. One can show that $X^{\ast}$ is homeomorphic with the subspace of $\mathbb{R}^3$ called the unit 2-sphere, defined by $$S^2 = \{ x \times y \times z \mid x^2 + y^2 + z^2 =1 \}.$$  I am confused about two points in the example.  Problem 1: About the saturated open sets in $X$. In the example, the typical ones are pictured by the shaded regions ($U, V$) in the figure. However, I am not sure whether the boundaries (visually, by picture) of $U$ and $V$ are included. Particularly, there are two boundaries for $U$. Are they both contained in $U$? And why? Problem 2: How to show that $X^{\ast}$ is homeomorphic with $S^2$? What is the mapping between them?  The following is my understanding:  Solution to problem 1: For $V$, the boundary is not included. For $U$, the outer boundary is included, while the inner one not. Is this solution right?


If $a\sin(x) +b\sin(2x)+c\sin(3x)=0$ for every real $x$, then $a=b=c=0$.

How to solve the following without calculus? In a trigonometric manner.  If $$a\sin(x) +b\sin(2x)+c\sin(3x)=0$$ for every real $x$, then $a=b=c=0$.  I solved the problem by integrating and using the result that $$\int_{0}^{2\pi}\sin(px) \sin(qx) dx = 0$$ That's why i wanted an easier proof.


Generating function of colouring a dodecahedron

Find the generating functions in variables $r,b,g$ for the number of ways to paint a dodecahedron red,blue and green.   For example the coefficient of $r^5b^4g^3$ should be the number of ways to paint the dodecahedron with 5 red faces, 4 blue faces and 3 green faces.  I know that we should use Polya's enumeration theorem but I have no idea how to continue. Any solutions are appreciated.   Also it is allowed to be that r=0,or b=0 or g=0


Ubuntu 14.04 booting system without full network configuration

I've messed around with my network settings lately and I have no idea what I've done, but now my wifi doesn't seem to be working right. When I boot my system up I get the message      booting system without full network configuration   I tried following the guide  to reset my /etc/network/interfaces file, and now I get the same message at boot but my network manager doesn't even turn on when I login.  Any advice would be appreciated.


"The more, the merrier!" -- Is this a sentence? If not... what?

Is     The more, the merrier!   a sentence? It doesn't seem to have a main verb, so I'm inclined to say no, but it certainly functions as a sentence in everyday speech.  I can think of three ways of analysing it:   It's a sentence with no main verb. Is this even possible? It's a sentence with an implicit verb: something like The more we have, the better! It's not a sentence. But then, what is it?


I am using windows 8 and texmaker 4.4.1 I downloaded a template from   Then I open the cv_13.tex and use QuickBuild, then I received the following comments: Error : could not start the command : pdflatex -synctex=1 -interaction=nonstopmode   I am afraid that libraries may be missing or a building link should be used but I have no idea how to fix it, anyone knows the problem?


Bash command-line in vi mode - command-line find/replace

New to linux :-)  In my .bashrc I have set -o vi. That way when I'm in the terminal I can press CTRL +{ and then use VI commands to navigate, edit and search the command history.  One thing I cannot figure out is how to find and replace.  Let's say for example, I have the following command cp /abc/*.src /def/*.src.  How can I find/replace src with trg?  To clarify, I'm NOT in the VI/VIM editor.  I'm on the command-line.  For example, on the command-line to access the last command, i can do the following:  CTRL +{ k  Then to append to the end of command I can do:  $ a  How can I change my command using find/replace on the command-line.  Thanks


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


How can I enumerate a list of coset representatives?

I want to enumerate a list of (left) coset representatives for a quotient group (say, $A/B$) with the following properties:  (a) No two members of the list represent the same coset.  (b) Every coset is represented by some member of the list.  For context, my goal is to construct a set of these representatives so that I ensure that the set's cardinality equals the order of $A/B$.  My attempt: Use the bijection $f\colon A/B \to A$ such that $f(xB) = x$.  Does this work?  Edit: It was pointed out that my function is (clearly) not well-defined. So, my question remains, but I now realize that my attempt won't work.


Python lists get specific length of elements from index

my_list = [1,2,3,4,5,6,7,8,9,10,11,12,13]   I need to obtain a specific length of elements form a list starting at a specific index in Python. For instance I would like to get the three next elements from the [2] element above. Is there anyway to get the three elements from the specific index? I wont always know the next amount of elements I want to get, sometimes I may want to get two elements, sometimes eight elements, so x elements.  I know I can do my_list[2:] to get all of the elements from the third element to the end of the list. What I want to do is specify how many elements to read after the third element. Conceptually in my mind the example above would look like my_list[2:+3] however I know this wont work.  How can I achieve this or is it better to define my own function to give me this functionality?


Find the limit of a series involving "e"

Hey I've been having problem finding the limit of the sequence below  $\lim_{n\to\infty}\frac{\sqrt[n]{n!}}{n}$  Thanks!


So im trying to make a Die class and a LoadedDie class where the Die class is the base and the LoadedDie class is derived. The only difference between the 2 classes is that the roll function in the LoadedDie has a 25% chance of getting the highest number, whereas the Die, has a 1/6 chance. This is my 1st time working with derived class and i seem to have quite a problem trying to complete this task. Can someone explain to me how it works and show me how i would do it with my classes (as im a visual learner and need examples). I know my base class (Die) works as i tested it out before moving to my LoadedDie.   Die.cpp  #include<iostream> #include <cstdlib> using namespace std;  class Die{     public:         Die();         Die(int numSide);         virtual int roll() const;         int rollTwoDice(Die d1, Die d2);          int side; };  Die::Die():side(6){}  Die::Die(int numSide):side(numSide){}  int Die::roll() const{     return rand() % side + 1; }  int Die::rollTwoDice(Die d1, Die d2){     return d1.roll()+d2.roll(); }   LoadedDie.cpp  #include<iostream> #include <cstdlib> #include "Die.cpp" using namespace std;  class LoadedDie: public Die{     public:         LoadedDie();         LoadedDie(int numSide);         virtual int loadedroll() const; };  LoadedDie::LoadedDie():side(6){}  LoadedDie::LoadedDie(int numSide):side(numSide){}  int LoadedDie::loadedroll() const{     if ((rand() % 2)+1) = 1){         return side;         }     return (rand() % (side-1)) + 1; }  int LoadedDie::rollTwoDice(LoadedDie d1, LoadedDie d2){     return d1.roll()+d2.roll(); }   My DieTester.cpp (just a main class to test if the above classes work):  #include "LoadedDie.cpp" #include<iostream> #include<time.h> #include <stdlib.h>  using namespace std;  int main(){      srand(time(NULL));        Die d(6);     LoadedDie dl(6);     cout << d.roll()<<endl;     cout<<"ld " << dl.roll()<<endl; }   With the classes above, i get this error when i run my DieTester.cpp (if it helps):  In file included from DieTester.cpp:1: LoadedDie.cpp: In constructor ‘LoadedDie::LoadedDie()’: LoadedDie.cpp:13: error: class ‘LoadedDie’ does not have any field named ‘side’ LoadedDie.cpp: In constructor ‘LoadedDie::LoadedDie(int)’: LoadedDie.cpp:15: error: class ‘LoadedDie’ does not have any field named ‘side’ LoadedDie.cpp: In member function ‘virtual int LoadedDie::loadedroll() const’: LoadedDie.cpp:18: error: expected primary-expression before ‘=’ token LoadedDie.cpp:18: error: expected ‘;’ before ‘)’ token   I believe that these errors are due to me not deriving the classes properly. Can someone explain to me how this is done?


Understanding pass by value (for objects) in JAVA

I am using  as my guidance.  I want to know if I understand the following concept of pass by value in java clearly.   I have a java object and I pass it by value (so the address of the object, I guess in this case) to a function that calls a class constructor. The address of my main object is 'copied' to the constructor object. Now this constructed object and my main object are at the same address? or are pointing to the same address?  void main(){   Result result = new Result(); //empty object   Timer timer = new Timer();  timer.schedule(new UpdateResultTask(result);   result.getValue(); has some valid values. Is not empty anymore.  }  public class UpdateResultTask extends TimerTask {      private Result result;      //Constructor      public UpdateResultTask(Result result) {         this.result = result;      }       @Override      public void run() {      // the local result object gets filled here      //where response is some http response      result = response.getEntity(Result.class);     } }   Since the change inside the local function is reflected outside in the main function, i assume that its because that at the time of construction, both the new and the old (main) object have the same address?   Do I understand it correctly? In java, pass by value for objects is just passing the copy of the objects address?


What are the differences between the differential and integral forms of (e.g. Maxwell's) equations?

I would like to understand what has to be differential and integral form of the same function, for example the famous  of James Clerk Maxwell:    How to know where to apply each way? Excuse the ignorance, but always confused me the head.  Edit  Remembering that, I know that the concept of integration and derivation, is something like:


Where do questions about computer problems belong?

Where can I ask questions about the computer problems I have been facing?  Current problems I am facing with my computers:   Windows 7 errors random "Blue screens of Death" computer randomly freezing up Xfire challenges


Is there an IDictionary implementation that, on missing key, returns the default value instead of throwing?

The indexer into Dictionary throws an exception if the key is missing.  Is there an implementation of IDictionary that instead will return default(T)? I know about the TryGetValue() method, but that's impossible to use with LINQ. Would this efficiently do what I need?: myDict.FirstOrDefault(a => a.Key == someKeyKalue);  I don't think it will as I think it will iterate the keys instead of using a Hash lookup.


"hash sum mismatch" error when doing update

I have just installed 16.04 LTS. However, I cannot update.  $ sudo apt-get update Fetched 34,3 MB in 1h 51min 52s (5.110 B/s)                                      Reading package lists... Done E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/universe/binary-i386/by-hash/SHA256/e145fc3961ba6091b075afe8b3a89a5f58e1346b7d6cb0a1f4166dfcc3201392  Hash Sum mismatch E: Some index files failed to download. They have been ignored, or old ones used instead.   I tried to many thing, but didn't help. I tried the solutions from , but it didn't solve the problem.


Is there a way to sync a specific device in Linux?  This would be used to ensure that, e.g., writes to a USB thumb drive have taken place without waiting for queued writes from a video processing job to complete on an unrelated RAID array.  If there is a system call / combination of parameters that can achieve this, I could probably write a simple C wrapper. If someone knows of a Ubuntu package that can do this, that'd be even better.


Python List - how to evaluate and replace blanks/nulls/spaces in the json string values to some default value?

Assuming, below is the input list which has exp_date and qty field as blank/spaces/null. input_lst = [ {  "id": "123456",  "product": "XYZ",  "exp_date": "",  "amount": "30.5",  "qty": "1" }, {  "id": "789012",  "product": "ABC",  "exp_date": "04/15/2020",  "amount": "22.57",  "qty": "3" }, {  "id": "56789",  "product": "AAA",  "exp_date": "03/29/2020",  "amount": "2",  "qty": " " } ]  Can we write if/then/else like below - what is the correct/appropriate syntax ? output_lst = []  for dct in input_lst:     tmp_dct = dct.copy()     try:     #replace/default any blank/null/space values and convert to datetime         tmp_dct['exp_date'] = datetime.strptime(if dct['exp_date'] == "" then '01/01/1900' else dct['exp_date'], '%m/%d/%Y')     except:         pass     #replace/default any blank/null/space values and convert to int     try:         tmp_dct['qty'] = int(if dct['qty'] == '' then '1' else dct['qty'])     except:     output_lst.append(tmp_dct) print(output_lst)  Thanks!


I was wondering this and is a bit difficult to test since they only update once a day it seems.  Do you actually lose the points that count toward the badge for specific tags?  For exmaple, if one were to have 100 upvotes in the c# tag but have a few downvotes, would that mean they didn't get the badge (until upvotes - downvotes in that tag hit 100?)


Let $H \leq G$. If $G = H H^x$ then $G=H$.  According to the source, it should solve with elementary knowledge of group theory, but my tries have no result! Any help would be appreciated.   Thanks in advance.


Move migrations to the first page of the close dialog

With the new close system, voting to migrate now requires four steps:   Clicking the "close" link Selecting "off-topic because..." Selecting "This question belongs on another site in the Stack Exchange network", and  Finally selecting the site.    How about we make the process a bit less tedious by eliminating the second step?    Other than one less click (yes, I'm that lazy), we'll probably also stop confusing people from .


Need word for situation where conclusion doesn't follow from the experimental data

I need a more specific word than illogical.  Say an educational psychologist collected some data about someone by having two people fill out a questionnaire that is a well known, reputable, published, normed instrument.  The two questionnaires yielded totally different results, and then the psychologist "resolved" the "discrepancy" by conveniently throwing out the questionnaire that didn't support the conclusion he wanted to draw.  I think we don't say his conclusion is fallacious.  I think we can say it is illogical.  Is there a more specific, apt word for this situation?  A single word if possible.


Remove wrapper div from document.createElement

I've been stuck on this for the longest time and it's driving me nuts. I've tried a dozen different methods and can't figure out how to get it to work. Any help would be appreciated!! Thanks  Here's my code:


I would like to know how to rename the same log file which is in different path. I mean, the log file is in /main/rel/1.2, /main/rel/1.3, /main/rel/1.4, /main/rel/1.5 etc. I want just do it from /main/rel to all the path.  Could this be possible?


We consider in $\mathbb{R}^2$ the set of points $$\{M_1(-1,1),M_2(0,1), M_3(2,1),M_4(-1,0),M_5(1,0),M_6(2,0)\}$$  Let $\Omega$ a rectangular structure consisting of the heads $\{M_4(-1,0),M_6(2,0), M_3(2,1),M_1(-1,1)\}$  Let the two polygons $\sum_1 = \{M_4,M_5,M_2,M_1\}$ and $\sum_2 = \{M_5,M_6,M_3,M_2\}$   let the mesh $\{(e_1,\sum_1,Q_1),(e_2,\sum_2,Q_2)\}$ such $$Q_1=\{f : \mathbb{R}^2 \rightarrow \mathbb{R} , f(x,y) = a + bx + cy + d xy , a , b, c , d \in \mathbb{R}\}$$  1- Prove that $(e_1,\sum_1,Q_1)$ and $(e_2,\sum_2,Q_1)$ are two finite elements of Lagrange.  2- Let $V$ the finite-dimensional space that corresponds to the mesh. Prove that $V \nsubseteqq H^1(\Omega)$  My problem is to prove 2.


Showing definition for second derivative

Suppose $f$ is two-times differentiable at $x$. Show that  $$ \lim_{h\to 0} \frac{f(x+h) - 2f(x) + f(x-h)}{h^2} = f''(x). $$


Is there a way to get curly braces with tikz which look more like this one?   At the moment I'm using the following to get curly braces:  \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \usetikzlibrary{decorations.pathreplacing}  \draw[decorate,decoration={brace,amplitude=0.75cm}]  (0,0) -- (1,0);   \draw[decorate,decoration={brace]  (0,0) -- (1,0);  \end{tikzpicture} \end{document}   But that results in:    The point is that I need short curly braces with kind of a high amplitude which still look like braces.


PHP Basic Authentication how to get User name?

I have set up a basic authentication on one section of my website as documented , it works fine, but now I need to be able to access the user name in order to filter certain results. But $_SERVER['PHP_AUTH_USER'] wont work. Is there any other way to see who is logged in?   My .htaccess file:   AuthType Basic  AuthName "You need to login to access this page." AuthUserFile /usr/local/..../.htpasswd Require valid-user  RewriteEngine on RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]   It is marked as duplicate, but I don't see where is the answer to my problem? Can someone help please? Admin?


How can one distinguish between a random process and a chaotic process?

Chaos is not a random process, although it may look like one. If I am given a set of observations, is it possible to determine if the observations are generated by a random process or if they are generated by a chaotic process? What properties or characteristics of the observations can be used to make that determination if it is possible?


How to add a variable to a regex checking for a URL?

I have this part of a function which is running perfectly: if(/https?:\/\/[a-z]{2}w?\.mywebsite\./.test(href)){   if(!firstSerp){     firstSerp = this;     add_prerender(this, href);   } }  As you can see mywebsite is hard-coded. What I want is to put a variable there instead. So it would look like this: var mylink = 'mywebsite';  if(/https?:\/\/[a-z]{2}w?\.+= mylink\./.test(href)){}  One of the users suggested I look at  var replace = "regex"; var re = new RegExp(replace,"g");  But I have difficulties understanding how that would apply to my example. Could you please help me solve this?


I am using Lyx and need to modify my document's preamble. Where should I add   \documentclass[openany]{scrbook} \usepackage{classicthesis}  \begin{document}  \chapter{A}   in order to remove blank pages from the document?  I would like to know the file name and the specific place in the file.


How do you survive the underworld with max health, an amethyst staff and a godly ice blade? I always die from the enemies and hellstone, but all the enemies are a bit stupid because they stay away from you (demons and fire imps do it). I always enter hell and land on hellstone (there is a  hellstone brick building under my hell-evator). I just die in the first 10 seconds. It's a bit annoying.


I suggest a preview on the mobile page. For questions, answers and edits to both, like on the desktop page.  I messed up formatting often enough to be annoyed that there is no preview on the mobile page and I'm surprised that noone suggested it before (at least I didn't find anything).  If it's too performance heavy to have a live preview update after every change in the text box, there could be a preview button next to the save button which leads to a page with only the preview, a back button and a save button (and the title bar and so on).


How can I make shortcut keys move the mouse, as an alternative to the touchpad?

Due to large quantities of Chocolate Cake falling on my computer's touchpad it has become unresponsive at times (though the left- and right-click works fine) and I would like to make it so that when I press CTRL and at the same time hold down one or two of the arrow keys for the mouse to move accordingly. So if the up-arrow key is pressed it will move up, if the left-arrow key, then left, and so, and if the right-arrow key and the top-arrow keys are being help down together for it to move diagonally (and so on for the rest of the keys).  I am running Ubuntu GNOME 15.10 with GNOME 3.18, can this be done? And if so how? I would accept a script which does this.


I left kimchi at room temperature for 7 hours. Can I still eat it?

I accidentally left Sunja's kimchi at room temperature for 7 hours.  It started leaking.  It's in the fridge now.  Can I still eat it?


Currently, there is no way to do advanced search with bounties ( is not satisfying me).  Is there a way to ask this option to be enabled with the same behavior than the others :    isaccepted: yes/true/1 returns only answers that have been marked "accepted"; no/false/0 returns only answers that are not marked accepted. hascode: yes/true/1 returns only posts that contain code blocks; no/false/0 returns only posts that contain no code. hasaccepted: yes/true/1 returns only questions that have accepted answers; no/false/0 returns only questions with no accepted answers. closed: yes/true/1 returns only questions that are closed; no/false/0 excludes closed questions from the search. duplicate: yes/true/1 returns questions that have been marked as a duplicate of another question; no/false/0 excludes duplicate questions from the search. migrated: yes/true/1 returns only questions that have been migrated to a different site; no/false/0 excludes migrated questions from the search. locked: yes/true/1 returns only locked posts (which have edits, votes, comments, and new answers disabled); no/false/0 returns only posts that are not locked. hasnotice: yes/true/1 returns only posts with a notice shown below them; no/false/0 returns only posts that do not have a notice applied. wiki: yes/true/1 returns only community wiki posts; no/false/0 returns only non-community wiki posts.      hasbounty: yes/true/1 returns only active bounty posts; no/false/0 returns only non active bounty posts.


I’m a Nigerian , I have been invited by the British army for an assessment next month , my dad is willing to sponsor my Traveling expenses and my brother who is in the British army and a citizen of United Kingdom is will accommodate me, I am unemployed currently do my apprenticeship in my fathers company ,my dad has paid N1,500,000 (£3000) into my account with a letter that represents that ,my father is a business man and I have paperwork to back that up  , I have also added my father assets in Nigeria  to my visa application..do I need to bring my fathers company bank ste together with my own..or should I just bring only mine since he has already sent the money to my account???


Why do the factorials appear in differences of consecutive powers?


How much time do I have to wait before I can sell another car?

I was wondering: How much time does it take until the cooldown resets and I can sell another car in the GTA Online LS Customs Garage?


At United States PhD programs, is the research / TA stipend taxed as income tax?

Is the research / TA stipend for PhD students at U.S. universities taxed as income?


I am trying to validate an email address when the submit email button is pressed.  I tried adding JQuery validation to no avail. I was wondering how I could add an "if" statement that will just check and inform the user, that it is not a valid email in the same label that states it is sending an email.    $('#Submit').on("click", function () {   result = 'Sending message ...';   $("#sendSuccess").html(result);    var email = $("#email").val();    var body = "From: " + name + "
  Email: " + email + "
 Message: " + message;    $.ajax({     type: "POST",     contentType: "application/json; charset=utf-8",     url: "EmailService.asmx/SendMail",     data: '{ body: "' + body + '", subject: "' + subject + '"}',     dataType: "json",     async: true,      success: function (data, status, xhr) {       //alert('success');       result = 'The message has been sent!';       $("#sendSuccess").html(result);     },     error: function (data, status, xhr) {       //alert('fail');       result = 'The message has failed to send!';       $("#sendSuccess").html(result);     }   }); });
     <input id="email" type="text" name="email"  class="form-control" />

     <button type="submit" id="Submit" class="form-control">Click</button>


trying to understand network layer(s) in WebAPI server cluster

I'm in the process of building my first webAPI server cluster. The webAPI hosted by this cluster provides a hi-comute resource, where each task request requires between 0.5 and 1.0 seconds of CPU time. The API is transactional, so the traditional cache layers in web infrastructures do not apply. (Each API communication receives unique data, and returns unique data only served once and never a second time.)  The architecture of the server cluster is:   Two CentOS boxes, running HA-Proxy as the load balancer. One is active, 2nd is standby. Two to start, more to be added later, Windows Server 2008 R2 boxes configured with the Uniform Server (production ready WAMP) and my hi-compute software that is the basis of the API. two CentOS boxes, serving MySQL, with Raid10 configured disks; one is active, 2nd is replicating and in standby.   Perhaps this mixed OS structure is a bad idea, but I'm primarily a unix guy, and this is manageable by me without needing to hire a Win64 administrator. Plus, the hi-compute software only runs in Win64, so I'm stuck there.  My questions lie in the area of the networking connections between these server layers. I have a hardware vendor who tells me I need one 10 Gb switch between the load balancer and the web servers, and then a second 10 Gb switch between the web servers and the database servers. Is this necessary? This makes two separate networks, right? I'm also seeing a huge, exponential price difference between different 10 Gb switches when searching with Google; what is the cause of this huge price difference? My vendor is suggesting this 10 Gb switch: , which is a price of $8,350... must be a hell of a switch with that price. What does that do which a less expensive switch does not?


why l1 norm can result in variable selection but not l2

In applying a penalty term with either $l_1$ or $l_2$ norm, why would the former result in variable selection but not the latter?


My German visa validity is from 19-Feb-2019.  I have booked qatar airways flight from India which has departure at 19-Feb 3.45 AM IST. The time in Germany would be 18-Feb-2019 11:15 PM CET.  Would I be allowed to board the flight considering my visa would not be valid at that time with respect to CET.  I called qatar twice and got two different answers, probably I was not able communicate clearly via phone.   I might be overthinking it, But since this is my first time I am a bit anxious.


How to get memory test in GNU GRUB version 2.04, using ubuntu 20.04

Like the title says I'd like to do the memory test but there is no memory test in the GNU GRUB menu.


I want to create the banner in sharepoint as shown below:


how to get script name when using execfile() in IPython to run script

Hello stackoverflow community,  How can I get the script name when using execfile() in IPython to run the script?  Demonstration:  I've created this script (named printScriptName.py)  import os,sys print os.path.basename(sys.argv[0])   This is the output when running it using IPython:  In [37]: execfile('printScriptName.py') ipython-script.py   Which is obviously not printScriptName.py.  Thanks.


t off.    It would be nice if it was changed to just "Exchange" or "Stack" or something. The icon's already recognisable enough.


Was Saruman already siding with Sauron before Dol Guldur?

in The Hobbit: The Battle of the Five Armies. after Galadriel, Elrond and Saruman rescue Gandalf and banished the formless Sauron they encountered Saruman  proceeded to go after Sauron alone     Galadriel: The spirit of Sauron endured.   Saruman: And has been banished.   Galadriel: He will flee into the east.   Elrond: Gondor should be warned. They must set a watch on the walls of Mordor.   Saruman: No. Look after the Lady Galadriel. She has spent much of her power. Her strength is failing. Take her to Lothlórien.   Elrond: My Lord Saruman, he must be hunted down and destroyed, once and for all.   Saruman: Without the Ring of Power, Sauron can never again hold dominion over Middle-earth. Go now! Leave Sauron to me.   many years later Gandalf learned that Saruman has turn traitor and has sided with Sauron. i am wondering, was Saruman already siding with Sauron when he and the others came to Dol Guldur? suggesting Elrond to look after Galadriel as opposed to letting Elrond warn Gondor as an act to protect Sauron?


Evaluating limit (iterated sine function)

The limit is   $$\lim_{x\rightarrow0} \frac{x-\sin_n(x)}{x^3},$$  where $\sin_n(x)$ is the $\sin(x)$ function composed with itself $n$ times:  $$\sin_n(x) = \sin(\sin(\dots \sin(x)))$$  For $n=1$ the limit is $\frac{1}{6}$, $n=2$, the limit is $\frac{1}{3}$ and so on.  Can we define a recurrent relation upon that given hypothesis? Also, how do I involve $n$ into calculation, because the final limit will depend on it?  Any suggestions on how to tackle this?  Thank you!


Any chance for a solution of $f[f(x)]=x^2+1$?

Not sure if this is a closed or open question. But the question is suppose $f[f(x)]=x^2+1$ then what is $f(x)$? Though the question does not refer to the domain let us suppose it is defined on $\Bbb R$.  Thanks.


How to access days_between function in SQLITE

I'm trying to create a view NearDueBookings, This query works in Hana but wondering how to make it work in SQLITE? As days_between won't work in SQLITE. entity NearDueBookings as      select from Bookings where      status = 'item_delivered' and      days_between(to_date(bookingTo), to_date(now())) = 3;


How can I mount a TV when I can't find studs inside my wall?

WARNING: I'm not the greatest handyman.  I bought a TV mount the other day, expecting to hang my heavy 40" TV above the fireplace. However, the instructions specifically say to first screw the mount into the studs in the wall. Unfortunately, I don't seem to have any (according to my brand-new seemingly-functional stud finder).  Installing studs into the wall is not an option, and the TV is relatively heavy. My question is: What other options do I have? Could plugs possibly do the trick?


need one counter example for sum of two closed set need not be closed

I know the proof that If A is compact and B closed then A+B is closed but would like to have an example where both are closed but not A+B.I am not able to figure out.


Implementing full-page Screen-Only & Print-Only in PDF

I am interested in displaying some things (e.g.: title page) in full color on screen, while having the same object/page display in a black and white friendly form when printed.  According to , there is built-in functionality in the PDF specification for Screen-Only objects and Screen-And-Print objects.  There may also be a way to add a layer on top of the B&W page that only displays the full color page on screen via the PDF 1.5 Optional Content Groups feature.  Similarly,  demonstrates the selective printing of text via ocg-p.  But it is not clear how I can use this package in the way that I need to.  My scenario is compounded by the fact that my color page text is white on a dark background.  MWE:  This code presents the way I am currently switching back and forth between color and b&w.  I change the printincolor bool variable to make the change.  \documentclass[11pt]{article}  \usepackage[demo]{graphicx} \usepackage{etoolbox}  \providebool{printincolor} % Will set color title page and section headings \setbool{printincolor}{false}  % Setup color if needed \ifbool{printincolor}{% \usepackage[pagecolor=none]{pagecolor}% \definecolor{MyBlue}{HTML}{1b3667}% \usepackage{afterpage}}{}  \begin{document}  % Begin Title Page {  \thispagestyle{empty}   \ifbool{printincolor}{%   \pagecolor{MyBlue}%   \afterpage{\nopagecolor}}{}   \begin{center}   {\ifbool{printincolor}{\color{white}\sffamily}{\sffamily}%  Set text color white or leave [default] black   \ifbool{printincolor}{\includegraphics[width=1.5in]{logo-gold}}{\includegraphics{logo-blue}}% put logo gold or blue   \\ \vskip 1in   \begin{huge}         \textbf{Title}         \vskip 0.1ex\rule{0.5\textwidth}{0.8pt}\vskip 1ex         Subtitle         \\         \end{huge}   \vfill\vfill   \begin{large}    Authors:\\   John Doe and Jane Doe\\   \end{large}   }   \end{center} }  \end{document}   How can I layer (or otherwise display) two versions of the title page in a way that color displays on screen, but black and white is printed?


Can I cast a spell while another spell or ability is resolving?

My opponent has a  with scads of loyalty. I've got a  and a  on the battlefield.  He activates Sorin's "ultimate" ability, targeting Gideon.     -6: Destroy up to three target creatures and/or other planeswalkers. Return each card put into a graveyard this way to the battlefield under your control.   Is there any way I can use the Spellbomb to prevent my opponent from stealing Gideon after he is sent to my graveyard?


$a_{m+n}\leq a_ma_n$ implies the convergence of $\sqrt[n]a_n$

Let $a:\mathbb{N}\to\mathbb{R}^+$ be a sequence such that $a_{m+n}\leq a_ma_n$. Prove that $\sqrt[n]a_n$ converges and $$\lim_{n\to\infty}\sqrt[n]a_n=\inf_{n\in\mathbb{N}}\sqrt[n]a_n.$$  So far all I have is $\sqrt[n]a_n\leq a_1$ (from $a_{m+n}\leq a_ma_n$ by induction). If it is true that $\sqrt[n]a_n$ monotone decreasing, we are done but I couldn't show it. Should I do something with $\liminf$ and $\limsup$?


The wikipedia page for divisibility rule for 7 has an interesting method. Which I am elaborating and generalizing.  let a number N. Make pairs of the number starting from right. find remainders for each pair. let remainders be R0,R1,R2,R3.. . Then the number N is divisible by 7 if R0X2^0 + R1X2^1+R2X2^2+R3X2^3... is divisible by 7. eg 194,536: 19|45|36 ; (5x4) + (3x2) + (1x1) = 27, so it is not divisible by 7 204,540: 20|45|40 ; (6x4) + (3x2) + (5x1) = 35, so it is divisible by 7 1,655,598: 1|65|55|98 ; (1x8) + (2x4) + (6x2) + (0*1) = 28, so it is divisible by 7 can this be proved? the system may give easier results if we take negative remainders(in case remainders are 5,6 we can take remainder as -2,-1)


I came across an 'N20' motor, and I don't know what that means. As far as I can tell (and please correct me if I'm wrong), N20 is the SKU of the motor. What is the SKU?


Every time I read the tips for installing an SDK, IDE, some extension and so on, it says, that I should unpack them in /opt folder. Why do I need to do that?   When I was installing Ubuntu, I read that I should set only 10-20 GiB for the / file system and remaining space set for /home. So should I extend the space for root folder, or leave all stuff at /home? Is there any difference?


16.04 - 'Colored Static-like noise around windows' problem after standby after Nvidia driver and/or kernel update (Screenshot attached)

Update  With kernel 4.4.0-81 it seems to work well again, without myself doing anything extra to fix it.    Everything was working fine until a little more than a month ago, there were multiple kernel updates and Nvidia driver updates during that period so I'm not sure which one caused this problem.  I get the distortion below in the screen after starting the machine from standby (goes away if I restart/log out and log back in), it's shown around any window that is not maximized, around dialog boxes, around menus, basically around any edge on the screen.  I'm currently running kernel 4.4.0-77 and Nvidia driver from the package nvidia-375    PS: switching to the other driver causes other problems, and this one was working very well before this issue, and it had been running properly for months before this problem started happening.


Show the inverse of a bijective function is bijective

We have a function $\varphi:G\rightarrow H$ is an isomorphism, show its inverse $\varphi^{-1}:H\rightarrow G$ is also an isomorphism  I am fine with showing it to be a homomorphism and surjective, this is my attempt at showing injectivity, I'm unsure if they would be sufficient  Assume: $\forall h\in H, \exists g\in G$ s.t. $\varphi(g)=h$ and $\forall g_1, g_2\in G, \varphi(g_1)=\varphi(g_2)\Rightarrow g_1=g_2$  Injectivity - Need to show $\varphi^{-1}(g_1)=\varphi^{-1}(g_2)\Rightarrow g_1=g_2$  $\varphi^{-1}(g_1)=\varphi^{-1}(g_2)\Rightarrow g_1=\varphi(\varphi^{-1}(g_2))$ from our surjectivity assumption on $\varphi$ we know there exists such a $\varphi^{-1}(g_2)\in H$ and from our injectivity assumption on $\varphi$ we know that this solution is unique.   [Sufficient? What more could be added? How could I do this clearer?]


So.. I spent a good week and a half playing terraria on my android and met with some friends to join me. We finally managed to get to the Wall of Flesh, and me and my friends died quite a few times. Finally, I managed to defeat him by myself and was extrememly disappointed when I couldn't get the Pwnhammer. Did I do something wrong, or is this a bug of some sort?


I want to find the intermediate extension of $\Bbb Q(\zeta_8)$ over $\Bbb Q$. And for each subfield, I need to find what is the correspondence subgroup of $(\Bbb Z/\Bbb Z_8)^*$ that fixes the field.  The following is what I have tried so far:   Find the degree of $[\Bbb Q(\zeta_8):\Bbb Q]$.   I calculated the minimial polynomial by the definition of cyclotomic polynomial. It is $x^4+1$.   Knowing this, I find the basis of $\Bbb Q(\zeta_8)/\Bbb Q$ is: $1,\zeta,\zeta^2,\zeta^3$. $Gal(\Bbb Q(\zeta_8)/\Bbb Q)=\lbrace \sigma_1,\sigma_2, \sigma_3,\sigma_4\rbrace$ where    $\sigma_1:\zeta\mapsto \zeta$  $\sigma_2:\zeta\mapsto \zeta^3$  $\sigma_3:\zeta\mapsto \zeta^5$  $\sigma_4:\zeta\mapsto \zeta^7$   I want to determine the fixed field via the basis:   $\sigma_3(a+b\zeta+c\zeta^2+d\zeta^3)=a+b\zeta^5+c\zeta^2+d\zeta^7$.  So $\sigma_3$ fixes $\Bbb Q(\zeta^2)=\Bbb Q(i)$.  $\sigma_2(a+b\zeta+c\zeta^2+d\zeta^3)=a+b\zeta^3+c\zeta^6+d\zeta$.  So $\sigma_2$ fixes $\Bbb Q(\alpha)$ where $\alpha$ is of form $b=d,c=0$. Which is $\Bbb Q(i\sqrt{2})$.  Now $\sigma_4(a+b\zeta+c\zeta^2+d\zeta^3)=a+b\zeta^7+c\zeta^6+d\zeta^5$.  I am confused, how could I deal with that?  Thanks for help!


best practice for sharing data between users

I'm new to ubuntu  and i've partitioned disk as follows  /      100G swap   30g -- i need to run virtuals /home  500g   and that structure after searching  the problem I face is where to put files for all users


How do injuries work with Polyjuice Potion?

We know that if you (using Polyjuice), take the form of someone who had been injured, you assume that injured form (e.g. Barty/Moody). If you are injured, presumably you would be uninjured while under Polyjuice. My question is, is this in real-time? That is, if you take a Polyjuice, and while you're still under its effects, the person being transformed into gets injured (or even dies), will that injury be transferred onto you? And conversely, if you get injured while in someone else's body, will that transfer over to your real body after the Polyjuice wears off, will it disappear, or will it go to the person you turned into?


Cant access BIOS or Windows after Ubuntu install

I have 2 drives in my laptop (Samsung NP530U4C), a 120GB SSD and a 25GB mSATA SSD. I have Windows 7 on the 120GB drive and after installing Ubuntu 12.04 on the mSATA I cant access Windows or get into the BIOS anymore. When I select Windows 7 in grub it says "invalid EFI file path" and Windows/Linux USBs/CDs dont show up in grub. The BIOS boot menu only shows 'ubuntu' (no drives or CDROM) and I cant get into the full BIOS and no I'm not pressing the wrong buttons. I tried Boot-Repair but had no luck. Anybody have any suggestions?


If $4\mid a+bc$ and $6\mid b+ac$ prove that $2\mid a^2-b^2$   This is as far as I get:  $$a + bc = 4k\qquad\text{for some $k\in\Bbb Z$} \\b+ac =6l\qquad\text{for some $l\in\Bbb Z$}\\\implies (a^2-b^2)(1-c^2) = 16k^2 + 36l^2$$


Is it a good practice to store primary key values in form elements?

Is it a good practice to store primary key values in form elements for storing data after form submission?  For example if I have a select tag inside my form like this:  <select name="city">   <option value="3">Kolkata</option>   <option value="7">Bangalore</option>   <option value="1">Delhi</option>   <option value="4">Mumbai</option> </select>   In my City table they are stored like this:  Id  Name --  ---- 1   Delhi 3   Kolkata 4   Mumbai 7   Bangalore   After form submission, extraction of values is pretty simple and we directly get the  foreign key value without looking up the City table.  However, I feel that this could be a major problem since one can easily manipulate the values through developer tools.  If not this approach, what is the general and widely accepted norm?  EDIT  Since this question has been suggested as a duplicate of , I've added my reason against it:  This question deals with the aspect of general practice followed by developers unlike the other with deals with security concerns if a particular practice is followed.


Let $l^2$ be the space of square summable sequences with the inner product $\langle x,y\rangle=\sum_\limits{i=1}^\infty x_iy_i$.   (a) show that $l^2$ is H Hilbert space.    To show that it's a Hilbert space I need to show that the space is complete. For that I need to construct a Cauchy sequence and show it converges with respect to the norm. However, I find it confusing to construct a Cauchy sequence of sequences?


Capturing Metadata off Music CD during file transfer

When I transfer.wav files off a music CD to my /Music folder on my hard drive the metadata (song/artist information) is not present. I can look at the music CD with, say, Rhythmbox and see the song/artist information but I believe it is sourcing this data off the web and not the CD. Is there a way to capture this information off the CD itself or do I know if it is even present? Looking at the 'properties' of the individual CD music files shows nothing under the 'General' information. Also the songs on the CD are simply listed as Track 1.wav, etc; no song titles. This all means that I have to manually rename these songs on my hard drive and my USB memory stick that I use on my stereo network receiver. I am using FLAC, in Terminal mode, to convert the .wav files for more efficient storage.This is also cumbersome but I want to ensure music quality/sampling rate is maintained for playback on my stereo. Any suggestions?


I recently switched my whole system to Mac OSX (Snow Leopard 10.6) from Windows 7. Now I've installed WoW and imported my old configs/addons without any problems, besides that my keybindings from F1 to F7 are completely overriden by some Mac functions like brightness/sound/keyboard backlight etc.  How can I use my F-Keys in games?


What do you think of an SO for Beginners, only?

SO has helped me so much in times of need. It is crazy - sometimes I am having a huge issue with a program I'm working on at school or work, and I post it on SO and the answers come quickly and easily. Lots of time it's a typo, while others it's a deep misunderstanding of mine. I wonder how I can fit in here at Stack Overflow. How I can contribute. In fact, I feel such a “beginner”, I don't even know where to look half the time. But I see there is now a place for /Programmers/ which leads me to wonder if there can be a site for beginners - and strictly beginners. Beginners post in Stack Overflow, and only beginners can post answers. Meaning, you must ask a question in the beginners forum in order to answer one. Or something, I'm not sure, I just want a place to connect with others who are just starting out how to learn about programming, and want to get the chance to answer other beginner questions so I can learn more (you learn 40% of what you do and 90% of what you teach). What do you all think about this?


I have found a bug with the vote buttons on this question:    If the post cannot be voted on, why are there vote buttons? I also noticed that all answers except the first one can be voted on.


I am trying to solve a problem which asks to find the smallest prime palindrome, which comes after a given number which means that if the input is 24, the output would be 101 as it is the smallest number after 24 which is both prime and a palindrome.  Now my code works perfectly for small values but the moment I plug in something like 543212 as input, I end up with a StackOverFlowError on line 20, followed by multiple instances of StackOverFlowErrors on line 24. Here is my code :  package nisarg; import java.util.Scanner;  public class Chef_prime_palindromes {     public static void main(String[] args) {         Scanner input = new Scanner(System.in);         long num = input.nextLong();         isPalindrome(num + 1);     }      public static boolean isPrime(long num) {         long i;         for (i = 2; i < num; i++) {             if (num % i == 0) {                 return false;             }         }         return true;     }      public static void isPalindrome(long num) {         String word = Long.toString(num);         int i;         for (i = 0; i < word.length() / 2; i++) {             if (word.charAt(i) != word.charAt(word.length() - i - 1)) {                 isPalindrome(num + 1);             }         }         if (i == word.length() / 2) {             if (isPrime(num)) {                 System.out.println(num);                 System.exit(0);             } else {                 isPalindrome(num + 1);             }         }     } }


Looking for a term like "fundamentalism", but without a religious connotation

I am looking for a generalized term for "the belief that there is a single or narrow range of correct interpretations of events or a circumscribed set of permitted actions in a particular situation as prescribed by an unquestionable authority."  Fundamentalism fits to some degree, but has a religious connotation whereas people can hold the above belief without also believing in a deity or god. Also, people who identify as fundamentalist have a much different usage for the word.    Any suggestions for a term that captures the belief without referring specificity to the religious?  ETA: Very good suggestions.  To clarify a bit more, what I am looking for is a word or short phrase that emphasizes a reliance on an unquestionable authority.  Many words that have that connotation also seem to to be used to mean a steadfast  belief.


How to make a copy of an object (not its reference) that is actually struct?

I have a value (struct instance) that was cast to object for generic handling. I need to make a copy of the value. I cannot do this explicitly because I just have its Type and don't know what it is in compile time.  By default I get a copy of reference: var copy = objectOfMyStruct;. I thought about making an explicit shallow copy by MemberwiseClone() but I cannot do this because it's protected method and I cannot modify MyStruct.  Convert.ChangeType(objectOfMyStruct, typeOfMyStruct) doesn't help because conversion (actually no conversion) happens inside and it returns Object again.  How could I do this?  EDIT:  I need to make a copy to preserve original value and just deserialized one to pass to OnChangeHandler. Simplified implementation is:  var oldValue = type.GetValue(reference); var newValue = oldValue; // something better is needed here Deserialize(type, stream, ref newValue); OnChange(oldValue, newValue); type.SetValue(reference, newValue);   Copy is made because only delta (changes) are sent so should be applied to the original value.  EDIT 2:  This implementation works fine for primitive types, so despite int is boxed too I'm copying it instead of copying reference to it. I just don't understand this.    Here is an example of what is needed.  This example, which you can test in  should make a clone of the struct without casting it back to its unboxed type, so that when it is mutated by a call through the implemented interface, only the original is mutated. The question is thus; how do I write that Clone method?  void Main() {     object original = new Dummy { Property = 42, Field = "Meaning of life" };     object clone = Clone(original);      ((IDummy)original).Mutate(); // will modify the boxed struct in-place     original.Dump();      // should output different if Clone did its job     clone.Dump(); }  static object Clone(object input) {     return input; }  public interface IDummy {     void Mutate(); }  public struct Dummy : IDummy {     public int Property { get; set; }     public string Field;      public void Mutate()     {         Property = 77;         Field = "Mutated";     } }


Prove $m^3 \leq 2^m$ for $m \geq 10$ with induction

Prove that $m^3 \leq 2^m$ for $m \geq 10$  This is my shot  Proof  We prove this by induction.  Basic step: For $n=10$ is $10^3 \leq 2^{10} = 1000 \leq 1024$ and that is correct.  Induction step: Assume that $k \geq 10$ and that the statement is true for each $10 \leq j \leq k$. We need to proof that it is also true for $k+1$.   So          $$(k+1)^3 \leq 2^{k+1} \Rightarrow k^3 + 3k^2 + 3k + 1 \leq 2^k + 2^k \underbrace{\Rightarrow }_{\text{induction hypothesis}} 3k^2 + 3k + 1 \leq 2^k$$  Now I don't understand how I can prove the rest.


How do I force yum to install without prompting the user, using bash?

I'm writing a bash script to install php5.4 and I'd like to automate this for a test VM. The rpm command I have is:  rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm yum install php54w   Now, in the middle of this running, there is a user prompt to enter [Y/N] whether or not to download the dependencies. So I either need to:   Simulate the user input of [Y]; or pass in a command for yum not to ask and assume [Y]   What is the best method for a bash script and how do I accomplish both of the above?


MTG - Cards that share names stack abilities?

Ability: When  enters the battlefield you get {E}{E}.  Does this mean if I already have one aether poisoner on the field and I play a second that the ability will stack and I'll get {E}{E}{E}{E}?  If the answer to the previous question in yes, then consider the following:  {U}:  gains flying until end of turn.  Does this mean that if I have 2 Dukhara peafowls I merely have to pay {U} once in order to give both flying?


How to run a command that involves redirecting or piping with sudo?

I am trying to follow what I assume is best practices of using sudo instead of root account.    I am running a simple concat file operation such as:  sudo echo 'clock_hctosys="YES"' >> /etc/conf.d/hwclock   This fails as to the right of the ">>" it is running as the normal user.  Adding extra sudos also fails (expected behaviour since piping to the sudo command and not to the file).  Example is just that but it has been verified and tested under the root account.


Why is Python printing memory location instead of value when using a for loop to insert key / value into hashtable I built

I have tried implementing a hashtable from scratch by reading in a csv file.  The data itself reads correctly, and the key reads in correctly as well.  The values are reading in as memory locations and I can't figure out why. Other posts have suggested that you need to implement a self or str, but unless I'm misunderstanding I believe I've done that here?   Any help would be appreciated. class DeliveryInfo: def __init__(self, idc, address, city, state, zipc, delivery, size, note):     self.idc = idc     self.address = address     self.city = city     self.state = state     self.zipc = zipc     self.delivery = delivery     self.size = size     self.note = note  def __str__(self):     return "%s,%s,%s,%s,%s,%s,%s,%s" % (self.idc, self.address, self.city, self.state,                                         self.zip, self.delivery, self.size, self.note)   def loadDeliveryInfo(fileName):     with open(fileName,'r', encoding="utf-8-sig") as PackageInfo:         PackageData = csv.reader(PackageInfo, delimiter=',')      for d_Info in PackageData:         dID = int(d_Info[0])         dAddress = d_Info[1]         dCity = d_Info[2]         dState = d_Info[3]         dZip = d_Info[4]         dDelivery = d_Info[5]         dSize = d_Info[6]         dNote = d_Info[7]          d_Info = DeliveryInfo(dID, dAddress, dCity, dState, dZip, dDelivery, dSize, dNote)         hashMap.insert(dID, d_Info)  hashMap = chainedHashTable() loadDeliveryInfo('PackageData.csv') print(hashMap.table)


I'm running Xubuntu 20.10 on a MBA 2012. I wanted to use my GTK theme on a QT program, so I did a little searching and ended up with adding export QT_QPA_PLATFORMTHEME=gtk2 to my ~/.profile. That works, but whenever I log in, I get an error saying that the command # on line one can't be found. I assume this is a comment. I thought my line endings could be incorrect, so I opened VIM and changed them to UNIX, which didn't do anything. Coincidentally, Plank won't launch. Is there a better alternative to what I added to my ~/.profile, or is the error completely separate? Attached is the full ~/.profile. # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package.  # the default umask is set in /etc/profile; for setting the umask # for ssh logins, install and configure the libpam-umask package. #umask 022  # if running bash if [ -n "$BASH_VERSION" ]; then     # include .bashrc if it exists     if [ -f "$HOME/.bashrc" ]; then     . "$HOME/.bashrc"     fi fi  # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then     PATH="$HOME/bin:$PATH" fi  # set PATH so it includes user's private bin if it exists if [ -d "$HOME/.local/bin" ] ; then     PATH="$HOME/.local/bin:$PATH" fi  # include Mycroft commands source ~/.profile_mycroft export QT_QPA_PLATFORMTHEME=gtk2


Proving a sequence of step functions converges pointwise to a function $f$.

Question: Suppose $f: [0,1] \rightarrow \mathbb{R}$ is continuous on $(0,1)$. Prove there is a sequence of step functions $\left\{f_{n}\right\}$ which converges pointwise to $f$ on $[0,1]$.    I saw the same question was asked  but I was still confused regarding the solution to the question.   I had attempted a solution but I now realize this solution is wrong:  Proof: Since $f$ is continuous on $(0,1)$, then for every $x \in (0,1)$ and for every $\epsilon>0$, there exists a $\delta(x)$ such that $|f(x)-f(y)|<\epsilon$ whenever $y \in (0,1)$ and $|y-x|<\delta(x)$. In particular, let $\epsilon_{n} = 1/2^{n}$ and let $\delta_{n}(x)$ be the corresponding $\delta$ which is guaranteed by the continuity of $f$. Fix a value of $n$ and choose a partition $x_{0}=0 < x_{1} < x_{2} < \ldots < x_{m} = 1$ such that $x_{i}-x_{i-1} < \delta_{n}(x)$. Let $f_{n}(x):= f(x_{i-1})$ for all $x \in (x_{i-1}, x_{i})$. Clearly $f_{n}(x)$ is a step function and hence $\left\{f_{n}\right\}$ is a sequence of step functions. Observe that $f_{n}(x)=f_{n}(x_{i-1})=f(x_{i-1})$. Finally, by the continuity of $f$ and by the fact that $x_{i}-x_{i-1} < \delta_{n}(x)$, we may conclude that \begin{align*} |f(x)-f_{n}(x)| \leq |f(x)-f(x_{i-1})| < \epsilon_{n}  \end{align*} and so the sequence converges pointwise to $f$.  End of proof.  I was hoping someone can shed some light on the correct solution to this problem. Any hints would be appreciated. Thanks!


I have a question Blender "eats" my constructions with gray spaces. I would like to know how to move away those gray spaces so that I can work with more space. Thank you so much to anyone who answers me!


So i am new to programming and I have been trying to make a simple program for practice.  It asks you questions and you answer it.   I can't seem to get it to work right. It either Says its correct when it's not or that it isn't correct when it is.   Here is my code   // Questions      String q1;     JOptionPane.showInputDialog(null, "1). What is the name of our sun?");      if(q1 == "Sol") {         JOptionPane.showMessageDialog(null, "Correct!");     }     else {         JOptionPane.showInputDialog(null, "Sorry that is incorrect :(");         }   What am I missing?


How does one use the auxiliary verbs, went and gone

I hear people say, I had/have went as in, ‘I had went to the movies the other night. Shouldn’t it be either I had gone or I went?


Does white balance totally correct color shift due to lens glass or coating?

I'm about to create custom profiles for my camera and in order to do so I need to shoot pictures of color reference card.  I don't really understand the impact of the lens I choose to create the reference pictures. I can imagine that if my lenses are from the same brand and generation I should have accurate results. But what if I take some reference pictures using, say, old lenses with yellow radioactive coatings and other ones with modern coatings?  Will a rigorous white balance adjustment (using a neutral grey reference card for instance) be enough to get perfectly accurate results, or should I create custom profiles for each lens + sensor combination because white balance adjustment won't be able to correct color transmission variations?


Can't I install a 64 bit OS as a guest OS,when the host OS is 32 bit

I read it somewhere "If you are running virtual box on a 32 bit OS, you cannot install a 64 bit OS as a guest OS (in virtual box)." Is it true ?  If so, I want to know the reason ?   Note: I am using windows 7-32 bit, with intel dual core processor.


How to get #pg= value from url in Javascript?

I am working on how to get #pg value from URL using JavaScript, I tried    var url_string = "http://example.com/aus/#pg=0"; //window.location.href var url = new URL(url_string); var pg = url.searchParams.get("pg"); console.log(pg);     But not getting any result, Please help


Rufus nor any other software can fix my 16GB usb drive after using RUFUS

I wanted to make a bootable USB drive using Rufus. I opened the program went with all the default options and I clicked start BUT what I forgot to do is to select an iso because I thought it would just make the disk bootable without selecting anything. Unfortunately it did not. It gave me an error. I do not remember it because this was about 6 months ago after I gave up in fixing it. Anyway I tried to reformat it again using diskpart and it fails. With Rufus it says "ERROR while partitioning drive" and I think that was the initial error as well. Also during the struggle I got messages from windows saying that the disk is write protected and NO, there is no switch for that on the USB pendrive.   More info:     Transcend 16 GB     Rufus 1.4.9,     Frustrated student :/


Is there a way to remove a snapchat effect from a picture?

I took a great picture of the sky the other day but it was on snapchat and i covered a tree by painting yellow streaks over it on the snap, that's the only pic I saved to my phone but I wanted to know if there was a way to remove the yellow streaking? can it be done with an online program? thanks


Why does "up" mean "into pieces" in "tear up"?

I looked up the Oxford dictionary,it says that "up" could mean "into pieces/apart",I want to know why.What do you native speakers feel when you say "up" in "tear up" or "rip up". and there is an example sentence in Oxford dictionary: They've had the road up to lay some pipes. because as far as i could understand,up means upward,how could it mean "into piece",I don't understand.


Ubuntu server machine doesn't seem to be discoverable on network from another Linux machine

I've installed Ubuntu Server 18.04 on the machine I use as my home server. I've installed Samba on it so I could use it as a local file server. However, although I configured Samba and rebooted, my server doesn't show up in Networks in Files on my computer (running Ubuntu 18.04).   I used to always be able to access it from there. I can still connect to the server via Connect to server but I'm just wondering why I'm no longer able to directly access it from Networks.    A machine called UBUNTU-SERVER should show up. It also doesn't appear on my raspberry pi, just in case that's helpful.


postfix header_checks using regexp proper setup

I just can't seem to figure out why header_checks are not being evaluated. I'm on Ubuntu 12.04, postfix 2.7, dovecote, spamassasin, clamav, amavis.  I add following line to /etc/postfix/main.cf :  header_checks = regexp:/etc/postfix/header_checks   And here is header_checks :  /From: .*/ REPLACE From: noreply@valid.mydomain.com   To test out regexp :  #postmap -q "From: <werwe>" regexp:/etc/postfix/header_checks   which evaluates correctly and give me return output of :  REPLACE From: noreply@valid.mydomain.com   However, when I try to send email from commandline or from php webpage, postfix will not replace the From header.  I'm stumped.    I want to rewrite all outgoing emails:  From: Confirmation Email<webapp@invalid.mydomain.com>      -- changed to --  From: Confirmation Email<noreply@valid.mydomain.com>   Any help will be greatly appreciated.


Is the behaviour of .* to include . and .. defined in LSB or POSIX or some other specification?

Is the behavior of .* to include . and .. defined in LSB or POSIX or some other specification?


How to put 3 divs next to each other in html

Here is the picture  hello im trying to put 3 divs next to each other just like in the link  (Im sorry i couldnt show the picture apparently my rank is too low to display the picture)  if you cant see the picture, im trying to display 3 divs inline with each other and does not resize even if you change the size of the browser how do i go about it? Thank you for your time  this is my code     body{  } #wrap{     width:auto;  margin:0 auto;   border:0px solid;  height:200px;   display:block;    } #one {   width:40%;   float:left;   background:red; }  #two {  background:yellow;  }  #three {   width:40%;   float:inherit;    background:blue; }

 BREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAK

 BREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAK

BREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAKBREAK


What script to use if I want to examine .bashrc file. In other words, to know if it is in use or not?

Does anyone know if it is possible to use a script for printing to the screen that .bashrc is in use or not.  I found .bashrc under home directory, but is there any script which can print the status of the file, like it is open, in use and etc.


Are the endpoints of the domain of a function counted as critical points?

Do the end points of a domain come under critical points? I know we say critical point is a point where the derivative is zero or the derivative doesn't exist.   For example: $$ f:[0,\pi] \to [-1,1], f(x) = \sin(x).$$  Does this have 1 critical point or 3 critical points (0 and $\pi$ included) ?  NOTE: This question is limited to only Single Variable Functions.  Although I really would love an insight to this for Multivariable as well.


In C++, what guarantees are there, if any, for two types T1 and T2 so that  sizeof(T1*) == sizeof(T2*)   will always be true? It's not guaranteed, for example, that char* and int* will be the same size on all systems.


Making an image with a transparent background

I do not know what is the official term for such images, but if I make an image in TikZ or pstricks then I want it to have no background; for example I might post it on a webpage with a different background than white, then it should blend in nicely.   I have seen a couple of images in wikipedia that are like this (), and they show up on image viewers to have some kind of a checkered background.


Cars have proved helpful to human beings. Cars have been proved helpful to human beings.   What are the differences between them?


I am a first grade teacher to a selectively mute girl, age 6.  She has been in my class since August 2014 and will not speak to any adults at school.  Occasionally she will whisper to me, but usually only nods as a response.  She will speak to kids in the class at recess.  At times, she seems terrified and chews on her fingers when she is nervous.  She also moves robotically through the school, shuffling around slowly and making no eye contact.  How can I help her?


I have calculated data from a computer simulation for a wireless network as shown below, here P is an algorithm tuning parameter, 'C' and 'D' are % decrease in collisions and % decrease in delay respectively. Frame lenght is 20%. P   C   D    Frame Lenght 0.3 184 249   20% 0.4 137 241   20%  0.5 168 230   20% 0.6 221 210   20% 0.7 148 219   20% 0.8 80  219   20%  I need to derive a cost function to provide an output (value of 'P') based on 'C', 'D' and Frame Length. The value of 'P' should be such that max % decrease in 'C' and 'D' is obtained, but 'C' has priority.  In this case 'P'=0.6 should be the output of the cost function. I also need to perform simulations by varying Frame length like 40% and 80% to obtain optimum value of 'P' from cost function that provides high %decrease in 'C' . Therefore is it also possible to use Frame length in cost function. Can any one tell how can I derive cost function for 'P'.


Calculation of double integral for the dedicatied region D

Find the double integral which represents the intersection of the cylinder and the sphere happened over  $$D:\{(x,y):\, -1\le x\le 1 \,\,\text{ and }\,\, 1-\sqrt{1-x^2} \le y\le 1+\sqrt{1-x^2}\, \}$$  The integral is  $$2\iint_D \sqrt{f_x^2+f_y^2+1}\, d\sigma$$  where $f(x,y) = \sqrt{4-x^2-y^2}$. First of all I calculated $f_x^2=\frac{x^2}{-x^2-y^2+4}$, $f_y^2=\frac{y^2}{-x^2-y^2+4}$. However, I am not sure how to take into account the region $D$. Any help to finilize calculation are welcomed.


How many physical quantities could be computed in a generic Quantum Field Theory?

Given a generic Quantum Field Theory, I am able to compute only two physical quantities: the decay rate of particles and cross sections of interactions. Does exist other physical observables which can be computed and are physical relevant?


Can I say      Let we do it   Instead of     Let's do it   One more question. Because let's is a contraction of let us, so can 'us' be a subject? Isn't 'us' only used as object?


How to shade cells in a commutative diagram

I would like to draw the following kind of diagrams in tikz:   My solution so far is:  \documentclass{article} \usepackage{pgfplots} \usepgfplotslibrary{fillbetween} \usetikzlibrary{intersections} \pgfplotsset{compat=1.14} \newcommand{\mstate}{(s,s,s)}  \begin{document}  \pgfdeclarelayer{bg} \pgfsetlayers{bg,main} \usetikzlibrary{decorations.pathreplacing,decorations.markings}  \definecolor{pamblue}{rgb}{.78, .90, .98}  \begin{tikzpicture}[scale=2]   \tikzset{     vertex/.style={text centered, fill, color=black, circle, inner sep=.7pt},     state/.style={},     every label/.style={label distance=-2pt}   }    \node[vertex, draw] (a) at (-1,0) [label=left:$\mstate_1$] {};   \node[vertex, draw] (d) at (1,0) [label=right:$\mstate_3$] {};   \node[vertex, draw] (b) at (0,1) [label=above:$\mstate_2'$] {};   \node[vertex, draw] (c) at (0,-1) [label=below:$\mstate_2$] {};    \begin{pgfonlayer}{bg}     \fill[pamblue] (a.center) to [bend left] (b.center)                    to [bend left] (d.center)                    to [bend left] (c.center)                    to [bend left] (a.center);   \end{pgfonlayer}   \begin{scope}[thick,decoration={        markings,        mark=at position 0.5 with {\arrow{>}}}      ]       \draw[postaction={decorate}] (a.center) to [bend left] (b.center);      \draw[postaction={decorate}] (b.center) to [bend left] (d.center);      \draw[postaction={decorate}] (a.center) to [bend right] (c.center);      \draw[postaction={decorate}] (c.center) to [bend right] (d.center);    \end{scope} \end{tikzpicture} \end{document}   However I would like to use this kind of diagrams many times in my document... I there a way to draw the arrows first, and then re-use them to define the shaded area?


Which Python memory profiler is recommended?

I want to know the memory usage of my Python application and specifically want to know what code blocks/portions or objects are consuming most memory. Google search shows a commercial one is  (Windows only).  And open source ones are  and .  I haven't tried anyone, so I wanted to know which one is the best considering:   Gives most details. I have to do least or no changes to my code.


Why do I get this runtime ERROR?  Exception in thread "main" java.lang.NullPointerException at venzo.MVC_Controller.actionListenerMeth(MVC_Controller.java:40) at venzo.MVC_Controller.(MVC_Controller.java:15)  Here is my code: import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.PrintStream;  public class MVC_Controller implements ActionListener { MVC_Model model; MVC_View view; public MVC_Controller(MVC_View v,MVC_Model m) { model=m; view=v; actionListenerMeth(this);//add action listener to the Button }  @Override public void actionPerformed(ActionEvent arg0) { try {    //retrieve the input from View    String a=view.username.getText();    String b=view.password.getText();     //call add method    String result=model.login_meth(a,b);     //display result in View(UI)     view.result_lb.setText(""+result); }  catch(Exception ee) { ee.printStackTrace(); }   }  public void actionListenerMeth(ActionListener ae)    {       view.login_bt.addActionListener(ae);    } }


How can I prove that if $ac>bc$ and $c>0$, then $a>b$ without division? Or Should I prove it by contrapositive?