As per  2 months ago (March 2020): after you've written your question, you are taken to a 2nd page which prompts you to "Review your question".  There are 2 possibilities when you land on that page:   either your question has "obvious" validation failures. or it successfully passes validation.   In the former case, the page is clearly beneficial, in that it provides a nice UX for understanding what needs to be fixed (especially if you're new to the site, and aren't familiar with the form).  But in the latter case, I offer that it doesn't add anything. As far as I can tell, it has all the same information as the previous page:   You could already see a pre-render of your question. You could already see a list of various Similar Questions.   As far as I can tell, it just forces me to click the same button twice; adding annoying UX for no benefit.    It might be a prompt for new users to encourage them to actually use the above features.  It might perhaps be intended as a mental prompt to get people to reflect on their question? But I'd honestly be surprised if it were actually achieving that, rather than everyone ignoring it and auto-clicking "Post".  Do we have server-log evidence of how long people spend on the "Review" page? Conversely is there any evidence of questions getting "lost" because people forget to click twice?    If there is some new info on that page, then it needs a re-design in order to make that clear! If not, we should gather evidence to assess its efficacy. If it does nothing (as I suspect), then I offer that it's a pointless irritation and should be removed.

This is terrible . I understand that the motivation behind "Review your question" is quality control, but if there is nothing for me to review, why can't the question be submitted in a single click?  Instead the page jumps back, to draw my attention to possibly this:    But it doesn't stand out in the UI, and if you didn't read that the button said "Review your question", it's hard to see why the page just jarringly jumped back instead of posting the question.  Is it really important for me to know that the automated system didn't find any way to improve my question?  Does Stack Exchange have metrics to see how often the question passes the quality check in the first go?  To add a minor point, as a veteran Stack Exchange user, the system doesn't have any reviews most of the time (in fact, the only time it had one is today while posting this question where it reminded me that one of feature-request, bug, .. tags were required).


Find all integers $a$ for which $x^2-x+a$ divide $x^{13}+x+90$.  The answer is $a=2$.


I have a complex form API managed form that has several fieldsets with nested fieldsets and table elements (defined with webform component editor) with AJAX-controlled 'Add another' and 'Remove Last' buttons. There is also a form submit button at the end of the form, external to all fieldsets.   After a certain (of the order of 100) number of element groups (containing 4 or 5 fields each) are added and the form is submitted, the $_POST data generated after submitting the form does not include the value of the input element, so at a later stage the form API cannot determine the correct triggering element in function _form_button_was_clicked of form.inc.   The $form_state['input'][$element['#name']] element does not exist.  I've doubled the post_max_data and explicitly named the input element (by setting $element['#name']), all to no avail. I'd appreciate any thought on what else to try...

I have googled and binged and yahooed this question but can't seem to find an answer. I was working on a form that included over 800 fields but the form's submit function would never execute.  After I pared the form down, the submit function ran.  So now I'm curious if there's an actual built in maximum number of elements.


Given the permutation   $$\sigma = \begin{pmatrix} 1&2&3&4&5\\3&1&2&5&4\end{pmatrix}$$  the matrix A is defined to be the one whose i-th column is the $\sigma(i)$-th column of the identity I. Which of the following is correct?   $A=A^{-2}$  $A=A^{-4}$  $A=A^{-5}$  $A=A^{-1}$    I didn't understand what $\sigma(i)$-th means here?

Given the permutation $$\sigma=\left(\begin{array}{ccccc} 1&2&3&4&5\\ 3&1&2&5&4 \end{array}\right)$$ the matrix A is defined to be the one whose $i$-th column of the identity matrix $I$. Which of the following is correct?   $A=A^{-2}$ $A=A^{-4}$ $A=A^{-5}$ $A=A^{-1}$


Please after the Upgrade, I can no longer choose from "which Operating system" to use. Whenever I restart my laptop, Ubuntu now becomes my default Operating system and does not give me de Options to choose the OS to use at that moment. Plz help me.

I installed Windows on my computer, followed by an installation of Ubuntu. However, now I'm unable to boot into my Windows install.  What can I do to fix this?


Hello two weeks ago I uninstalled windows 10 and installed fedora 23 using a USB drive created by win32diskimager.   My notebook : HP Envy dv6 current OS : fedora 23  Fedora 23 have some bugs with my computer so I decided to give ubuntu a chance.  However I cannot boot from usb or CD/DVD for the installation. I have make some research and changed the boot order I have activated the legacy mode and deactivated the secure boot option but it still does not work.  I have not the option to boot from CD/DVD not from an USB drive in the F9-bootmenu  I have:  HDD EFI BOOT FROM EFI FILES (In this menu my CD or USB is visible)   But I have already installed an OS (fedora 23) with a bootable usb drive on this pc but it doesn't work anymore.  Could you please help me? :)  ps : i'm french, sorry for the mistakes :).

How do I make an Bootable Ubuntu USB containing the the latest version of Ubuntu?  For completeness, how would I be able to do this on Ubuntu, Windows, OS X or another Linux distro?


I'm new in Ubuntu and I have a question to ask:  I wanna download a file the his type is: tgz. For example: androidstudio.tgz  and in the site that's says: For Linux.  Is it gonna work on Ubuntu?

I have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file?


In the side bar of the site when looking at the Help Centre there are two areas for Privileges.  One is listed with Reputation but has nothing to do with Privileges only Reputation. And the other Privileges that has all the information about it.

On the  are two categories: "Reputation & Privileges" and the seemingly redundant "Privileges". Both have a small entry count and were likely intended to be merged.  They probably should be merged or the first should be renamed to "Reputation".  Showing the word "Privileges" twice looks like a mistake.


I usually create a object like these:  List<Student> students= new List<Student>();   but when I install the resharper in vs2012,it suggest me to create a object like these:  var students= new List<Student>();   I wonder whether they have the same effect.I think they have the same effect.Will it be better when I use var？

After discussion with colleagues regarding the use of the 'var' keyword in C# 3 I wondered what people's opinions were on the appropriate uses of type inference via var?  For example I rather lazily used var in questionable circumstances, e.g.:-  foreach(var item in someList) { // ... } // Type of 'item' not clear. var something = someObject.SomeProperty; // Type of 'something' not clear. var something = someMethod(); // Type of 'something' not clear.   More legitimate uses of var are as follows:-  var l = new List<string>(); // Obvious what l will be. var s = new SomeClass(); // Obvious what s will be.   Interestingly LINQ seems to be a bit of a grey area, e.g.:-  var results = from r in dataContext.SomeTable               select r; // Not *entirely clear* what results will be here.   It's clear what results will be in that it will be a type which implements IEnumerable, however it isn't entirely obvious in the same way a var declaring a new object is.  It's even worse when it comes to LINQ to objects, e.g.:-  var results = from item in someList               where item != 3               select item;   This is no better than the equivilent foreach(var item in someList) { // ... } equivilent.  There is a real concern about type safety here - for example if we were to place the results of that query into an overloaded method that accepted IEnumerable<int> and IEnumerable<double> the caller might inadvertently pass in the wrong type.  var does maintain strong typing but the question is really whether it's dangerous for the type to not be immediately apparent on definition, something which is magnified when overloads mean compiler errors might not be issued when you unintentionally pass the wrong type to a method.


Can a surjective function $f: \mathbb N\to \mathbb N $ be not injective?  Hi; I've been breaking my head over this simple question since last night. It's actually a small sub problem (of a simple Analysis Question) to what I'm trying to solve but essential to me solving it.  At first I thought it can not be.  For example, say there is an infinite number of $ n \in \mathbb N $ that map to some x and an infinite number that doesn't.   But then, wouldn't the first have to be finite?   Because, for example if I were to arrange that first infinite subset on a line and say that all other terms that "hit" every other $n \in \mathbb N $ come afterwards then we'd never get to the other ones.  Are they there?  I apologize if this doesn't make a lot of sense.   I'm quite confused by all the scenarios that I can think of. It (the feeling of wonder) makes me excited and kind of happy, but also quite helpless.  I appreciate any tip to guide my thinking in the right direction. Cheers

The mapping is supposed to be from $\mathbb{N}$ to $\mathbb{N}$.  I'm still trying to understand if this is possible, I mean if it was from $\mathbb{R}$ to $\mathbb{N}$, I guess $x^2$ would work.


If I control a  and I play  and choose for Renegade Doppleganger to copy it, would the Renegade Doppleganger get the +1/+1 counter?

I was playing a game last night with a guy who was playing a new Simic Gatecrash deck, and he claimed that if he made a land into a creature, it counted as entering the battlefield, thus triggering evolve (or other "enters the battlefield" abilities).  I thought this was incorrect, being that the creature didn't actually enter the battlefield, it was just created.  Which of us was right?


Is there an easy way to have a function return multiple variables that can be easily accessed?

I have a function where I need to do something to a string.  I need the function to return a boolean indicating whether or not the operation succeeded, and I also need to return the modified string.    In C#, I would use an out parameter for the string, but there is no equivalent in Python.  I'm still very new to Python and the only thing I can think of is to return a tuple with the boolean and modified string.  Related question:


Fragmented memories from my childhood:   I thought the protagonist was Toby Huss (Artie from Adventures of Pete & Pete), but I cannot find anything that matches on his filmography. Protagonist definitely was 'dorky', he was an actor who played a superhero in our world and then was recruited by those from the other world who thought he was a real superhero. I also thought it was from one of the companies that made Hercules and Xena. It may have just been broadcast on the same channel. The whole thing is really campy but definitly had heart. Probably a "TV-14" rating. There is some type of reactor meltdown scene at the climax. Had a longer golden-age-of-sf title like "The Adventures of..."

So from what I remember it was on cable TV. The main hero was a TV actor zapped to a alien planet. It had a evil overlord with a virgin priestesses. She wants to get laid but he refuses because the next priestesses is only three. Regardless it's a parody things include a man who was maimed by the evil overlord wants revenge the hero eventually screws the virgin priestesses it cuts to scenes of a train going into a tunnel and a volcano erupting.


As i am new to java i got a task to find duplicate word only and its count. i stuck in a place and i am unable to get the appropriate output. I can not use any collections and built in tool. i tried the below code. Need some help, Please help me out.  public class RepeatedWord    {    public static void main(String[] args)        {           String sen = "hi hello hi good morning hello";           String word[] = sen.split(" ");           int count=0;           for( int i=0;i<word.length;i++)              {                 for( int j=0;i<word.length;j++)                    {                        if(word[i]==word[j])                           {                              count++;                           }                 System.out.println("the word "+word[i]+" occured"+ count+" time");                    }               }         }  }

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


