I have a 60W charger that I've been using to charge my iPhone 11. Based on my Googling, it seems this won't harm the phone. Has anyone had issues with using such a high wattage power adapter for iphones?

I have an iPhone 4 and an iPad.  Since the iPad really charges best off the wall charger I keep it plugged in, but I usually just charge the iPhone off the computer.  Although frequently if the iPad is charged I will charge the iPhone with the wall charger.  Now the Apple sales rep said he heard from someone who heard from someone that that would burn out the phone because the iPad charger is 10 watt instead of 5 watt.  It is true that it is twice as many watts.  I said that I thought it shouldn't burn out the phone because a device should only pull as many watts as it needs, so the watts were irrelevant.  He said that made sense, but he didn't really know.  So I thought I would ask the experts.  Has anyone had their iPad charger fry an iPhone or iPod?  Am I correct in my understanding of watts in chargers?  Is there an official word about the iPad charger causing trouble with other devices?  Have I already voided my warranty?


I write a new blog post each year regarding the previous year's market trends.  I still see users accessing some of these posts even though they are a couple of years old and outdated. Redirecting users doesn't make sense as I still want users to have access to the previous posts.  Canonical doesn't totally make sense because the content isn't identical, even though the topic is the same. I realize search engines can recognize newer content, but is there a best practice for these kinds of pages?  Should I do anything to connect the content or should I assume search engines will figure it all out without my help?

I have a website that shows data that only valid for one year, but like to keep the date for archive and compare purposes.  For now I have a 301 redirect (so the other redirecting domains will always have the "newest" content) for domain.com/content/ --> domain.com/content/content-2014.  However some users use domain.com/content/content-2014 or older years for links on their websites, so content on year 2013 has a high pagerank. How can I manage this content for SEO?  domain.com/content/ --> domain.com/content/content-2014 (current year)  domain.com/content/content-2013  domain.com/content/content-2014  domain.com/content/content-2015  Is it smart to redirect 301 old content 2013 --> 2014 and make a new archive page? Or keep it like this?


How to enable Picture in Picture option on YouTube app for iPhone ? I have enabled picture in picture option in accessibility i can use it on Netflix app and prime videos so on but im not able to use on YouTube app please help me out.

On iOS, while watching a video in YouTube app, when I go to the Home Screen, the video stops playing. I found no setting to enable it.  I know it is available for Android, but is there a way to do so in iOS? Is there any setting, or a 3rd party app that I can use?


So I have a laptop which is somehow old, I installed Ubuntu 16.04 on it and after a couple of months, v18.04 is released. I decided to upgrade mine to 18.04 but after downloading and installing on my laptop, it is now stuck on the Ubuntu startup/loading screen (after restart), I thought it is just like that but it stayed like that for an hour and a half. I checked their website to see their compatibility requirements and it met except for the needed 2.0Ghz, mine is 1.5-8Ghz but I think it is not the problem because it runs the v16.04 fine. Download/File integrity is also good.  Can it not really run on my laptop because of the GHz difference? or something?   Intel Core 2 Duo Processor Currently Running Windows 7 Pro x32 3GB System Memory 111 Hard Drive Space Wireless Internet Access

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


On Windows 10, There is a process System and compressed memory.  What is it and why is it using so much memory?

Since I upgraded to Windows 10, my system has been consuming RAM excessively    I've been reading a bit and determined it's likely a driver leaking memory. So I got myself the Windows Driver Kit and tracked memory usage with poolmon:    However, I don't really know how to proceed from here. Is the item tagged "smNp" the culprit in this issue? How do I go from there to actually identifying the driver?  I tried some stuff like "C:\Windows\System32\drivers>findstr /s smnp ." but it returned no results. I also took a look at the pooltag.txt file and this is the description I found for it:      So yeah, any help would be appreciated. Thanks in advance.


