Is my cell phone operator allowed to limit my EU data roaming?

My Norwegian cellular provider has given me a  where I can use 50 GB of cellular data per month. After this 50 GB limit, I have unlimited data, but at very low speeds.  I traveled to Sweden with this plan, and received the following term in an SMS:     I EU/EØS bruker du av min/SMS/MMS som er inkludert i abonnementet   ditt, samt inntil 10GB av datamengden.    My translation:     Within the EU/EEC you use the SMS/MMS that is included in your   subscription as well as 10 GB of the data.   Customer care have informed me that for EU roaming data usage, the speed will be limited after 10 GB, as opposed to 50 GB for usage in Norway.  The official :     You pay exactly the same price for using these services when   travelling in the EU as you would if you were at home. In practice,   your operator simply charges or takes your roaming consumption from   the volumes in your domestic mobile tariff plan / bundle.   Is my carrier allowed to give me a separate bundle for EU usage? The EU quote makes it appear that the same bundle should apply to both.  My carrier's customer care department argues that this two month period is a "test period" and that during this "test period" they're allowed to discriminate between domestic usage and EU usage.  Are they correct? Is this allowed?   Edit: It might not matter to the answer, but it turns out that the customer care misinformed me, and that they actually do not limit the speed in the EU, instead they charge (80 NOK per GB) for EU use after the cap.


How do I load an existing public and private key pair into SSH?

I have a SSH public and private key pair (files) from a previous Linux installation along with the corresponding pass phrase:  ~/id_rsa.pub ~/id_rsa.ppk   When I try to add the private key I get a warning message:  $ ssh-add id_rsa.ppk @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0444 for 'id_rsa.ppk' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored.   What is the correct way to do this?  I am using Linux Mint 18.1.  Update I found a solution on this page:


PHP to save file attached to PDF to local directory

If the title doesn't explain well enough I will detail here: I have a PDF file created with an android app. It allows you to attach files to a pdf. This is a standard feature provided by Adobe. There are libraries out there to do almost anything with a PDF file using PHP. Many even support adding these attachments. I need to extract and save the image(.jpg) embedded inside the PDF to the server. Saving the PDF file isn't really my concern. Just figuring out how to touch the files inside the PDF.  Any help is awesome and I can provide an example PDF if requested. Email me at AriderM@gmail.com Thanks!  EDIT: I'm looking to gain access to these files in PHP.   EDIT: I do mean attached to the file, similiar as an email functions where It's there, but not embedded.


Recently I got the following strange situation:  I accidentally lookup at a user's reputation and realized he has lost over 670 reputation on account removal. More suspicious is that he gained between 19 Jul and 27 Jul 80-120 reputation per day. That gives him over 1000 reputation in less than 10 days. In last 2 months he gained only 500 reputation. Moreover: this user has only 14 answers and questions with 9 upvotes in last one month. The upvotes was done on his previous questions.   Primary I was about asking mostly about tools that were able to detect such users. This part of my question was answered by @ChrisF and it was most adequate to my thoughts.  Now I realized no one answered to my second question part (maby I didn't made it clear): What an ordinary user can do in such situation. If any ordinary user have a any option to react in such situation? User can in some way know something more than machine and might help moderators to detect such situations.   For now the answer is: nothing. And I don't think flagging his post is an option.


Why doesn't a typical beam splitter cause a photon to decohere?

In many experiments in quantum mechanics, a single photon is sent to a mirror which it passes through or bounces off with 50% probability, then the same for some more similar mirrors, and at the end we get interference between the various paths. This is fairly easy to observe in the laboratory.  The interference means there is no which-path information stored anywhere in the mirrors. The mirrors are made of 10^20-something atoms, they aren't necessarily ultra-pure crystals, and they're at room temperature. Nonetheless, they act on the photons as very simple unitary operators. Why is it that the mirrors retain no or very little trace of the photon's path, so that very little decoherence occurs?  In general, how do I look at a physical situation and predict when there will be enough noisy interaction with the environment for a quantum state to decohere?


How is tax handled for purchases from the Ubuntu Software Centre?

I've just created an account to submit an application to the Ubuntu Software Centre and the agreement says: "You are responsible for determining applicable taxes in connection with distributing your App, and you shall pay applicable taxes to the applicable tax authorities.".  Does this mean that Canonical doesn't collect tax (especially VAT in the EU) and it's my responsibility to do it?   Also, am I wrong to assume that the price listed by the USC is the same for both people who pay taxes and for those who don't need to pay them?


How to compute the determinant of this Toeplitz matrix?

Given a positive integer $n$, express$$ f_n(x) = \left|\begin{array}{c c c c c}  1 & x & \cdots & x^{n - 1} & x^n\\ x & 1 & x & \cdots & x^{n - 1} \\ \vdots & x & \ddots & \ddots & \vdots\\ x^{n - 1} & \vdots & \ddots & 1 & x\\ x^n & x^{n - 1} & \cdots & x & 1 \end{array}\right| $$   as a polynomial of $x$.   I tried to find a recurrence relation of $\{f_n\}_{n \geqslant 1}$ using Laplace expansion, but there seems to be no patterns in the minors in the expansion. Is there a somewhat simple recurrence relation of $\{f_n\}_{n \geqslant 1}$ or these determinants can be computed with other methods?


How to create a separate home partition after installing Ubuntu under single / partition

I have got a dual boot system here with a couple of partitions:     Windows 7 OS partition Another partition for office data One partition for Ubuntu And of course one 100Mb partition auto-made by Windows And just like Windows one swap partition by Ubuntu   Of course, I wanted to have a separate partition for /boot and /home which I have not got here, so I would like to do that if it’s possible. Can I install GParted in my system and create a new partition by shrinking my existing / partition, then mount /home under it somehow? I don't want to mess up my system. Some concrete advice required here.


Why is the weight vector in PLS constrained to be of unit length?

In the SIMPLS formulation of partial least squares (PLS) regression, the weights are constrained to have length of 1,  $$r_a^Tr_a = 1,$$ where $a$ represents a latent component (from $1$ to $A$). This is from the original definition by de Jong (1993).  As the plsgenomics package says in the help for the pls.regression function:     In the original definition of SIMPLS by de Jong (1993), the weight       vectors have length 1. If the weight vectors are standardized to have       length 1, they satisfy a simple optimality criterion (de Jong, 1993).   I read de Jong's paper and he says:     For the development of the theory and algorithm of SIMPLS it was       convenient to choose normalized weight vectors $r_a$. This choice,        however, is in no way essential.   My question is this. Can anyone give me an intuition for what effect constraining the length of the weight vector has on the algorithm?  References:   de Jong, S. . Chemom. Intell. Lab. Syst. 18, 251–263 (1993).


On After Effect i have my png sequence (Blender Cube) and i'd want to mix on my video.  How can I do that?  I can see either only the video or only the cube.  The cube is png but i see the background black


When selecting the color of a material, I have the option to change diffuse and specular color. Where do I change the ambient color?  When I export to .obj/.mtl, I get Ka 0.000000 0.000000 0.000000, which I then need to adjust manually.  How can I set this value in Blender?  According to phong model, every object has ambient, diffuse, and specular color. That's why exporting to .obj/.mtl has Ka Kd Ks elements. However, in blender I can only set specular and diffuse color. How can I set ambient color resulting non-zero values of Ka after exporting to .obj/.mtl?


Display Database Instance Relationship with TikZ

I'm trying to display all of my corporate database instances and their relationship to each other, so to speak the database links. I found the geometry shape cylinder using TikZ \usetikzlibrary{shapes.geometric}, but I'm new to the whole TikZ stuff and it doesn't worked out that well so I thought maybe you could help me getting something like the following figure:    There will be a ton of instances and arrows, but I hope that you guys could give me a start so that I could do the rest on my own.


Display number of votes by <15 rep users to poster

The new  is terrible. But there's a reasonable problem that has been identified: non-signed-in users don't get to say anything. For obvious reasons, we have avoided letting them change the publicly displayed score or cast votes which award rep. But instead of letting the vote numbers pass into the void, we could simply display the number of <15 rep votes cast to the author of the post. Or it could be a high-rep feature, like vote counts, which is fetched upon request. That solves the problem without putting too many confusing numbers in front of users who may not know what exactly is going on, and without introducing any new 'reaction'-like features which disrupt the user's flow.


How do I find the right size of filters for a lens?

I was looking to get a circular polarizing filter and an UV filter for my Canon 550D, 18-135mm lens. When I checked online I found these filters came in different sizes, like 62mm, 67mm, 72mm, 77mm. How do I know which is right?  Also, will there be any degradation of photo quality if I put both these filters on the lens?


Inline image alignment issue for app and mobile web

contains image inside text, but appearance is differ on full site and mobile web/app.  iOS app:     Full site:     Mobile web:     Android-app:      My thoughts that only full site's and android-app's alignment is correct.   App Version: 1.6.1.2 Device: iPad Air 2 (Wi-Fi) OS Version: Version 10.1.1 (Build 14B100)


I did a mission for the Dawnguard where I was to kill a vampire at Half-Moon Mill. And now later in the game, I can't buy sawn logs for my house.


My niece gave me a Windows 7 laptop which has Short DST Failed errors on startup. Can I use a flash drive to install Ubuntu on this laptop so that I can use it?


How to satisfy an inequality, from a fourth degree polynomial

If the equation $P(x)=x^4+ax^3+2x^2+bx+1=0$ has real solutions,   prove that $a^2+b^2\geq8$.   For the above question, I tried taking advantage of Vieta's formulas such as for the roots of the equation $r_1, r_2 , r_3 , r_4$, $r_1+r_2+r_3+r_4=-a/1$  and $r_1r_2+r_1r_3+r_1r_4+...r_3r_4=2/1$ etc. and afterwards I attempted to formulate a quadratic equation. Through this I attempted to get an inequality of the type $b^2-4ac\geq0$, so that I could get that $a^2+b^2\geq8$. However I did not succeed in doing this and hence solving the question. Can someone please explain to me how this question could be solved and if there is a better approach than the one I attempted to use?


There is a global mutex used by different applications. If one application blocks this mutex then other applications will not be able to start. Given the mutex name how can I find out in C# which process is owning this mutex currently. I need to build a utility to findout this process and kill which is holding this mutex.


How do I send Twitch.tv chat messages in Minecraft?

A recent update allows Minecraft to natively stream to twitch.tv and the chat also shows up in game... however I can't figure out how-to respond in a way that the twitch.tv users can see.  How do I send Twitch.tv chat messages using the in-game Minecraft chat menu?


