Best way to go about wiping and installing most recent version of Ubuntu?

There is a computer that has been sitting in our lab office that nobody has used in +8 years. It's running Ubuntu 14.04. I've been trying to download some useful software to it, but I've run into a lot of issues with python packages and different things not working.. possibly because of how old this version of Ubuntu is, or issues with what is already installed on it, which I had no part in doing. It tried updating a lot of things the first time I logged onto it, and ultimately I had to revert all of the updates because it no longer worked and got stuck in a login loop. At this point, there is nothing worth saving on this computer, and I would really like to just delete everything and install a newer version of Ubuntu to start from scratch with. Whats the best way to do this?


While browsing through the question list the questions themselves should contain the date/time the question was asked. This feature is on desktop, but on the app it currently shows only edited times.    If this feature is already on the app, how can I see the time questions were asked?


Hellinger-Toeplitz Theorem and Uniform Boundedness Principle

The question is prove the Hellinger-Toeplitz theorem, using the uniform boundedness principle. All hints are welcome


Is there a way to return what axis a keyframe point is associated with?

I have a very simple animation. I move the default cube from one location to another along the x axis. This gives me six keyframe points, the start and and stop locations of the x, y and z axes.  Using the following code I can return what type of transform it is (location, rotation, scale, etc.), the frame number and the value of the change. for action in bpy.data.actions:      for fcurve in action.fcurves:         print(fcurve.data_path)         for point in fcurve.keyframe_points:             print(point.co)  Here is a printout of the return. The first group is for the x axis, then y then z. location <Vector (10.0000, 0.0000)> <Vector (20.0000, 3.4726)> location <Vector (10.0000, 0.0000)> <Vector (20.0000, 0.0000)> location <Vector (10.0000, 0.0000)> <Vector (20.0000, 0.0000)>  My question is, is there a way to return what axis the change is occurring on? I have not been able to find a command to return the axis the "Vector" is associated with. In this simple example it easy to just figure it out but when the scene becomes complicated with lots of moving parts it can be very difficult to know which keyframe point is associated with which axis. Thank you for any help you can give me!


Sub:High memory utilization by sqlservr.exe process.  When I look into task manager -->processes or by using perfmon memory counters(Sqlserver:memory manager:Target server memory and Total server memory) I am getting high memory utilization by sqlservr.exe process nearly 8 GB (Target server memory counter) and 7.95 GB (Total server memory).  and when I restart the MSSQLSERVER service it again shoots up to the same size. I am getting this issue quite frequently.  Please help me out in identifying why sql server is using so much memory and how to find out what query , stored procedure etc is making sql server use that much memory.  *** I am not using any triggers or cursors in my code.  Thanks


Export fbx with texture but I got this...?

I tried all the tutorial on the internet, but no working. I have this simple setup with alpha texture on top of a shader And it became blank after exporting


'I badly need to _' and 'I want to _ so bad'

I am trying to explain to my Korean friend in the best way possible, I've got a good idea but am wondering if anyone can give me their perspective on the use of bad and badly here.  I want to go to Korea so bad. I badly need to go to the toilet.  Note: This is not formal English, but it is heavily used in my opinion and possibly more slang than true language.


UK visitor visa refused on V4.2 (a) V4.2 (c) even though sponsor would pay for the entire trip!

My father & mother in laws, recently applied for a family visit visa to come and take part at my son’s birthday and spend sometime with our family. I sponsored their entire trip and showed evidence of funds available in my savings account. I provided my payslips & bank statements of 8 months. Also for accommodation I provided UK land registration documents + house inspection. But in the refusal letter they say “some of the cost” which is not true. I gave a complete breakdown of how much a 24 days trip will cost and I submitted my savings account which had 3x more funds available. The applicants who are both retained elderly, provided their property assets and rental income documents. Their main source of income in Bangladesh is generated from the rents. For a 24 days trip, their were sufficient funds available from both sides.  However, we are now aware that the applicants bank statement did not show enough regular transaction, although fund balance were good. This was picked up by ECO and used it to refuse. Since there are no opportunity to appeal, we can’t explain the fact that the applicants are both elderly and don’t always use the bank to put the money in and out. My father in law is old fashioned and prefers to deal with everything in cash. In fact cash is still widely used in Bangladesh economy.  We want to reapply but would like to get it right next time around, any advice will be greatly appreciated? Also they say, because they haven’t traveled to anywhere else before, then apparently they will not leave the UK! But...they are both in their late 60’s. That generation of Bangladeshis rearly has the opportunity to go abroad, they only want to come to the UK due to family, their daughter, me and the grandchildren. We go to Bangladesh to visit them, and the kids just wanted to have them over for few weeks to return the favour.


Can a Mac be programmed to simulate pressing a key at a certain rate via software?

Is there a way or a 3rd party application which would let me specify, for example, that I want it to send a keyboard event (so that it has the same effect as physically hitting the key on the keyboard) every 5 seconds?  So, for example, I could tell it to hit K every 5 seconds, 15 times in total?  Basically, I'm looking for something like  but for OS X.


If I have minecraft already downloaded and I make a new account will I have to pay again?

If I have Minecraft already downloaded and I make a new account will I have to pay again? I want to make an account for my friend using my other computer that already has Minecraft on it but I don't want to pay again, but I don't want them to use my account so do I have to pay even If I already have Minecraft downloaded and I make a new account?


What axioms of set theory are needed for Cantor's diagonalization argument to work and why?  What happens if we do away with some of these axioms (for instance Axiom of Choice)?


App crashes after my app has been closed

This was something that I expect not to be happening, hence I need help from here.  In my app, I execute() an AsyncTask which might take less than 2-3 seconds. In that AsyncTask I have runOnUiThread() which updates few UI controls value.  This works fine until, if I do a click on Sign out button which does a finish() of Activity.  I get Null pointer exception that findViewById returned null. I can add null check before updating but considering the amount of UI screens and AsyncTasks used I would end up in huge number of checks.   What is best solution to this case? Issue happens only when there is exact coincidence with time difference between AsyncTask completion and call to finish().


How do delete everything before an specific symbol?

I need to remove all numbers before "|" symbol. I tried some suggestions on a previous question () but did not work for me. For example:  113|gm1.1_g 115|gm1.3_g 350400|fgenesh1_kg.28251_#_1_#_remain_c2214   Then I would like to have:  gm1.1_g gm1.3_g fgenesh1_kg.28251_#_1_#_remain_c2214   Thanks


How to set default view in folders in Windows 7

Today I tried to figure out how to set the view of a folder the same for all. For example I want to always have full details of the containing files. How is this possible?


How to the reduce the space between the dots in ToC?

I want to change the space between the dots in ToC in order to pass from this (an example)    To this    I have read the tocloft package but I can't understand how to do it.  Thanks for your help.


How do I get Gmail to stop "detecting suspicious activity" every time I travel?

Every time I travel, Gmail believes there may be suspicious activity as the sign in comes from a different location; I get that.  However, it then asks for my password and usually will not recognize it.  So, I can’t access my email account.  Any way to prevent this?


My 11 mo twins are difficult to handle and I feel very sleepy. I am sleep deprived. I find it so hard to concentrate. Also my tiny baby constantly beats and pokes my other twin.


Allow Tumbleweed to be awarded (or, notified about) more than once - help users prune their weeds

I often ask niche or difficult questions, and as a consequence I get a few Tumbleweed badges.   Very often, these Tumbleweed questions do slowly accumulate views and answers because they're the only quality Google result for the problem, and often they attract answers, many upvotes and favourites (even in some cases gold Famous Question badges) months and years later. They're not bad questions, they're just niche (I'm saying this because I know ).  I find the Tumbleweed badge very useful as a notification that my question is getting very low views. .  Then I realised I only ever got one badge per site, and I found that this is by design - it's a once-only badge.  I think this doesn't make sense. If the Tumbleweed badge is useful, surely it's useful for what I use it for - a notification that, for whatever reason, the regulars on this site haven't shown any interest in this question, and therefore you should think about whether it can be improved, re-pitched, migrated or promoted, and also, lower your expectations for how quickly it will get answered.    If there's a serious concern about people becoming "tumbleweed addicts" or trying to inflate their badge total by asking deliberately-boring or needlessly-niche questions, a compromise option would be to add the new question to the existing Tumbleweed badge, and notify the user the usual way. So, if I had 3 Tumbleweed questions, I'd only have one badge, but it would list all three questions and I'd have been notified each time.  I'm not bothered about the number of actual badges I get, I'd just like to be notified when a question goes tumbleweed on me.     Maybe also, it'd be interesting to be able to browse my tumbleweed questions (not just the first from each site) and see what became of them. I know at least one of my questions that began as tumbleweed is now at +7 with 29,815 views, and several others got great answers and thousands of views eventually. It'd be interesting to see how others fared over time.  Even better still, would be to be able to browse all tumbleweed questions on a site, looking for good but difficult or niche questions where a good answer would really make someone's day. Special rewards for answering tumbleweed questions have been proposed in the past (e.g. the above link and ) - I don't think a special reward is necessary, but it'd be nice to be able to tidy up tumbleweed just for its own sake.


Should I have flagged a question for moderator attention if it covered a "dodgy" topic?

I recently flagged a  for moderator attention because related to the decompilation of third-party software, which smelt a little dodgy.  The response I got for the flag was:     declined - flags should only be used to make moderators aware of content that requires their intervention    This leaves me a little confused. Was I correct to flag this for moderator attention, even if my fears were misplaced? I can see several possible reasons for this flag response:   The number of auto flag responses are small and this is the nearest fit. Perhaps the real response is "Thanks, a valid use of the flag system but I'm not too worried about this myself." The moderator incorrectly thinks it's not his/her job to care about such issues. I incorrectly think the moderator should care about these things, but actually there's another way to handle this   Can anyone advise on what my correct action should have been? (Focussing on how I should have used the tools, rather than concerning whether I was right or not).


Intel Graphics Installer for Linux ends with an error in Ubuntu 14.04

Everytime I try to install the Intel Graphics Installer for Linux it always end up with this 2 screens looking like this.    and    I hope anyone here can help me.


Append function has a not a library error for my addon

So I want to append a world but I have an issue. Every time I try to append, it has an error(I already changed the addon init file) My code is: class Sky_PT_main_panel(Panel):     bl_label = "Sky"     bl_idname = "Sky_PT_main_panel"     bl_space_type = 'VIEW_3D'     bl_region_type = 'UI'     bl_category = "Lazy Felina"     bl_parent_id = 'Lazy_PT_felina'     bl_options = {'DEFAULT_CLOSED'}                         def draw_header(self, context):         layout = self.layout         layout.label(text="", icon='LIGHT_SUN')           def draw(self, context):         layout = self.layout                  layout.operator("sky.myop_operator", icon= 'LIGHT_SUN')    class Sky_OT_my_op(Operator):     bl_label = "Sky"     bl_idname = "sky.myop_operator"          def execute(self, context):                  bpy.ops.wm.append(filename="Sky", directory=bpy.path.relpath("//sky.blend\\World\\"))                              return {'FINISHED'}


Can someone please give me a simple explanation of how to achieve or emulate run-time polymorphism in C.  Also, is this a valid example of runtime-polymorphism:  void fred(){   printf("Fred here!\n");  }  void john(){   printf("John here\n"); }  void barbara ( void (*function_ptr)() ){   (*function_ptr)(); }  int main(){   barbara (fred);   barbara (john);   return 0; }   The function barbara dynamically calls either john() or fred(). Is this what runtime polymorphism exactly is?


