I am facing a strange phenomena on my iPhone X running iOS 11.3. Whenever I edit a photo in the Photos app, the edits simply disappear the next day. Any photos I edit, all of them revert to the original state the next day. I've also noticed, when I take a photo in the Portrait mode, it reverts to no portrait bokeh effect, as well.  Does anyone have any idea what's going on and how to fix this issue? Is it a possibly bug of iOS 11.3?  Edit: This question is not a duplicate! The issue is the same, however, the question is different

I edited about 20 photos on my phone yesterday -- cropped, altered saturation and contrast etc. This morning, on my phone, those edits have all reverted to the original photos.   I use iCloud library. The photos had not completed uploading to iCloud library before I edited them. My phone uses ios 11.3  Can these edits be recovered now that iCloud sync up is complete and those edits are reverted to the original photos?  EDIT: given that there is no solution, and that others report the same problem (and that it happened again), I have filed a bug report at Apple:


The title may not best describe what I'm trying to do (couldn't think of a better way to word it nicely).   I'm looking to use the exec() function to capture groups where the count for one character is equal to the count of another. For example, using characters x and y:  xx&yy [match: x count = 2, y count = 2] xx&yx&&yy [match: x count = 3, y count = 3]  xyxx&&&y [match: x count = 1, y count = 1] [no match: x count = 2, y count = 1]   Is this possible to do?

I need a regular expression to select all the text between two outer brackets.  Example: some text(text here(possible text)text(possible text(more text)))end text  Result: (text here(possible text)text(possible text(more text)))


This question is inspired by the following example given in Barnett's book on quantum information:        (PDF , starting at the bottom of page 5)  I am not a physicist, but I'll accept that the calculation of the increase in physical entropy associated with this procedure is correct. My confusion is about how the second law of thermodynamics can be saved by claiming that the process of measuring the position of the molecule produces an entropy of at least $k_B\ln2$.  My question is: Why can we just assume that "entropy" of information is comparable with physical entropy? The best explanation that I've been able to find is that they're defined in similar ways and satisfy the same basic properties. This seems no different from saying "decibels and earthquake intensity are both measured logarithmically and are therefore comparable", which of course makes no sense.  As I said above, my only physics background is a first-year course, so I'd appreciate if answers could try to be accessible to someone who hasn't done thermodynamics...

Context  In one of his most popular books , Terry Pratchett makes an entropy joke:     Knowledge equals Power, which equals Energy, which equals Mass   Pratchett is a fantasy comedian and every third phrase in his book is a joke, therefore there is no good reason to believe it.  Pratchett uses that madness to make up that a huge library has a tremendous gravitational push.  The question  I work with computers and mostly with encryption.  My work colleagues believe Terry Pratchett's statement because of entropy.  On the other hand, I believe, it is incorrect since entropy of information is a different entropy than the one used in thermodynamics.  Am I correct?  And if so, why do use the same name (entropy) to mean two different things?  Also, what would be a good way to explain that these two "entropies" are different things to non-scientists (i.e. people without a chemistry or physics background)?


I've been looking up tutorials and sites for days now to help me figure this question out, but nothing has been working for me. I am fairly new to Blender, so this is a new experience for me! I know that UV Mapping may have something to do with it, not quite sure.   Here is a simple tree I made on the right. I followed this tutorial:     However, every time I try to export it and import it into ROBLOX Studio, I get the picture on the left:  What would the best solution be? I also would like to know how to do it if I did add textures and not just plain colors (unless they follow the same procedure).   Sorry for the nooby question, thanks again:)

I used node textures in a mesh I exported to .FBX.  I then imported it into Unreal Engine 4 and it didn't import any textures; I clicked the Upload Textures option in Unreal Engine.  Is there something I'm doing wrong or is it Blender?


Since an antiparticle by definition is a particle with the same mass but opposite charge, how is there such a thing as an antineutrino? A neutrino has 0 charge so could not have an opposite. So why does an antineutrino exist and how does it differ from a neutrino?

According to the the definition of anti-particles, they are particles with same mass but opposite charge. Neutrinos by definition have no charge. So, how can it have an anti-particle?


I have read over many q and A's regarding the 'force stop' option for most apps. All explain what it's function is, but aren't too clear on when it is really necessary to go thru my list of apps and force stop them (EVEN ONES THAT ARE NOT CURRENTLY IN THE LIST OF RUNNING APPS?!?!?) That was and still is a bit hard for me to understand also. If my phone says the apps are not currently running what I'd it that I'm forcing to stop? And will it effect the function or start up of the app when I need to use it?

When I go to Settings > Applications > Manage Applications > Downloaded I see an application list. If I select some applications I see button "Force stop" active, but some applications have this button dimmed.  What does it mean? What happens if I press this button?  This button can't mean application running, since the applications with this button are not listed in Running section.  Can I list just applications which have the Force stop button active and uninstall them?    Android version: 3.2


MY Lap Specs : HP - Pavilion -p027Tx notebook              : Ubuntu Genome 16.04               : Nvidia Geforce 830M  I am new to this ubuntu community (OS). I want to install Nvidia graphics drivers , Cuda ,CuDnn , Tensorflow for Deeplearning.I am very new to all commands in Linux.  Can anyone help out in this. I followed the documentation , but could'nt help me out. Since i am very ameture in this installations , i want someone to guide me in installations  Thank you !!

For TensorFlow I would like to install CUDA. How do I do that on Ubuntu 16.04?


I'm using a tabular inside a basedescript enviroment from the mdwlist package. I need to have "normal paragraph"-like behaviour on both sides — so LaTeX will wrap lines and break words.  The vertical alignment of the table doesn't fit the one of the label. I worked around it using \vspace{} trying to approach the same height.  Is there a proper way to achieve this?    Problem (red circle) and workaround solution:    MWE:  \documentclass{scrartcl} \usepackage{mdwlist} \usepackage{lipsum}  \begin{document} \begin{basedescript}{% \desclabelstyle{\multilinelabel} \desclabelwidth{3cm}} \item[some label]    dummy text      \item[another label ]     \begin{tabular}{lr}       line 1 & row 2 \\       line 2 & row 2 \\     \end{tabular} \end{basedescript}   \hrule \subsubsection*{workaround with \\vspace }  \begin{basedescript}{% \desclabelstyle{\multilinelabel} \desclabelwidth{3cm}} \item[some label]    dummy text      \item[another label ]     ~\vspace{-1.3em}      \begin{tabular}{lr}       line 1 & row 2 \\       line 2 & row 2 \\     \end{tabular} \end{basedescript}  \end{document}

How can I control the vertical space before an environment, e.g., tabular or minipage?   Here is an example that reproduces my problem:   \documentclass{article} \begin{document}     \noindent TEXT-A\vspace{5pt}\\   TEXT-B\\TEXT-C     \\[2em]     \noindent TEXT-D\vspace{5pt}\\   \begin{tabular}{@{}l}TEXT-E\\TEXT-F \end{tabular} \end{document}   The spacing between TEXT-A and TEXT-B is different from the spacing between TEXT-D and TEXT-E:    I have learned so far that the space between TEXT-D and TEXT-E is normal if I delete \\TEXT-F:    Any help would be appreciated!


From  I understand that &> /dev/null in zsh redirects both stdout and stderr to /dev/null. Hence,  echo a &> /dev/null   gives no output.  However, when I do  echo a &> /dev/null | cat   cat will print the a, where I expected it to print nothing.  What is going on here?

Can somebody explain what is going on in this command:  echo foo >&2 | grep foo   Zsh (5.0.2) prints foo twice. One seemingly to stdout and one to stderr, since running these commands:  { echo foo >&2 | grep foo } >/dev/null   and:  { echo foo >&2 | grep foo } 2>/dev/null   both just print foo once.


I have very basic doubt related to ArrayList Collection class.Consider the following declaration :   ArrayList<Integer> a1 = new ArrayList<Integer>();   Now, I want to know why are we using wrapper class 'Integer' here and why we can't use primitive type 'int'.I assume the answer would be so that we can perform different operations like toString etc. on the object created and to pass reference.Please correct me if I am wrong anywhere.  I executed following code to check how to pass reference but its not working.I mean method modify() should change value at index 0 if we are passing reference.....right? Please let me know what's wrong in below code:  import java.util.*; class ArrayvsLinkedList {  public static void main(String args[])  {   int n = 1000000;   ArrayList<Integer> a1= new ArrayList<Integer>();    for(int i=1;i<=n;i++)    a1.add(i);    System.out.println("Before method called"+a1.get(0));     new ArrayvsLinkedList().modify(a1.get(0));    System.out.println("After method called"+a1.get(0));  }  void modify(Integer x)  {   x=x*5;   System.out.println("Inside method "+x);  }  }

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