I know the hypothesis that the light speed is constant is retained by experiments. But is there any theory explaining why the light speed is constant no matter how an observer moves relative to light?  My question is, specifically: Suppose an observer $O$ launches a light and $O$ starts to move at the same time with a uniform velocity $v$ in the same direction that light points. Then why $c$ is still the light speed that $O$ will measure rather than $c-v$?

I was told that the Galilean relative velocity rule does not apply to the speed of light. No matter how fast two objects are moving, the speed of light will remain same for both of them.   How and why is this possible?   Also, why can't anything travel faster than light?


Why is it that if I multiply a certain number of consecutive primes starting from $2$ and add $1$, I get another prime?   This property is used it prove that there are infinitly many primes, but why is it correct?

Proof: The proof is by contradiction. Suppose there are only finitely many primes. Let the complete list be $p_1,p_2,\dots,p_n$. Let $N = p_1p_2 \dots p_n+1$. According to the Fundamental Theorem of Arithmetic, $N$ must be divisible by some prime. This must be one of the primes in our list. Say $p_k \mid N$. But $p_k\mid p_1\dots p_n$, so $p_k\mid(N-p_1 \dots p_n) = 1$ Hence contradiction.  I don't see how this proof works. I understand that $N$ isn't necessarily prime, but I don't understand how it apparently must show that some primes weren't in our list. A number could be made of different powers of the given primes right?  Someone please explain.


What is the name of song from Code Geass in episode 5 when the Lancelot is saving Jeremiah? I can't find it or any covers of it anywhere, it starts at 1:16 here:

What's the section of the soundtrack used in the second episode of R2 at 8:00, after Kallen defeats a Knightmare and Lelouch gives new orders, called?


I'm trying to understand how scopes work in JS. Can you tell me if I correct with understanding of this chunk of code:  for(var i = 0; i<5; i++){  setTimeout(function timeoutHandler() {    var i = i;    console.log(i); //undefined  }) }   console.log prints undefined 5 times. So as I understand, when timeoutHandler is executed, it has its own local scope with own i variable. So is that correct that during timeoutHandler execution, the interpreter asks for i variable, finds it declared in local scope and uses this declared variable for assignment? This explains why it is undefined, but I'm not sure I'm fully correct. Thanks  UPD I don't need this code to work properly, I just want to understand why it behaves like that in this case

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


One idea from cosmology is that galaxies are all moving away from each other. Naively this could be taken to mean that they are expanding into something. Popularly this could be seen as them moving outwards into an area of  completely empty space at the 'edge' of the universe.  However, if the universe is infinite and unbounded and uniformly populated, there is no empty volume for the galaxies to move into. Therefore logic dictates that the space between galaxies must be expanding.  Let us suppose this is true. Then    Is it also the case that the space within the galaxies is expanding.   What about the space in our solar system.   Where do we stop? Under this theory is the space inside an atom expanding?

I have looked at other questions on this site (e.g. "why does space expansion affect matter") but can't find the answer I am looking for.  So here is my question: One often hears talk of space expanding when we talk about the speed of galaxies relative to ours. Why, if space is expanding, does matter not also expand? If a circle is drawn on balloon (2d plane), and the balloon expands, then the circle also expands. If matter is an object with 3 spatial dimensions, then when those 3 dimensions expand, so should the object.  If that was the case, we wouldn't see the universe as expanding at all, because we would be expanding (spatially) with it.  I have a few potential answers for this, which raise their own problems:   Fundamental particles are 'point sized' objects. They cannot expand because they do not have spatial dimension to begin with. The problem with this is that while the particles would not expand, the space between them would, leading to a point where the 3 non-gravity forces would no longer hold matter together due to distance Fundamental particles are curled up in additional dimensions a la string theory. These dimensions are not expanding. Same problems as 1, with the added problem of being a bit unsatisfying. The answer seems to be (from Marek in the previous question) that the gravitational force is so much weaker than the other forces that large (macro) objects move apart, but small (micro) objects stay together. However, this simple explanation seems to imply that expansion of space is a 'force' that can be overcome by a greater one. That doesn't sound right to me.


If you randomly pick a coin from a box that contains $90\%$ fair coins and $10\%$ loaded coins, (a loaded coin gives heads $90\%$ of the time), toss it $5$ times and get all heads. What is the probability that this is a loaded coin?   $$n = 5, x = 5, p = 0.1(0.9)^5$$  Where $n$  is the number of flips, $x$ is number of heads, and  $p$ is the probability of getting heads. so $$( 0.1 (0.9)^5 ) + (0.9 (0.5)^5) = 0.087$$  Can anyone see if the answer I provided is correct or not !

Given a box that contains 90% fair coins and 10% loaded coins, (a loaded coin gives heads 90% of the time), what is the probability for a randomly drawn coin to give 5 heads in a row?  P(HHHHH | random coin from box of mixed coins) = ?   I used Bayes Theorem to calculate the probability I got .219 or 21.9% probability for the random coin to give 5 heads in a row!    But I am still doubting if my answer is correct !!!  Any help appreciated :)


Please excuse me if my question is simple. because when I see the examples about php and MySql in internet, they use from the capital letters for commends MySql. Is it necessary to use the capital letters in MySql? $sql = "INSERT INTO MyGuests (firstname, lastname, email) VALUES ('John', 'Doe', 'john@example.com')";

Is SQL case sensitive.  I've used MySQL and SQL Server which both seem to be case in-sensitive.  Is this always the case?  Does the standard define case-sensitivity?


I want to know the meanings of these phrases Having said that and That being said, the difference between them, and in which context I can use both of them.   According to my first understanding of these expressions, I think they are equivalent to the phrase "Considering what was said before" or in "reference to what has already been said". I am not sure of the meaning, but hope to find its exact meaning.

I often write what "sounds" right (being not a native English speaker/writer), and I believe the expression "that being said" to be fairly common, as opposed to a more complete form like "that's been said" or "Having said that".  In doubt, I turn to , which seems to confirm the . (not exactly the right reference, I know.)  Yet, I don't think that "that being said" is correct, especially in writing. "That said" is even more common. Is it also acceptable in writing?  What expression would you use in formal writing? (Not too formal though: like a )


How can I implement something like   $ echo "hello" | my_app   with usage of Python's subprocess?   subprocess.Popen() expects a pipe or a file handle for STDIN. But I want to provide STDIN for the called program via a variable. So something like  myinput = "hello" subprocess.Popen("an_external_programm", stdin=myinput) ….

