I had both ubunyu and win 10 l delete every thing l want yo make a new partition table with ubuntu live and then install both ubuntu and win 10 again but its my first time and l dont know what should be table type and which partitions i must have

I'd like to install both Ubuntu 12.04 and Windows XP on a Dell laptop, and I was thinking about using a dual boot structure, and using the bulk of my hard drive as empty hard drive space to share files between the two operating systems (so choice of file system type is very important in this set-up).     The kind of partitioning structure I would like to use is  Partition 1 - Ubuntu 12.04 (root) (20GB)  Partition 2 - Ubuntu /home        (20GB)  Partition 3 : Free Space          (560GB)  Partition 4 : Windows XP          (35GB)  Partition 5 : SWAP                (3GB)  (Total Hardrive Capacity is ~640GB)    My question is; what is the best way to go about setting up this kind this system?   Should I install Windows XP first and setup the partitions, and then install Ubuntu which I believe will install the GRUB bootloader for OS booting choice   or   Do I install Ubuntu first, setting up the available partitions and then perform a WIndows install?  Please let me know if there is anything in this setup that I have left out and should know about, including things related to setting particular partitions as logical or primary, and whether the boot partition and the filesystem partition should actually be two separate partitions.


To note, I have Google searched this question for the last 2 hours with many contradicting answer and searched Stackexchange with no clear answer.   I need to determine if a relay with a Contact Rating of 10A 250VAC/30VDC can handle 25A at 12VDC and if it would be able to handle lower amperages at higher DC voltages.   A few websites suggest as long as the power does not exceed 300W, any voltage/ current combination is okay and other websites say that is incorrect.  Attached is the  for reference, however this is more of a general question about relays.  Thank you very much

Maximum switching current of this relay at 250 V is 10 A.  Why is the maximum switching current at 30 V also 10 A?  I wonder why it can tolerate 10 A at 250 V but not 80 A in 30 V because the power is the same?  P1 = P2 = 250 V x 10 A = 30 V x 83 A


How can I open the connection of my local apache server to external connections?

I follow up on setting up SSL connection to my Apache2 It works well when I access my website from a local IP address but if I use a Dynamic DNS service with HTTPS in the beginning than I doesn't get to the website but actually can see my website folders.  What have I done wrong ?


I was recently affected  and have attempted to fix it as follows.    - run:       name: Apply jessie-backports Fix       command: |         rm /etc/apt/sources.list         echo "deb http://archive.debian.org/debian/ jessie-backports main" | tee -a /etc/apt/sources.list         echo "deb-src http://archive.debian.org/debian/ jessie-backports main" | tee -a /etc/apt/sources.list         echo "Acquire::Check-Valid-Until false;" | tee -a /etc/apt/apt.conf.d/10-nocheckvalid         echo 'Package: *\nPin: origin "archive.debian.org"\nPin-Priority: 500' | tee -a /etc/apt/preferences.d/10-archive-pin         apt-get update   - run:        name: Install Dependencies       command: |         npm install -g @angular/cli         npm install         npm install -g firebase-tools         apt-get -y -qq update         apt-get -y -qq install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget         if [[ "$CIRCLE_BRANCH" == "master" ]]; then           apt-get -y -qq update           apt-get -y -qq install python3.4-dev           curl -O https://bootstrap.pypa.io/get-pip.py           python3.4 get-pip.py --user           echo 'export PATH=/root/.local/bin:$PATH' >> ~/.bash_profile            source ~/.bash_profile           pip install awscli --upgrade --user         fi   However, whenever I run my build, it fails with the following errors:  E: Package 'gconf-service' has no installation candidate E: Package 'libasound2' has no installation candidate E: Package 'libatk1.0-0' has no installation candidate E: Package 'libdbus-1-3' has no installation candidate E: Package 'libgconf-2-4' has no installation candidate E: Package 'libgtk-3-0' has no installation candidate E: Package 'libnspr4' has no installation candidate E: Package 'libx11-xcb1' has no installation candidate E: Package 'libxcomposite1' has no installation candidate E: Package 'libxcursor1' has no installation candidate E: Package 'libxdamage1' has no installation candidate E: Package 'libxfixes3' has no installation candidate E: Package 'libxi6' has no installation candidate E: Package 'libxrandr2' has no installation candidate E: Package 'libxss1' has no installation candidate E: Package 'libxtst6' has no installation candidate E: Package 'fonts-liberation' has no installation candidate E: Package 'libappindicator1' has no installation candidate E: Package 'libnss3' has no installation candidate E: Package 'lsb-release' has no installation candidate E: Package 'xdg-utils' has no installation candidate   How can I fix it?

I'm using a docker image as a base for my own development that adds the jessie backports repository in its Dockerfile and uses that to install a dependency. This image uses the following command to add the repository:  echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list   The problem is that fetching packages from the backports repository now  fails with the following error (this used to work previously):  W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 404  Not Found  W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found   I looked on that server, and those paths are indeed not present there.  I tried to figure out on the Debian backports site whether this particular repository should still be available, and I didn't find any indication that this was deprecated or something like that.  Is this a temporary issue with the repository, or is the jessie-backports repository not available anymore? And if this is not a temporary issue, what options do I have to use this or an equivalent repository without upgrading to the newer Debian stable version?


I'm making a mountain model (in cycles render), but for some reason when I get close to the mountain the shading looks boxy instead of smooth.    I have smooth shading on, and I put a subdivision surface modifier on, but it still looks boxy when I get close up.  How to fix this?

I wonder if this is a bug, or if I missed something... When a light hits tangentially convex surfaces with "smooth shading", the shadow on this surface seems to "partially ignore" the smoothness of the surface. Here is an example with a simple cylinder :    On the left, a cylinder with "flat shading". Everything's ok. On the right, the same with "smooth". We can see an edge, bad shadowed.  With or without the "Edge split" modifier, no matters, the edge is still there. The shader is a simple white diffuse shader with no texture nor displace.  I have to add a subsurf modifier with at least 2 levels, which will insanely increase the vertex count... And I can't do that for my project.  I hope someone already saw it, and have a little tip to share. Or if someone already know it's a bug, or a limit of the current Cycles renderer ?


I have 3 lbs of butter that has been left at room temperature since, about, December 22nd. Is it still safe to eat?

Is it safe to leave butter at room temperature? If so, for how long is it safe to keep it out?


I am getting this error on this line in my code. I'm guessing I need to break this line down a bit. Any comments would be great.  $promobox_id = reset(array_keys($result['fieldable_panels_pane']));

