I am painting the room in our basement that contains the electrical panel. I think it would look a lot better to paint the panel the same color as the wall, instead of the plain grey-green metal. I've heard that it's against code (USA) to paint the electrical panels, but I wasn't sure why. It's my own house and we don't rent it out, so I'm not too worried about the code violation.  Is there any reason why I shouldn't paint the electrical panel, and are there any problems I should watch for when painting it? The panel is brand new with no rust, so I will likely need to roughen the surface with sandpaper first.

I would like to paint the cover and door of my flush mount load center to match the wall color more closely. The manufacturer does offer a white in addition to the standard grey cover, but it is hard to find and ridiculously overprice.   Only the outside would be painted, so all labels on the inside would not get any overspray or anything else on them and would remain intact. I would also of course first remove the hinges and locking mechanism to ensure their operation wouldn't be affected.   Is this OK to do per NEC 2017 and with typical load center UL listings? Let me know if specifics are needed to answer.


I'll be staying in Berlin for one month and I have an unlocked iPhone (GSM) that I'd like to use while I'm here. What are my choices for SIM cards and packages that include data?

Next month I am traveling to country X, where I would need Y minutes of calls, Z text messages and most importantly Q megabytes of data. How can I find the cheapest/most reliable SIM card for my needs?


I have a game which uses a timer. I want to make it so the user can select a button and it pauses that timer and when they click that button again, it will unpause that timer. I already have code to the timer, just need some help with the pausing the timer and the dual-action button.  Code to timer:  -(void)timerDelay {      mainInt = 36;      timer = [NSTimer scheduledTimerWithTimeInterval:1.0                                          target:self                                        selector:@selector(countDownDuration)                                        userInfo:nil                                         repeats:YES]; }  -(void)countDownDuration {      MainInt -= 1;      seconds.text = [NSString stringWithFormat:@"%i", MainInt];     if (MainInt <= 0) {         [timer invalidate];         [self delay];     }  }

I'm using an NSTimer to do some rendering in an OpenGL based iPhone app.  I have a modal dialog box that pops up and requests user input.  While the user is providing input I'd like to "pause" i.e. something like this:  [myNSTimer pause];   I'm using this syntax because I've been doing things like:  [myNSTimer invalidate];   when I want it to stop.  How can I programmatically pause the NSTimer?


I have Ubuntu loaded on a hard drive it is the only thing on the drive I dont have windows loaded or have a windows disk how can I remove Ubuntu or format the drive.  If you have the time I would appreciate a reply to my email Thank You In Advance Roger

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


, but it was put on ice eight years ago and appears to have been kan-bandoned by SE. I want to filter certain sites (e.g., Politics) from my HNQ.

I was going to make a filter for the "" by excluding some sites from it.  I noticed  which talks about "negative filtering" but does not explain how one can do it or if it is possible.  There does not seem to be a way to do this, though.  On the filter page, my only options are:  So how can I do "All sites except [list]"? It would also be nice if this could include similar functionality with the meta checkbox.  Something like "All main & meta sites except..."


Drugs in this class are Prozac(fluoxetine), Zoloft (setraline), Lexapro (escitalopram) and many more. I've had the experience of using Prozac and Zoloft. I found that within two weeks, my ability to get an erection was nearly gone. I've heard that other indidivuals who tried to have sex/masturbate on these drugs found that their orgasms were 'dulled' and just not as pleasant as when not on the drug. There is a theory I've read about of serotonin being the "breaks" in sexual drive, and dopamine being the "gas/accelerator". Could someone explain if this is the reason?

I am adding to the beginning of this question the caveat that I am not asking this for me or anyone in particular.  I am studying counselling and have come across this issue whilst researching and it lead me to try and work out what options are available when helping those who come to me with sexual dysfunctions. Whilst Higgins, et al. (2010) highlights the problem with sexual dysfunctions whilst prescribed Selective Serotonin Reuptake Inhibitors (SSRIs) and Serotonin Norepinephrine Reuptake Inhibitors (SNRIs), I am going to split my question in parts for easier answering. This question will be concerning .  Sexual dysfunction is a common side effect of antidepressants and can have significant impact on the person’s quality of life, relationships, mental health, and recovery. Higgins et al points out that  The sexual problems reported range from decreased sexual desire, decreased sexual excitement, diminished or delayed orgasm, to erection or delayed ejaculation problems. There are a number of case reports of sexual side effects, such as priapism, painful ejaculation, penile anesthesia, loss of sensation in the vagina and nipples, persistent genital arousal and nonpuerperal lactation in women.  The addition of sildenafil (Viagra) will improve erectile dysfunction in men (Rudkin, et al., 2004)  but what about anorgasmia? The side effects don't seem to be rare from my research online and many patients are not even told to look for it. If a man has premature ejaculations, the side effect of anorgasmia usually helps that nicely, but if it already takes long enough, it might take even longer. Higgins et al. also points out that with adjunct treatment (introducing another drug to counteract side-effects), clients treated with bupropion SR showed a significantly greater improvement in desire and frequency of engaging in sexual activity; and in a systematic review of medication switching strategies for managing sexual dysfunction, switching from SSRI to non-SSRI antidepressants may produce varying individual responses, and although the sexual dysfunction may recede, the depressive illness may reassert itself. So has there been any studies which anyone knows of which definitively help with the problem of anorgasmia whilst taking SSRI or SNRI medication?  References Higgins, A., Nash, M., and Lynch, A. M. (2010). Antidepressant-associated sexual dysfunction: impact, effects, and treatment In:  Drug, Healthcare and Patient Safety Vol.2: pp 141-150PMCID:  DOI:  Rudkin L, Taylor M, Hawton K. (2004). Strategies for managing sexual dysfunction induced by antidepressant medication In: Cochrane Database of Systematic reviews 18(4): pp 1465-1858PMID:   DOI:


I am running Ubuntu 14.04 server with ISPConfig installed and etc.  Latest I saw a suspicious home directory named ub. It has some encrypted files in it. Also I found /run/shm/ecryptfs-ub-Private is owned by this user.   I changed password of the user and ssh login to the account. Just saw encrypted files. Later on I deleted the user ub and group ub. But I am not sure if I have done the right thing.   Does it might be a auto generated user and group by some services? Or is it really suspicious?   I did not see any processes run by this user by top command.

This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault.


I'm new to LaTeX; I'm using IEEE format. How can I effectively add Java code snippets in one full-width column?

Not too well up on LaTeX, but I want to use the listings package for listings spanning a two-column format.  Unfortunately, asterisks cannot save me (like for figures/tables); this doesn't work:  \begin{lstlisting*} ... \end{lstlisting*}   I've Googled about, but got no satisfactory answer, and getting a bit desperate. Should be simple... hope I'm not missing something stupid. Perhaps it's possible to embed this into a separate spanning float?  Help?  (P.S., I've posted this on the main stackoverflow site as well...  if this is considered a duplicate, please comment and I'll remove the other. Getting a bit desperate fighting a deadline.)


I am trying to make presentation in Beamer and add 2 vides on one slide. Here comes the problem: I want to start them immediately after opening the slide using autoPlay=true, but only one video starts and the rest of them need to be to started with mouse click.   Here's my code:  \begin{frame}    \begin{columns}     \begin{column}{5.5cm}         \begin{figure}                               \centering               \includemedia[label=vidA,                           addresource=Video1/pohyb1.mp4,                           activate=pageopen,width=4cm,height=3cm,                           flashvars={                           source=Video/pohyb1.mp4&autoPlay=true&loop=true                           }]{}{VPlayer.swf}         \end{figure}                 \end{column}      \begin{column}{5.5cm}         \begin{figure}                               \centering               \includemedia[label=video2,                          addresource=Video/pohyb2.mp4,                          activate=pageopen,width=4cm, height=3cm,                          flashvars={                          source=Video/pohyb2.mp4&autoPlay=true&loop=true                          }]{}{VPlayer.swf}         \end{figure}                                                         \end{column} \end{columns}    \end{frame}   Do someone know, why it doesn't work and how to fix it? Is it possible to do it witout using buttons?  Tomas

I need to play two videos at once on a slide - it is pretty straightforward to show a single video, however, if I want to show two videos on a single slide simultaneously, it doesn't work - only one video is running.  \frame {   \frametitle{Motivation}   \begin{columns}     \column{.5\textwidth}        Video1        \movie[label=show1, height=4cm, width=5cm,poster,autostart]{}{results1.avi}     \column{.5\textwidth}       Video2       \movie[label=show2, height=4cm, width=5cm,poster,autostart]{}{results2.avi}   \end{columns} }   Any suggestions? thx...    alright, I have media9, however, I'm not able to play any video  \includemedia[   addresource=results.avi,   width=5cm, height=4cm,   flashvars={     source=results.avi    &autoPlay=true   } ]{\fbox{Play}}{VPlayer.swf}   results.avi is in the same folder as slides.tex, slides.pdf  what's wrong?  is there any simple example? I've already read the package documentation, however there are so many options, that I really don't need... Which player should I use?    alright, it seems that .flv does the job, however I have few more questions?   How can I play it in a loop (add &loop=true below autoPlay doesn't work)? How can I show some menubar (play/pause, ...) - it isn't necessary to add the buttons into the pdf, show play/pause, etc. on hover is enough (e.g. similar behavior as flash player, etc.)


I'm using lockscreen that came with Ubuntu Gnome. It's called GDM. can I replace it with LightDM or lockscreen that comes with KDE , LXDE or others?  what are the names of these packages? how to install them?    If that's too broad then    How can I just install LightDM without affecting my Ubuntu Gnome Installation? How can I uninstall it and get GDM  back if I don't like the experience?