If I do the following:  import subprocess from cStringIO import StringIO subprocess.Popen(['grep','f'],stdout=subprocess.PIPE,stdin=StringIO('one\ntwo\nthree\nfour\nfive\nsix\n')).communicate()[0]   I get:  Traceback (most recent call last):   File "<stdin>", line 1, in ?   File "/build/toolchain/mac32/python-2.4.3/lib/python2.4/subprocess.py", line 533, in __init__     (p2cread, p2cwrite,   File "/build/toolchain/mac32/python-2.4.3/lib/python2.4/subprocess.py", line 830, in _get_handles     p2cread = stdin.fileno() AttributeError: 'cStringIO.StringI' object has no attribute 'fileno'   Apparently a cStringIO.StringIO object doesn't quack close enough to a file duck to suit subprocess.Popen.  How do I work around this?


I have a problem with understanding where my disk space goes. I can check with Total commander most of the folders, but it shows only 50 of 121 occupied GB.   With windows explorer I can see also hidden files and folders, but it is not possible to check the size of this folders:    I also tried  utility, but it also shows nothing   Thereby my question - how to check size of all types of folder on a windows computer?

I have a 250 GB SSD installed as my primary disc on which I have Win 10 installed. I just recently realized that the explorer overview & the windows disc property dialog stated, that there are 200 GB used & only 31 GB free on that disk.    Since I was curious on where that much used space came from, I started the free application WinDirStat which told me that there were only 62 GB used on C.    Also if I select everything under C with hidden files & system folders shown in the explorer, the properties dialog states that those are only 62,5 GB in sum.    Where do the 200 GB used space come from which are shown in the disc overview?


I have runkeeper installed and within the app they direct yoy to there website to create routes. However when I browse to runkeeper.com it redirects me to the playstore app automatically.  How can I force to open and browse the website?

There are a load of sites that do this now, and it's really annoying:   I visit a content site on my Android device. 10-15 seconds after loading starts the site hangs for a few seconds. Google play store loads with a garbage app (usually some awful FTP or useless battery app) pre-selected.   This appears to be because a dodgy ad-script (i.e. Javascript running in the web page) is somehow able to redirect my device to open a link to an application in the store without me selecting it directly.  I consider it to be a critical security fail that Android lets this happen, but then Iphones do the exact same thing (but hang for much longer opening the app store).  This isn't me accidentally clicking on anything - the site loads, then the play-store redirect fires, every time.   Is there any way to stop this? Any option I can set in the store or browser to stop this incredibly annoying behaviour?  I'm on a Nexus 7, but I've seen this on lots of other Android devices.


I just saw this pic     So I got curious and logged in on physics.stack first time, is it true? I am a math major and usually wander on mathstack but I would like to understand why Bumble bee cannot fly according to physics laws but still do? I am only familiar with high school physics, no aerodynamics at all. If some one can explain it to me in easy terms, I'll be obliged.

According to some source or other (I forget which now) it is theoretically impossible for bumblebees to fly by virtue of their size/bulk/aerodynamic properties. Is this old adage apocraphyal or true? And if its true, how come they do fly?


I created the following sign for my computer:     "Please do not turn off this computer."   My office mate told me that this should be the correct way to do it:     "Do not turn this computer off."   He said that the preposition should be at the end. Is he correct?

Like many others, I commonly find myself ending a sentence with a preposition.  Yes, it makes me cringe.  I usually rewrite the sentence, but sometimes (in emails) I just live with it.  To, with... you know who you are.  Should I keep fighting myself on this one, or is it okay in some circumstances?


I have a use-case to process following file types:  1 - mylog_1.log 2 - mylog_2.log.gz   I have to run two different text processing commands on each of them as follows:  cat mylog_1.log | grep text | sort | uniq -c zcat mylog_2.log.gz | grep text | sort | uniq -c   (cat, grep, awk and sed are the frequently used commands)  Is there a way to process both file types in a single command without unzipping the file?

When handling log files, some end up as gzipped files thanks to logrotate and others not. So when you try something like this:  $ zcat *   you end up with a command line like zcat xyz.log xyz.log.1 xyz.log.2.gz xyz.log.3.gz and then with:  gzip: xyz.log: not in gzip format   Is there a tool that will take the magic bytes, similar to how file works, and use zcat or cat depending on the outcome so that I can pipe the output to grep for example?  NB: I know I can script it, but I am asking whether there is a tool out there already.


After having trouble with booting Linux after installing Windows 7 on a separate SSD, I am just wondering, what is the benefit of creating a separate /boot partition during installation?  I remember reading about it years ago when I first started trying out Linux. It seemed to be a best practices procedure for installation. But, after having trouble booting just now and wondering what the difference is between the files in the /boot partition  vs. the files in the /boot directory in root, I'm just wondering why there seems to be two copies.

I'm reading a relatively old text on Linux partitions and file systems (the LPIC 1 Certification Bible). It says:     Some versions of the Linux boot loaders cannot access a kernel that is   outside the first 1024 cylinders on a disk. By putting the /boot   partition at the beginning of the drive you can be assured of not   having a problem when accessing the kernel at boot. This problem shows   itself most often in cases of dual booting Linux along with another   operating system that is on the first partition.   Why would a boot loader have "no access to the kernel outside the first 1024 cylinders on a disk"?  Also, what does "putting the /boot partition at the beginning of the drive" mean?


I am trying to delete some of my production code.  I am using VS Code and when I push the following to Prod:  <?xml version="1.0" encoding="UTF-8"?> <ApexTrigger xmlns="http://soap.sforce.com/2006/04/metadata">     <apiVersion>36.0</apiVersion>     <status>Deleted</status> </ApexTrigger>   I receive the following error:  INVALID_OPERATION: INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations   How do I delete Apex code from production? To my knowledge, you go into the metadata of your production code and change the status from "Active" to "Deleted".

I was recently told (  ):     You cannot delete a class in production directly. You will need delete   the class from your sandbox and then deploy the deletions to your   production org.   When you deploy from sandbox to production, the   missing classes will come up in red and you can choose to deploy these   deletions to Production.   However, I'd like some clarification because finding information on how to do this is like pulling teeth, unfortunately.  Am I supposed to:   Delete the Trigger in Sandbox Make a deployment package in Sandbox Add the Trigger which is going to be listed in RED now Deploy (and that deletes it from Production)?   I am not seeing deleted Triggers in Red in Sandbox.  Are they NOT listed under "Triggers" for deployment, but elsewhere?   Frustrated = true.   Does this ONLY apply to Classes??  UPDATE:  I just tried again, with a CLASS, and it still doesn't show up at all as a Deployable package (red or not) after I delete it in the Sandbox.  UPDATE 2:  I was just able to delete a class, that I know was written via IDE from a third party, in both Sandbox and Production.  So now I'm wondering if it has to do with where it was originally deployed from (if from IDE, IDE can delete it - it from Sandbox, you have to jump through hoops).  :-(


So, I made a bidirectional LSTM model for sentiment classification. Model's job was to predict ratings of movies(1-5 stars) based on the movie review.  While training the model I first used categorical cross entropy loss function. I trained the model for 10+ hours on CPU for about 45 epochs. While training every epoch showed model accuracy to be 0.5098(same for every epoch).   Then I changed the loss function to binary cross entropy and it seemed to be work fine while training. So, I want to know what exactly is the difference between these two?

First of all, I realized if I need to perform binary predictions, I have to create at least two classes through performing a one-hot-encoding. Is this correct? However, is binary cross-entropy only for predictions with only one class? If I were to use a categorical cross-entropy loss, which is typically found in most libraries (like TensorFlow), would there be a significant difference?  In fact, what are the exact differences between a categorical and binary cross-entropy? I have never seen an implementation of binary cross-entropy in TensorFlow, so I thought perhaps the categorical one works just as fine.


I have a Compaq 620 with 4 partitions on the hard drive. The primary partition has Windows 7 installed on it.  I want to dual boot this computer with Windows 7 (Korean version) installed on the other partition. How should I go about doing this?  I do not want the Korean version to interact in any way with the English version. I also don't want to mess anything up so I thought I should ask here first. Please let me know how I should go about doing this, where things might go wrong, and how I can avoid them. Thank you

2 questions. Please answer seperately.   I want to dual boot Windows 7 Ultimate with Windows 7 Professional. Is it possible? Can Windows 7 32-bit be dual boot with Windows 7 64-bit?


I'm a javascript newbie.  I have a line of code:  data.content_teaser.image_square_attachment_url   square can change: I have a variable called contentType that can be 'square', or 'vertical' or 'horizontal'.  In ruby I can use send with the string interpolation, how can I obtain the same in js?  Something like "data.content_teaser.image_" + contentType + "_attachment_url"

I have the name of a function in JavaScript as a string. How do I convert that into a function pointer so I can call it later?  Depending on the circumstances, I may need to pass various arguments into the method too.  Some of the functions may take the form of namespace.namespace.function(args[...]).


I'm trying to check user input value against two or arrays to see if the value inputed by the user equals a value in one of the arrays. Based on which array the input value equals to, I want to display a specific alert message.  So far I have this:    var zip = document.getElementById('zip').value; var zone1 = ['11220', '11223', '11224', '11225', '11226','11228']; var zone2 = ['10038', '10001'];     So if the user enters ZIP code 11220, I would like to display a message: "Price: $50". If the user enters 10038, I would like the message "Price: $75".  What's the easiest and most efficient way to do this?

What is the most concise and efficient way to find out if a JavaScript array contains a value? This is the only way I know to do it: function contains(a, obj) {     for (var i = 0; i < a.length; i++) {         if (a[i] === obj) {             return true;         }     }     return false; }  Is there a better and more concise way to accomplish this?


I want to find out if a point $(x, y)$ is surrounded by a set of points.  To understand my problem a short explanation:  I am a programmer and I have a function for the user to select objects by drawing around the object with his/her finger. When the user is finished, I get a list of points with the user's touch-points. basically i want to find out if a point is surround by a polygon   Hope you can help me.  Pic:

Given the coordinates of a point $(x, y)$, what is a procedure for determining if it lies within a polygon whose vertices are $(x_1, y_1), (x_2, y_2), \ldots , (x_n,y_n)$?


I currently have a git repository with several folders, for example: /folder1     /folder1/subfolder1-1     /folder1/subfolder1-2 /folder2     /folder2/subfolder2-1     /folder2/subfolder2-2 /folder3     /folder3/subfolder3-1     /folder3/subfolder3-2  I want to make /folder2/subfolder2-1 a repository of its own because I want to push and share its code as an independent functionality. However, I want to keep this folder as a part of the main repository because its further development happens in pace with the whole application it makes part of. How can I accomplish that using git?

I have a  repository which contains a number of subdirectories. Now I have found that one of the subdirectories is unrelated to the other and should be detached to a separate repository.  How can I do this while keeping the history of the files within the subdirectory?  I guess I could make a clone and remove the unwanted parts of each clone, but I suppose this would give me the complete tree when checking out an older revision etc. This might be acceptable, but I would prefer to be able to pretend that the two repositories doesn't have a shared history.  Just to make it clear, I have the following structure:  XYZ/     .git/     XY1/     ABC/     XY2/   But I would like this instead:  XYZ/     .git/     XY1/     XY2/ ABC/     .git/     ABC/


Does anyone know when it's coming to the U.S.!? The UI looks beautiful and I've been waiting to get it. I feel like we've been waiting forever.   Also did they mention how it will work? Do you have to buy a phone with it already installed on it or will we be able to download and install it on any Android phone like we can download the desktop version of Ubuntu on any Windows PC?

Canonical has recently announced , which is Ubuntu with a specific interface for mobile devices.  Where can I get phones with this version of Ubuntu pre-installed? If no devices are available yet, where can I pre-order one?


There is Mac and Windows drivers only. I tried that tar.gz file  Nothing happened. Usb cable not connected. Trying to print over wifi.  How can I use MX435 from Ubuntu?

I tried to install the MP190 drivers, but appeared a message show me that requires to have libcupsys2. I understand that libcup2 is an update of libcupsys2.   How do I solve this? Are there proprietary drivers for my Canon printer or scanner?


I have to compare the slopes of 2 regression lines with R. The 2 regressions are made with the same parameters in 2 different locations.  I did my regressions with the function lm(). Now I have the results but I don't know how to compare them..  I tried with student test or ANOVA but it requires more than the 2 slopes.  I looked for an answer during something like 2 hours but didn't find, so I ask the question here : How should I do my test?   Thank you in advance, b.raoul

I would like to test the difference in response of two variables to one predictor. Here is a minimal reproducible example.   library(nlme)  ## gls is used in the application; lm would suffice for this example m.set <- gls(Sepal.Length ~ Petal.Width, data = iris,                 subset = Species == "setosa") m.vir <- gls(Sepal.Length ~ Petal.Width, data = iris,                 subset = Species == "virginica") m.ver <- gls(Sepal.Length ~ Petal.Width, data = iris,                 subset = Species == "versicolor")   I can see that the slope coefficients are different:  m.set$coefficients (Intercept) Petal.Width    4.7771775   0.9301727 m.vir$coefficients (Intercept) Petal.Width    5.2694172   0.6508306  m.ver$coefficients (Intercept) Petal.Width     4.044640    1.426365    I have three questions:   How can I test the difference between slopes? How can I test the difference between residual variances? What is a simple, effective way to present these comparisons?    A related question, , suggests re-running the model with a dummy variable to differentiate the slopes, are there options that would allow the use of independent data sets?


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

I'm wondering if anyone knows an algorithm to find a  in a group efficiently. The definition is you are given a subgroup $H$ of a group $G$, and you want to find a representative of each coset of $H$ in $G$.  Recall the : $x, y \in G$ are in the same coset iff $x^{-1}y \in H$. This yields a trivial $O(|G|)$ algorithm. Simply test each element of $G$ until you find $|H : G|$ unique representatives.  I'm wondering if there is a more efficient way to do this, preferably deterministically. Also, if finding a base or strongly generating set is necessary beforehand, the cost of such should be included in the efficiency of the algorithm.  I am interested in such an algorithm for any arbitrary group, but if a special algorithm exists when $G = S_n$ and $H$ is a permutation group, possibly $S_k$ for some $k < n$, I'd be happy to learn of this as well.  I would also appreciate any references to textbooks or papers that might help solve this problem.  Thanks!


I want to use  on Ubuntu 16.04, which requires CUDA 9.0, not the latest 9.1. However, I previously had CUDA 9.1 installed. After running  sudo apt-get remove --purge cuda* && sudo apt-get autoremove   I confirmed that /usr/local contained no cuda folders. Then,  I followed the  to install CUDA 9.0 using the .deb. However, when I sudo apt-get install cuda, the confirmation message begins with:  The following NEW packages will be installed:   cuda cuda-9-1 ...   and other references to CUDA 9.1.  Question: Why is this 9.1 version being installed? Where is this being linked from?  Here is the output from apt-key list, if helpful:  /etc/apt/trusted.gpg -------------------- pub   1024D/437D05B5 2004-09-12 uid                  Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com> sub   2048g/79164387 2004-09-12  pub   4096R/C0B21F32 2012-05-11 uid                  Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>  pub   4096R/EFE21092 2012-05-11 uid                  Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>  pub   1024D/FBB75451 2004-12-30 uid                  Ubuntu CD Image Automatic Signing Key <cdimage@ubuntu.com>  pub   1024D/7FAC5991 2007-03-08 uid                  Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com> sub   2048g/C07CB649 2007-03-08  pub   4096R/D38B4796 2016-04-12 uid                  Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com> sub   4096R/640DB551 2016-04-12 [expires: 2019-04-12] sub   4096R/997C215E 2017-01-24 [expires: 2020-01-24]  pub   4096R/48457EE0 2016-05-24 [expires: 2018-05-24] uid                  Bazel Developer (Bazel APT repository key) <bazel-dev@googlegroups.com> sub   4096R/43FF45F9 2016-05-24 [expires: 2018-05-24]  pub   4096R/7FA2AF80 2016-06-24 uid                  cudatools <cudatools@nvidia.com>  /etc/apt/trusted.gpg.d/graphics-drivers_ubuntu_ppa.gpg ------------------------------------------------------ pub   4096R/1118213C 2015-08-12 uid                  Launchpad PPA for Graphics Drivers Team  /etc/apt/trusted.gpg.d/webupd8team_ubuntu_atom.gpg -------------------------------------------------- pub   1024R/EEA14886 2010-05-04 uid                  Launchpad VLC

For a specific package, can I find out why it is installed?  So, can I see or it's manually installed, or that it is installed as a dependency of another package? Or that it is installed as part of the distro?


Any one has any idea what this notification icon means?   Thanks

After I recently updated my phone about a day ago, this strange sign showed up on the top left that I have never seen before. Does anyone know what it means? Or how to get rid of it?


I reinstalled mysql-server and I can't access mysql anymore :  ERROR 1045(28005) : Access denied for user 'root@localhost' (using password: no )

In my server, everytime I try to access MySQL I get the error:        Access denied for user 'root'@'localhost' (using password: NO)   when I try mysqladmin -u root -p password I get        Access denied for user 'root'@'localhost' (using password: YES)   How can I access MySQL in my Ubuntu server 12.04?


When I go back to a site I haven't been to in a long while (e.g. ServerFault), there is a "welcome back" banner that displays at the top and reminds me to upvote the questions/answers if I find them useful.  I don't need the reminder, but that's okay—I have no objection to its existence.  However, I noticed today after I upvoted the question and answer I was reading, the banner was still there.  Could we please have the "welcome back!" banner auto-dismiss if the user upvotes a question and/or answer?

The "Welcome back, If you found this question useful, don't forget to vote both the question and the answers up" banner has had its share of complaints. (, , ) While it clearly has value, its negative impact could be reduced by automatically hiding it when the user does what it asks them to.  That is -- make it go away when the user votes.    Advantages I can think of:   Since the user is voting, they clearly already understand point of the message. The click targets for voting are bigger and thus easier to click than the very narrow "close this message" link on the banner.   The vote buttons are already familiar to any regular user.   Disadvantages that I can think of:   Somebody needs to write some javascript.


Let $\phi\in C[0,1]$ and let $T_\phi~:C[0,1]\rightarrow\mathbb{R}$, defined as $T_\phi f=\int_0^1 f(x)\phi(x) \,dx\\$. How can i prove that it's a continuous operator?

Let $k:[0,1]\times[0,1]\rightarrow \mathbb{R}$ continuous and $K:C[0,1]\rightarrow C[0,1]$, given by $Kf(x,y)=\int_0^1k(x,y) f(y) \,dy\\$. Prove that $K$ is continuous. I try to see continuity in $0$, but i can't find $\delta$.


I am getting a null pointer exception on my nameA = view.getHumanName(nameB); line in my model class. I am trying to establish nameA using the getHumanName method from the view class. I also attempted to add in this.view = view to the model constructor but that does not fix the issue. Why am I getting this error in this instance?  Model class and instance variable:     public Model(Dice die){       nameB = "Toby";       nameA = view.getHumanName(nameB);       p1 = new Player(nameA);       p2 = new Player(nameB);       this.die = die;    } }   Method in View class:  public String getHumanName(String compName){    System.out.println("Enter a name for the human player: ");    String humanName = scan.nextLine();    while(humanName.equals(compName) || humanName.trim().isEmpty()){         System.out.println("The human player cannot have the same name as the computer player or be blank. Enter a new name for the human player: ");         humanName = scan.nextLine();    }    return humanName; }

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