I get the following error:     Strict warning: Only variables should be passed by reference in include() (line 18 of /home/sites/dev/theparce/sites/all/themes/parce/block--block--3.tpl.php).   This is the block code which is causing that error.  if ($user_gallery) {   print render(node_show($user_gallery));  // Line 18   print drupal_render ($user_gallery_edit);  } else {   print drupal_render($user_gallery_new); }   Why do I get that error, even if I get all printed as expected?


How can I have two figure side by side with two captions and in the floating format, like  fig. 10A. some caption                fig. 10B. some caption

How can I put two figures side-by-side? Not two sub-figures, but two actual figures with separate "Fig.: bla bla" captions.  A figure is supposed to spread over the entire text width, but I have two figures which are narrow and long, and I need to save the space in order to withstand the pages limit.


In my "Achievements" panel I can see that I have earned a badge for a question in StackOverflow. However if I'm in another website from the StackExchange Network the badge changes its icon according to the website I'm visiting. Screenshot applied - I'm in Travel.SE.   Is it by design? :)

It's so cool that the notification reminds you of the colour of badge you've earned. But I am a little puzzled by the symbols:      Is it feasible to use the symbol from the earned site? At the moment it uses the symbol from the site I happen to be on (as you can see by looking to the left of the dropdown in each case.)


As a non-native speaker, i wonder whether there are any guidelines concerning the usage of hyphens.  Would you write      Task-planning for robots ...   or rather     Task planning for robots ...

Someone has asked for answer to these topics. However, I still want someone to provide me with simple and universal answers. I recently read a sentence from the English-speaking person. It is in an article. It is, ' The available options for mitigating pad cratering are not universally effective (see link below), but they may be helpful on a case by case basis until more crack resistant laminates are developed and become available.  '  If I am to write this, I will use 'a case-by-case basis until more crack-resistant laminates'   Can anyone tell me when to use a hyphen to coin a new word?


Evaluate$$\int_0^1 \frac{(x^2-1)}{\log x} dx$$  Context:  I came across a similar integral some time ago, and now I would like to know how to tackle this. Any hint is very welcome.

/A problem from the 2012 MIT Integration Bee is $$ \int_0^1\frac{x^7-1}{\log(x)}\mathrm dx $$ The answer is $\log(8)$. Wolfram Alpha gives an indefinite form in terms of the logarithmic integral function, but times out doing the computation. Is there a way to do it by hand?


The laptop only takes 1 stick of memory.  I don't know the specifics of this memory beyond DDR3 1333.  Is it with parity, without parity?  What else do I need to know to buy a replacement?  Unfortunately, the laptop is a no-name brand, and I can't just look up the specs. Thank you in advance for your help.

If I want to add more RAM to my computer, how can I buy something compatible? What kinds are there? How do I determine which kind my computer will accept and how much I can add?


Does anyone know what I am missing to vertically align a img inside a div?  I have some sass, though I can work with plain CSS too.  I thought text-align was sufficient ? But it isn't working. The margin and height are automatically set on the  so G know that is working.  .testdiv {   font-size: rem(12);   height: 80px;   img {     margin-left: 12px;     height: 16px;     width: 16px;     text-align: center;   } }   and some html

I have a div with two images and an h1. All of them need to be vertically aligned within the div, next to each other. One of the images needs to be absolute positioned within the div. What is the CSS needed for this to work on all common browsers?

testing...


Before you start complaining about me not googling the answer - I did Google search it.  But everything I could find was that CON, COM1, AUX, etc are restricted because they have special meaning - for example, "CON:" mens console. And therefore writing to CON: will result in the text popping up in the console (checked that myself - typing echo "asdf" > CON: indeed resulted in "asdf" showing up).  For me, this still hardly answers the question. I mean, CON: should be something different that "C:\CON" or "C:\CON.txt", shouldn't it? As far as I know, any file or folder or driver on anything is being fully identified by the string containing it's full location (including the drive followed by a : sign at the beginning) and (optionally) it's type extenstion. Therefore I can't see how, for example, the existance of a file "C:\Documents and Settings\Someone\Desktop\c.docx" could result in any ambiguity, as it should be obvious that this Word document is not the C: drive. And similary I can't see how the existance of "C:\Documents and Settings\Someone\Desktop\con.docx" could result in Windows not knowing whether this is a Word document or the console.  Could someone explain this to me? Thanks in advance.

In all versions of Windows, we are unable to rename a file or a folder name as CON without third-party file renaming software. Trying to do this in Windows 7 results in an error:     The specified device name is invalid.   Trying to save a file as con.txt in Notepad leads to a similar error:     This file name is reserved for use by Windows.   Choose another name and try again.   Why can't we name a file or folder CON in Windows?


$$P(x)=\prod_{p\leq x}p$$  As you can see P(x) represents the product of primes which are not greater than x. Is there a asymptotic formula for this?

Let $p$ be a prime number. Denote by $P$ the set of all primes which are not greater than $p$.  Is there a well known estimation of the product of all prime numbers in $P$ (i.e. $\prod_{q\in P}q$)?


Basically, I want to group items in a list. For example:   For [1, 2, 3, 4, 5, 6], I want [[1, 2, 3], [4, 5, 6]] For [1, 2, 3, 4, 5, 6, 7], I want [[1, 2, 3], [4, 5, 6], [7]]   I know how to unnest nested lists, but I have no idea how to create a nested list.

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


I want recover deleted record and dropped data from SQLite db file,  I check my db file with text editor and i saw dropped data is still there..  I'm using SQLite3.dll (in c#) but i can`t find something property for open db with dropped data or ...  Is there any library for helping me? or something simple code for recovering data from sqlite db file?  Edit 1:  i try to find a data recovery library or program for sqlite.. after many searchs i found   SQLiteConnection.Open();  SQLiteDump sqSqlDump = new SQLiteDump();  sqSqlDump.Connection = SQLiteConnection1;  sqSqlDump.IncludeDrop = true;                          //<<-- check here sqSqlDump.Backup();  StreamWriter stream = new StreamWriter("d:\\dump.dmp");  stream.WriteLine(sqSqlDump.DumpText);  stream.Close();    that i can use IncludeDrop property for backing data to me but this library is not free and i cant use it.. i like to find free library or program...

As title, possible? I have by accident deleted another record due to my ugly html interface in FireFox. The bad thing is this record delete is a root folder which the program automatically cascade delete everything :(


Ok, so I am supposed to order business cards for people, then the company sends me the proof which I check over for correctness. When I do three on the people's names are right, one is wrong. So I want to write,  Angel, Jane, and Peter's cards are correct, but Jim's name is misspelled.   This doesn't look right to me. It makes me feel like Peter is owning all the possesive and not sharing with Angel and Jane, who have cards that are just as correct.   What would be the best way to write this sentence?  Thanks,   Rose.

Which option is grammatical?        There will be readings from Nikki Giovanni’s and Alice Walker’s writings.   There will be readings from Nikki Giovanni and Alice Walker's writings.      Saying it out loud the latter sounds right, but looking at it the former looks better.


I want to change the order of a webform component. This creation of a webform component:  $component = array(       'name' => key($question_name),       'form_key' => $key,       'type' => $form_type,       'mandatory' => 0,       'weight' => $weight,       'pid' => 0,       'extra' => array(           "items" => "1|1\n2|2\n3|3\n4|4",           "multiple " => FALSE,           "aslist" => FALSE,           "description" => $question['description'],         ), );   Gives me the following display result:   Name of component  1 - 4 radiobuttons Descriptiontext   But I want to move the description text over the radiobuttons:   Name of component Descriptiontext 1 - 4 radiobuttons   How can I change the order of the output?

I would like to know how to theme Drupal 7  elements? I want to change the HTML structure of every element, not just wrap form with div or something like that. And I want to leave theme's elements as they were.  EDIT: I would like to add class to label and input type radio button.


After logging in as root, I input apt-get update, and it gives me:   E: Malformed entry 51 in list file /etc/apt/sources.list (URI parse) E: Malformed entry 1 in list file /etc/apt/sources.list.d/docker.list (Component) E: The list of sources could not be read.   What's wrong with it?  Seeing many related answers I input the code: sudo -H gedit /etc/apt/sources.list  then it shows:  # deb cdrom:[Ubuntu 16.10 _Yakkety Yak_ - Release amd64 (20161012.2)]/ yakkety main restricted  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ yakkety main restricted # deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety main restricted  ## Major bug fix updates produced after the final release of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted # deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ yakkety universe # deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety universe deb http://us.archive.ubuntu.com/ubuntu/ yakkety-updates universe # deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ yakkety multiverse # deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety multiverse deb http://us.archive.ubuntu.com/ubuntu/ yakkety-updates multiverse # deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-updates multiverse  ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ yakkety-backports main restricted universe multiverse # deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-backports main restricted universe multiverse  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu yakkety partner # deb-src http://archive.canonical.com/ubuntu yakkety partner  deb http://security.ubuntu.com/ubuntu yakkety-security main restricted # deb-src http://security.ubuntu.com/ubuntu yakkety-security main restricted deb http://security.ubuntu.com/ubuntu yakkety-security universe # deb-src http://security.ubuntu.com/ubuntu yakkety-security universe deb http://security.ubuntu.com/ubuntu yakkety-security multiverse deb http yakkety main   # deb-src http yakkety main deb http://dl.openfoam.org/ubuntu yakkety main # deb-src http://dl.openfoam.org/ubuntu yakkety main # deb-src http://dl.openfoam.org/ubuntu yakkety main # deb-src http://security.ubuntu.com/ubuntu yakkety-security multiverse   Please explain to me how to remove this malformed line - line 51 is deb http yakkety main 6th from the end.

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


how to calculate  network  address of an IP with subnet mask 202.145.90.7/20? How many hosts can be there?

How do I find the x th subnet of X.X.X.X /XX (300 th subnet of 172.16.0.0 /29)?


I have a should-be decent spec Laptop (Pentium Dual Core (one of the more recent ones), 8GB DDR3 Ram, SSD, Windows 8) but it is running horribly and the disk IO is always at either 99% or 100%, not  but always.    I installed the OS myself, and afterwards downloaded and installed all of the recommended drivers from the manufacturers website.  Is there anything obvious that would cause this?

My new laptop is two months old, the first day I got this laptop I noticed this but I assumed it was a bug in Windows 8. However I still have this issue today after reformatting and installing all updates.  The problem is that the disk shows 99% usage from an application...  In this case Dropbox, but the usage is never over 2 MB/s; in this case it is 0.8 MB/s.  What can I do about this?


There is a single obscure word whose very definition is when one says "I'm sorry for saying this, but" or "I hate to tell you this, but", and then proceeds to do the very opposite and attacks or lambasts the person they're talking to. For the life of me I can't find it and I've searched high and low. Can someone please help me? Many thanks and cheers!

Other examples are:      I'm not sexist but (sexist comment)      Not to be a dick, but (dick comment)      No offense, but (offensive comment)   And so on... where they are trying to excuse themselves from what they are about to say?  What is the name of these kinds of statements?


Can I today use the word 'thrice' or is it completely out of date and shouldn't be used? Dusan

Our proofreader, a native speaker of American English, just won't let me use this word. Every single time I try to sneak it onto one of our sites, she replaces it with three times. Now, I do realize that thrice is quirky, but how quirky is it really? Is it awfully archaic? Is there a chance that native speakers won't understand it at all?  I know I could just search a corpus or five, but I don't feel like looking at cold stats (or the , for that matter). Instead, I am asking members of this community for their very personal, highly subjective, extremely biased opinions.


I am going through a book on Python which spends a decent time on module reloading, but does not explain well when it would be useful.   Hence, I am wondering, what are some real-life examples of when such technique becomes handy?  That is, I understand what reloading does. I am trying to understand how one would use it in real world.  Edit:  I am not suggesting that this technique is not useful. Instead, I am trying to learn more about its applications as it seems quite cool.  Also, I think people who marked this question as duplicate took no time to actually read the question and how it is different from the proposed duplicate.  I am not asking HOW TO reload a module in Python. I already know how to do that. I am asking WHY one would want to reload a module in Python in real life. There is a huge difference in nature of these questions.

I have a long-running Python server and would like to be able to upgrade a service without restarting the server. What's the best way do do this?  if foo.py has changed:     unimport foo  <-- How do I do this?     import foo     myfoo = foo.Foo()


In the book I'm reading it says that there exist elements with multiplicative inverses in a integer ring if $gcd(a,m)=1$ where $a$ is the element and $m$ is the modulo.   The inverse $a^{-1}$ is defined such that $a \times a^{-1} \equiv 1$ mod $m$  Also it says that if an inverse exist for $a$ we can divide this element since $b/a \equiv b  \times a^{-1}$ mod $m$   I'm confused as to what $b$ is in this case? My guess right now is that it is another member in one of the equivalence classes for the modulos $m$.

What is the meaning of $$ \\\frac{m}{n}\equiv k\pmod l $$ and $$ \\\frac{m}{n} \mod l $$ $m, n, k, l \in\mathbb N$ and $\gcd(m, n)=1$.


I'm not very experienced with Linux and I made a big, big mistake. I ran the following command:  chown -R [ftpusername]:[ftpusername] /   I meant to run this:  chown -R [ftpusername]:[ftpusername] ./   See the problem?  I tried to correct my mistake by changing the owner of all files to root:  chown -R root:root /   Now I'm getting permissions errors when trying to access my websites, but my biggest concern is that I want to make sure I haven't caused any security vulnerabilities here.  Questions:   Was changing ownership of everything to root the right thing to do? I think running chown caused some of the folder and file permissions to be changed. Is that normal? Would this cause any security vulnerabilities?

I was trying to run chmod -R 777 ./ but ended up typing chmod -R 777 / and set 777 on my entire machine. What can go wrong? How can I fix it?


I am approaching 20 accounts on StackExchange sites, and this is becoming a mess. Why not unify all accounts into one? This would increase the number of new users to other communities, as it would reduce the barrier of entry for those with existing accounts.

. . . or is it set up so that I must have at least one account per site to participate? And if the latter, is there an easy way to keep my profile information synced across all the sites that I am a member of?  I would prefer to have just one login, password, personal description, picture, etc. to remember and maintain.


I am trying to connect from Salesforce an unrelated Salesforce instance through a community user. I can successfully authenticate using Postman, however I am having a bit of trouble converting this into a callout.   As I understand it, the right way to do this would be with a named credential and Auth Provider. However, when I enter the correct auth url (https:///customercommunity/services/oauth2/authorize) I get "Error: Endpoint must be /services/oauth2/authorize". I don't see a good way around it.   As a result, I think need to create the auth call manually. I can do this but don't see a way to avoid the user having to manually enter credentials. When I place a callout for the first part of the auth code process, I get back a link to a UI login page. Does anyone know what I'm missing?   Here's the first callout and response:  Auth URL: https:///customercommunity/services/oauth2/authorize  Params:    response_type = code client_id = [clientKey] redirect_uri = [callbackURL] username = [username] password = [password]   Response:  key]

We are trying to migrate data from one sales force org to other using REST web service. Created REST service in one org trying use that service from other org but getting error "System.HttpResponse[Status=Unauthorized, StatusCode=401]".  Http Callout :  String username = correct usernme; String password = Correct password;  Blob headerValue = Blob.valueOf(username + ':' + password);      String authorizationHeader = 'Basic' +      EncodingUtil.base64Encode(headerValue);  HttpRequest req = new HttpRequest(); req.setEndpoint('https://ap4.salesforce.com/services/apexrest/Accounts/'); //req.setHeader('Authorization', authorizationHeader); req.setMethod('GET'); //req.setHeader('content-type', 'application/json');   req.setTimeout(120000); //req.setBody(jsonBody);                 Http htp = new Http(); HttpResponse resp = htp.send(req);  System.debug('resp:'+resp);   HOw should i call one sales force rest web service from another salesforce org?


i have also run some command suggested by Pilot sudo apt update sudo apt install git dkms git clone https://github.com/lwfinger/rtw88.git sudo dkms add ./rtw88 Error! DKMS tree already contains: rtlwifi-new-0.6 You cannot add the same module/version combo more than once. sudo dkms add ./rtlwifi-new-0.6 Error! Could not find module source directory. Directory: /usr/src/.-rtlwifi-new-0.6 does not exist  can anyone solve this tia

When I tried installing git from clone it's asking for username & password git clone https://github.com/lwfinger/rtlwifi_new.git Cloning into 'rtlwifi_new'... Username for 'https://github.com':  please help  shdpjjc@shdpjjc-System-Product-Name:~$ rfkill list shdpjjc@shdpjjc-System-Product-Name:~$  shdpjjc@shdpjjc-System-Product-Name:~$  shdpjjc@shdpjjc-System-Product-Name:~$ uname -a Linux shdpjjc-System-Product-Name 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:26:51 UTC 2018 i686 athlon i686 GNU/Linux shdpjjc@shdpjjc-System-Product-Name:~$ lspci -knn | grep Net -A3;   below command gives blank  rfkill list  lspci -knn | grep Net -A3    Below solution resolved my problem  I was able to resolve the issue after following this post in https://github.com/kelebek333/rtl8188fu. https://askubuntu.com/questions/1062402/cant-find-wifi-drivers-for-0bdaf179-realtek-semiconductor-corp   The concern was we were using 0bda:f179 Realtek Semiconductor Corp which requires specific drivers.  Thanks Everyone for the Help :)


Let $P(x)$ be a polynomial with real coefficients such that $P(\alpha)\ge0$ for all real $\alpha$. Show that there exists polynomials with real coefficients $Q_1(x)^2, Q_2(x)^2,....Q_n(x)^2$ such that              $P(x) = Q_1(x)^2 + Q_2(x)^2 + ... + Q_n(x)^2$

$p \in \mathbb{R}[x]$ and $ \forall x\in\mathbb{R} \ \ p(x) > 0$. Prove that $p = \sum_{k=1}^{n}p^2_k, \ \ p_k \in \mathbb{R}[x]$. I have noticed that $deg(p)$ must be even, because $p(x)$ doesn't intersect $\{x=0\}$.  How can I proceed with the proof?


I use skype to teach on the weekends, because that is what my company requests as it offers screen sharing allowing my students to see their lessons. Has anyone had success installing and using skype on this os? If so, I need guidance.

I want to install Skype, but I can't locate it in Software Center or by using Synaptic Package Manager. Can anyone help me?


Most articles and books are written in the conventional fonts like Computer Modern Roman, Times New Roman, etc. which are similar to each others. Why aren't more fonts used?   I wrote my course this year in a cursive font and it didn't cause any problem to any students. I'm afraid however that if I do the same in an article, the article will be ignored. Would you take an article written in such a font seriously? Would you even read it?  A sample of unconventional fonts:

I looked around but did not find that anyone has asked this before, but what are the fonts that are standard/recommended while writing academic reports/papers?


I have installed several python (Python 3.6, Ubuntu Server 18.04.5 LTS) packages with pip, but this installation was made with pip3 install package, and so it is valid only for the users who installed them. How can I upgrade this installation to all users, without doing a double installation? I think that sudo pip3 install package installs a package for all users. Is it safe? What do you recommend?

I am trying to install mysqlclient. I have searched on the internet and found two commands sudo pip3 install mysqlclient or simply, pip3 install mysqlclient. Which one should I use and why?


I have what I think is a basic question but have not been able to find the answer to:  When Software Updater downloads files (this morning it amounted to 250mb), are the files (or the ones that are outdated - for example, older kernel updates, older LibreOffice updates) automatically removed after the update finishes? Regarding the portion of my question regarding the location that Software Updater stores them - I've had responses (thank you!) that indicate they might be located in /var/cache/apt/archives, but the links speak only to installing new packages, not updates.  Can someone confirm that the Software Updater uses this same location?  FWIW: Ubuntu 14.04 64-bit

I am in the process of cleaning up my system. And I see a lot of space occupied by this folder /var/cache/apt/archives (1.5GB). Is it absolutely necessary to keep all these archives?


Hi –– I know this is a frequent question, but when I try to render my animation (cycles render), the viewport, and the files it outputs (I've tried PNGs and movies), are blank (transparent, as I'm using alpha background). I've gone through every tip I can find: the camera icon is enabled, the object is within distance of camera, I have a ton of lights, I restarted my computer, I'm rendering the correct scene and layer, I'm compositing correctly. I've also rendered this correctly in the past, but can't remember how I got it to work. Link to file here:

When I apply a glossy shader to the material of my text, the text becomes just black. Why?    I have lamp and everything, but the problem persists. The text is red before I add the glossy shader.  I'm using Cycles render.   Thanks!


$$2\gcd(a, b) \le \gcd(2a,2b)$$ I'm pretty sure it has something to do with Bezout's lemma or it could use prime factorization, but unsure on how to go exactly about it. Please help! Full Disclosure: This came up on a midterm and something like this may be on the final so I want to make sure I have it down for next time.

Here is what I got so far:  Let $\gcd(ka,km) = d$  Then by the Euclidean Algorithm, we have integers $s,t$ such that:  $$s(ka) + t(km) = d \implies k|d  $$  Let $$d/k = g = sa + tm.  \tag{1}$$  So now I need to show that $g$ is indeed = $\gcd(a,m)$. Let  $\gcd(a,m) =  h$  Now since $k|d \implies d|a , d|m  \space $  (since $$\gcd(ka,km) = d \implies  g|  \gcd(a,m) = h \\\implies h = dj  ,$$ for some integer $j$.  Putting this into (1):  $$ h/jk = g = sa + tm $$  since $$h = dj \implies dj/j = kg \\ \implies d = kg. $$   So $g$ is the $\gcd(a,m)$?  Is this a correct proof? Or have I gone in some sort of circle? Many thanks for any hints or direction!


Let $S=A_1 \times A_2 \times ...\times A_n$   Is S countable? And how do I prove it? I think the answer is yes because $A_1 \times A_2$ creates an infinite table so for n sets we would have an infinite table - just much bigger?  This is not a duplicate because no other question is for infinitely countable sets only

How can I prove that the Cartesian product of two countable sets is also countable?


Counting in Lojban, an artificial language developed over  the last forty years, is easier than in most languages The numbers from zero to nine are:  0  no 1  pa 2  re 3  ci 4  vo 5  mk 6  xa 7  ze 8  bi 9  so   Larger numbers are created by gluing the digit together. For example, 123 is "pareci". Write a program that reads in a lojban string (representing  a no. less than or equal to 1,000,000) and output it in  numbers.  I don't know what happened; it seems that my programme is not checking the if statement       if (str.substring(i-2,i) == q[ale]).  The rest of the loop is working fine.  Any advice?  public class apple {     public static void main(String[] args) {         String [] q =            new String[10];//"no","pa","re","ci","vo","mk","xa","ze","bi","so"];         q[0] = "no";         q[1] = "pa";         q[2] = "re";         q[3] = "so";         q[4] = "ci";         q[5] = "vo";         q[6] = "mk";         q[7] = "xa";         q[8] = "ze";         q[9] = "bi";          //q[0] = "so";         int ln;          String str = "nocipa";         ln = str.length();          if (ln % 2 != 0)         {             System.out.println("Invalid number");         }         else         {              for (int i = 2; i <=ln-2; i = i + 2)             {                 for (int ale = 0; ale < 9; ale++)                 {                     if (str.substring(i-2,i) == q[ale])                     {                         System.out.print("hello" );                      }                 }             }         }     } }

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 understand that the 1950 family is pretty notorious for the fan speed sound like a jet engine taking off.  I just flashed the bios to the latest version, and now it can support my 8x8gb FB-DIMMS! Yay right? Well, after installing the ram, and of course rebooting so the configuration change 'sticks', the fans are still so loud! Since I have two 1950s I am able to side-by-side compare them and I noticed that when I have 4x4gb sticks in one, and only 1x8gb in the other, the 1x8gb server is way louder than the other one!  It seems that it is being set off specifically by the presence of 8gb in one slot as opposed to a total amount of ram. When I felt the dimms they were not any hotter, in fact the 4x4 gb sticks might have even ran hotter.   I looked all over the bios and do not see anything I can do. No real support available from my research, all the posts I could find would involve me manually replacing all the fans with new fans (which I might have to do anyway, even the 4x4gb fan noise was a bit high for my comfort)  I'm guessing I am just SOL on this one, right guys? Really hope someone has a suggestion  Thank you!  EDIT: I did not see any similar questions where the issue was specifically related to noise being increased by a single 8 gb DIMM, so I still think this question should be open.

I run a Dell PowerEdge r710 server out of my house and I'm moving in with roommates in a couple weeks. Unfortunately I don't think they'll appreciate the ~70dBA it generates and I'm looking for ways to make it quieter.  I looked into replacing the fans with something less noisy, but unfortunately none of the quieter options move nearly enough air. The best one I found has been the , but at less than half the CFM (30.3 vs 67.85 on the stock  fans) it doesn't seem powerful enough.  I've also thought about putting  around the server to quiet it down, but acoustic panels also have the downside of acting like insulation, so heat could turn into an issue.


I have a player with a warlock character proficient in Deception.   Do the rules allows for this warlock to take the Beguiling Influence invocation and replace Deception with another skill they are not proficient in (in this case, Insight).   Or does the text on replacing skills or tools from multiple sources only apply to skills or tools to backgrounds?

Scenario:  I am a level 1 Half-Elf Monk, using a combination of my Monk starting skill proficiencies and Skill Versatility racial features to start with proficiency in Arcana, History, Religion, and Nature.   Upon hitting character level 2, I decide that with where I am in the plot at the time, it would make sense to multiclass into Cleric (and I have the proper prerequisites to do so)- this multiclass is not a preplanned decision made at character creation time.  I pick the Knowledge domain, which lets me pick two skills from Arcana, History, Nature, or Religion to become proficient in as part of the Blessings of Knowledge feature. My proficiency bonus is doubled for any ability check I make that uses either of the chosen skills I became proficient in.   By RAW, what skills can I ultimately gain proficiency in, and what skills get the doubled proficiency benefit of Blessings of Knowledge?  The rules for gaining proficiency in the same skill or tool from more than one source are as follows, according to PHB p.125:     If a character would gain the same proficiency from two different sources, he or she can choose a different proficiency of the same kind (skill or tool) instead.   I can see a few different ways to rule this depending on one's interpretation:   The above citation only applies to gaining proficiencies from backgrounds as it's in the "Backgrounds" section, despite the general language of "two different sources". As a result, I gain no proficiencies. I can still choose two of the listed skills to gain doubled proficiency bonuses. The above citation applies. As a result, I still have to choose two out of Arcana, History, Nature, or Religion, but when that choice goes to give me proficiency in a skill I already have, I can then choose any other skill to gain proficiency in. Then, either:   The chosen skills out of Arcana, History, Nature, or Religion get the doubled proficiency bonus. The 'final' skills I newly gain proficiency in do not. Only the 'final' skills I newly gain proficiency in get the doubled proficiency bonus.    Are any of the above interpretations correct?


I've been researching extension tubes for macro photography and I can't quite get a handle on how the length of the extension tube, combined with the actual lens (say the standard 18mm-55mm) will work.  I may not be able to explain this perfectly (since I'm confused about it) but hang with me...  So basically if you have the normal lens set to 18mm, and add an extension tube that's 21mm. What effect does this have?  I realize there's a point where the camera will not be able to focus if you match an extension tube of x-length with the regular lens of x-length. Can someone summarize this?  I apologize if this seems like a simple question and I have read up on it quite a bit already but I'm still confused about this part.   Any help appreciated.

There must be a mathematical description of the difference that an extension tube makes to a lens -- is it something that can be easily described?  (For example, with teleconverters you can say things like "a 2x teleconverter will turn a Y-mm lens into a 2Y-mm lens, and will lose you 2 stops." Is there something similar for extension tubes?)  If there's nothing much you can say about magnification, in general, what about the change in closest focal distance? Is that also lens-dependent?  What about if we factor out the lens: is there any general way to compare the effects of (say) a 12mm and a 24mm extension tube on the same lens?


Not sure if this is just me but in the Edit Profile & Settings, I notice there was a CSS issue for the links "Edit Developer CV" and "Privileges"  Upon looking at the CSS I think it's just that the .external class has a display: inline-block and should just be display: block? (feel free to ignore this I'm just doing my own thing)    Happening to me on Chrome 47

I was editing my profile when I noticed this:  On SO        On Code Review.SE        The ::after content should have a little margin from the text itself. Currently, it hinders the readability.


The automated software doesn't seem to catch them if they happen gradually:

I just noticed that I lost a bunch of points from my reputation score, and I used the "reputation" tab on my user profile page to try and track down the cause.  During my investigation, I noticed there was an unusual event of type "reversal". In the normal place of a question title, it says "voting corrected".     What does this mean, and what caused it?  Did I do something wrong? Why did I lose all of that reputation? Is the system punishing me for leaving too many good answers?  Is there any way to earn it back?


It's in a similar vein to Flatland, except in 3D. A 4D creature attacks Earth, using its 4-dimensional capabilities to its advantage. The protagonist defeats the creature by staking it to the ground. I'm fairly sure it's a well known story but the name evades me.

As I remember the being from a multi dimensional universe seemed to change form as different parts of it interacted with our 3 dimensional universe.  I read it in the 1963 paperback edition of The Best of Science Fiction edited by Groff Conklin.  is a list of the contents.  The  has stories that are not in the 1963 edition.  Anyone familiar with either edition should be able to identify the story.


EDIT: I could rephrase the question: is there a simple list of StackExchange sites with a description of each site's focus, that one can consult in order to find the site most suitable for a question like the following:  I'd like to know where to ask a question like this:  In the world of paper lists, one often sees alphabetized lists presented in columns like this:  COLUMN1............COLUMN2..........COLUMN3  aardvark           aquafer          avalanche abstraction        arrest           axiom alimony            assiduous        azalea anemone            atavism            apricot            authentic        -----------------------------------------------   Finite page depth. The words "snake" up and down the page in the columns. If there are more words than can fit on a page, a new page is created.  Does such a snakey pager UI widget exist for HTML5?

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.


I am creating an android media player where I first get an arraylist of songs in the device and display them to the user using a recyclerview. On click, the position of the song clicked and the songs arraylist is passed to another activity(NowPlayingActivity). In this new activity, I have a connection to a service (PlaybackService) that is supposed to play the song.  The connection sets PlaybackService arraylist to the one that’s passed into the NowPlayingActivity. Here is the connection:  private ServiceConnection musicConnection = new ServiceConnection() {     @Override     public void onServiceConnected(ComponentName name, IBinder service) {         PlaybackService.MusicBinder binder = (PlaybackService.MusicBinder) service;         playbackService = binder.getService();         playbackService.setList(myTrackList);         musicBound = true;     }      @Override     public void onServiceDisconnected(ComponentName name) {         musicBound = false;     } };   In the service, I have a setter method to set the track number to be played as follows:  public void setTrack(int trackIndex){     trackPosition = trackIndex; }   the method is invoked from NowPlayingActivity as follows:  public void trackPicked(int thisTrack){     int trackPicked = thisTrack;     playbackService.setTrack(trackPicked);     playbackService.playTrack(); }   Calling trackPicked()  from the NowPlayingActivity causes a null Pointer Exception with android studio displaying a runtime error as follows:  11-13 12:21:17.915  19688-19688/? E/AndroidRuntime﹕ FATAL EXCEPTION: main     java.lang.RuntimeException: Unable to start activity ComponentInfo{com.syntaxx.app.euphoria/com.syntaxx.app.euphoria.Activities.NowPlayingActivity}: java.lang.NullPointerException             at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2343)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2395)             at android.app.ActivityThread.access$600(ActivityThread.java:162)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)             at android.os.Handler.dispatchMessage(Handler.java:107)             at android.os.Looper.loop(Looper.java:194)             at android.app.ActivityThread.main(ActivityThread.java:5371)             at java.lang.reflect.Method.invokeNative(Native Method)             at java.lang.reflect.Method.invoke(Method.java:525)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)             at dalvik.system.NativeStart.main(Native Method)      Caused by: java.lang.NullPointerException             at com.syntaxx.app.euphoria.Activities.NowPlayingActivity.trackPicked(NowPlayingActivity.java:49)             at com.syntaxx.app.euphoria.Activities.NowPlayingActivity.onCreate(NowPlayingActivity.java:42)             at android.app.Activity.performCreate(Activity.java:5122)             at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)             at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2307)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2395)             at android.app.ActivityThread.access$600(ActivityThread.java:162)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)             at android.os.Handler.dispatchMessage(Handler.java:107)             at android.os.Looper.loop(Looper.java:194)             at android.app.ActivityThread.main(ActivityThread.java:5371)             at java.lang.reflect.Method.invokeNative(Native Method)             at java.lang.reflect.Method.invoke(Method.java:525)             at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)             at dalvik.system.NativeStart.main(Native Method)   what could be causing the exception?

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 am using ubuntu LTS and i want to create a bootable usb. so I opened the Startup disc creator in ubuntu, the problem is despite I selectIchoose the desired .iso file, it is never listed and hence i cant create the bootable usb.  anz suggestions_