What is gdm3, kdm, lightdm? How to install and remove and repair them? Can anyone explain in details?


I'm writing a java program that is like a physics lesson:  import javax.swing.JOptionPane; public class PhysicsClass {       public static void main(String[] args) {         int g = -1;         while (g<0){             String input = JOptionPane.showInputDialog("Welcome! What's your name? ");             if(input.length() > 0){                 g++;              System.out.println("Great! Lets begin.");             }             else{                  System.out.println(" ok then.");                 System.exit(0);             }         }           String[] firstChoice = {"Kinematics", "Dynamics", "Impulse/Momentum", "Energy/Power"};              JOptionPane.showInputDialog(null,                     "Which one of these Topic would you like to start with?",                      "Please pick a topic to start with",                     JOptionPane.INFORMATION_MESSAGE, null,                     firstChoice, firstChoice[0]);               int i = 0;             while (i<0){             String Choice = "";             if (Choice == firstChoice[0]){              Kinematics.IntroToKinematics();              i++;              }             else if (Choice == firstChoice[1]){                 Dynamics.DynamicsIntro();              i++;             }             else if (Choice == firstChoice[2]){                 ImpulseAndMomentum.ImpulseAndMomentumIntro();              i++;             }             else if (Choice == firstChoice[3]){                 EnergyAndPower.EnergyAndPowerIntro();              i++;             }             else{                 System.out.println("Please pick one.");             }             }   I want whatever choice you pick in the first choice array to then go to the respected class. So if I choose kinematics, it will call on the kinematics class, for which the first few lines are:  import javax.swing.JOptionPane;  public class Kinematics {      public static void IntroToKinematics() {         JOptionPane.showInternalMessageDialog(null, "Kinematics is one of the most basic"                 + " ideas of Newtonian Physics. It encompasses: speed, distance, time"                 + " displacement, acceleration and many key base concepts that form the the "                 + " foundation for most physic subjects. It will poke its head in everything"                 + "we cover.", "intro", JOptionPane.INFORMATION_MESSAGE);     }  }   It doesn't give me any errors but when I choose one of the strings from the array, it doesn't do anything. I think it might have something to do with the if else statements I used. Thanks for any and all help, I'm still relatively new to Java so any tips would be appreciated.

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


These gifts are for those who don't have enough amount to buy it.  These gifts are for whom who don't have enough amount to buy it.  Which one is correct ? And why

Many times, I've been asked the difference between "who" and "whom". I myself know the difference, but it is hard to explain to others. What is the easiest way to explain it to those with a basic understanding of English? A mnemonic (if possible) would help.


I'm trying to understand the scope of variables in javascript when it comes to web-pages. For example, if I have let's say an index.html and I define two scripts  script One  var x = 2   script Two  var y = x   Would this work? Do both scripts work from a global pool of variables or are they each given their own space to work in?

What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?


I'm currently making a Rook chess piece on Blender. I've been trying to use the boolean modifier to subtract a part of the chess piece. The first application of the boolean modifier worked. However, as I was on my second attempt, I got the message "Cannot execute boolean operation".    I've already searched online for any possible solutions, but nothing seemed to have worked with mine. Could anyone help me with this?    Thanks in advance.

I'm trying to model an , but it's not going so well when it comes to the magazine of the weapon.   Next to the magazine is a mesh. I want to cut holes in the mag with that mesh. But the magazine just goes invisible or connects with the mesh when trying to execute the Boolean Modifier. I have tested to invert the normals and some other stuff, but it isn't working.


I am a beginner to C and am trying to get more familiar with arrays and the concept of manual memory allocation by doing simple exercises. I have been reading all the (many) questions on SO regarding the "Abort trap: 6" error, and though I've learned a lot, they haven't solved my issue.  Similar threads I checked out include:      ...and more, all slightly different than what I'm dealing with.  The problem seems to be that I'm writing to memory I don't have access to, but I thought that by making the array big enough when I declare it, I would avoid this issue. Evidently I was wrong!  The code is supposed to simply create an array that holds 100 ints (in positions 0 to 99), and assign each one the value of its position (i.e. the first item in the array should be the int 0, and the last should be the int 99). When I run this code, I get all the example printf statements as expected – with the correct values in them – but it's followed by a line saying "Abort trap: 6".  Could someone take a look at my code and tell me what I'm doing wrong to cause this error?  #include <stdio.h>   int main(void) {     int obvs[101];      for (int i = 0; i < sizeof(obvs); i++)     {         obvs[i] = i;     }      printf("obvs[9] = %i\n", obvs[9]);     printf("obvs[13] = %i\n", obvs[13]);     printf("obvs[37] = %i\n", obvs[37]);     printf("obvs[74] = %i\n", obvs[74]);     printf("obvs[99] = %i\n", obvs[99]);      return 0; }

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


I was wondering if there is any package or a simple snippet I could use to get the kind of corners shown in the picture for theorems and definitions.  Thanks in advance.


Let $J$ be a matrix of order $101\times 101$ which each entry is 1 and suppose $I_{101}$ is identity  matrix of order $101\times 101$. The question is : what should be the determinant value of $J-I$ ?  This one I trying last one week but in vain. What I find is $J-I$ is a matrix which leading diagonal entries are all zero and all other entries as 1. Some thing like this  $$J-I=\left(\begin{array}{ccc}      0 & 1 & 1 &\cdots & 1 \\      1 & 0 & 1 &\cdots & 1 \\      1 & 1 & 0 &\cdots & 1 \\       & \cdots &  & \cdots  &  \\      1 & 1 & 1 & \cdots & 0 &   \end{array}\right)$$  Its a  Toeplitz matrix if I am not wrong. In websites, I have searched how to get the determinant values of such matrix but what I have got is very very complicated idea and I do believe that the solution strategy for this problem would not be that much difficult. But then how to figure it out ?   How to compute its determinant ?

How do I calculate the determinant of the following $n\times n$ matrices  $$\begin {bmatrix} 0 & 1 & \ldots & 1 \\ 1 & 0 & \ldots & 1 \\ \vdots & \vdots & \ddots & \vdots \\ 1 & 1 & ... & 0 \end {bmatrix}$$  and the same matrix but one of columns replaced only with $1$s?  In the  above matrix all off-diagonal elements are $1$ and diagonal elements are $0$.


I'm having a hard time figuring out why my expression is unrecognised. My html element looks like that:
(...)
  I'm trying to access that with expression: $('.' + $(elemClicked).attr("path")+ '-child');  expression: console.log($(elemClicked).attr("path"))  results with:  beampower_01/target_surface_01  The error I receive is:  Uncaught Error: Syntax error, unrecognized expression: .beampower_01/target_surface_01-child  Where is the error?

What characters/symbols are allowed within the CSS class selectors? I know that the following characters are invalid, but what characters are valid?  ~ ! @ $ % ^ & * ( ) + = , . / ' ; : " ? > < [ ] \ { } | ` #


What does this E symbol mean?     It is from the .

I am reading Goodfellow's original  on GANs.  What I struggle to understand is his notation of the subscript in expected values.  $\mathbb{E}_{\boldsymbol{x} \sim p_{data}(\boldsymbol{x})}$ ....  If I understand it correctly then $\boldsymbol{x}$ is a realization of some random variable $\mathbf{x}$, but how can there be an expectation wrt. $\boldsymbol{x}$?  Or is $\boldsymbol{x}$ a random variable?  Thank you.  Edit: I do not think this is duplicate, as the referenced question does not answer what $\boldsymbol{x}$ means.


Show that  the  alternating  group  $A_4$  of all even permutations of $S_4$ does not contain a  subgroup of order $6$.   For me am thinking to write all elements of $A_4$ and trying to find every cyclic subgroup generated by each element of $A_4$, then I have to check whether there exist such a subgroup or not! This is a long procedure for me, I ask if there is a short way to do this.


I am computer scientist and not a physicist, but I really like physics One question popped into my mind recently about gravity. General theory of relativity describes gravity not as a force but as a curvature of space-time. So if gravity is not a force but just illusion caused by curvature of space-time then why do we consider it to be a fundamental force And why are searching for force carrying particle for gravity if it is not a force?

As far as I’m aware, gravity in general relativity arises from the curvature of spacetime and is equivalent to an accelerated reference frame. Objects accelerating in a gravitational field are in fact inertial and are moving through geodesics in spacetime.  So it could be said then that it is not really a force, but a pseudoforce much like the Coriolis effect. If so, why is it necessary to quantise gravity with a gauge boson, the graviton? And why is it necessary to unify it with the other forces?


The Elder Scrolls V: Skyrim, I bought a horse in Whiterun because I needed to go Ivarstead and didn't want to go on foot. While in Ivarstead, I was arrested in an inn.  I paid my bounty and ended up in Riften, and my horse is no longer with me. I have no clue where it is now. Is still at Ivarstead or somewhere else?