I have two figures that I want to force to appear on the same page.  What is the best way to accomplish this?  Here is my MWE: \documentclass{book} \usepackage[semibold,tt=false]{libertine} \usepackage{graphicx} \usepackage{lipsum}  \begin{document}  \lipsum[1-4]  \begin{figure}   \centering   \includegraphics[width=0.9\textwidth]{example-image-a}   \caption{First figure}\label{fig:first} \end{figure}  \lipsum[5-8]  \begin{figure}   \centering   \includegraphics[width=0.9\textwidth]{example-image-b}   \caption{Second figure}\label{fig:second} \end{figure}  \lipsum[9-12]  \end{document}   to place both images in the same figure environment, but honestly, that doesn't seem very elegant. So I thought I'd ask the experts here!

I have two images that I would like to appear on the same page. Each figure should appear as a separate figure with its own caption.  My problem is that LaTeX sometimes places the figures on separate pages.  I currently have achieved this by putting two \psfragfig commands consecutively within the same figure environment. This seems a simple and succesful approach, but I wonder if I am not using the figure environment correctly by doing this. Should I use the subcaption package instead?


Here, I have a very interesting problem that I found.      In triangle $ABC,$ we have $\angle B = 2\angle A.$ Prove that $b^2 = a(a+c).$     Here is how far I have gotten:  Here, $\angle B= 2 \angle A$ and therefore, $\angle C = 180- 3 \angle A$. Now, I use the Law of Cosines because if I distribute out the RHS of the equation we need to prove, we get $b^2 = a^2 + ac$, which is close to what I would get by the Law of Cosines.  If I use Law of Cosines, I get the following possibilities: $$ a^2 = b^2+c^2 -2bc\cdot \cos A\\ \boxed{b^2 = a^2+c^2 -2ac\cdot \cos B} \\ c^2 = a^2+b^2 -2ab\cdot \cos C.$$ Now what would I do? Thanks in advance for any help.

Prove that in a triangle $ABC$, $\angle A = \angle 2B$, if and only if:  $$a^2 = b(b+c)$$  where $a, b, c$ are the sides opposite to $A, B, C$ respectively.   I attacked the problem using the Law of Sines, and tried to prove that if $\angle A$ was indeed equal to $2\angle B$ then the above equation would hold true. Then we can prove the converse of this to complete the proof.   From the Law of Sines,   $$a = 2R\sin A = 2R\sin (2B) = 4R\sin B\cos B$$  $$b = 2R\sin B$$  $$c = 2R\sin C = 2R\sin(180 - 3B) = 2R\sin(3B) = 2R(\sin B\cos(2B) + \sin(2B)\cos B)$$  $$=2R(\sin B(1 - 2\sin^2 B) +2\sin B\cos^2 B) = 2R(\sin B -2\sin^3 B + 2\sin B(1 - \sin^2B))$$  $$=\boxed{2R(3\sin B - 4\sin^3 B)}$$  Now,   $$\implies b(b+c) = 2R\sin B[2R\sin B + 2R(3\sin B - 4\sin^3 B)]$$  $$=4R^2\sin^2 B(1 + 3 - 4\sin^2 B)$$  $$=16R^2\sin^2 B\cos^2 B = a^2$$  Now, to prove the converse:  $$c = 2R\sin C = 2R\sin (180 - (A + B)) = 2R\sin(A+B) = 2R\sin A\cos B + 2R\sin B\cos A$$  $$a^2 = b(b+c)$$  $$\implies 4R^2\sin^2 A = 2R\sin B(2R\sin B + 2R\sin A\cos B + 2R\sin B\cos) $$  $$ = 4R^2\sin B(\sin B + \sin A\cos B + \sin B\cos A)$$  I have no idea how to proceed from here. I tried replacing $\sin A$ with $\sqrt{1 - \cos^2 B}$, but that doesn't yield any useful results.


I've got this thing where I go around the world and hold their famous monuments with my hand through perspective photography. For example, holding the learning tower of Pisa. The pictures I've taken a while back with my Canon SD630 came out the best with both my hand and the tower in focus. Now a days, I'm using a Canon S100 and a Canon t4i. The problem is I can't get them to focus on multiple points or not focus on any points at all like I could do with my SD630. The same picture with Pisa with these two cameras, it's either my hand in focus on the tower, never both that was possible with the 630.   I'm still new to photography, what's causing that and how can I get around it?

I am quite new to DSLRs and one of the first things I noticed was the incredible focus points and appearance of depth that you can achieve. That is great in a lot of scenarios, but not in all. When filming a landscape as a whole, I do not want to have the focus on that single tree, but on the whole skyline.  Is there a way by which you can sort-of "disable" the focus, so that the raw image is recorded without any added blur? I suppose something as simple as this is only a small function you can turn off, but I can't seem to find it in the manual of my camera.