Solve in $\mathbb N$: $ 2^x\equiv 1 \bmod{x}$.   1) first we showed that for all $ m $ and $ n \in\mathbb N$ if $\gcd(m,n)=d$ then  ($2^m\equiv 1 \bmod{p} $ and $2^n\equiv 1 \bmod{p} $) implies that $2^d\equiv 1 \bmod{p}$ for all $p$ $\in\mathbb N^*$.  2) if we consider that $p$ is the smallest prime number dividing $x$ we would have $\gcd(x-1,p) = 1$ and $2^{p-1} \equiv 1 \bmod{p} $ (using Fermat) and $ 2^x \equiv 1 \bmod{p}$.  Can I deduce something from this ?


I was told that to achieve the same font that appears on the following screenshot, I had to use \usepackage{lmodern}. But IMHO it does not look the same:     DESIRED:         MINE:      \documentclass{article} \usepackage{lipsum} \usepackage{xstring} \usepackage{lmodern} \usepackage{amsmath}  \newcommand{\mystring}{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla.  Curabitur auctor semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum.}       \begin{document} \StrBefore[90]{\mystring}{ }     \begin{equation} \dfrac{\partial C_{ui}}{\partial b_{u}} = - \text{err}_{ui} + \lambda b_{u} \end{equation}  \end{document}      Last but not least, how can I get this T?


I am taking a number theory class, and I was not able to solve this homework problem.   Let $a,$ $b,$ and $m$ be constant positive integers. For which positive integer values of $n$ does $a|mn-b?$   I tried this out for a couple of values, and the values of $n$ satisfying this expression seem to occur in a cycle.  (For example, let $m=2019,$ $a=20,$ $b=19.$ The values of $n$ that work are $1,21,41,61,....$) However, I am not able to show that this always happens.


How to install WIne on Ubuntu 20.04 LTS?

Can't Find wine in Ubuntu store. How can i install Wine on Ubuntu 20.04 LTS (64 BIT)?


Proof of an existance of a finite atlas for a smooth manifold

In couple of places on that site we can find the following statement:     A smooth manifold $M$ admits a finite atlas.   Look for example here  or here , yet with no reference for a proof. I would appreciate if someone give any since I could'n found.


How can I display site logo, name and slogan?

how can i show site logo, name and slogan Separately in custom area in my site theme, I now use this code to display theme, buts this code don't allow me to edit each of them Separately.  {{ page.header }}


Show all comments if there is just "1" extra comment to show

When looking at a question or answer with comments, I think it would be better to just show that one extra comment if the threshold is "Show 1 more comment".  In other words, if there are 6 comments, show all 6 comments.  If there are 7 comments, then show 5 comments and the link "Show 2 more comments".  Etc for more comments.


Access the database by different users simultaneously

My two databases(.mdb) are placed at a network shared folder.  Now at the same time few users are connected to database from the network place and doing their job.  In the middle get the error like :  error 1 : "The database has been placed in a state by a user "Admin" on machine "machine no." that prevents it from being opened or locked."   error 2: “Cannot Open Database”. It may not be a database that your application recognizes, or that file may be corrupt.  can anyone please suggest me how i can open this database in programatically, so that different users can run their own application simultaneously without any error.


So, I am fairly new to xubuntu, and have just made a fresh install. I decided to get steam, so I used the Software Center to install steam, but i am encountering problems. Running steam from the start menu simply brings up a box saying:     Couldn't set up Steam data - please contact technical support   And running it from the terminal produces:   alex@Craptop:~$ steam Repairing installation, linking /home/alex/.steam/steam to /home/alex/.local/share/Steam rm: cannot remove ‘/home/alex/.steam/steam’: Is a directory Setting up Steam content in /home/alex/.local/share/Steam rm: cannot remove ‘/home/alex/.steam/steam’: Is a directory"   Tried re-installing twice now, and am still getting the error saying it couldn't set up steam data.


The process substitution output is out of the order

The   echo one; echo two > >(cat); echo three;    command gives unexpected output.  I read this:  and many other articles about process substitution on the internet, but don't understand why it behaves this way.  Expected output:  one two three   Real output:  prompt$ echo one; echo two > >(cat); echo three; one three prompt$ two   Also, this two commands should be equivalent from my point of view, but they don't:  ##### first command - the pipe is used. prompt$ seq 1 5 | cat 1 2 3 4 5 ##### second command - the process substitution and redirection are used. prompt$ seq 1 5 > >(cat) prompt$ 1 2 3 4 5   Why I think, they should be the same? Because, both connects the seq output to the cat input through the anonymous pipe - .  Question: Why it behaves this way? Where is my error? The comprehensive answer is desired (with explanation of how the bash does it under the hood).


How to play minecraft against my son with 2 PCs

I want to play Minecraft against my son with us each on a different PC where we can create our own worlds without any other interference from other users.  Is that possible, what do we need (I assume 2x PC minecraft accounts) and how do I do it?  Thanks


Does the Daylight spell count as "direct sunlight" for the purposes of Sunlight Sensitivity?

Here is the feature in question:  Sunlight Sensitivity. You have disadvantage on attack rolls and on Wisdom (Perception) checks that rely on sight when you, the target of your attack, or whatever you are trying to perceive is in direct sunlight.  And the spell, Daylight:  A 60-foot-radius sphere of light spreads out from a point you choose within range. The sphere is bright light and sheds dim light for an additional 60 feet. If you chose a point on an object you are holding or one that isn't being worn or carried, the light shines from the object and moves with it. Completely covering the affected object with an opaque object, such as a bowl or a helm, blocks the light. If any of this spell's area overlaps with an area of darkness created by a spell of 3rd level or lower, the spell that created the darkness is dispelled.  Clearly it is not explicitly spelled out in the text, but still I'm not sure if the reader is meant to assume an intended effect, since "Daylight" and "Sunlight" are synonymous.


Use of "no less than" and no "fewer than"

1) In fact, NO LESS THAN 20 percent of people are injured severely due to car accidents.      2) However, because people whose cars had collided and were severely wounded were occupying the intensive units in the hospital, it took NO FEWER THAN an hour for him to have surgery despite his life threatening condition.   These are two sentences that I wrote in a practice writing, but my teacher (Canadian) said the use of "no less than and no fewer than"  didn't make sense.  I thought those are used to describe emphasis of numbers.  Could you someone help me understand why it's wrong so that I can improve my English. Thank you


When will Cent OS delete empty dirs in /tmp?

On our webserver, we use /tmp to store a server-side cache. The cache path is unique for each website, and also for each git revision. So when the code is updated, the old cache folder is abandoned. The files therein are eventually deleted, but the folders themselves persist. This is not actually causing a problem (yet), but it seems messy. Is there any way to automatically delete folders in /tmp which have been empty for X days?  According to the man pages, tmpwatch should remove unused directories, but it is not doing so.  $ cat /etc/cron.daily/tmpwatch  #! /bin/sh flags=-umc /usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x /tmp/.XIM-unix \     -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix \     -X '/tmp/hsperfdata_*' 10d /tmp /usr/sbin/tmpwatch "$flags" 30d /var/tmp for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do     if [ -d "$d" ]; then     /usr/sbin/tmpwatch "$flags" -f 30d "$d"     fi done   I see nothing there which would stop it removing directories.  However, ls -ul shows that all directories in /tmp (well, all that I checked) have been accessed today, even ones which shouldn't have been touched in months.


I am trying to install and enable the add-on using the API on CentOS 7.6.1810 64bit. The add-on can be installed into add-on folder and there is no error reported when I enable the add-on. However, the status of the add-on just keep false. I tried enable and disable the internal add-on, and it works fine. This is the script I used to print all add-ons and enable my external add-on:  Q: How to enable add-ons using via scripting?


Was Russell's purpose in Principia Mathematica to formalize all the possible constructions of logic?

In writing Principia Mathematica, was one Russell's purposes to formally describe all the possible variations of logical concepts and reasoning that can be used in mathematics? For example, suppose that a mathematician of the future manages to prove theorems about natural numbers by reasoning on the properties of a subset of the complex numbers that has not yet been defined.  My question is, was one of Russell's purposes to be able to formally capture in advance all abstract concepts upon which the mathematician's conception of the subset will be based,  and also his reasoning over its properties,  before this subset is conceived by the mathematician's creative power?


How to remove NullPointerException in this code

Hi have an custom listview with following snippet. The problem is the app get crashed when i run the code Here is my code  class MyAdupter extends ArrayAdapter<String>{      Context context;       String[] title ;       String[] description;       int[] images;       public MyAdupter(Context context, String[] title, String[] description, int[] images) {         super(context, R.layout.my_simple_row,title);         this.context = context;          this.title = title;          this.description = description;      }      @Override      public View getView(int position, View convertView, ViewGroup parent) {         Layoutlnflater inflater = (Layoutlnflater) context.getSystemService(context.LAYOUT_INFLATER_SERVICE);         View row = inflater.inflate(R.layout.my_simple_row, parent, false);          ImageView imageView = (ImageView) row.findViewById (R.id.imageViewl);          TextView textTitle = (TextView) row.findViewById (R.id.textViewl);          TextView textDescription = (TextView) row.findViewById(R.id.textView2);             imageView.setImageResource(images[position]);          textTitle.setText(title[position]);          textDescription.setText(description[position]);          return row;      } }


Hidden keyboard shortcut for screen Lock

I want to unbind CTRL+ALT+L from "screen lock". I removed original binding in "System settings -> keyboard -> shortcuts -> system -> lock screen" but it still locks my screen. I tried to look in dconf and gsettings (based on several search results here in Stack Exchange) but couldn't find relevant shortcut definitions. Are there other places to check?  Running Ubuntu 16.04 LTS.  Edit: This is a duplicate except that the best answer of the original question didn't solve my problem. This did:


I just came across this term “forward search attack” while reading about Interchange key and Session key. The book mentioned that using session key helps to prevent attacks such as forward search attack.


Can I install Portage, Pacman or other package managers on Ubuntu?

I want to install a non-Ubuntu package manager like Portage (Gentoo) or Pacman (Arch) on Ubuntu 12.04 LTS.  How do I do that?


exporting video with transparent background

I have searched but not found an answer that exactly answers or works.  I have a rotating rendered head animation that I want to export with a transparent background so I can import into final cut pro x and lay over video footage or still imagery. I have tried saving as a blender render as quicktime .mov with alpha as transparent and as RGBA but doesnt work, a black BG. I have also tried as a cycles render but still black BG. Is there any particular file format that is better for this? H.264, MPEG, .mov? or something I am missing? thanks