I'd like to create a Windows bootable USB stick, but I don't have a Windows machine with me at the moment to do so. How could I achieve the same using Ubuntu?


Frequently in my workplace, when some bad news comes in, the advice take this with a grain of salt is used in such a context to mean choose for yourselves how to interpret this but don't consider it very important.   I've asked several people around the office what they understand this to mean - and each person got to this answer via a different means:   A grain of salt doesn't weigh very much. So if you balance the current issue on one side of some scales, and a grain of salt on the either, you get a feeling for how important this issue is in the big picture Some people add a grain of salt to coffee to reduce the  bitterness. In , meaning that the current issue to be viewed through a lens of your life experience.  Pliny the Elder recommended that a grain of salt was to be used as an .    My question is: Can the phrase "take it with a grain of salt" have four different ways to get to the same meaning?

Where did this ubiquitous phrase come from? Usually it is used in conjunction with either disputable of downright dubious information but I can't think of how salt helps the situation. The only thing I can think of is that since salt had a higher value in ancient times, that maybe the speaker is trying to almost bribe the recipient ("here is some info and here's some salt for your trouble") but I am just theorizing, take it with a grain of salt.


I'm very new to Blender, and I want to roll a ball down a chute. I stretched out a cube, deleted three of its faces, then smoothed it out to make a trough shape & solidified it. Then I made a cylinder, deleted the face on either edge, and solidified it into a tube. Both are set as passive rigid bodies.  My ball does not recognize the empty space these deletions have created, however. If I try to drop my ball into the chute,  If I try to put the ball "into" the trough instead of dropping it in,   I think you can tell from the gifs what I'm trying to accomplish. Any idea what I'm doing wrong?