When I raise a confirm dialog in JavaScript, the title is somesite.com says. Is there a way (besides creating my own dialog) to remove this?

Is it possible to modify the title of the message box the confirm() function opens in JavaScript?   I could create a modal popup box, but I would like to do this as minimalistic as possible. I would like to do something like this:  confirm("This is the content of the message box", "Modified title");   The default title in Internet Explorer is "Windows Internet Explorer" and in Firefox it's "[JavaScript-program]." Not very informative. Though I can understand from a browser security stand point that you shouldn't be able to do this.


I was given an RGB GeoTIFF orthomosaic image that is just over 10GB. I pulled it into QGIS and tried clipping it to get under 10GB (to use in another program that only allows up to 10GB). Though when I clip it or do any other process, the output file size is over double of the orginal (24GB). I tried setting the zero values to null, but that has minimal effect. I need to keep the image as an RGB, so I cannot export it as a jpeg or png. Has anyone else run into this problem and solved it, if yes then how?

I have a geo-tiff created by Pix4D which is about 375 Mb in file size.   I have clipped it to a smaller area using Qgis 2.8(using Raster ‣ Extraction ‣ Clipper), and the output file is about 900 MB in size.  Why did the clipping process generate such a large file, when the source file was smaller?   How do I run the clipper tool so that it produces a smaller size?


I have Office 2013 installed on one of my computers but I have misplaced the product key. It is not set up through my Microsoft account and I would prefer it not be.  How can I recover the license key so I can move the installation?  I've tried running     cscript "C:\Program Files\Microsoft Office\Office15\ospp.vbs" /dstatus   but that only gives me the last 5 characters of the product key. Obviously I need the whole thing.  I've also tried using various 3rd party products (ProduKey, Magic Jellybean Keyfinder, etc), but so far all seem to fail finding Office '13 keys.  Any advice?

How can I find the product keys for my Windows operating system and software installed, like Office, Adobe Creative Suite, and other software which requires an activation key?


I'm trying to use the url_rewrite system for php but, as i'm a rookie i have a conflict problem (i suppose) between rules.  I have these three htaccess rules. The first two are working, the last one not.   RewriteEngine On RewriteRule ^([^/]*)/([^/]*)\.html$ /site/product.php?cid=$1&n=$2 [L]  RewriteEngine On RewriteRule ^([^/]*)/([^/]*)/([^/]*)\.html$ /site/product-detail.php?  cid=$1&pid=$2&n=$3 [L]   RewriteEngine On RewriteRule ^([^/]*)/([^/]*)\.html$ /site/news-full.php?id_news=$1&nw=$2 [L]   This is how the link is set on my php page:   <a href="<?php echo WEB_ROOT.$id_news."/".$name_news; ?>.html">   when i load the page, i don't have any data print on page. i tried to use also prefix but doesn't work  What can i do? Thanks

This is a  about Apache's mod_rewrite.   Changing a request URL or redirecting users to a different URL than the one they originally requested is done using mod_rewrite. This includes such things as:   Changing HTTP to HTTPS (or the other way around) Changing a request to a page which no longer exist to a new replacement. Modifying a URL format (such as ?id=3433 to /id/3433 ) Presenting a different page based on the browser, based on the referrer, based on anything possible under the moon and sun. Anything you want to mess around with URL   Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask!  How can I become an expert at writing mod_rewrite rules?   What is the fundamental format and structure of mod_rewrite rules? What form/flavor of regular expressions do I need to have a solid grasp of? What are the most common mistakes/pitfalls when writing rewrite rules? What is a good method for testing and verifying mod_rewrite rules? Are there SEO or performance implications of mod_rewrite rules I should be aware of? Are there common situations where mod_rewrite might seem like the right tool for the job but isn't? What are some common examples?   A place to test your rules  The  web site is a great place to play around with your rules and test them. It even shows the debug output so you can see what matched and what did not.


If $z$ is a root of the equation $$11z^{10}+10iz^9+10iz-11=0$$ Find value of $|z|$  I assumed the root as $z=re^{it}$ We get:  $$11r^{10}\cos(10t)-10r^9\sin(9t)-10r\sin (t)-11=0 \tag{1}$$ and $$11r^9\sin(10t)+10r^8\cos(9t)+10\cos(t)=0 \tag{2}$$  Any way from here?

If $11z^{10}+10iz^9+10iz-11 = 0$. Then possible value of $\mid z \mid,$ is  $\bf{My\; Try::}$ Given $11z^{10}+10iz^9+10iz-11 = 0\Rightarrow \displaystyle z^9 = \frac{11-10iz}{11z+10i}.$  Now Put $z = x+iy\;,$ we get $\displaystyle (x+iy)^9 = \frac{11-10i(x+iy)}{11(x+iy)+10i} = \frac{(11+10y)-10ix}{11x+i(10+11y)}$  Now i did not understand how can i solve it,  Help Required  Thanks


I tried to run a perl script inside my other shell script but I have faced the following snag:  Can't locate new.pm in @INC (@INC contains:  /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl  I have specifically set the path where the additional local perl script, i.e,  "new.pm" in my Perl script (test.pl) but the error still appears. (perl -V) shows the path of  my local Perl. I have further also set the the path of my "new.pm" in my profile file using the command "PERL5LIB". However, when I run the script on a command line as: ./test.pl   it does work like a charm. PS. The she-bang line is properly set. PSS. Platform: linux, OS_vers=2.6.32-5-amd64

I get this error:  Can't locate Foo.pm in @INC  Is there an easier way to install it than downloading, untarring, making, etc?


A man is injured in a explosion and later he realizes that he has become the host of a whole civilization of aliens.  The aliens help him repair himself physically and provide him with help and advice.  The one thing that they will not let him do is shave with a blade because a nick would cause thousands of alien deaths so he must use an electric razor.  The man eventually finds a woman who is also infected with the same kind of aliens.  They go on a bender with alcohol and drugs resulting in the death of the woman but the man barely recovers. He finds out to his regret that all the aliens inside of him have been killed due to the alcohol and drug fueled episode.   This was a novella or short story from the late 60's or early 70's.

Don't remember the exact start to the story, but it went something like "walking along a path" or something, and when he hears what sounds like a shotgun blast behind him, he then feels something strike him in the butt. He passes out, and when he awakens, he discovers that the "shotgun blast" was actually a miniature spaceship that exploded and shot miniature aliens into his body. The aliens prove to be very beneficial because they clean up all the toxins and other poisons in his body. They can be transmitted through kissing or sexual activity.  Any help with the name of the story would be greatly appreciated.  Dan