In the last 24-48 hours the chat in Chrome on Windows has stopped auto scrolling once it goes off the bottom of the screen.  I tried all the usual fixes after suspecting my cats had hit some key combo breaking things, until a number of other people in Root Access confirmed they were seeing the same thing, with intermittent results (it started working again for some users after they restarted Chrome - this hasn't worked for me).  I'm not seeing the same issue on Linux.

The scrolling in chat in Chrome latest (v36) doesn't work, but works for other people using the same version of Chrome. It simply: never scrolls.  Fix it fix it fix it fix it fix it fix it!


Usually when I send a manuscript to a journal, in about 1 or 2 days, the status changes to "with editor" and after a maximum of 3 weeks the status changes to "with referee". This is the first time that a journal already spent two weeks until now to evaluate the paper for suitability before assigning it to the editor. Is it normal and what is the maximum logical time for me to wait? p.s., my field is physics and the quartile for this journal is Q1 (IF: 3-4).

What steps does a manuscript typically go through from submission to publication (or rejection) in a typical journal? How are these steps referred to, in particular by editorial systems, and how long do they each typically take?  Note that this question is about the typical situation and hence not about:   Journals with an atypical workflow, e.g. those that allow for an instantaneous reviewer–author interaction. Exceptional steps or rare occurrences such as withdrawal or .   This is a canonical question on this topic as per . Due to its nature, it is rather broad and not exemplary for a regular question on this site. Please feel free to improve this question.


Is there way to replace value of symbolic link?  For example I want to replace symbolic link like this:  first -> /home/username/foo/very/long/directories/that/I/do/not/want/to/type/again    to   second -> /home/username/bar/very/long/directories/that/I/do/not/want/to/type/again   I want to change only foo to bar.  Of course I can create a link again, but if it is possible to replace value of the link, it become easier.

My basic understanding of a symlink is as a special file, a file that contains a string path to another file. The kernel's VFS abstracts a lot of that away but is there any reason why symlinks seem to be impossible to edit?  In other words: Can I edit a symlink? If not, why not?    I do understand that there are various ways of replacing symlinks (two alternatives are currently in the answers section) but it would be interesting to get an explanation on why replacement seems to be the only way to deal with symlinks. Why can't you just change where they point?


I downloaded the latest Ubuntu software and installed from flash drive. I enabled update and within software & updates enabled clicked 4 boxes allowing third party software I then downloaded binance application for unix from their website, as it was no where to be found in Ubuntu Software application.  It downloaded as a .rpm package. I would simply like to know how to install this software.  I read I need to install alien and convert from .RPM to Deb format.  Is there another simpler way? The software is in the 'downloads' folder.  When I run the terminal within the same folder and type 'sudo apt install binance' or binance-x86_64-linux.rpm it simply says unable to locate said package. I installed alien and when i try to convert the file it simply says not found I have also ran the synaptics package manager and that too can not find the package even if i rename it and place it on the desktop. Any help would be much appreciated, as I've already spent several hours to no avail.

I have a burning desire to install RPMs onto my Ubuntu installation - is this possible? Can I use Yum - or another RPM Package Management tool?


While reading a popular author I came across:  "I left my clubs at home, so I can't play." "Oh? I didn't know (that) you golf."  This sounds wrong, but presumably it was passed by at least one editor. To me, the past tense "golfed" would be more appropriate.  But if this way works too, what sort of construct is it?

Possible Duplicates:             My wife and I were disagreeing about this today:        Did you know Fred was a doctor?   Did you know Fred is a doctor?      I was arguing for (1) based on what seemed to "sound right."  My wife claimed that, since Fred is currently alive and still practicing medicine, present tense should be used.  However, we agreed that the negation of these sentences uses was:     I didn't know Fred was a doctor.   Here I think everyone would agree that is would sound wrong!  So which is correct between (1) and (2)? And why? Is this some kind of subjunctive?


I'm adding captions for pictures but it shows this error :      \caption outside float. }   My code is like this    \begin{center}     \href{http://m.technologijos.lt/cat/7994/article/S-18917}{         \includegraphics[scale=1]{2}\\         \caption{Pav. 2}     } \end{center}   What is wrong here and what i should fix ?

I’d like to have an environment that works much like a float, except that it doesn’t float.  That is, in fact, I’d like to be able to define an environment that has a label and a caption.  I explicitly do not want to use a floating environment, though. For one thing, floats do many things fancy which I just don’t need, nor want (such as spacing) and for another, floats have their share of problems (for example consider the problem of ).  Is there a ready-made way to achieve this? Of course, I could always write my own based on the result of the other answer, i.e. harnessing \refstepcounter. But I’m not sure how to use that, documentation is scarce, and I’d prefer an existing solution.


I am a little confused about functions in Python, and how they are classified. For one, we have functions like print(), that simply encode some instructions and act on input. But also, we have functions like 'str'.capitalize(), that can only act when they have an "executor" attached to them. This might not be a well-informed question, but what are the differences between these forms, and how are they classified?

Can someone provide a simple explanation of methods vs. functions in OOP context?


I'm an international student and I'm currently studying pure mathematics in undergraduate level with a relatively low GPA (~3.5/4.0). I've recently read so many positive reviews about the universities in Singapore. I checked the "National University of Singapore (NUS)" on the internet for its international ranking and it was ranked 9th in mathematics!  How much do you think the ranking of a university positively affects my future career? For example, one of my dreams is that I can study in some Ivy-league university in the USA or some grand ecole university in France like Paris Sud 11 in the future, but because of my low GPA I'm afraid that that will never happen for me. Do you think that going to the NUS can help me to get accepted into world top universities in the future?

What I'm trying to understand is, to what degree does the status/rank of the University (where one completes his/her Ph.D) matter while shaping his/her career after graduation? I would like to know the weight given to one's school in both the following cases:   While applying for post-docs/faculty positions in academia While applying to industrial research labs   For instance, I've read on some forums (I can't locate the link now) that while considering prospective applications for tenure-track faculty positions, very few Universities accept a candidate who has completed his/her Ph.D from a lower ranked school having a lesser "brand" value, irrespective of the fact whether he/she has published equally original work as his/her counterpart from an Ivy league college. How much truth is in this statement? It would be really great if someone already in academia, either as a newly-accepted faculty or someone on the Faculty Hiring committee could share their experiences/statistics on this regard. I'm simply interested to know the answer, without commenting at all on whether such a practice is justifiable.  Similarly, what about recruitment to internationally acclaimed research labs (like  or ) - what importance do they place on the pedigree of a candidate's college, before taking into consideration what they published ?  I'm personally interested in answers related to the field of Computer Science (theory), but the question is applicable to any prospective grad student in any discipline in my opinion. Feel free to share your personal experiences post-Ph.D in detail, as that would give me (and future viewers of this question) about what its like to carve a career once you are out of school!


Where do I ask this question on Stack Exchange? Here's my question:  I have learned nodes-express-MongoDB and building  APIs using them. Now I want to develop a mobile app for a website that is built in PHP and MySQL. I don't know PHP.  For the mobile app I need a REST API for that website. Can I build it using nodes-express? If so, how do I proceed?

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.


Which of the following sentences is correct/better? And why?   A group of soldiers is called a regiment  A group of soldiers are called a regiment   Please support your answer with a similar example sentence.

Isn't the following sentence grammatically correct?     The group of fifty people are going to arrive Thursday.   What's wrong with it? Someone said it should be      The group of fifty people is going to arrive Thursday.   Why? People is plural so why is people is better than people are?


I have a small motor connected to DC source, and use the ampere meter to survey the current through the motor. While the motor is rotating, I hold the motor by hand so that it stop. I see the current through the motor increases. Could you help me explain this problem?

When a motor, connected to a battery that has a constant voltage, spins without a load it's speed is higher than with load. I'm told that because of back emfs the current is very small when there's no load because of the higher speed. And so when there is a load the back emf is less as the motor spins slower, and so the current is higher.  What is a back emf and what is the relationship between that and the speed of the motor (well the coils inside the motor)?  Is the output energy of the motor constant, whether it has a load or not? (ignoring friction and electrical resistance) because I don't understand how the current can be higher when the motor is (or seems to be) doing more work due to the load?


Find $x$($x$ belongs to $\mathbb{Z}$) from this inequality:  $$-\frac1{28}\leq\frac1{3^n+1}\leq\frac1{28} $$  I tried something,but I think it's wrong..  $$-3^n-1\leq28\leq3^n+1$$  $$-3^n\leq29\leq3^n+2$$

Find $x$ in $\mathbb{Z}$ satisfying this inequality: $$\left | \frac{3^n + 2}{3^n + 1} - 1 \right | \le \frac{1}{28}.$$  I tried something, but I don't think it's correct. $$-\frac{1}{28} \le \frac{3^n + 2}{3^n + 1} - 1 \le \frac{1}{28}$$ I arrived at: $$-3^n - 1 \le 28 \le 3^n + 1.$$ I don't know if it's ok or not.


I don't know how to name this issue. So I decide to share a screenshot. Is it something serious? I am freaking out. Can you guys help me resolve the issue?

My Ubuntu Looks Like This:     Why are the icons showing up as black and white?


I am trying to convert an RGB composite to a shapefile to use with. The raster to polygon function returns with three shapefiles with "grid_code" of the value of each of these three channels. I am wondering if there are easier ways to combine them into one shapefile with a unique value for each color? Or can I do anything to transform the RGB composite raster into one that contains a unique value for each color before the raster to polygon exercise?  Edit: I have a raster of world solar intensity consisting of about 10 colors which indicates the solar intensity categories of pixles. The raster is in RGB composite form. What I want to do is to create a polygon shapefile out of this raster. However the shapefile generated by raster to polygon function of arcgis contains only information on R channel.

I have a 3-band (RGB) raster file from CORINE and the attribute table hasn't been built. When I try to execute the command BuildRasterAttributeTable I get an error that only single band rasters are allowed. What should I do to get the attribute with the land uses?  Error Message:     ERROR 000423 Only single band integer raster dataset is a valid input


In the following code, I want the two columns to start on the same line. It seems like there is a linebreak on the right side. Any ideas how to fix it? I guess this is an easy piece for the CSS-gurus here.  And how to make the right column be 100% in height of the parent div. I tried setting it to 100%, but then the border exceeds the border line of the div.  The code:

Information

Headline

test

test

   Screenshot:

So essentially does margin collapsing occur when you don't set any margin or padding or border to a given div element?


Let $m,n$ be $2$ numbers between $1-100$ . what is the probability that if we select any two random numbers then $5|(7^m+7^n)$ . My attempt last digit should be $5$ or $0$ so $7$ powers follow the pattern $7,9,3,1,7...$ so $m,n$ should be such that if one gives $7$ as last digit other should give $3$ as last digit. Same for $9,1$ . but this will take time and it was asked in a competitive exam with little space for Rough work so i believe there exists a simple logical way. Hope you guys help.

If $m,n$ are chosen from the first hundred natural numbers with replacement, the probability that $7^m+7^n$ is divisible by $5$ is?   $$7^m+7^n=7^m(1+7^{n-m}), n\ge m$$ The above expression is divisible by $5$ only if $n-m=4k+2$. The max value of $k$ is $24$.  So is the number of possibilities $48$? ($24$ for each $n>m$ and $m>n$)