I'm trying to get a couple asteroids to collide, however they collide without touching each other. How do I go about getting them to collide when closer together, or actually touching?      Tried changing the collision margin to no effect.


I am trying to get the returned value from a class, however I believe the string.format() is causing an error resulting in no value to return.  Class:  public class FilterTime {     public String getData(String day, Integer time){         // define the result         String result = "";         String convertedDay = "";          if(day == "Friday 30th August"){             convertedDay = "30";         }         if(day == "Saturday 31st August"){             convertedDay = "31";         }         if(day == "Sunday 1st September"){             convertedDay = "01";         }          if(time == null){             result = "http://www.website.org/json.php?f=%s&type=date".format(convertedDay);             Log.d("RESULT", "r:" + result);         }else{             result = "http://www.website.org/json.php?f=%s&time=@d&type=dateAndTime".format(convertedDay, time);             Log.d("RESULT", "r:" + result);         }          return result;     } }   When I trace result in my Activity:  FilterTime filterTime = new FilterTime(); String filteredURL = filterTime.getData(dayFilter, timeFilter);   When I trace filteredURL it returns nothing at all. So I then put the Log.d() into the class and I found that when tracing the following it also returns nothing:  if(time == null){                 result = "http://www.website.org/json.php?f=%s&type=date".format(convertedDay);                 Log.d("RESULT", "r:" + result);             }else{                 result = "http://www.website.org/json.php?f=%s&time=@d&type=dateAndTime".format(convertedDay, time);                 Log.d("RESULT", "r:" + result);             }   I cannot understand where the error is coming from because there are no errors, just a warning  saying it should be accessed in a static way, but I think the error resides in the if statement.

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?


What is the difference between: C Shell variants and Bourne Shell variants?  I must install a scientific software, during the installation I must write   ./configure >& config.out & ## C Shell variants  ./configure > config.out 2>&1 & ## Bourne Shell variants   just to have idea about this.

There are two forms of redirection the standard output and standard error into standard output. But which one is better? and why the &> is considered the perfect?  I can't find what is the differences so that many tutorials and even bash manual state that  &> is better!   So Why shall I use &> and not 2>&1  Mainly using bash shell    EDIT: Thanks for commentors   Only >& works in csh or tcsh  In ksh only 2>&1 works.  dash use >file 2>&1 redirection only  Then which one to use to ensure my script is compatible with other systems whatever the used shells are!


I really want to marry Carlotta Valentia.  I have the Amulet of Mara and I have completed her quest. Then what?  Is there anything I'm missing?. I can't find anything on the internet or at Skyrim wiki.

In the vein of  - Pete Hines, Bethesda's VP of PR and Marketing, when asked if Skyrim would support gay marriage :     You can marry anyone...Not any NPC, just mean any male or female.   So obviously some NPCs are off the list.  I assume I can't marry Jarl Balgruuf, but what about Irileth?  What about the Graybeards?  What about already-married NPCs?  Is it any "important" NPC, or is it more or less than that?  Has the Skyrim Creation Kit shed any light on how to determine this?


I have a Centos 7 / MariaDB, 1gig DigitalOcean Droplet with 2 low traffic Wordpress sites on. When the server gets approx 15 concurrent users MySQL runs out of memory and drops. Log below:  180806 14:43:05 InnoDB: Fatal error: cannot allocate memory for the  buffer pool 180806 14:43:05 [ERROR] Plugin 'InnoDB' init function returned error. 180806 14:43:05 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 180806 14:43:05 [Note] Plugin 'FEEDBACK' is disabled. 180806 14:43:05 [ERROR] Unknown/unsupported storage engine: InnoDB 180806 14:43:05 [ERROR] Aborting  180806 14:43:05 [Note] /usr/libexec/mysqld: Shutdown complete   So my question here is, what can i do to stop MySQL from dropping, Apache stays up fine. So hoping some handy configuration tweaks will resolve this for me :)  Cheers all!

MySQL Seems to be crashing quite often, I'd say every hour or so.   The only thing running on this server that is using MySQL is a Drupal installation that I'm working on, there's only one person that's using it and it literally has around three pages - from what I can gather this seems to be a memory issue with innoDB? I'm not great at this stuff so I'm unsure.  Any guidance? Here's the relevant parts from my error.log  140216 14:20:01 [Note] Plugin 'FEDERATED' is disabled. 140216 14:20:01 InnoDB: The InnoDB memory heap is disabled 140216 14:20:01 InnoDB: Mutexes and rw_locks use GCC atomic builtins 140216 14:20:01 InnoDB: Compressed tables use zlib 1.2.3.4 140216 14:20:01 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(135987200 bytes) failed; errno 12 140216 14:20:01 InnoDB: Completed initialization of buffer pool 140216 14:20:01 InnoDB: Fatal error: cannot allocate memory for the buffer pool 140216 14:20:01 [ERROR] Plugin 'InnoDB' init function returned error. 140216 14:20:01 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 140216 14:20:01 [ERROR] Unknown/unsupported storage engine: InnoDB 140216 14:20:01 [ERROR] Aborting  140216 14:20:01 [Note] /usr/sbin/mysqld: Shutdown complete  140216 14:20:02 [Note] Plugin 'FEDERATED' is disabled. 140216 14:20:02 InnoDB: The InnoDB memory heap is disabled 140216 14:20:02 InnoDB: Mutexes and rw_locks use GCC atomic builtins 140216 14:20:02 InnoDB: Compressed tables use zlib 1.2.3.4 140216 14:20:02 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(135987200 bytes) failed; errno 12 140216 14:20:02 InnoDB: Completed initialization of buffer pool 140216 14:20:02 InnoDB: Fatal error: cannot allocate memory for the buffer pool 140216 14:20:02 [ERROR] Plugin 'InnoDB' init function returned error. 140216 14:20:02 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 140216 14:20:02 [ERROR] Unknown/unsupported storage engine: InnoDB 140216 14:20:02 [ERROR] Aborting  140216 14:20:02 [Note] /usr/sbin/mysqld: Shutdown complete   EDIT The server is the lowest-spec DigitalOcean Droplet with 512MB RAM. This particular Droplet is running NodeJS, MySQL and Apache. There's a low-traffic static site, a Ghost blog and this Drupal site I'm developing.   Should I just upgrade the RAM, or is there something I can do to fix this?


The same happens when adding an article, and a book you've read:  Uncaught Error: Syntax error, unrecognized expression:

Searching for books in the careers profile section throws JS errors for me. Inspecting it seems like the AJAX call is fine, just the JS parsing is throwing errors:   Uncaught Error: Syntax error, unrecognized expression: <div class="book">


It seems to me that the Doctor looks younger at every incarnation.  Am I the only one having this sensation?

As of the second season of Matt Smith as , we've seen him give his age variously in a range between 900 and 1100 years (Note: I'm being deliberately vague here to avoid spoilers; being more accurate wouldn't add to my question).   As Matt's the eleventh doctor, this implies an average of 100 years of living per incarnation, assuming that the ages are somewhat accurate and not just fabrications.  Do we know the ages of any of the "other" Doctors?  How old was the Jon Pertwee Doctor, for example? Was he younger than expected, given that the regeneration was forced upon him?  William Hartnell's Doctor looks oldest physically, but did that correlate with actual age in any way?


I am trying to compute a currency field in Account on After Update Trigger. This will fire when "Number A" field on one of its related Opp is updated. On the code, I am using a roll up summary field (Roll up of "Number A" field on all related Opp of the Account) as part of the computation. But seems like the apex code is getting the version of roll up summary field that is not updated. Does anybody has a suggested workaround for this?

I have a custom object that has a master-detail relationship with another object, which has a master-detail relationship with another object. To simplify, consider them as: order, order item and receipt note.  Every time an item arrives, a "receipt" record is created, which specifies the amount of items that arrived. So if an order has 10 units of 1 item, it is possible to receive 10 or less at once.  On the order item I have a field called "received amount" which sums the "quantity" field from related receipts. So I know, for example, when X out of Y items arrived. I have a similar relationship with the item and the parent, that shows how many items were totally delivered.   The problem is that on the grand-children record (receipt) I have a trigger running on after insert which is supposed to check on the parent (order) if all the items were received (AmountOfItems == DeliveredItems), but the parent record, when queried on the trigger, doesn't display the updated value on the DeliveredItems roll-up field when the trigger code is running.  After the trigger runs, right before my test method exists, I query the parent again to check the fields, and I can see the value updated.  My guess is that this is either a bug, or the fields are calculated only after all the trigger context is run by the platform (which includes the after insert event). Am I right? How can I get around this?


I wrote  I find that it’s difficult to explain from scratch to a naive reader a lot of concepts in differential geometry which have long been visualized in my mind, like bundles over a manifold, integrable distribution, parallelizability, spin structure, Lie group, etc. Though these concepts each have a clear image in my mind, when it comes to introducing them to a reader who doesn’t have the rudiments of differential geometry, I find that it is really not an easy job—it’s really difficult to recover my naivete when I just began to learn differential geometry.  My councel in academic writing admonished me to substitute some words for naive and naivete for the two words suggest simple-minded. She suggested to replace naive with nonprofessional but hasn't suggested a substitute for naivete. I don't feel nonprofessional is an apt substitute for naive because I intend to refer to a person who just enters the profession in question. I searched some web dictionaries for appropriate words, finding no words which seem to serve my purpose. innocent, ignorant, unsophisticated sounds not sematically different from naive. The same is true for innocence as a substitute for naivete. So which words can substitute for naive and naivete in my context without suggesting simple-minded?

I'm looking for a term to describe someone who literally has zero knowledge of a topic.  Initially I thought of using something like green field but that doesn't really describe the person, it really describes a situation.  The context of this is for providing training.     {what goes here?} Beginner Intermediate Expert


Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


has anyone found a solution to this? please let me know thank you! i have tried everything as far as switching on and off the AR in a pokemon fight and moving my camera around or up and down. let me know if its just my phone or something in the settings that i dont know how to change..? TY

When initiating a battle it starts off in AR mode, but then warns me saying my phone's orientation is not detected. I am then forced to turn off AR mode. Has anybody experienced this? If so, what are the solutions?    Per comments, I am unsure this is a permissions issue. I have everything turned on.


I tried creating a little programm, that randomly puts chars together (in this case 2 to keep it simple) until it gets the requested combination (here: "ab"). But unfortunately I seem to have trouble adding the char "rand" onto the string "string", because the comparison in the while-loop doesn't seem to work even though it has the right combination. Could it be, that Java adds invisible characters when you create a String? How can I add the char properly?  public static void main(String[] args) {     // TODO Auto-generated method stub     String string = "";     String comp = "ab";     int counter = 0;     char rand;      while (string != comp) {         string = "";         for (int i = 1; i <= comp.length(); i++) {             rand = (char) Math.floor(Math.random() *26 + 97);             //JOptionPane.showMessageDialog(null, rand);             string += rand;             //JOptionPane.showMessageDialog(null, string);         }         //JOptionPane.showMessageDialog(null, string + ", " + counter);         counter++;         System.out.println(string + ", " + counter);     }      JOptionPane.showMessageDialog(null, string);     JOptionPane.showMessageDialog(null, "Achieved after " + counter + " tries"); }

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?


The variance of the sample median depends on the distribution you are sampling from. This is also true for the variance of the mean. But can one say that the variance of the sample mean is always greater than the sample median, or is this also dependent on the distribution we are sampling from?

I have labored under the belief that the sample median is more robust measure of central tendency than the sample mean, since it ignores outliers.  I was therefore surprised to learn (in the answer to ) that for samples drawn from a normal distribution, the variance of the sample mean is less than the variance of the sample median (at least for large $n$).  I understand mathematically why this is true.  Is there a "philosophical" way of looking at this that that would help with intuition about when to use the median rather than the mean for other distributions?    Are there mathematical tools that help quickly answer the question for a particular distribution?


I have this android logcat's log:  "Could not find class android.app.Notification$Action$Builder, referenced from method b.a"   and I'm trying to apply a regular expression, in python, to extract android.app.Notification$Action$Builder and b.a.  I use this code:  regexp = '\'([\w\d\.\$\:\-\[\]\<\>]+).*\s([\w\d\.\$\:\-\[\]\<\>]+)' match = re.match(r'%s' % regexp, msg, re.M | re.I)   I tested the regular expression online and it works as expected, but it never matches in python. Someone can give me some suggestions?   Thanks

What is the difference between the search() and match() functions in the ?  I've read the  (), but I never seem to remember it.  I keep having to look it up and re-learn it.  I'm hoping that someone will answer it clearly with examples so that (perhaps) it will stick in my head.  Or at least I'll have a better place to return with my question and it will take less time to re-learn it.


Let H={e,(12)(34)} and K ={e, (12)(34), (13)(24), (14)(23)} be subgroups of $ S_4$ where e is identity element. Then which of following is true   H and K are normal subgroups of $S_4$ H is normal in K and K is normal in$ A_4$ H is normal in $A_4$, but not normal in $ S_4$ K is normal in $S_4$ but H is not   How should this question be approached, checking left and right cosets of these subgroup is very time consuming. Checking gh$ g^{-1}$ $\in $ H for every g in $ S_4$ is also time consuming.

Let $H=\{e,(1 2)(3 4)\}$ and $K=\{e,(12)(34),(13)(24),(14)(23)\}$ be subgroups of $S_4$, where $e$ denotes the identity element of $S_4$. Which of the following are correct?   $H$ and $K$ are normal subgroups of $S_4$. $H$ is normal in $K$ and $K$ is normal in $A_4$. $H$ is normal in $A_4$ but not normal in $S_4$. $K$ is normal in $S_4$ but $H$ is not.  I know the condition for a subgroup $H$ to be normal in $G$ but that includes too much computation as $S_4$ has $24$ elements in all. I have studied the group of symmetries of square i.e. $D_4$ and its geometrical interpretation and I think that might be a clue to solve such type of problem relatively easy. Kindly correct me if I am wrong and provide any possible short method to do this.


Since electrons do not orbit the nucleus like particles, and instead have a probability to "exist" around the nucleus, how can they have an angular momentum as if they move at a certain velocity around the atom?   Also, why does this force the electrons probability density into distinct shapes?

Consider the Hydrogen 1s electron. We know that, in the quantum picture, the electron isn't orbiting or rotating at all, rather we simply state that the electron is spread over the entire space with the probability of finding it being maximum a radial distance $R$ (=Bohr radius) away from the nucleus. This helps explain why the electron does not radiate EM radiation while in the atom.  But, with this understanding, I do not understand the source of the orbital angular momentum. Is it intrinsic like the spin?


The description for Domain Spells is vague.  Once a cleric gains access to a domain, can they cast the domain spells as often as they wish (like a cantrip) or only a certain number of times per rest cycle?  Also, at what level are these spells cast as some of them have greater effects as they are cast at higher level?

I'm a little bit confused with the whole spell system and additions to them. If I pick for instance Tempest Domain Spell, are the spells additional to the other ones? (2 at level 1) So do that make it 3 spells? Does the domain add slots too?  And also, I've read about people choosing multiple domains, is that possible?


I started to work with Java and AS 2 days ago. i've done everything according to instructions, but when running app in emulator he quits it and shows error  `java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.user.project1/com.example.user.project1.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference`   I tried to create ListView with three TextViews. Here is the code:  package com.example.user.project1;  import android.app.Activity; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.ListView; import android.app.ListActivity; import android.widget.Toast; import android.view.View; import android.widget.SimpleAdapter; import java.util.ArrayList; import java.util.HashMap;  public class MainActivity extends Activity {      @Override     protected void onCreate(Bundle savedInstanceState) {         ListView lv = (ListView) findViewById(R.id.list);         super.onCreate(savedInstanceState);         setContentView(R.layout.rowlayout);         ArrayList<Contact> list = new ArrayList<Contact>();         list.add(new Contact("Surdialx", "Status","Available Works"));         list.add(new Contact("Surdial", "Status","Available Works"));         list.add(new Contact("Surdialx", "Status","Available Works"));         list.add(new Contact("Surdial", "Status","Available Works"));         list.add(new Contact("Surdial", "Status","Available Works"));         list.add(new Contact("Surdialxx", "Status","Available Works"));         SimpleAdapter adapter = new SimpleAdapter(this,list, R.layout.content_scrolling, new String[]{Contact.Serial,Contact.Status,Contact.WorkSt}, new int[]{R.id.tvSerial,R.id.tvStatus,R.id.tvWorkSt});   //As i understood problem appears here, but i can't resolve it.          lv.setAdapter(adapter);     }     public class Contact extends HashMap<String, String> {          public static final String Serial = "Serial";         public static final String Status = "Status";         public static final String WorkSt = "WorkSt";          public Contact(String Ser, String Stat, String Work) {             super();             super.put(Serial, Ser);             super.put(Status, Stat);             super.put(WorkSt, Work);         }     } }

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?