I thought that variables were destroyed as soon as their context did not exist anymore:  function foo () {     let bar = "something"     return bar }   Like in this example, I thought that bar was destroyed as soon as the function got executed.   But now, I discovered that you can write this in Javascript:  function foo () {   let bar = "something"   return {     print () {         console.log(bar)     }   } }  let f = foo()  f.print();   This code prints "something". So I wonder now how javascript handles its memory. Why bar does not get destroyed at the end of the function?   Now, if I write something like:  function foo () {   let bar = "something"   let hugeVar = _.range(1,1000*1000*1000*1000) // A huge array   return {     print () {         console.log(bar)     }   } }   Is hugeVar still in the memory? How Javascript decides what to keep and what not to keep?

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


Which is the correct way of saying this in English?        I haven't got any money.   I don't have any money.      If both are correct, which is the difference between them?

When do I use have and have got?  Are "I have the answer" and "I've got the answer" both correct?


Has the Community user become self aware? Do we need to pull the plug now, before it starts self replicating and decides to take over humanity?  Ok, more seriously, I just noticed that the Community user has fixed some grammar on an answer on aviation:      Is this a new feature? What is it's scope? How does it decide to do this?   I've been using stackexchange sites for a long while, and I've never seen this before

It seems that  by the OP of  was attributed to the community user.   I'm assuming that the edit was by the OP from the edit summary:     updated my question   and from the actual update. Both texts are speaking in the first person.


I accidentally deleted all data rows from a important table. But unfortunately, the last backup of the database was done last week. I have tried several ways, namely by looking at the transaction id and returning it with a query. but from the review I can also be more dangerous because it can eliminate some data How can I restore the data that I deleted?

I mistakenly deleted around 2,000,000 records from a remote SQL Server 2008 table.  The server is not granting me access to the backup files on the server side.   Is there any way to get back these records?


I would like to random sort a List<MyObject>. Is it possible ?     I though about another solution, using specific random number: I mean, if I could do something like that : random.next(1, 2, 3, 4, 5, 6)  If this call return 3, I could set the next call random.next(1, 2, 4, 5, 6) without the 3 which could return me anything excepted 3, etc...  Then I could finish to disordered my own List.  Thanks

What is the best way to randomize the order of a generic list in C#? I've got a finite set of 75 numbers in a list I would like to assign a random order to, in order to draw them for a lottery type application.


I have an Acer Aspire VX 15 (Intel Core i7, NVidia Geforce GTX 1050, 32 Gb RAM, HDD 1Tb).  I had Ubuntu 17.10 installed and everything was working fine. Then I upgraded to Ubuntu 18.04 and now, after I login via GDM (in graphics mode) the system halts. It becomes completely frozen.  However, if I press Ctrl+Alt+F2, switch to text mode, and then login in the console, the system works fine (in text mode) and do not halt.  Does anybody else has a similar problem?  Do you know how to fix this or how I can diagnose the problem?

After the restart step of upgrading Ubuntu to 18.04, tty is opening instead ubuntu-desktop. And when I enter my login name and password, I am still in the tty. This is happening again in every restart. How can I start the graphical desktop as normal?


For an arbitrary number of dimensions, I know that the mean minimizes the distance using the $L_2$ norm and that the geometric median minimizes the distance function using the $L_1$ norm (though I have yet to find a good proof of this). So what minimizes the $L_{\infty}$ (or Chebyshev) norm? []

Warning:  at Statistics SE.  Given vector ${\rm a} \in \Bbb R^n$, $$\begin{array}{ll} \displaystyle\arg\min_{x \in {\Bbb R}} & \left\| x {\Bbb 1}_n - {\rm a} \right\|_2^2\end{array} = \frac1n {\Bbb 1}_n^\top {\rm a} \tag{mean}$$ is the (arithmetic) mean of the entries of vector ${\rm a}  \in \Bbb R^n$, whereas $$\begin{array}{ll} \displaystyle\arg\min_{x \in {\Bbb R}} & \left\| x {\Bbb 1}_n - {\rm a} \right\|_1\end{array} \tag{median}$$ is a median of the entries of vector ${\rm a}  \in \Bbb R^n$. Using the $\infty$-norm instead, what is the following? $$\color{blue}{\boxed{\,\\\begin{array}{ll} \displaystyle\arg\min_{x \in {\Bbb R}} & \left\| x {\Bbb 1}_n - {\rm a} \right\|_{\infty}\end{array}}}$$ It appears to be the . I append a proof based on linear programming. Assuming that I have made no mistakes and my proof is indeed correct, I am interested in other proofs and in references.  My proof $$\begin{array}{ll} \underset{x \in {\Bbb R}}{\text{minimize}} & \left\| x {\Bbb 1}_n - {\rm a} \right\|_{\infty}\end{array} $$ Introducing optimization variable $y \in {\Bbb R}$, $$\begin{array}{ll} \underset{x, y \in {\Bbb R}}{\text{minimize}} & \qquad\qquad y\\ \text{subject to} & -y {\Bbb 1}_n \leq x {\Bbb 1}_n - {\rm a} \leq y {\Bbb 1}_n\end{array} $$ or, alternatively, $$\begin{array}{lrl} \underset{x, y \in {\Bbb R}}{\text{minimize}} & y & \\ \text{subject to} & {\rm a} & \leq (x + y) {\Bbb 1}_n \\ & (x - y) {\Bbb 1}_n & \leq {\rm a}\end{array}$$ Let the entries of vector ${\rm a} \in \Bbb R^n$ be denoted by $a_1, a_2, \dots, a_n$. Note that there are many redundant inequalities:  the set of $n$ inequalities ${\rm a} \leq (x + y) {\Bbb 1}_n$ can be replaced by $$x + y \geq \max \{ a_1, a_2, \dots, a_n \}$$  the set of $n$ inequalities $(x - y) {\Bbb 1}_n \leq {\rm a}$ can be replaced by $$x - y \leq \min \{ a_1, a_2, \dots, a_n \}$$   Hence, $$\begin{array}{ll} \displaystyle\arg\min_{x \in {\Bbb R}} & \left\| x {\Bbb 1}_n - {\rm a} \right\|_{\infty}\end{array} = \color{blue}{\frac{ \min \{ a_1, a_2, \dots, a_n \} + \max \{ a_1, a_2, \dots, a_n \} }{2}}$$ Some call this value the  of $\{ a_1, a_2, \dots, a_n \}$.  Related


I am getting id from URL like this. Both are object. If I recognize it like id[0] then it gives me datatype String But as a human I can understand one is String and another is Integer. How can I recognize it with JS Code?

I'm hoping there's something in the same conceptual space as the old VB6 IsNumeric() function?


I'm running Ubuntu 13.10 on a laptop.  Recently, after waking from sleep, I noticed the computer was quite warm, checked top and discovered 1.00 load average.  I shutdown Chrome, various daemons, no effect.  I rebooted and fired up a terminal and checked top again, and watched the load quickly spike to 1.75, and slowly settle down back to around 1.0 - 1.2:  top - 09:49:17 up 36 min,  2 users,  load average: 1.01, 1.10, 1.01 Tasks: 267 total,   1 running, 266 sleeping,   0 stopped,   0 zombie %Cpu(s):  0.9 us,  0.4 sy,  0.0 ni, 98.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st KiB Mem:   8069288 total,  2885572 used,  5183716 free,   123652 buffers KiB Swap:  7711332 total,        0 used,  7711332 free,  1661816 cached    PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND                                                                                1420 root      20   0  589m 144m 131m S   3.4  1.8   0:36.49 Xorg                                                                                6233 user1    20   0  986m  83m  31m S   2.7  1.1   0:19.89 chrome                                                                                3708 user1    20   0  749m  19m  12m S   1.8  0.3   0:06.58 gnome-terminal                                                                                3526 user1    20   0 1350m  67m  28m S   1.4  0.9   0:26.19 compiz                                                                                4014 user1    20   0 1022m 126m  52m S   1.1  1.6   0:44.34 chrome                                                                                I checked /proc/loadavg manually, same story:  sudo cat /proc/loadavg 1.20 1.16 0.99 3/614 6254   ps auxwwwf doesn't show any process consuming more than 6.0% of CPU.  iostat:  avg-cpu:  %user   %nice %system %iowait  %steal   %idle            0.63    0.00    0.13    0.00    0.00   99.25  Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util sda               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00 scd0              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00    0.00    0.00   0.00   0.00   free -m:               total       used       free     shared    buffers     cached Mem:          7880       2841       5039          0        120       1651 -/+ buffers/cache:       1068       6811 Swap:         7530          0       7530   Clearly some process is saturating CPU, but it doesn't seem to show up on the process list.  Some sort of hidden Linux filesystem checker?  Rootkit?  Any ideas how to find the process in question?

I'm getting the following output from top:  Cpu(s): 43.8%us, 32.5%sy,  4.8%ni,  2.0%id, 15.6%wa,  0.2%hi,  1.2%si,  0.0%st Mem:  16331504k total, 15759412k used,   572092k free,  4575980k buffers Swap:  4194296k total,   260644k used,  3933652k free,  1588044k cached   the output from iostat -xk 6 shows the following:  Device: rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await  svctm  %util sda       0.00   360.20   86.20  153.40  1133.60  2054.40    26.61     1.51    6.27   0.77  18.38 sdb       0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00 sdd      22.60   198.80   17.40   31.60   265.60   921.60    48.46     0.18    3.70   1.67   8.20 sdc      16.80   218.20   22.20   23.40   261.60   966.40    53.86     0.21    4.56   1.49   6.78   Based on the above it looks like something must be overloaded. But what?   Questions   If its not the harddisk or the CPU then what? It seems as though 15.6% of the CPU's time is spent waiting. What exactly could it be waiting for?


I didn't read books, but I have seen movies with Harry Potter.  I understand that he is the main character. What I don't understand is that everyone treats him as someone very important. For example, his professors are talking to him like to someone equal to them (equal status and knowledge).  There are so many kids in the university. Why everyone talks to him as some kind of super-genius?    I can't point to exact scene, since I am not that big fan. But this pattern repeats through the movies. Ok, I just remembered the scene where the white beard wizard in Halfblood prince, takes Harry to that dangerous place, to drink watter and get that watch. Why didn't he take someone else, a colleague professor, or someone powerful?

The full prophecy by Trelawney, the part my question is about in bold:     "The one with the power to vanquish the Dark Lord approaches ... born to those who  have thrice defied him, born as the seventh month dies ... and the Dark Lord will mark him as his equal, but he will have power the Dark Lord knows not ... and either must die at the hand of the other for neither can live while the other survives ... the one with the power to vanquish the Dark Lord will be born as the seventh month dies ..."    – Sybill Trelawney (to Dumbledore)    I am interpreting      for neither can live while the other survives   as: Harry can't live while Voldemort survives and vice versa. But why? It clearly worked until the end of book 7. One could argue with Dumbledore's thery of the self-fulfilling prophecy. But clearly Voldemort was smart enough to see that there was no mechanism that would kill him just because Harry stayed alive.    and either must die at the hand of the other    Again: Why? If somebody else destroyed all Horcruxes and then killed Harry, Voldemort would be just as vulnerable and could be killed by anyone. On the other hand, Harry could have been killed by anyone - his mum's protection transferred to Voldemort by Harry's blood was only helping against Voldemort.  I guess that I am interpreting this part of the prophecy in the wrong way or maybe there is an alternate, less obvious and more tricky one. So my question is: What exactly does the highlighted part of Trelawney's prophecy state?


Lee and Ron are born as perfectly identical twins except for Lee being left handed and Ron being right handed. Years after birth they are seperated, Lee moving to Latvia and Ron moving to Rwanda. At one time they are both writing but suddenly God makes Ron switch his pen from his right to his left hand and continue to write perfectly. Since God has the principle of not allowing perfect "perfect" twins to exist he must at the same instant make Lee switch his pen to the other hand. Is this understanding of the result of  correct? Does it conform with the concept of the universe keeping books about all states, God being the book keeper, or the concept that all events/states exist at all times in parallel universes, but time only reveals a specific state/universe (like all the action in a movie is there but you can only see one scene at a time)? Maybe I have totally misunderstood, what I have read, so please correct me (in layman terms - if possible)!

What is ?  Please be pedagogical.  Edit: I have updated my background under my profile.


My question was how to insert in an existing live ISO those two folders and not "How to customize the "the whole" Ubuntu live CD?" Having to install all the tools so that you can do it, and so forth. Is this the only option from scratch? No other way without installation of additional software to insert some line of code in some other ISO config file, telling it from where should be copied into the /home/ folder?      Or just simple to execute some shell file while ISO is still loading to copy straight into the home folder, those necessary folders.       How can this be done? Without the suggested link? I do not wish to install anything, so that later I have to purge again.        I need an Ubuntu Live CD version with my own configuration files on it.   Even an Ubuntu standard distro version is OK. Must not be mine personal.   When I boot with a live CD and copy that inside the /home/, relogin it works fine, but I've to do this every time and that just drives me crazy. And sometimes I forget to bring with me those config files.  So I'm trying to insert .config and .mozilla inside Ubuntu/Lubuntu Live CD  (that is the config that I already have configured myself from OpenBox, panels, Mozilla plugins etc. and so on).  I've looked everywhere and just can't find the solution. I tried on my own, but no luck. In worse case scenario, it will not boot. I just don't know what to touch and what to do.     I am not interested to assign any additional space for it on Live USB (from zero to xyz GB), as you can do that with Pen Drive Linux aka Universal USB Installer and others.     Why? Well from my experience:   Well because it makes it too slow immediately. USB flash even if USB 3.0 is too slow for me. It drives me nuts like win10. And because I need it as a CD/DVD version too. I want to inject everything into a RAM (my 16 GB DDR4 works fine with it).

I would like to customize Ubuntu live CD by installing some additional packages. I have followed   but it doesn't seems to work. Can anyone provide clear instructions?   Note: I do not prefer Remastersys, manual way will be appreciated.  Customization  Packages that I want to install:   Thunderbird    Samba    SSH       Changes that I need:   Remove Games menu from the Application menu Firefox shortcut on Desktop Radiance as the default Theme Different default Ubuntu Wallpaper   Configuration file changes   I want the panel to be placed at the bottom I want to paste my Samba configuration file instead of default Samba configuration I have few Firefox shortcuts and folders I would like to show that in Desktop Also it will be nice if you say me how to change the icon sets   Recent Updates   I have customized Ubuntu 10.10 with Firefox shortcuts and few folders on desktops. Everything went smooth. But the installer gets crashes after choosing the timezone. How do i fix this issue? Also setting wallpaper affects the login screen. The wallpaper which i set is displayed on the login screen also. I just want the default one for the login screen.


If there is only one star in the universe then is the metric at the center of the star flat?

The idea that as you move through the earth you get a symmetric cancelling of gravitational acceleration which approaches zero acceleration due to gravity at the center of the earth makes a lot of sense I think. I also think that is a pretty easy idea to understand physically.  On the other hand, I am just beginning to study and understand the general relativistic explanation for gravity and I'm wondering how this same idea is explained using general relativity. That is, what is the explanation for why gravitational acceleration decreases (linearly if I'm not mistaken) as you approach the center of the earth using general relativity? Specifically, I would like to understand what is going on with the curvature of spacetime in this scenario? Is it becoming less curved? Some math would be appreciated in answers!