Lately, I've been finding my horse to be more of an annoyance to use than an asset to have.  But, maybe I'm missing something that could resolve this - or maybe it's the game that's missing this.  I'm hoping someone here can help.  First, there's the bit about not being able to fight while on horseback.  Okay, I'll acknowledge that's a game limitation and we have to live with it.  But, it's still no less annoying and actually leads in to the problem I'm really asking about here.  There's often times where I'll get off my horse to do battle, or perhaps explore something in the area that's caught my eye.  Then, in the course of natural events, I'll shortly find:   I've wandered too far from my horse, in too many odd directions, to quickly find my way back to it. OR   Something's attacked or otherwise spooked the horse into wandering from where I'd left it.     In either case, I'm then left out in the middle of nowhere (a description that probably fits about 85% of the land area in Skyrim) and often times I was well on my way to somewhere that I don't have a nearby Fast Travel location I can jump off from to get to.  My options here are:   Wander around aimlessly and hope I stumble across my horse. OR Walk the rest of the way to my destination. OR Fast Travel to the nearest available location (which may not really be so near) and start my trip over again with my horse, who's then magically teleported nearby.   Two much more ideal options would be:   Whistle for my horse to come to me.  (Must be within a certain range of the horse.) OR   Add a horse tracker to my compass.   Are these features that I'm missing, or features that the game is missing?  Does anyone have other suggestions as to how I can avoid these situations, or better recover from them?