I am fairly new to Ubuntu. I am currently using Ubuntu 14.04 version. I am stuck into a problem that my primary user account is not functioning after i ran a command chown -R username:usergroup /* on a secondary user.  I have two users in my machine. Both are administrator functionality. One  name is abc and other is root. abc is the primary user and i had run the command by the other user. Thereafter i am having this problem.    I can't able to login with the second user. Guest account is working fine but the other account is not. Sudo command is not working. Primary user UI is very slow and keep blinking every time. Shut down option not working.   Getting error message as "sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set" after running the sudo command

I accidently ran  sudo chmod 755 -R /   instead of  sudo chmod 755 -R ./   I stopped it after few seconds, but now there is some problems such as  sudo: must be setuid root   How can I revert permissions back?


Is the following true for $\|x\|,\|y\|\geq 1$ and $x,y\in X$, where $X$ is a normed space  $$\left\| \frac{x}{\|x\|}  + \frac{y}{\|y\|} \right\| \leq \| x+y\|.$$

Let $(V,|\cdot|)$ be a normed space. Let $x, y\in V.$ If $|x|,|y|\geq 1$, then does it follow that   $$\left|\frac{x}{|x|}-\frac{y}{|y|}\right|\leq |x-y|\;?$$   Actually I got a hint in form of a picture, but I failed to use it.


In a Game of Thrones episode, when Brienne is taking Jaime back to King's Landing, Jaime quotes that there are "only three people in Westros who can defeat him in a fair duel".However he never mentions their name.Who are these people.Are they named in the books?(I have not read the books yet I am still watching the show.)

In Game of Thrones season 2, episode 8, "The Prince of Winterfell" , Jaime Lannister says to Brienne:     There are three men in the kingdoms who might have a chance against me [in a sword fight]   Who are those three people?                                  I don't believe this quote, or any variation, appears in the books. There was this quote from A Storm of Swords when he is fighting Brienne:     She is stronger than I am.      The realization chilled him. Robert had been stronger than him, to be sure. The White Bull Gerold Hightower as well, in his heyday, and Ser Arthur Dayne. Amongst the living, Greatjon Umber was stronger, Strongboar of Crakehall most likely, both Cleganes for a certainty. The Mountain’s strength was like nothing human. It did not matter. With speed and skill, Jaime could beat them all.   So in the books it suggest that Jaime can beat anyone, though he is only referring to people of great strength, not necessarily of great skill (somebody such as Barristan Selmy, who is not considered to be exceptionally strong but is exceptionally skillful, may be able to beat him).  Is there any canon evidence to suggest who these three people may be?  I won't accept any purely speculative answers. However if there is no direct canon quote answering the question (which I believe to be the case) I will consider answers that are strongly inferred from canonical sources (such as a canon quote saying X is the greatest fighter in the kingdom, for example).


If I am an American and want to come to the UK for an extended visit, have plenty of money saved, and plan to be a "tourist," do I require a return ticket, or can I just buy a one-way ticket? I have a place to stay, with a friend, and plan to stay as long as my passport allows (up to 6 months or less). In that situation, what would you recommend?

I am an American who wants to come to the UK to discern whether or not my boyfriend and I want to continue our dating and possibly marry in the future (not necessarily this trip). If I purchase a one-way ticket, will I be refused entry? I am allowed to stay up to 6 months with just my passport, but wanted to make sure that was, indeed, the case. I already have a place to stay, and I do not plan on working for the time I will be in the UK. I just do not know yet when I will return (within the 6 month period). Suggestions?


I am facing a problem with /etc/apt/sources.list  The 52nd line appears to be malformed  Line 52: deb http://archive.canonical.com/ precisepartner  Line 53: deb-src http://archive.canonical.com/ precisepartner  This problem has caused Synaptic Package Manager and Ubuntu Software Center to not function properly and close abruptly.

I have unistalled and reinstalled the Ubuntu Software Center as per info I found in a similar thread and I got the same response about line 91 or something like that.  I just tried to upload a screen shot but since I'm new it won't allow me to.  I also can not figure out how to cut and paste anything so I have to hand type what the error screen says, both when I attempt to open the software center and nothing happens, when I try to enter commands into the terminal to uninstall, reinstall, whatever I get the same following:  COULD NOT INTITIALIZE THE PACKAGE INFORMATION An unresolvable problem occured while initializing the package information Please report t:his bug against the 'update-manager' package and include the following error message: 'E: Malformed line 91 in source list/etc/apt/sources.list (dist parse)  E: The list of sources could not be read.,  E: The package list of status file could not be parsed or opened.   How do I report bugs?  What can be done about this.  I have searched and everything everyone says to do leads me back to the same line error message.  So, I don't know how to get to line 91 in the source list; to tell you what it says. Sorry, I'm really new to this. That is what I need is to find out how to get there and fix what it says. I would really like to NOT have to re partition my hard drive and start from scratch, so I'm really looking forward to getting this problem solved. I need to be able to install new software.


Why is insulting other users and giving sarcastic comments such a huge part of the culture on SO? It's the complete opposite of projects like Wikipedia where everybody is exceedingly friendly and helpful.  For example: This response comes from a user with 13k reputation to a question about an interview problem:     There are a fair number of undergraduate CS students who can see this solution       immediately, and it seems they were looking for those students.      If you have any ambition as a C++ programmer, and aren't already intimately       familiar with the data structures and algorithms provided by the STL, you       should learn them now. It seems your competition already has.   This was in response to a genuinely extremely difficult interview problem that did not even ask for a solution using the STL. This seems to me like an unnecessarily unfriendly thing to say. This is just one example of what I think is a major trend.

There is a distinct decline in the level of civility on all the sites here.  Some of this is due to new users coming in and posting spam and other nonsense, but the off-topic and downvote buttons are doing a pretty good job of keeping this under control. Unfortunately, a lot of this is coming from more experienced users, and the site's built-in moderation system does not (and probably cannot) handle this very well.  Folks are rushing to pound new users down with "this belongs on meta!", "this is off topic", "this is a duplicate!" and "read the Help!". (Which is correct, but should be done nicer) All this, of course, is accompanied by a flurry of downvotes.  This is not very welcoming to new users who don't know about meta, the Help, or what counts as off-topic. Now I am not proposing that we just allow off-topic, meta, or duplicate questions.  However, I think we could be gentler in the way we express these sorts of things.  Explain what meta and the FAQ are and provide useful links.  Just using please and thank-you when asking folks to read the FAQ or post something on meta would be an improvement.  I also think we could rein in the downvoting a bit.  Not that we shouldn't vote stuff down, but unless a new user's post is clearly spam, voting it down to -1 or -2 should be sufficient to send a message without piling on. I like Stack Exchange and I want it to become a resource for everyone, not just an elitist site for high-rep users on the sites.


I'm preparing for UPSC Civil Services exam in India, which attracts more than a million applications each year. I'm taking management subject as optional Paper for this exam. I truly like Stack Overflow platform and its features for a Q&A platform much better than Quora. Hence I would like to start a page here. Is there a way I can create a page here?

I have an idea or subject that should have a Q&A, and want to propose a new site. How can I do this?  Related:


How can I highlight a cell in a range, if its value is equal to a different cell?  Example: Random numbers in range A5:A20. I want to highlight a cell in this range if it is equal to B4.       [  A  ][  B  ][  C  ]   [ 3 ] [ 4 ]         24   [ 5 ]  20   [ 6 ]  24 [ 7 ]  18   In this case I would want only cell A6 to highlight as it equals B4.  I feel like it should be easy, but can't get it to work.

In my example I would like to conditionally format column B cells. Those marked with x should be formatted according to value in column A (in the example the value is 1):  A | B 1 | x 2 |  3 |  1 | x 1 | x 4 |  8 |  // x can be any value and is here merely to mark the cell that should be formatted   IMPORTANT 2014 NOTE: Conditional formatting based on formula that may include other cells is now possible in Google Sheets, and works very similarly to how Excel spreadsheets work.  explains its use.


i am instantiating prefab cars ... the clones had a random countdown timer with each one off them and its working very well but the its not  decreasing its not counting down the timer is inside the spawn method the spawn method is inside the WHILE loop and the while loop is inside the UpDate() ... i  tried  to move the countdown to Update() but didnn't worked ... any ideas ...Thank You!  void Update() {     p -= Time.deltaTime;           while (carNumber < cars && p <= 0 )         {              SpawnCars();             print(carNumber);             p = 5;                    }  }   and this is the spawn method:   public void SpawnCars() {     if (spawnAllowed)     {         // choose a random strat point 1/6              randomSpawnPoint = Random.Range(0, spawnPoints.Length);         // choose a random car 1/6         randomSpawnCars = Random.Range(0, Cars.Length);         // clone randomly a car(1/6) from a random pre_set-points(1/6)         GameObject obj = Instantiate(Cars[randomSpawnCars], spawnPoints[randomSpawnPoint].position, Quaternion.Euler(-90, 180, 0)) as GameObject;         // carNumber will count how many cloned car          carNumber++;         // destroy the  cloned car after N sec        // Destroy(obj, 8);         // every cloned car will take a tag with it         obj.gameObject.tag = "select" + k;         k++;         rcf = obj.GetComponent<RayCastForward>();         //textCDT         time = Random.Range(4f, time);         TextMesh txt = FindObjectOfType<TextMesh>();   //the Timer:         time -= Time.deltaTime;         coolDown = time.ToString("0");         txt.text = ""+coolDown;      } }   edit: i forgot to tell that the timer  is inside SpawnCars().

I want to create a countdown timer in a Unity game I am creating. Up until now my game was running for a specific time but I was using InvokeRepeating to end the game after the set time.  But now I want to display the time left in a GUI text. One approach could be to use InvokeRepeating again but this time call it every second to decrement the timer. With this approach though it would mean do extra calculations for when a minute passes in order to display time appropriately and not just display the whole time in seconds.  Is there a different approach? Does Unity have any timers built in? Also which is the more efficient method?


I am making a document in a grid format and when I hover over the image I want to have an overlay, it randomly goes underneath it.  How would I bring this effect higher up on the document. (The first image in the only one with the effect currently). HTML won't display in a code block here for some reason so I attached my codepen, thank you everyone!  .flex {   display: grid;   grid-gap: 2rem;   grid-template-columns: repeat(3, 1fr);   margin: 0% 5% 5% 5%; } .resize {   max-width: 100%; } .overlay {   position: absolute;   bottom: 0;   left: 0;   right: 0;   background-color: cyan;   overflow: hidden;   width: 28%;   height: 0;   transition: .5s ease;   opacity: 0.3;    margin: 0% 0% 0% 5%; }  .contained1:hover .overlay {   height: 35%;   width: 28%;   margin: 0% 0% 0% 5%; }  .text {   color: white;   font-size: 20px;   position: absolute;   top: 90%;   left: 50%;   transform: translate(-50%, -50%);   text-align: center;   font-family: 'karla'; }   CODE PEN:

I want to overlay one image with another using CSS. An example of this is the first image (the background if you like) will be a thumbnail link of a product, with the link opening a lightbox / popup showing a larger version of the image.   On top of this linked image I would like an image of a magnifying glass, to show people that the image can be clicked to enlarge it (apparently this isn't obvious without the magnifying glass).


On a 2-d grid how many different move paths can be made that begin at $(0,0)$ and end at $(x,y)$ with $x\gt 0$,$y\gt 0$. Restriction : left,down and diagonally moves aren't allowed .

Imagine a two-dimensional grid consisting of 20 points along the x-axis and 10 points along the y-axis. Suppose the origin (0,0) is in the bottom-left corner and the point (20,10) is the top-right corner. A path on the grid consists of a series of moves in which each move is either one unit to the right or one unit up. Diagonal moves are not allowed. How many diﬀerent ways are there to construct a path starting at (0,0) and ending at (20,10)?  I'm a little stuck on this one. I feel I'm headed towards the right direction, but I'm not sure if I'm doing this right. For every move, there are 2 possible choices. If we want to get to (20,10), then there are 200 points from the origin to this point. And I think order matters here, so we would use permutations, so I come up with 200 P 2, which is 39,800.


To indicate that two lines - or line segments - I want to typeset two slash characters. I used $\overline{AB} \slash\slash \overline{CD}$.  The space between the slash characters is too much, though.  I could use a thin negative space command \!.  I would like to know what is the typical code to do this.

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


Let $$g(x,y)=f(\sqrt{x^2+y^2})$$ with $f$ continuously differentiable($\mathbb{R}\to\mathbb{R}$) and $f'(0)=0$.      Then, is $g$ differentiable on $\mathbb{R^2}$? Specifically, does $g(0,0)$  and $f(0)$ have a role to play?

Let $f:\mathbb{R}\rightarrow \mathbb{R}$ be a continuously differentiable function such that $f'(0)=0$.  Define for all $x,y\in \mathbb{R}$,  $$g(x,y)=f(\sqrt{x^2+y^2})$$ Pick out the true statements :   $g$ is differentiable on $\mathbb{R}^2$ $g$ is differentiable on $\mathbb{R}^2$ if and only if $f(0)=0$ $g$ is differentiable on $\mathbb{R}^2- \{ (0,0)\}$   I do not have much idea of differentiation of multivariable calculus.  I just tried out some examples to get some idea..  I have to take some function whose derivative at $0$ has to be zero.  for simplicity I would take $f(x)=x^2$ Then I would get :     $g(x,y)=x^2+y^2$ which is differentiable on $\mathbb{R}^2$   This would suggest me that second option has more chances as $f(0)=0$ in this case.  I would now take $f(x)=x^2+1$ then :     $g(x,y)=x^2+y^2+1$ which is differentiable on $\mathbb{R}^2$ though $f(0)\neq 0$   So, I would now eliminate second option and third option also...  So, It is now got confirmed that i have to work out to "Prove" that first option is correct.  Now, I have to prove that $g(x,y)=f(\sqrt{x^2+y^2})$ is differentiable.  I have to look for partial derivatives first :  $$\frac{\partial g}{\partial x}= f'(\sqrt{x^2+y^2}).\frac{2x}{2\sqrt{x^2+y^2}}=f'(\sqrt{x^2+y^2}).\frac{x}{\sqrt{x^2+y^2}}$$  $$\frac{\partial g}{\partial y}= f'(\sqrt{x^2+y^2}).\frac{2y}{2\sqrt{x^2+y^2}}=f'(\sqrt{x^2+y^2}).\frac{y}{\sqrt{x^2+y^2}}$$  I have used here that $f$ is differentiable on $\mathbb{R}$  As $f$ is continuously differentiable, we have $f'$ is continuous and I know that :  $\frac{x}{\sqrt{x^2+y^2}}$ and $\frac{y}{\sqrt{x^2+y^2}}$ are also continuous.     As $f'$ and $\frac{x}{\sqrt{x^2+y^2}}$ are continuous So is the product $\frac{\partial g}{\partial x}=f'(\sqrt{x^2+y^2}).\frac{x}{\sqrt{x^2+y^2}}$      As $f'$ and $\frac{y}{\sqrt{x^2+y^2}}$ are continuous So is the product $\frac{\partial g}{\partial y}=f'(\sqrt{x^2+y^2}).\frac{y}{\sqrt{x^2+y^2}}$   So we have continuous partial derivatives for $g(x,y)$..  So, I am willing to conclude that:     $g(x,y)$ is  differentiable on $\mathbb{R}^2$   I would be thankful if some one can confirm if the answer correct.  I would be much more thankful if some one can let me know if there are any gaps in my argument.  This is just a proof verification Question..  Thank you.


I have a column called Source in my table called TPR. The Source column is of datatype varchar and contains text like January 2020 and Q3 Completed. When I run a query that only extracts the date-like fields to CAST as dates like so: SELECT CAST(Source AS DATE) AS Source FROM TPR WHERE Source NOT LIKE 'Q3 Completed`  I get the appropriate results. When I place the query above in a subquery to act as a filter like so: SELECT CaseNumber FROM TPR WHERE Source =      SELECT CAST(Source AS DATE) AS Source      FROM TPR      WHERE Source NOT LIKE 'Q3 Completed`  I get the following error: Conversion failed when converting date and/or time from character string. Warning: Null value is eliminated by an aggregate or other SET operation.  I've also tried the following but it too failed: SELECT CaseNumber FROM TPR WHERE CAST(Source AS DATE) =      SELECT CAST(Source AS DATE) AS Source      FROM TPR      WHERE Source NOT LIKE 'Q3 Completed`  I don't understand why this is failing.

I have some data tables that where imported in from a flat file source so everything is varchar(max) except FileRecordID which is a int that hold the row number the data came from in the flat file source (and is the primary key of the imported table.)  The following query works perfectly  SELECT *   FROM [CLIENT]   left outer join   (     select cast(ENTRY_CODE as int) as ENTRY_CODE, ENTRY_DESCRIPTION     from [ENTRY]     inner join [TABLE] on [ENTRY].ENTRY_TABLE = [Table].FileRecordID     where ENTRY_RECD = 'A' and TABLE_RECD = 'A' and TABLE_CODE = 'CLTDISC' and ISNUMERIC(ENTRY_CODE) = 1   ) as discounts on CLIENT_CLASS = ENTRY_CODE   where Client_recd = 'A'   --and client.[FileRecordID] = 10607   I get the exact number of rows I was expecting and everything is fine. However if I uncomment that last line so I only show the record from the client data table who has  client.[FileRecordID] = 10607 it reports to me      Msg 245, Level 16, State 1, Line 1   Conversion failed when converting the varchar value 'BK/TN' to data type int.   The problem is from cast(ENTRY_CODE as int) as ENTRY_CODE in the first outer join. ENTRY can contain text in the ENTRY_CODE column, however all records that have ENTRY_TABLE set to the line number from TABLE where TABLE_CODE = 'CLTDISC' will always be numbers only. I perform the cast as ENTRY_CODE may or may not have leading 0's and spaces so I am trying to get them to be well formed.  What appears to me to be happening is adding client.[FileRecordID] = 10607 to the outer query causes the where clause not to be evaluated before the cast to int in the inner query.  I have tried things like adding and ISNUMERIC(ENTRY_CODE) = 1 to both the inner and outer queries but it has no affect.   How do I fix this? Can anyone explain what is happening so I can understand how to avoid this in the future?   Non filtered query planed execution   Filtered (non working) query planned execution  Notice the reversed order of the Compute Scalar and the Filter    Other things I have tried that do not work:   Move TABLE_CODE = 'CLTDISC' in to the on clause in the inner join. Added OPTION (FORCE ORDER) query hint to the query.     Update:  but it is very "hackish" IMHO, I really would still like a explanation of how to avoid things like this in the future and how to do this correctly.  SELECT *   FROM [CLIENT]   left outer join   (     select ENTRY_CODE, ENTRY_DESCRIPTION     from [ENTRY]     inner join [TABLE] on [ENTRY].ENTRY_TABLE = [Table].FileRecordID     where ENTRY_RECD = 'A' and TABLE_RECD = 'A' and TABLE_CODE = 'CLTDISC' and ISNUMERIC(ENTRY_CODE) = 1   ) as discounts on CLIENT_CLASS = REPLACE(LTRIM(REPLACE(ENTRY_CODE, '0', ' ')), ' ', '0')   where Client_recd = 'A'   and client.[FileRecordID] = 10607


I got the notification that "Bounty expires in 3 days".  Now normally,  I assume its purpose is to remind me to consider accepting an answer.  However, in this case there are no answers posted yet. What is it reminding me to do then?

My bounty failed. It was aimed to attract at least one answer, but no answer was actually given. Do I still need to see these -- a bit annoying -- reminders that my bounty is about expire within... 3 days... 1 day etc.? Can these be disabled in this situation.  I mean... what should I actually do with these reminders or what is their purpose -- what should they remind me? Neither I can't award bounty to any answer manually nor it can be awarded automatically, because... there are no answers.


Has anyone worked on Modelbuilder or python to write to automate creating a folder using the database or table file to write output a folder name and or/create the subfolders? I recalled I had an aml that allowed me to modify codes to allow to output new folders within the folder.  For example, you have a database that has the list of the name of the counties on the dbf file or table and then insert it to the Modelbuilder. Example name of county : Dona Ana and then use that name to create a folder Dona Ana  ( to hold imagery for NAIP on the server when I get all of the New Mexico counties in a hard drive to me)    I'm adding this screenshot to show what I am doing wrong... ( This is the pre-screenshot) that was done yesterday December 9th.   Now that that i have figured it out and here is the screenshot December 10th.

I am just getting started with ModelBuilder and I would like to create a folder in the same folder where the respective mxd is located. The tool have to be usable in different projects, so setting Current Workspace to a specific folder doesn't do the trick.  Is there any chance to get access to a path of the Home folder which would be the same in any given project?


Ned Stark has five legitimate children (in order of age) Robb, Sansa, Arya, Bran, and Rickon. Up through the events of A Dance With Dragons we end up with the following:       Robb - dead      Sansa - Alive, at the Eyrie, under the protection of Littlefinger who is plotting something.      Arya - Alive, off in Bravos, but even if she does return would still be behind all the others.      Bran - Alive, may or may not return, but given his situation it highly unlikely he would be laying a claim.      Rickon - Alive, MIA (Davos has been sent to see if he is hiding on Skagos)    Sansa and Rickon would have the best claims based on the above information. This would also mean that the Boltons will have to be stripped of their titles over the North as well. I do not see this as a major problem as the other Lords of the North believe only a Stark can rule Winterfell.   Sansa seems to be in a position to claim sooner, but Rickon is liable to just pop out of nowhere (much like Aegon VI). Littlefinger will not have wanted all his hard work to go to waste, so I would imagine he will do anything to install Sansa. The other Lords of the North may back Rickon as he is male... given the general rules of succession in Westeros, male heirs are given priority over females. However, with the state of turmoil most of these rules are subject to all kinds of interpretations and ignorance.    However, there is final option... Jon Snow. If Jon was able to secure a royal decree making him a true Stark his claim would be better than both Sansa (Jon is male) and Rickon (Jon is older). Is there any evidence that this has happened?    I am looking for evidence from the books only. The show is outpacing and has gone in different directions in many instances.

I'm three quarters through the third book, "Storm of Swords" right now (so please, no spoilers from too late in the book or any subsequent books).  I just read a part where Tyrion is discussing with Prince Oberyn and they mention the difference between Dornish law and Westerosi law in Line of Succession (ie women can rule under Dornish law).  I'm a little confused trying to puzzle out what the exact LOS rules are.  At first I though it was: at the moment a king/lord dies, to find who holds the title next, you do a depth-first search down the family tree starting with the oldest sibling (ignoring anyone who isn't true-born or has given up their claim ie as Night's Watch or Kingsguard etc.).  Then, for Dornish law you take the first living person and for Westerosi law the first living male person found in this way (so succession can pass through a woman in both cases, but only Dornish law actually allows them to claim the title). If there are no valid living heirs, then you work backwards along the paternal line until you find an ancestor who has living heirs and start from them.  But there were various references to if Sansa's brothers were all dead, then her child would claim Winterfell.  It seems to me that that's only true if somebody else doesn't get it first.  In other words, if Sansa's brothers are killed before she has a child (even if she's already married), doesn't that mean Winterfell would pass to the nearest cousin along her father's line (whomever that may be)?  And then because that cousin has already held Winterfell, when they die the next in the line of succession starts from them so Sansa's children's family would not have claim to Winterfell again unless that cousin has no valid heirs.  What am I missing here? Is there some exception?  Are there no valid cousins?


I am trying to use Ubuntu in a virtual machine on my windows computer. I am trying to set up a shared folder. When I put in the command sudo adduser carl vboxsf in terminal it asks for my password. When I try to type it in, it won't accept any input from the keyboard. Any suggestions?

When I'm about to install a program in the terminal it wants the password:  [sudo] password for xxx:   But when I start to type my password nothing happens. What should I do?


Consider the following sentence (modified from ):     It is now widely accepted that an archaeal host likely gave rise to the cell proper.   (Talking about eukaryotic origins.) What exactly the grammatical role of "proper" is here? Is "cell proper" standing for the concept of "a proper cell" and thus "proper" is a ? Or is it an adverb meaning "properly"? I have the feeling that the former is closer to the truth. I understand that words representing attributes can be positioned after the noun, for example:        money unspent   heir apparent   people unharmed   star visible   people responsible      though it seems to me that these are mostly verb derivatives that perhaps are shorthands for e.g.:      Every star (that is) visible (by an anonymous grammatical subject) is named after a famous astronomer.   Clearly, "proper" is not a verb and does not behave in this way. I'm sure I've encountred similar cases with other non-verbs, but unfortunately, nothing comes to my mind at the moment. Also, can you use "proper" (and related) any time postpositionally? Are these valid? If not, how should one cumulate adjectives with a postpositional attribute?        This is an argument proper.   This was a breakfast proper. (might be ok but too formal?)   This was an English breakfast proper. (doesn't sound right at all)   This was a breakfast English proper. (ugh)      So how is the very first example with "proper" to be understood? Is "proper" a special word that conveys some extra meaning here that I fail to grasp and which justifies its special position? Can someone provide some historical background and insight on this formula? Also, what other (non-verb) words can be used this way?  Please don't close this question being a duplicate of  or  because it isn't. I'm asking for the grammatical role of a specific part of the sentence, what kind of words can play this role (if not verb-derived) and why these particular words ended up with this somewhat special role. Unfortunately, the answers at  are either simply stating the fact that it is a postpositive adjective form (with no further context) or list a few examples but with no explanation and background at all.

Right now I can only think of one instance in which this regularly occurs.  The adjective proper is sometimes placed after the noun it modifies, e.g:      A class of cold-blooded oviparous or ovoviviparous vertebrated animals whose skin is covered with scales or scutes; the reptiles proper.   What is this word order called, and why is it ever used?  Edit: I really want to know about proper, and while the word hyperbaton relates to post-positivity when it is meant to be rhetorically impacting, it doesn't seem to fit with ubiquitous post-positivity, such as that of proper.  I've accepted hyperbaton as the correct term/reason for almost all post-positive constructions, but I'd like a complete answer to include proper.


So I have this piece of Java code:  if (e1.getNodeName().contains("column")) {     String temp_type = "";     String temp_index = "";     String name = "";     String format = "";     int index = 0;     DataType type = null;      try {         name = e1.getElementsByTagName("name").item(0).getTextContent();         System.out.println("Name: " + name);     } catch (NullPointerException e) {         System.out.println("No name");     }      try {         temp_index = e1.getAttributes().getNamedItem("index").getNodeValue();         index = Integer.parseInt(temp_index);         System.out.println("Index: " + index);     } catch (NullPointerException e) {         System.out.println("No index");     }      try {         temp_type = e1.getElementsByTagName("type").item(0).getTextContent();         try {             type= DataType.typeOf(temp_type);         } catch (UnknownDataTypeException e) {             System.out.println("Unknown Data Type");         }         System.out.println("Type: " + type);     } catch (NullPointerException e) {         System.out.println("No type");     }      try {         format = e1.getAttributes().getNamedItem("format").getNodeValue();         System.out.println("Format: " + format);     } catch (NullPointerException e) {         System.out.println("No format");     }   I am reading an XML file by implementing a DOM parser. I have a sample XML file and ever entry DOES NOT contain all of the following values (name is missing for the first entry). When I run this piece of code, everything prints out perfectly and I am able to handle the errors exactly how I want to.   My next step is to use each of these values (name, index, DataType, format) to create a Person object which I have defined in a previous class. I thus having the following piece of code to create a Person object and add it to an ArrayList (personList):  Person c = new Person(name, index, type, format); personList.add(c);   Those two lines above give me a NullPointerException, even though I handle the thrown errors and I define initial values for my instance variables name, format, index and type at the beginning of the code.  Why doesn't Java see that I have already dealt with those errors and allow me to properly create a Person object?  I deeply appreciate all help.   Below is my Person class:  public class Person {     public String name;     public int index;     public DataType dataType;     public String dateFormat;      public Person(String name, int index, DataType dataType, String dateFormat) {         this.name = name;         this.index = index;         this.dataType = dataType;         this.dateFormat = dateFormat;     }      public String getName() {         return name;     }      public int getIndex() {         return index;     }      public DataType getDataType() {         return dataType;     }      public String getDateFormat() {         return dateFormat;     }     enter code here  }

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I have always wondered, why is it that a lens can only focus from so far away from the subject?  I know some lenses have a kind of macro switch which basically allows them to focus closer but why are they unable to in the first place?

I understand that to reduce minimum focusing distances, macro lens design must focus on maintaining certain distances between the lens and the sensor.   However, is the placement of the lens and its elements the only difference between a macro and a prime or any other regular lens? OR are there other structural differences as well?  There are quite a few posts that address the differences but none that really bring out the "physical" differences.


I am very active person in stackexchange, specially with Stackoverflow. I was at the top as +52543 changes. I am the only one user with this highest changes. So my question is how stackexchange define changes ?

What does the Change field represent on the  for SO? Refer to the highlighted areas in the image below:   Rank: the user's ranking for the selected time period (week, month, quarter, year) Change: +/- change representing... ??? Total Reputation: the user's total reputation [Time Period] Reputation: the user's reputation for the selected time period (week, month, quarter, year)  So what is the Change field measuring?


Salesforce transfers ownership of all open tasks on the opportunity currently if the opportunity owner is changed. How can I write my trigger to prevent this from happening?

We have a workflow that creates tasks and assigns them to a specific user when an opportunity is closed. It's salesforce standard behavior that when the account owner is changed, the open tasks are also reassigned to the new account owner. I'm trying to write a trigger that:   checks if the account owner and/or task owner is changed FROM 00590000000a3xU if yes, reassign the tasks back to 00590000000a3xU only open tasks and tasks where Orb Team Task (checkbox) is true will be reassigned   I was getting all sorts of errors from the old code even after making the changes sfdcfox's pointed out. So I decided to change my approach. Here's the new and working code:  trigger AssignTaskBackToWarehouse on Account (after update){ List<Task>TasksToUpdate = new List<Task>(); Map<Id,Account>amap = new Map<Id,Account>([SELECT Id, OwnerId,(SELECT Id, Status, Warehouse_Task__c     FROM tasks     WHERE Status != 'Completed' AND     Warehouse_Task__c = true)     FROM Account     WHERE Id =: Trigger.newmap.keyset()]); for(Account a : Trigger.new){     for(Task t : amap.get(a.Id).tasks){         t.OwnerId = '00590000000XXXX';         TasksToUpdate.add(t);     }     } if(TasksToUpdate.size() > 0){     update TasksToUpdate; } }


I am using my university default LaTeX file for my thesis (written in LaTeX). I am still not sure how the font that LaTeX uses is called, but if I click in font --> properties it appears with the name of CM R 12. Is it equivalent to a common font name that typically MS Word would use?  I am wondering how I could use that same font in my other software, such as MS Word, Adobe Photoshop, etc.?  How should I install it on my mac?  I am using MacBook Pro, with OS 10.9.1.

For some complicated diagrams, I need to use something like Adobe Illustrator or Inkscape, and would like to include nicely typeset labels. (I'm aware of post-processing solutions, such as pinlabel.) One way to do this is to use a closely-matching font, and then convert fonts to outlines. Better, however, would be to use Computer Modern directly in Illustrator.  Where can I find a Computer Modern font compatible with Adobe Illustrator?


I'm little new in LateX. What I want to achieve is to make overbrace over two columns in 3-column table. I mean that I don't want to make overbrace over whole neither one column.  For now I got this:  \begin{tabular}{c | p{2cm} | c@{,} l} \multicolumn{2}{c}{$overbrace{Col1 | Col2}$} & \multicolumn{2}{c}{Col3} \\ R1C1 & R1C2 & 1&24123 R2C1 & R2C2 & 12&3123 \end{tabular}   I think that solution could be simple but I can't get it.  Have any ideas?

I want to notate some information to table column groups, using underbraces. So there should be an \underbrace under the table, that stretches over multiple rows. I tried the following:  \begin{tabular}{r|c|c|c|c}   i & 0 & 1 & 2 & 3 \\   \multicolumn{1}{c}{} & \multicolumn{3}{c}{$\underbrace{\hfill}_{a_1}$} & \multicolumn{1}{c}{$\underbrace{\hfill}_{a_1}$} \end{tabular}   The \hfill here doesn't work as I'd expect. The brace isn't stretched, but remains small and is centered. How can I make it stretch?


In the below function assigning the multiplier function on twice variable so the factor parameter 2 should be replaced by 5 & how the number getting defined? The value of number is 5 and factor is 2 but how? Please explain.    function multiplier(factor) {   return number => number * factor; }  let twice = multiplier(2); console.log(twice(5));

How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not understand closures themselves?  I have seen  given on Wikipedia, but unfortunately it did not help.


Is there a way to find out which application or command catches a global hotkey in osx?

I have some global shortcut that does nothing apparent, but is overriding the combination in all applications. The shortcut is Command+Alt+F, which overrides the "Google Search" in Safari, and the Replace in Sublime Text 2.  Is there any way to determine which application this shortcut is actually being handled by, or what action it is triggering?


Is there a way to toggle between Fn (multimedia keys, brightness, etc) and F keys (F1, F2, ...) per app? I used to use an app that could perform this but now I just can't remember it's name.   As a developer I use a vmware fusion virtual machine to maintain some windows apps, and it would great if I could just enter the VM with the keyboard toggled to F keys, and when I get back to the OSX the keyboard gets toggled back to Fn keys.  Any ideas?

Is there a keyboard shortcut for toggling between Function and classic F keys?


I'd like to make footnotes in LaTeX that look a bit more traditional; that is, rather than breaking the line in the footer between two footnotes, I'd like LaTeX to simply add an indent where the last footnote left off and begin the new footnote there.  This would solve the problem I'm having with spacing; I need to cite various sections of the same work, and it is extremely important that I cite them as they are used.  However, this becomes very cumbersome, and can fill up to half a page with footnotes reading nothing but "Ibid. \S 7.2," for example.  I'm a bit new at all this, so please bear with me.

For documents with a lot of footnotes, particularly if some are short, it can be nice to have multiple on the same line, e.g.:        this is the first footnote 2. this is the second footnote 3. this   if the third footnote 4. finally, we begin to wrap around.      Rather than having it:        First footnote   Second footnote   Etc.      Is there a way to achieve this in LaTeX?  (This is not a duplicate of  because I'm asking about regular full page environment.)


I am new to QGIS. The version I am trying to get used to is v3.6. I have been trying to sort this table in map layout but still ending up as displayed in the table below. Need help to sort in ascending order.

I have a text column. It's made up of the numbers 1, 2, 3 up to 1650, which are currently not in increasing order. However, it also includes text such as 520a, 639a, 639b, 639c. Sorting on increasing value would produce 1, 10, 100, 1000, etc, rather than 1, 2, 3, ... I know how to convert from text to integer, which would work if my cells did not include alpha characters. How can I sort to end up with 1, 2, 3, ..., 10, ..., 100, ..., 519, 520a, 521, ..., 638, 639a, 639b, 639c, 640, ..., 1650?


I am working on an app where user is redirected to a navigation drawer activity depending on his login type. There are total 3 login types. Now, my problem is when i fetch login type from shared preference and try to redirect user to his drawer on second time app opening, it does not skip the login screen. I shows the preference data in toast as is, but does not skip the login activity.   Can any one help?  final SessionManagement session = new SessionManagement(getApplicationContext());         Toast.makeText(getApplicationContext(), "User Login Status: " + session.isLoggedIn(), Toast.LENGTH_SHORT).show();      session.checkLogin();   and this is my isLoggedin function    public boolean isLoggedIn(){     return pref.getBoolean(IS_LOGIN, false); }   this is checkLogin function      public void checkLogin(){     // Check login status     if(!this.isLoggedIn()){         // user is not logged in redirect him to Login Activity         Intent i = new Intent(_context, MembersArea.class);         // Closing all the Activities         i.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);          // Add new Flag to start new Activity         i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);          // Staring Login Activity         _context.startActivity(i);     }  }   this all sits in SessionManagement class  I also have this function redirectAuto    public void redirectAuto(String userType){     // Check login status     if(this.isLoggedIn()){          if(userType == "type1"){             Intent intent = new Intent(_context, Type1.class);             _context.startActivity(intent);         }else if(userType == "type2"){             Intent intent = new Intent(_context, Type2.class);             _context.startActivity(intent);         }else if(userType == "type3"){             Intent intent = new Intent(_context, Type3.class);              _context.startActivity(intent);         }else{             Toast.makeText(_context, "Please login", Toast.LENGTH_SHORT).show();         }      }  }   but when i call this if isLoggedIn is false, it does not go any where... Just stays at Login screen

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?


Is there a way to generate custom code in Visual Studio COMMUNITY IDE (NOT Visual Studio CODE). Can you create custom code snippets in Visual Studio IDE? For example, I type main and it generates // int main() {  return 0;  } //

In Visual Studio I can type e.g.      for TAB TAB   and a code snippet pops in.   Are there built-in code snippets for private, public, etc. methods as well?


Book (0.25kg) at rest on table.Force that Earth exerts on book is equal in magnitude to force that book exerts on Earth as this is Newton 3rd law pair. Please tell me if this statement made is correct and why.

I've got a lot of question about normal force. First, what causes normal force. Next, how do the object know how much normal force to exert. Lastly, how is this not an application of Newton 3rd law. Imagine a book on a table. The book is exerting a downward force on the table(weight), the table is exerting a normal force on the book(upwards) . People keep saying that they act on the same objecr, the book, but the book's weight is acting on the table, so why is this not Newton 3rd law


asked this question earlier, but now i will ask again with bit more explanation of what i did, I could not get it worked please help me out.   I am trying to download a file which is having a .exe extension but it is actually showing as a binary file (MIME type is application/octet-stream ) when i checked the GET request from the server, and i wrote the below code for setting up the firefox preferences which included binary file too.   firefoxProfile.setPreference("browser.download.folderList", 2);         firefoxProfile.setPreference("browser.helperApps.neverAsksaveToDisk", "application/x-msexcel,text/html,application/xop+xml,application/vnd.ms-excel.sheet.binary.macroenabled.12,application/vnd.wap.wbxml,application/octet-stream,application/x-authorware-bin,application/x-bcpio,text/plain,application/x-msdownload,application/excel,application/x-excel,application/excel,application/x-excel,application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel");     firefoxProfile.setPreference("browser.download.manager.showWhenStarting", false);          firefoxProfile.setPreference("browser.download.dir", "C:\\Users\\Downloads"); firefoxProfile.setPreference("browser.privatebrowsing.autostart", true);     GlobalVariables.BrowserDriver = new FirefoxDriver(firefoxProfile);   when i click the link for downloading, it is still asking for the save message, and the confusing part is at this stage i opened another tab in firefox and checked the preferences and its all set as false. that means the code part is working to set up preferences but save pop up message is still coming, i have no idea what is the problem here. If someone knows please guide me,   thanks

I am trying to download an application and check if it's downloaded into my local system or not. But when I click the download link I have a popup with Save or Cancel options, which is stopping me from downloading the file. I googled and found some solutions and tried to change the profile of Firefox by adding the below code, but it is not working.  firefoxProfile.setPreference("browser.download.folderList", 2); firefoxProfile.setPreference("browser.download.alertOnEXEOpen", false); firefoxProfile.setPreference("browser.helperApps.neverAsksaveToDisk", "application/x-msexcel,application/excel,application/x-excel,application/excel,application/x-excel,application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel"); firefoxProfile.setPreference("browser.download.manager.showWhenStarting", false); firefoxProfile.setPreference("browser.download.manager.focusWhenStarting", false); firefoxProfile.setPreference("browser.helperApps.alwaysAsk.force", false); firefoxProfile.setPreference("browser.download.manager.alertOnEXEOpen", false); firefoxProfile.setPreference("browser.download.manager.closeWhenDone", false); firefoxProfile.setPreference("browser.download.manager.showAlertOnComplete", false); firefoxProfile.setPreference("browser.download.manager.useWindow", false); firefoxProfile.setPreference("browser.download.manager.showWhenStarting", false); firefoxProfile.setPreference("services.sync.prefs.sync.browser.download.manager.showWhenStarting", false);   This is the code I added for setting up Firefox preferences, but I still get the popup.


Working with Centos 7  In the rsyslog.conf file there are some rules that place logs in directories that start with a -/ (Dash slash) before stating which directory to place the logs, while others have the usual / followed by the directory.  I know the slash before the directory says to start from the root directory, but what does the dash do?  Does the dash mean something specific as I cannot find the meaning behind it anywhere.  Thank you! TDR

I'm trying to understand the /etc/rsyslog.conf file, but I'm missing something. For example, this is a part of the file:  auth,authpriv.*         /var/log/auth.log *.*;auth,authpriv.none      -/var/log/syslog cron.*              /var/log/cron.log daemon.*            -/var/log/daemon.log kern.*              -/var/log/kern.log lpr.*               -/var/log/lpr.log mail.*              -/var/log/mail.log user.*              -/var/log/user.log   According to  page:     The facility is one of the following keywords: auth, authpriv, cron,   daemon, kern, lpr, mail, mark, news, security (same as auth), syslog,   user, uucp and local0 through local7.      The priority is one of the following keywords, in ascending order:   debug,info, notice, warning, warn (same as warning), err, error (same   as err) crit, alert, emerg, panic (same as emerg). The keywords error,   warn and panic are deprecated and should not be used anymore. The   priority defines the severity of the message.      An asterisk ("*") stands for all facilities or all priorities,   depending on where it is used (before or after the period). The   keyword none stands for no priority of the given facility.      You can specify multiple facilities with the same priority pattern in   one statement using the comma (",") operator. You may specify as much   facilities as you want. Remember that only the facility part from such   a statement is taken, a priority part would be skipped.      Multiple selectors may be specified for a single action using the   semicolon (";") separator. Remember that each selector in the   selector field is capable to overwrite the preceding ones. Using this   behavior you can exclude some priorities from the pattern.   So, this is pretty understandable but what about the file path on the right. It can be just a path, or path with | or - before it (or maybe even something else). What is the difference between the three?


How can I get in C# the application that is using a given file ?  To be more precise, if the app I am developing wants to overwrite a file that is being used by another application, I would like to display an error message such as : "Close application XXX before overwriting file YYY".

I've seen several of answers about using  or , but I would like to be able to find out in my own code (C#) which process is locking a file. I have a nasty feeling that I'm going to have to spelunk around in the win32 API, but if anyone has already done this and can put me on the right track, I'd really appreciate the help. Update Links to similar questions


Given a polynomial with coefficients in C, consider the image of the polynomial restricted to the unit circle (That is plugging in only things with absolute value one). How many loops around 0 can this image do? I'm thinking that at most the degree of the polynomial but I haven't been able to come up with a reason.

The question is, how many times does $f(C_r)$ go around $0$ for $C_r = \{x \in \mathbb{C}: |x|=r\}$ and a polynomial with complex coefficients $f$.    The answer is clear to me when $f(x) = ax^n + b$ but I don't see how exactly middle terms affect the result. How to see this without a graph? Can this be found for any $r$?    Many thanks


I would like to know how to set the hostname of another mac remotely as done locally via sudo scutil --set HostName <new host name>.   I was in a cowork space in Medellin today and someone had changed my hostname to iphone-de-diana. I also would like to know how to prevent this.   PS. I have a 2017 Macbook Pro running Mojave

I realized that the hostname had changed while I was doing some work using terminal in OS X Yosemite. I thought there might be an IP address conflict so I reset it. However I still get another device's name (someone else's iPhone, to be exact) when I use the hostname command:  Last login: Fri May  1 15:52:42 on ttys000 SomeonesiPhone:~ irem$  SomeonesiPhone:~ irem$ hostname SomeonesiPhone.wireless.duke.local   What's going on and how can I fix this?  It appears the IP address has not changed. But the address that I get by doing ipconfig getifaddr en0 is different from my public IP address.  I looked up my public IP address using Google, like this:


Is it possible to format for example a double of value 0.41 to 00.41 using only String format ? In other words, is it possible to left zero pad doubles ? The result I would like should show as xx.xx  Unfortunately I haven't been able to find something simple although I am sure there is a simple solution... I have tried %02.2f but it doesn't work...  Thank you for your help !

How do you left pad an int with zeros when converting to a String in java?  I'm basically looking to pad out integers up to 9999 with leading zeros (e.g. 1 = 0001).


This code is building from the solutions posted .  I am trying the approach suggested from the .  I am having two issues:   I am not sure how to get the arrow to point to the text "free variable" with this new approach, and The brackets seem to be shorter and closer to the numbers as compared to the original matrix.   Can you help me fix these issues of drawing the arrow to point to the text and also fix the way how the brackets appear?    This is how I would like my end result to look, Thanks!:    Here is the code:  \documentclass[11pt]{book}  \usepackage{amsmath,amsfonts,amssymb,amsthm} \usepackage{xcolor} \definecolor{ocre}{RGB}{0,173,239}  \usepackage{blkarray}  \makeatletter \renewcommand*\env@matrix[1][*\c@MaxMatrixCols c]{%   \hskip -\arraycolsep   \let\@ifnextchar\new@ifnextchar   \array{#1}} \makeatother  \usepackage{tikz}  \usetikzlibrary{arrows,matrix,positioning,fit} \tikzset{%   highlight/.style={rectangle,rounded corners,fill=ocre!50,draw,     fill opacity=0.5,thick,inner sep=0pt} } \newcommand{\tikzmark}[2]{\tikz[overlay,remember picture,   baseline=(#1.base)] \node (#1) {#2};} % \newcommand{\Highlight}[1][submatrix]{%     \tikz[overlay,remember picture]{     \node[highlight,fit=(left.north west) (right.south east)] (#1) {};} }  \begin{document}  \[ \begin{blockarray}{ccccc} x_{1} & x_{2} & x_{3} & x_{4} &  \\ \begin{block}{[cccc|c]}   1 & 0 & \tikzmark{left}{-1} & 0 & 0 \\   0 & 1 & 2 & 0 & 0 \\   0 & 0 & \tikzmark{right}{0} & 1 & 0 \\ \end{block} \end{blockarray}  \]  \Highlight[new1]   \tikz[overlay,remember picture] {   \draw[->,thick,red,dashed] (new1)  node [pos=0.66,above,text width = 2cm] {\emph{free \\ variable}; }}  \end{document}

I have a matrix and need to highlight some elements in the matrix. I have found how to highlight a single element (I want to put the cell in the square):  $$ A = \begin{bmatrix} \fbox{0} & \fbox{0} & 0 \\  \fbox{0} & \fbox{0} & 0 \\ 1 & 1 & 1 \\  \end{bmatrix}$$   But how can I outline elements of the submatrix like in the picture below? I need just a frame where some elements are located.


Consider a Trading Card Game that is currently available for play in digital format only, the game in question would be HEX: Shards of Fate, but this question is intended as a general question about all Trading Card Games.  Now my idea is to create an AI player for that game and see how good it performs. For this I'll need to build a client that is capable of playing the game and initially I want to test it myself and distribute it to a few friends so they can play around with it.  I am myself unsure of whether the EULA specific to this game are of any importance, as I believe all games will try to protect their games to the fullest extent as possible. However we also know that there are fansites out there which are allowed (are they legally allowed?) to display the cards of the game (including artwork) as long as they have a clear reference to the game which it is about and they do not attempt to make any money out of the cards themselves. I do believe that premium services on a fansite itself are legal.  Ultimately I want to create a fansite where:   There is an obvious reference that the cards, etc. belong to the company that created the game. You can as player play versus an AI, using a game interface that is similar to the one that is in the actual digital version. It most likely won't be an exact 1:1 copy and some substitute interface will be used that doesn't look as nice. Playing versus the AI is not promoted as an actual game, it is just a site where you can test your skill as player, and as creator I can test the effectiveness of the AI. All cards are freely available to any player, I most surely do not intend to monetize that part. There is possibly a premium service that offers benefits, possibly more detailed statistics or more AI matches, more options, etc.   So I've got the following questions about this:   Is the limited distribution amongst myself and friends legal? Is this fansite legal without the premium service? Is the premium service legal? Would selling booster packs (where you can obtain the cards) and having the player start with a minimal collection actually be illegal?

I've played around in the past of the 2D Flash fan-made version of the popular Valve game Portal.  It has basically the exact same mechanics, but as a 2D side-view flash game.  Lately I've toyed around with creating a simplified flash version of some of my favorite franchises (such as Zelda, Mario, Splinter Cell, etc.).  Of course, nothing is "stopping" me from just using the same mechanics and just changing the name to something not copyrighted.  I have witnessed projects that have tried to directly port a 3D game into a 2D simplified version, with the exact same plot and puzzles (Ocarina of Time in 2D comes to mind), and I have seen them being shut down.  But I am not likely going to exactly duplicate any game...just borrow some of the source material and basic underlying mechanics.  For example, if I were to make a Zelda-influenced fan game, I would have items such as the Hookshot, Boomerang, and all other sorts of ones from the Gameboy Zeldas; just with a custom plot and dungeons.  With likely the same mechanics.  What are the legal issues involved in this?  I used to think it was a "Don't do this ever; it's a bad idea."  But then I've seen the Portal clone, and now I'm curious.


I don't understand how the list function works.   Here is the research I have done:  Documentation I am looking at:    In particular, I am looking at this paragraph:     class list([iterable]) Return a list whose items are the same and in   the same order as iterable’s items. iterable may be either a sequence,   a container that supports iteration, or an iterator object. If   iterable is already a list, a copy is made and returned, similar to   iterable[:]. For instance, list('abc') returns ['a', 'b', 'c'] and   list( (1, 2, 3) ) returns [1, 2, 3]. If no argument is given, returns   a new empty list, [].      list is a mutable sequence type, as documented in Sequence Types —   str, unicode, list, tuple, bytearray, buffer, xrange. For other   containers see the built in dict, set, and tuple classes, and the   collections module.   Here is another post:    On that post, the someone posts the following:  >>> myList = ['hello'] >>> myList=list(myList[0]) >>> myList ['h', 'e', 'l', 'l', 'o']   But when I do this:  for root, dirs, files in os.walk(os.getcwd()):      path_files.append(files)  path_files [['combinedPdfs.py', 'meetingminutes.pdf', 'meetingminutes_encrypted.pdf', 'pdf_intro.py', 'pdf_paranoia.py', 'readDocx.py']]  >>> path_files_2 = list(path_files[0]) >>> path_files_2 ['combinedPdfs.py', 'meetingminutes.pdf', 'meetingminutes_encrypted.pdf', 'pdf_intro.py', 'pdf_paranoia.py', 'readDocx.py'] >>> path_files_2[0] 'combinedPdfs.py' >>> path_files_2[1] 'meetingminutes.pdf'   Why did what I do work differently than the user from the other post?   Edit #1:  If I run something like this:  >>> myList2 = ['hello', 'goodbye'] >>> myList2[0] 'hello' >>> myList2 = list(myList2) >>> myList2 ['hello', 'goodbye'] >>> myList2  = list(myList2[0]) >>> myList2 ['h', 'e', 'l', 'l', 'o']   If I run something like this:  >>> myList4 = [['Hello', 'goodbye']] >>> myList4 = list(myList4) >>> myList4 [['Hello', 'goodbye']] >>> myList4 = list(myList4[0]) >>> myList4 ['Hello', 'goodbye']   I see the definition, but I wish there was a more "laymans" way to explain it.

What's the difference between the list methods append() and extend()?


I have the following code below that is a class for a button taken from another post. I was wondering if I can change the opacity of the background of the button without changing the opacity of the text on it. How can I achieve this? Code: import pygame  pygame.init() font = pygame.font.SysFont('Microsoft New Tai Lue', 23)   class Button(pygame.sprite.Sprite):     # 1) no need to have 4 parameters for position and size, use pygame.Rect instead     # 2) let the Button itself handle which color it is     # 3) give a callback function to the button so it can handle the click itself      def __init__(self, color, color_hover, rect, callback, text='', outline=None):         super().__init__()         self.text = text         # a temporary Rect to store the size of the button         tmp_rect = pygame.Rect(0, 0, *rect.size)           self.org = self._create_image(color, outline, text, tmp_rect)         self.hov = self._create_image(color_hover, outline, text, tmp_rect)           self.image = self.org          self.rect = rect         self.callback = callback        def _create_image(self, color, outline, text, rect):         img = pygame.Surface(rect.size)         #img.set_alpha(110)         if outline:             img.fill(outline)             img.fill(color, rect.inflate(-4, -4))         else:             img.fill(color)          # render the text once here instead of every frame         if text != '':             text_surf = font.render(text, 1, pygame.Color('white'))             text_rect = text_surf.get_rect(center=rect.center)             img.blit(text_surf, text_rect)         return img      def update(self, events):         # here we handle all the logic of the Button         pos = pygame.mouse.get_pos()         hit = self.rect.collidepoint(pos)         self.image = self.hov if hit else self.org         for event in events:             if event.type == pygame.MOUSEBUTTONDOWN and hit:                 self.callback(self)  Any help is appreciated.

Can someone give me some example code that creates a surface with a transparent background in pygame?


I have a capped and maxed stat vault. All dwellers are level 50 and maxed at 10 for all stats across the board. My current objective is getting everyone to a solid 100% happiness. But this isn't working for me. Many dwellers are at the 76% to 96% and not going any higher. Dwellers are in the right rooms according to the green corners and the quest credits. They are also in correct maxed +4 gear for that stat associated with the room. Any ideas or suggestions?  Thanks!

All my vault dwellers look really unhappy and bummed out and aside from making babies I'm not sure how to make them happier.  Am I missing something really obvious?


Given positive real numbers $a_1,\dots ,a_n$, how can I prove that the symmetric matrix composed of the entries $\frac{1}{a_i + a_j}$ is positive semi-definite  *this is not a hw question but a self study question from the matrix theory book by xinghzi zhan.

Let $a_1, \ldots, a_n$ be a set of positive numbers. Define a matrix $M_{ij} = \frac{1}{a_i+a_j}$. I'm trying to prove that $M$ is positive-semidefinite. The hint says to use the fact that $\int_{0}^{\infty} e^{-sx}\; dx = \frac{1}{s}$ if $s > 0$. However I don't know how this hint is useful. I've tried choosing an arbitrary vector $x$ and substituting $x^{\intercal}Mx = \sum_{i}\sum_{j} \frac{x_ix_j}{a_i+a_j}$ into $s$ and using properties of exponents to simplify the equation into something that is clearly positive, but without any luck. The denominator $\frac{1}{a_i+a_j}$ is simply too difficult to work with. At this point I think I'm just missing some trick that I don't know. Any help would be appreciated.


What does it mean when we say the domain $\Omega$ is $C^2$? (For example, in )  And what does it mean when we say the function $u(t,x) \in L^p(0,T;L^q(\mathbb{R}^n))$?

What does it mean when we say that a domain is $C^k$, $C^{k,\alpha}$, Lipschitz, or smooth? Is there an intuitive understanding?


Thanks for reading.  Every time I look for "intuitive" explanations of why trig derivatives and integrals are what they are, I always get graphics like the following:    However, Sines and Cosines show up in mathematical topics which aren't always geometric by nature...even if perhaps connections to triangles and circles can always be found.  Are there ways to explain, still intuitively (by intuitive I mean explanations that "click," I don't mean hand-wavy...I hope that makes sense), but non-geometrically, why the derivative of sine is cosine (and why the integral of cosine is sine, derivative of cosine is -sine, etc...)?  Thank you!

I am looking for different ways of differentiating $\sin$ and $\cos$, especially when using the geometric definition, but ways that use other defintions are also welcome.   Please include the definition you are using.   I think there are several ways to do this I didn't find, that make clever use of trigonometric identities or derivative facts. I am looking for these for several reasons. Firstly, it is just interesting to see. Secondly, there may be interesting techniques that can also be applied in a clever way to other derivative problems. It is also interesting to see how proofs can come form completely different fields of mathematics or even from physics.  I have included several solutions in the answers.


Suppose a computer science student who has had lots of life problems and failed courses during their master's degree, but eventually defended successfully with an excellent score, seeks PhD positions. Is it impossible for him to get accepted into a PhD position and a professor who's willing to work with the student or is there still a chance, even a little? The student is from Iran, seeking PhD positions in Canada or Germany.

When applying to a PhD program in the US, how does the admissions process work? If an applicant is weak in a particular area, is it possible to offset that by being strong in a different area?  Note that this question originated from this . Please feel free to edit the question to improve it.


There is a famous saying in Tamil language: "Paarthaal pasu pol, paaindhaal puli pol" which translates to "Looks like a cow, leaps like a tiger".   This is usually used to describe a person who on first look gives an impression that they are silent and submissive, but when confronted, they dominate the confronter.   The closest English proverb which I could think of is Appearances are deceptive, but it doesn't essentially capture the silent nature and the combative nature of a person.   Is there an English saying which means the same?

What do you call someone who pretends to be your friend but is actually your enemy?  A friend suggested spy for me, but that does not nearly describe the word I need for an English project. The character is very good at manipulating how people see him. He's a good liar. And pretends to be your friend but actually is your enemy.


I am new to thread programming in Java and hence this basic question. (I checked, but could not find this question previously asked)  I read that threads can be created either by inheriting the Thread class or by implementing the Runnable interface. I saw a code which had both to the same class.  public class ThreadExample extends Thread implements Runnable { }   I was wondering what kind of situation would want this and if there is any advantage to this, what is it.

From what time I've spent with threads in Java, I've found these two ways to write threads:  With implements Runnable:  public class MyRunnable implements Runnable {     public void run() {         //Code     } } //Started with a "new Thread(new MyRunnable()).start()" call   Or, with extends Thread:  public class MyThread extends Thread {     public MyThread() {         super("MyThread");     }     public void run() {         //Code     } } //Started with a "new MyThread().start()" call   Is there any significant difference in these two blocks of code ?


\begin{align} V_{\alpha \beta} = \left\langle (K_{il} E_{i j}^{\alpha} K_{j m} \delta_l \delta_m + 2 \epsilon_i \delta_m E_{i j}^\alpha K_{j m} + \epsilon_i \epsilon_j E_{i j}^{\alpha} - N_{i j} E_{i j}^\alpha K_{i l} E_{i j}^{\alpha} K_{j m} \xi_{l m} )   (K_{i'l'} E_{i' j'}^{\beta} K_{j' m'} \delta_l' \delta_m' + 2 \epsilon_i' \delta_m' E_{i' j'}^\beta K_{j' m'} + \epsilon_i' \epsilon_j' E_{i' j'}^{\beta} - N_{i' j'} E_{i' j'}^\beta K_{i' l'} E_{i' j'}^{\beta} K_{j' m'} \xi_{l' m'} ) \right\rangle  \end{align}   I woud like to break this long expression with \\ in correspondence of the passage between ) and (. But it does not work, producing  Extra }, or forgotten \right   which I don't get if I don't use \\. How can I solve it?

Can someone tell me what's wrong with this? because i can't figure out where the missing \right( is.  \begin{equation}  \begin{split} Μ=&-\pi \rho \frac{c^{2}}{4}    \left[c\left(\frac{α}{c}-\frac{1}{2}\right)\ddot{h}+Uc\left(\frac{3}{4}-     \frac{α}{c}\right)\dot{\alpha} +\frac{c^{2}}{4}\left(\frac{9}{8}+      \frac{4α^{2}}{c^{2}}-\frac{4α}{c}\right)\ddot{\alpha} \\  &-\left(\frac{4α}{c}-1\right)U C(k) \left(-\dot{h} +U\alpha + c \left(\frac{3}{4}-\frac{α}{c}\right)\dot{\alpha}\right)\right]  \end{split} \end{equation}


I have tried this question so hard but still stuck here. It seems like easily provable if all $n$ are all positive numbers but in this question, the $n$ is bigger than $1$.   original question : prove that for all n>1, 133 | (11^(n+1) + 12^(2n - 1))  Thanks for all the answers. but this question is from a Math class handout and the solution is supposed to be gained through Strong Induction.  Are there any thoughts on that? Thank you guys so much.

Problem taken from a  on mathematical induction by Gerardo Con Diaz. Although it doesn't look like anything special, I have spent a considerable amount of time trying to crack this, with no luck. Most likely, due to the late hour, I am missing something very trivial here.     Prove that for any integer $n$, the number $11^{n+1}+12^{2n-1}$ is divisible by $133$.   I have tried multiplying through by $12$ and rearranging, but like I said with meager results. I arrived at $11^{n+2}+12^{2n+1}$ which satisfies the induction hypothesis for LHS, but for the RHS I got stuck at $12 \times 133m-11^{n+1}-11^{n+3}$ or $12^2 \times 133m-12 \times11^{n+1}-11^{n+3}$ and several other combinations none of which would let me factor out $133$.


In my Drupal site, when I tried to save an article page I'm getting the following error:     PDOException: SQLSTATE[42S02]: Base table or view not found: 1146   Table  'novitawe_icpasld.field_revision_field_tags' doesn't exist:   DELETE FROM   {field_revision_field_tags} WHERE (entity_type =   :db_condition_placeholder_0) AND (entity_id =   :db_condition_placeholder_1) AND (revision_id =   :db_condition_placeholder_2) AND (language IN   (:db_condition_placeholder_3)) ; Array ( [:db_condition_placeholder_0]   => node [:db_condition_placeholder_1] => 138 [:db_condition_placeholder_2] => 138  [:db_condition_placeholder_3] =>   und ) in field_sql_storage_field_storage_write() (line 382 of   /home7/novitawe/public_html/icpasld/modules/field/modules/field_sql_storage/field_sql_storage.module)   Could anyone please let me know how can I solve this issue without affecting any of my DB because this site is live. .

I have Drupal running on MariaDB 5.5.33. When I run update.php (after upgrade to Drupal 7.28 from Drupal 6) I get an error:     Failed: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'webdb.location_country' doesn't exist: CREATE TABLE {location_country} ( code CHAR(2) NOT NULL COMMENT 'Primary Key: Two letter ISO Country Code', name VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'Full Country Name ', PRIMARY KEY (code) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Country data managed by location.module.'; Array ( ) indb_create_table() (line 2720 of /home/web/public_html/includes/database/database.inc).   When I try to run command     CREATE TABLE {location_country} ( code CHAR(2) NOT NULL COMMENT 'Primary Key: Two letter ISO Country Code', name VARCHAR(255) NOT NULL DEFAULT '' COMMENT 'Full Country Name ', PRIMARY KEY (code) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Country data managed by location.module.';   in phpMyAdmin I get an error     #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '{location_country} ( code CHAR(2) NOT NULL COMMENT 'Primary Key: Two letter IS' at line 1   But I wasn't able to find out where is the problem.


A teacher wants to randomly form two teams of 5 students from a group     of 5 girls and 5 boys for a sports activity. Two of the girls, Ann and     Alice, are selected as team leaders. The ten students are seated at a round table of 10. Find the probability that no two of the remaining     3 girls are next to each other given that Ann and Alice are not seated     together.      So we see that the conditional probability is $$P(A|B) = \dfrac{P(A \cap B)}{P(B)}$$  We define $B$ as the event that Ann and Alice are not seated together. Which is $$\dfrac{7! \times {8 \choose 2} \times 2!}{9!} = \dfrac{7}{9}$$  However i have trouble computing out the probability of $A  \cap B$. So i fix the 5 guys as $4!$ . And i insert in Ann and Alice in their interval which is ${5 \choose 2} \times 2!$. Lastly i insert the 3 remaining girls into the rest of the intervals? Which is ${7 \choose 3} \times 3!$ ; Apparently this is wrong logic, can anyone help?  And it will be helpful that the given answer is $\frac{85}{196}$. Note this is not a duplicate question, it is asking a very different question.

A teacher wants to randomly form two teams of 5 students from a group   of 5 girls and 5 boys for a sports activity. Two of the girls, Ann and   Alice, are selected as team leaders. Find the probability that one   team has exactly 3 girls.   If i do this way $$\dfrac{{3 \choose 2}{5\choose 2}{1\choose 1}{3\choose 3} \times 2!}{{8 \choose 4}{4 \choose 4}} = \dfrac{6}{7}$$  Which turns out to tally with the answer. But i got one big question, is my way correct. Do i really need to times $2$ here? Please see my link below to my previous question cause the previous question make me doubt if i should times $2$.


I read that a quotient mapping is not necessarily open. I wonder why that is.  Say we have a quotient mapping $f$ between $(X,\mathfrak{A})$ and $(Y,\mathfrak{B})$. Let us take an open set $O\subset X$. If $f(O)\neq\emptyset_Y$, then $f(O)$ is open in $Y$. If $f(O)=\emptyset_Y$, then, as $\emptyset_Y$ is open in $Y$, we still have an open mapping.   Thanks in advance!

I have the following definition:   Let ($X$,$\mathcal{T}$) and ($X'$, $\mathcal{T'}$) be topological spaces. A surjection $q: X \longrightarrow X'$ is a quotient mapping if $$U'\in \mathcal{T'} \Longleftrightarrow q^{-1}\left( U'\right) \in \mathcal{T} \quad \text{i.e. if } \mathcal{T'}=\{ U' \subset X' : q^{-1}\left( U' \right) \in \mathcal{T} \}$$  and the properties:   $q$ is a bijective quotient mapping $\Leftrightarrow$ $q$ is a homeomorphism  In general, $q$ quotient $\not \Rightarrow q$ open.  If $U \in \mathcal{T}, q(U)\subset X'$ is open if $q^{-1}\left( q\left( U \right) \right) \in \mathcal{T}$ but not in general.   I could not find an example of quotient mapping for which $q^{-1}\left( q\left( U \right) \right)$ is not open. I would understand the idea better if you could show me one.


What is the correct answer to this expression:    $26^{32}  \pmod  {12}$    When I tried in Wolfram Alpha the answer is $4$, this is also my answer using Fermat's little theorem, but in a calculator the answer is different, $0.$

How do I efficiently compute $a^b\bmod c$:  When $b$ is huge, for instance $5^{844325}\bmod 21$? When $b$ is less than $c$ but it would still be a lot of work to multiply $a$ by itself $b$ times, for instance $5^{69}\bmod 101$? When $(a,c)\ne1$, for instance $6^{103}\bmod 14$?  Are there any other tricks for evaluating exponents in modular arithmetic?  This is being asked in an effort to cut down on duplicates, see  and .


Read in several publications that the Universe during a very short time (inflation), increased its size by a factor of $10^{50}$. What does it mean to increase the size of $10^{50}$ if you do not specify, from what? If I go from 1 mm and the increase of $10^{50}$ I will have a final measure, for example if I go by the Planck length I'll have another ..

I read in some website that during the period of inflation, the expansion of the universe underwent incredibly fast, and its size increased by a factor of $10 ^{50}$,   In this field, I think, there is nothing for sure, but if there was really inflation, what does it mean that the size increased by a factor of $10 ^{50}$, but from what extent? From 1 mm? Or from the Planck length? Or something else?  Has it been established that (whatever was the original measure) the factor is increased by $10 ^{50}$, and not for example of 40 or $10 ^{50^{60}}$?


I saw this sentence in a composition and I don’t know whether it is grammatically correct:  He is so cute, I thought.  Firstly, since the whole composition is in past tense, is it correct to use “is” here? Secondly, do thoughts need to be in quotation marks, i.e.  “He is so cute,” I thought.

He staggered in, late as usual, his hair this way and his collar the other. His socks were as mismatched as were his principles. I thought to myself, here comes yet another disastrous sales meeting.  It seems to me too much to write :     I thought to myself 'Here comes yet another disastrous sales meeting'.   The Authorised Version deliberately did away with punctuated speech, retaining only the capital to indicate the beginning of a quote but leaving out quotation marks.  Can I therefore do the same in common writing, for my thoughts ?     I thought to myself, Here comes yet another disastrous sales meeting.   I cannot find another question on EL&U which covers this.


I am a bit desparate with one problem. I am having a bezier curve, which I want to add some meshes to with the array modifier, in combination with the array modifier. Problem is, no matter which axis I use, or where I put the origin of either the curve, or the arrayed object, it is far from aligned with each other. In the picture I put in the origin of both is at the very beginning of the bezier curve, I also had both in the mass center of the curve, with similar result. Also, I tried  to copy the curve and tried it with the other curve, with no success.  Thanks for the attention and I look forward to hear some fresh thoughts to this matter.

Every time I think I have the curve modifier mastered, it throws me a another curve ball (no pun intended).  Why in  can I not get the lights to follow the spiral curve? When the modifier is activated, the lights are stretched and distorted along the curve.  I created the curve by converting it from a mesh (string of verts). Why does it not display like a normal Bezier? Is that related to my problem?  I am following all the "rules" that I am aware of, as detailed here: . The curve seems to run in the correct direction. The origin point is at the first point of the curve. The curve modifier on the lights is set to -Y which is the local orientation of the curve's direction.  What am I missing?


When I need to switch the suspension fork, should I stop before switch?

I've recently bought myself a new mountain bike (my first since my schooldays...) and it has front suspension with a lock-out function.  Suspension is new to me and I'm not sure how to use the lock-out.  It seems I have to stop and take my weight off the bike to lock-out the suspension - is this correct?  Or should I be able to operate the lock-out whilst sat on the bike and I'm just not turning the lock-out hard enough?  As I'm not really sure, I've avoided turning it too hard in case I do some damage.


The title says it all. I'm using a DSLR. Will making a time-lapse video, which requires several hours to shoot, wear out the sensor?

I was planning to do some timelapses in the near future, until I realised that if I leave my camera taking pictures for a week or 2, I will soon reach the max number of shutter count and my camera would break.   Then I read from an unverified source that during timelapse the shutter doesn't move, so there is no way to break it. I am confused.   Is it possible to take timelapses without physically destroying the shutter in a month? In particular, I am interested in Canon 80D model.


In my LWC I'd like to open a standard "new record" dialog with predefined values. I know I can use:  this[NavigationMixin.Navigate]({     type: 'standard__objectPage',     attributes: {         objectApiName: 'Account',         actionName: 'new'     }, });   But how can I specify values for the fields on that dialog?

I am using LWCs to display lightning cards in a list.  The list shows information about Programs.  Each Program card has a button, and this button needs to take the user to the 'new object' screen of the Application object.  Here is my code:   applyToProgram(event) {     // The recordTypeId is coming from the .html     // I have verified that the value is correct.     var rtId = event.target.id;      // How do I use rtId below?     this[NavigationMixin.Navigate]({         type: 'standard__objectPage',         attributes: {             objectApiName: 'Application__c',             actionName: 'new',             nooverride: '1',             recordTypeId: rtId  // This does not work         }     }); }   This is not working.  The user is presented with the 'new object' screen for the object's default record type and NOT the one specified in rtId.  I tried putting 'nooverride' and 'recordTypeId' in the state:{} argument, and I also renamed 'recordTypeId' to just 'recordType'.  None of these worked.  Can anyone help me with the correct syntax?  Is this even possible in LWCs?  Thanks, Jeff


I have a website on my server and I own it.  The size of the website is around a whopping 170GB. This shouldn't be this much. At most, it should be around 20GB. I don't know what makes it that big.  I am trying to figure out which directory has such a large size, but I am not able too.  I checked the DB size and it is around 500 MB. Please help me to find out the main directory responsible for this.

I want to get a list of the directories and their sizes in a list format like how you get when you do a ls -l.  The thing is that is there a one line command that can do this? I see others have long commands just to output this. That's just too long.  What command can do this or combination of commands that can be easily typed? du -h gives it, but it displays all of the sub-folders which is not what I want. just the current directories folders.


I have recently installed Ubuntu on my external hard drive, but now I have boot options I cannot delete!  My external drive is unplugged. How can I delete them?

I have a Lenovo Ideapad Y510P. I recently removed Ubuntu 12.04 from it, and did a reset on the Windows 8 Partition. However, I still have the Ubuntu option in the firmware (not bios) boot menu, and I want to get rid of it.  The problems are (I looked this up ahead of time):   In order to boot into the Ubuntu USB I have, I need to be in Legacy Mode. In order to run sudo efibootmgr in Ubuntu, I need to be in UEFI Mode. Right now, when I run it, I get the:  couldn't open either sysfs or procfs directories for accessing EFI variables    error (I tried sudo modprobe efivars before it and after it and it looked like it did nothing). I can't be in both modes at once.


I have the card  and  in my deck, if I add the +1/+1 counter on Riddleform while it's on it's creature form from my Hadana's Climb will it stay there until the next turn that my Riddleform changes or will the +1/+1 counter disappear after then end of turn?

Say I have a  and  out. I tap the Steel Overseer for his ability to put +1/+1 counters while my Blinkmoth is a creature, and it gains a counter. After my Blinkmoth goes back into a land, does it keep the counter, or does it lose it?


Im currently modeling a 3D Character in Blender. Im learning from a Video Tutorial Serires of Darrin Lile on Youtube, because im a total Blender Noob. I finished the surface of my Character using Planes. But now half if my Blender figure is covered in Shadows/Dark (?). Its really hard to describe that, especially when youre not a native speaker so here are some screenshots.   PLS HELP. Thank you :D

While rendering a mesh with smooth shading on, I get a dark region/shadow on certain faces. The effect is more evident when smooth shading is applied to a mesh containing ngons, with the ngons turning black when rendered.   The blackening effect is visible in the viewport too.  How can I solve this problem?


I am quite well read, and I understand the philosophy papers I read quite well. But I am a very sloppy writer. Whatever I write comes back with commentaries degrading my papers. What should I do to fix this problem?  I am a junior college student  The other question does not correspond to the details of my question  Thanks in advance!

I might end up teaching philosophy in Finnish lukio/gymnasium. I will not get an opportunity to practice teaching it - I do get to practice teaching mathematics a fair deal, though. (The situation is somewhat unfortunate.) I have taken subject studies in philosophy at university. They amount to around 60 credits (ECTS).  Suppose I give the students an exam, which asks them to write an essay or two. After that my task is to grade the exams in a fair way and comment them in such a way that the students can learn from the feedback.  -  Suppose the task was to write an essay on the problem of universals - nominalism and realism, say. Let us say 6 points is the perfect score for this task.  I would expect the students to define nominalism and realism (2 points, maybe?) and explain the problem (2 points). Remaining two points for taking some stance and arguing for it - realism is more reasonable because so and so. Partial credits for demonstrating only partial understanding.  -  Am I missing some important aspects of philosophical thinking? Should I emphasize the different parts of an answer in a different way? I suspect my perspective is influenced by fairly extensive mathematics education - is there something particular I should watch out for?


I'm an newbie in game developing. So i have a script for a camera that i attach to the player. I was wondering how to make a Third Person Controller with WASD controls that moves in the direction that the camera is facing. If you need it here's the camera script that i use      using System.Collections; using System.Collections.Generic; using UnityEngine;  public class ThirdPersonCamera : MonoBehaviour {     //define some constants     private const float LOW_LIMIT = 0.0f;     private const float HIGH_LIMIT = 85.0f;      //these will be available in the editor     public GameObject theCamera;     public float followDistance = 5.0f;     public float mouseSensitivityX = 4.0f;     public float mouseSensitivityY = 2.0f;     public float heightOffset = 0.5f;      //private variables are hidden in editor     private bool isPaused = false;      // Use this for initialization     void Start () {         //place the camera and set the forward vector to match player         theCamera.transform.forward = gameObject.transform.forward;         //hide the cursor and lock the cursor to center         Cursor.visible = false;         Cursor.lockState = CursorLockMode.Locked;     }      // Update is called once per frame     void Update () {         //if escape key (default) is pressed, pause the game (feel free to change this)         if (Input.GetButton("Cancel"))         {             //flip the isPaused state, hide/unhide the cursor, flip the lock state             isPaused = !isPaused;             Cursor.visible = !Cursor.visible;             Cursor.lockState = Cursor.lockState == CursorLockMode.Locked ?             CursorLockMode.None : CursorLockMode.Locked;             System.Threading.Thread.Sleep(200);         }          if(!isPaused)         {             //if we are not paused, get the mouse movement and adjust the camera             //position and rotation to reflect this movement around player             Vector2 cameraMovement = new Vector2(Input.GetAxis("Mouse X"),Input.GetAxis("Mouse Y"));              //first we place the camera at the position of the player + height offset             theCamera.transform.position = gameObject.transform.position + new Vector3(0,heightOffset,0);              //next we adjust the rotation based on the captured mouse movement             //we clamp the pitch (X angle) of the camera to avoid flipping             //we also adjust the values to account for mouse sensitivity settings             theCamera.transform.eulerAngles = new Vector3(                 Mathf.Clamp(theCamera.transform.eulerAngles.x + cameraMovement.y * mouseSensitivityY, LOW_LIMIT, HIGH_LIMIT),                 theCamera.transform.eulerAngles.y + cameraMovement.x * mouseSensitivityX, 0);              //then we move out to the desired follow distance             theCamera.transform.position -= theCamera.transform.forward * followDistance;         }     } }

I am very new to unity and my scripts are based on some scripts found on the web.   I want to make a first person view so the camera is attached to my rigidbodys head. Then i want to move my rigidbody based on keyboard input (wasd) and rotate it using the mouse movement.  Until now, i used the following code for moving my rigidbody:  void Update() {      /* calculate rigidbody movement */     movement = new Vector3( Input.GetAxisRaw("Horizontal"), 0, Input.GetAxisRaw("Vertical")).normalized;      /* calculate mouse look to rotate the rigidbody*/     mouseDelta = new Vector2(Input.GetAxisRaw("Mouse X"), Input.GetAxisRaw("Mouse Y"));     mouseDelta = Vector2.Scale(mouseDelta, new Vector2(sensitivity * smoothing, sensitivity * smoothing));     smoothV.x = Mathf.Lerp(smoothV.x, mouseDelta.x, 1f / smoothing);     smoothV.y = Mathf.Lerp(smoothV.y, mouseDelta.y, 1f / smoothing);     mouseLook += smoothV;  }  void FixedUpdate() {         /* apply rigidbody movement from Update() */     transform.Translate( movement * moveSpeed * Time.deltaTime );             /* apply rigidbody rotation from Update() */     transform.localRotation = Quaternion.AngleAxis(mouseLook.x, transform.up);             /* apply camera rotation from Update() */     Camera.main.transform.localRotation = Quaternion.AngleAxis(-mouseLook.y, Vector3.right);    }   I learned today that i dont have to move a rigidbody's transform but now i am totally confused and it seems i have to restart my whole (first!) project.  So when i use MovePosition and MoveRotation, how do i rotate it based on the camera perspective/mouse movement?  I think the movement Vector is ok so i can simply rewrite the FixedUpdate to something like  rigidbody.MovePosition(movement * speed * Time.deltaTime)   but i am totally stuck on how to apply the camera rotation to my rigidbody to use it like  void FixedUpdate() {      /* move the rigidbody */                rigidbody.MovePosition(movement * moveSpeed * Time.deltaTime);     /* rotate the camera */     camera.transform.localRotation = Quaternion.AngleAxis(-mouseLook.y, Vector3.right);      /* but how can i rotate the rigidbody based on the cameras rotation??? */     rigidbody.MoveRotation(?????);  }   I hope its clear what i want, thank you!