What are the steps to setup secure storage in a Ubuntu VM, preferably by using ecryptfs.

I declined to encrypt to my home drive whilst installing ubuntu.  Is it possible to encrypt it after installation?  if so, how?


I'm trying to get into c++ but I'm struggling to find good learn material. Currenlty I'm using this free tutorial  but I want to know what books I can buy to go from here. They should be new and help me get the necessary knowledge to understand new features from c11, c14 and c17. Can anyone point me into a direction? Thanks in advance !   (I have sufficient knowledge in other languages and the basics of cpp)

This question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written C++ book. It is way too big and complex for doing this. In fact, it is so big and complex, that there are very many very bad C++ books out there. And we are not talking about bad style, but things like sporting glaringly obvious factual errors and promoting abysmally bad programming styles. Please edit the accepted answer to provide quality books and an approximate skill level — preferably after discussing your addition in . (The regulars might mercilessly undo your work if they disagree with a recommendation.) Add a short blurb/description about each book that you have personally read/benefited from. Feel free to debate quality, headings, etc. Books that meet the criteria will be added to the list.  Books that have reviews by the Association of C and C++ Users (ACCU) have links to the review. *Note: FAQs and other resources can be found in the  and under .


Was it just to save typing one letter?  I don't think C function names were limited to five characters at the time, as strcmp and unlink are probably just as old.  I'm hoping someone who was involved said something on the record about this, but I haven't been able to find it.  This is not the same as asking 'What did Ken Thompson mean when he said, “I'd spell create with an 'e'.' because it is a different question with a different answer.