I started my Ubuntu (Version 18.04 LTS) machine this evening only to discover that Firefox has suddenly stopped working. No matter what web page I attempt to browse to, it simply sits there blankly, never timing out or displaying anything. Using information I found here:   I followed their advice, and restarted in Safe mode. This worked which tended to imply some add-on was not working. I'm not generally a fan of having dozens of add-ons in my browser, so was not surprised to find only 5 in there, all of which I disabled. When running in normal mode, but with all the Add-ons etc. disabled, Firefox still refused to work. Next I disabled performance/hardware acceleration. No Joy.  I then proceeded to completely uninstall and reinstall Firefox via CLI. Still no luck. Used the following website advice to do so:   I must point out that my computer has a working Internet connection (I used it for example, to download emails as well as carry out the download/re-installation of Firefox). This is strictly Firefox related. This question may be better suited to the Mozilla forum page, but given the fact that I don't know where the problem lies, and I've completely re-installed Firefox, I thought it prudent to start here.  I keep my computer updated at all times, and am running the latest version of Firefox (67.0). I'm really at a loss as to what to do next.


A recent issue with a Buffalo TeraStation NAS here in my office has got me investigating Raid 5.  I've found a few different articles talking about the unsuitability of using raid 5 in large arrays, or with large disks  Here is one  that talks about problems with rebuilding an array with large consumer drives.  I'm trying to work out what counts as 'large'?  The NAS we have here is a 4 drive Raid 5 setup, each drive is 1 TB. A drive failed and has been replaced, the array is currently rebuilding.  Does this setup constitute as large, in terms of will likely have a problem during the rebuild?  How reliable is this setup for day to day use?


In LEGO Harry Potter Years 1-4, what is the quickest way to get a Dark Wizard?

What is the quickest way to get a Dark Wizard?   I have not completed the main quest, but would like to start going through free play to start working toward my 100%.  What is the earliest point in the story I need to be and how do I get my first Dark Wizard?


Michael Swan in his book ( - page 3/ page 4) writes about above/over  1) "Higher than": Above or over Above and over can both mean "higher than Can you see a helicopter above/over a palace?  Okay, I make a conclusion they are the same here. 2) "not directly over": above We prefer above when one thing is not directly over than another. We've got a little house above the lake  The thing that is meant here, as I can guess, is the house is higher but it's not on the same vertical line with the lake. If there were "over" here We've got a little house over the lake then we would have to understand it like the house is hovering/levitating above the lake with no logical explanation. Am thinking right? This case I am feeling troubled because in the first way of usage the choice of above/over means the same thing while in the second one it's different. Having read the second usage, should I take Can you see a helicopter above a palace? like the helicopter is at a higher position than the palace but it is not directly over the building? And should I understand Can you see a helicopter over a palace? like it's right over the roof that if it goes down it will land exactly onto the top of the palace? I see it as a problem because the author firstly says they are equal but then gives an example with an explanation where they are different. How should I distinguish the first usage senteces where they are the same from the second usage sentences where they would mean a different thing?


Small but annoying problem: References to other answers are lost after name changes

There are answers or  which refer to answers by another user's username without providing a link to them, if the user's name has changed there is no way to know which answer is being referred.  Possible improvements:   Ease other answers linking via Markdown (say, ^answerid:123^, or whatever syntax makes sense) Keeping a name trail Others?   I don't know how pervasive this problem is, it is probably very small and doesn't even deserve any action.


I'm a bit freaked out by the biome spread thing. What should I do?

I want to keep my hallow 2/3 biomes away, no Crimson (my 4 block, one in the Jungle) 2 biomes away. Only Corruption on the edges of my world, 1 to 2 biomes away, 3 to 4 biomes away. Not right next to what was Jerry's house! (The Tavernkeep)


Can I use variables inside {} expansion without `eval`?

Can I use variables inside {} expansion without appealing to eval? If so, how?  This doesn't work:  $ touch 1.foo 1.bar $ ls 1.{foo,bar} 1.bar  1.foo $ extensions=foo,bar $ ls 1.{$extensions} ls: cannot access 1.{foo,bar}: No such file or directory   It works with eval:  $ eval ls 1.{$extensions} 1.bar  1.foo


QGIS couldn't load processing plugin - Windows 7

I'm having a problem loading QGIS.  Usually runs fine on my computer. Error pops up "Cant'load processing plugin...."  On QGIS 2.16 I was able to get the full error message.  I've fresh installed 2.18.3 and now get this...  "Plugin processing: The plugin will be disabled because it crashed QGIS during last startup. Please report an issue and re-enable the plugin when the problem has been solved."  Any ideas?  The full error is shown below...  Couldn't load plugin processing due to an error when calling its classFactory() method   ImportError: cannot import name uic  Traceback (most recent call last):   File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 333, in startPlugin     plugins[packageName] = package.classFactory(iface)   File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing__init__.py", line 37, in classFactory     from processing.ProcessingPlugin import ProcessingPlugin   File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import     mod = _builtin_import(name, globals, locals, fromlist, level)   File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing\ProcessingPlugin.py", line 38, in      from processing.gui.ProcessingToolbox import ProcessingToolbox   File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import     mod = _builtin_import(name, globals, locals, fromlist, level)   File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing\gui\ProcessingToolbox.py", line 31, in      from qgis.PyQt import uic ImportError: cannot import name uic  Python version: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]  QGIS version: 2.18.3 Las Palmas, 77b8c3d   Python Path: C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python C:/Users/msm162/.qgis2/python C:/Users/msm162/.qgis2/python/plugins C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\backports.ssl_match_hostname-3.4.0.2-py2.7.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg C:\PROGRA~1\QGIS2~1.18\bin\python27.zip C:\PROGRA~1\QGIS2~1.18\apps\Python27\DLLs C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\plat-win C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\lib-tk C:\PROGRA~1\QGIS2~1.18\bin C:\PROGRA~1\QGIS2~1.18\apps\Python27 C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\PIL C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32 C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32\lib C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Pythonwin C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\wx-2.8-msw-unicode C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg C:/Users/msm162/.qgis2//python C:\Users\msm162.qgis2\python\plugins\mmqgis/forms .


One method in my controller returns a view which has link like http://localhost:17000/Questionnaire/CompleteQuestionnaire?GuidToken=4815823D-3BFF-487D-AEB0-BB874AE9FBDE and other method returns just link like /Questionnaire/CompleteQuestionnaire?GuidToken=4815823D-3BFF-487D-AEB0-BB874AE9FBDE  [HttpGet]     public JsonResult ShowUrlQuestionnaire(int id)     {         var questionnaire = QuestionnaireRepository.GetById(id);         var questionnaireUrl = "/Questionnaire/CompleteQuestionnaire?GuidToken=" + questionnaire.QuestionnaireId.ToString();         return Json(questionnaireUrl, "text/html", System.Text.Encoding.UTF8,                     JsonRequestBehavior.AllowGet);     }   how can I add root part of link in var questionnaireUrl ?   I tried to add this method in controller   private string GetBaseUrl()     {         var request = HttpContext.Current.Request;         var appUrl = HttpRuntime.AppDomainAppVirtualPath;          if (!string.IsNullOrWhiteSpace(appUrl)) appUrl += "/";          var baseUrl = string.Format("{0}://{1}{2}", request.Url.Scheme, request.Url.Authority, appUrl);          return baseUrl;     }   but I got error Error  1   'System.Web.HttpContextBase' does not contain a definition for 'Current' and no extension method 'Current' accepting a first argument of type 'System.Web.HttpContextBase' could be found (are you missing a using directive or an assembly reference?) How to fix it?


Alternative for "as high as" for an academic text

I am writing a scientific paper that was sent to a language revision (proofreading) service. Unfortunately, the whole process runs via a web portal so that it is not possible for me the reply to the proofreader. For the sentence (simplified version)     A is ten times as high as B.   a revision was suggested:     A is ten times higher than B.   However in my opinion, the first sentence means A = 10 x B, whereas the second sentence means A = 10 x B + B (or A - B = 10 x B). Thus, the correct version would be:     A is nine times higher than B.   Questions   Is as high as appropriate for academic texts? If not, what is an alternative? (Am I wrong with my opinion described above?), edit: answered    Context  The sentence is from a paper on air pollution. A and B refer to concentrations of air pollutants at two distinct locations.


Why geologist do not consider molten iron in the magma to be the source of Earth's magnetic field?

This was a question that came in a exam. How come  is this  possible?  Actually,  was asked here on physics SE, which matches my opinion.     The source of Earth's magnetic field is the molten iron and metals in the earth's core. The spinning of these liquid metals produces the same effect as electric current in a coil which produces a magnetic field.   Yes, that is true. Circulating ions of iron and nickel in a highly conducting liquid of Earth's core forms current loops and produces a magnetic field.  There is something to do with geologist though I'm not getting it. How come geologist doesn't seem to agree with this?


Does the series $\sum_{n=1}^\infty i^n/n$ converge or diverge?

Does the series $$\sum_{n=1}^\infty  \frac {i^n}n$$ converge or diverge?  I tried to use both ratio and root tests, but I got 1 on both cases, which are inclusive.


I have been having a problem for a few day.  I can't upgrade linux (16.04LTS) anymore and I can't install packages. Here's what I get : sudo apt-get update     I don't put everything because I am not allowed to post many links   E: Failed to fetch   404  Not Found   E: Some index files failed to download. They have been ignored, or old ones used instead.   sudo apt-get upgrade     Reading package lists... Done   Building dependency tree   Reading state information... Done   Calculating upgrade... Done   The following packages have been kept back:     debhelper   0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.   sudo apt-get install x11vnc     Reading package lists... Done   Building dependency tree   Reading state information... Done   E: Unable to locate package x11vnc   remi@remi-Lenovo-G70-80:~$    Does anybody know what the problem is ?


What is the difference between "a" and "per" in "miles an/per hour?

1.The train runs 60 miles an hour. 2.The train runs 60 miles per hour. What is the differen between the two sentences.


Is there a way to bind a Minecraft command to a hotkey?  For example, I’d like a way to toggle between modes (survivla/creative) by pressing the Tab so that if I’m in a nasty pinch (like getting poisoned by a spider and being unable to fight back because the game suddenly lags really badly) and want to avoid losing a full inventory of valuables that I worked hard to get over the past five hours, I can quickly switch to creative mode.  I searched for a mod to do this and (surprisingly) came up empty; all I could find was the  mod which requires LiteLoader and doesn’t seem to be able to bind arbitrary commands to keys.  The closest thing to a solution that I could find were suggestions to automate it with AutoHotkey, but that is no good because some keystrokes to get lost (probably due to the game’s CPU load), so pressing the hotkey will result in amemode 1 or /amemo 0 and such.  Is there a way to bind a command to a key so that it always works correctly?


Time Complexity Nested Loop Inner Loop + Outer Loop