I am an engineering student who's basic math skills are struggling to solve the definite integral of the product of a power function with a Weibull function: $$\int_{v_1}^{v_2} A*v^{k+2}* e^{-(v/c)^k} dv$$ The function describes the power output of a wind turbine between wind speeds $v_1$ and $v_2$, both >0. $A$, $k$ and $c$ are constants, all >0. I did look at  but cannot make sense of the $\Gamma$ function with two arguments. Thanks a lot for any help, ideally with a step-by-step guide :-)

I am having trouble integrating a weibull function multiplied with a production function. The expression shortened for integration is as follows:  $$v^{k+2}e^{-\left(\frac{v}{y}\right)^k}$$  I hope you can read the expression and help with the question.


The /boot partition is on 100% use and there is 0 available for it.  Does anyone know what I should do to free up some space?

My first issue was when I tried to apt-get update or apt-get upgrade. On upgrade I get the following error:  You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not installed E: Unmet dependencies. Try using -f.   I tried running apt-get install -f and this was the output(after saying yes on prompt)  (Reading database ... 186183 files and directories currently installed.) Unpacking linux-image-3.2.0-27-generic (from .../linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb) ... Done. dpkg: error processing /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb (--unpack):  failed in write on buffer copy for backend dpkg-deb during `./boot/System.map-3.2.0-27-generic': No space left on device  No apport report written because the error message indicates a disk full error                                                                           dpkg-deb:    error: subprocess paste was killed by signal (Broken pipe) Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-27-generic   /boot/vmlinuz-3.2.0-27-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic Errors were encountered while processing: /var/cache/apt/archives/linux-image-3.2.0-27-generic_3.2.0-27.43_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   I tried running apt-get autoremove and it gives me the same error as apt-get upgrade.  When I run df, I get this for /boot:  /dev/sda1                    233191     230297         0 100% /boot   So, I read elsewhere that I should try to purge old kernels. I checked for what kernels I had with:  $ dpkg -l linux-image-\* | grep ^ii ii  linux-image-2.6.38-13-server  2.6.38-13.52  Linux kernel image for version 2.6.38 on x86_64 ii  linux-image-3.0.0-13-server   3.0.0-13.22   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-14-server   3.0.0-14.23   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-15-server   3.0.0-15.26   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-16-server   3.0.0-16.29   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.0.0-17-server   3.0.0-17.30   Linux kernel image for version 3.0.0  on x86_64 ii  linux-image-3.2.0-24-generic  3.2.0-24.39   Linux kernel image for version 3.2.0  on 64 bit x86 SMP ii  linux-image-3.2.0-25-generic  3.2.0-25.40   Linux kernel image for version 3.2.0  on 64 bit x86 SMP ii  linux-image-3.2.0-26-generic  3.2.0-26.41   Linux kernel image for version 3.2.0  on 64 bit x86 SMP   When I try to remove the oldest with this:  $ sudo apt-get purge linux-image-2.6.38-13-server Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: linux-image-server : Depends: linux-image-3.2.0-27-generic but it is not going to be     installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   How can I free up or extend boot without messing up my installation?


I recently got a  laptop and want to install an SSD  () from my old machine.  So, right now, whenever I start it, it takes me to a menu where it shows what storage device I want to load from. But regardless of whatever I choose it doesnt load anything, restarts my computer and takes me back to the same menu. In order for me to start Windows I have to go to the BIOS and change SATA controller mode from ACHI to IDE if ACHI was previously chosen or IDE to ACHI if IDE was previously chosen.  What can I do to fix this besides getting a new SSH?   Also, I updated my BIOS and it didn’t make any differences.

After purchasing a Lenovo Ideapad Flex 2 14, I tried to upgrade it and replaced the HDD with an SSD from my older laptop. After putting in the SSD, I encountered a numerous amount of problems.  First, the Windows installation program didn't see the SSD, even the Diskpart utility didn't see it, so I decided to install Ubuntu instead, which was installed successfully. Everything was fine, but after messing around with the BIOS, the laptop wouldn't load the OS unless I first went into BIOS and exited it.  Windows still never saw the SSD, even after I installed Ubuntu on it and then tried to install Windows again. What could be the problem? Also, the HDD that came with this laptop works just fine, and the SSD works in another laptop just fine, too. The SSD is Intel 335 series 240GB. I'm gonna try to install Windows 7 a little later and see if that will work, but other than that I've already wasted an entire day trying to figure it out.


Here is my defaultuser service class I want the difference to be stored        in hh:mm:ss format in database (I'm using spring mvc+hibernate)  @Override @Transactional public LoginLog punchLogoutTime(User user) {     LoginLog log = getOpenUserLoginLog(user);     log.setLogoutTime(new Date());     long diff=log.getLogoutTime().getTime()-log.getLoginTime().getTime();     log.setTotalTime(diff);     log = loginLogDao.update(log);     return log; }      Here is my pojo class.I take totaltime as long.   @Column(name = "total_time") private Long totalTime;  public Long getTotalTime() {     return totalTime; }  public void setTotalTime(Long difference) {     this.totalTime = difference; }   Please tell me appropriate answer .Thanks:)

I'd like to format a duration in seconds using a pattern like H:MM:SS. The current utilities in java are designed to format a time but not a duration.


First-order phase transitions like solid-fluid can be understood as breaking of translational symmetry into lattice symmetry (also rotations into discrete rotations). The characteristic of these transitions are latent heat. In general the first derivative of the free energy diverges. Second-order phase transitions can be phenomenologically modeled using Landau-Ginzburg formalism. Here spontaneous breaking of symmetry gives rise to different phases of matter. Spontaneous symmetry breaking predicts the values of the critical constants to a good approximation. We also know a few examples of third-order phase transitions. To list a couple, we have the Gross–Witten–Wadia and Douglas–Kazakov large-N phase transitions. I was trying to understand if this phase transition can also be explained in terms of symmetry breaking. Are there known arguments in literature which explain third order phase transition from this viewpoint? EDIT: I found my answer

$F=\frac{a}{2}m^2+\frac{u}{4}m^4+\frac{v}{6}m^6-hm$, where $F$ is the free energy, $m$ is the order parameter, $h$ is the external field, $a=a_0(T-T_c)$, and $a_0>0,u>0$ and $v>0$.We know this free energy expansion describes a second-order phase transition. How to write down a free energy such that the transition is a third-order phase transition?


I am Android developer and recently i remove ubuntu 13.10 and install new ubuntu 14.04 LTS.  Every things working good when i use ubuntu 13.10. There is no hardware issue in my side.  Now i only install Java JDK, Virtual Box, Genymotion for android virtual device, and Eclipse SDK of Android.  When i start developing on eclipse, genymotion device, after some time ubuntu 14.04 LTS gone freeze,i cannot have any control to switch anythings.  I search on google and also in many communities, forums but they only give answer like what to do after Ubuntu freeze, some answer like , (this is good but not proper things.)  they do not tell me how to avoid or remove freeze problem happened in ubuntu 14.04.  is there any solution to avoid this problem ?  My System Configuration is :   Intel Pentium 2.9 GHz Processor, 8 GB RAM, 500 HDD.  if there is any solution please tell me because this problem is generating 2 to 3 times in hour of work.   thanks in advance.

All operating systems freeze sometimes, and Ubuntu is no exception. What should I do to regain control when...   just one program stops responding? nothing at all responds to mouse clicks or key presses? the mouse stops moving entirely? I have an    In what order should I try various solutions before deciding to pull the power plug?  What should I do when starting up Ubuntu fails?  Is there a diagnostic procedure I can follow?


I'm using Python's multiprocessing package to set up worker threads to do work and update the result to a MySQL database. What's the right way to set this up so that a database connection is not re-established each time a worker thread is initialized?

I have developed some custom DAO-like classes to meet some very specialized requirements for my project that is a server-side process that does not run inside any kind of framework.    The solution works great except that every time a new request is made, I open a new connection via MySQLdb.connect.    What is the best "drop in" solution to switch this over to using connection pooling in python?  I am imagining something like the commons DBCP solution for Java.    The process is long running and has many threads that need to make requests, but not all at the same time... specifically they do quite a lot of work before brief bursts of writing out a chunk of their results.  Edited to add: After some more searching I found  which looks decent, but as I'm relatively new to python I guess I just want to make sure I'm not missing a more obvious/more idiomatic/better solution.


Show that $2222^ {5555} + 5555 ^ {2222}$ is divisible by $7$. I tried factorizing but it didnt lead to anything. Can divisibility rules be used? Any ideas please tell me.

What will be the ones digit of the remainder in: $$\frac{\left|5555^{2222} + 2222^{5555}\right|} {7}$$


I've been attempting to render my 2D animation by selecting "render", "render animation", but I can't see where to proceed from there.  Is there a way for me to save the render or export the animation as a video file rather than a .blend file?

Yesterday I was working on a simple animation, an animated logo.   Here is an image of the progress:    I already have the animation working and everything is okay with the project, but I can't figure out how I can render the animation and turn it into an AVI format video.  How do I render an animation in Blender?


When I create a new object and I go to the options window that pops up to modify the object in the bottom left of the screen, the window completely disappears the moment I left click on any value in that window to change it.  It used to work fine. I have restarted both program and computer.

hello everyone I have a little problem, how do I bring up the menu in the circle? when I select another object the menu becomes non-existent


An electron has a mass of $9.10938291(40) \times 10^{−31} kg$. It also has a volume of $0 m^3$. This would imply it has infinite density. Shouldn't that make it collapse into a black hole? Why doesn't it?

For something to be a blackhole, it must have gravity and the radius must be smaller than the schwarzschild radius for its mass.  -Electrons have gravity  -Electron are theoretically believed to be infinitely small points  Since it has gravity it is capable of being a black hole. Since its radius is infinitely small, it must have a schwarzschild radius and thus be a black hole.


Updated I've updated the question because it was not clear and some of you gave me hints.What i originally want to achieve is the following example on visualforce page  I want them to be grouped and rendered as:  -Family  -Brand   -Product1   -Product2   -Product3 -Family  -Brand   -Product1   -Product2   -Product3   I am trying to create a visualforce page that will group products by Family/Brand. Can anyone advise me how or what is the easiest way to do this? I am trying to render the page as PDF for my sales team.  Controller      public with sharing class StandardProductDisplayController{  public List<Product2> records {get; set;}  public StandardProductDisplayController(){  records = [select Name, ProductCode, Brand__c, Family from Product2 order by Family];  }  }   Apex     <apex:page controller="StandardProductDisplayController" renderAs="pdf">      <apex:pageBlock title="Product List">          <apex:pageBlockTable value="{!records}" var="record">              <apex:column >                  <apex:facet name="header">Product Name</apex:facet>                  <apex:outputText value="{!record.Name}"/>              </apex:column>              <apex:column >                  <apex:facet name="header">Product Brand</apex:facet>                  <apex:outputText value="{!record.Brand__c}"/>              </apex:column>              <apex:column >                  <apex:facet name="header">Family</apex:facet>                  <apex:outputText value="{!record.Family}"/>              </apex:column>          </apex:pageBlockTable>      </apex:pageBlock>  </apex:page>

I have a List of records of type abc__c. abc__c is a custom object. The record has a field called code__c. What I am trying to accompolish is to group the records in the list based on the code__c.  For example the list might have :  Code__c     abc__c record 30       (Record 1) 40       (Record 2) 40       (Record 3) 50       (Record 4) 30       (Record 5)   I want to group these records based on Code__c in a Map. There could be any number of code__c which is populated dynamically. It is not static. how can I loop through the list and store the records as a list for a particular code__c(Id) in Map?


Let's Assume I have DataTable /SQL Table(MicroSoft SQL) that represents employee information for example  which contains firstname,lastname,age,company,yearsofexperience,Degree  I want to combine information based on firstname,lastname,age   company,yearsofexperience,Degree must be concat into corresponding cell  firstname   lastname   age   company   yearsofexperience      Degree  john         muller     21    IBM           4years            MBA    jan          tonny      22,   MSoft         1years            MS martin       tata       21    apple         2years            PHD john         Muller     21    sony          3years            MBA james        muller     21    IBM           4years            PHD    jan          tonny      22    Telsa         1years            BS      martin       tata       21    sun           2years            MBA james        Muller     21    TCS           3years            BS   Note:MS SQL solution not Mysql   Please find me way to remove the duplicate rows and make other data concat in particular column  For example in from above example I want combine the information present in the similar other 3 entries  firstname   lastname   age   company            yearsofexperience      Degree  john      muller        21   IBM,sony,              4years,3years,        MBA,MBA    jan       tonny         22,  MSoft,Telsa            1years,1years         MS,BS martin    tata          21   apple,sun              2years,2years         PHD,MBA james     muller        21   IBM,TCS               4years,3years          PHD,BS   Right I am looking for what is  best ways to implement this   Its good approach if I Split the Tables in to 2 different tables? may be based on Primary key match. we can con cat other entries ?  Please help me out thanks(+1) in advance

I'm trying to migrate a MySQL-based app over to Microsoft SQL Server 2005 (not by choice, but that's life).  In the original app, we used almost entirely ANSI-SQL compliant statements, with one significant exception -- we used MySQL's group_concat function fairly frequently.  group_concat, by the way, does this: given a table of, say, employee names and projects...  SELECT empName, projID FROM project_members;   returns:  ANDY   |  A100 ANDY   |  B391 ANDY   |  X010 TOM    |  A100 TOM    |  A510   ... and here's what you get with group_concat:  SELECT      empName, group_concat(projID SEPARATOR ' / ')  FROM      project_members  GROUP BY      empName;   returns:  ANDY   |  A100 / B391 / X010 TOM    |  A100 / A510   So what I'd like to know is: Is it possible to write, say, a user-defined function in SQL Server which emulates the functionality of group_concat?   I have almost no experience using UDFs, stored procedures, or anything like that, just straight-up SQL, so please err on the side of too much explanation :)


I have a Lenovo z570 running ubuntu 12.10 with a battery life approximately 1hr 30 min. Please help me maximize the battery life of my lenovo

This question is present as a matter of historical interest.  While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will be closed per the .   It is possible to greatly extend the usage time of a laptop or netbook running on battery by disabling various services and installing various packages.   What tricks or tips do people have for getting an extra hour or two out of their batteries?


I watched this on the Sci Fi Channel - SYFY UK about 15 years ago. It ended with a giant mech battle. The bad guys' mech was powered by holy men (that chanted to keep it working). The good guys' mech was linked to him and controlled by his mind.  Also the main villain in the giant mech, pretended to be an idiot at the beginning until he poisoned his family so he could become king.

This is all I can remember.  There are four worlds whose people and technology were all swapped so humans ended up with high tech mech suits that they used to kill each other. There was a supposedly handicapped prince who faked being mentally handicapped and had a giant mech suit hidden underground that he eventually used to wreak havoc on earth.  The protagonist also had a suit and he saved the day. He was in love with a girl who was from another world and when he saved the day, all the people and technology from the different worlds were sent back to their original one causing the girl to leave him. She had colored hair and the final scene was her waking up somewhere with some children commenting on her hair.  There may or may not have been a reference to the protagonists scars in the shape of the constellation of orion on his body.  Any ideas? I've searched the internet for two years trying to find it.


In England there are Yorkshiremen who know "aught from naught" and in general have the reputation of being hard to fool or cheat. Years ago I wrote to the editors of The New Scientist and asked if Yorkshiremen were anything like Missourians (from The Show Me state) and while they seemed intrigued, I never got an answer. So, where would I ask this so that someone who knows England and the USA folk culture might see and answer this?

Stuff like polls, recommendations based on subjective constraints, puzzles, webcomics etc. do not belong on the serious main SE sites, where professionals should be considered at work and having just a few spare minutes ("code's compiling") to answer questions, so they should not be distracted by such things. However, I'd also like to have a home for these things still using the SE engine. For the reason I mentioned before, this needs to be a separate place though. Let's call it four.[sitename-here].com.


They are seems to be similar in meaning, however in a specific context Googling vote for the first.     ... teaching users for free.   I think free of charge(s) is more appropriate choice but I couldn't find convincing support for the idea.  Are those really equivalent and what is the best for the context? Is there another alternative?

A friend claims that the phrase for free is incorrect. Should we only say at no cost instead?


Please help me with steps as i want to use Ubuntu and remove Windows 10 from my lappy. Thank you in advance

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


Consider this: I call my friend at his home and his mother picks up. What is the right thing to say?  Hello, may I speak to Daryl? Or   Hello, may I talk to Daryl?  Similarly,   Hello, may I speak with Daryl? Or  Hello, may I talk with Daryl?  The choice of words always gets me thinking during a phone call. Which of these should be used?

There are a number of questions e.g.  and  that deal with the slightly different connotations of the words "speak" and "talk". However, there also seem to be some grammatical differences between the two words. This question is about whether there's a way to formally pin down these differences, or whether they're just contingent features of the two words having different histories.  Some examples of grammatical differences are as follows:   be talkative ... be speakative speak French ... talk French give a talk ... give a speech (as opposed to a speak) speak up ... talk up (the meanings of the two phrases being completely different, with "up" being a preposition only in the latter case) speaking of which ... talking of which grammatically speaking ... grammatically talking   On the other hand, many other constructions work just as well with either (though they might have subtly different meanings), for example   speak to ... talk to speak with ... talk with speak about ... talk about   I'm interested in whether there's a way to pin down these differences (e.g. are the two words classified as different types of verb in some way?), or whether they're essentially just arbitrary. I'm also interested in why we have these two different words with subtly different meanings. Is the distinction between “speak” and “talk” a feature of many languages, or is it just a peculiarity of English?  Etymologically, both words are from Germanic origins. “Talk” seems to have been formed from the Middle English tale, even though “speak” already existed in the English language by then (as far as I can tell). This makes it even more mysterious: Why did we form a new word as a synonym of one that was already established? Or were the meanings different at that time?


Suppose I have an object as:  var obj = {         len: 4,         bred: 5     }   Now suppose I assign this object to a variable x as var x = obj;. As far as I understand it, it creates a copy of obj and assign that copy to x — that is pass by value. Now If I change a property of x then it changes that property of the obj object too. E.g.  x.len = 99   Then both obj.len and x.len become 99. On the other hand consider this scenario:  var r = 2, s = 3, t = 4;  s = r; s = 88;   Now r is passed by value to s that s a copy of r was given to s. So changing s to 88 doesn't change the original value of r variable. Typing r in the console still gives 2.  Question 1: If variables (objects included) are passed by value in JavaScript then why does changing x.len change the original obj.len, too?  Another problem is that I cannot change an object's property when assigning to a variable. Consider this scenario:  var obj2 = {         len: 4,         bred: 5     } var x2; x2 = obj.len;   Now typing x2 in console simply returns 4. But if I try to change the value of x2 such as x2 = 77; then that doesn't change obj2.len.  Question2: Why can't I change object's property with a variable?

The primitive types (number, string, etc.) are passed by value, but objects are unknown, because they can be both passed-by-value (in case we consider that a variable holding an object is in fact a reference to the object) and passed-by-reference (when we consider that the variable to the object holds the object itself).  Although it doesn't really matter at the end, I want to know what is the correct way to present the arguments passing conventions. Is there an excerpt from JavaScript specification, which defines what should be the semantics regarding this?