What is Ken referring to? Is there a "creat" command?


is it possible to ask a browser to print using the screen CSS rather than the print CSS?

A number of websites that I use have really bad stylesheets for the print media, but their screen stylesheets are quite good.  Is there any way to tell my browser to ignore the print stylesheet and just print with the screen stylesheet?  I’d also like to do this when I want to show clients the difference between the two.


What is the meaning of say in the following sentence:     - Say, could you bring us the knife?   - Knife?   - Yeah. Thank you.        (12 Angry Men, 1957)   I can guess that it is some kind of filler word (I don't think filler is the right word). But, I couldn't find anything on the web. Can you give some reference about this kind of usage?

Since English is not my native language, I have a hard time understanding some expressions I hear in movies. From what I gather, it's possible to start a question with "say", such as "Say, do you know any good restaurants around here?"  What is the proper usage for this structure? Do people frequently use it in conversation? Is it a rude thing to say?


Given two $n\times n$ symmetric real positive definite (p.d.) matrices $A$ and $B$, it is known that $$A \prec B \iff B^{-1} \prec A^{-1}$$ where $A\prec B$ means that $B-A$ is p.d..   Suppose $A\prec B$. If I know some information about the "magnitude" of $B-A$, e.g., the minimum eigenvalue of $B-A$ (which is positive), can I infer information about the "magnitude" of $A^{-1}-B^{-1}$, e.g., its minimum eigenvalue?

Let matrices $X$ and $Y$ be positive semideﬁnite. Show that $X \succeq Y \succ 0$ is equivalent to $Y^{-1} \succeq X^{-1}$.   The teacher tells me that it is easy to prove via the Schur complement. But I could not get his idea. Could anyone help me and give me some intructions? Thanks in advance!


I have just started using git. I created branch-A from master. I have created the file abc.txt in branch-A and merged branch-A into master successfully. Now I am working same file in branch-A and want to merge master's (which abc.txt) file into branch-A (abc.txt) file. I tried "git checkout master abc.txt" but it replaces branch-A file with master's abc.txt.  I know "git merge master" will do the work, but if someone can show me how to merge single file ONLY into current branch.   Thanks in advance

I'm using Git on a new project that has two parallel -- but currently experimental -- development branches:  master: import of existing codebase plus a few modifications that I'm generally sure of exp1: experimental branch #1 exp2: experimental branch #2  exp1 and exp2 represent two very different architectural approaches. Until I get further along I have no way of knowing which one (if either) will work. As I make progress in one branch I sometimes have edits that would be useful in the other branch and would like to merge just those. What is the best way to merge selective changes from one development branch to another while leaving behind everything else? Approaches I've considered:  git merge --no-commit followed by manual unstaging of a large number of edits that I don't want to make common between the branches.  Manual copying of common files into a temporary directory followed by git checkout to move to the other branch and then more manual copying out of the temporary directory into the working tree.  A variation on the above. Abandon the exp branches for now and use two additional local repositories for experimentation.  This makes the manual copying of files much more straightforward.   All three of these approaches seem tedious and error-prone.  I'm hoping there is a better approach; something akin to a filter path parameter that would make git-merge more selective.


i remember one of the terms had to do with the icon was actually what it represented. (like illustration of a highway means this is now a highway)  and the other one was something in between like knife and fork reprecenting food  and if i recall correcly the third was something unrelated / abstract doing the reprecenting  (picto..something?)

What do you call these simple, basic types of graphic elements that are used in infographic commercials, and the like?  They are vector based, look like pixel art, but have smooth edges, and are icon-like but not icons.  The example below is only a pallet of assets used in the short animated film .  Anyone know what one might call these?  Here's an example:


I am trying to construct a field with 27 elements, and find a primitive element in that field. I considered the irreducible polynomial $f(x)=x^3+2x+1$ over $\mathbb{Z}_3[x]$. Then I considered  $$\mathbb{Z}_3[x]/\langle f\rangle.$$ This is a field with $3^{\deg f}=3^3=27$ elements. I know that the unique elements of this field are given by  $$\{a_0+a_1t+a_2t^2:a_i\in\mathbb{Z}_3\}$$ where $t=x+\langle f\rangle$. Now my question is, what is an efficient way (for beginners) to find a primitive element of this field? One could argue that it suffices to find an element $u\in\mathbb{Z}_3[x]/\langle f\rangle$ with $\text{ord}(u)\neq 1,2,13$, but finding such a $u$ is computationally tedious (at least to me). Any comments or advice appreciated.

I have a finite field $\mathbb{F}_{27}$. I need to find an element of order 13. I know that multiplicative group of this field is cyclic with order 26. So I want to find a generator $g$ of this cyclic group, then $g^2$ will have order 13. Also I know that all elements of this field can be represented by polynomials from $\mathbb{F}_3[t]$, where t is root of irreducible polynom $x^3-x-1$.  Probably we can find generator of $\mathbb{Z}_{26}$ and than build an isomorphism to $\mathbb{F}_{27}\setminus 0$.  Anyway I don't know were to start.  Thanks!


The investigation uncovered that he had taken bribes when he was/had been governor of Maryland.  So the question is: is it when he was or when he had been? I want to say "when he was" because it seems that we always use Past Simple with such phrases, but isn't this about the time before the investigation uncovered something??

I have never had this problem before. But after seeing some questions posted on ELU, I started to doubt. I have been through links1, pages of grammar books2, a lot of questions3 posted here and ELU. I now still can't seem to understand how the past perfect is exactly used. The references sometimes even contradict each other.  What I had understood so far was      The past perfect is not necessary if we are not 'going back' to the earlier past, and simply moving from one event to another.   but I then saw a lot of other 'rules' including      If the sequence is clear, the past perfect is not needed.   which is slightly different, less 'narrow' and can be applied in more situations than the first ruleA, and      The past perfect is optional only when talking about an action at a specific time.   This is confusing. Can anyone here clarify things out please?    A For example, for  Doing the survey [completed] -> Showing the result      We showed the result of the survey we did.      If the second rule is applied, the sentence above is fine (the sequence is clear), but not if the first rule since we are not moving from any event to the next and possibly even going back.    1  and   2 Practical English Usage (2005) by Michael Swan, Collins Cobuild Student's Grammar (1991). Upper-Intermediate Cutting Edge.  3 including , , ,  etc.


I am wondering whether I have to use hyphens in this case? I haven't used them before in the text this sentence is included in, but they seem necessary here. or maybe I could just avoid them? .Furthermore, this master is crucial to enhance her capacity in researching and developing underground-water-related projects, which are necessary to assist in meeting the urgent demand of water for zones with scarcity. .Furthermore, this master is crucial to enhance her capacity in researching and developing underground water related projects, which are necessary to assist in meeting the urgent demand of water for zones with scarcity.

Hyphenating an adjective composed of two words is, from what I understand, fairly straightforward: if the adjective is before the noun, it must be hyphenated      The three-eyed raven   Customer-centric organizations     (with some exceptions such as not hyphenating after adverbs ending in -ly)     A highly efficient team   But how would one apply this to create an adjective from a composed word or expression and an adjective or past participle ? The example that comes to my mind is the following sentence:     Your product is based on big data     Which of these two options, if any, should I use, and why?     A big-data-based product   A big data-based product    Reading this, I think the second option does not mean what I want it to mean (it means that the product is big and based on data, not based on big data). The first option seems to make more sense, but is it correct?


How does one query  in a standards-compliant database such as  to obtain a list of all indexes in one database/catalog?

Is there are unified way of how to check for the existance of an INDEX for a given column irregardless of the actual SQL database system used?  For MySQL one could for instance check for the existance using SHOW CREATE TABLE mytable. In the result there would be something like this if column mycolumn has an index: KEY 'Index_1' ('mycolumn').  Is this indicator KEY unified among all SQL database systems?  Are there better ways to check for an index?


For example, if a player had all the necessary requirements for every NPC that needed requirements without finding them. (For example if you downloaded a custom map with lots of houses and no NPCs and a character with a gun explosives 50 silver has heart crystals etc) what would be the order that they come?  I believe it starts with Guide, Merchant, Nurse but then I'm not sure. If possible could I have the full list (Guide to Cyborg).  P.S If they don't have an order thats OK too but I think they do

I noticed a strange thing about Demolitionist that I do not see mentioned on .  Practically on my world I created immediately a good number of houses with  needed to accommodate an NPC.  The first NPC that arrived was the Nurse. Then I found many bombs but Demolitionist never came. He arrived just immediately  Merchant came, when I finally got the 50 silver coin needed for him.  Is this behavior correct? Is there and order in NPC appearance in addition to the minimum requirements for each one?


in c# i need to compare 2 numbers one from a local file, and one another from a downloaded file like a Patcher.  if I use Streamreader c# sad to me that he can't convert string into INT.  are there a solution for this? file a contains the value "1" , the file b contains the value "2"  so if b>a then download the new files catch from another updater file.  thanks

Possible Duplicate:          How do you convert a C++ string to an int?  Assume you are expecting the string to have actual numbers in it ("1", "345", "38944", for example).  Also, let's assume you don't have boost, and you really want to do it the C++ way, not the crufty old C way.


I have several custom post types. For some i need to query them based on a single meta field, but for others i have a dozen individual meta fields. If i create an array and convert it into JSON, will it be faster if i call 12 meta fields one by one or call the JSON, parse it and then have the variables?   A quicker alternative i was thinking would be to save all of the meta fields one by one, but then also create a JSON version of them all. In cases where i need to query by meta i can do it and when displaying a list i dont neet to perform 12 queries * num posts.

I have the posts which have many custom defined meta fields. On posts I am calling them on requirement using get_post_meta. Means for 10 meta fields I am using it 10 times.   Am I doing it right? Means, is there any performance issue with the above method and if yes then how to reduce the number of calls.  I am aware of the answer available here:  which explains that the use of 'single query'. But it is not clear and sound so asking again if somebody knows and want to share in detail.


currently I am attempting to access the OS clock using python.  Is there a sort of way I can access the clock value at this exact time and get a string that returns back lets say 12:00:00am PST or just the time? The timezone is a plus :)  I have currently done this time.clock() but nothing is giving me values back :/