$T/F:$ The automorphism group $\text{Aut} (\mathbb Z/2 \times \mathbb Z/2)$ is abelian.     Keeping the comments for  in mind I would like to present a solution for the above mathematical problem to get it verified.  My answer to the problem is: FALSE  My Reasons: $\mathbb Z_2\oplus\mathbb Z_2\simeq K_4=\{e,a,b,c\}$ where $K_4$ is the Kelin's $4$-group with $e,a,b,c$ having their usual meaning. I would like to show that any bijection from $K_4$ onto $K_4$ which keeps $e$ fixed, is an isomorphism. Let $\phi$ be one such. Then W.L.G. we are to show that,  $$\phi(ab)=\phi(a)\phi(b)$$  Now, $\phi(ab)=\phi(c)$ and $\phi(a)\phi(b)$ is different from $\phi(a),\phi(b)$ and also from $e=\phi(e)$ since $\phi(a)\ne\phi(b).$   All such $\phi$ forms a group $\simeq S_3.$ Thus $\text{Aut } K_4$ is not abelian.

Show $\operatorname{Aut}(C_2 \times C_2)$ is isomorphic to $D_6$ (the group with $x^3=1$, $y^2=1$ and $xy=yx^2$).  I'm not really sure how to express the elements of $\operatorname{Aut}(C_2 \times C_2)$. Would it be sufficient to show the elements of $\operatorname{Aut}(C_2 \times C_2)$, find their order and show they bijectively map to every element of $D_6$ and satisfy $xy=yx^2$?


I read the , but didn't find the answer.  When using the default settings (boxplot(x.ts)), what do the whiskers, boxes, midlines and outliers represent? Does it show quartiles or standard deviations?  Where is this documented?

I have some data in which there are 5 categorical explanatory variables (concern, breath, weath, sleep, act) and 1 continuous response variable (tto). In addition, every categorical explanatory variable is divided into 5 levels which show how strong a person feels about it. level 1 and level 5 show the perfect and worst states respectively.   I was advised to create a box plot to see the relationship between the explanatory variables and the response variable. The plot is given below. However, I do not know how to read a box plot. Can any one please help me interpret it.


With so much money, it is easy for Harry to move out of the house where he is mistreated and live in comfort somewhere else. Even though he is still a boy, it should not be difficult for him to simply pay lots of money to one of his Gryffindor school-mates' parents to put him up at their house. Besides, after becoming a pay-master, he will surely be treated like a king. Why put up with the Dursley's when he can live like a king?   It seems like a no-brainer and easy task for Harry to move out of a home where he is treated with disdain. Why didn't he?

As we know, whenever school ends, Harry is sent back to live with the Dursleys, where he suffers from abuse. He would much prefer to live with the Weasleys, and often visits there before returning to school. It stands to reason that they probably don't live that far from each other, since:   Both Harry and the Weasleys use Platform 9¾ to get to school Ron was able to take Harry to the Burrow in a flying car within a reasonable amount of time   It's heavily hinted at that the Weasleys are poor. However, it's not like Harry would live there permanently. Three months isn't that bad, not to mention he's pretty well-off from his parents' money. There would be little to no extra expense on the Weasleys.  The only explanation is that Dumbledore goes out of his way to ensure Harry lives with the Dursleys. If so, why is this?


I had a world that me and my friend had made. My friend started playing with redstone and command blocks. There is an extremely fast clock that you can make with command blocks. (One command block set a block to air, the other command block setting that same space at redstone block). He then used that clock to power a third command block which spawned an ender dragon. The world is too laggy to do anything. I jiggle the mouse and it comes through about 2 1/2 minutes later.  We were running version 1.10.2 (not snapshot)  I have tried opening the world in version 1.0, before there was redstone and ender dragons. That depended completely on whether the game deleted the "unknown" data. That did not work.  I would really like to have that world saved. I am at a loss as what to do. Thanks in advance.

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


I have 1 node:  struct node     {         int key;         struct node *left, *right;     };   What is the difference between   node  *node1   vs  node*  node1   ?

I've recently decided that I just have to finally learn C/C++, and there is one thing I do not really understand about pointers or more precisely, their definition.  How about these examples:   int* test; int *test; int * test; int* test,test2; int *test,test2; int * test,test2;   Now, to my understanding, the first three cases are all doing the same: Test is not an int, but a pointer to one.  The second set of examples is a bit more tricky. In case 4, both test and test2 will be pointers to an int, whereas in case 5, only test is a pointer, whereas test2 is a "real" int. What about case 6? Same as case 5?


I'd like to have a horizontally and vertically centered cards. I've done it like this.    *{     margin: 0;     padding: 0;              }          .wrapper{         background-color: darkkhaki;         width: 700px;         height: 700px;                   }          .cards{                  display: flex;         justify-content: center;         align-items: center;                                }               .card{         width: 100px;         height: 250px;         background-color: chartreuse;         border: crimson 2px solid;              }

Lorem ipsum

     However, the vertical center doesn't occur (just the horizontal).  The same happens when I try it with the "text" class.  Thank you for your help :)

I am working on a web application where I want the content to fill the height of the entire screen.  The page has a header, which contains a logo, and account information. This could be an arbitrary height. I want the content div to fill the rest of the page to the bottom.  I have a header div and a content div. At the moment I am using a table for the layout like so:  CSS and HTML    #page {     height: 100%; width: 100% }  #tdcontent {     height: 100%; }  #content {     overflow: auto; /* or overflow: hidden; */ }

...

...

     The entire height of the page is filled, and no scrolling is required.  For anything inside the content div, setting top: 0; will put it right underneath the header. Sometimes the content will be a real table, with its height set to 100%. Putting header inside content will not allow this to work.  Is there a way to achieve the same effect without using the table?  Update:  Elements inside the content div will have heights set to percentages as well. So something at 100% inside the div will fill it to the bottom. As will two elements at 50%.  Update 2:  For instance, if the header takes up 20% of the screen's height, a table specified at 50% inside #content would take up 40% of the screen space. So far, wrapping the entire thing in a table is the only thing that works.


I'm currently working on a statistics analysis that has a small study population, n=50. I've segmented the population into two groups and want to perform some t-tests to compare differences between some of the measures we used during data collection.  I know I need to assume unequal variances and Stata gives me two options, Satterthwaite and Welch. My question is, which is more appropriate to use in this situation?

I'm confused as to the correct formula for approximate degrees of freedom to use for Welch's t-test. Satterthwaite's (1946) formula is the most commonly cited formula, but Welch gave an alternative in 1947. I'm not sure which is preferable (or used by most statistical software).  Satterthwaite's formula: $$\frac{\left(s_x^2/n_x +s_y^2/n_y\right)^2}{(s_x^2/n_x )^2/(n_x-1)+(s_y^2/n_y )^2/(n_y-1)}$$  Welch's formula: $$-2+ \frac{\left(s_x^2/n_x +s_y^2/n_y\right)^2}{(s_x^2/n_x )^2/(n_x+1)+(s_y^2/n_y )^2/(n_y+1)}$$  References:   Satterthwaite, F.E. (1946). "An Approximate Distribution of Estimates of Variance Components". Biometrics Bulletin, 2, 6, pp. 110–114.  Welch, B.L. (1947). "The generalization of "Student's" problem when several different population variances are involved". Biometrika, 34, 1/2, pp. 28–35.


The OS is Windows 8 Pro.  In an attempt to block another user I just created, I removed access for myself from an entire partition.  Now, there is no option of assigning access to myself again and I can't call myself a pro in this regard, so I'm basically locked out of my own partition.  I have access to the admin account on the computer, which is basically my main account. What am I supposed to do? I am pretty sure there is a simple way out since I am the admin, but I can't find it.

I'm hoping the answer is yes.  Due to my ignorance, I denied the 'Everyone' group all read access from one of my folders containing needed information because I did not want people on my network being able to view my data.  I didn't realize that I could not remove myself from the everyone group, and therefore I can no longer view the data/files in the folder.  I can view all other information on the c:\ drive and such, just not this folder.  Is there anyway to remove the denied rights from the 'Everyone' group on this folder?  My account is an administrator, however from the GUI it will not let me edit security information on the folder when I right-click it and go to the security tab.  Windows OS : Vista


I created android application which use DataBase. So I have such a method which  fills up the database.  private  void Add(String Name,String Descrition)     {         try         {             SQLiteDatabase db = this.getWritableDatabase();             db.execSQL("Insert into Tablename (Name,Description) "                     + "values ('" + Name + "' ,'" + Description "));           }         catch (Exception ex)         {         }     }   When my application is running on the device for the first time, application fill up database by calling this method many times. My application use many a lot of data, so first launch of the application takes a long time. So I have one questions.  Is the possible create database file and next attach to application??  As a result, application would have to be filling up the database for the first time. How do it ??

If your application requires a database and it comes with built in data, what is the best way to ship that application? Should I:   Precreate the SQLite database and include it in the .apk? Include the SQL commands with the application and have it create the database and insert the data on first use?   The drawbacks I see are:   Possible SQLite version mismatches might cause problems and I currently don't know where the database should go and how to access it. It may take a really long time to create and populate the database on the device.   Any suggestions? Pointers to the documentation regarding any issues would be greatly appreciated.


i want to set static IP for my eth0 adapter it is set to DHCP right now and i want to set it to static using bash script the IP should be same which its currently have or it picks from dhcp.

I want to set static IP using bash script what I would to achieve I want to set the same IP to static which is come from DHCP, for example, my eth0 set to DHCP and it picks IP 51.89.84.82 for eth1 it pick 10.0.0.1 I want to set the same IP to static how can I achieve this in centos7. 1 ) find interface name and its ip , subnet mask , gateway. 2 ) loop each interface and set the same ip , subnet and gateway.


I bought my Nexus 4 from Google a while ago with 4.2.2 on it. It's using the stock rom, but it is rooted and has an unlocked bootloader.  When I try to install the OTA 4.3 update, the phone reboots and goes into Teamwin Recovery.  Then it looks like it tries to install it and then goes to the normal Teamwin recovery screen where I have to select Reboot > System to get back into the OS. And when I go back into the OS it's still 4.2.2.  What should I do? I think my best option is to manually install the update, but I don't know where it got downloaded to.

I'm running Android 4.2.2 on my Nexus 4. It is rooted, and I have ClockworkMod recovery installed, but rom and kernel are stock. I received the OTA update to 4.3, and would like to install it, but it failed. (With a message that CWM couldn't verify a signature. I remember that the previous OTA worked, and I think I had to re-root, but that was easy.)  How can I get the stock 4.3 update on my phone, while keeping root and CWM, and especially keeping all my data? Step-by-step instructions would be great.  Also, I'm curious, what is the technical reason that the update doesn't install?    Update: I found some , however they didn't work for me. I get the following error from CWM while applying update.zip:  Installing: /sdcard/0/update.zip Finding update package... Opening update package... Installing update...  Warning no file_contextsVerifying current system...  assert failed: apply_patch_check("/system/bin/app_process", "76c3a9a7a6d400a9ff3e4db391327daa33aa0663", "2a221441bf06f2618aa6c35ae0cade13bd4f6e1b") E:Error in /sdcard/0/update.zip (Status 7) Installation aborted.   Update 2: I forgot that I tried out Xposed some time ago. Apparently this modified /system/bin/app_process. I removed it by starting Xposed Installer, and then selecting "Uninstall (restore app_process)" and (probably not neccessary), "Clean up (complete removal of the framework)". I did one complete reboot, and then rebooted into recovery mode to continue the update. But now it hangs because "build.prop" is modified (don't remember changing that). I wonder if there is a way to just flash the new OS files (not patches), overwriting any modifications, but keeping all settings and user files...