Can anyone explain what the time complexity is for this algorithm?  for (i = 1; i <= n; i++){     for(j = 1; j <= n; j += i) {   // note: not j++         printf("Iteration %d : %d\n", i, j);        } }


Delete the parent folder keeping all content

I want to delete my parent directory but keep all of its content. Currently my directory structure   $ /usermanagement/usermanagement/file1   After deleting my parent directory I want to see like  bellow structure  $ /usermanagement/file1


so soon they were all seated at Beorn's table, and half had not seen such a gathering for many a year.   Why  is many a year used? Should not many years be used? What is the difference between many a year and many years?


Connected components of $\mathbb{R^w}$ in box topology

How can I know about all $\mathbb{R^w}$  in box topology? How can I separate $\mathbb{R^w}$ in box topology in to components and path components?in uniform topology I can separate using the path connected convex open balls but I have no clue in box topology. please help..


How can a lens with a single focal length focus on more than one plane?

By definition, a  is a fixed lens system with a fixed focal length.  Then, simple physics tells us that it should be able to focus only on one plane (at a fixed distance) in front of it. But in fact you can focus on objects near as well as far.  What am I missing here?


I want to overwrite to a text file using java by first create a new file and then delete the old one and finally rename the file I just created with the same name of my old file. But my code does not work.                  File oldFile = new File("charList.txt");                     File newFile = new File("new.txt");                     oldFile.deleteOnExit();                      if(oldFile.delete()){                        newFile.renameTo(oldFile);                     }


Perceptron learning rate irrelevant in convergence

Via this  i studied the single layer Perceptron convergence proof (= maximum number of steps).  In the convergence proof inside this document , the learning rate is implicitly defined as 1 . After studying it, by myself i tried to re-do the proof inserting this time a generic learning rate $\eta $.  The result is that the result remains the same:  $k\leq \frac{R^{2}\left \| \theta ^{*} \right \|^{2}}{\gamma ^{2}}$  that is the learning rate $\eta$ cancelled out in the proof.  Is it possible , or i make mistakes in my proof ?


Simplifying Trig Product in terms of a single expression and $n$

I participated in a math competition at a nearby university yesterday, and there was one ciphering problem that no one correctly simplified.  As the title suggests, we were asked to simplify the following trigonometric product such that it was in terms of a single expression (sine/cosine) and $n$.  $$\sin(x)\prod_{i=0}^n\cos(2^ix)$$  Typically with problems like these, which must be solved in under two minutes, the expression is telescoping in some manner that allows one to quickly simplify or solve it. This was how I approached it but simply didn't have enough time to see if it would work.  I know one of the professors, and he said the problem may be simplified using a number of double-angle formulas, but I'm still unsure how this method would work.  Could someone show how they might approach simplifying such an expression?


How do I select which lines of code to show and which lines to hide?

Sometimes only 10 lines of 100 are relevant to the question/answer, the other  90 are setup.  Is there a way to hide 90 those in lines in the answer?


I am facing problems in installing MiKTeX. My latest effort gave the following error log:  MiKTeX Setup 2.9.3959 Report  Date: Sunday, December 15, 2013 Time: 13:51:21 OS version: Microsoft Windows Vista Home Basic Edition, 64-bit (build 6000) SystemAdmin: yes PowerUser: false SharedSetup: yes Setup path: C:\as\u\tx\setup-2.9.3959.exe UserRoots: <none specified> UserData: <none specified> UserConfig: <none specified> CommonRoots: <none specified> CommonData: <none specified> CommonConfig: <none specified>  Installation: C:\Program Files (x86)\MiKTeX 2.9 Loading package database... starting package maintenance... installation directory: "C:\Program Files (x86)\MiKTeX 2.9" package repository: "C:\as\u\tx\MiKTeX 2.9 Setup" visiting repository "C:\as\u\tx\MiKTeX 2.9 Setup"... repository type: local package repository loading lightweight database... lightweight database digest: 9ac12380e9220f67d0db4465cc045262 going to install 75722 file(s) (2235 package(s)) problem: C:\Program Files (x86)\MiKTeX 2.9\miktex/bin\MiKTeX209-core-PS.dll does not exist problem: C:\Program Files (x86)\MiKTeX 2.9\miktex/bin\MiKTeX209-core.dll does not exist problem: C:\Program Files (x86)\MiKTeX 2.9\miktex/bin\MiKTeX209-packagemanager-PS.dll does not exist problem: C:\Program Files (x86)\MiKTeX 2.9\miktex/bin\MiKTeX209-packagemanager.dll does not exist extracting files from 12many.tar.lzma...  ***************  extracting files from yplan.cab... extracting files from yt4pdf.tar.lzma... extracting files from ytableau.tar.lzma... extracting files from ytex.cab... extracting files from zapfchan.cab... extracting files from zapfding.cab... extracting files from zed-csp.cab... extracting files from zefonts.tar.lzma... extracting files from zhmetrics.tar.lzma...  An error occurred:   source file: Libraries\MiKTeX\Core\fnamedb.cpp   source line: 594   message: File name database capacity exceeded.   info:


I need to deseralize this json responce and get the attributes to display in pageblock table

type: longForm

source: Zillow

firstName: Anthony

lastName: Testborrower

loanPurpose: Purchase

preferredLanguage: English

propertyType: SingleFamilyHome

propertyUse: Primary

stateAbbreviation: CA

city: Modesto

county: Stanislaus

firstName: Lender

lastName: Financial


Networked Epson WF-2760 Scanner not detected in 64-bit 16.04.2

I am trying to get an Epson WF-2760 scanner that is network-connected working. I'm using Ubuntu 16.04.2 64-bit and the printer works a treat. I have installed the Epson drivers from their site, including the plugins. I have edited /etc/sane.d/dll.conf to enable epson, epson2, and epsonds. I have edited each of the respective .conf files to include the network address of the device (IPV4: 192.168.128.11).   The scanner is not detected in any software that I have tried (including Image Scan and Simple Scan).  Any help is appreciated!


How to organize this 3x3 linear system in order to solve it with determinants afterwards.


Why Multiplication of zero by any number is zero?

If I multiply $a$ by $0$, it means $a$ is added $0$ times, but I am not able to visualize $0$ times!


I have data like this  MemberId | VesselName | Cargo | Date B001     | Ship A     | 500   | 2013/11/12 B001     | Ship X     | 250   | 2013/11/20 B003     | Ship Y     | 300   | 2013/11/11   I want query result like this  MemberId | VesselName    | Cargo | Date B001     | Ship A Ship X | 750   | 2013/11/12 2013/11/20 B003     | Ship Y        | 300   | 2013/11/11


Expand $\sqrt{1-x}$ up to and including the term $x^2$ (How should i proceed further)

I am trying to solve a 2 part question, the first part is to expand $\sqrt{1-x}$ up to and including the term $x^2$ which I did.  This gives me $1-(0.5)x-(0.125)x^2 + ...$  However, the 2nd part of the question says that by taking $x=(1/64)$ in the expansion of part (i) -> which refers to the one above, deduce that $\sqrt 7 = 10837/4096$. How do i do this part?  EDIT (After Hint Given By SimpliFire):  $$ \sqrt{1-\frac1{64}}=\frac{\sqrt{63}}8=\frac38\sqrt7 $$ $$ =\frac83\sqrt{1-\frac1{64}}\;=\sqrt7 $$ $$ =\frac83\left(1-\frac12\left(\frac1{64}\right)-\frac18\left(\frac1{64}\right)^2\right)\; $$ $$ =\frac83\left(1-\frac1{128}-\frac1{32768}\right)\; $$ $$ =\frac83\left(\frac{32768}{32768}-\frac{256}{32768}-\frac1{32768}\right)\; $$ $$ =\frac83\left(\frac{32511}{32768}\right)\; $$ $$ =\frac{260088}{98304} $$ $$ \frac{10837}{4096}\;\approx\sqrt7 $$  I'm not sure if I can present it like this, if it is okay i will post it as my answer :X


Programmatically determine asymptotic runtime of a given algorithm?

I was trying out bubble sort. I want to figure out how to determine the Big(o) of a particular algorithm.   public class BubbleSort {      public int[] bubblesort(int[] numbers){         int temp;         for(int i =0; i< numbers.length; i++){             for(int j = 1; j< numbers.length-i; j++){                 if(numbers[j-1] > numbers[j]){                     temp = numbers[j-1];                     numbers[j-1] = numbers[j];                     numbers[j] = temp;                 }             }         }         return numbers;     }      public static void main(String args[]){         int[] n = new int[]{4,3,2,1};          long startTime = System.nanoTime();         System.out.println(Arrays.toString(new BubbleSort().bubblesort(n)));         long endTime = System.nanoTime();         System.out.println("bubblesort : " + (endTime - startTime));     } }   The optimized bubble sort does this:   compare & swap 4,3; compare & swap 4, 2; compare & swap 4, 1; start again  compare & swap 3, 2; compare & swap 3, 1; start again  compare & swap 2, 1; done    From Wiki i see that worst case analysis is O(n^2). how they came to a conclusion that the worst case analysis of this algorithm is O(n^2). I want to see this programmatically on how they are coming to worst case analysis of a giving algorithm.  The algorithm does EXACTLY (n^2) operations from what i understand, is there a way to programmatically get the result?


What characters are valid in a Java class name? What other rules govern Java class names (for instance, Java class names cannot begin with a number)?


My localhost is Apache Tomcat. The server is not accepting connections and I am getting error message      connection to localhost refused   on GeoServer and PostgreSQL 9.5 on port 5432. I used the postgresql.conf editor that is built into pgAdminIII to edit the postgresql.conf configuration file to change the 'listen_addresses' parameter where it was already set to "*" for listening to all available IP addresses.   This is the error message displayed on PostgreSQL:


Can someone explain to me why in .NET 2.0 if I have an interface, IPackable and a class that implements that interface OrderItem, when I have a method that takes in a List<IPackable>, passing in a list of List<OrderItem> does not work?    Does anyone know how I could accomplish this functionality?  Code:  public interface IPackable {         double Weight{ get; } }  public class OrderItem : IPackable   public List<IShipMethod> GetForShipWeight(List<IPackable> packages) {    double totalWeight = 0;    foreach (IPackable package in packages) {         totalWeight += package.Weight;    } }   The following code does not work.  List<OrderItem> orderItems = new List<OrderItem>(); List<IShipMethod> shipMethods = GetForShipWeight(orderItems);


How to bump a question with no useful answers?

My question:   It has two answers, but neither one answers my question. (Note, also, that both answers are from the same user) Is there any way I can get more people to see other than starting a bounty? Although I've edited it, I have not seen additional activity, nor have I seen it on the front page.


Why does sending a process to background set $? to a non-zero value?

I've just noticed that sending a foreground process to background with Ctrl-Z sets the $? variable to a non-zero value. Why is this the case?  This behavior is bothering me, because I wanted to have a terminal prompt which changes color when a command errors, and I did this following . However, this also means that if I'm working in Vim, everytime I send it to background with Ctrl-Z the prompt changes color as if something went wrong.


Login with Facebook using Stack Exchange Android App

I just downloaded the Stack Exchange app from Play Store and when I tried to login there was no option to login with Facebook, am I missing something? Is it connected with OpenID?


What's the name of One Piece's principal character?

In the Brazilian subtitle, he was first called as Ruffy, but in the half of Enies Lobby/Water 7 Saga he started being called as Luffy, so I'm interested in knowing what is his name.


$$\int\sqrt{x^2+1}dx$$ I've been attempting this problem for days and I've made very little progress. I understand that I should substitute $x=\tan(x)$ and $dx=\sec^2(x)dx$ but beyond that I am very much lost.


Use of the prefix "non-" on compound words

What is the correct way to apply the prefix "non-" to negate a (maybe dashed) compound adjective?  Suppose that we want to negate a generic compound adjective "adjective1 adjective2". In this case:   "non-adjective1 adjective2" looks a bit ambiguous since the scope of the prefix "non-" is at least unclear (in fact seems to affect only adjective1). "non-adjective1-adjective2" also looks unclear to me since the dashes seem to act at the same level, which is not true (yes, you can claim a precedence order from right to left, but I am not sure that this is canonical). So, the less ambiguous option should be something like "non-(adjective1 adjective2)" or "non-(adjective1-adjective2)", which may seem a  bit too verbose.   Which of the previous options is more correct/convenient? Is there any general consensus (or better alternative) on how to negate compound adjectives?  Edit.- My question is not on whether or not to use double hyphens, the question is on how to make clear the scope of the negation of the prefix "non-". Normally my doubts arise in a mathematical context. An example could be "finitely generated" which, by the way, is an absolutely standard adjective in mathematics.  Edit2.- I just realized about a missing possibility which may be the best option:   "non adjective1-adjective2"   In this case the scope of "non" is clearly the next word (which is what I want to negate) and is neat enough. Is this form (using the particle "non" as a separate word without hyphen) admissible?  Just to summarize for the given example "finitely generated" the options are:   non-finitely generated non-finitely-generated non-(finitely generated) or non-(finitely-generated) non finitely-generated   I prefer the last one but I am not sure whether it is formally admissible.


How can I have a custom projection matrix?

I want to use a different style of projection, to achieve this effect:    I know how to create a projection matrix for it, but I don't know how to set that matrix on blender. How is it possible?


Array of Timers with a parameter inside the event

I got several devices which send a TCP or POST message each minute. I need to alarm whenever a device stop sending messages after one hour.   I thought about creating one Timer for each device and restarting it whenever a message is received. If the event triggers, call a method with the corresponding ID of the device associated to the timer and generate the alert.  The problem is that I can't find a way to pass fixed parameters to the Timers. Every method I tried somehow the chosen parameter gets replaced the same for every timer.   Is there a better approach? Or which is the correct way to pass parameters to the elapsed event of the timer?  Thanks,  Edit:  This code prints always 5, I need it to print 1 2 3 4 5 (doesn't matter the order)      private Timer[] timers = new Timer[5];     private void button6_Click(object sendera, EventArgs ee)     {         for (int i = 0; i < timers.Length; i++)         {             timers[i] = new Timer(1000);             timers[i].Elapsed += (sender, e) => { HandleTimerElapsed(i); };             timers[i].Start();         }     }      static void HandleTimerElapsed(int i)     {         Console.WriteLine(i);     }


How do I create a random post that will last for a day

How do I create a random post but it shouldnt be change when the page is refreshed   I want a random post that will last for a day and after 24 hours or a day,  it will change randomly the post ,  will be that possible? or are there a plugin that exactly does that ,   actually what Im trying to create is like a "Random Tip For the Day", you know something like that  I hope someone understand my question  please help,any help will be appreciated.


Why do we even need profile when we have permission sets?

A profile also provides permissions that defines how a user can access records whereas a permission set is also the same. I know a profile is more like a global feature but even a permission set can have many users. what is the key use of using a profile over permission set?


Do particles in a black hole stay in constant orbit?

Would particles behave the same way as a satellite orbiting earth, only far more compact and rapid correlating to the gravitational force of the black hole?


I am studying for an exam and came upon the problem of solving the linear congruence $10 x = 15 \pmod{45}$.  I am stuck as the $10$ and $45$ are not coprime but have the $5$ as a common factor.


If I used lazy loading with Ajax, then am I right in saying that Google will not see the content in the lazy load?  An example is if I have a part of my site featuring products towards the bottom of my homepage, but this section doesn't load until the user scrolls to it. Therefore in the source code of the page this would not be displayed nor would it be displayed in Google's cache.  So is there a trade off with lazy loading? The site will download faster, but loses some optimization? Do you just need to be careful what to choose in the loading?


I have a netbook (no cd drive) and I currently run windows 7 on but I want to convert to something new.  Here re my specs.  Processor :AMD Athlon Neo Processor MV-40 1.60GHz RAM: 4GB (2.97 useable) System Type: 32-bit   I managed to install 7 on it via bootable usb drive.  So can anyone suggest what will run good?  All I really use my pc for is minor photo editing, browsing, and playing music.


Converting a minecraft pc map to xbox map that has command blocks

I want to transfert my PC minecraft world to Xbox. It has command blocks that do various things like teleporting. My questiln is, can I convert, and will the command blocks still work?


How to fix a toilet which continuously runs

Yesterday I saw the water of my toilet kept running. The gap at the arrow did not close.  May I know what should I buy to fix it?


Why are my two virtual machines getting the same IP address?

I have two virtual machines both running on a Linux host (Fedora 16).  I set both adapters as attached to NAT.  When I boot them up they both have their default gateway set to 10.0.2.2.  They also both have the same IP address (10.0.2.15). They are both on the same adapter (adapter 1). I don't know why they are getting assigned the same IP address, and shouldn't the default gateway be 10.0.2.1 since the subnet address is 10.0.2.0 and the netmask is 255.255.255.0. Is there something I am missing, has this happened to anyone before? How do I get the VirtualBox DHCP working properly?


I've searched tag edits here on meta but found nothing.  I now have to ability to accept/refuse user edits. Most of those I saw are users which just modifies the tag of a question. Should I accept those edits or refuse them as too minor?


How to create a fire/light effect in a spaceship engine

I was wondering how I could create this effect in blender for an animation:      How can I make this bloom effect?


How to find a generator of a cyclic group?

A cyclic group is a group that is generated by a single element.  That means that there exists an element $g$, say, such that every other element of the group can be written as a power of $g$.  This element $g$ is the generator of the group.  Is that a correct explanation for what a cyclic group and a generator are? How can we find the generator of a cyclic group and how can we say how many generators should there be?


Prove this inequality, if $x_1^2+x_2^2+x_3^2=1$: $$ \sum_{i=1}^{3}\frac{x_i}{1+x_i^2} \le \frac{3\sqrt{3}}{4} $$  So far I got to $x_1^4+x_2^4+x_3^4\ge\frac{1}3$ by using QM-AM for $(2x_1^2+x_2^2, 2x_2^2+x_3^2, 2x_3^2+x_1^2)$, but to be honest I'm not sure if that's helpful at all.  (You might want to "rename" those to $x,y,z$ to make writing easier): $$ \frac{x}{1+x^2}+\frac{y}{1+y^2}+\frac{z}{1+z^2} \le \frac{3\sqrt3}4$$


Which lens is good for beginner with Nikon D3200? Is there any other better lens to replace combo kit or should I stick with the combo kit only?


An ectopic pregnancy is twice as likely to occur when the pregnant woman is a smoker than when she is a nonsmoker. If 32% of women of childbearing age are smokers, what percentage of women having ectopic pregnancies are smokers?  Attempt: Given the women has had an ectopic pregnancy, we can condition on her being a smoker. So I believe the prob we want in this question is P(woman smoke| she had ectopic preg).  Denote ectopic preg by EP  This is equal to P(EP and woman smoke)/P(EP), which can be rewritten as P(EP|woman smoke)/(P(woman smoke)P(EP)) by Bayes.  Then taking into consideration data in the question, I said the above can further be written as 2P(EP|woman not smoke)/(P(woman smoke)P(EP)).           (1)  Using the total Prob law on P(EP) gives P(EP) = P(EP|woman smoke)P(woman smoke) + P(EP|woman did not smoke)P(woman did not smoke), which is equal to P(EP|woman did not smoke)[2P(woman smoke) + P(woman did not smoke)]  Subbing this into (1)  and cancelling gives 2/(.32)(0.64 + .68) which is > 1. There is probably a simpler method to mine, but I also want to know where I went wrong. Many thanks.


Deleted questions aren't listed on your questions page - before shutting down your browser, you can still "undelete it".  After shutting down though, the page is lost - is there a way to access them?


I have this night scene and it's pretty clear that something is not right. The lights are strange, like muffled, making everything grainy. Does anyone have an idea that can fix this?


Decision tree not using all features from training dataset

I have built CART model using sklearn. I'm having total 6 features in training dataset and passing all of them in fit function. I've tested both criteria Gini and entropy. But whenever I plot tree using graphviz, the tree uses only 3 features in case of Gini and 4 features in case of entropy. I've also implemented CART from scratch for cross check purpose and still, Gini uses 3 features and entropy uses 4 features.  Everything else is working fine. I'm getting the result as expected in test dataset with accuracy 97%. I just want to confirm that, is this normal? Does cart chooses best features only and ignore other features to avoid the wrong classification? Also, my dataset is quite small in size, only 220 records.


Finding the remainder of a 6 degree polynomial and polynomial itself. Using some algebraic or graphical techniques.

In a six-degree polynomial, say $f(x)$ we have, $$f(1)=1, f(2)=1/2, f(3)=1/3, f(4)=1/4, f(5)=1/5, f(6)=1/6, f(7)=1/7$$ Find $f(8)$ and the polynomial $f(x)$.  This problem comes all the way from the book of an Indian Author. I tried solving the problem using algebra (definitely not by substituting values in the polynomial and solving for SIX variables). According to me, this question is definitely having a more rational approach. I tried using algebraic techniques by manipulating $f(x)$ writing it in terms of a new polynomial say $h(x)$ but in vain. So can anyone of the bright minds out there could help me in attempting the question. It would be a great help.


Where does the automated/automatic come from in ADR?

I know there are recent advancements in software that allow for automatic/automated dialogue replacement but in films that predate this technology they still use the same terminology and as far as I know it was a completely manual process.  Where did this terminology originate, and what is so automatic/automated about manually dubbing over voices?


XUbuntu 16.04 cannot detect Video card correctly

Update:  It seems infinite login is a Ubuntu 16.04 problem. There is no infinite login on Xubuntu 16.04, but I will encounter Nvidia card problem described below.   I also tried Ubuntu 17.10. Ubuntu 17.10 actually can detect my Nvidia card. However after installing the driver, whenever I boot my machine, it will get stuck on loading, with black screen flickering.   I described in my answer that I switched to use Xubuntu 16.04. I managed to install Nvidia driver through PPA, and I did not get stuck on the log in screen. I have set secure boot to off. I now switch to use a proprietary driver. This way I can open Nvidia settings, but Nvidia settings does not list any GPUs.  However, something is still wrong with my graphics card.    I did   $ sudo lshw -C display  *-display                   description: 3D controller    product: NVIDIA Corporation    vendor: NVIDIA Corporation    physical id: 0    bus info: pci@0000:01:00.0    version: a1    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress bus_master cap_list rom    configuration: driver=nvidia latency=0    resources: irq:16 memory:ec000000-ecffffff memory:c0000000-cfffffff memory:d0000000-d1ffffffioport:e000(size=128) memory:ed000000-ed07ffff  *-display UNCLAIMED    description: VGA compatible controller    product: Intel Corporation    vendor: Intel Corporation    physical id: 2    bus info: pci@0000:00:02.0    version: 04    width: 64 bits    clock: 33MHz    capabilities: pciexpress msi pm vga_controller bus_master cap_list    configuration: latency=0    resources: memory:eb000000-ebffffff memory:80000000-8fffffff ioport:f000(size=64) memory:c0000-dffff  $ lspci 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)  In Software & Updates the graphic card is unknown:   With PPA installed open source Nvidia drivers, when run nvidia-settings:  Xlib:  extension "GLX" missing on display ":0.0". ERROR: Unable to load info from any available system  At this point, I cannot:    change brightness either through function keys or through apps, detect or extend to second monitor  Per requested:  $ uname -a      Linux wei-XPS-15-9560 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux  $ dpkg -l nvidia\* | grep '^i' ii  nvidia-384                       384.111-0ubuntu0.16.04.1 amd64        NVIDIA binary driver - version 384.111 ii  nvidia-opencl-icd-384            384.111-0ubuntu0.16.04.1 amd64        NVIDIA OpenCL ICD ii  nvidia-prime                     0.8.2                    amd64        Tools to enable NVIDIA's Prime ii  nvidia-settings                  361.42-0ubuntu1          amd64        Tool for configuring the NVIDIA graphics driver  $ dkms status bbswitch, 0.8, 4.13.0-38-generic, x86_64: installed  nvidia-384, 384.111, 4.13.0-38-generic, x86_64: installed nvidia-384, 384.111, 4.4.0-119-generic, x86_64: installed      Original problem:  I know that this may have been asked numerous times, but none of the solutions I found online worked.  I am running a new XPS 15 9560 with GTX 1080. I installed the Ubuntu 16.04 today, following this  .  In particular, I followed the above instruction to use PPA to install a Nvidia graphics driver. I also disabled secure boot on my machine. I got into an infinite login loop no matter which driver I use. I can manage to get out of the login loop by . I could not get the Nvidia driver to work no matter how.  I have looked at .xsession-erros:  line 1: Xlib:: command not found line 2: Xlib:: command not found line 3: openConnection:: command not found line 4: cannot: command not found line 5: syntax error near unexpected token '(' line 5: 'upstart: gnome-session (Unity) main process (1497) terminated with status 1   I have also tried the method mentioned in this post: . I did have  -rw-------  1 root root   53 Nov 29 10:19 .Xauthority drwxrwxrwt 15 root root 4096 Nov 30 04:17 /tmp.   However changing ownership (chown) of .Xauthority and .ICEauthority did not help. I cannot login to either of my account or the guest account.


In a remote CentOS with Bash 5.0.17(1) where I am the only user via SSH I have executed read web_application_root with: $HOME/www  or with: ${HOME}/www  or with: "${HOME}"/www  or with: "${HOME}/www"  Aiming to get an output with an expanded (environment) variable such as MY_USER_HOME_DIRECTORY/www. While ls -la $HOME/www works fine, ls -la $web_application_root fails with all examples; an error example is: ls: cannot access '$HOME/www': No such file or directory  I understand that read treats all the above $HOME variants as a string (due to the single quote marks in the error) and hence doesn't expand it. How to expand variables inside read?


Login loop after installing NVIDIA driver in Ubuntu 16.04

I have got Ubuntu 16.04.1 as OS and the graphics card GeForce GTX 780M. I have been trying to install the NVIDIA driver for my graphics card. But after installation I get login loop.  I downloaded the driver from   I have looked at the similar questions (like  and ) here but nothing helped. I tried:  1) to disable nouveau  2) to install the NVIDIA drivers from ppa:  $ apt-cache search nvidia-* | grep -P "^nvidia-[0-9]+\s" nvidia-304 - NVIDIA legacy binary driver - version 304.131 nvidia-331 - Transitional package for nvidia-331 nvidia-340 - NVIDIA binary driver - version 340.96 nvidia-346 - Transitional package for nvidia-346 nvidia-352 - Transitional package for nvidia-361 nvidia-355 - NVIDIA binary driver - version 355.11 nvidia-358 - NVIDIA binary driver - version 358.16 nvidia-361 - NVIDIA binary driver - version 361.45.18 nvidia-364 - NVIDIA binary driver - version 364.19 nvidia-367 - NVIDIA binary driver - version 367.44 nvidia-370 - NVIDIA binary driver - version 370.23   I've tried all of them without a success.  3) to reinstall xorg, xserver-xorg, unity, ubuntu-desktop  4) even to reinstall Ubuntu  But the problem is not solved yet.  Any ideas how to fix it?