What is the module/method used to get the current time?


So here is a round-up: 1.Bought chicken breast today, it was fresh.  Decided to poach it in multicooker, set timer for 30 minutes.  Checking on the pot 25 mins in, realized that something gone awry with the appliance and it turned off somewhere along the way. The pot was warm (but not really hot), the breast was cooked on the surface, raw in the middle.  Chopped it up into pieces and decided to quickly pan fry it and sautee in some tomato sauce afterward.   My question is: I have read about food danger zones and how those can promote bacterial and toxin growth even if meat appears to be fully cooked without any signs of spoilage. Perhaps I am being paranoid (as it had spent only 25 mins in its quasi-cooked state, and it never fully cooled down), but I just wanted to run it through you guys and make sure it is completely safe to eat it.

If I left food out of the refrigerator for some period of time, is it still safe? If I left it out too long, can I salvage it by cooking it more?


Please consider the following, guys. I met a good and a bad mother on the way here What I am trying to say: There were two mothers, one bad and one good. Is it okay to use that construction? Or need I remove the articles and use mothers instead?

I wonder which of the two is correct:        I have a red and a blue car.   I have a red and a blue cars.      or        Everyone has a left and a right arms.   Everyone has a left and a right arm.      My (non-native) inclination would be for option 1, as it sounds better.  On the other hand, in the following examples, the plural sounds better to me.    Everyone has left and right arms. I have old and new cars. (when I only have only one old car and one new car) The left and the right arms are...   But are they correct?