I have the following assembly line which I want to understand:  TEST DL,DL JE SHORT 6C250EDF   So, in DL we have the character 'C'. Actually, the value 43 which is ANSCII code for 43. I know that TEST is like AND, but in TEST we don´t store the result.  But ollydbg says that the jump is not taken. How that can be? 43 AND 43 is equal, right ? so, why not jump?  my second question would be: How can i translate that in C code ?

I am trying to understand some assembly.  The assembly as follows, I am interested in the testl line:  000319df  8b4508        movl   0x08(%ebp), %eax   000319e2  8b4004        movl   0x04(%eax), %eax   000319e5  85c0          testl  %eax, %eax   000319e7  7407          je     0x000319f0     I am trying to understand that point of testl between %eax and %eax? I think the specifics of what this code isn't important, I am just trying to understand the test with itself - wouldn't the value always be true?


I recently gave my external HDD away to a Windows user and now I can't write anything to it nor read files on it, but it still shows folders and filenames in the file manager. I think he did not unmount the drive. I would just format it, but I want to keep the Data and I can't copy anything from it. What should I do?

MY NTFS Partition has gotten corrupt somehow (it's a relic from the days when I had Windows installed).     I'm putting the debug output of fdisk and blkid .  At the same time, any OS is unable to mount my root partition, which is located next to my NTFS partition. I'm not sure if this has anything to do with it, though. I get the following error while trying to mount my root partition (sda5)  mount: wrong fs type, bad option, bad superblock on /dev/sda5,        missing codepage or helper program, or other error        In some cases useful info is found in syslog - try        dmesg | tail  or so  ubuntu@ubuntu:~$ dmesg | tail [ 1019.726530] Descriptor sense data with sense descriptors (in hex): [ 1019.726533]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00  [ 1019.726551]         1a 3e ed 92  [ 1019.726558] sd 0:0:0:0: [sda]  Add. Sense: Unrecovered read error - auto reallocate failed [ 1019.726568] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 1a 3e ed 40 00 01 00 00 [ 1019.726584] end_request: I/O error, dev sda, sector 440331666 [ 1019.726602] JBD: Failed to read block at offset 462 [ 1019.726609] ata1: EH complete [ 1019.726612] JBD: recovery failed [ 1019.726617] EXT4-fs (sda5): error loading journal   When I open gparted (using live CD), I get an exclamation next to my NTFS drive which states   Is there a way to run chkdsk without using windows ?  My attempt to run fsck results in the following :  ubuntu@ubuntu:~$ sudo fsck /dev/sda fsck from util-linux-ng 2.17.2 e2fsck 1.41.14 (22-Dec-2010) fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/sda  The superblock could not be read or does not describe a correct ext2 filesystem.  If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:     e2fsck -b 8193 <device>   Update: I was able to fix the NTFS partition running chkdsk off Hiren's BootCD, but it seems that the superblock problem still remains.  Update 2: Fixed superblock issue using e2fsck -c /dev/sda5


I'm looking to find help on why Chrome is giving me this weird screen. Whenever I open a new tab it doesn't show the familiar Chrome apps, with the option to view tabs open on other devices in the bottom right. This started happening about a couple weeks ago. I have uninstalled Chrome and it comes back when I re-install it.  Anyone have any ideas?

I don’t like the behavior of the new tab page in Google Chrome 29+. How can I restore the old behavior?  The new tab page (if you have Google set as the default search engine) now shows the Google logo (or, apparently, the doodle of the day if there is one), a search box, and a few recently visited websites. It also added an Apps button to my favorites bar, seemingly the only way to access my apps page, which has easy access to things I use regularly (Calendar, Gmail, Docs, G+, Facebook, Feedly, Google News, Netflix, Play Music, Pandora, Drive, Keep, etc.) I don’t like this behavior. I actually don’t mind having the logo of the day and search box, but I want my apps linked to on my new tab page.  Is there any way to get the old behavior back? I checked the settings and it doesn’t seem like it’s possible to set chrome://apps to be the new tab page (which would restore the old behavior) or to configure the new new tab page to display apps instead of recently visited sites.


here is my whole code fro the txtProductQuantity_TextChange:  protected void txtProductQuantity_TextChanged(object sender, EventArgs e)     {         TextBox txtQuantity = (sender as TextBox);          //int tempForTryParse = 0;         //if (!int.TryParse(txtQuantity.Text, out tempForTryParse))         //{         //    txtQuantity.Text = txtQuantity.Text.Substring(0, txtQuantity.Text.Length - 1);         //}          DataListItem currentItem = (sender as TextBox).NamingContainer as DataListItem; // getting current item on where user wants to add or remove         HiddenField ProductID = currentItem.FindControl("hfProductID") as HiddenField;         Label lblAvailableStock = currentItem.FindControl("lblAvailableStock") as Label;          int tempInt = 0;         if (txtQuantity.Text == string.Empty || txtQuantity.Text == "0" || txtQuantity.Text == "1" || double.Parse(txtQuantity.Text) < 0 || !int.TryParse(txtQuantity.Text, out tempInt))         {             txtQuantity.Text = "1"; //default value is 1, no action          }         else         {             if (Session["MyCart"] != null) // not null means user has added a product in the shopping cart             {                 if (Convert.ToInt32(txtQuantity.Text) <= Convert.ToInt32(lblAvailableStock.Text)) // check if quantity is greater than available stock                 {                     DataTable dt = (DataTable)Session["MyCart"]; // if quantity is less than the available stock, go inside the code                      DataRow[] rows = dt.Select("ProductID = '" + ProductID.Value + "'"); // select specific row depending on the product id                      int index = dt.Rows.IndexOf(rows[0]);                      dt.Rows[index]["ProductQuantity"] = txtQuantity.Text; // putting the value in the txtQuantityTextbox. changing the product quantity in the data table                      Session["MyCart"] = dt; // add updated value to datatable                 }                 else // error if quntity is greater than available stock                 {                     lblAvailableStockAlert.Text = " Alert: product buyout should not be more than the available stock!";                     txtQuantity.Text = "1"; // automatically change the quantity back to 1.                 }              }         }         UpdateTotalBill();     }   what i want to happen is to avoid letters being an input from the user. or something like it will be defaulted to "1" if they do.

I have a windows forms app with a textbox control that I want to only accept integer values. In the past I've done this kind of validation by overloading the KeyPress event and just removing characters which didn't fit the specification. I've looked at the MaskedTextBox control but I'd like a more general solution that could work with perhaps a regular expression, or depend on the values of other controls.  Ideally this would behave such that pressing a non numeric character would either produce no result or immediately provide the user with feedback about the invalid character.


When I start Ubuntu some software automatically starts with Ubuntu startup, for example Teamviewer. I don't want to start any software during startup except Ubuntu community software. Can Ubuntu have any startup manager software to optimize startup? Also how can I manage manually Ubuntu startup processes?

How do I manage (add/remove) all the startup applications in Ubuntu 11.10 and up?  Startup Applications doesn't show all the applications which are started during boot.


I have a Schengen D visa valid for 1 year with possibility to stay 183 days. Can I enter other Schengen countries after using 183 days allowed by national visa but before the expiration of the visa.

I am an Australian currently on a Netherlands working holiday visa that ends in May next year. I would like to know if when my visa ends I then get another 90 days just as a regular tourist visa as I would like to do some more travel within Europe when my visa ends before going home to Australia.


Yes, I know this has been brought up alot. Yes, I know the answer will probably be something stupid and simple that I missed.  public char [] [] board;   public Gameboard(boolean setup){      for(int i = 0; i < 7; i++){       for(int j = 0; j < 7; j++){         board[j][i] = '-';       }     }   I am initializing a blank game board, (8x8). The dash marks represent blank spaces, and I am initializing the whole board, and plan to add pieces later.   This is the error.  java.lang.NullPointerException     at Gameboard.<init>(Gameboard.java:9)     at Student_Runner_Gameboard.main(Student_Runner_Gameboard.java:4)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at edu.rice.cs.drjava.model.compiler.JavacCompiler.runCommand(JavacCompiler.java:267)   Thanks for any help in advance.

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?


If $x>y>0$ why is $\sqrt{x} > \sqrt {y}$?   I know this to be true, but I don't understand why because can't the square root of $x$ be negative and the square root of $y$ be positive thus disproving it?

I am stuck on this homework problem!  Prove that if $x$ and $y$ are real numbers such that $0<x<y$ , then $\sqrt{x}<\sqrt{y}$.  This is in a chapter involving the least upper bound axiom and the Archimedean Principle, but I cannot figure how to use either of those to prove this!  Any help would be most appreciated!  Thanks


Could someone recommend a link or help me out here: where can I find the formula for the regression without an intercept, and how is it deriveed differently than the formula with the intercept? (matrix form)

In An Introduction to Statistical Learning (James et al.), in section 3.7 exercise 5, it states that the formula for $\hat{\beta}_1$ assuming linear regression without an intercept is  $$\hat{\beta}_1 = \dfrac{\displaystyle\sum\limits_{i=1}^{n}x_iy_i}{\displaystyle \sum\limits_{i=1}^{n}x_i^2}\text{,}$$ where $\hat{\beta}_0 = \bar{y}-\hat{\beta}_1\bar{x}$ and $\hat{\beta}_1 = \dfrac{\displaystyle S_{xy}}{S_{xx}}$ are the usual estimates under OLS for simple linear regression ($S_{xy} = \displaystyle\sum\limits_{i=1}^{n}(x_i - \bar{x})(y_i - \bar{y})$).  This is not the actual exercise; I am merely wondering how to derive the equation. Without using matrix algebra, how do I derive it?   My attempt: with $\hat{\beta}_0 = 0$, we have $\hat{\beta}_1 = \dfrac{\bar{y}}{\bar{x}} = \dfrac{S_{xy}}{S_{xx}}$.  After some algebra, it can be shown that $\displaystyle S_{xy} = \sum\limits_{i=1}^{n}x_i^2 - n\bar{x}\bar{y}$ and $\displaystyle S_{xx} = \sum\limits_{i=1}^{n}x_i^2 - n\bar{x}^2$. From here, I'm stuck.


In this sentence :     It was a dream come true .   What's the grammatical rule used here ?  Is this sentence structure common ? If so , could you please give me an example ?

The sentence is:     This is not some science fiction movie come to life.    Is this sentence grammatically right? If this sentence is right, please tell me what the grammatical rule about the word come is, why does it use form come rather than the others like to come.  Thanks in advance!


All that I can remember is a prison who's entrance was a huge, gaping (fanged?) mouth.  The hero (who was incognito, and really .. not sure, maybe the heir to the throne?) was thrown down a hole into a large cavern with other prisoners.  There was a (supposedly) bottomless pit in the centre, and one of the prisoners had fashioned a lasso from the skin/entrails of dead prisoners.  Eventually, the hero manages to get hold of it & use it climb down the pit to escape.  Not much to go on, sorry. It sci-fi, or at least not an elves & pixies story. Any idea?

The basic beginning premise is that a young man, who I think was trained in swordsmanship, finds a magical artifact capable of absorbing energy/magic at the cost of his life/vitality. He's able to extend this ability to his weapons. The setting is high fantasy, and the big bad is someone trying to collect all the artifacts,  which I believe were all based after the main elements. I think the cover had a medallion on it.


I want to pass variable values in the rule expression . Someone any way ? like is :  var a = 'khuya'; var regex = /{a}/;

I would like to create a String.replaceAll() method in JavaScript and I'm thinking that using a regex would be most terse way to do it.  However, I can't figure out how to pass a variable in to a regex.  I can do this already which will replace all the instances of "B" with "A".  "ABABAB".replace(/B/g, "A");   But I want to do something like this:  String.prototype.replaceAll = function(replaceThis, withThis) {     this.replace(/replaceThis/g, withThis); };   But obviously this will only replace the text "replaceThis"...so how do I pass this variable in to my regex string?


I'm a student often doing kinematics word problems with objects moving at X km/h, Y m/s, or Z cm/s. Yet, I have no idea what these units look like in real life. Out of curiosity, I'm searching for a visualisation tool that lets me see how objects move at different speeds. I'm hoping to find something like an animated car, ball, etc. with a slider that lets me adjust the speed it moves at. But real-life videos of real-life objects moving at different speeds would also work. I also think that intuition is helpful when understanding the context of word problems + the answers you get. Does anyone know of any such tools? I appreciate your help!  This is what I've looked at so far:   that change video clip speeds to show cars moving at different speeds (though this is only for LARGE speeds in km/h.  that visualise the speed of light.  that visualise rotation per minute speeds.

I'm wondering if there exists any utility on the web which displays $x$-$t$, $v$-$t$, and $a$-$t$ graphs for, say, a number of well considered example animations. The utility should allow pausing, rewinding, replaying, and 'stepping' through the animation. When playing the animation, it should 'highlight' the current time on the d,v, and a graphs.  Etc etc. I'm sure you have an idea what I'm after - searches online have mostly led me to lectures and lessons explaining the relationship between the three graphs.


I need to add SSL to a Apache/Linux sever.  Do I have to generate CSR from the same server which I need to add SSL?   Also when I add SSL in Apache sever, can I omit mentioning key file like below?  <VirtualHost *:443>     ServerName www.example.com     SSLEngine on     SSLCertificateFile /path/to/www.example.com.cert     SSLCertificateChainFile /path/to/DigiCertCA.crt </VirtualHost>

Is it necessary to generate the CSR (Certificate Signing Request) on the same machine that will host my web application and SSL certificate?  This  says so, but I'm not sure if that's true, because it would mean I'd have to buy a separate SSL certificate for each server in my cluster.     What is a CSR? A CSR or Certificate Signing request is a block of   encrypted text that is generated on the server that the certificate   will be used on.


Determine all triples $(a,b,c)$ of positive integers such that each of the numbers $$ab-c, \quad bc-a, \quad ca-b$$ is a power of $2$.   (A power of $2$ is an integer of the form $2^n$, where $n$ is a non-negative integer.)  --  So far I only figured out that if either two of $a,b,c$ is the same value, there are only 2 triples: $(2,2,2)$ and $(2,2,3)$.  But for $a\ne b\ne c\ne a$, I'm a bit lost as how to proceed. By trial and error there's a triple $(3,5,7)$ but how to get the complete triples?  Could someone pls gimme some hint?

This is a 2015 IMO problem.  It seems difficult to solve.     Find all triples of positive integers $(a, b, c)$ such that each of the numbers $ab-c$, $bc-a$, and $ca-b$ is a power of $2$.   Four such triples are $(a,b,c)=(2,2,2),(2,3,2),(3,5,7),(2,6,11)$.


I remember last year there was a possibility to see my hats even after the winter-bash has ended. I would like to see them again. How can I see the hats I earned in winter bashes 2013 and 2014?  PS: not a duplicate of that question, I don't want to see my performance/rankings, I want to see the hats I earned. And it WAS possible shortly after the winter-bash ended, so it's likely to still be possible now.

Is there a way to see my previous performances with respect to winter-bash? May be something like leagues for winter-bash? I understand that hats are different each year, but at least it would be nice to see the number of hats collected.


Did I see "a opossum" or "an opossum"?  It's pronounced "possum" (at least insofar as my experience) but looks really awkward written "a opossum".  That is all.

In the following example, is it appropriate to use a or an as the indefinite article, and why?     He ate __ green apple.   I know that in the case of just "apple", it would be "an apple," but I've heard conflicting answers for "green apple," where the noun is separated from the article by an adjective.  Also, which is more appropriate in this case:     He ate  __ enormous Pop-Tart.


In General Relativity course we saw that under specific coordinate transformation, we can express Friedman metric for hyperbolic universe ($k=-1$) with cosmological constant ($\Lambda$), with a new set of 5 coordinates, making the original metric a 5 dimentional Minkowski metric instead of curved 4 dimensional Friedman metric. (Known as De Sitter space) My question is: Is there is general theorem that under wise coordinate transformation to higher dimensions, we can make any curved metric to be Minkowskian?

If you draw a big triangle in Earth 2D surface you will have an approximated spherical triangle, this will be a non euclidean geometry.  but from a 3D perspective, for example the same triangle from space, it could be depicted as euclidean in 3D.  Then why we talk about non-Euclidean instead of adding 1 dimension?  It is easier the non-Euclidean approach? I don't see how!  Sorry if the question is perhaps naive, but this is a long time doubt for me, so I will be grateful for an answer.


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

I recently had to take almost a year long break from photography. Not sure how much I've missed, may be a few new equipment releases or some new technologies. However, I think I am willing and ready to get active in photography again but since I've been inactive for quite a while I am struggling with it. The local communities have all new faces and I don't think at this stage I can restart from zero. I bought a new lens hoping it'll kick me active, but nope!  I know this sounds too stupid, but may be someone out there has been in my shoes and can share his experience with me?


I'm having problem to install the Ubuntu, I have a video card R9 290x MSI. When I boot from USB, it shows all the choices, "Try Ubuntu, Install Ubuntu, Check disk", but when I choose one of this, the screen got black, and don't show anything at the screen. I tried to install in a VM, and works very well. I really don't know what is happening when I try to install Ubuntu.

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


I want to build what is essentially a banner - a rectangular piece of fabric that will be mounted to a stand and displayed vertically. This object will be outdoors, so the most important factor in it staying upright is that it be able to withstand wind load.  I know how to calculate wind load on an object, and I understand that the force of that wind load can be considered to act on the center of mass of the banner, but I'm not sure how to figure the size or weight of the base into the system to determine whether the object will fall over under the wind load.  For example, if I were to make a banner 3 feet wide and 6 feet tall, With a base also 3 feet wide, and 3 feet deep, how much would the base need to weigh to withstand a 30 mph gust of wind?  (Of course, the ideal answer would show me how to calculate this for myself, to try different scenarios)

Or said another way - how much counterweight does the base of a sign need to keep it from tipping over given a specific max wind?   Assume the sign does not let wind through Assume the base of the sign cannot slide on the ground Assume the sign does not flex in the wind Assume total weight of the sign + base is 125 lbs (base is 96 lbs)   Are there any other parameters needed?  The sign has the design and measurements below:   Edit: This would probably be helpful: Width of sign is 8' so the sign is 9' high x 8' wide.


Is there a way to create vertical lift using magnets which are aligned with same facing polarity?

When you put identical donut magnets on a pencil horizontally, the magnets all repel from each other in a way that creates equal spacing between each magnet. However, spacing is not equal when the pencil is held vertically and spacing increases from the bottom up so it looks like this:     I think that the weight of each magnet has something to do with this, but I cannot figure out exactly why. Help?


How to find count of repeated  country names and also display different country names using  single sql query?  I have table Source_country_Table  INDIA SPAIN JAPAN INDIA US UK US SPAIN JAPAN INDIA

What's the simplest SQL statement that will return the duplicate values for a given column and the count of their occurrences in an Oracle database table?  For example: I have a JOBS table with the column JOB_NUMBER.  How can I find out if I have any duplicate JOB_NUMBERs, and how many times they're duplicated?


I have it set so the user enters a max input and then the program figures out which numbers are prime and then prints it all to a file. But at the moment it only prints the closest prime number to the upper input. I need it to print 20 random numbers and put them on a file. Also with print (num) 20 times it can print 20 different outputs, but if I add print (num) 20 times it prints the same number 20 times  import random #Always start at 2 lower = 2 #Take input from the user upper = int(input("Enter maximum size for prime number to be: ")) for num in range(lower,upper + 1):   if num > 1:     #Prime numbers are greater than 1     for i in range(2,num):         if (num % i) == 0:             break         #End program if number is 0         #Print results     else:         randomprimes =(num)         primes =(random.choice(randomprimes))         import sys         former, sys.stdout = sys.stdout, open('Prime Number Generator Output.txt', 'w')         print (primes)         results, sys.stdout = sys.stdout, former         results.close()

Assume I have the following list:  foo = ['a', 'b', 'c', 'd', 'e']   What is the simplest way to retrieve an item at random from this list?


I would like to know where the dot product and the cross product came from.  Why they exist, why they are in the way they are?  $A\times B \\A\cdot B$  Thank you

Most questions usually just relate to what these can be used for, that's fairly obvious to me since I've been programming 3D games/simulations for a while, but I've never really understood the inner workings of them... I could get the cross product equation as a determinant of a carefully-constructed matrix,   but what I want to ask is... How did the dot and cross product come to be? When were they "invented"? Some detailed proofs? Did someone say: "Hey, wouldn't it be nice if we could construct a way to calculate a vector that is perpendicular to two given operands?"  Basically, how/why do they work?  I would appreciate explanations, links to other explanations, other web resources... I've been searching the Internet lately for explanations, but most of them are on how to use it and nothing that really gives substance to it.


I'm trying to model a coffee cup and then when I connected the grip to the main cup this happened.

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


Consider the quotient ring $R=\mathbb{Q}[x]/\langle x^4-1\rangle$. Prove or disprove the following: $R$ is isomorphic to a product of fields.   I'm new to learning algebra, but usually in questions regarding quotients of groups or rings, a standard technique is to consider the ideal in question (or subgroup) and demonstrate it to be the kernel of some surjective homomorphism, and then applying the First Isomorphism Theorem. In the context of rings of polynomials, I have often found useful to use evaluation homomorphisms, but I am stuck here.  One more fact I know is that if $p(x) \in F[x]$, where $F$ is a field, and we have that $p(x)$ has a root lying outside the field, say $\alpha$, then $F(\alpha) \approx F[x]/\langle p(x) \rangle$, where $F(a)$ is the field obtained by adjoining $\alpha$ to $F$. I don't know how this fact is helpful here. The roots of the given polynomial are ${1, -1, i, -i} \in \mathbb{C}$.

How can we determine the number of factors by CRT?  For example,   $$\frac{\mathbb{Z}_5[X]}{X^2+1}\cong \frac{\mathbb{Z}_5[X]}{X+2}\times \frac{\mathbb{Z}_5[X]}{X+3},$$ so $\frac{\mathbb{Z}_5[X]}{X^2+1}$ is factored into two.  So in general, given a ring $R=\mathbb{Z}_p[X]/F(X)$ where $F(X)$ is of degree $d$, how many factors can we obtain for $R$?  And why it holds?


My answer is coming to as {k; k belongs to set of natural numbers} is my answer correct ?

So far, I have:   Let $S_k = \{ K + \frac{1}{n}: n \in N \} \ \forall K$.   Example:  $S_0 =\{ \frac{1}{n} : n \in N \} $ where there is only one accumlation point.   Are there other examples that of a set that has the set of natural numbers as the set of accumulation points?


I have a group of friends that all have read the books (not so solid on the show though), and one of them brought up that Ned (Eddard) Stark was one of the best swordsmen in Westeros.   At the time, he couldn't remember what the evidence to back this claim up was, just that he had "read it on the internet somewhere". Though Ned holds a special place in my heart, and I would love to believe that this is true, is there any real evidence in the books/show that support the claim of his swordsmanship?   Note: after him saying this and with it in mind, you can see that in the episode of "Game of Thrones" where the Lannisters apprehend Ned that he holds his own against Jaime for a short time before being stabbed, and during which time Jaime had a look on his face that seemed to acknowledge his opponents skill and enjoy the challenge. This, of course, it not enough to support/debunk the claim, but I thought it an interesting place to start.

Inspired by this question (), the OP mentions Ned in a way that he thinks Ned is a great swordsman. I don't recall anything from the books or show that indicate anything at all about his swordsmanship, he's usually talked about it terms of his honor, or skill as a commander.  Aside from vague "we were great once, Ned" comments from Robert (and weren't we all great in our youth? :) ), what evidence do we have that Ned was notable as a swordsman?


I was previously using Windows 8 but switched to Ubuntu. Since then I wanted to switch back to Windows 10 so I created a bootable usb and when I went to do the windows configuration I deleted all of the partitions and then my laptop shut off because the battery was dead.   Now when I turn on my laptop it says   error:no such partition entering rescue mode... grub rescue>   and I cannot boot off of the USB. Does anybody know how to fix this?

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


Prove that $5^{2n+1}2^{n+2}+3^{n+2}2^{2n+1}=19k$ for all $n$ natural numbers. I have tried writing 19 as a sum of two numbers and then proving that the LHS is a sum of the form $Ax+By=(A+B)k$but I couldn't manage to set $x=y=k$.

Prove that the expression    $$5^{2n+1} * 2^{n+2} + 3^{n+2} * 2^{2n+1}$$   is divisible by $19$.   I'll skip the basis step (as I have done last time) but I can conclude that it's only divisible by 19 for integers n ≥ 0 (or whole numbers).  II.  Assume that  $$5^{2k+1} * 2^{k+2} + 3^{k+2} * 2^{2k+1}$$ is divisible by 19. Then, $$5^{2k+3} * 2^{k+3} + 3^{k+3} * 2^{2k+3}$$ is divisible by 19.   Now this is where I get lost, I try to "dismember" the expression to get  $$5^{2k}* 5^3 * 2^k * 2^3 + 3^k * 3^3 * 2^{2k} * 2^3$$  I also try to get it similar to to the assumption to make use of the said assumption yielding $$5^{2k}* 5 * 5^2 * 2^k * 2^2 * 2 + 3^k * 3^2 * 3 * 2^{2k} * 2 * 2^2$$ $$5^{2k+1} * 5^2 * 2^{k+2} * 2 + 3^{k+2} * 3 * 2^{2k+1} * 2^2$$ $$5^{2k+1} * 25 * 2^{k+2} * 2 + 3^{k+2} * 3 * 2^{2k+1} * 2^2$$ $$50 * 5^{2k+1} * 2^{k+2} + 12 * 3^{k+2} * 2^{2k+1}$$ And this is where I get lost.. : (  Am I missing out something? Had I done it wrong? The number 19 is prime which makes it hard to handle for me. Thanks!  EDIT : After some pondering, I answered it this way : $$50 * 5^{2k+1} * 2^{k+2} + 12 * 3^{k+2} * 2^{2k+1}$$ I realized that 50 can be written as 38 + 12 (and 38 is a multiple of 19) Hence, $$ 38 + 12 * 5^{2k+1} * 2^{k+2} + 12 * 3^{k+2} * 2^{2k+1} $$ Factoring out 12, I get : $$ 38 + 12(5^{2k+1} * 2^{k+2} + 3^{k+2} * 2^{2k+1}) $$ 38 is divisible by 19 and the long expression is divisible by 19 (per the assumption) and qed. Is this correct ?


I want to store a bundle which is received in a Activity (say Activity1) before the next activity (Activity2) is called and retrieve the same bundle when I came back to same Activity (to Activity1). How do I do that ?

I've been working on the Android SDK platform, and it is a little unclear how to save an application's state. So given this minor re-tooling of the 'Hello, Android' example:  package com.android.hello;  import android.app.Activity; import android.os.Bundle; import android.widget.TextView;  public class HelloAndroid extends Activity {    private TextView mTextView = null;    /** Called when the activity is first created. */   @Override   public void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);      mTextView = new TextView(this);      if (savedInstanceState == null) {        mTextView.setText("Welcome to HelloAndroid!");     } else {        mTextView.setText("Welcome back.");     }      setContentView(mTextView);   } }   I thought it would be enough for the simplest case, but it always responds with the first message, no matter how I navigate away from the app.  I'm sure the solution is as simple as overriding onPause or something like that, but I've been poking away in the documentation for 30 minutes or so and haven't found anything obvious.


I have a small SSD and I want to reclain the space currently used by the hiberfil.sys (~4GB) by disabling hybernation or perhaps preferably, move it to an HDD.  I see under "power Options" that "Sleep/Hibernate After" is set to "Never", yet I have this 4 GB hiberfil.sys file.  I don't see any other options pertaining to Hybernation.  how do I remove this file and keep it from coming  back or relocate it to another drive, an HDD where I would not mind the frivelous writes to take place.

Ok, so I know what hiberfil.sys is, and I want to use hibernation on my laptop.  But I have another hard drive active in my laptop, it's taken from my old one... and I want to get rid of the hiberfil.sys on that drive. But even with admin privileges I can't delete it.  Any ideas?


I want to save the profile picture, and I want to know what is the best option.  -Saving the path in the DB and load the image according to his location.  -Save the whole image.  I'm using EntityFrameWork and SQL server Database

So I'm using an app that stores images heavily in the DB. What's your outlook on this? I'm more of a type to store the location in the filesystem, than store it directly in the DB.  What do you think are the pros/cons?


I accidentally unplug the power line of my laptop, which seems cause some bad sectors on my hard drive. The partitions of that hard drive are all in ntfs format, is there a tool or a way to repair it under Ubuntu?

MY NTFS Partition has gotten corrupt somehow (it's a relic from the days when I had Windows installed).     I'm putting the debug output of fdisk and blkid .  At the same time, any OS is unable to mount my root partition, which is located next to my NTFS partition. I'm not sure if this has anything to do with it, though. I get the following error while trying to mount my root partition (sda5)  mount: wrong fs type, bad option, bad superblock on /dev/sda5,        missing codepage or helper program, or other error        In some cases useful info is found in syslog - try        dmesg | tail  or so  ubuntu@ubuntu:~$ dmesg | tail [ 1019.726530] Descriptor sense data with sense descriptors (in hex): [ 1019.726533]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00  [ 1019.726551]         1a 3e ed 92  [ 1019.726558] sd 0:0:0:0: [sda]  Add. Sense: Unrecovered read error - auto reallocate failed [ 1019.726568] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 1a 3e ed 40 00 01 00 00 [ 1019.726584] end_request: I/O error, dev sda, sector 440331666 [ 1019.726602] JBD: Failed to read block at offset 462 [ 1019.726609] ata1: EH complete [ 1019.726612] JBD: recovery failed [ 1019.726617] EXT4-fs (sda5): error loading journal   When I open gparted (using live CD), I get an exclamation next to my NTFS drive which states   Is there a way to run chkdsk without using windows ?  My attempt to run fsck results in the following :  ubuntu@ubuntu:~$ sudo fsck /dev/sda fsck from util-linux-ng 2.17.2 e2fsck 1.41.14 (22-Dec-2010) fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/sda  The superblock could not be read or does not describe a correct ext2 filesystem.  If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:     e2fsck -b 8193 <device>   Update: I was able to fix the NTFS partition running chkdsk off Hiren's BootCD, but it seems that the superblock problem still remains.  Update 2: Fixed superblock issue using e2fsck -c /dev/sda5


I have made a real mess of things. Each time I try to close one "viewport" or whatever they are called, another one is created, and now my entire screen is a MESS. I just want the original window configuration back, with Tools, Outline, and main window. Right now, I can't even access User Prefs, to see if that's how to do it because there's some kind of "wrench" over it, and it cannot be opened. Help?

I accidentally opened too many menus (or windows) and I want to reset them to default.  It is really annoying, and effecting my animation.  Thanks


I've been a SO member for awhile now and have amassed quite a few questions I have favourited for future reference. It would be nice if I could organise them in a manner other than the simple options available at present.  Possibly organising by tag or by some user defined criteria would be good.

I'm a big fan of the favorites feature. I usually mark questions with good answers of code snippets for later use.  Most of the time I can't find the favorite I'm looking for so quickly as desired. I know I marked the question in Stack Overflow, but it takes time to find it again, because of the following reasons:   lot of favorites lot of answers for a question (last time I was looking for an answer in the question ) the question title is not always what I'm looking for   To make favorites more useful I suggest the following features to be added:   Allow to mark an answer as favorite Allow to tag questions with own tags (those tags are personal and can not be seen by others) Search function over favorites Allow to add a personal note to a question


Something that has been on my mind for quite a while now and has sprouted lots of thought, is whether we can create a machine to put into space, far away from the earth, and use it to see back in time. I'll explain this a little more:  Say that a VERY large telescope, able to magnify images at extremely extensive magnifications, were to be sent out into space and placed in orbit around the earth about ten light years away; and used for the purpose of, starting from the time that it reaches its destination, seeing the light coming from the earth, which would have been from ten years earlier as the light is still travelling and is only reaching this point in space after ten years of it actually happening.  Now it is all well and good for the telescope to see these images of the earth back in the past; images of very high quality I am talking about, able to see humans walking around in a street quality, but if it were then to send these images back to earth, how long would it take for the message to send/ travel to the receiver on earth? Also, is it even possible to send and receive information from so far away?   If the machine were to be used for forensic purposes, like rewinding the clock to see what happened live in a murder after it had happened, up to ten years after in fact, the pictures would need to be sent and received very quickly so that the time to receive the photos wouldn't be so long that the person convicted of the murder could no longer be held against their will without the evidence.  I hope there is enough of an explanation here to get minds working.

Consider this scenario. I enter a space ship at 10:00 AM, it starts to move at a speed 100 times faster than  light, I travel for 55 mins. And then slow down to very much less than speed of light and land on another planet at 11:00 AM. Now I look at Earth with a telescope. What period of Time am I going to see?


This shelter's website I've recently taken over has a form that inserts into a database. But it's been reported that it is only saving some of the submissions, not all, to the database. I can't find anything consistent between the submissions that have failed (the visitors emailed their info in).  Things I've tried and other notes:   I thought it might be a char limit on a column but I confirmed they're all TEXT types and max submission was 3 sentences. I checked for reserved words and didn't see any being used Form does sometimes save just fine. Estimate about 1 in 5 fail. I went thru all other posts on this site noting this error but none of the accepted solutions fixed the problem for me I can recreate the error every time I try to resubmit one of the submissions that failed but I can also submit my own with test values and it saves to the database just fine. I researched the possibility of a column rejecting a special character like an apostrophe but came up with nothing solid. There is nothing unique about the data being submitted outside of a couple fields being 3 sentences long. The form submits to a php file with the code noted below. It's not on the form page itself.   This is the error that comes up when it does fail: Error adding application: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near  Here's my code:    $link = mysqli_connect('localhost', 'oursite_main', 'password'); if (!$link) {   die('Could not connect to database:' .mysql_error()); }   if (!mysqli_select_db($link, 'oursite_application')) {   $output = 'unable to locate the application database.';   include 'output.html.php';   exit(); }  $age = implode(', ',$_POST['age']);    $sql = "INSERT INTO adoption (name,address,city,phone,email,dog,sex,age,details,setting,home,permission,wkhours,time,family,pets,livestock,ydsize,fencing,livingqtrs,vet,activities,experience,whybc,greatdog, lookingfor,shelter,ifyes,helpfulinfo,status,year) VALUES('$_POST[name]', '$_POST[address]' , '$_POST[city]' , '$_POST[phone]' , '$_POST[email]'  ,'$_POST[dog]' , '$_POST[sex]' , '$age' , '$_POST[details]' , '$_POST[setting]' , '$_POST[home]' , '$_POST[permission]' , '$_POST[wkhours]' , '$_POST[time]' , '$_POST[family]' , '$_POST[pets]' , '$_POST[livestock]' , '$_POST[ydsize]' , '$_POST[fencing]' , '$_POST[livingqtrs]' , '$_POST[vet]' , '$_POST[activities]' , '$_POST[experience]' , '$_POST[whybc]' , '$_POST[greatdog]' , '$_POST[lookingfor]' , '$_POST[shelter]' , '$_POST[ifyes]' , '$_POST[helpfulinfo]' , '$_POST[status]', '$_POST[year]')";

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I have seen a lot of question like this one on here but what I have not gotten is the replies from the people who have asked about whether the answer has worked or not basically tried to boot ubuntu and it went well it worked and I installed it something somewhere went wrong and now when I try to boot it says clean not telling me to clean but just clean more things too I just remember that one ill try to find it an write it in the title, anyways I looked at an answer that said troubleshoot so I did it ctrl-alt-1-7 but 1-6 just tells me to log in and runs a whole scrip than stops unexpectedly and 7 is where it says /dev/mmcblk0p2: clean,. I hope this was not too long and I hope that someone can answer my question (edited) - it worked earlier (yesterday) but I trashed the file and it renamed the file trash 1000 but kept the files so I renamed it ubuntu than tried to restart it up on my Chromebook and it still has old entries from it and I don't know how to delete those to start ALL over – Jamir just now (edit) ubuntu 20.04, not fresh just happened.

I'm stuck on this screen. I've edited the Ubuntu boot partition while running Windows now Ubuntu does not boot anymore. In depth I have seen a lot of question like this one on here, but what I have not gotten is the replies from the people who have asked about whether the answer has worked or not. Basically tried to boot Ubuntu and it went well. It worked and I installed it something somewhere went wrong and now when I try to boot it. I looked at the other answers that said troubleshoot. So I did it ctrl-alt-1-7 but 1-6 just tells me to log in and runs a whole script than stops unexpectedly and 7 is where it says /dev/mmcblk0p2: clean Booting Ubuntu worked earlier (yesterday) but I trashed a file and then  renamed the file trash 1000 but kept the files so I renamed it ubuntu. Then I tried to restart it up on my Chromebook. It still has old entries from it but I don't know how to delete those to start ALL over. This on Ubuntu 20.04.


Well, the question is in the title.  I want to know what do you call a woman who has an unfaithful husband but chooses to ignore it.  I searched a word for it but could not succeed. I just do not understand that are there only unfaithful women? What about men?

What do you call a wife or woman who knows their spouse or partner is unfaithful but pretends either to (1) not care  or (2) to not know?  In this scenario it's important that the cheating spouse or partner believes his wife or partner hasn't found out. That he is having one or more love affairs without being caught.   I did manage to unearth an archaic term wittol, which The Chambers Dictionary defines as a man who knows his wife's unfaithfulness, and accepts it.   The Collins English Dictionary online says:      (ˈwɪtəl)   a man who tolerates his wife's unfaithfulness   [C15 wetewold, from witen to know (see wit²) + -wold, perhaps from cokewold cuckold]   I'm curious if there is a modern-day female version. I can't think of any off-hand and yet I'm sure we all know someone in our lives who has knowingly accepted their partner's infidelities be it for religious convictions; a sense of loyalty; pride; love; fear of loneliness; fear of hardship or merely motivated by social status.    A modern literary example:   In Gillian Flynn's novel Gone Girl, although the beautiful  pro/antagonist Amy Elliott Dunne is fully aware her husband has been cheating for over a year, she pretends not to know and is far from being acquiescent. Only the reader is privy to that information.  (I realize it doesn't match the description perfectly, but it's important that Nick Dunne is unaware of his wife's discovery.)


How to get the following for $a,b>0$? $$\int_0^\infty\frac{1}{\sqrt{2\pi t}}\cdot\exp\bigg({\frac{-a}{2t}-bt}\bigg)dt=\frac{1}{\sqrt{2b}}\cdot \exp\big(-\sqrt{2ab}\big) $$ The context for this identity is its use in computing the resolvent of Brownian motion in the stochastic calculus book by Le Gall (screenshot below).  I figured there had to be an elementary way to compute it, i.e. without using the fact Le Gall alludes to about the Laplace transform of the hitting time of Brownian motion. As is indicated in the comments, this is clearly a duplicate so I wouldn't object to its being closed for that reason.  Although maybe those who posted the excellent answers below should've been given the chance to migrate their answers to the post of which this is a duplicate, if they wish.

How can I evaluate $$I=\int_{0}^{+\infty}\!e^{-ax^2-\frac b{x^2}}\,dx$$ for $a,b>0$?  My methods:  Let $a,b > 0$ and let $$I(b)=\int_{0}^{+\infty}e^{-ax^2-\frac b{x^2}}\,dx.$$ Then $$I'(b)=\int_{0}^{\infty}-\frac{1}{x^2}e^{-ax^2-\frac b{x^2}}\,dx.$$  What the other methods that can I use to evaluate it? Thank you.


Anytime I try to view an object in Material Preview and Rendered View, it goes the same dark grey colour of the world. Or gives me weird colourful lights when I move around the object. I can view textures in solid view.  Files that have rendered correctly in the past do not anymore. When I try rendering an object, it will appear transparent   For reference here's how the render turned out.  I've tried this in both fresh installs of Blender 2.91 and 2.83.10 LTS. I suspect this is due to my graphics card (a fairly old 4GB RX 580) as this started happening after a driver update and I've used both versions of Blender without issue. I honestly have no idea what to do other than to roll back to a previous graphics driver. Any help would be appreciated.

I don't know why but now, when i go in material preview or rendered (in solid mode it works fine), my object is entirely gray, or invisible idk, because it has the same color of the background. I've been working for days on this project without having this issue, it suddenly showed up. I tried opening other old projects and suddenly they all do the same so i guess it is some blender program setting that applies for all the projects, but idk how it happened cuz i didn't change anything :/, anyone got any tips?


I want only the year of the citation in blue, NOT everything like it its now. LaTeX \documentclass[a4paper,10pt]{article}  \usepackage{natbib} \usepackage{apalike}  \usepackage{hyperref} \hypersetup{     hidelinks=false,                  colorlinks=true,     citecolor=blue }  \begin{document}          This is an example of ... \citep{author1}.          \bibliographystyle{apalike}     \bibliography{Bibliography} \end{document}   Bibliography.bib @book{author1,   title={Book Title},   author={Author},   year={2014},   publisher={Publisher} }

I am using the natbib and hyperref packages:  \usepackage{natbib}  \usepackage[pagebackref=true, plainpages=false, bookmarks, bookmarksnumbered, colorlinks, linktocpage=true, linkcolor=blue, citecolor=blue, filecolor=black, urlcolor=blue]{hyperref}   With my current settings (above) both the name and the year are hyperlinked.  My question is, whether there is a way to hyperlink (or color) only the year-not the author(s).   I have the impression reading this post  that biblatex does it by default. However changing to biblatex is not an option for me at this point.  Any helpful comments will be greatly appreciated.


Having the apps in a specific location on the launcher is useful for using the Super+# shortcut.  However, whenever I launch a new application (an app that isn't locked), it always ends up in the 6th position instead of being appended to the end of the launcher.  Is there any way to change where new apps show up in the launcher so it does not alter my Super+6-9 shortcuts.

After I update my ubutu to 16.04, I got a problem with Unity launcher. Whenever I open an application which is not listed in launcher, it will take the third position instead of last position. Has anyone the same problem?


I am trying to run a code of R in PHP, Here are my code : index.php         <title>PHP and R Integration Sample</title>
     <?php       // Execute the R script within PHP code       // Generates output as test.png image.       exec("Rscript sample.R");     ?>
      sample.R x <- rnorm(6,0,1) png(filename="test.png", width=500, height=500) hist(x, col="red") dev.off()  After that I found out that I got Apache Error like this : 'Rscript' is not recognized as an internal or external command, operable program or batch file.  I tried as the comments in this link , and then I updated my code : index.php         <title>PHP and R Integration Sample</title>
     <?php       // Execute the R script within PHP code       // Generates output as test.png image.       exec("C:\Program Files\R\R-4.0.3\bin\Rscript sample.R");     ?>
      After that update I got this message in apache : 'C:\Program' is not recognized as an internal or external command, operable program or batch file.  Anyone please tell me if I came wrong with interpreting the comments on the link I mentioned before. Please help me to implement R code in PHP, advise me for the best use case. Appreciate any answer.

I'm running on win2003 server, PHP 526, via the cmd-line.  I have a cmdline string:  $cmd = '  "d:\Prog Files\foo.exe" -p "d:\data path\datadir"  ';     Trying to do this in php code  $out = `$cmd`;       # note use of backticks AKA shell_exec   results in a failure by foo.exe as it interprets the -p arg as "d:\data".  However, the same $cdm string copied to the windows shell cmdline executes successfully.  How do I properly handle spaces in PHP shell_exec?


The other day I saw the following (written) phrase being used in an American TV series episode:  "Why aren't I on the list?"  Even though I know this "sounds right" (I'm a relatively fluent, although not native, English speaker), this struck me as weird, since "am" is the normal form for "I" in all/most other situations ("I am", "you are", "he/she/it is" etc), i.e. without abbreviation being used, the correct phrasing would be "Why am I not on the list" (rather than "Why are I not on the list").  So, what is the origin of this strange special case, and are there also other similar ones like it in the English language (i.e. where the abbreviated word is at the same time replaced by a completely OTHER word or word form, effectively not just being abbreviated, but rather also substituted at the same time)?

My dictionary reports that aren't is also an abbreviation for am not, when used in questions.  Is this use of aren't common? If it is common, are there any differences between the different English dialects?     Why aren't I being given a pay raise?


Now even though I have an object imported in Blender and one that made myself but I can't seem to export them correctly. And how do I make scales match with those of Unreal Engine 4?

I am creating models in Blender for a game in Unreal Engine 4.  What output file format is the best and I can use for this for commercial purposes?


I am practicing with some code, and one thing I am trying to do is have the Fibonacci sequence placed recursively into a list. I have managed to do it without recursion, but that is not too difficult. Thank you to anyone who can offer any help.   #python 2  arr = [1, 1] n=15 def Fib(n):   tmp = arr[-1] + arr[-2]   if n == 0:     return 0 #base case 1   elif n == 1:     return 1  #base case 2   else:     return Fib(n-1) + Fib(n-2) #recursive call   arr.append(tmp)   return arr Fib(n) print arr

I had originally coded the program wrongly. Instead of returning the Fibonacci numbers between a range (ie. startNumber 1, endNumber 20 should = only those numbers between 1 & 20), I have written for the program to display all Fibonacci numbers between a range (ie. startNumber 1, endNumber 20 displays = First 20 Fibonacci numbers). I thought I had a sure-fire code. I also do not see why this is happening.  startNumber = int(raw_input("Enter the start number here ")) endNumber = int(raw_input("Enter the end number here "))  def fib(n):     if n < 2:         return n     return fib(n-2) + fib(n-1)  print map(fib, range(startNumber, endNumber))   Someone pointed out in my Part II (which was closed for being a duplicate - ) that I need to pass the startNumber and endNumber through a generator using a while loop. Can someone please point me in the direction on how to do this? Any help is welcome.    I'm a learning programmer and I've run into a bit of a jumble. I am asked to write a program that will compute and display Fibonacci's Sequence by a user inputted start number and end number (ie. startNumber = 20 endNumber = 100 and it will display only the numbers between that range). The trick is to use it inclusively (which I do not know how to do in Python? - I'm assuming this means to use an inclusive range?).  What I have so far is no actual coding but rather:   Write Fib sequence formula to infinite Display startNumber to endNumber only from Fib sequence.   I have no idea where to start and I am asking for ideas or insight into how to write this. I also have tried to write the Fib sequence forumla but I get lost on that as well.


I know, that      I am looking forward to hearing from you.   is correct. But I am not sure, if this holds also for other verbs?   So is     I am looking forward to taste your cookies.   or is     I am looking forward to tasting your cookies.   correct?

Some verbs are followed by ing, e.g. I enjoy swimming. We can't say I enjoy to swim. Likewise, some verbs are followed by to, e.g. I decided to make a plan.   Which particular verbs are followed by ing and to? Can you please provide a list for that?  Moreover, which verbs can be followed by both without having the meaning changed?


What is the difference between the center of mass and center of gravity of a rigid body?  In which cases are they the same point and in which cases are they different points?

My book says:     For most of the small objects, both are same. But for mammoth ones, they are really different ones. And in a gravity-less environment, COG is absent; COM still exists.   Ok, what's the big deal when things are small and big? How these two :  & ?


If quantum mechanics is probabilistic, there is no reason for a particle to be in one place and not the other, but particles do make up their minds... but how?

Quantum Mechanics is very successful in determining the overall statistical distribution of many measurements of the same process.  On the other hand, it is completely clueless in determining the outcome of a single measurement. It can only describe it as having a "random" outcome within the predicted distribution.  Where does this randomness come from? Has physics "given up" on the existence of microscopic physical laws by saying that single measurements are not bound to a physical law?  As a side note: repeating the same measurement over and over with the same apparatus makes the successive measurements non-independent, statistically speaking. There could be a hidden "stateful" mechanism influencing the results. Has any study of fundamental QM features been performed taking this into account? What was the outcome?    Edit: since 2 out of 3 questions seem to me not to answer my original question, maybe a clarification on the question itself will improve the quality of the page :-)  The question is about why single measurements have the values they have. Out of the, say, 1000 measure that make a successful QM experiment, why do the single measurements happen in that particular order? Why does the wave function collapse to a specific eigenvalue and not another? It's undeniable that this collapse (or projection) happens. Is this random? What is the source of this randomness?  In other words: what is the mechanism of choice?    Edit 2: More in particular you can refer to chapter 29 of "The road to reality" by Penrose, and with special interest page 809 where the Everett interpretation is discussed - including why it is, if not wrong, quite incomplete.