Does the CR of a bone devil include the potential of summoning 2d6 spined devils?

The , when using the Devil Summoning Variant, has the ability to attempt to Summon Devil (1/Day).  Having a read through the appropriate page on  it discusses the idea that it makes the most sense to attempt this on turn 1.   This means we have a scenario were the Bone Devil succeeds on the summoning and now has (on average) 7 spined devils fighting with them.  How does this effect the encounter difficulty? Is it as simple as going from a 5,000 XP encounter to a 8,150 XP encounter (adjusted 16,300)?  The CR level given to the Bone Devil, does this include this scenario or is it seperate?


Install Ubuntu on HCL Beanstalk Desktop?

I currently have a HCL Beanstalk desktop PC which is quite old now. I have another shared and quite new HCL Laptop with intel CORE i3 processor and it came with Ubuntu 12.04 LTS on it as it is a government laptop. Having used Ubuntu on that laptop now, I wish to install Ubuntu on my desktop as well. Can someone please provide me the link for the desktop version as I am quite a N00B in these matters and might end up with a bricked desktop. And after download, how do I install it from boot DVD?


How do I apply OrderBy on an IQueryable using a string column name within a generic extension method?

public static IQueryable<TResult> ApplySortFilter<T, TResult>(this IQueryable<T> query, string columnName)   where T : EntityObject {   var param = Expression.Parameter(typeof(T), "o");   var body = Expression.PropertyOrField(param,columnName);    var sortExpression = Expression.Lambda(body, param);   return query.OrderBy(sortExpression); }   Because the type for OrderBy is not inferred from sortExpression I need to specify it something like this at run time:  var sortExpression = Expression.Lambda<T, TSortColumn>(body, param);   Or  return query.OrderBy<T, TSortColumn>(sortExpression);   I don't think this is possible however as TSortColumn can only be determined during runtime.  Is there a way around this?


slowly running watch or slow running watch in a sentence

It was like a slowly running watch.      It was like a slow running watch.   Which is correct, slowly or slow? Thanks in advance.


Creating a unique hash code based on some properties of an object