Find the coefficient of $x^n$ in $\frac{x^4}{(1-x^2)(1-x)^2}$

I'm solving a combinatorics problem using generating function and reached the following expression: $$\frac{x^4}{(1-x^2)(1-x)^2}$$   How can I expand it to find a general expression for the coefficient of $x^n$?  Any help would be appreciated.


fEE error using Nikon 85mm1.8 with nikon D80 camera

Does the Nikon 85mm 1.8 D work correctly with the Nikon D80 body? I just received mine today and keep getting error reading fEE when the lens is set to all apertures except f/16.


How are Animagi’s animals related to the wizards themselves? I mean, if there’s someone who is really brave, will their Animagus form be a lion (since this is the stereotyped vision of brave) or could they become a very brave beetle? does the magic also incorporate like height, weight, age?


Please revoke badges gained by abusive voting

In  (not feature request), :  ... if we find that people are abusing the system their accounts may get suspended. I would consider that kind of behavior abuse.  Well  sure qualifies. He has 11 Stack Exchange accounts and has in the last day spammed at least 8 of them to gain the Suffrage and sometimes Vox Populi badges. That's over 250 votes† in just a few hours! (And  -- while voting on other user's posts too.) I guarantee that he's not voting on those posts for/by their merits. Here's when he scammed the Suffrage badge per site (while also gaming the Vox Populi on some sites):                      - 2017-03-11 16:23:15Z                     - 2017-03-11 17:41:41Z                     - 2017-03-11 18:08:13Z                           - 2017-03-11 19:25:10Z                  - 2017-03-11 19:55:16Z                               - 2017-03-11 20:00:49Z               - 2017-03-11 20:03:13Z  - 2017-03-11 21:11:40Z  Note that he got the badge on three sites within an 8 minute span (but that might just be job run times). Please revoke badges gained through improper voting. And, maybe also warn/suspend such abusive voters.   † His account vote totals don't show all votes as some serial voting was reversed -- but none of the ill-gotten badges were.