I have one single component which will make two different callouts and append data to two sections. I want these two-component to load asynchronously so that whichever data comes the first will load first. But it is now working as expected when I checked network tab in chrome console callouts is concatenated to each other. doInit : {   helper.callout1();//event based callout   helper.callout2();//event based callout }

This question is the extension of .  While taking into consideration for LWC implementations, that we do not have equivalent of , I discovered that either imperative or wired apex calls are all invoked parallel and separately - this means there is absolutely no boxcarring. I was testing this in dev org which is still in winter 20 release.  Does this mean that salesforce has released an update which removes boxcarring from LWC? I did not find any documentation which says so.    Added the feedback from salesforce core team in answer


im trying to create a type of conveyor belts for minecraft, therefore im using command like   execute as @e[type=minecraft:armor_stand] if block ~.4 ~-1 ~-.4 minecraft:carved_pumpkin[facing=south] if block ~-.4 ~-1 ~-.4 minecraft:carved_pumpkin[facing=south] run tp ~ ~ ~.1  With this command I'm moving the armorstand (in this case) south, where it gets catched by another commandblock for another direction. Although I want to queue them up, when there is already a armor stand in front. For example when my conveyor belt ends or there is a wall, they should queue up. I thought this could be done by adding the following:  unless entity @e[type=minecraft:armor_stand,distance=1]  As far as I understood this, I thought it'll run the command above, unless there is an armor stand in a radius of 1 block. It doesn't seem to work though. Am I missing something or just didn't use the unless part correctly?

Recently, Minecraft had removed the /testfor command, which broke these sets of commands that I was trying to execute today.  /testfor @p[r=10] {SelectedItem:{id:"minecraft:feather",tag:{display:{Name:"Roc's Feather",Lore:[Jump higher using this feather.]}}}}`   Now normally, from Minecraft 1.13 onwards, the new /execute command would've been the replacement for the /testfor command, but as I soon found out, the command failed to detect my Roc's Feather and thus could not execute an /effect command that gave me a Jump Boost, for 1 second, at level 3.  I tried remaking my feather from scratch with this command here:  /give @p minecraft:feather{display:{Name:"{\"text\":\"Roc's Feather\",\"color\":\"light_purple\",\"bold\":true,\"italic\":true,\"underlined\":false,\"strikethrough\":false,\"obfuscated\":false}",Lore:["{\"text\":\"Jump higher using this feather.\",\"bold\":false,\"italic\":true,\"underlined\":false,\"strikethrough\":false,\"obfuscated\":false}"]}} 1   But the execute command I placed did not detect this type of uniqueness.  /execute if entity @p[distance=10,nbt={SelectedItem:{id:"minecraft:feather",Count:1b,tag:{display:{Name:"{\"text\":\"Roc's Feather\",\"color\":\"light_purple\",\"bold\":true,\"italic\":true,\"underlined\":false,\"strikethrough\":false,\"obfuscated\":false}",Lore:["{\"text\":\"Jump higher using this feather.\",\"bold\":false,\"italic\":true,\"underlined\":false,\"strikethrough\":false,\"obfuscated\":false}"]}}}}] run effect give @s minecraft:jump_boost 1 3 true   Can somebody tell me what I'm doing wrong here because I cannot even tell what's the issue.


It is possible to flag a post as “rude or abusive” (formerly “offensive”).   What is the effect of the “rude or abusive” flag? When should the “rude or abusive” flag be used? Is there any way to remove “rude or abusive” flags?      For more information on flagging, see "" in the .     Related:

When flagging, there are two special case options: spam and rude or abusive.   What is spam, and when should I flag content as such? What is considered offensive, rude or abusive content? How does the spam flag differ from the rude or abusive flag? What is the effect of these special flags? When are these flags removed?


Is there a way to connect Azure to AWS with Site-to-site VPN ?  All guides and resources I have found in internet so far are using a VM that runs ipsec software (openswan/strongswan/RRAS), but I would like to explore native options first as that seem more elegant.  Note: "" may be seen as a duplicate, but I don't feel there is a satisfactory answer there. I could not get connection working using suggestions in that thread.

As I found solutions on making site-to-site VPN between Azure and AWS using a software VPN server, I'm asking myself if it's possible to connect the VPN gateways (Azure VNET / AWS VPC) directly.  Is there a limitation that forbids it ?


Why is the phrase "under the sea" constructed the way it is? Shouldn't it be "in the sea?" Does "sea" refer to the surface of the ocean in this case? Or is it just one of those quirks in English?

The dictionaries do not provide good enough answers for the right use of these prepositions in the following context:   The man is IN  the water. The man is under the water. The man is below the water.   Besides, which of one of these it is correct and why?   A: The boat is ON the water. B: The boat is IN the water.


I've searched the web for help on this, I found similar questions, but not exactly what I'm looking for. Hopefully someone can help.  The following code is in my theme's archive.php file:   <?php     the_archive_title( '
', '
' );     the_archive_description( '
', '
' ); ?>    the_archive_title section of the code is causing the following text to appear on my WP page:    Archives: Projects   It's formatted a certain way where the text is large and bold. It looks really nice however, I want to change the value of this. I want it to display the following instead:   Viewing All Offices   I've literally have tried to do everything. I'm a bit of a noob at WP, but this is my first time doing this. I could not figure how how to change the text value to that.   If someone can please help me out, that would be great. Looking for the most cleanest and secure solution.

In my child theme's archive.php, I have the following code for displaying the title of my archive pages:      <?php         the_archive_title( '
', '
' );     ?>   But that displays my titles as "Category: Category Title" instead of simply the title without the prepended "Category: ".  My first instinct was to override get_the_archive_title() from wp-includes/general-template.  But from what I've read, apparently I'm not supposed to ever alter wordpress core stuff, even with overrides from a child theme.  So what is the best-practice way to control the output of the_archive_title()?


I'm new to this site. I'm an university student in korea and I major in engineering. Recently, I've been quite interested in calculating integration. So nowadays as my hobby, I seek many interesting problems via my colleague's question, many kind of mathematical competition(putnam), or something else. I wonder if there are any books that listed lots of facts(technics...) about integration, including many challenging problems. Especially, One of my friends recommended me a book called 'inside interesting integral'. But there is few way I can get this book. Would you mind recommending similar books, or some sites? Thanks:)

It's coming up to Christmas so I can ask to have all the books I can't afford from begrudging relatives! I'm really interested (mainly from looking at some of the answers cleo and other fantastic users!) in being able to approach integrals from a variety of different ways and learning how to tackle  non-elementary integrals.   I've gone over a lot of the standard techniques in my undergrad and this is just for a hobby, so don't want anything too 'heavy', just great explanations and a lot of questions to tackle. So far I've found Irresistible Integrals: Symbolics, Analysis and Experiments in the Evaluation of Integrals. Many thanks.


Suppose we have a matrix A. We have decomposed A into a sum of the identity matrix and the product of two column(G) and row(H) matrices. In general, how can we calculate $A^{-1}$?

I wrote a proof for a problem in my textbook. Can someone please verify it or offer suggestions for improvement?  $\textbf{Problem:} $If $u$ and $v$ are $m$-vectors, the matrix $A = I+uv^*$ is known as the rank-one perturbation of the identity. Show that if $A$ is nonsingular, then its inverse has the form $A^{-1}=I+\alpha u v^*$ for some scalar $\alpha$, and give an expression for $\alpha$. For which $u$ and $v$ is $A$ singular? If it is singular, what is null($A$)?  Suppose $A$ is singular. Then, there exists a nonzero $x \in \mathbb{C}^m$ such that $Ax=0$. That is, $(I+uv^*)x=0$. This implies that $u(v^*x) = -x$. For this to be true, $x$ has to be a multiple of $u$. So, let $x = c_1u$ for some nonzero scalar $c_1$. Then, $Ax = c_1u(v^*u) = -c_1u$. Note that $u = 0$ if $v^*u = 0$. Therefore, $A$ is singular if and only if $v^*u \neq 0$, and null($A$) $=$ span($u$) if it is singular.  Now, set $\alpha = -1$. By the reasoning in the above paragraph, $v^*u = 0$ for $A$ to be invertible. Now, $(I+uv^*)(I-uv^*) = I - uv^*uv^* = I - u(v^*u)v^* = I$. Therefore, $A^{-1} = I - uv^*$.


I wish to show that if the topological space X has a countable base, then every base contains a countable base. I know if if a space has a countable base, then it has countable dense subset but they are not the same statements apparently~

If the topology of a space  has a countable base, then each base contains a countable subfamily which is also a base.


In Star Trek - TNG S6E20 The Chase, the apparently first humanoid species in the Galaxy from around 4.5 Billion years ago appear, travel the galaxy and spread their genetic material on terraformed planets. In the episode, it is stated that they were the only humanoids and seeded genetic information for new humanoids to evolve on some of the primordial worlds they discovered. The recording asserts that no other humanoids existed when these seeders existed and that they specifically seeded humanoids like themselves (or at least raw material which would eventually evolve into a humanoid species with very similar co-compatible DNA)  We also know that this original species was obviously warp capable, and others likely existed at that time (such as the Crystalline Entity, and likely the Founders). I'm not asking about the first warp-capable beings in the universe. This is about a sort of "space race" between the humanoids these guys spread around - a limited set of species.  This has nothing at all to do with "inventing" warp technology either - not interested in the smartest race. If someone stole the technology from the Dominion, they won the race. If someone rides around on saddles on a Crystalline entity first, they won the race. It's about which species evolved into a humanoid and then knocked on a neighbor's door first, no matter how they got there.  The answer will be based on in-universe current information. The exact number of different species which evolved is unknown and all the different species created this way are unknown. But from what we DO know, which species was warping around the galaxy first?    Disambiguation   This question specifically does not want speculation about ancient civilizations before The Chase founders (who traveled the galaxy by some arbitrary and undocumented means.) . (Some races steal technology which leads to advances without invention, & sometimes technology travels back through time in a temporal incursion. Those were excluded from the other question but are all valid contenders here. This question is NOT asking about the entire galaxy. Many species have traveled at warp for a very long time before humanoids did (The Founders have been . But the Founders are not in this race. Did they give warp tech to a humanoid species? Now THAT is relevant. This question is NOT asking for political or ethnic collectives like“The Borg” or “United Federation of Planets.” This is about a species - distinct genetically identifiable and who share a common ancestor via this "seeding" process. In Star Trek time travel sometimes brings things into existence without ever inventing them . No one on earth invented the transparent aluminum used in 1986 San Francisco which spontaneously arose in a predestination paradox.

Humans look like late member of Warp Drive community. Klingons were capable of interstellar travel from the time of Kahless. Vulcans were in contact with Andorians from ancient times (ST: Enterprise).  Which one first invented warp capabilities: Klingons or Vulcans? Or, others?


I've often written sentences like these:   The structure and linearity here is [are?]what is [are?] stifling creativity. Compare: The pencil and pen are in the room. [Where is seems wrong] The project is based on chapter information and book category, which is [are?] useless when guiding you toward the actual objectives. There is [are?] a table and chair in the room. Compare: A table and chair are in the room   Is the is appropriate in these sentences? Especially the first one; I don't quite get the rules at play here, so am only going by what sounds right.

It seems I put a   Bounty assigned by outside party, two lengthy, reference-citing answers, one "-1" (awarded the bounty), one "-2", two others scored "0" and "-2" respectively, the answers suggesting one or the other is correct, 73 comments and no consensus so far - and me, as the asker, lost without a clue what to think of the answers anymore -  this is no longer "Learners' Level" question, so I thought I'd bring it here and hear what the experts have to say.    Original question:  Plurality of verb depending on plurality of list elements  An edit was suggested to my sentence.     There was were an orange, some grapes, two apples and a small pile of cherries on the plate.   In my native language plurality of the verb always follows plurality of the first element on the list. There were an orange,... sounds awkward to me, no matter what follows up. My simple solution was reordering:     There were some grapes, an orange, two apples and a small pile of cherries on the plate.   But that's not the first time I faced this situation and I'd like to know what the rules of grammar say about that - was my editor overzealous or am I trying to copy rules of my language that don't apply in English?    Someone linked a  for negatives, where the situation is more clear-cut ("There is no..."). Same applies to connection with "or" apparently, per accepted answer there. Still, nothing for "and".  It seems there is a consensus that in that if the verb goes after the list, it will be plural.     an orange, some grapes, two apples and a small pile of cherries were on the plate.   There doesn't seem to be clear consensus for:     On the plate { was | were } an orange, some grapes, two apples and a small pile of cherries   Adding more to the confusion is the abbreviated form: "There's"     One last note. In North America, at least, there is a widespread use of using a singular form like "there is" and "there was", without regard for the subject item or items, and this "there is" is often shortened to "there's":           There's three apples on the table!      Could you please clarify this mess?


When I use the command sudo apt-get update I get the following error  E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?   Whats the meaning of this?

I get this error when trying to use apt-get:  E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?     How can I fix this?


I have Ubuntu 14.x installed in my system and use Expo and Scale plugins with their edge bindings extensively. Earlier I used to use Configuration manager to set their place last in the list of active plugins so that they can work properly.  But now from few days before, they have stopped working and when I visit ConfigurationManager->apps->compiz-1->general->screen0 and click on options, the list is presented in the right hand side does not contain option active-plugins.  Any help will be appreciated.

I'm wanting to write a script to reorder the loading of compiz modules, so while using the Unity desktop, expo and scale are loaded last and the set hotcorners in those plugins, will remain active upon reboot. This can easily be done using the gui dconf-editor. However any time an update  comes through for unity, this setting is put back to the default of loading the Unity module last, and killing the hotcorners.  So needing a cli method to change the setting in dconf-editor located at org/compiz/profiles/unity/plugins/core from   ['core', 'composite', 'opengl', 'copytex', 'decor', 'regex', 'compiztoolbox', 'place', 'imgpng', 'grid', 'unitymtgrabhandles', 'resize', 'mousepoll', 'snap', 'gnomecompat', 'move', 'vpswitch', 'session', 'wall', 'animation', 'workarounds', 'expo', 'scale', 'fade', 'ezoom', 'unityshell']  to  ['core', 'composite', 'opengl', 'copytex', 'decor', 'regex', 'compiztoolbox', 'place', 'imgpng', 'grid', 'unitymtgrabhandles', 'resize', 'mousepoll', 'snap', 'gnomecompat', 'move', 'vpswitch', 'session', 'wall', 'animation', 'workarounds', 'fade', 'ezoom', 'unityshell', 'expo', 'scale']  so issuing the command  gsettings list-schemas | grep -i compiz   shows that there's no schema for what I need to change so trying instead  gsettings list-recursively | grep -i compiz   gives a much longer list, but not much useful to my project. Where have I gone wrong or is there another solution to my problem?


I have a Lenovo Yoga 730-10 with Windows pre-installed, and have been trying to install Ubuntu 16.04 as dual boot. I have followed the steps from other tutorials, but can't seem to get it to work. The steps I've followed are:   Use Rufus to configure an Ubuntu 16.04 image onto a USB to boot it up and install Ubuntu Disable Fast Start Disable Hibernation Disable safe boot from the BIOS menu screen Disable page file Shrunk down the C: drive by 20 GB (to put Ubuntu on)   Whenever I boot from the USB and start the Ubuntu installation process, there's a screen that should appear that asks if I want to boot alongside Windows 10, erase the drive and start anew, or something else. But this screen doesn't appear, and all I get is the following screen:    As I understand, this is the screen where you choose the memory you wish to allocate to the different Ubuntu partitions. Which would be fine (I could figure it out) if there were anything there! It shows me no memory spaces to even try to create a partition. I don't see the 20 GB unallocated space, let alone anything at all.  What I wish to be able to do is get the Install Ubuntu alongside Windows 10 option to appear to make it easier. But if it's easier, at least get the 20 GB unallocated space to appear and make my own partitions for Ubuntu.  Here are some details that are relevant:   BIOS mode = UEFI When using Rufus to put the image file on the USB, there are two options I've played around with: partition scheme = (MRB/GPT) and file system = (NTFS/FAT32). Using file system = NTFS, I couldn't even boot Ubuntu from the USB. If file system = FAT32, I could boot Ubuntu from the USB ran into the error above, for both choices for partition scheme. I've read somewhere that I need to make the unallocated space into a logical partition so that the Ubuntu install can find the free space (can't seem to find the post where I read this).   I've tried using a third-party software called EaseUs. But whenever I try to create a partition using the 20 gb of unallocated space, the option to change the partition type is grayed out, and I am forced to make a primary partition. I've tried this too, but it didn't work. I've also tried using Window's disk partition manager. From the unallocated space I right-click and choose "New simple volume" and follow the steps there. This also doesn't work.  In a move of desperation, I even reset Windows 10 to its factory settings (while keeping the files). My school's computer repair store said this might help, but it hasn't.

I have a dumb problem that I'm hoping that someone can point me in the right direction on. I'm trying to install ubuntu 16.04.1 on a windows10 machine. I've followed all the steps correctly (I think) all the way up to the point where I am supposed to go through the install program on the thumb drive. The first problem is that it does not show the option screen that has the partition the hard drive options (see here: ). The next page (here:) only shows that my "device for boot loader installation" is the thumb drive itself.  I'm confused. I've made sure that there is in windows a free partition with no drive assigned and every other step up till the point where I reach this dead end I've followed correctly seemingly. Can anyone tell me what's going wrong?


My friend created a clock with a command block that teleports me to one place on my singlepalyer world.   How can I disable command blocks and get unstuck from this infinite loop?

I set a command block to /tp. It was supposed to activate only if you had 0 time left, and to activate the command block with a hopper clock to keep giving it power.   But it is not checking if you have 0 time left, so it keeps teleporting me. I can't get close enough to the command block to break it, so I'm stuck in a neverending teleport loop.  Any ideas?


Say me and another identical computer are together in a local network (I am 192.168.1.5 or A, and he is 192.168.1.6 or B, for example) behind NAT (say our public IP is 5.5.5.5), and we have a torrent client running. We both have a certain file, let's call it "file.txt". An outside computer (let's call him C) wants to get a piece of the file. So he tries to make a connection (or rather requests the file or something, I'm not so sure how the protocol works) to 5.5.5.5 right? Now how does NAT know to which one of us (A or B) the packet is supposed to go? I must stress (if it wasn't clear enough already) that the outside packet (coming from C) is the first ever packet from that address, which means that neither me nor B know of the existence of C.

There are a lot of questions on , but there doesn't seem to be one that clearly states what it is and what it's used for. So:   What is port forwarding? What is it used for, and why would I need it?


In python class is an object. When I create a class like this -   class example1:     pass:   and then print the class object I get this -   print example1 __main__.example1   But when I create a class as a subclass of Object class -   class example2(object):     pass:   and then print the class object I get this -   print example2 <class '__main__.example2'>   Why is there a difference between two representations of class objects?What is exactly main in both the cases?

What is the difference between old style and new style classes in Python?  When should I use one or the other?


What is the license of an answer marked community wiki? It seems a normal answer is , which can possibly not be kept for community wiki contributions, since the author becomes the community. What's the exact status of community wiki answers license wise? Or asked otherwise, is it possible to make a post  even?

The  makes use of the term "the author."  When Bob makes a post, it's obvious Bob "owns" the content, but what happens when he checks the Community Wiki button? Does it become the property of the Stack Overflow community? Even if Bob is the only one to have edited it?  Say I were to use a Community Wiki answer for something or other — say, in a book — who would I attribute the content to?


I have this code in my python script  class Class(object):     client_id = ''      @classmethod     def get_client_id(cls):         return cls.client_id   class Service(object):      @staticmethod     def get_class():         cls_obj = Class()         cls_obj.client_id = 'this is client id'         return cls_obj  print(Service.get_class().get_client_id())   but when i run the python script, it displays empty string and not the 'this is client id'. please help

Is there any meaningful distinction between:  class A(object):     foo = 5   # some default value   vs.  class B(object):     def __init__(self, foo=5):         self.foo = foo   If you're creating a lot of instances, is there any difference in performance or space requirements for the two styles? When you read the code, do you consider the meaning of the two styles to be significantly different?


I have the following situation.  I have a Main class in which I declared the standard public static void main(String[] args) method  Into the body of this main() method I am trying to call the following printPdf() declared into the Main class:  private void printPdf() {      /** The resulting PDF file: */     String result = "D:/SOFTLAB/massive_pdf_print.pdf";      // STEP 1 Creazione del documento in formato A4 e senza margini:     com.itextpdf.text.Document document = new com.itextpdf.text.Document(com.itextpdf.text.PageSize.A4, 0, 0, 0, 0);      try {         /* STEP 2 Constructs a PdfWriter.                   document: The PdfDocument that has to be written.                   os: The OutputStream the writer has to write to          */         PdfWriter.getInstance(document, new FileOutputStream(result));          // STEP 3:         document.open();          // STEP 4:         document.add(new Paragraph("Hello World!"));          // STEP 5:         document.close();      }catch (DocumentException ex){         ex.printStackTrace();     }     catch (IOException ex){         ex.printStackTrace();     }  }   To call it I do:  this.printPdf();   but I obtain the following error message: 'mainPkg.Main.this' cannot be referenced from a static context  So I think that it happens because the main() method is a static method but how can I correctly call my printPdf() method (that is declared in the same Main class that contains the main()) ?  Tnx

The very common beginner mistake is when you try to use a class property "statically" without making an instance of that class. It leaves you with the mentioned error message:     You can either make the non static method static or make an instance of that class to use its properties.   Why? I am not asking for solutions. I would be grateful to know what is the reason behind it. The very core reason!  private java.util.List<String> someMethod(){     /* Some Code */     return someList;             }  public static void main(String[] strArgs){                // The following statement causes the error. You know why..     java.util.List<String> someList = someMethod();          }


I have 100 files with 57,816 rows each.I want to do an outer join of these files by merging on basis of the common column.  I am using R programming for this but this is very slow.  fileList <- list.files(, pattern=".txt") pm_list=lapply(fileList, read.table) merged_pm=merge_all(pm_list, by = "gene_short_name")   Is there any quick way to do this in bash? The other method that I can use is SQL but I have to create 100 tables first and then load them up before join,which is not very efficient way to do.  The number of rows are equal in each file, thats why I want to merge  based on common column and can't use cbind from R as the constants in the common column are a bit up and down in different files and not present at same location in each file.Below are two sample files.I want to join based on 'gene_short_name'  gene_short_name FPKM56  MT-TF   0.90 MT-TV   0 MT-RNR1 310.015 MT-TL1  0 MT-TM   0   File 2 is below:  gene_short_name FPKM53  MT-TF   0 MT-TV   0.344 MT-TM   0.10 MT-TL1  0 MT-RNR1 0 MT-ND2  158.332


I just saw  today and I was a bit confused  This states that "This question has an open bounty worth +400 reputation from Rahul Joshi ending in 7 day" but  only has a reputation of 1  As per the FAQ, it states that   Slice off anywhere from +50 to +500 of your own hard-earned reputation and attach it to any question as a bounty. (User does not have 400 rep to slice off)  And  Users must have at least 75 reputation to offer a bounty. (User does not have 75 rep)  Does the FAQ not contradict this question or am i missing something here?

I am not sure if it is correct to post this on the general Meta of StackExchange, but I encountered a strange thing on Security.  There is this  where a user offers a 100 bounty but only has a reputation of 23.  Now according to  this should not be possible as ...     You must have at least 75 reputation to start a bounty, and at least as much reputation as the bounty amount.   which is certainly not true in this case. Is this a bug?


The 1 indicates that ones of the two questioned flags is a mine and 3 also indicates the same. How to choose logically between any one of them?

The following happened playing Minesweeper:   How do I figure out which square to click?


this is my first question, so please be nice :-) I'm having a python list and want to merge the items to other list items in a certain size. For example: old_list = [1,2,3,4,5,6,7,8] item_size = 2 - some code - new_list = [[1,2],[3,4],[5,6],[7,8]]  Is there an easy way to do this? Thanks a lot in advance!

I have a list of arbitrary length, and I need to split it up into equal size chunks and operate on it. There are some obvious ways to do this, like keeping a counter and two lists, and when the second list fills up, add it to the first list and empty the second list for the next round of data, but this is potentially extremely expensive.  I was wondering if anyone had a good solution to this for lists of any length, e.g. using generators.  I was looking for something useful in itertools but I couldn't find anything obviously useful. Might've missed it, though.  Related question:


Got my old laptop installed with Windows 7 Professional. While creating user I put my full name as Mahesh M. Kadam and completed the procedure.I feel as this laptop is going to be used at only home so putting full name would not be appropriate so changed account name to Mahesh. But while using Windows Remote Desktop I can't log in with new user name and password but able to log in or connect to my laptop with old user name. I'm not going for static IP address so I've to type in my full name every time i'm logging in which bit cumbersome.Solution tried given at  and kept as it is. So any any way to rectify this?

I have an HTPC with a user that has no password and autologin.  I want to be able to connect to it via Remote Desktop without a password, so I can login with the original user. (I don't want to add another user just for the mstsc)  Is there a way of doing that?  The OS is Windows 7, 32bit.


I am having problems installing my canon mp620 wireless printer.  The system sees the printer but when I try to print a test page it only adds to the print cue without completing the task.

I have been trying to install my Canon Pixma MP620 printer via cable network on my Ubuntu 13.04 64bit OS for two days. Previously I also tried to install the printer on Linux Mint 15, but failed.  There are lots (really tons) of well written tutorials how to install the printer (e.g. this  on ubuntuusers.de). However nothing seems to work.   After messing up my system with lots of packages and different drivers I did a complete reinstall of the operating system.


Let $\mathcal{I}$ be the set of all invertible real matrix $n \times n$. I have to prove that $\mathcal{I}$ is open and not-connected.  My attempt: Take any $A \in \mathcal{I}$. Puting $\varepsilon = \frac{1}{\|A^{-1}\|}$ we have that $\|A-B\| < \varepsilon \Rightarrow B \in \mathcal{I}$. Therefore $\mathcal{I}$ is open.  But I really don't know how I can show that $\mathcal{I}$ is not-connected.

I've noticed that $\mathrm{GL}_n(\mathbb R)$ is not a connected space, because if it were $\det(\mathrm{GL}_n(\mathbb R))$ (where $\det$ is the function ascribing to each $n\times n$ matrix its determinant) would be a connected space too, since $\det$ is a continuous function. But $\det(\mathrm{GL}_n(\mathbb R))=\mathbb R\setminus\{0\},$ so not connected.  I started thinking if I could prove that $\det^{-1}((-\infty,0))$ and $\det^{-1}((0,\infty))$ are connected. But I don't know how to prove that. I'm reading my notes from the topology course I took last year and I see nothing about proving connectedness...


I have implemented an interface:  class ISolution { public:   virtual ~ISolution() = 0;    virtual void resultat() = 0; };   and some derived classes from it:  class SolX : ISolution { private:   int member;   MyClass myOb; public:   SolX(const MyClass& inOb) : myOb(inOb) {}   ~SolX() {}    void resultat()   {     // the body   } };   When I compile it I get errors like:  /proj/CSolution1.cpp:4: undefined reference to `ISolution::~ISolution()' /proj/CSolution2.cpp:4: undefined reference to `ISolution::~ISolution()' CMakeFiles/proj.dir/CSolution2.cpp.o:/proj/CSolution2.cpp:12: more undefined references to `ISolution::~ISolution()' follow   I am using CMake and Linux Ubuntu.  I cannot figure out what is the problem. Is there something that I have missed? Does myOb create the problems?  P.S.: The line where is the error is at the definition of the constructor.

Is it wrong to write:  class A { public:     virtual ~A() = 0; };   for an abstract base class?  At least that compiles in MSVC... Will it crash at run time?


I'm trying to learn about proper database management and am having a hard time with designing a database that doesn't rely on NULLs. If you think I'm crazy for embarking on this, it is because of  (ch.4, p.79), where the author makes the case that simply because having NULLs produces unexpected results in certain situations, they should be avoided.  The alternative to NULL-able fields, as I understand, is to create 1::0-1 relationships for each field. This seems like it would make querying information very difficult. Is this the correct approach? Are NULLs, in fact, much safer than the author leads me to believe?  Would using a VIEW to represent the many 1::0-1 relationships be applicable and any more beneficial than simply having the NULLs in table in the first place?  My scenario is a user table with optional fields that may, or may not, be foreign key relationships to other tables. Obviously, making those fields NOT NULL means they must be required, but I can't put 0 in there since it breaks the foreign key. Other situations occur when trying to put 0000-00-00 for, say, a birthdate field, since MySQL doesn't allow me to do that.  Thus, I'm back to wondering if eliminating NULLs are, indeed, a best practice and provide the greatest flexibility and performance than the alternative.

I remember reading this one article about database design and I also remember it said you should have field properties of NOT NULL.  I don't remember why this was the case though.  All I can seem to think of is that, as an application developer, you wouldn't have to test for NULL and a possible nonexistent data value (for instance, an empty string for strings).  But what do you do in the case of dates, datetime, and time (SQL Server 2008)?  You'd have to use some historic or bottomed-out date.  Any ideas on this?


According to the theory of general relativity 'space' can be bend like a fabric. Objects with a lot of mass bend spacetime like a well or a bowling ball on a stretched blanket. It (images) always look like spacetime is being 'pushed' downwards thus objects swirl around the more massive object (if their velocity is fast enough to not getting pulled into the singularity). So I seriously ask myself, is it possible for objects / matter in the universe to push / bend spacetime 'upwards?' Upwards in the sense that the ball in the picture (above) is bending spacetime in the other direction (vertical). Though one problem arrises in my head already, wouldn't objects be invisible to our eyes since ,just like with the bowling ball and the blanket, it would be a layer under the actual play field <-- Instruments should be able to detect their impact right? Info: I'm just a hobby astrophysics learner, not a physicist or a professional student in this field, so anything I've written down could be non-sense / false. Correct me if that's the case.

Whenever I read about the curvature of spacetime as an explanation for gravity, I see pictures of a sheet (spacetime) with various masses indenting the sheet to form "gravity wells." Objects which are gravitationally attracted are said to roll down the curved sheet of spacetime into the gravity well. This is troubling to me, because, in order for objects on the locally slanted spacetime sheet to accelerate, gravity must be assumed. Therefore I ask; does the explanation of gravity as the curvature of spacetime assume gravity? If yes, what is the point of the theory? If No, what am I missing?


I installed Ubuntu 20.04 on dualboot with windows. I have installed some kali tools using katoolin3, and also installed Anonsurf. After that when i boot into my machine, I am prompted with a command line, which says "this is a minimal installation of kali....". I cannot access the gui. How do I fix this?

I updated from 14.04 to 16.04 and used katoolin to add some Kali tools. After restart, the boot up of Linux ran codes, but stopped at a certain point never to load login. So I reinstalled 16.04, ran updates and tried again. This time, the boot menu was changed to Kali as well as the OS name (I'm using Windows 7 dual boot with Ubuntu); login started in Ubuntu style without user name, had to type in the name... then it goes to the logo screen never to log in.  How can I use katoolin without it affecting the boot menu interface? Does this happen when the user selects the option 'add Kali repositories and updates'? Are the Kali repositories necessary? I'd much rather just install the tools and not mess with the Ubuntu interface.


I seriously think that one of the main secrets of this site's success is that it loads pages very fast. Unlike other websites, I don't have to wait much when having to visit to StackExchange websites. The speed is noticeable.  If we use Pingdom Website Speed Test, we find that the load time is 571ms which is a phenomenal speed.    I'm curious to know what are the main tricks/tactics that this site uses to be load that fast.

This question is about the net speed.  I'm from China, and I find that opening pages on Stack Overflow is very fast, normally within a range of 1 to 4 seconds. This speed is very good for a website outside China; it's even faster than some native websites.  Not every website outside China has such good speed, so I am wondering why and how Stack Overflow manages to be so quick.


I mean, when you have a full bathtub and then let it empty, under what conditions does a whirlpool form?  Could we devise an experiment and measure this effect? When it comes to fluids, I don't know why I can't think of anything to test a hypothesis.

At first I thought it's because of Coriolis, but then someone told me that at the bathtub scale that's not the predominant force in this phenomenon.


I am trying to cite the full reference name in LaTex for a particular reference, however, it gives the Last Name-First Name format, when using \citet.  The BibTex entry is:-  @misc{tur_working,     author       = {US Department of Energy},     title        = {How Do Wind Turbines Work?},     journal      = {Department of Energy},     year         = 2019,     url          = {https://www.energy.gov/eere/wind/how-do-wind-turbines-work} }   And when cited in text, it appears as according to Energy(2019), whereas I would like it to be cited as according to US Department of Energy (2019). I don't want to change the complete structure of my other references, but just for this one reference, I want the author name to be mentioned in the simple sentence style. Any help is appreciated.

I want to list a company name in the author field of a bibliographic entry:  @book{CUDA,   author    = {NVIDIA Corporation},   title     = {NVIDIA CUDA Compute Unified Device Architecture Programming Guide},   publisher = {NVIDIA Corporation},   year      = {2007} }   But the entry keeps showing up "N. Corporation".  Is there a way to get the full author name to show up?  I'm currently using the siam BibTEX style.


Is it possible to merge rows like we can merge columns in Latex. I want a table like following.

Is it possible to create a table like this one?    The usual structure of tables I use looks like this:  \begin{table}[H]     \begin{adjustbox}{width=\textwidth,center}     % \begin{adjustbox}{center}         \begin{tabular}{lll}             \hline             \multicolumn{1}{l}{\head{XXX}} & \multicolumn{1}{l}{\head{XXX}} & \multicolumn{1}{l}{\head{XXX}} \\             \hline             \ttfamily xxx & \ttfamily xxx & \ttfamily xxx \\             \hline         \end{tabular}     \end{adjustbox}     \vspace{ - 05 mm}     \caption{xxx}     \label{tab:xxx} \end{table}


I have written a PHP function in a php page. This function is not written in function.php. I have written that function in anyname.php file which is located in root directory.  I need to call that function when user click the publish button on WordPress(Only for post submission).  Assume that function name is dothisfunction($name)  Where should I call this function?

I try to use this function i have created when a post is published for the first time.  function a_new_post($post){   $post_id = $post->ID;    if ( !get_post_meta( $post_id, 'firstpublish', $single = true ) ) {       // ...run code once       update_post_meta( $post_id, 'firstpublish', true );   } } add_action( 'draft_to_published', 'a_new_post' );   I can't see anything wrong with it, but when i try to create some sample posts i check the database and the field "firstpublished" has not been created.  Does anyone see anything wrong?


I'd like to include an onclick event in a JavaScript class, but since onclick is a function inside of the class the this variable won't work properly.  How can I modify/output the this variable from the onclick function?  img = new image();  function image() {     this.width = 400;     this.height = 600;     document.getElementById('button').onclick = function()     {         alert(this.width); // alerts undefined     }; }   See JSfiddle here:

Is there a best-practice or common way in JavaScript to have class members as event handlers?  Consider the following simple example:  <head>     <script language="javascript" type="text/javascript">          ClickCounter = function(buttonId) {             this._clickCount = 0;             document.getElementById(buttonId).onclick = this.buttonClicked;         }          ClickCounter.prototype = {             buttonClicked: function() {                 this._clickCount++;                 alert('the button was clicked ' + this._clickCount + ' times');             }         }      </script> </head> <body>     <input type="button" id="btn1" value="Click me" />     <script language="javascript" type="text/javascript">         var btn1counter = new ClickCounter('btn1');     </script> </body>   The event handler buttonClicked gets called, but the _clickCount member is inaccessible, or this points to some other object.  Any good tips/articles/resources about this kind of problems?


Are dentries and inode table same thing? If not what is the purpose of each and where are they stored? How does the filesystem exactly work specifically "ext4" or "xfs"?

From the article  by M. Tim Jones, I read that Linux views all the file systems from the perspective of a common set of objects and these objects are superblock, inode, dentry and file. Even though the rest of the paragraph explains the above, I was not that comfortable with that explanation. Could somebody explain to me these terms?


I have a US VISA valid till 2019. But my passport is expiring on 20th July 2016. I would like to travel to US in the month of June &  I got the confirmation from USVISA that Indian passport need not have 6 months validity.  But now one of the travel agent has raised a query that std rule is 6 month validity.  Indian immigration dept not able to answer the query properly Can someone guide me with the exact rule.

My visa will be expired December 12, 2017.  However my passport will expire on January 17, 2016.  I wish to reach the USA border on July 15, 2015 to stay in the USA for 25 days. At that date my passport will be expired after 6 months and 2 days from July 15, 2015.   Is there any problem to get permission to enter USA for 25 days from the Immigration authority?


I rent a dedicated server for one of my sites (Linux, WHM/cPanel). The site gets a decent number of monthly visitors (over a million), and I am starting to wonder how I should monitor it to discover when a server upgrade will be needed.  Obviously I could wait until the server starts to crash a lot and the site starts loading very slowly, but I would like to avoid reaching that point, having a better way to monitor things.  My questions:   1. Is monitoring the server load on WHM enough to know whether or not an upgrade is needed? On my case average server load is 0.5, and the server has 8 cores, so is this enough to say I probably don't need an upgrade?  2. Is there some other metric I should pay attention to to evaluate this?  Thanks in advance.

This is a  about  Related:      I have a question regarding capacity planning. Can the Server Fault community please help with the following:   What kind of server do I need to handle some number of users? How many users can a server with some specifications handle? Will some server configuration be fast enough for my use case? I'm building a social networking site: what kind of hardware do I need? How much bandwidth do I need for some project? How much bandwidth will some number of users use in some application?


I don't understand what this keyword reference in this example: public class Game extends Canvas implements Runnable{      /* some code.. */         private Thread thread;     private boolean running=false;      private synchronized void start(){         if(running) return;         running = true;         thread = new Thread(this,"Thread");         thread.start();     }  }  First, I thought it could be written as : thread = new Thread(new Game(),"Thread"); but it doesn't work.

I'm trying to get an understanding of what the the java keyword this actually does. I've been reading Sun's documentation but I'm still fuzzy on what this actually does.


Let $f : U \to V$ and $g : V \to W$ be linear transformations on the vector spaces $U$, $V$, and $W$ respectively. Then Prove that :   $$ \dim(\ker(g \circ f)) = \dim(\ker(f)) + \dim(\ker(g) \cap \operatorname{im}(f)). $$  Attempt:  It's clear that $$\ker(g \circ f))= \ker f +\{\operatorname{im} f \cap \ker(g)\}$$  Then $$\dim \ker(g \circ f))= \dim \big (\ker f +\{\operatorname{im} f \cap \ker(g)\} \big ) \tag{1} $$     If $\ker f \bigcap \operatorname{im}f=\emptyset$, then , $(1)$ becomes an external direct product and the dimension adds up. Otherwise, $\dim \ker(g \circ f)) \le \dim \big (\ker f)+\dim \big(\{\operatorname{im} f \cap\ker(g)\} \big )$   Could someone please pin point the error. Thanks a lot for the help.

Let $f : U \to V$ and $g : V \to W$ be linear transformations on the vector spaces $U$, $V$, and $W$. Supposedly,  $$ \dim(\ker(g \circ f)) = \dim(\ker(f)) + \dim(\ker(g) \cap \operatorname{im}(f)). $$  How might I go about proving that?    (Attempt:) The $\dim(\ker(g)\cap\operatorname{im}(f))$ term suggests to me that I should define a vector space $V' = \ker(g) + \operatorname{im}(f)$ to invoke the theorem that  $$ \dim(V') = \dim(\ker(g)) + \dim(\operatorname{im}(f)) - \dim(\ker(g) \cap \operatorname{im}(f)), $$  but I don't really see where to go from there.


A client's SEO "expert" has recently asked us to redirect hundreds of URLs to the home page but we're not sure if her request is the best way of going about it.  Here's the situation:  The clients site as a page called /knowledgebase.aspx. By default, this page shows the latest 10 articles.  When using the search feature of the site, it goes to the KB and adds the search terms to the querystring eg /knowledgebase.aspx?search=popcorn it will shows a list of articles containing popcorn.  A feature of the site recently removed is that of keywords or tags. Tags, like a blog, could be added to articles and the assigned tags were displayed under the article. Clicking on a tag of fruit, for example, would take you to the KB page with the url /knowledgebase.aspx?keyword=fruit. And, as expected, it would display a list of articles with a tag of fruit.  As this tag functionality no longer exists the site no longer contains pages with links to the KB with keyword in the query string.  Here's the problem:  Apparently, in Google's webmaster tools, these tag URLs ranked well and so the SEO expert wants all URLs containing knowledgebase.aspx?keyword= to be 301'd to the homepage. (Wouldn't this mean lots of URLs with dupe content so google will decide which to use on its results pages?)  We're thinking maybe add some 301s to a category page for closely matching content while using 404s for everything else (with human friendly content obviously).  The SEO expert though has an allergy or something to 404s though, thinking them an "error" and "bad".  What should we do?  Make all URLs with /knowledgebase.aspx?keyword= redirect to the homepage? (as requested)  301 good URLs to relevant other pages and return 404 for the rest? (our current thinking)  We could do nothing which presumably would have a similar effect to 301ing everything in that they will all have different URLs but the same content (in this case the latest articles as opposed to the homepage).  Any advice, pointers & hints would be greatly appreciated :)

We run an ecommerce site that was setup by a third party ecommerce software provider, basic shop with product pages, basket and checkout.  The third party vendor set up the htaccess file so that if a non-existent URL is enetered it redirects to the homepage instead of a 404 error being generated.  This results in google webmaster reporting duplicate titles and descriptions for pages that no longer exist.  I think that it would be better for a dedicated 404 error page to be displayed rather than redirecting back to the homepage  So is it better to have a website redirect a 404 to the homepage than have a dedicated 404 page instead?


What is meant when someone says that a 1/2.3 sensor has a crop factor of 6.22? How many times the area of a 1/2.3 sensor is a full-frame sensor?  Please include plenty of details.      Another question on this site,  addresses the angle of view, but doesn't say anything about how the crop factor relates to the surface area of a sensor compared to a full-frame sensor.

I'm reading that a 50mm lens is recommended as a first prime lens for DSLR owners as it's supposed to give a 'natural' perspective, but when used on (most) DSLRs, the view is cropped, as if you were zoomed in by 1.5-1.6x, so it's more of a telephoto lens when used on a DSLR. I've also read however that the 50mm lens gives the same perspective on a DSLR and a 35mm, and shouldn't really be considered to be 'equivalent' to an 80mm lens as the crop factor isn't really a magic focal length changer.  Can someone explain how the image is different from (for example) a 50mm lens on a DSLR and an 80mm lens (assuming 1.6x crop factor) on a 35mm camera?


I am trying to reinstall Ubuntu 20.04lts on an iMac running Ubuntu 20.04lts as the only os. I cannot figure out how to access boot priority menu to allow the system to boot from USB drive. Any ideas?

I have a netbook that I want to install Ubuntu onto. I do have a good Mac computer that I can make a bootable USB drive from, but I'm confused on how to go about making it.


I am putting together a POC for my company regarding some monitoring tools that we use.  As part of my project I need to convert portions of a plaintext email sent to me into a hyperlink (I am not able to send the emails in HTML from the tool itself).    I have next to no experience with VB, but this is what I stitched together reading various other posts. I realize it is not functional at all, but I thought it might be something of a baseline for others get a better idea of what I am trying to accomplish and give feedback on.  Essentially I am trying to search the email for a string, and convert it into a more concise hyperlink that points to that same string as the url.  I need some help cleaning up what I have if you have any pointers.  Option Explicit  Sub InsertHyperLink(MyMail As MailItem) Dim body As String, re As Object, match As Variant  body = MyMail.body Set re = CreateObject("vbscript.regexp") re.Pattern = "^https\..*Operation>$"  For Each match In re.Execute(body)     body = Replace(body, match.Value, "Open Link", 1, -1, vbTextCompare) Next  MyMail.body = body MyMail.Save End Sub

Does anyone know of a way or a program that will read a received email and recognize a static format of text (in my case it will be "#" followed by 6 integers), and make that a hyperlink to a webpage?   I have to think something similar exists. This would operate in the same fashion that when you type "www.google.com" and then hit Enter or space, it automatically converts this into a hyperlink. That is for a composed email, I'm looking for this in received emails.


I have developed an app for SharePoint and it is available on SharePoint app store. Currently it is in English only. Now i want to add support in multiple languages such as German, Japanese, French. Do i need to make changes only in my code part or while publishing this app, if we choose different languages, will Microsoft take care of it?

I'm making an app with a custom list in multiple languages.  Is there an easy way so that I only have to create the site columns, content type and list once? So I don't have to create them for each language?  My app will be in English, French and Dutch.  My lists elements.xml looks like this  <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/">     <!-- Do not change the value of the Name attribute below. If it does not match the folder name of the List project item, an error will occur when the project is run. -->     <ListTemplate         Name="List1"         Type="10000"         BaseType="0"         OnQuickLaunch="TRUE"         SecurityBits="11"         Sequence="410"         DisplayName="List1"         Description="My List Definition"         Image="/_layouts/15/images/itgen.png"/>   <Field       Name="Adres"       ID="{2a32d9eb-ad3b-4dbb-abba-66dd01ca7c6e}"       DisplayName="$Resources:Adres"       Type="Text"       Required="TRUE" />   <Field       Name="Naampje"       ID="{ac47be45-2f43-4d16-9a06-162c85945ec9}"       DisplayName="$Resources:Naampje"       Type="Text"       Required="FALSE" />   <Field     Name="Nickname"     ID="{6B0A2CD7-A7F9-41ca-B932-F3BEBB603793}"     DisplayName="$Resources:Bijnaam"     Type="Text"     Required="FALSE" />  </Elements>   Well if i change my language in Sharepoint (Office 365) it's not changing the titles from dutch to the other languages i have added.


When installing MikTex () I am getting the message:  The following packages have unmet dependencies.  miktex : Depends: libhunspell-1.3-0 (>= 1.3.3) but it is not installable           Depends: libicu55 (>= 55.1-1~) but it is not installable           Depends: libmpfr4 (>= 3.1.3) but it is not installable           Depends: libpng12-0 (>= 1.2.13-4) but it is not installable  E: Unable to correct problems, you have held broken packages.   I have tried:  sudo apt get upgrade && sudo apt get update   But still get the same message. Is it that the packages are not compatible with 18.04? Is there a way around this?

Please help me install latex (texstudio or texlive or any other package) in my laptop. I am using Ubuntu 14.04 LTS.


Does google computte engine offer SQL Server 2012 licensing? Web Edition to be more specific.  I have not found any documentation on this matter here:

This is a  about Licensing.    Questions on licensing are off-topic on Server Fault.  If your question has been closed as a duplicate of this question, then this is because we want to help you understand why licence questions are off topic rather than just telling you "it just is". In all likelihood, this question will not address your question directly, it was not meant to.    I have a question regarding software licensing. Can the Server Fault community please help with the following:   How many licenses do I need? Is this licensing configuration valid? What CALs do I need to be properly licensed? Can I run this product in a virtual environment? Can I downgrade this product to an earlier version? Am I entitled to feature X with license Y?


$a^2 +b^2 +c^2 \ge a(b+c)+bc$, this equation is supposed to be correct, although I factorized and tried to solve prove in many ways, I cant explain well enough!

How can the following inequation be proven?  $$a^2 + b^2 + c^2 \ge ab + bc + ca$$


This sentence is from google dictionary. I only know that "due to" is used for a noun in the sense "caused by", for instance, His defeat was due to lack of practice. Can it also be used with verb like withdraw?

Is it fine to use due to in place of because of ? How about the other way around? Are any of these sentences ungrammatical?   He was lost because of the storm. He was lost due to the storm. He lost his way due to the storm. He  lost his way because of the storm.


I am using the document class book and this error started popping up, It is only affecting one chapter, the others I can use the colour red fine.  The line is: \section{\color{red}Section Title}  Thank you very much for any help

i have written all the text in black color, but i get this error several times in the same page:  ! LaTeX Error: Undefined color `BLACK'.   i tried to solve it by writting this: \definecolor{black}{gray}{0,0,0} but it didn´t work.   what should i do?


Is there any possibility to put some lines of code automatically to the terminal?  E.g. when I want to start Hamachi through the terminal and don't want to write long expressions every time.  Maybe this problem is easy to solve, but I am a beginner and would be thankful for help.

By typing a manually specified command in terminal I want to execute some other command.  How could add an alias to a command? Can i do that with the help of the terminal or should I edit some kind of file?


I am trying to recreate sortable jQuery UI behavior with only jQuery:  This is the JSFIDDLE:   Drag and drop works fine, the problem arises when I add new element into parent div.  It appears that mousedown functions aren't getting called on a newly added element.  $('.button').mousedown(function(e) {}); //isn't getting called   Why would that be so and what fix do you recommend?

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


I borrowed a DualShock 4 Controller from a mate, but it won't connect to my PS4.    I have tried physically connecting it to my PS4;  I've tried pressing the reset button;  I have tried pressing the 'PS' button on the controller to link it up while in the BlueTooth settings, but that doesn't work either.

I was playing my PS4 two days ago and then packed it up with two controllers that were both connected to this PS4.   I got to where I was going, set everything up and now the controllers won't connect. They show pulsing orange when they plug in, but when I hit the PS Button to connect, it blinks white 1-2 times and goes back to orange.   I have tried resetting them both.  Can anyone help?


Lemme start this off by saying I haven't done anything yet or handed over any info yet, I'm just trying to see in advance whether it's time to block this lady and move on or keep riding the trail.  Met her online from Seeking Arrangements, and most silly sugar babies do, and after talking and forming a connection for a few days, she says she's ready to set me up with an allowance and make me her loyal sugar baby. Had me delete my SA account and everything to prove my loyalty. And now she's saying she also wants me to work in her "store" and also be her "account manager". Still waiting for details on what this store is and what being her "account manager" entails, but so far she's already told me she wants to keep money in my bank account.  Should I just make a brand new and unrelated bank account for my safety? Or should I decline being the Account manager and keep it at the affection level of things? I was also going to be pushing for payment through something secure like PayPal, but is that even safe? Any and all answers appreciated, thanks so much!  *** I will add: She hasn't asked for my banking info or anything yet, nor do I intend to give her any of it. Just wondering if the "Account Manager" part seems fishy, or working in a store, or if these are normal legitimate things

Someone is offering to pay me in a sort of sugar daddy/sugar baby arrangement. They want to make online deposits to me, and they're asking me for my online banking username and password. Is that information alone enough for them to be able to take my money out of my account, or am I safe?


Decided to try to learn Blender, so started modelling new shelving using it.  Early on I had beveled a corner (not with a modifier) where the shelving goes from one wall to another.  We have since decided we would prefer it sharp.  I understand that the modifier would have been the better choice, but as I beveled with relatively few segments, I thought that it would be a good exercise to learn how one might manually remove the additional segments...so far though, no luck.  Can anyone suggest a course of editing to convert the two sections shown to 90 degree corners?

Is there an easy way to un-bevel parts of a mesh that have been beveled? e.g. Convert this:  into a normal cube? Edit: Is this possible with perhaps some trick of calculating where the original edge was and collapsing all the selected edges to that point? (python?)


Have created the below class with global variable.  But why my thread is not ending or become dead.  public class MTTest {   private static boolean isRequestToStop = false;    public static void main(String [] args) throws Exception{       Thread T = new Thread (new Runnable(){       public void run(){          while(!getRequestToStop()) {         //System.out.println(" Value is " +getRequestToStop() );         //System.out.println("Thread");         }       }      });     T.start();     Thread.sleep(1000);     setRequestToStop();     //isRequestToStop =  true;   }   public static void setRequestToStop(){     System.out.println("--- setRequestToStop()--- Called");     isRequestToStop =  true;    }   public static boolean getRequestToStop(){     return isRequestToStop;    } }

At work today, I came across the volatile keyword in Java. Not being very familiar with it, I found . Given the detail in which that article explains the keyword in question, do you ever use it or could you ever see a case in which you could use this keyword in the correct manner?


this command   \prod_{i=1}^n   could generates this symbol    How to move "n" to the top, "i" to the bottom, like this

I'm very familiar with how symbols display differently in inline mode (with $ ... $) vs. how display math shows them (with \[ ... \] or $$ ... $$).  Two examples would be with limits  $\lim_{n\rightarrow \infty}f(x)$   vs.  \[ \lim_{n\rightarrow \infty}f(x) \]   and with sums  $\sum_{n=1}^{x} n^2$   vs.  \[ \sum_{n=1}^{x} n^2 \]   My Question is:     How do you display these things in inline mode (with all the nice inline formatting) as if they were in display mode ?   The inverse -- how to display things in display mode as if they were in inline mode -- is also of interest.


I have got a 2.0 USB powered speakers which are supposed to be connected to the PC USB port. But that port creates noise in the speakers and is not very convenient. I have a phone charger of output dc 5v and 1A. Can I connect the speakers to the phone charger for power supply? Would it affect my speakers?

I have a Dreamgear PS3 Elite Gaming Headset that needs to be plugged into a USB port to power it, it cannot be used as just a "normal" set of headphones though it has a standard 3.5" plug as well (don't ask me why, it just can't).  My question is "Can I power it by using a 5v 1A Apple iPhone charger instead of a USB port." The main reason is to do school work on an iPad, which I am pretty sure will not power it. T.I.A darrennie


I am trying to get Z Pass to render but all I get is a white image. Any ideas why that happens?  I tried setting up the render layers, checked only z-pass since that's all I need but still can't get it going. I am having a similar issue when trying to output to PNG's other passes but they do show up however at least in the viewer.  Also I tried looking up for tuts on this but what I found is only for internal compositor unfortunately.   Thanks

How can one make a render pass with black and white data to display depth of field based on the Settings > Camera dof settings? I want to blur or defocus in the compositor, similar to the way it is done with the Z pass but with a more accurate dof information that is based on a target, as opposed to distance away from the camera.  I tried to fiddle with the settings in a new Render layer, overwriting the material, but I have been unable to achieve a render pass effect that outputs something useful.


Does he has store key?   Does he have store key?      Please tell me which one is correct. Also, please explain briefly difference between 'have' and 'has' and when they are used.

Does and has both are used with singular pronouns (He has the bottle , He does play cricket , etc) whereas Do and have are used with plural pronouns ( They have the bottle , Do they like cricket? , etc)  But still we use Does with have ( She does have a car ). Why? Shouldn't it be     She does has a car.


I am trying to deduce callback function parameters from a callback given as a template parameter. I have found this previous answer:  which looks like it'd be the answer, but somehow I cannot get this to work for what I want.  I have the following code:  #include <tuple>  template<typename S> struct signature;  template<typename R, typename... Args> struct signature<R(Args...)> {     using return_type = R;     using argument_type = std::tuple<Args...>; };  template <auto callback> void check_callback() {     using callback_type = decltype(callback);     using arg1          = std::tuple_element_t<0, signature<callback_type>::argument_type>; }  int main() { }   When compiling this with clang 6.0 as c++17 I get the following error:     error: template argument for template type parameter must be a type;   did you forget 'typename'?   If I change the line defining callback_type to something like  using callback_type = void(int);   then it suddenly works, so given a valid function signature the code seems to work. Why won't it work when using decltype on a function coming from a template parameter?

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