i declared the variable and initialized it but  i still get this error  Code:  //Main  import java.util.Random; import java.util.Scanner;  public class Main {   public static void main(String[] args)   {  //  Scanner input=new Scanner(System.in); //  Random rnd=new Random();     StuInfo();  } public static void StuInfo() {     Scanner io=new Scanner(System.in);     Random rnd=new Random();            System.out.println("How many students are there?");     student[] stu = new student[io.nextInt()];     for (int i = 0; i < stu.length; i++)     {         stu[i].age = 5;      } } }  //Student  public class student {      int age;      double[] grade;      String name;  }   Inputs:  4  Error:     exception in thread "main" java.lang.NullPointerException      at Main.StuInfo(Main.java:39)      at Main.main(Main.java:12)

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've found dictionary entries supporting both situations: for adjective:  for verb:   I'd go with past participle form of the verb "to intrigue" in the passive voice, used as an adjective in this sentence. Does that make sense?  Thank you!

He is loved.   This is something that I've always kind of wondered.  In a sentence like this, is loved a verb or an adjective? Can it be considered either?


A spaceship crashes onto a water planet, an octopus type creature hooks onto the passengers and creates a false reality for them. Most of the passengers actually died. It was from so long ago, and that's all I remember 😭

Things I remember   I read this book in elementary school, but I don't know how much of a "kid's" book it is. Main character was male, and I think the title of the book may have been his name. I picture him as owl-like, but I know he had talons and wings at least. The book possibly started on his race's home planet, and they had to leave to live on space stations for some reason. Once they leave their home planet, there is a comment that their children will be born with flatter feet to accommodate walking on metal of the space station instead of gripping branches. I'm forgetting a chunk of the book, but the main character becomes separated from everyone else, possibly left behind somewhere on purpose. Somehow the main character becomes extremely powerful. He is able to fly through space on his own without a ship. Near the end of the book, he engages in a prolonged battle with some other hyper-powerful character (The fight might start on a water planet). Their fight spans the galaxy. Main character ends up in a black hole, omniscient and observing a planet (possibly Earth?). A boy from the planet dies and shows up where our main character is. Main character and boy talk about whether anything in life has meaning or affects anything.


I want to use my old netbook for a Wordpress server (2Gb ram, 1.6GHz CPU), and I want it to be as resource and energy efficient as possible. I have already tried Ubuntu Server, Lubuntu and Ubuntu MATE on it, and they all use around 200mb RAM when idle (while I expected the server to use less).  Also, I am kind of new to Linux, so I would like to have the distribution, with which I will have no problem finding help how to use. So here is what I want:  1) Which one would be best for performance, the Server version, or something with Desktop environment? I want the server to be able to handle hundreds of users to the website.  2) Does the RAM memory usage when idle determines which distro works best on my system?  EDIT: Here is a comparison of Ubuntu Server, Ubuntu MATE and Lubuntu, freshly installed and updated on a Virtual Machine.

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


I noticed images take up much more space than backgrounds with uniform color. So does this mean I should use the uniform-colored backgrounds to avoid unnecessary damages to the hard drive?

if we do not use any wallpaper on desktop will it increase performance of windows?


It's relative easy to understand gravity balance of Lagrange points $L_1$, $L_2$ and $L_3$. But I am having a hard time to understand how a body would be "kind of" balanced out on Lagrange points $L_4$ and $L_5$.

This diagram from  shows the gravitational potential energy of the sun-earth two body system, and demonstrates clearly the semi-stability of the $L_1$, $L_2$, and $L_3$ lagrangian points. The blue arrows indicate lower potential energy, red higher - so any movement in the plane perpendicular to the masses would require energy and without it, an object there would settle.    However, the $L_4$ and $L_5$ are claimed to be stable, even though the direction arrows indicate it's at the top of a gravity well, and would fall into lower potential energy in any direction. What is it that makes these points stable if not gravity? What am I missing?


On the right side under scene I have a couple different armatures like armature.001 and armature.002 and bone. I was wondering how I make these all one object I'm trying to parent bone 4 to the neck bone but it wont work. I'm guessing because of these separate armatures.

I currently trying to join two rigged (and animated) models, which both has separate meshes, separate bones and separate animations. The first mesh is the horse while the second mesh is human:   So I am interested to join human model onto horse model to make a rider:   I think the best way would be to make horse as a parent and human as a child during the join process. In that case I would like that all horse animations (there are 3 of them - idle, walk and run) would remain as they are, while I can lose human animations, as I will need different ones for it. I was also thinking to make human root bone as a child of one horse back bones, that when horse moves up and down it would move entire human mesh together. It would be also good to keep the same weights that human bones would not start deforming horse mesh and vice versa.  I tried to use Ctrl+J by selecting various combinations between bones and meshes in object mode, however, I noticed that it messes up scaling and rotation of the child object. So I was wondering how it would be possible to properly join these models to create a rider?