I have to following classes:  public class NominalValue {    public int Id {get; set;}    public string ElementName {get; set;}    public decimal From {get; set;}      public decimal To {get; set;}        public bool Enable {get; set;}       public DateTime CreationDate {get; set;}    public int StandardValueId {get; set;}  //FK for StandardValue }  public class StandardValue {    public int Id {get; set;}    public string ElementName {get; set;}    public decimal From {get; set;}      public decimal To {get; set;}        public bool Enable {get; set;}       public DateTime CreationDate {get; set;} }    User wants to fill nominalValue object properties. filling the nominalValue properties can performed in 2 way:   User fill values for nominalValue manually. User Load values for nominalValue from a standardValue object and then change some values or not.   sometimes I need to know if some property of nominalValue objects for a specified Element are equal to corresponding standardValue or not?  I don't want to load standardValue from Db for checking this equality, so I decided to define a HashValue property in NominalValue class:  public class NominalValue {    public int Id {get; set;}    public string ElementName {get; set;}    public decimal From {get; set;}  //<-- 1st parameter for generating hash value    public decimal To {get; set;}    //<-- 2nd parameter for generating hash value    public bool Enable {get; set;}   //<-- 3rd parameter for generating hash value     public DateTime CreationDate {get; set;}    public int StandardValueId {get; set;}      public string HashValue {get;set;}      //<-- this property added }    when user fill nominalValue properties using standardValue properties, I calculate its value based on 3 properties(From, To, Enable) and save it with other properties, and when I check if that nominalValue fill with standardValue or not, I calculate hash code for From, To, Enable and compare the result with HashValue (instead loading standardValue from Db).  Is there any mechanism to calculate a unique hash code based on 3 property values(From, To, Enable)?


I want to install ubuntu on my windows7 PC (64 bit intel corei3) For Dual-Booting. How can I do it? Which version of ubuntu is suitable for my PC?.


Why their is no badge assigned for profile views

We already have badges for posting questions or answers, posting chat messages, reviewing,  etc.  Likewise, some badges can be given when profile views exceed 500/1000/10K etc.


What value of `Name` and `Command` do you use in keyboard shortcut to allow copy / paste to / from clipboard

I have the keyboard shortcuts screen open.  I'd like to add a Custom Shortcut which maps copy and paste to Super + C or Super + V.  However I don't know what to call this shortcuts name and command.  Is there a list of these anywhere?


How to settle a value in a list that contains a list?


"He is one of the only doctors who does" or "do" the procedure?

In the sentence, "He is one of the only doctors who does the procedure," is "does" or "do" correct? I have not yet found a definitive answer in other sources.


Get tax deduction for expensive car expense

Recently I paid a lot (almost one month of my salary) for repairing my car. I am wondering if there is a way to get deduction on federal or state taxes (USA, California).


is there an effective attack against rsa by knowing the coefficient $u$ of the private key?

consider that an attacker has the public key $(n, e)$, where $n$ is $1024$ bits long, the $32$ largest bits of $p$ (where $n = p \cdot q$), as well as $u = p^{-1} \pmod q$. Is there an attack that would allow this attacker to perform an attack on rsa and therefore be able to decrypt a message or retrieve the private key $(n, d)$?


Solving $x^{x^{x^{.^{.^.}}}}=2\Rightarrow x^2=2\Rightarrow x=\sqrt 2$.  Solving $x^{x^{x^{.^{.^.}}}}=4\Rightarrow x^4=4\Rightarrow x=\sqrt 2$.  Therefore, $\sqrt 2^{\sqrt 2^{\sqrt 2^{.^{.^.}}}}=2$ and $\sqrt 2^{\sqrt 2^{\sqrt 2^{.^{.^.}}}}=4\Rightarrow\bf{2=4}$.  What's happening!?


How can I find all the solutions of $\sin^5x+\cos^3x=1$

Find all the solutions of $$\sin^5x+\cos^3x=1$$   Trial:$x=0$ is a solution of this equation. How can I find other solutions (if any). Please help.


I have a sentence which reads     Many people require that every lightbulb within a house have/has a switch.   Is it appropriate to use "have" here so as to utilize the subjunctive mode of the verb "require"?  Or is it more appropriate to use "has" in order to get the (lack of) pluralization in "every lightbulb has..." correct?


Why does my computer refuse to boot with a Radeon graphics card?

This is a really strange question, I know, but I have a computer here that refuses to boot with any ATi/AMD Radeon card installed.  When any Radeon card is installed in the machine, all fans will spin without issue (and do not stop, even after a period of five minutes), but the board never gives the initial chirp that it is powered up and nothing is ever output to the display.  The machine does not respond to any keyboard input (including toggling num lock) over USB or PS/2, though the desired build uses USB.  Probing the motherboard's power pins show 12V around 12.131V median, 5V around 5.013V median, and 3.3V at exactly 3.30V.  PWR_OK is solid and the total power output hovers around 92W.  When connecting a GeForce, however, the computer immediately boots up, chirps, and displays the Intel logo.  I feel like I'm going mad.  Certainly Intel didn't create a firmware that refuses to work with an AMD graphics card... did they?  Why would this machine refuse to boot with a Radeon card?  Cards that work:   EVGA GeForce 9800GTX+ OC edition (x16) XFX GeForce GTS 250 (x16) PNY GeForce GT 730 (x8)   Cards that don't work:   XFX Radeon HD 5770 (x16) MSI Radeon HD 6450M (x8) XFX Radeon R5 220 Low Power (x16) Gigabyte Radeon R7 240 (x16)   Computer specifications:   Intel DP43TF motherboard running firmware version NBG4310H.86A EVGA 550W power supply (additionally tested all cards on a 600W PSU) Seagate Barracuda 7200.9 LP 1TB disk on SATA port 0 Sony DRU-810A DVD+RW drive on IDE channel 1 6 GB DDR2-667MHz memory in two pairs - 2x1GB, 2x2GB No other PCI or PCI Express cards installed USB keyboard, mouse, and printer If it matters, Dell S2415H 24" monitor over HDMI   Considering the fact that my trusty old overclocked 9800GTX+ works, yet a very low power R5 does not work, it really does not feel power related.  However, I am open to any suggestion, and I may be able to pull a 730W PSU out of a friend's workstation for testing if it would be worth the test.


Is it okay to start a sentence with "Doesn't matter"? Like:     Doesn't matter which train you board, you are going to be late for the meeting.


If $|G|=p^nq$, then $G$ contains a unique normal subgroup of index $q$

I'm trying to prove if $|G|=p^nq$ with $p\gt q$, primes, then $G$ contains a unique normal subgroup of index $q$.  I know by the first Sylow theorem that G has a Sylow p-subgroup $P$ with $[G:P]=q$. My problem is prove that it's unique.  I need help  Thanks in advance


Validate Email address using Reg Expression in javascript

I have a form which contain textbox for email. I am validating email address using reg Expression in javascript.  I used following reg :-  var regEmail = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;   This reg is validating email address but the issue is if i used email address like abc@gmail.com.com . It not produce error.   Please suggest me any other reg expression which not accept email address for abc@gmail.com.com


How to make a light emitting material sensitive to external light

Essentially I want to turn a material into a kind of night-light. For this character I'm working on, I wanted the crystals on him to glow in the dark... And I got them to glow using various shader nodes. However I can't find a balance that looks bright enough in the dark, and not washed out in the light. So I was thinking perhaps there might be a node that could change the light emission of the crystals depending on the amount of light from external sources. In truth I don't even know if this is the best way to go about accomplishing what I want... Which is to have only barely semi-transparent crystals that glow brightly in the dark and appear as solid colors with a slight emission  when in the light. The other question is... will something like that carry over into unity? Because if not I'd rather save myself a lot of heartache. Here's a picture of what I have so far:


Why is it okay to take the log (or any other transformation) of the dependent variable?

Why is it common practice to take the log of the dependent variable Y? To be clear, I understand that under appropriate circumstances that taking the log can help normalize the distribution/linearize the model and I have read other threads discussing this. What I am confused about is why is it okay to transform and normalize/linearize Y and make it falsely 'appear' normal instead of using the real, raw data? Don't we want to train the X variable(s) to be able to predict/determine Y as it is, so why are we altering Y?  Additionally, when exactly in the modeling process do we do this? Would I log Y in the linear model lm(log(Y) ~ X, data = df)? Would I do it when calculating RMSE? Thanks in advance!


How to copy the partition layout of a whole disk using standard tools

I want to take a backup of the whole partition layout of a hard drive, including logical drives, so that I can restore that layout to another disk. I do not want to copy the contents of the partitions, only the layout. For the primary and extended partitions, it's easy:  dd if=/dev/sda of=partitiontable.bin bs=1 skip=446 count=64 # backup dd if=partitiontable.bin of=/dev/sda bs=1 seek=446 count=64 # restore   But when it comes to the layout of the logical partitions, I wonder if there exists among the standard tools a similar way of saving the layout? I guess the main problem is finding the offsets to the locations of the EBRs, because with that, dd will do the rest. Keep in mind I need to be able to put everything back to a (possibly) blank disk and thereby restore the same layout. Using partitioning tools like fdisk or parted is fine, but I must be able to automate their use (scripting) and they should not depend on any X-related packages -- command line only.  My backup plan is doing it manually in a little python script using the struct module, but I rather hoped there was an easier way.


Text is clipped, e.g. Fa...e instead of Favorite. Also, the text looks like it could be much smaller and still be readable. Another contributing factor is there is a gap of about 0.5 inches (13 mm) at the bottom and 0.8 inches (20 mm) at the top (0.6 inches (15 mm) excluding the notch) that has no content at all. I think the app might need to opt in to full screen or something to put content there. As long as there's nothing critical in the rounded corners or notch section, it should work fine.   App Version: 1.6.6.2 Device: Unknown (iPhone12,5) OS Version: Version 13.2.3 (Build 17B111)


How can I find question with only one tag?

How can I find the questions which has only single tag, e.g. java and not any other tag?


Can I install items on Ubuntu, without using the command line?

Everything I've googled so far has used the command line?


What's the maximum number of pages a PDF produced by pdfTeX can have?

Are there some limitations regarding the pdflatex command with respect to the count of pages of the input files?  My highest page count, when compiling, was 90 without any troubles. (2008)  Currently another document will be prepared which will be approx. 170 pages in sum.  EDIT: Thanks to all answers. They were helpful.


The number of monomials of a given degree

I'm trying to understand why the number of the monomials of degree $d$ in $n+1$ variables is $C_{n+d,n}$. If someone could help me to remember how to solve this, I would be glad.  Thanks.


Changing isometric drawing's constraint angles in Illustrator

I'm doing some isometric drawing in Illustrator, and moving my objects around on 0°, 30° and 60° constrained angles.  I keep having to go to preferences (Control + K) to change the constrain angle depending on how and where I'm moving something around.  Is there a quicker way to handle this?


Would someone versed in relative motion consider it more accurate to say that a car slammed into, or collided with, a wall?

I've read that it's just as correct to think of A moving toward B (ie. A doesn't move, but B does) as it is to think about B as moving toward A (again, A doesn't move, but B does) or as the two moving toward each other.   If I imagine a universe in which only two objects exists - then that seems like it would be the case. However, in that universe there isn't really a point of reference to say whether one object isn't moving.   Is there a useful and accurate way to think about these kinds of relations?   Thank you -Hal.


is there a difference between these 3 diodes?

1N5819-E3/73  1N5819-E3/53 1N5819-E3/54   the first one is 4x cheaper than the last, why ?  aren't they all the same ?


Can we get wordpress.stackexchange.com added to the list of off-topic redirection sites?

I'm noticing a lot of WordPress questions being asked on Stack Overflow lately. I can't flag these to be moved to wordpress.stackexchange.com because it's not in the list:    Can it be added? Are there any other Stack Exchange sites worth adding?


Z = X1/(X1+X2) where X1 and X2 are gamma distributed

Suppose that $X_1 \sim \Gamma(\alpha_1,\beta)$ and $X_2 \sim \Gamma(\alpha_2,\beta)$ and let $Z = \frac{X_1}{X_1 + X_2}$ ($X_1$ and $X_2$ are assumed to be independent). I want to prove that $Z$ is beta distributed as follows: $Z \sim Beta(\alpha_1, \alpha_2)$. I don't want to use the Jacobian as shown there: . Instead, I know that $Z = \frac{X_1}{X_1 + X_2} \Rightarrow X_2  = X_1\frac{1-Z}{Z}$ and the joint of $X_1$ and $X_2$ is: $$P(X_1,X_2) = \frac{\beta^{\alpha_1 +\alpha_2}}{\Gamma(\alpha_1)\Gamma(\alpha_2)}X_1^{\alpha_1-1}X_2^{\alpha_2-1} \exp[-\beta(X_1 + X_2)]$$ By integrating the joint I get: $$P(Z) = \int_0^{+\infty} P(X_1,X_1\frac{1-Z}{Z}) dX_1 = \int_0^{+\infty} \frac{\beta^{\alpha_1 +\alpha_2}}{\Gamma(\alpha_1)\Gamma(\alpha_2)}X_1^{\alpha_1-1}\Bigg(X_1\frac{1-Z}{Z}\Bigg)^{\alpha_2-1} \exp[-\beta X_1/Z]dX_1$$ Using that $Beta(\alpha_1,\alpha_2)\Gamma(\alpha_1 + \alpha_2) = \Gamma(\alpha_1)\Gamma(\alpha_2)$ and pulling the constant outside of the integral: $$P(Z) = \frac{Z^{\alpha_1 - 1} (1-Z)^{\alpha_2 - 1}}{Beta(\alpha_1,\alpha_2)} \int_0^{+\infty} \frac{\beta^{\alpha_1 + \alpha_2}}{\Gamma(\alpha_1+\alpha_2)}\Bigg( \frac{X_1}{Z} \Bigg)^{\alpha_1-1}\Bigg(\frac{X_1}{Z}\Bigg)^{\alpha_2-1} \exp[-\beta X_1/Z]dX_1\\ = \underbrace{\frac{Z^{\alpha_1 - 1} (1-Z)^{\alpha_2 - 1}}{Beta(\alpha_1,\alpha_2)}}_{\text{Beta distribution}} \underbrace{\int_0^{+\infty} \frac{\beta^{\alpha_1 + \alpha_2}}{\Gamma(\alpha_1+\alpha_2)}\Bigg( \frac{X_1}{Z} \Bigg)^{\alpha_1 + \alpha_2 - 2} \exp[-\beta X_1/Z]dX_1}_{\text{Almost a gamma distribution that should integrate to 1}}$$ How do I get the Beta distribution from there? I have tried a change of variable $Y = \frac{X_1}{Z}$ but it does not seems to lead to the result.


How to create pairs in a list of elements with no repetition in Python?

How can I construct pairs between elements of a list with no repetition and no omission?   Say I have a list:  tickers = ['SPY','GLD','OIL'].   How can I form an array of pairs?  I want this output:  [('SPY, 'GLD'),('SPY','OIL'), ("GLD','OIL)]


When a linear regression model yields correlated errors it is claimed that the standard error of the estimators is under estimated. Can anyone give a proof of this fact? This is stated on page 94 of Introduction to Statistical Learning by James, Witten, Hastie, and Tibshirani


Can an attack be made without triggering combat?

This is a follow up question to:   Is there a scenario when a surprise attack can be made without triggering combat? Maybe there is a different term for it than "surprise attack".   For example, If the entire party is hidden, can a surprise attack be made without triggering combat?   Scenario : Party is hidden behind a castle wall, Rogue fires a crossbow bolt thru an embrasure / arrowslit. The NPC down below would only know a general direction. But it seems there is no way for that NPC to engage in combat.


Can i copy a game from my friend ps4 to mine without download it from my account?

I purchased a game from the ps store from my account, the size of download is 118 gb, my friend has the game downloaded, can i copy the game from his ps4 to mine?


I used Latex with this formate   \documentclass[a4paper]{article} \usepackage{hyperref} \usepackage{epsfig} \usepackage{latexsym} \usepackage{graphicx} %\usepackage{subfigure} \usepackage{multirow} \usepackage{amssymb,amsmath} \usepackage{amsthm} \usepackage{lscape}   How can I change the font face in Latex to be Times New Roman, 11 points, line spacing 16 points?


Prove that if $a_1,a_2,\ldots $ converges to $a$ then $\lim_{n\rightarrow\infty} \frac{\sum_{i=1}^n a_i}{n}= a$.

Prove that if $a_1,a_2,\ldots $ converges to $a$ then $\lim_{n\rightarrow\infty} \dfrac{\sum_{i=1}^n a_i}{n}= a$.  Let $\epsilon>0$. We know that there is natural $N$ such that $\vert a_n-a\vert <\epsilon$ whenever $n>N$. Since $(a_n)$ is convergent we also know that it is bounded by some constant $M>0$.  Now,  $$\left \vert \frac{\sum_{i=1}^n a_i}{n} -a \right\vert \le \frac{\sum_{i=1}^N \vert a_i-a\vert }{n} + \frac{\sum_{i=N+1}^n \vert a_i-a\vert }{n} \le \frac{NM}{n}+\frac{n-N-1}{n} \epsilon \rightarrow \epsilon.$$  Since $\epsilon$ was any positive number we must conclude that $\left\vert \dfrac{\sum_{i=1}^n a_i}{n} -a \right \vert$ converges to $0$.  Is this a correct explanation? How can I make it more "explicit"?  Edit (thanks to Kitty): Obviously $M$ must be a bound for $|a_i-a|$, $i=1,\ldots,N$.


Are there nice wedding-related quotes in Doctor Who?

Two of my friends are getting married. They're both huge Doctor Who geeks, and actually met through a DW RPG. Their wedding invitation contained a very subtle DW reference (you wouldn't have been able to tell unless you were very familiar with the show yourself.)   Doctor Who's been running long enough that there are quite a few nice quotes for basically every occasion in life. I was hoping someone would know a nice wedding-related one, or maybe one about love, that I could include in a wedding card?


If entropy is a measure of disorder, how come mixing water and oil finishes in a well ordered, separate state?

By the second law of thermodynamics, entropy tends to increase when the system is let on itself. And if entropy is a measure of disorder, how come mixing oil in water and letting the system reach equilibrium, ends up with the oil and water well separated? I see no disorder whatsoever, while in reality the entropy increased compared to the initial state (oil and water seemingly well mixed by e.g. shaking the container).


How do I determine how much battery and resistance is required to wire a series of LEDs?

I need to wire 5 led's in series with a switch and variable resistor to control brightness.    I think the circuit will need to look something like this (Ignoring the values the editor added!) but it's been a very long time since I've done anything like this.         – Schematic created using   I don't know how to calculate how much battery power will be required, or if it will need additional resistence.  How do you go about solving these kinds of equations?


I have a question. can i run ubuntu 13.04 in my PC. here my pc spec:  -amd phenom II x4 955 -gigabyte 970a-ds3 -16 GB ddr3 RAM -MSI nvidia GTX 650 2gb ddr5  before this i got issue with ubuntu 12.04. i got this message "Starting load fallback graphics devices [fail]" and cant login to ubuntu anymore. sry for my bad english and thanks for help.


Bad TOC entries spacing for chapter 10 and beyond

When making long documents under book class if one needs 10 or more chapters, something weird happens with the table of contents: the space between the number of the chapter and its title disappears, just like it was trying to preserve a beautiful alignment on the left but leading to an incorrect output.    Here's a MWE:   \documentclass[spanish, 12pt]{book}  \usepackage[spanish]{babel} \usepackage[utf8]{inputenc}  \begin{document}  \tableofcontents  \chapter{A} \newpage \chapter{B} \newpage \chapter{C} \newpage \chapter{D} \newpage \chapter{E} \newpage \chapter{F} \newpage \chapter{G} \newpage \chapter{H} \newpage \chapter{I} \newpage \chapter{J} \newpage \chapter{K} \end{document}   To be honest, I have no idea how to fix this. I hope you guys do.


How is a Kelvin Pod different than a standard Escape pod?

In Star Trek Beyond, Captain Kirk orders the crew to abandon ship. I assume they do so in normal ole escape pods. But, then, Kirk instructs Sulu to get into his Kelvin pod. Since he called it by name, I have to assume it is special.     I found on :      The Kelvin pod was a type of escape pod that were attached to the USS Enterprise in 2263. Kelvin pods were stowed beneath the bridge of the Constitution-class ship, allowing quick egress for the command crew in the event of a catastrophic event.   My question is, how are they different and where in the movie (or externally) is this confirmed.


Is it possible to hide the origin's display dot of the object(the black dot) from the viewport display ?

i was wondering this question. Here's the picture about that. It is that little black dot in the center. As far as i have learned it is just for displaying the center of mass. It often draws my attention and i need to hide it.


Where can I ask about languages that don't have a dedicated site?

As an avid fan of folk, metal and especially folk metal, I encounter many foreign languages and dialects on a daily basis. As I would like to understand what I'm hearing to the best of my ability as an English-only speaker, it would be very convenient if I didn't have to propose a new site on Area 51 every time I'm confused about a lyric. Unfortunately, it looks like SE prefers sites for individual languages as opposed to groups of languages, and Google Translate is not a native Swede, nor does it translate Sognamål.  Where can I ask this kind of question so that native speakers and cultural experts will see it?  P.S. I really don't think the folks over at Music Fans would be able to help much with translation stuff.


When I create a mesh and try to select a previous mesh, it selects them both as if they were one object

I was modeling a tree trunk and I placed the origin cursor on the trunk and added an icosphere. But when I tried to select one of them with the mouse it would select both at the same time as if I had joined them (which I know I did not).  Thank you to anyone who answers :)


I'm trying to learn how to use curlpp to send http requests in C++. So far the examples on their own work fine, but I'm trying to save the result into a std::string variable using stringstreams. The code looks like this:  31                 std::stringstream result; 39                 request.perform(); 40  41                 result << request; 42                 std::string jsonstring; 43                 result >> jsonstring; 44                 std::cout << jsonstring << "\n";   But the the result only returns a portion of the actual string This is ./a.out should look like:  {"mrpickie":{"id":25755422,"name":"Mr PickIe","profileIconId":19,"summonerLevel":30,"revisionDate":1454122204000}}   This is what it looks like:  {"mrpickie":{"id":25755422,"name":"Mr   What's up with that? I'm new to C++, so I imagine it has something to do with how I'm using stringstreams or declaring my string variable. If you want any more lines from my code I'd have no problem sharing  Thanks in advance


Excel: Find a subset of numbers that add to a given total?

I have a column of numbers (lets say it's A1:A100) and I need to find a subset of them that sum to a certain total.


Syslog local0 local7 and severity levels

Why is there 7 different localX facilities in syslog ? My understanding is that we can choose anyone but I am curious and I would like to know why there are 8 facilities.  Any link with "severity" ?


Good morning,I have a problem with my authentication password when to download applications from Internet or trying to update my applications. It seems I forget it. I need a help to get my password authentication or to edit it.


Show a convergent series $\sum a_n$, but $\sum a_n^p$ is not convergent

$p>1$ is a integer, Show  a  convergent series $\sum\limits_{n=1}^\infty a_n$, $a_n\in\Bbb R$, such that the series  $$\sum_{n=1}^\infty a_n^p$$  is divergent  p.s. If $p>1$ is not an integer and $a_n\lt0$, it will be difficult to define $a_n^p$(complex analysis?), so we only consider $p\in\Bbb Z$


Surface and volumes of solids of revolution

The lemniscate $\ r^2 =\ a^2 \cos (2\theta) $ revolves about a tangent at the pole. What will be the volume generated?  I know the answer will be $ \frac  {\pi a^3}{4}$ But my question is how? Any help possible is requested.


Prob. 3, Chap. 3 in Baby Rudin: If $s_1 = \sqrt{2}$, and $s_{n+1} = \sqrt{2 + \sqrt{s_n}}$, what is the limit of this sequence?

Here's Prob. 3, Chap. 3 in the book Principles of Mathematical Analysis by Walter Rudin, 3rd edition:      If $s_1 = \sqrt{2}$, and $$s_{n+1} = \sqrt{2 + \sqrt{s_n}} \ \ (n = 1, 2, 3, \ldots),$$ prove that $\left\{ s_n \right\}$ converges, and that $s_n < 2$ for $n = 1, 2, 3, \ldots$.    My effort:   We can show that $\sqrt{2} \leq s_n \leq 2$ for all $n = 1, 2, 3, \ldots$. [Am I right?]  Then we can also show that $s_n < s_{n+1}$ for all $n = 1, 2, 3, \ldots$. [Am I right?]  But how to calculate the exact value of the limit? Where does this sequence occur in applications?


Parent chat user still links to discuss.area51

When viewing a user who has their parent user on chat set to area51, it still links to discuss.area51, instead of the new URL, area51.meta. See:      So can we update these links?


Why are Star Wars Rebel Alliance ships named after letters from the Latin alphabet?

Inspired by  to "" I want to know in universe why the Rebel Alliance fighter names are based on Latin alphabet characters, and not, for example Aurebesh (one of the more common in-universe alphabets).  From the Wikipedia :    For example, why isn't the Y-wing actually called a 'Vev-wing', an A-wing  a 'Xesh-wing', etc. in universe?


Windows 7 detected, but no option to install alongside windows

Situtation   I want to install ubuntu alongside windows 7. I have 3 partitions on my internal hard-disk (C,D,E) and one external hard disk drive. I have removed external hard disk drive (from USB port) as i do not want to mess-up with my data on the this drive. I formated (as NTFS) my drive D in windows 7 to install ubuntu on this drive. Created a bootable USB with ubuntu 14.04.1   Problem   Installation is showing Windows 7 detected but no option to install alongside windows.       Updated          output of     sudo parted -l


"Error: Unknown filesystem" on all my drives on Grub rescue

I was trying to start my computer in Windows safe mode and ended up pressing F8 before selecting Windows in grub instead of after and now it's stuck in grub rescue. I looked up how to use it to make it work normally again, but when I try to locate the ubuntu drive they all say "error: unknown filesystem." I did the ls command to see all of my drives as well. I've also tried botting from a live USB, but it only shows a black screen.  So what does this mean? Can it be fixed? Does pressing F8 really cause this much damage?


What is the meaning of $? in a shell script?

When going through one shell script, I saw the term "$?". What is the significance of this term?


Gallery/list of advertisements for a site

When I am viewing pages, I sometimes see an ad that I don't have time to investigate at the moment, and I don't always bookmark them.  I believe the system needs to have some way or search where I can see the currently running advertisements.  Ideally this would also be the official list of all the community ads.  As a regular users of serverfault I see the ads running in the sidebar.  In a several cases I have  investigate the product, and a couple cases actually purchased something because of the advertisement.  Recently I had remember seeing one interested and I wanted to find it again, so I went to the main page, and just kept re-refreshing the page a lot.  This creates needless traffic, may mess up your stats, and is not very easy to find a particular ad.


Archive all files with specific extension without full structure

I'm trying to tar all .log files in /var/log directory. But i need to tar only the files without the directories names i have done this so far : sudo find  /var/log/ -name '*.log' | sudo xargs tar --transform='s!./!!' -rf allcfiles.tar  the output still have the folder names like varlog/file.log varlog/file1.log varlog/x/file2.log  but i need the archive to have the structure of : file.log file1.log file2.log


unable to print output from my method, local jump error

def bubble_sort_by(array)   sorted = false    until sorted     swapped = false      (array.length - 1).times do |i|       if yield(array[i],array[i+1]) > 0         array[i], array[i+1] = array[i+1], array[i]         swapped = true       end     end      if swapped == false       sorted = true     end   end   array end   print bubble_sort_by(["hi","hello","hey"]) do |left,right|     left.length - right.length end   Hi I am building a method which sorts an array but accept a block. The block should take two arguments which represent the two elements currently being compared and sorting the element from the smallest to biggest.().  I am expecting the output to print ["hi", "hey", "hello"] However it results in an error message:  source_file.rb:8:in `block in bubble_sort_by': no block given (yield) (LocalJumpError)     from source_file.rb:7:in `times'     from source_file.rb:7:in `bubble_sort_by'     from source_file.rb:22:in `<main>'   Can someone explain where does the error come from, and how can I fix it? Also I realised that if I change the code array (from second last line of the method block) to print array; the code prints out ["hi", "hey", "hello"] which is what I wanted and hence it should mean that my code is correct. Therefore my confusion of where did the error come from and how can i fix it?


A normal subgroup is the union of conjugacy classes.

This is Exercise 2.6.5 of F. M. Goodman's "Algebra: Abstract and Concrete". I want to check my proof.     Exercise 2.6.5: Show that a subgroup (of a group) is normal if and only if it is the union of conjugacy classes.   My Attempt:  Let $N$ be a subgroup. Then  $$\begin{align} N\text{ is normal }&\Leftrightarrow \forall g\in G, N=gNg^{-1} \\ &\Leftrightarrow \forall n\in N \forall g\in G\exists m_{n, g}\in N, n=gm_{n, g}g^{-1} \tag{1}\\ &\Leftrightarrow N=\bigcup_{n\in N}\underbrace{\bigcup_{g\in G}\left\{gm_{n, g}g^{-1}\right\}}_{\text{conjugacy class of }n}\tag{2} \\ &\Leftrightarrow N=\bigcup_{n\in N}[n], \end{align}$$ where $[n]$ is the conjugacy class of $n$.$\square$     Is this proof valid?   Thoughts:  I hope to make $(1)$ to $(2)$ (and back) more explicit.  Please help :)


Can a countable set contain uncountably many infinite subsets such that the intersection of any two such distinct subsets is finite?


Quitting a job in the US on a work visa, going to Canada and re-entering on a tourist visa (ESTA waiver)

I have been working in the USA on an E-3 visa and intend to return home to Australia, but I want to travel around the US before I do so. I am under the impression that after leaving my current company, I will have 10 days to leave the country.   Will I be able to go into Mexico or Canada and re-enter with an ESTA waiver as a tourist?


I have been doing a new survival world, and I was out on a completely different island exploring, but when I came back to my house, I was greeted by this.  My first thought was creepers, but I then realized that only my dark wood blocks disappeared and nothing else. All of my windows were intact, and so were my anvil, crafting table, and all of my chests. Then I thought an enderman stole blocks, but just look at how many blocks are missing.  What happened here, and why have only the dark oak blocks disappeared?


has aired with a new statistic, "People reached". This stat may have research value, but it's not provided in the data dumps.  This would be useful, for example, where:  Anyone out there willing to do some SO data analytic magic for me? I'm interested in looking for the trend of people reached as a function of rep —  by    Please add it as a record!


Is there an equivalent to Google Sketchup?

I would like to know the various tools available in Ubuntu similar to Google Sketchup.  I dont like to install Sketchup using wine in Ubuntu.


Background  I am looking to switch my keyboard and mouse between a desktop computer and a laptop. The desktop resolution is , which eliminates most (but ) KVM switches. The monitor has the ability to switch between desktop and laptop. Both computers are plugged into the monitor. The audio is also not an issue for switching.  Problem  All KVM switches I have found come with cables that have  for audio, video, and USB. In this case, the audio and video connectors are superfluous. I could leave them disconnected, but then there'd be dangling bits of hardware (that a cat or infant could lick or bite). Also, I find the aesthetics of extraneous dangling bits to be displeasing. ;-)  The search results for USB KM switches are overrun by KVM switches, making it difficult to search for this particular hardware device.  Constraints  Hardware solutions only.  Questions  I am wondering:   What are such keyboard-mouse (KM) USB switches called? How would you eliminate the superfluous A/V connectors? Optionally, what components would be required to build such a switching device?   I contacted a 2-port USB  and they recommended that I use the KVM cables that comes with the switch--as opposed to substituting a regular USB cable.  Update  The device I have in mind would be similar to a . I could use a USB Hub plugged into the Share Switch, but that's two devices when only one should be necessary.


Convert from scientific notation string to float in C#

What's the proper way to convert from a scientific notation string such as "1.234567E-06" to a floating point variable using C#?


So that earthquake, did you check your math?

There was a short story in one of my dad's books about a seismologist living in California who was predicting 'the big one' on the San Andreas fault, but kept arguing with the computer about the math. I can't remember the author, title or any other identifier, but the last line was something like:     "Well, I'll be. The computer was right!"    There may have been mild profanity.     Everyone else leaves California, but instead of California falling into the Pacific, the rest of the country falls into the Atlantic. He is the sole survivor.


Provide information "on", "of" or "about" something?

Which is grammatical: "it provides information on something", or, "it provides information of something", or, "it provides information about something"? Or if all are grammatical, which one is used depending on the context? Are there other prepositions possible, e.g. "in"?


When writing formal proofs in abstract and linear algebra, what kind of jargon is useful for conveying solutions effectively to others? In general, how should one go about structuring a formal proof so that it is both clear and succinct? What are some strategies for approaching problems that you will need to write formal proofs for?


Am trying to get ubuntu-16.04-server-amd64.iso ISO file to boot from grub 2.02~beta2-9ubuntu1.7 found in Ubuntu 14.04 server.  menuentry "Ubuntu 16.04 Server AMD64" --class ubuntu {   set isopath="/boot/iso"   set isoname="ubuntu-16.04-server-amd64.iso"   set isofile="${isopath}/ubuntu/${isoname}"   echo "Using ${isoname}..."   loopback loop $isofile   linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}   initrd (loop)/casper/initrd.lz }   When writing ls in grub mode I can see that my file exist at (hd0,msdos1)/boot/iso/ubuntu-16.04-server-amd64.iso. How can I construct a grub menu entry so I can boot into that ISO file?  Please keep in mind that this is not the Live Ubuntu Desktop ISO file but the server version.


Is "get" (in the sense of "become/make") appropriate for formal writing?

Is the use of "get + adjective/participle" appropriate for formal writing (for example, scientific papers)?  I am thinking of usages analogous to    get fat  get inflated get sick   where the meaning is "become".  What about cases where the meaning is "make (sg)", such as    get (it) done get (her) dressed   Not being a native speaker, I cannot easily judge the level of formality of these constructs.


How to prove that $(M\mathbf {a} )\times (M\mathbf {b} )=(\det M)M^{-T}(\mathbf {a} \times \mathbf {b} )$?

In computer vision, there are lots of formula came in being with geometry form. And this equation is very about Fundamental matrix in epipole geometry. So, can some one proof this equation? $${\displaystyle (M\mathbf {a} )\times (M\mathbf {b} )=(\det M)\left(M^{-1}\right)^{\mathrm {T} }(\mathbf {a} \times \mathbf {b} )=\operatorname {cof} M(\mathbf {a} \times \mathbf {b} )}$$


sql php injection - php - Problem with the site I am adding / '

I built a gallery system. Everything works I uploaded the site for web hosting. But I have a problem. For example I add at the end of the example pages index.php / ' My site turns white but all the site data is there. I have now protected the site using real_escape_string $page = "index"; $query = $mysqli->con->prepare("SELECT * FROM `pages` where page = ?"); $query->bind_param('s',$page); $query->execute(); $row = $query->get_result(); $result = $row->fetch_assoc();


OAuth 2.0 Username-Password Flow Problem - unsupported_grant_type

I am trying to implement  and below is my code and debug log - any help is appreciated.  Http httpProtocol = new Http();    HttpRequest request = new HttpRequest(); request.setHeader('Content-Type', 'application/json;'); request.setEndPoint('https://test.salesforce.com/services/oauth2/token'); request.setMethod('POST'); String strbody = '{"grant_type":"Password", "password":"MY PASSWORD + TOKEN", "username":"SANDBOX USER NAME",  "client_secret":"secret",   "client_id":"Client id from remote setttings"}'; request.setBody(strbody); HttpResponse response = httpProtocol.send(request); String jsonInput = response.getBody(); system.debug('jsonInput===>'+jsonInput);   Debug log -   15:55:38.068 (68324000)|SYSTEM_METHOD_ENTRY|[5]|System.HttpRequest.setMethod(String) 15:55:38.068 (68346000)|SYSTEM_METHOD_EXIT|[5]|System.HttpRequest.setMethod(String) 15:55:38.068 (68350000)|STATEMENT_EXECUTE|[6] 15:55:38.068 (68356000)|HEAP_ALLOCATE|[6]|Bytes:357 15:55:38.068 (68381000)|VARIABLE_ASSIGNMENT|[6]|strbody|"{\"grant_type\":\"Passw (337 more) ..." 15:55:38.068 (68387000)|STATEMENT_EXECUTE|[7] 15:55:38.068 (68407000)|SYSTEM_METHOD_ENTRY|[7]|System.HttpRequest.setBody(String) 15:55:38.068 (68440000)|SYSTEM_METHOD_EXIT|[7]|System.HttpRequest.setBody(String) 15:55:38.068 (68445000)|STATEMENT_EXECUTE|[8] 15:55:38.068 (68478000)|SYSTEM_METHOD_ENTRY|[8]|System.Http.send(APEX_OBJECT) 15:55:38.068 (68568000)|CALLOUT_REQUEST|[8]|System.HttpRequest[Endpoint=https://test.salesforce.com/services/oauth2/token, Method=POST] 15:55:38.483 (483258000)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:219 15:55:38.483 (483399000)|CALLOUT_RESPONSE|[8]|System.HttpResponse[Status=Bad Request, StatusCode=400] 15:55:38.483 (483424000)|HEAP_ALLOCATE|[8]|Bytes:96 15:55:38.483 (483444000)|SYSTEM_METHOD_EXIT|[8]|System.Http.send(APEX_OBJECT) 15:55:38.483 (483615000)|VARIABLE_ASSIGNMENT|[8]|response|"System.HttpResponse[Status=Bad Request, StatusCode=400]"|0x1b22c3f1 15:55:38.483 (483627000)|STATEMENT_EXECUTE|[9] 15:55:38.483 (483666000)|SYSTEM_METHOD_ENTRY|[9]|System.HttpResponse.getBody() 15:55:38.483 (483742000)|HEAP_ALLOCATE|[9]|Bytes:81 15:55:38.483 (483751000)|SYSTEM_METHOD_EXIT|[9]|System.HttpResponse.getBody() 15:55:38.483 (483780000)|VARIABLE_ASSIGNMENT|[9]|jsonInput|"{\"error\":\"unsupporte (61 more) ..." 15:55:38.483 (483786000)|STATEMENT_EXECUTE|[10] 15:55:38.483 (483794000)|HEAP_ALLOCATE|[10]|Bytes:13 15:55:38.483 (483980000)|HEAP_ALLOCATE|[10]|Bytes:94 15:55:38.483 (483999000)|SYSTEM_METHOD_ENTRY|[10]|System.debug(ANY) 15:55:38.484 (484025000)|USER_DEBUG|[10]|DEBUG|jsonInput===>{"error":"unsupported_grant_type","error_description":"grant type not supported"}


If $f: \mathbb{C} \to \mathbb{C}$ is analytic and not linear, then $z, f(z), f(f(z)), \dots$ are linearly independent functions over $\mathbb{C}.$

I wish to prove that if $f: \mathbb{C} \to \mathbb{C}$ is analytic and not of the form $az+b,$ then $z, f(z), f(f(z)), \dots$ are linearly independent functions over $\mathbb{C}.$  The cases $n=0, 1$ are trivial. To solve this problem, I'm starting on the first non-trivial scenario: assume $c_1 z + c_2 f(z) + c_3 f(f(z)) = 0$ for some $c_1, c_2, c_3.$ If I can solve this, I'll probably know how to solve the general case. But I'm getting nowhere.   The equations $z-f(z)-f(f(z))+f^3(z)=g(z)-g(g(z)) = 0$ for $f(z) = z+1, g(z) = |z|$ suggest we should impose analycity and non-linearity. Any hints or ideas?    Edit: I've obtained a major breakthrough, but one step is still missing. Define a function to be $n$-independent if $z, f(z), f(f(z)), \dots, f^{(n)}(z)$ are linearly independent over $\mathbb{C}$ on some non-empty open subset of $\mathbb{C}.$  Unproven Lemma: The set of $n$-dependent functions forms a vector space under addition.  $f$ being $n$-dependent easily implies $cf$ is $n$-dependent, so additivity is the only thing that stands in the way of proving this lemma. We need to figure out some way to handle terms like $(f+g) \circ (f+g) = f(f(z)+g(z))+g(f(z)+g(z))$ without messing up the rest of the terms.   First note that $h(z)=az+b$ is $2$-dependent since $z, h(z), h(h(z))$ are $3$ vectors in the $2$ dimensional vector space of polynomials with degree $\le 1.$  Suppose $f$ is analytic and non-linear. Let $n$ be minimal such that $f$ is $n$-dependent. Let $g(z) = f(z)-(f(1)-f(0))z-f(0).$ Since $f$ isn't linear, $n \ge 2,$ implying $g$ is $n$-dependepnt. Suppose $c_0 z + c_1 g(z) + \dots + c_n g^n(z) = 0.$ Setting $z=1,$ we get $c_0 = 0,$ so $c_1 z + \dots + c_n g^{n-1}(z) = 0$ on $\mathcal{O} = g(\mathbb{C}),$ which is open by the open mapping theorem since $g$ is analytic and non-constant.   Thus, $g$ is $n-1$ dependent. If $n \ge 3,$ this means $f$ is $n-1$ dependent, contradiction. If $n=2,$ then $g$ is $1$-dependent, so $g(z)=cz$ for some $c,$ which means $f$ is linear, contradiction.


Proving $\,a\mid bc\!\iff\! \frac{a}{(a,b)}\!\mid c\ $ [general Euclid's Lemma]

I tried to start by showing that $ \frac{a}{\gcd(a,b)} $ is always an integer, let's call it $d$, because $a$ is always a multiple of $(a,b)$ based on the definition of a g.c.d. I then tried to show that if $a | b$ then $a|bc$ from the theorem that states that $a|b$ implies that $a|bc$ for any integer $c$, but I cant seem to prove that $a | b$ or that $a|bc$ only if $d \mid c$ (where $d = \frac{a}{\gcd(a,b)}$ ). Any help would be much appreciated.


Sort map of maps i.e. nested maps in java

Lets say I have data which has following structure.  //map1        //map2         //map3 Fruit-------->Apple--------->Green Apple------->4                              Red Apple--------->5                              Yellow Apple------>6                              Total------------->15               Cherry-------->Red Cherry-------->5                              Green Cherry------>3                              Total------------->8 Vegetable----->Capsicum----->Green Capsicum---->5                              Red Capsicum------>7                              Yellow Capsicum--->3                              Total------------->15   In other words I have  Map<String, Map<String, Map<String, Long>>>   I want to sort the innermost map(map3) by values and the middle map(map2) by the value of entry "total" in map3.  I know that typically we can sort the map by value as follows.  import java.util.*;  public class MapUtil {  public static <K, V extends Comparable<? super V>> Map<K, V>      sortByValue( Map<K, V> map )  {     List<Map.Entry<K, V>> list =         new LinkedList<Map.Entry<K, V>>( map.entrySet() );     Collections.sort( list, new Comparator<Map.Entry<K, V>>()     {         public int compare( Map.Entry<K, V> o1, Map.Entry<K, V> o2 )         {             return (o1.getValue()).compareTo( o2.getValue() );         }     } );      Map<K, V> result = new LinkedHashMap<K, V>();     for (Map.Entry<K, V> entry : list)     {         result.put( entry.getKey(), entry.getValue() );     }     return result;   } }    But here the value is a long and not map. I am working on this problem and I think this can be a good way to learn more about maps. Any idea or suggestion about how this can be achieved?


Why 'passwd' rejects my current password, which is accepted in my login?

I am using Ubuntu 16.04.1 LTS through the Oracle VM Virtualbox. At the beginning of my installation, I was asked to set a password for my login, which works perfectly every time I log in to my virtual box.  However, when I tried today to change my password with passwd, I get the following error messages:  passwd: Authentication token manipulation error passwd: password unchanged   Therefore, I cannot change my password. The point is that I am pretty sure I am typing correctly my password since it is also my log-in password (it consists of characters [some in upper case], numbers, and an asterisk *).  Is there anything I could do to find out what's happening or a way to change my password?  PS: Everything began from my attempt to use sudo -, where again my typed password gets rejected.


I went from Ubuntu version 8 something to 13.04 and the system is slow to the point of unuseable.  Is there something I can do with 13.04 to make it work or should I install an earlier version?  If so what version? Thank you, Hap


Linux efficient command to find if 32 bit/64 bit

I am trying to figure out the list of possible ways to find out if a Linux machine is 32 bit or 64 bit.   Method 1:  The command uname -m will specify if my machine is 32 bit or 64 bit.    Method 2:  I can run the command getconf LONG_BIT to find if it is 32 bit or 64 bit.   Method 3:  I can check for the lm bit in the /proc/cpuinfo file. If that bit is not set, then I can say my machine is a 32 bit machine.   Which of the above methods is the more accurate way of telling if my machine is a 32 bit machine or 64 bit machine? Or is there any other efficient way/command to find out the same?


I'm a beginner, and just learn about shading following video tutorials. The first time I open the tab 'shading' everything should be white in second pic.but in my screenshot as you can see it just a mess. I reset to default settings but still the same. I'm confused, can anyone help me fix this problem?


Characterize units in formal power series $R[[x]]$

Suppose $R$ is a commutative ring with unity. Define $R[[x]]$ as "formal power series in the variable $x$ with coefficients from $R$". These are the infinite sums of the form  $     \sum_{n=0}^\infty a_ix^i,  a_i\in R. $ Is there any way to characterize all of the units in this ring $R[[x]]$?


How can I remove gpg key that I added using apt-key add -?

I don't need the key in my server's keyring anymore. Is it possible to remove it? I added the key using this command:   curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add -   Thanks for helping


Can I substitute whole eggs for egg whites in cake mix?

A box of white cake mix needs three egg whites.  If substituting whole eggs for egg whites, how many whole eggs would I use?


Partial derivative $\frac{\partial}{\partial x_i} ( {\bf x}-{\bf c})^T A ( {\bf x}-{\bf c})$

How to find the following partial derivative   \begin{align} \frac{\partial}{\partial x_i} ( {\bf x}-{\bf c})^T A  ( {\bf x}-{\bf c}), \end{align}   where ${\bf x}$ is a vector of length $n$ and  $A$ is a strictly positive definite matrix, and  ${\bf c}$ is just a fixed vector.   My plan was to re-write it in terms of a double sum and take the derivative.


Heartbleed, which specific services must be restarted?

Trying to figure out exactly what services should be restarted after  against Heartbleed. At least one post mentions restarting:     sshd, apache, nginx, postfix, dovecot, courier, pure-ftpd, bind, mysql    Is there a command that can be run to see what running services are dependent on openssl? Is there a command to run against apache/nginx to see if the patch is active so the service doesn't need to be restarted? Should we just schedule downtime and reboot every server entirely?   EDIT:  suggests using: lsof -n | grep ssl | grep DEL to display processes still using the old version of OpenSSL marked for deletion


Does the kinetic friction change when the angle of inclination is changed on a mass sliding down and inclined plane

I have a mass sliding down an inclined plane. I am changing the angle of inclination at intervals of 10 degrees starting from 10 till 80 degrees. Will the kinetic friction be the same for all angles or will it reduce as the angle gets closer yo 90 degrees?


Do airlines have to check the visa status before selling a ticket?

My daughter bought a ticket for a flight with a layover in Emirates (from Dallas, Texas to India). She had a stop of 48 hours in Dubai. When she was checking in in Dubai for Delhi, she was informed that her visa for India has expired in 2012. Did Emirates not have an obligation to check the visa for India before selling a ticket?


How to include figure list and table list in the index of my article?

I want to include the figure list and table list in the index of my article, similarly with others numbered sections. But, when I use the code below nothing happened. There are a way to do it?     \begin{document}      %-------------index-------------------- \newpage \tableofcontents \thispagestyle{empty}  \break  %---------figure list------ \listoffigures  \break  %---------table list------ \listoftables  \break               \end{document}


I have a container with multiple divs and am using the flexbox model. I want achieve the following using css, although I cannot change the order of div tags.    In the second row the div with value "8" has to come first.  I have attached the  link.    .container {   position: relative;   display: flex;   flex-flow: row wrap;   // align-items:flex-start;   align-content: space-around;   justify-content: flex-start; }  .item {   background-color: tomato;   box-sizing: border-box;   padding: 20px;   outline: 2px solid blue;   flex-basis: 20%; }  .item-inside {   display: none;   background-color: #ABABAB;   box-sizing: border-box;   padding: 20px;   outline: 1px solid red;   flex-basis: 80%; }  .show {   display: block; }  .hide {   display: none; }

1

2

3

4

5

8

7

6

9

10

11

8

12


Link Stack Exchange account to GitHub instead of Google

The title speaks for itself: I would unlink my Stack Exchange account from Google and attach it to my GitHub account instead.   Is that possible?


No more disk space, nothing eating my disk. Why?

I had 100% of disk use on   /dev/xvda1   Which is the system partition, so I decided to mount  /var/lib   On another partition   /dev/xvdf   since docker files under /var/lib were eating much space.  I have always 100% of the root partition used.  udev            2.0G   12K  2.0G   1% /dev tmpfs           396M  336K  395M   1% /run /dev/xvda1       99G   99G     0 100% / none            4.0K     0  4.0K   0% /sys/fs/cgroup none            5.0M     0  5.0M   0% /run/lock none            2.0G     0  2.0G   0% /run/shm none            100M     0  100M   0% /run/user /dev/xvdf       296G  765M  280G   1% /var/lib   and  lsof | grep deleted   shows nothing  And this is the output of du -sh  52M /admin 9.6M    /bin 25M /boot 12K /dev 5.9M    /etc 11M /home 0   /initrd.img 61M /lib 4.0K    /lib64 16K /lost+found 4.0K    /media 4.0K    /mnt 4.0K    /opt du: cannot access '/proc/3945/task/3945/fd/4': No such file or directory du: cannot access '/proc/3945/task/3945/fdinfo/4': No such file or directory du: cannot access '/proc/3945/fd/4': No such file or directory du: cannot access '/proc/3945/fdinfo/4': No such file or directory 0   /proc 15M /root 336K    /run 9.4M    /sbin 4.0K    /srv 0   /status 0   /sys 8.5M    /tmp 1016M   /usr 877M    /var 0   /vmlinuz   The inode usage:  Filesystem       Inodes  IUsed    IFree IUse% Mounted on udev             504621    397   504224    1% /dev tmpfs            505859    315   505544    1% /run /dev/xvda1      6553600 684402  5869198   11% / none             505859     10   505849    1% /sys/fs/cgroup none             505859      1   505858    1% /run/lock none             505859      1   505858    1% /run/shm none             505859      1   505858    1% /run/user /dev/xvdf      19660800    202 19660598    1% /var/lib   Do you see any solution ?


Can I use Gödel numbers to make a proof?

As we know, any proposition can translate to Godel numbers, such as  $$( \exists x)\space (x=sy)$$Its Godel numbers is $2^8 × 3 ^4 × 5^ {13} × 7^ 9 × 11^8 × 13^{13} × 17^ 5 × 19^ 7 × 23^ {17} × 29^ 9=a \space big \space number $  We also could get the character sequence "$( \exists x)\space (x=sy)$" through prime factorization of this big number.  Such as$$243,000,000=2^6×3^5×5^6 $$ $$6\space\space\space\space\space 5\space\space\space\space\space 6 $$ $$\downarrow\space\space\downarrow\space\space\downarrow$$ $$0\space\space\space=\space\space\space 0 $$ So $243000000$ is the Godel numbers of "$0=0$"   There are four axioms in Godel's PM system, here are two of them: $$(p\lor p)\subset p$$ $$p\subset (p\lor q)$$ through these two axioms, we can prove "$(p\lor p)\subset(p\lor q)$" is a true theorem.   And these two axioms and a theorem all have a corresponding Godel numbers, can we prove this theorem is true through Godel numbers? If it works, how?


There exists a one-to-one function $g$ such that $f\circ g$ is constant

Let $f:\mathbb{R}^2\to \mathbb{R}$ be a $C^1$ function. Then there exists a continuous one-to-one function $g$ on $[0,1]$ such that $f\circ g=$constsnt.  Attempt: If $f\equiv 0$ then nothing to prove. So assume that $f\neq 0$. That is there is some $(x_0,y_0)\in \mathbb{R}^2$ such that $f(x_0,y_0)\neq 0.$ Now we can apply  to say that there is a function $\phi: U_{x_0}\to V_{y_0}$ such  that $f(x,\phi(x))=0.$   Now how to get a function from $[0,1]$? This is not clear to me.


Motivating yourself to be back in photography

I am a hobbyist photographer, i had a d90, but it got stolen and later found out my relatives stole it and ever since my motivation broke down. Then i got myself a new upgraded model just thinking it will reengage me into photography again. I carry my camera all the time my bag and yet, never i take it out. I pass so many places in car to stop by and get shots, but thinking that my photography sucks and i don't get much likes or reviews on fb or website makes it cherry on top, hence me becoming effortless.  Even i got studio lights but, my motivation is gone. what should i do?


In terms of the Ampere-Maxwell law, why is $\vec {E}=0$ in a wire of a capacitor circuit?

I'm currently studying from "Introduction to Electromagnetics" by D.J. Griffiths. In the book the significance of the displacement current term is explained by looking a non-steady capacitor circuit (shown below).  Using the integral equation and balloon-shaped surface, it is said that $I_{enc}=0$ but $\int \partial\vec{E}/\partial t \cdot d\vec{a}=I/\epsilon_0$. This statement makes sense to me - there is no physical current flowing between the plates but there is a changing electric flux through the balloon surface.  My misunderstanding is with the flat Amperian loop surface where it is mentioned that $\vec{E}=0$ and $I_{enc}=I$ in this case. Obviously there is a current flow $I_{enc}$ in the Amperian loop, but why is $\vec{E}=0$? Just looking at the equations directly, I would have thought there would be a combination of both current terms (including displacement current due to changing electric field in the wire) in a capacitor charging/discharging situation.  I've attempted to seek other explanations on this from other texts,  and elsewhere in this stackexchange site, but this has made me more confused. Clarification on this would be appreciated.     Differential form of Ampere's-Maxwell's equation: $$\nabla \times \vec{B}=\mu_0\vec{J}+\mu_0\epsilon_0\frac{\partial \vec{E}}{\partial t}$$  Integral form of Ampere's-Maxwell's equation: $$ \oint\vec{B}\cdot d\vec{l} = \mu_0I_{enc}+\mu_0\epsilon_0 \int \frac{\partial \vec{E}}{\partial t} \cdot d\vec{a} $$


I'm new to java programming. I would like to round up a price to the nearest 2 decimal places with a multiple of 5.  Eg.   38.80 stays the same. 38.81 to 38.80. 38.82 to 38.80. 38.83 to 38.85. 38.84 to 38.85. 38.85 stays the same. 38.86 to 38.85. 38.87 to 38.85. 38.88 to 38.90. 38.89 to 38.90. 38.90 stays the same.   I tried the provided duplicates but they come out only to 1 decimal place. Eg. 38.82 to 38.8.  This is my code:  import java.text.DecimalFormat;  public class RoundUp {      public static void main(String[] args){         DecimalFormat df = new DecimalFormat("#.##");         double num = 38.84;         System.out.println(df.format(Math.round(num*10.00)/10.00));     } }   I have looked into other model answers by experts in this web but none of them really answer my question. Setting into 2 decimal places, I'm using DemicalFormat. That I know, but rounding the number, let's say 38.83 to 38.85 and 38.87 to 38.90 is what I really want.  It is a rounding system that my country is using. Can check it out .  **     This question has been answer by @Mureinik  double rounded =   Math.round(num * 100.0 / 5.0) * 5.0 / 100.0;   **


Hierarchical clustering with mixed type data - what distance/similarity to use?

In my dataset we have both continuous and naturally discrete variables. I want to know whether we can do hierarchical clustering using both type of variables. And if yes, what distance measure is appropriate?


a coding theory question about inequality

Let $F$ be a finite collection of binary strings of finite lengths, and assume that no two distinct concatenations of two finite sequences of codewords result in the same binary sequence. Let $N_i$ denote the number of strings of length $i$ in $F$. Prove that$$\sum_{i}{\frac{N_i}{2^i}}\le{1}$$


Proof of the inequality $(x+y)^n\leq 2^{n-1}(x^n+y^n)$

Can you help me to prove that $$(x+y)^n\leq 2^{n-1}(x^n+y^n)$$ for $n\ge1$ and $x,y\ge0$.  I tried by induction, but I didn't get a result.


Coherent states of the form $|{-\alpha}\rangle$

I've a brief question about coherent states in quantum mechanics.  As everyone knows, a coherent state is just the proper state of the anhilitation operator $a$, thus they're defined with the eigenvalue equation $a|\alpha\rangle=\alpha|\alpha\rangle$ (or inverting, $\langle\alpha|a^\dagger=\langle\alpha|a^{*}$).  However, sometimes I've seen coherent states of the form $|{-\alpha}\rangle$, and I was wondering about their physical meaning and if they satisfy the same eigenvalue equation as before, i.e., $a|{-\alpha}\rangle=-\alpha|{-\alpha}\rangle$ (and thus, $\langle{-\alpha}|a^\dagger=\langle{-\alpha}|{-\alpha}^{*}$).  Precisely, we can find these states, for example, in the case of the Schrödinger cat state.


Problem with Duplicate Meta / tag description in Webmaster Tool

Hope you are fine and in a good health.  I owned a blog www.ismag.com and today when I check my website in Google webmaster tool I found these errors in html improvement.    I am using WordPress SEO by Yoast. Please help me to solve this issue.


Should I move servers and change email address after email spoofing?

I'm hoping the community can help me shed some light on a recent email spoof. Yesterday my client woke up to find hundreds of bounced failure notices.   The client did not personally send any of these emails. Each failure notice had a different reply-to address i.e.  xyxyxs@client-domain.co.uk trg@client-domain.co.uk hjd@client-domain.co.uk  The various reply-to addresses suggest that only the clients domain had been spoofed and not a specific email account (i.e actual-email@client-domain.co.uk).   I know if your email account has been spoofed, it's game over and you need to create a new email address. However, a specific address hasn't been targeted. Am I correct in thinking that I do not need to delete and create a new email address? I also assume the domain would have been widely blacklisted? Should I move hosting companies and would this make a difference?   Either way, I'll be implementing DKIM.  Sorry for so many questions, I'm just a little lost as the spoofer didn't target a specific email address.   Thanks


What is the best way (options, those numbers on the end) to mount a /tmp partition in /etc/fstab in terms of security and speed on a desktop (laptop) computer (read: not server)?  I've heard about nosuid, nodev and noexec, but I have no idea what they do, how to use them or even if I should used them.  I'm using LVM btw.


I graduated from college in May 2019 and started my first full time job in August 2019. I filed my 2019 Income Taxes in February and reported that my parents claimed me as a dependent because they paid for more than half of my 2019 expenses. 2020 is the first year that I will not be considered a dependent. Am I going to miss out on getting the $1,200 stimulus check since my parents claimed me in 2019?


Let $G$ be a connected graph such that $δ(G)≥k$. Proof there exists a path $P$ of length $k$ such that $G-P$ is connected.   I am not sure how do I actually approach this question. Do I consider contradiction or inductive proof, if so how. Really appreciate it alot


Accidentally deleted then reinstalled kernel- Want to check I'm ok

I accidently seem to have deleted my kernel (not sure how I did it) but I noticed before I rebooted the machine and have tried to reinstall it. I just want to be sure I'm ok before I do a reboot. uname --kernel-release gave (and still gives) 4.4.0-104-generic.  How I got in the situation:  I had no room on my boot folder to update so I removed the defunct image files  I can't find the exact command, but it was something like:  sudo apt-get remove linux-image-4.4.0.{6*, 7*, 8*, 9*, 101, 102, 103}   I'm not sure how, but after when I checked with   dpkg -l linux-image-\* | grep ii   the list was empty and the image 4.4.104 had been removed. I assume I must have made a typo in my previous command.  Steps to resolve  I have yet to reboot the machine, but I did   sudo apt-get install linux-image-4.4.0-104-generic sudo apt-get install linux-image-4.4.0-108-generic grub-set-default Ubuntu\,\ with\ Linux\ 4.4.0-108-generic   (sudo apt-get install linux-image-4.4.0-109-generic resulted in a 503 error (see below))  dpkg -l linux-image-\* | grep ii   Now shows   ii  linux-image-4.4.0-104-generic                         4.4.0-104.127~14.04.1                               amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii  linux-image-4.4.0-108-generic                         4.4.0-108.131~14.04.1                               amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP   If this is sufficient I will reboot, but I would like to confirm that before I do.  Further issues:  When I try   sudo apt-get upgrade   or to install linux-image-4.4.0.109-generic  I get a list of errors along the lines of   Err http://security.ubuntu.com/ubuntu/ trusty-security/main libruby1.9.1 amd64 1.9.3.484-2ubuntu1.7   503  OUT OF DISK SPACE   And nothing gets upgraded.


How to find if the application uses the database snapshots in Management Studio

I'm taking over dba responsibilities for the migration of an environment that the application owners are unable to give enough information on. I need to comment on possibility of optimizing licensing cost. Having compared Enterprise and Standard edition features, the only concerns i have are for Database snapshots and TDE, both of which are only supported by Enterprise in SQL 2012. There are snapshots in SSMS for some of the databases, but how do I know if the application is using them or not? My thoughts are that, if they are not being used then we could look at using Standard edition. For TDE I can check that with sys.dm_database_encryption_keys. Any thoughts to guide me will be appreciated please. Thank you


Keep iphone active while running program

how to set iPhone device to stay active ( to not lock ) while my app is running ? Any idea


How do I draw an arc between two lines in pgfplots using axis cs

I would like to draw an arc between to lines in a pgfplots picture using axis cs. My first attempt is as follows:      \documentclass[12pt,a4paper]{article}     \usepackage{pgfplots}      \pgfplotsset{compat=newest}      \begin{document}      \begin{center}     \begin{tikzpicture}         \begin{axis}[xmin=-8,xmax=8,xtick={-8,-6,...,8},             ymin=-8,ymax=8,ytick={-8,-6,...,8},grid=major             ,view={0}{90},x post scale={2},y post scale=2             ]         \addplot[black,thin,domain=0:8]{0};         \addplot[black,thin,domain=0:8]{2.3962931*x};         \draw [->] (axis cs:2,0) arc [radius=17mm,start angle=0,end angle=64.3];     \end{axis}     \end{tikzpicture}     \end{center}      \end{document}   However, the value of the radius and angle needed to be determined via trial and error. Hence, if I change the scaling (as used with x post scale and y post scale) then the arc does not display correctly.  Clearly, I have missed something and there should be a straight forward way to achieve my aims. I can change the arc to a circle (set radius=2 (with no units)) and I get what I expect and it scales.  Any insights would be much appreciated.  Peter Johnston.


Geometrical interpretation of tan(x) > x

Is there a geometrical interpretation for $tan(x) > x$ when $x \in (0, \frac{\pi}{2})$ in the unit circle? I can't picture it since $x$ is the angle (although it makes sense when you graph the two functions).


Is there a way to see deleted Area 51 proposals, to learn from what went wrong?

, and I was  that someone tried to start an Area 51 proposal called "On the road", which covered what I wanted, but it failed.  , so I assume it's been deleted.  I'd like to see this proposal to see if any lessons can be learned about what went wrong, and if/how a similar proposal could maybe succeed in future.  Is this possible? If not, could we make it possible? For example:   Keep a minimal amount of data on deleted proposals. Content of discussions with vote scores (but no data on who voted), stats on the numbers of followers (but not data on who followed), sample questions which got 5+ votes (without comments or data on who voted), etc. Hide deleted proposals in searches unless a "Show deleted proposals" box is ticked Links to deleted proposals don't just show as dead links, they have a page saying something like:      This proposal was deleted on [date], after [X] days of inactivity. Only a minimal amount of data on this proposal has been kept.      [Show me anyway] _ [Find similar proposals]"


I'm trying to wrap my head around function templates. Specifically, why should function templates be declared and defined in their own header file? Suppose you've decided to write a function template that you expect to use in many different source files. Suppose, further, that you haven't followed the basic advice of writing C++ templates in header files, but have instead done the following: Written only a declaration of the function template in a header file x.hpp (i.e., all you wrote in the header file is template  and then the function's signature). Written the function template, including its body, in the corresponding source file x.cpp. Now suppose that you've written a separate source file, y.cpp, in which you've written #include "x.hpp" near the top and then instantiated the function template by calling it, and that your call to the function template is a legal instantiation (i.e., it has the right number of parameters and they're compatible with any constraints introduced within the template). Will it always be the case that this program can be built? If so, why do we have a rule about writing C++ templates in header files (i.e., If this isn't the problem that rule solves, what problem does it solve?)? If not, specifically why does the program not build? What steps will succeed? What steps will fail?


What is the meaning of '\1' in the right-hand side of a sed substitution?

I am posting this question because I am unable to add a comment to an answer submitted by Kusalananda here:   He proposed the following solution:  sed -E 's/^(power[[:blank:]]*=[[:blank:]]*).*/\1something/' TheFile   Q1: What is the meaning of "\1"?  Q2: How can I modify this when dealing with key-value pairs with quotations around the value? e.g.  MTU="1500"   --- edit ---  Q3: In trying the suggestion from RalfFriedl I discovered that the name of my variable is being inserted, not the value.  sed -E 's/^(MTU[[:blank:]]*=[[:blank:]]*).*/\1$NewMtu/' MyEthFile


What would be the best way to create this figure      in LaTeX? (How) could you do it in TikZ?


My MacBook's "System" storage keeps growing

I'm using a MacBook Pro, macOS 10.14.6.  Ten days ago, my System storage size was 86 GB.  Since then it has been growing and growing.  Today it's at 161 GB.  What could be causing this? Here's the full story.  This MacBook was purchased in April 2019.  It has a 251 GB of flash storage.  Ten days ago I started getting warnings that "Your disk is almost full".  I checked the numbers, and the figures were:  System  =  86 GB Parallels VMs  =  92 GB Documents  =  21 GB Applications  =  19 GB Other categories about 3 GB Free space  =  28 GB  So I started reducing these.  I reduced Parallels, Documents, and Applications over several days.  But when I did this, the System size grew, almost as if it was gobbling up anything I freed.  Today the figures are:  System  =  161 GB Parallels VMs  =  49 GB Documents  =  3 GB Applications  =  15 GB Other categories about < 1 GB Free space  =  17 GB  I performed a search for large files that have been modified in the past 14 days.   The only one bigger than 1 GB is this one: ~ > sudo ls -la /System/Library/Caches/com.apple.coresymbolicationd total 33486912 -rw-------   1 root  wheel  17145298944 Oct 30 13:37 data  That's a 17 GB file, which is huge.  But it doesn't account for the entire 161 GB in my System folder! By the way, is it safe to delete all the files in the /System/Library/Caches directory?


finite integral domain algebras are division algebras

If R is a finite-dimensional algebra over a field k, and if R is also  an integral domain, show that R is a division algebra over k.


Why did I need to *reboot* to change my group membership

Attempting to install MythTV on Ubuntu 18.04, I ran...  sudo usermod -a -G mythtv roger   ...and logged out and back in. This . But: my group memberships didn't change.  I had to reboot. Why?


$a,b,m,n$ be positive integers such that g.c.d.$(a,b)=1$ and $a^m+b^m|a^n+b^n$ , then $m|n$?

Let $a,b,m,n$ be positive integers such that g.c.d.$(a,b)=1$ and $a^m+b^m|a^n+b^n$ , then is it true that $m$ divides $n$ ?


What is the radius of convergence of the Taylor series?

What is the  radius of convergence  of the taylor series of$ \frac{2\tan x}{1+4x^2}$  around $x = 0$ ?  my attempsts:The function $f(x) := \frac{2\tan x}{1+4x^2}$ is odd and the coefficient of $x^{2n+1}$  of its Taylor expansion at $0$  is equal to $$\frac{2\tan x}{1+4x^2}=2\sum_{n=0}^{\infty}(-1)^{2n+1}\frac{ x^{2n+1}}{2n+1}\cdot \sum_{k=0}^{\infty}(-4x^2)^{k}$$  Now  i can not able proceed further ...pliz help  as i have found this   solution  but i did not understand this...solution me...


How to detect flash player version by js

This function always return "0" in IE  function getFlashVersion(){  var flash = 'None';  // Count down from 10.  for(var i = 10; i > 0; i--)  {    try{     flash = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+String(i));    }catch(e){      //console.log(e);    }    if(flash != 'None')     return flash.GetVariable("$version");   }  return 0; }   but chrome return 11.8.r800  how to detect flash player version in IE.


Existence of a Hessian function for a critical point in a Manifold

I'm trying to prove the following:  A critical point of  $f \in\mathfrak {F} (M)$ is a point $p \in M $ in which $ df_ {p} = 0.$ Then:  a) at such a point there is a Hessian function $H: T_ {p} (M) \times T_ {p} (M)\rightarrow\mathbb{R}$ such that $H (X_ { p}, Y_ {p}) = X_ {p} (Yf) = Y_ {p} (Xf)$ for all $X, Y \in \mathfrak {X} (M).$  b) $H$ is symmetric, Bilinear and satisfies $H (\partial_ {i} | _ {p}, \partial_ {j} | _ {p}) = (\partial ^ {2 } / \partial x ^ {i} \partial x ^ {j}) (p)$ relative to a coordinate system.  Here $M$ is the differentiable manifold, $\mathfrak {F} (M)$ is the set of all differentiable functions of $M$ in $\mathbb {R}$, $\mathfrak {F} (M)$ corresponds to the set of all vector fields in $M$ and $T_ {p} (M)$ is the set of all vectors tangent to $M$ in $p.$  Assuming part a), the properties of symmetry, bilinearity and equality with the partial derivatives are followed by the definition of vector field and derivation.  The part where I'm stuck is a). How do I prove the existence of such a mapping? My idea is that if $p$ is a critical point, it should be possible, by means of charts of the variety $M$ and of $\mathbb {R}$ 'bring the Hessian matrix' from such a point in $\mathbb {R}$  but I can't get this.  Any help is appreciated in advance.


What was the connection between the Mayfly Man, Tessa and the other women?

In , when Sherlock is having a conference with the 5 women (the Mayfly Man case), he finds that the employers of all five women are different. So how does Tessa know about the wedding and why did the Mayfly man date the other women?     SHERLOCK: Job.      GAIL: Gardener.      CHARLOTTE: Cook.      TESSA: Private nurse.      ROBYN: I do security work.      VICKY : Maid.      SHERLOCK: Obvious. You all work for the same person!      SHERLOCK: No, not the same employer. Damn.   Source for Transcript:


Where should I put a sqlite file in source android app

I'm a new android developer. I have an existing SQLite database. My question is: where should I put it in my source? And also: I want copy it to device upon installation.  Please help  Thanks


I downloaded a big data file (others.tgz, some 30GB) from an ftp site.  I did   tar -zxvf others.tgz   some files were extracted ( four files, where it is supposed to have 6 files ) after that it came out throwing the error,  gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now   Any suggestions please.


Cassandra native port 9042 slow on ec2 while 9160 is fine

I have a 5 node Cassandra cluster set up on EC2, all in the same region.  If I connect over cqlsh (9160), queries respond in under a second.   When I connect via Dev Center, or using the native Java Driver, both of which use port 9042, the queries take over 20 seconds to respond.   They consistently respond in the same 21 second region. Never fast and then slow.  I have set up a few Cassandra Clusters on EC2 and have seen this before but do not know how to fix the problem. The last time, I scrapped the cluster and built a new one and the response time on port 9042 was fine.  Any help in how to debug or fix this problem would be appreciated, thanks.


Regex to match string literal enclosed in quotes without matching others

So I am writing a simple lexer for a subset of the C language in python. I am using re to match and find all my tokens but am having issues with my string literal token matching. To match my string literal I am using: r'(?<=").*(?=") I am doing this non-inclusive because I am wanting to match my double quotes as quote tokens and the content inbetween them as a string literal token. It works fine if a string literal is used only once in a line but if I do "hello"  int i "what is up" I end up matching hello correctly but then matching int i because it is inbetween double quotes also. How can I prevent this. Right now all of my input is read in at once into one line.   EDIT: I found out my possible issue. I was using a greedy expression with .* I switched it to .*? and it is matching correctly. It started matching as hello"  int i "what is up and that is where discovered it was being greedy. My new regex is : r'(?<=").*?(?=") Does anyone see any possible conflicts now?


My Database has Full BackUp Plan on Every Morning on 01:00 Am. Today I came to work and Deleted all of the Records in a table by mistake in sql server management Studio by running this command  delete * from Table1 where 10=10   instead of  delete * from Table1 where Id=10   this happened around  13:00 pm. worktime starts from 8:00 am . is it possible to undo the deleted Records? if I want to recover it from the backup file, I loses the records entered between 8:00 and 13:00. what is the best solution for this problem?  I read this post  but it was not the same as mine. and I read it was a duplicate post. but again i couldn't find the the main post for this problem.


The equation $x^2+y^2=0$ over finite fields

Do we have a fast method for proving that the equation $x^2+y^2=0$ over $\mathbb{F}_{7}$ has one solution $(0,0)$ without testing all the elements of $\mathbb{F}_{7}$?


Evaluate $\lim_{x\to\infty}\left[x - \sqrt[n]{(x - a_1)(x - a_2)\ldots(x - a_n)}\right]$

Evaluate the following the limit: $$\lim_{x\to\infty}\left[x - \sqrt[n]{(x - a_1)(x - a_2)\ldots(x - a_n)}\right]$$  I tried expressing the limit in the form $f(x)g(x)\left[\frac{1}{f(x)} - \frac{1}{g(x)}\right]$ but it did not help.


Are there movies and/or theatres in the wizarding world?

The wizards have their own equivalent of some Muggle entertainment/arts:   music - Celestina Warbeck and The Weird Sisters are professional musicians.  books - "The Life and Lies of Albus Dumbledore", "Armando Dippet: Master or Moron" and "The Tales of Beedle the Bard" are the known examples. fine arts - portraits, paintings and sculptures are all around Hogwarts and The Ministry. Also rich families (like the Blacks) could afford to have personal portraits. sports - Quidditch! radio - Molly Weasley listens to Celestina Warbeck on the radio. newspapers - The Daily Prophet and The Quibbler at least. joke shops - there is at least one in Hogsmeade and the recently opened "Weasleys' Wizard Wheezes".   Are there also any references to plays and movies?


scipy norm.pdf return probability of a particular outcome

The Probability of a particular outcome is always zero, but Scipy's norm.pdf() function returns the probability value of a particular event. For example onlinestatbook.com/2/calculators/normal_dist.html in this link, we are not allowed to check the probability of a certain value or certain outcome it allows only range of values. because it's always 0 as per the definition. But why scipy norm.pdf function returns the probability. st.norm.pdf(10,12, 5) = 0.07365402806066466. How come it didn't return 0, did I make any logical error? Could anyone help me?


Map values from one list to values in another

I'm trying to run through a for loop, but looking at the indices, rather than the values of the list. My list looks like this:  ubermin_values = [8350.1416, 13167.329, 29200.063, 19283.514, 23596.0309...]   and it has a total of 100 values (but this changes with each run of the program). I'm trying to keep track of which value in minimum_pixels each value in ubermin_values came from, for plotting. If I use this loop in my code,  ubermin_vals_x = [] for i in ubermin_values:     value = ubermin_pixels[i]     ubermin_vals_x.append(minimum_pixels[i])   it tries to iterate over the values (8350.1416, 13167.329...) but of course this can't be done. I think my scheme should work if I can iterate over the indices of ubermin_values, rather than the values, but I can't see how to do that.  If it helps, here's how the first values should be mapped:   so that I can plot the points (4, 8350.1416), (10, 13167.329), (7, 29200.063), etc.  The numpy docs list  for iterating over arrays. Am I on the right track with this, or is there a better way to do it?


It's happand after the laptop is accidently shutdown when battery is dry. Theb when I try to start the laptop it  always show blank purple screen.  So I tried to select option "advance option" then select recovery. But the terminal show this:  ubuntu busybox v1.22.1 initramfs uuid xxxxx not exist


Using LuaTeX as a replacement for pdfTeX

In this question  various differences between LuaTeX and XeTeX (and ConTeXt) are discussed. And in this question  a recipe for switching from pdfLaTeX to XeLaTeX is given. In this question, I would like a similar recipe for using LuaLaTeX. I'm particularly interested in the degree to which LuaTeX can be used as a drop-in replacement for pdfTeX.  I'm not interested in things that LuaTeX can do that pdfTeX can't.  So the question is:  What do I need to do to use LuaLaTeX instead of pdfLaTeX to compile existing or new documents?  Some specific sub-questions:   What packages are compatible with pdfLaTeX but not with LuaLaTeX? Are there any packages specific to LuaLaTeX that should be loaded in most LuaLateX documents?


I'm trying to write a regex that filters out matches if they contain "plex" in them.     plex-release -> should not match my-release -> should match potato -> should match   Been playing with pythex and came up with this one that works partially:  (?![plex])(\w+)[-_](release|version)$   However this also messes with any other values containing the letter "p". I'm trying to come up with a regex that leaves out matches that only contain the string "plex" and in this order, not just any letter from the string.