My  stays connected to my 2015 MacBook Pro (MBP) at all times when I'm home via a standard HDMI cable. The display stays powered on. My MBP sometimes goes to sleep e.g., overnight.  Sometimes, but not every time, the display will fail to connect to the MBP when I wake up the laptop. The display is still on, but the MBP doesn't recognize it—i.e., it acts as if there's no display connected.  Unplugging and re-plugging the HDMI capable into the same MBP HDMI port reestablishes the connection.  I don't recall ever having the same problem with different monitors at work.  This question is  to  , but no situation is quite the same.

MacBook Pro (15-inch, 2016) with 2 USB-C to HDMI adapters. The setup works great if I start up in that configuration.   If I connect the adapters while the machine is running or simply sleeping, one of the monitors will never get a signal and stay in low power mode. The OS sees the monitor, it shows in the display arrangement settings and I can move the mouse into it, but until I restart, I can't see anything on it.  Once I have restarted I can let the machine sleep or whatever, and the display still works unless I disconnect the adapter. As soon as I do that a restart is required to use it again.   Using MacOS Sierra (10.12.4)  Using this adapter:


I will be working in Hungary from January. The process for work/residence permit and visa application is on and documents are being prepared by the company I will be working with.   Is the Visa same as schengen short term visa ? Will I be able to visit other schengen countries ?

I’m going to Germany for a semester exchange and I have a long-stay visa from Germany. Can I travel to the other Schengen states during this period with this visa or do I have to apply for a separate short stay Schengen visa?  My visa is German national visa type D. It is for a duration of 4 months, i.e., longer than 90 days. It says on the visa that the long stay visa is valid in Deutschland, which is different from my earlier visa, which I had when I visited Germany earlier; that one was a short stay visa and said it was valid in Schengen Staten.  Perhaps my current visa means that I can stay in Germany for a period of longer that 90 days can visit the other Schengen states if I don’t exceed the 90 day period.