folks! I have a list of lists (actually, imported from PostgreSQL as JSON) that looks like this:  [{'person_name': 'FRAUDSTER_3', 'score': 10.33}, {'person_name': 'FRAUDSTER_5', 'score': 10.11}, {'person_name': 'FRAUDSTER_2', 'score': 10.44}, {'person_name': 'FRAUDSTER_4', 'score': 10.22}, {'person_name': 'FRAUDSTER_1', 'score': 10.55}]   Is there is a neat way to sort it by 'score' value using list.sort or sorted? Probably, lowest score first so I can use pop to get N records with maximum score first.


How do I set up an imported obj with its mtl file in Blender 2.8?

It's not displaying after import. They are both in the same directory.


Is Kylo Ren's fizzling lightsaber blade intended by design?

Everyone should be familiar with how Kylo's main blade differs aesthetically with Anakin/Luke/Finn/Rey's lightsaber blade.  What is the cause of the shaky fizzling effect? The ancient hilt design, or the flawed crystal? If it's due to the crystal, is the use of a flawed crystal intended (Snoke has special reason for this choice of crystal) or unintended (eg. Snoke ran out of good crystals or Kylo broke it somehow)?


Why didn't Escobar's hippos introduced in a single event die out due to inbreeding

Today I read a  about how Pablo Escobar had once imported 4 hippos (1 male, 3 female) into his estate in Colombia for his private zoo. After his downfall, while other species were shipped out, hippos were considered too big to move and expected to not survive. However, to the surprise of all the hippos are thriving and are so numerous that there have been calls to cull them. From the report:  Numbers are projected to only get bigger. [Colombian biologist Nataly] Castelblanco and her peers say the population will reach over 1,400 specimens as early as 2034 without a cull - all of them descended from the original group of a male and three females. In the study, they envisaged an ideal scenario in which 30 animals need to be culled or castrated every year to stop that happening.  My understanding is that since there was only 1 male, the gene pool would be limited and lead to lot of inbreeding in the descendants. This would cause population to not explode because some individuals would be unfit to survive. Why has this not happened in case of hippos? Is it because there are 3 females (probably unrelated to each other) which keeps gene pool large enough? Or can mutations explain this phenomenon? Would results have been different if originally 2 females had been moved and only 1 retained? EDIT - I have just found that  is maybe less than 100 individuals which though big is not massive. EDIT2 - I have edited the question title to keep focus on the hippos although a general answer would be welcome.


How to prove this series is a telescoping series and calculate its addition

In class, they have told us that we need to prove that the following series is a telescopic one by using $ln$ features and to calculate its addition.   It´s the first time we work with them, so I don´t know pretty much about them.     $$\sum_{n=2}^∞ \ln \left(1-\frac{1}{n^2}\right)$$   I also need to prove if it is convergent or not.   Thanks


GDAL grid Not recognizing csv as having geometry

NON-DUPLICATE EDIT: This question is not a duplicate because I have tried the solution presented as the answer to the "original" question and it did not work. See results below.  I am attempting to use gdal.Grid in python to interpolate a .txt or .csv to a raster. I keep getting "ERROR 1: Failed to open datasource 'file.csv'. No point geometry found on layer file, skipping."  How do I get gdal.Grid to recognize the file? Or how do I need to alter the file in order to get gdal to recognize it?  EDIT: Ran ogrinfo twice, both with txt and csv versions. The results were the same each time, with the only difference being the extensions each time matched what was in the vrt and what the file was. ___Stupid question, if a text file is structured like a csv you can usually just change the extension to csv and programs will handle it, I've been doing that when "changing format", could this be part of the issue?  Below, column 1 is x, column 2 is y, column 3 is z but they do not have headers.  Data file structure:  555000,66600,001 555003,66610,002 555002,66601,003   VRT file  <OGRVRTDataSource>     <OGRVRTLayer name="file">         <SrcDataSource>CSV:file.csv</SrcDataSource>         <GeometryType>wkbPoint</GeometryType>         <GeometryField encoding="PointFromColumns" x="field_1" y="field_2" z="field_3"/>     </OGRVRTLayer> </OGRVRTDataSource>   Relavant python code  rasname = str(file) rasname = rasname.split('\\') rasname = rasname[-1] rasname = rasname.strip('.txt') vrtname = rasname + '.vrt' vrtname = input_dir + '\\' + vrtname  outputfile = output_dir + str(rasname) + '.tif'   gridopt = gdal.GridOptions(format='GTiff',algorithm='invdist:power=2')  output = gdal.Grid(outputfile, vrtname, options=gridopt)   Results of ogrinfo  INFO: Open of 'file.vrt' using driver 'OGR_VRT' successful. Warning 1: Cannot open datasource 'file.csv' in update mode. Trying again in read-only mode Error 1: Failed to open datasource 'file.csv'  Layer name: file Geometry: None Feature Coutn: 0 Layer SRS WKT:  (unknown)


Affordance discovery on clickable elements: icons vs buttons

The proposed duplicate is symbol plus label.  This is button versus symbol which is similar. I was hoping for advice on how to get users to realize the symbols are clickable. Putting a label next to the symbol is not going to help the user realize it is clickable.  The question is not how to get them to recognize the symbol but to realize they are clickable. In WPF users are used to clicking buttons (not text or symbols)   This is for a document management application This is a thick client (WPF) not a browser application But it will have a sister browser application In demo we get comments the screen looks busy The button line and image / icon lines are two options (will go with only one of those options) Search, browse history back, browse history forward, snapshot I like the image / icon Will users figure out they are clickable? What can I do to help the user figure out they are clickable?      This is the top left of here. There are 6 click symbol/icon. What make a user know the symbols are clickable?    Sorry if I wrote poor question but duplicates and answers are not addressing my question. What can I do to help the user figure out the symbols clickable? This may be a better perspective.  There a 6 clickable symbols on this page. How do I get users to recognize the symbols are clickable (even if they don't know what it means)?  From the aswer from Devin I am trying to represent the context of navigation bar. This is were I am currently:  I am not UX trained but I don't like the label. I think it is too much noise/clutter. It makes identification harder. It is not sexy.  They can learn the function of a button in a mouse over and will quickly memorize.


Postfix + sasl method rimap strips domain name from user

I'm setting up a mail server with Postfix and Courier-IMAP. I'd like to do SMTP authentication with rimap, so that I don't have to maintain two user DB's. The problem I'm having, is that the username postfix passes is stripped of its domain name. It should be 'john@domain.com' and it becomes 'john'.  Logging into the IMAP server works, so does testsaslauthd -u john@domain.com -p password.   Using smtpd_sasl_local_domain (setting or unsetting it) doesn't make a difference.   doesn't seem to be it. Even when I try to login with uasdfer@asdfasdf it strips the domain part off.  Postfix sasl:  # cat main.cf |grep -i sasl smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination reject_rbl_client zen.spamhaus.org check_policy_service unix:private/policyd-spf   Sasl config:  # cat saslauthd |grep -v "#"|grep -v -E "^$" START=yes DESC="SASL Authentication Daemon" NAME="saslauthd" MECHANISMS="rimap" MECH_OPTIONS="127.0.0.1" THREADS=5 OPTIONS="-c -m /var/run/saslauthd"   Server versions:   Debian 6.0.7 Postfix 2.7.1-1+squeeze1 Courier 4.8.0-3


Colorizing lines in a longtable, but not the caption

I'm trying to colorize lines in a longtable, which is working except it is colorizing also the caption, like this -  \documentclass[a4paper,12pt]{report} \usepackage[table,hyperref,dvipsnames]{xcolor}  \rowcolors{2}{green!25}{}  \begin{longtable}{| p{.3\textwidth}| p{.7\textwidth}|} \hline cell one & cell two \\ \hline cell three & cell four \\ \hline cell five & cell six \\ \hline cell seven & cell eight \\ \hline \caption{Just a test table} \end{longtable}   This always colorizes the caption line if there is an odd number of lines. This is in emacs 24.5.50.1, and utilising auctex in debian 8.   How can I get it so that the caption is always uncolored please?


How would one increase the height of the \fancyhead{} so that the text in the main body, doesn't collide with the title?  I have the following MWE:  \documentclass[a4paper,10pt,oneside]{article} \usepackage{fancyhdr} \usepackage[english]{babel} % Required to compile in Windows \usepackage[letterspace=150]{microtype} \usepackage{fontspec}  \pagestyle{fancy} \setmainfont {Adobe Garamond Pro} % Main document font  \renewcommand{\headrulewidth}{0pt}  \fancyhead[C]{     \addfontfeature{LetterSpace=20.0}\fontsize{30}{30}\selectfont\scshape Foo Bar Camp Names\\[5mm] }  \begin{document} \section*{Foo} \end{document}   However, the section foo starts right in the header, therefore I want to add some vspace in between header and main body. I tried \vspace, \bigskip, and all other sorts of vertical space commands, but none worked.  Updated MWE:  \documentclass[a4paper,10pt,oneside]{article} \usepackage{marvosym} % Allows the use of symbols \usepackage[english]{babel} % Required to compile in Windows \usepackage[letterspace=150]{microtype} \usepackage{fontspec} \usepackage{fancyhdr} %\usepackage[headheight=110pt]{geometry}  \pagestyle{fancy} \setmainfont {Adobe Garamond Pro} % Main document font  \renewcommand{\headrulewidth}{0pt} \setlength{\headheight}{110pt}   \fancyhead[C]{     \addfontfeature{LetterSpace=20.0}\fontsize{30}{30}\selectfont\scshape Foo Bar Camp Names\\ }  \fancyfoot[C]{     \lsstyle     \scshape{         \renewcommand{\\}{\ {\large\textperiodcentered}\ }         Foo Street \\Bar\\Foocountry     }\\     {\Large\Letter} foo@bar.com \ {\Large\Telefon} (+001) 000-0000000 }  \begin{document} \date{} % hide date \section*{Foo Bar} \end{document}


How to configure multiple domain on single hosting

I would multiple domain on single hosting. My project files inside this hosting plan. I run same server.  How to multiple hosting (vhost) acccess to my project files?  For example: my project files in:  /var/www/virtual/myproject.com/htdocs   and clients...  /var/www/virtual/myclient1.com/htdocs /var/www/virtual/myclient2.com/htdocs /var/www/virtual/myclientN.com/htdocs   When access to www.myclient1.com run project file.  Please help me.


I'm trying to uninstall Ubuntu 14.04 from a dual boot config. I deleted all partitions used by it. There was one partition called OEM partition (A second one, pretty sure Ubuntu made this). I deleted this using EaseUS Partition master.  I made a Windows 8.1 boot USB, used the repair CMD, and tried /fixboot and /fixmbr. I also changed the boot order to windows and deleted ubuntu from the boot order.  I have a strong feeling GRUB's not done with me yet. Is this correct?   The main reason I uninstalled Ubuntu was to make Windows run faster. I do not want to sacrifice on Windows' speed. I do not want to get into technicalities, but how do I remove Ubuntu completely? (This includes everything else it installed : GRUB, GRUB rescue, etc, etc).  I want to remove every last trace of my Ubuntu installation that reduces the performance of Windows.  How can I go about this?


Which "Earth" is seen in "Crossroads, Part II"?

At the very end of "Crossroads, Part II", after Starbuck comes back, we see "Earth". At the time, we assume that this is the same "Earth" she has just been speaking about. However, at the end of the series finale "Daybreak", the fleet arrives at a second planet they also call "Earth". This corresponds to the planet we call home IRL. Let's call them Earth 1 and Earth 2.  I always assumed that the "Earth" we saw in "Crossroads, Part II" was still "Earth 1". However, in the episode, one can clearly make out continents corresponding to our real Earth, for example the continent of North America. As "Earth 2" corresponds to our real-life Earth, it presumably has the same continents.  Does this mean that Earth 1 and Earth 2 are geographically the same? Or does it mean that the planet we saw in "Crossroads, Part II" is actually "Earth 2"?  I'm interested in any in-universe or out-of-universe (e.g. interviews etc) explanations.


Is there a (La)TeX distribution running on iPad?


RealTek RTL810xE PCIe on Toshiba Satellite C55 issues

Having issues with setting up the wireless network. Ubuntu system settings says that there's "No Wi-Fi Adapter Found". Downloaded the Ubuntu driver from the RealTek website but the terminal keeps giving me an error message and I'm fairly certain I'm not using the proper commands.  Posted below is the inxi -Fxz info:   System:    Host: Freedoms Kernel: 5.0.0-23-generic x86_64 bits: 64 gcc: 7.4.0            Desktop: Gnome 3.28.4 (Gtk 3.22.30-1ubuntu4)            Distro: Ubuntu 18.04.3 LTS Machine:   Device: laptop System: TOSHIBA product: Satellite C55-C v: PSCP6U-02J01E serial: N/A            Mobo: FF50 model: 06F5 v: Type2 - Board Version serial: N/A            UEFI: INSYDE v: 5.20 date: 09/15/2015 Battery    BAT1: charge: 24.6 Wh 81.9% condition: 30.0/38.5 Wh (78%)            model: Panasonic PA5185U-1BRS status: Discharging CPU:       Quad core Intel Pentium N3700 (-MCP-)             arch: Airmont rev.3 cache: 1024 KB            flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12800            clock speeds: max: 2400 MHz 1: 589 MHz 2: 650 MHz 3: 1012 MHz            4: 1160 MHz Graphics:  Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller            bus-ID: 00:02.0            Display Server: x11 (X.Org 1.20.4 ) driver: i915            Resolution: 1366x768@59.99hz            OpenGL: renderer: Mesa DRI Intel HD Graphics 405 (Braswell)            version: 4.5 Mesa 19.0.2 Direct Render: Yes Audio:     Card Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Def. Audio Controller            driver: snd_hda_intel bus-ID: 00:1b.0            Sound: Advanced Linux Sound Architecture v: k5.0.0-23-generic Network:   Card-1: Broadcom and subsidiaries BCM43142 802.11b/g/n            bus-ID: 01:00.0            IF: N/A state: N/A mac: N/A            Card-2: Realtek RTL810xE PCIE Fast Ethernet controller            driver: r8169 port: 1000 bus-ID: 02:00.0            IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter> Drives:    HDD Total Size: 1004.3GB (0.9% used)            ID-1: /dev/sda model: HGST_HTS541010A9 size: 1000.2GB            ID-2: /dev/mmcblk0 model: N/A size: 15.9GB            ID-3: USB /dev/sdb model: DISK size: 4.1GB Partition: ID-1: / size: 398G used: 6.7G (2%) fs: ext4 dev: /dev/sda5 RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present Sensors:   System Temperatures: cpu: 46.0C mobo: N/A            Fan Speeds (in rpm): cpu: N/A Info:      Processes: 250 Uptime: 12 min Memory: 1546.5/3854.5MB            Init: systemd runlevel: 5 Gcc sys: 7.4.0            Client: Shell (bash 4.4.201) inxi: 2.3.56     Any help would be greatly appreciated! Thank you all in advance!


How to deal with duplicates between different SE communities?

What if a certain question is asked on a specific SE community, but has a duplicate on a different SE community. Should it be possible for those questions to be linked to each other? Or how should they be dealt with? I think this happens specifically with the meta parts on SE, where people usually visit the meta page of the community they frequent most, instead of going to the general meta SE.  For example, I personally frequent the Anime & Manga SE and I just noticed , which is an obvious duplicate of .  How should this situation be dealt with best?


Why does du and quota results not match?

I have exceeded my disk quota on a system which I do not have root access. I tried removing old files but am still over. I tried runing du to find where I am using up all my space but it reports I am using very little.  Results from quota     /home/1234$ quota -s    Disk quotas for user 1234 (uid 1234):          Filesystem   space   quota   limit   grace   files   quota   limit   grace        cslab:/home   4519M*  4096M   5120M   09:47    6155       0       0    From du     /home/1234$ du -mad 1    ...    936     total   I don't understand why quota says I am using 4.5GB while du only counts .9GB. I also checked for files I own in /tmp and there was 50MB worth of files there. Where could the other 3.5GB of files be? Is it possible the quota system is wrong and needs reset?


Export an Excel spreadsheet to fixed-width text file?

Excel has the functionality to import fixed-width text files where it presents a dialog that lets you choose where the begins and ends of fields are which it puts into columns.  Does it also have functionality where, given an existing spreadsheet, you can export to a fixed-width text file?    If so, how do I access this? I have tried using Save As and choosing Text File but it seems to only save as Tab-delimited which doesn't help me.  This is Excel 2003 if it matters.


Do MacBooks have a true "Hibernate" option?

I've recently switched from Windows to a MacBook pro. In Windows, there are the following shutdown options:   Standby - the machine goes into a "light sleep" from which it can awaken very quickly (like, in a few seconds), but plenty of energy is consumed. Hibernate - the OS dumps the current system state (including the contents of the RAM) to a file, then turns the machine off. Wakeup takes longer than from standby, but there is no latent energy consumption.  Shut down - the OS shuts down, and the machine is turned off.    In OS X, what I can see is   Sleep - seems equivalent to standby, or an even lighter form of sleep as Mail seems to even continue to poll for new email?  Shutdown and restore all apps on next start - turns off machine, seems to start the OS from scratch and restart alls apps - from what I can tell, it's not hibernation Shutdown and don't restore apps - shut down   is this correct, and does OS X not have a true "hibernate" mode that can write its state to disk? Because that's what I'm looking for really. There's talk of a "Safe Sleep" mode on the Internets, but I can't see it in my OS X menu. Is it hidden in 10.7?


How write a periodic number as a fraction?

What I call as a periodic number is for exemple  $$0.\underbrace{13}_{period}131313...$$ or   $$42.\underbrace{465768}_{period}465768465768.$$  So how can we put theses numbers like a integer fractional, i.e. of the form $\frac{a}{b}$ with $a,b\in\mathbb Z$ ?


I haven't used linux in a long while. This version of Ubuntu is very different from the one i've used in the past. I was looking for the command line and have no clue where it is.  Also, where are all the apps located at? I downloaded and installed Chromium, but I don't know how to open it.


How can I join/concatenate multiple Videos with different video formats / encoding using mencoder or ffmpeg using command line in linux?  I have multiple videos in different fps (eg. 29 and 19) and encoder (eg. raw and h264), but resolution is the same to all of these video eg. 1280x720.   How can I merge them into a single video file?  Kdenlive with full quality make a huge file (from 2.7gb to 8gigas), and quality is very bad from the initial one.


Does only one John de Lancie Q exist in the multiverse?

As shown in various episodes ("Mirror, Mirror," "Phantasms," etc.), other universes exist, oftentimes containing the same characters, albeit in different situations than in the prime universe. I'm curious, though, whether individuals that apparently exist outside of the multiverse, such as members of the Q, would not be duplicated elsewhere. It seems reasonable to me, but I'm not sure.


What's the point of having a constructor in an abstract class in Java?

If you are never going to instantiate an object from that class, when are you going to ever use its constructor? Sorry if I come off as ignorant. I just started a class on Java at my high school.


Upgrade to final release of Yosemite from gold master?

I'm using developer preview of Yosemite for a while, now that Yosemite is released I want to have it installed on top of my Yosemite partition.  Clicking on "Download" in App Store Yosemite page, I see that I am prompted with an error note, saying :     Os X v10.10 is already installed on this computer. Use the Updates page to install the 10.10 update or if you would like to download the full OS X installer click Continue.   There's only two buttons; "Learn More" and "OK". OK does nothing, and there's no relevant update note regarding switching to full version of Yosemite so it's not rleevant neither.  How can I download full, final OS X Yosemite 10.10 release and install it on top of preview partition?


i dont know what's it called in the CG world so here's a screenshot from payday 2 AK-47. it's really just a texture, not an actual holes and bolts.    how do you make those in blender ?


New attack ship captain is finally accepted by his crew when he reveals he's sterile

Earth is at war with alien attackers.  (I believe most of the conflict takes place in the Jovian system at the time of the story.)  Earth has suffered terrible losses, and the alien ships are incredibly difficult to destroy.  The most effective human ships are essentially crewed single-shot missile carriers with a moderate chance of success and a low chance of survival.  The protagonist is being shipped out to captain a new missile ship; as he passes through Earth-based facilities, his observations tell us that most non-combatant roles are filled by women, and he notes approvingly of every pregnant woman he sees.  (It is made clear that the birth rate is being pushed as high as possible to make up losses from the war.)  He arrives at his ship, and meets his crew.  They are very hostile to him.  It seems that his crew is composed of something like clones, except I recall them being described more as partly regenerated from salvaged body parts.  But they are patterned after famous heroes of past battles, somehow gaining some of the capabilities of their prototypes.  Part of the reason they are hostile is that as created people they are second-class citizens.  In confrontation with the captain it is revealed that they are looked down on because they are all sterile, thus only useful as cannon fodder.  The captain finally wins some sympathy from his crew when he reveals that he's been sent there because he is also sterile (some accident or previous battle injury) and so he is also no more than cannon fodder.  The story closes with the crew agreeing to try to fight hard under him, because it would be great to have a few more of him around the mess.  I recall this being a short story, or at least no more than novelette length.  I would probably have read it approximately 30 years ago, in a paperback borrowed from a cousin.


What zoom 70-300mm lens should I get for my Nikon D3300?

I'm a total beginner when it comes to photography. I have a Nikon D3300, and want to branch out to a zoom lens. I did a little research and found a lens I wanted, the 70-300mm f/4-5.6G. I found one on eBay that was selling for £50. I was just about to bid when I read that the autofocus of this isn't compatible with my camera.  Can anybody help me out as to which Nikon zoom lens, 70-300mm, to look for that can autofocus with my camera? I don't actually have any idea what the f/4-5.6G means. I know the 70-300mm is the zoom length.  As you can see I'm a complete beginner, any help would be appreciated so that I don't have to keep looking at different posts on eBay to see if the lens I find is compatible and often not finding it.


Show: Quotient space is homeomorphic to unit sphere

An equivalence relation on $\mathbb{R}$ is given by   $$ x\sim y\Leftrightarrow x-y\in\mathbb{Z}. $$   Show that the quotient space $(\mathbb{R}/{\sim},\tau_1)$ is homeomorphic to $(S^1,\tau_2)$, where $\tau_1$ is the quotient topology and $\tau_2$ the induced topology.   I have to find a bijective continuous function $$ f\colon \mathbb{R}/{\sim}\to S^1 $$ with $f^{-1}$ continuous.  Do you have an idea how to find such a function?


When to use commas in a sentence that starts with "finally", "additionally", etc.?

If I have a sentence that starts with additionally, finally, consequently, etc. do I always have to put a comma after it? Or is there a different rule?


I want to install the PyCharm IDE by JetBrains for Python (free community edition).  I managed to , but I do not know how to install it. Can you please help me?


Thinking of a function that is continuous only at one point

Create an $f(x)$ that is continuous only at $x = 0$.   In other words, $f(x)$ is discontinuous at every other point. Maybe they are scattered points. However, for $f(x)$ to be continuous at $x = 0$, its limit as $x$ approaches zero must be $f(0)$. But even then, I cannot imagine such a function.  Here is another approach. Consider the function $f(x) = (cx)^n$. If $c$ and $n$ are very large, it acts like two vertical asymptotes squeezing from the sides very near $x = 0$, so that $f(x)$ is continuous only at $x = 0$.  Is my thinking correct? Are there any other ways that we can create such a function?


Why is a coherent state an eigenfunction to the annihilation operator?

In class when we talked about the harmonic oscillator in QM we noticed that the eigenfunctions to the annihilation operator are coherent states in the sense that they have minimum uncertainty in momentum and position. My question is: What is the physical meaning behind this? Why are coherent states eigenfunctions to the annihilation operator and: Was this only a lucky punch and a special property of the harmonic oscillator or is this true for more physical problems?


Show that $\text{End}_R(R_R, R_R) = R$ as rings.

The standard way of showing that two objects are isomorphic is by constructing an invertible function between the two. How can I do that for these two objects? I think I need a hint to construct such an isomorphism.


Is there an official Android "Google" ROM?

So I have an old unlocked phone and I'd like to load up my own OS.  I've seen some mods out there.  CyanogenMod seems to be the most popular.  However, I was curious if I could just install a pure untouched version of the OS -- as distributed by Google. I seem to remember being able to download a clean compiled version of the Android OS.    Does Google distribute any binaries like this, and if not, is there someone out there that does?    Additionally, is this even worth trying?  These days is it necessary for Android to be packaged with special drivers and such for all of the different hardware out there?