I download latex bibliography style file from .   Sample Code:  \documentclass[twocolumn,conference,a4paper]{IEEEtran}  \usepackage{amssymb,amsmath,epsfig,latexsym,graphicx,bm,multirow} \usepackage[left = .56in, top=.75in,right=.56in,bottom=0.8in,nohead,nofoot]{geometry} \usepackage{epstopdf} \begin{document} \maketitle \bibliographystyle{IEEEtran} \bibliography{IEEEabrv,IEEE} \end{document}   The problem is that references of one column are move to other column and some moves out of page's margin. Example shown in below fig:      Please help to solve this problem.

I am trying to include long URLs in a bibliography, but those often overflow into the margin of the document.  I have seen a number of questions about breaking URLs in bibliography, but after trying every solution, I have not found anything that completely solves my problem. There are apparently a number of ways to allow LaTeX to break line at different places in URLs. But in my case, even though LaTeX breaks line at some places, I still get overflow for some URLs.  Here is the code I am using:  \usepackage[hyphens]{url} \usepackage{hyperref} \hypersetup{breaklinks=true}  \urlstyle{same} \usepackage{cite}   and with these bibliography entries:  @misc(webrtc,     organization={W3C WebRTC Working Group},     title={WebRTC 1.0: Real-time Communication Between Browsers},     howpublished={\url{http://www.w3.org/TR/2012/WD-webrtc-20120821/}} )  @misc(android_javascriptinterface,     organization={Android Open Source project},     title={Android WebView addJavascriptInterface reference},     howpublished={\url{http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface(java.lang.Object, java.lang.String)}} )   I'm getting this, for example:     The entry about Android overflows in the border: my column should end where you can read "browsers." on the first line or "http:" on the third line.  Edit: when trying to create a minimal example for my problem, I noticed that this only occurs when using the IEICE template file. You can find it here: , but if you do not want to have to extract the archive and locate the correct file, I have put it there also:   Here is my minimal example:  .tex file:  \documentclass[paper]{ieice}  \usepackage[hyphens]{url} \usepackage[hidelinks]{hyperref} \hypersetup{breaklinks=true} \urlstyle{same} \usepackage{cite}  \title{Test document} \begin{document}  this\cite{upnp_spec} is a test\cite{android_javascriptinterface}  \bibliographystyle{plain} \bibliography{refs_min}  \end{document}   and refs_min.bib file:  @misc(android_javascriptinterface,     organization={Android Open Source project},     title={Android WebView addJavascriptInterface reference},     howpublished={\url{http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface(java.lang.Object, java.lang.String)}} )  @misc(upnp_spec,     organization = {UPnP Forum},     title = {UPnP Device Architecture 1.1},     howpublished = {\url{http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf}} )   Is there any way I can fix this ?


I have a Class called Heap. In it i have declared three separate lists (min_list, max_list and xor_list). When build_heap is called, it creates a heap list over some inital input list. I then set all three lists (min,max and xor) to the heap list. So they shouldn't be linked in any way. But when I do something like  self.min_list[2] = "6"  it changes all of the three lists. My code is below: class Heap: def __init__(self):     self.heap_list = [None]     self.currentSize = 0     self.alist = []     self.min_list = []     self.max_list = []     self.xor_list = []     self.i = 0     self.list_start = 0     self.SCA = 0     self.interval_to = 0  # interval in initial list, not in heap numbering     self.interval_from = 0  def build_heap(self, alist):     i = 0     self.alist = alist     while len(alist) > (2**i):         i += 1     self.i = i     self.list_start = (2**self.i)     for j in range(len(alist)):         self.heap_list.insert(self.list_start + j, alist[j])     for k in range((2**self.i)-1):         self.heap_list.insert(k, None)     # append None to list     # print(len(alist))     for l in range((2**self.i)-len(alist)):         # print("lol")         self.heap_list.append(None)     tup_list = self.heap_list     self.min_list = tup_list     self.max_list = tup_list     self.xor_list = tup_list  def smallest_common_ancestor(self):     bin_from = list(bin(int(self.interval_from) + int(self.list_start))[2:])     bin_to = list(bin(int(self.interval_to) + int(self.list_start))[2:])     smallest_common_ancestor = ""     p = 0     while len(bin_to) > p:         if bin_to[p] == bin_from[p]:             print(p)             smallest_common_ancestor = smallest_common_ancestor + str(bin_to[p])         p += 1      self.SCA = int(smallest_common_ancestor, 2)  def low_id(self):     print("Min_list before change: {}".format(self.min_list))     int_from = int(self.interval_from) + int(self.list_start)     int_to = int(self.interval_to) + int(self.list_start)     m = int_to // 2      while m + 1 != self.SCA:         if (m * 2) == int_to:             self.min_list[m] = self.min_list[(m * 2)]          elif ((m*2) + 1) == int_from:             self.min_list[m] = self.min_list[(m * 2) + 1]          elif self.min_list[m * 2] is None:             if self.min_list[(m * 2) + 1] is None:                 self.min_list[m] = None             else:                 self.min_list = self.min_list[(m * 2) + 1]          elif self.min_list[(m * 2) + 1] is None:             self.min_list[m] = self.min_list[m * 2]          elif int(self.min_list[m * 2]) >= int(self.min_list[(m * 2) + 1]):             self.min_list[m] = self.min_list[(m * 2) + 1]          else:             self.min_list[m] = self.min_list[(m * 2)]         m -= 1     return self.min_list[self.SCA]  At the beginning i do something along these lines, it shouldn't be the part of the problem  heap = Heap()  heap.build_heap(input_list) heap.interval_to, heap.interval_from = f.readline.split()

I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3  The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]    Then I changed one of the innermost values: my_list[0][0] = 5  Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]]    which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?


The reason I ask this is because I am currently getting this error     java.io.InvalidClassException: com.my.package.TestObject; local class incompatible: stream classdesc serialVersionUID = 8401131515464509133, local class serialVersionUID = 581907934314849590   I get this because I am reading an old version of an object from a Redis cache but I have changed the object to have a new field - the old version of the class did not originally have a serialVersionUID so it's using this auto-generated one.  e.g old version  public static class TestObject implements Serializable {         String id;         String name;     }   new version  public static class TestObject implements Serializable {         String id;         String name;         String newField;     }   Q - So my question is if I add private static final long serialVersionUID = 8401131515464509133L to the class will it be a problem for other instances of the object?  EDIT: the main question I am asking is does the value that was computed for the auto-generated serialVersionUuid each time a class is compiled?  or can I rely on it been the same every compile? (when no new fields are added)?

Eclipse issues warnings when a serialVersionUID is missing.       The serializable class Foo does not declare a static final   serialVersionUID field of type long   What is serialVersionUID and why is it important?  Please show an example where missing serialVersionUID will cause a problem.


I installed Ubuntu 18.04 After installation, I rebooted the computer, entered the grub menu, pressed e in ubuntu added the nomodeset option and Ubuntu presented the Gnome interface in a resolution of 1024X768 telling me: Unknown Display. So my question is how to install the drivers for my NVIDIA GTX 1050 graphics card

I just ordered the Nvidia GTX card. I have a dilemma, though. Should I keep using the driver which is available in "additional drivers" in Ubuntu, or should I install the driver from the Nvidia site?  So which driver is the best for me?


I created a folder on Windows 10, then deleted it, for whatever reason some glitch happens, it reappears and I cannot gain access to it. I cannot even take ownership of it  as I do have no way to do so :

I downloaded a file from the internet (I can link to it here, but in the interests of not annoying other users, I won't post the link), and I can't delete the file with the message:   You need permission to perform this action  You require permission from the computer's administrator to make changes to this file   Trouble is, I am the administrator and UAC is completely off.  If I go into the Properties/Security tab, I get the message   You do not have permission to view or edit this object's permission settings   Clicking "Advanced"/Owner, it says:   Current owner: Unable to display current owner.   If i try to change the owner, I get the same message:   Unable to set new owner on file  Access is denied.


I have a friend that wants me to take photos at her sisters wedding in the church and at the reception hall. This will be my first wedding  shoot. I have no idea what to charge, how many pictures to edit or how many pictures they are expecting. But I will be putting them on a flash drive, my camera is a canon EOS Rebel T5i and I only have two lenses . A 75-300 mm and a 18-55 macro. Is it possible for me to take decent pictures with this equipment?

I am going to shoot a wedding this weekend, and I want to do my best for my friend's big day.    What can I do to prepare for the day in order to minimize failures and mistakes? How do I avoid missing important shots? What backup plan should I have?   I have been shooting for 6 years or so, and I know wedding is one of the hardest thing to do. I have told my friend what I end up producing will be of no match with the work of dedicated wedding photographers, not even the ones that are about to fall out of business.  They are on a tight budget, they said some photos are still better than none, they really must minimize the cost as much as they can. I exaggerated again that my photos will be worse off than the cheapest wedding photographer you can find.  She has been a close friends for years, I want to do everything I can to help her.  Their wedding is at 12:30pm coming Sunday, I have visited the venue last Sunday at 12:30pm to check traffic condition and also the lighting.  The setup is mainly outdoor (no church), the indoor area will not have a good ceiling for bounce. Being at the middle of the day, this can mean some tricky fill flash. I have jot down a list of must-have shots. I am also asking for the seating plan and the event run-down.  Gear:   Canon EOS 60D , EF-S 15-85mm f/3.5-5.6 IS USM Canon EOS 450D (or I can borrow a 550D), EF 50mm f/1.4 Speedlite 580 EXII Speedlite 270 EXII Yongnuo 460 (a cheap but powerful manual flash as backup) Samsung EX-1 f/1.8 point and shoot (backup of a backup...?)   Other lenses that I have but I don't think will be useful:   50mm f/1.8 EF-S 50-250mm f/4.0-5.6 IS II EF-S 18-135mm f/3.5-5.6 IS (I have the better 15-85 on 60D, should I put this on the 450D as a backup allrounder?) EF-S 60mm f/2.8 Macro (should I replace 50mm f/1.4 with this for added macro? You can hardly use f/1.4 under direct sunlight if you want to have fill-flash)   I have two batteries for all cameras (60D 450D and EX1). I have like in total 64GB SD card (I am really inclined to get more, or bring a laptop for on-the-fly backup, or do both). I recently repaired my 580EXII, it has a brand new flash head so the recycle time is as good as it can be, I just need a tonne of batteries. No I don't have external power pack or battery grip for my cameras.  I have a great monopod, but a cheap tripod.  I am happy to bring everything, just putting them in the boot of my car. The carpark is on-site, walking from venue to my car is under 1 minute.  I will have my girlfriend carry the 450D and shoot details / non-portraits.  One concern that I have is fill flash, I really do not have a large surface to bounce off  from. I have shot events before but they are not as dynamic/critical as a wedding.  How do I prepare for differing weather conditions?  If its sunny, fill flash is probably going to be in every single shot. If its cloudy, I probably will turn off the flash. If it rains, my 60D should be fine I have used it in slight rain before, but I really don't know their plan and if they have extendable shelters etc.  What else should I prepare for? Having no experience I want to be as prepared as I can be. Maybe I have overlooked something, maybe there is something else I can do to ensure the shooting will go smoothly. Your help is greatly appreciated!


I use the iPhone app and I am really happy with it. However, Area51 is not listed in the list of sites to browse. Is there any way to access Area51.stackexchange.com from the app?

Can we have a way to access Area 51 on the iOS and android app?  More sites would flourish due to more traffic.


I am using ArcMap 10.6.  I have a table with country data. I am interested in Asia only, so I created a new layer (and shapefile). Several countries have missing data, which was filled with the same value (-50). One of the fields is Life Expectancy and another is Access to Drinking Water(population percent). I classified the Life Expectancy field (about 30 unique values) into 5 classes (in the symbology tab). I don't know how to group the countries by class (in the attribute table) so I can calculate various stats by class.   For example, What is the mean Access to Drinking Water, by Life Expectancy class?

I first classified firstCol into groups and then I want to give the groups with different weighted values in another field, SecondCol. I will need to give different weighted values very often. I find it very time-consuming whenever I modify the weighted values in my script.    My column looks like this:     I use the following script to calculate the SecondCol:  def TextValue(gridcode): if gridcode <= 5:     return 1 elif  5 < gridcode <= 15:     return 2 elif  15 < gridcode <= 30:     return 3 elif  30 < gridcode <= 40:     return 4 elif  40 < gridcode <= 55:     return 5 elif  55 < gridcode <= 100:     return 6 elif  100 < gridcode :     return 7 else:     return "N/A"  TextValue( !firstCol! )   As you can see, I give the weighted value as below:  (weighted values  ,  group).  1   =   group "firstCol  < 5"     2   =   group "firstCol = 5 - 15"     3   =   group "firstCol = 15 - 30"     4   =   group "firstCol = 30 - 40"  5   =   group "firstCol = 40 - 55"     6   =   group "firstCol = 55 - 100"     7   =   group "firstCol > 100"     I wonder if there is a better way to give new weighted values more efficiently. Like, just give a new column in the beginning of the script.  61  =   group "firstCol  < 5"    8   =   group "firstCol = 5 - 15"     88  =   group "firstCol = 15 - 30"     70  =   group "firstCol = 30 - 40"    52  =   group "firstCol = 40 - 55"     2   =   group "firstCol = 55 - 100"     6   =   group "firstCol > 100"  def TextValue( gridcode): if ... ... else...  TextValue( !firstCol! )   Then, the script will use the new values, instead of me modifying it in the TextValue.


I often look for feedback about the design/software architecture for a given problem. Should I ask it on Stack Overflow, or is there a separate site that is dedicated for such things?

There seems to be more than a few computer science/programming Stack Exchange networks (is that the correct term?). Stack Overflow, being the first, has by far the most users, questions, and answers.  What is the reasoning for creating the others, and are there clear guidelines for which kinds of questions should be posted? I can see a large amount of potential overflow, many cases of people not getting a good answer to their question, because the person who has the answer isn't browsing that particular network at the moment.  I understand that they were probably created for organizational purposes, but wouldn't it almost make more sense to just have them as categories under Stack Overflow, keep them separated but still connected, instead of making people have to create multiple 'account's, one for each network?  I am sure there was a very good reason to break them up, but as someone that is new to SE, it can be somewhat intimidating to decide which one to post in to ensure you get a good answer. For example, if I am a computer science student, my first instinct might to be to post in the computer science network, until I see that it literally has 1% of the users as the Stack Overflow network, which still seems to be for programming/computer science related questions.  So my second instinct would then to be to post it into the Stack Overflow site on the basis that I have a significantly higher chance of my question being seen and getting a good answer. Then I notice that there is also a 'programmers' network, and I don't even begin to know where that fits in. I, and I am assuming most people, will probably just post on Stack Overflow to be safe.  My question is, other than the short little description blurb of each one, is there a clear cut set of guidelines which what each network is intended for, what kinds of questions should go to each one, and is anything being done to encourage people to post in these newer, smaller (more specialized?) networks as opposed to just posting in big daddy Stack Overflow?  Now again, this is for computer science/programming/"why isn't this code doing what I want?" related questions, I am not saying that if I had a question about Linux or WordPress or something I would have the same confusion.


Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-amd64_Packages) W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-i386_Packages)

I keep getting this warning whenever I try to run sudo apt-get update.  W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages) W: You may want to run apt-get update to correct these problems   Below is the output from /etc/apt/sources.list file:  deb http://archive.ubuntu.com/ubuntu precise main restricted deb-src http://archive.ubuntu.com/ubuntu precise main restricted  deb http://archive.ubuntu.com/ubuntu precise-updates main restricted deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted  deb http://archive.ubuntu.com/ubuntu precise universe deb-src http://archive.ubuntu.com/ubuntu precise universe deb http://archive.ubuntu.com/ubuntu precise-updates universe deb-src http://archive.ubuntu.com/ubuntu precise-updates universe  deb http://archive.ubuntu.com/ubuntu precise multiverse deb-src http://archive.ubuntu.com/ubuntu precise multiverse deb http://archive.ubuntu.com/ubuntu precise-updates multiverse deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse  deb http://archive.ubuntu.com/ubuntu precise-security main restricted deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted deb http://archive.ubuntu.com/ubuntu precise-security universe deb-src http://archive.ubuntu.com/ubuntu precise-security universe deb http://archive.ubuntu.com/ubuntu precise-security multiverse deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse   How do I fix it?


I have recently got a film SLR and I have shot a lot of pictures (say like 6 rolls in a weeks time). To develop these pictures in my area takes up to a week or two....  so what struck my head was to develop the film myself.  Can someone help me by explaining how this works? What is the process of developing a roll of film?  It's a fading art which I want learn and keep alive.

C41 (color negative) processing is . I'd still like to learn about film processing, and have heard that black and white negatives are fairly straightforward.  How do I develop black and white negatives at home? What chemicals and equipment will I need?


int playerNum,cardNum; Cards card=null;           for(playerNum=0;playerNum<=NUMPLAYERS-1;playerNum++) {      //some code...                  for(cardNum=1;cardNum<=5;cardNum++)     {      card=( deckOfCards.deal() );       players[playerNum].setHand_1by1(card);//I get NullPointerException for using the method here                       //some code...                          } }   class Hand  {      private Cards[] hand=new Cards[5];      private int counter;            //no constructor, just a setter.      public void setHand_1by1(Cards card)      {          if(counter>=hand.length)          {              System.out.printf("Hand is full");          }          else          {              hand[counter]=card;              counter++;          }               } //some code... }  I understand that you get a NullPointerException when you try to dereference something that's pointing to nothing(ie null). 1)But card of Cards type is pointing to something due to the method deckOfCards.deal() so that's not the problem, must be something in the method. 2)In the setHand_1by1(), hand[counter] is of Cards type.  All I did was make it point to valid memory containing data of Cards type in the else block. Why am I then getting a NullPointerException error? Edit: Just showing how I created my players: Hand[] players=new Hand[NUMPLAYERS];

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


We use cross product of vector to find out area of a parallelogram and we end up with a vector. As a learner, I know that area is nothing but the measure of the surface. So how can it have a particular direction? Area does not seem to have directions like force, velocity, etc.

I get the physical significance of vector addition & subtraction. But I don't understand what do dot & cross products mean?   More specifically,    Why is it that dot product of vectors $\vec{A}$ and $\vec{B}$ is defined as $AB\cos\theta$? Why is it that cross product of vectors $\vec{A}$ and $\vec{B}$ is defined as $AB\sin\theta$, times a unit vector determined from the right-hand rule?   To me, both these formulae seem to be arbitrarily defined (although, I know that it definitely wouldn't be the case).   If the cross product could be defined arbitrarily, why can't we define division of vectors? What's wrong with that? Why can't vectors be divided?


I recently upgraded a laptop from Windows 8.1 Pro to Windows 10 Pro. Since then, an Intel graphics driver update pulled down by Windows Update keeps trying and failing to install.  Is there a way I can remove this update?   I've tried  - it doesn't list any updates available in my case, probably because it hasn't installed successfully.  I've also tried clearing C:\Windows\SoftwareDistribution\Download.  It's a big nuisance to have it keep prompting me about the failed update every time I use the computer.   NOTE: I don't want to disable ALL driver updates, I just want a way to remove one that keeps failing to install. This may also apply to cherry-picking a non-driver failing update, but I'm not sure (as I said, KB3073930 does not help in my case)

I've upgraded my PC from Windows 7 Ultimate to Windows 10 Pro; overall it seems to be working fine, with small bugs here and there. One thing that I find really annoying is that Windows seems to think it is OK to install drivers and vendor-specific control panels for me.  I've always installed drivers manually to get around having all the bloatware (i.e., Realtek's audio management panels and other vendor-specific tweaking tools).  How do I stop Windows from automatically installing bloat on my custom PC, so that I can use the drivers I've exported from packages and binaries to get around bloats?  If I uninstall everything Windows automatically installed, it seems as if a reboot persists them and installs again.  Preferably I'd like to perform a clean install and have Windows skip installing any drivers automatically. Is this possible?


My 13" Macbook Air recently started showing the "service battery" alert. It's the mid-2012 model, and is still under Apple Care. The alert seems to appear mainly when I'm running off the battery. Is this a battery issue or a bug in the system?

Battery warning "Service battery". This warning have appeared in my MacBook Pro (2008) with Snow Leopard. Is there a way to find out what a reason of this warning, without apply to service centre?


How do I playback a DVD in Ubuntu 17.10? I have so far:  sudo apt-get install ubuntu-restricted-extras sudo apt-get install libdvd-pkg   There used to be something called Fluendo in the Ubuntu repository but it doesn't appear to be there any more. Am I the only person left using Ubuntu?  I followed advice given in various other question on Ask Ubuntu and on the Ubuntu man pages  but was still unable to play DVDs.

My machine can't play encrypted DVDs on a fresh install.  How do I add this capability?  Another useful bit of information would be what programs are best for playing DVDs, once I'm able to do so.  See the .  Will I be able to play DVD movies from ?


Define  $$\rho_{s,c}(x) = exp(-\pi \cdot \frac{\|x - c\|^2}{s^2})$$  and $$\rho_{s,c}(L) = \sum_{x \in L} \rho_{s,c}(x)$$  Then Discrete Gaussian over $L$ with center $c$ and standard deviation $s$ is the following distribution over lattice points: probability of $v \in L$ equals:  $$ \mathbb{P}[v] = \frac{\rho_{s,c}(v)}{\rho_{s,c}(L)}$$  Some questions about this distribution:   What are the properties? For instance, is it true that the sum of two discrete gaussians is equal to (stat. close to) another discrete gaussian (as in usual multivariate gaussians)? Why discrete gaussians? It is known that this distribution is NOT statistically close to usual normal with rounding. But when somebody start giving a motivation behind discrete gaussians, they usually refer to the fact that USUAL multivariate gaussian is statistically close to uniform modulo small parallelopipeds. But what makes discrete gaussian so attractive? Are there any properties that it "inherits" from usual gaussian?   Is it possible to replace discrete gaussian with another spherical-symmetric "factorable" distribution, maybe something like multivariate binomial over "big enough" support? What would be broken? Would it leak some information about basis?

The Wikipedia article on  mentions two methods of sampling "small" polynomials namely uniform sampling and discrete Gaussian sampling. Uniform sampling is clearly the simplest, involving simply uniformly selecting the coefficients from the set of small coefficients, thereby guaranteeing they will be small. However, the articles mention that security proofs rely on discrete Gaussian sampling.  However, I have a bit of difficulty wrapping my head around    Why discrete Gaussian sampling would be better than uniform, security-wise?   I mean, usually uniform is preferable - it maximizes the entropy/information in each sample, making the outcome more unpredictable. I could understand it if the Gaussian sampling technique would somehow serve to avoid (at least with high probability) "weak" parts of the space of outcomes but I have found no information/justification that this is the case.  Another reason I can see why discrete Gaussian might be better is that there is, after all, a chance (albeit a small one) one would select a non-small coefficient, so the space of outcomes is actually larger. However, given that this probability of hitting this extra space is (by design) quite small but also that one would likely immediately reject such a sample (because the algorithm calls for a small polynomial), this seems to be irrelevant.  It is not because I am against discrete Gaussian sampling I just want to understand why it is more secure. Also, I want to understand if it really IS more secure or it is simply easier to prove security in that model. I would actually consider that very interesting if it is the case because it raises the question of why is it easier to prove the security under conditions that are intuitively worse (i.e. discrete Gaussian vs the intuitively better uniform case)? If it is so intuitively clear that uniform sampling is better, surely it must be possible to transform that intuition into a security proof of RWE also under uniform sampling. Otherwise, I would fear the intuition must with high likelihood be wrong or at least dubious.


I have a Fuijitsu Siemens Amilo notebook li 3710.It has 4GB ram.It has an Intel celeron 900 processor which is 2.20 GHz single core 64 bit processor. Hard disk space is more than enough.Will it run Ubuntu 20.4 hassle free?

I have a device on which I would like to install Ubuntu. How do I find out if Ubuntu will work on it?


(I'm very inexperienced with servers)  After getting frustrated with some permission issues on my AWS EC2 instance I decided I would do the command:  chmod -R 777 /   I thought that would change the permissions of the folder I was in, but it seems to have affected every file on my server instance. As a result, I can no longer SSH into the server. It simply says connection failed.  The only image of the server I took was from way too long ago and doesn't have the files I want.  Is there a way I can simply download the files I want from the AWS console, and then from there just upload them to a new instance?  Edit  The reason that I can no longer login is because the key pair (as well as several other files) cannot be found with the new 777 permissions, thus preventing me from logging in.  This is however, not my question. My question is how to get these files.

I'm using an Alestic image which disables root SSH logins, but provides a user "ubuntu" with NOPASSWD sudo privileges. See .  In the course of trying to add a new user to the sudoers file I inadvertantly created another line for the "ubuntu" user, this time without NOPASSWD. I have now apparently lost root access to this machine.  Is there some way to mount the EBS root volume on a different instance (fixing the sudoers file) and then re-launch the server?  Or am I totally screwed?


We can combine colored light, creating other colors, at least in terms of visual perception.    But how it the result physically "a different color" - if it is at all?  Or is all this not a physical question to begin with - but only about our eye and brain?   To have an example, we   have an incandescent bulb, showing "white" light, and  combine red, green and blue light in intensities such that it looks roughly the same.   It is not central to the question whether it is exactly matching the white light -  but certainly  interesting to understan whether it could perfectly match, and why.

Observation:  So, I know that all computer screens are able to project many different colors by varying how they display the RGB (Red, Green, Blue) pixels.  Question  What's the difference between say, yellow light (575 nm) from sunlight vs. the same yellow light that's displayed on the computer screen? Aren't they different? Is our brains mixing together the RGB lights together and its being interpreted as yellow light or is yellow light the same (575 nm) light that comes from sunlight actually hits our eyes?  Relationship between Fourier Series and light?  1) So I know that in Fourier Series, you have basis functions, sines and cosines that make up any other function depending on the coefficients that are in front of the sines and cosines terms.  2) I know that RGB colors on a screen are the "basis" for all the other colors that a computer screen makes up and the intensity of each of the RGB are like the "coefficients". So, am I making the correct relationship here?


I had decided to use Wipe available Disk-space in Nautilus. I did it by using the right click menu in the Home folder. It started fine and then as i was viewing the other files i had, by mistake i closed its window while it was in progress.   Now its showing zero free-space available in the Home folder(which is where i had decided to use it). So which file or folder do i need to delete in order to bring back all the available free space i had before starting the wipe available disk space in Nautilus?  Sorry for my bad English.

One of the options offered when you right click the desktop or within a Nautilus window is "wipe available diskspace." I'd think that means all unused diskspace but assumptions can be dangerous. I don't want to try it only to find out that available meant "all". I can't remember seeing this option before 12.04.  I was asked to provide an image but unfortunately when right clicking to get the drop down menu, the print screen function doesn't respond thereby making an image impossible.  It appears that no responder so far has actually used this nautilus option. Jorge suggested that the feature was actually nautilus-wipe and I verified that is the case by removing nautilus-wipe and seeing that the menu option is now gone. Documentation for nautilus-wipe is almost non-existent and what little I found was superficial and contradictory. This doesn't leave me with a warm and fuzzy feeling regarding my using an application or feature that purports to "wipe disk" without a clear definition of what is wiped.


I've got to calculate determinant for this matrix: $$\begin{bmatrix} a_{ 1 } & 0 & 0 & \cdots  & 0 & b_{ n } \\ b_1 & a_2 & 0 & \cdots  & 0 & 0 \\ 0 & b_2 & a_3 & \cdots  & 0 & 0 \\ \vdots  & \vdots &  & \vdots & \vdots & \vdots \\ 0 & 0 & 0 & \cdots & a_{n-1} & 0 \\ 0 & 0 &  0& \cdots & b_{n-1} & a_n \end{bmatrix}$$ Is there any clever way to find out the determinant of above matrix?       Thanks in advance.

Given is an $n \times n$ matrix $M_n$ with the following structure — $$M_n = \left( \begin{array}{ccccc} a_1 & 0 & \dots & 0 & b_1 \\ b_2 & a_2 &  &  & 0\\  & \ddots & \ddots &  & \vdots \\  &  & b_{n-1} & a_{n-1} & 0\\  &  &  & b_n & a_n\end{array} \right),$$ with $a_i$ and $b_i \in \mathbb{R}$ where $i \in \{1,\dots,n\}$.  Is there a name for this specific type of matrix? The non-zero entries in each row are shifted one position to the right compared to the previous row, which reminds me of a circulant matrix (though in that case, the rows share the same values, which is generally not the case for $M_n$).  Is there a short/fast way (i.e. not just using ) to compute the determinant of this type of matrix?   It might help to consider an example, so here's $M_5$: $$M_5 = \left( \begin{array}{ccccc} a_1 & 0 & 0 & 0 & b_1 \\ b_2 & a_2 & 0 & 0 & 0\\ 0 & b_3 & a_3 & 0 & 0\\ 0 & 0 & b_4 & a_4 & 0\\ 0 & 0 & 0 & b_5 & a_5\end{array} \right) = \left( \begin{array}{ccccc} a_1 &  &  &  & b_1 \\ b_2 & a_2 &  &  & \\  & b_3 & a_3 &  & \\  &  & b_4 & a_4 & \\  &  &  & b_5 & a_5\end{array} \right)$$


I need help creating a bootable pen with windows iso. I tried so many ways and nothing... One of my pendrives even broke(doesn't show up in the PC when I connect).  I tried with UNetbootin but if I format my pendrive to fat32, when I restart my PC I got to a screen with only one option "Default". That does nothing.  And if I try to format to NTFS... UNetbootin just don't accept my pendrive.  I tried with Furius(but I don't know how to use this program) and manually with the terminal, but I'm much lazy for that.  PS: When I started I was trying to format to WIN10, but now it doesn't matter, I really need a partition with Windows.  PS2: My PC doesn't have a CD/DVD Reader, so...  PS3: My Pendrive is only of 4GB, my win10 iso is ~3,8GB so I can use, this is not the problem, even if I couldn't use this iso, I could only download a WIN8/7/XP and install another just to get to windows(after this, get to WIN10 is pretty easy).  PS4: I'm running ubuntu 16.10

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


I hold 200 USO July 11$ Calls, like many out there trying to make a buck on any bounce in oil.  I have since learned this trade is worthless with USO losing money hand over fist.    I was confused however to the reaction the day of the split.  The night before these had a value of around $700 but on the open these quickly went hard offered at 0.5, basically worthless.    So these are now 88$ Calls?  These have 70k open interest and now have zero delta.  If something happens and oil prices rocket to 50$ overnight these are still worthless?  There is nothing I can do with the position and I accept the stupidity of my long shot gamble but I would like to know how that money vanishes overnight and what happens if the market ramps ups again.    Thank you

I held 1 put option for 100 shares of USO that expires on May 8. Yesterday, USO underwent an 8:1 reverse stock split. My options are now for USO1 instead of USO, but what does that mean?  The strike price hasn't changed, so does that mean that my option will expire worthless as it's unlikely the stock will drop (significantly) to back below the strike price?


One can derive a recurrence for $g_n$ as $g_n = g_{n-1}+g_{n-1}\frac{1}{n!}$, and letting $g_n = \sum_{j=0}^n a_j x^j$ gives a formula for the characteristic polynomial as $n! a_n x^n - \sum_{j=0}^{n-1}a_j x^j=0$. I feel like this is not a bad start but I can't think of what to do next, any ideas?

Does      $$p=\prod_{n=1}^\infty\left(1+\frac{1}{n!}\right)$$      have any closed form in terms of known mathematical constants? The computer says    $$p=3.682154\dots$$   but I don't even know how do devise the converging upper and lower bounds to obtain this result.     edit Jan. 15: I've got rid of the infinite product in favor of an fastly converging infinite sum over finite products .    Thoughts:  $$p=\lim_{n\to \infty}p_n\hspace{.7cm}\text{where}\hspace{.7cm} p_n=p_{n-1}\cdot \left(1+\frac{1}{n!}\right)\hspace{.7cm}\text{with}\hspace{.7cm} p_1=2.$$  So I looked for an emerging pattern  $p_1=(1+\frac{1}{1!})$  $p_2=(1+\frac{1}{1!})(1+\frac{1}{2!})=(1+\frac{1}{1!}+\frac{1}{2!})+(\frac{1}{1!2!})$  $p_3=((1+\frac{1}{1!}+\frac{1}{2!})+\frac{1}{1!2!})(1+\frac{1}{3!}) =(1+\frac{1}{1!}+\frac{1}{2!}+\frac{1}{3!})+(\frac{1}{1!2!}+\frac{1}{1!3!}+\frac{1}{2!3!})+\frac{1}{1!2!3!}$  It appears that   $$p=1+\sum_{n=1}^\infty\sum_{m=1}^\infty a_{nm}$$  where $a_{1m}$ is the sum of terms with one inverse $\frac{1}{m!}$, and then $a_{2m}$ is the sum of (sums of) terms with two inverses $\frac{1}{r!s!}$. For example the term $\frac{1}{1!3!}$ is in the sum, and so I guess I need all the partitions into $n$ numbers. However, we don't want to count $\frac{1}{2!2!}$ and so it's more complicated. I guess the product can be written as a sum of term $(e-1)^n$ minus something, as for example  $(e-1)^2  = \left(\frac{1}{1!} + \frac{1}{2!}+ \frac{1}{3!}+\cdots\right)\left(\frac{1}{1!} + \frac{1}{2!}+ \frac{1}{3!}+\cdots\right) =\sum_{n=1}^{\infty}\sum_{m=1}^{\infty} \frac{1}{  m!\,n!}$.  The logarithm of it is also a sum of sums which somewhat resembles the series expansion of the exponential function, but there, I think, the coefficients are powers of $\frac{1}{n!}$.


If there were extra compact dimensions,and at the big bang all dimensions were compact,my question is why the big bang failed to expand those presumed extra dimensions like it did with the 3 spatial classical dimensions and time?Moreover the expansion is still ongoing so why the presumed extra dimensions are fixed in size?Does this have anything to do with the initial energy available at the big bang?Would this validate the many world hypothesis so that the number of the expanded dimensions and the still compact ones are random?or would this help to "dismiss" the whole idea of extra dimensions?

I have some questions with string theory:   Why is it that there is exactly 4 large spacetime dimensions while the rest remain small? It is a nonlocal QFT. How could that fit in GR?


The other answers for this confuse me, I know the principle of d in terms of the equation it has to satisfy. However I'm not sure how I would go about finding the private exponent without trial and error. I want to implement this in a program, but I'm not quite sure the algorithm I would use to find d. Can someone explain the equation or algorithm for finding d?

When given $p = 5, q = 11, N = 55$ and $e = 17$, I'm trying to compute the RSA private key $d$.  I can calculate $\varphi(N) = 40$, but my lecturer then says to use the extended Euclidean algorithm to compute $d$. That's where I get stuck.    Here's my work so far:  First I use the Euclid algorithm to calculate:  40 = 2(17) + 6  17 = 2(6) + 5 6 = 1(5) + 1 = gcd   So I know the GCD is 1. Applying the 'extended' section of the algorithm:  6 = 40-2(17) 5 = 17-2(6) 1 = 6-1(5) 1 = 6-1(17-2(6)) 3(6) = 1 (17) 3(40 - 2(17)) - 1(17) 3(40) - 3(17)   I know the answer is $33$, but I have no idea how to get there using the extended Euclidean algorithm. I can't figure out why I'm getting $3(40) - 3(17)$ when I know the answer should contain $33$.


I used Gimp to create a quote image and I uploaded it to Facebook. I made sure to only use web-safe colors, and the fonts I'm using are Impact Condensed and Arial. However, the uploaded image drastically loses quality and the fonts aren't sharp/surrounded by a fog/are blurry:  Before uploading:   After uploading:   If you open the images in a new tab, you can see the difference between the two clearly.    I tried enabling/disabling Interlacing (Adam7) and the other export settings, but I haven't been able to make a difference. All help appreciated.

After uploading an image, Facebook converts it to a new image.  Their conversion process introduces artifacts and mottling to the magenta-ish parts of the image.  Original image:   Facebook's conversion:   Are there ways to preserve the original quality of this image and have the image appearance on Facebook reflect more of the original quality?


How do you write ten-person apartments? Ten-persons-apartment or ?  Thank you for your answer.

For example, "file system" and "related". Is it "file system-related"? It will appear as if it is a compound of "file" and "system-related", won't it?


As part of the follow-up to their  of Monica Cellio from her moderator position at six different Stack Exchange communities, Stack Overflow, Inc. has  "releas[ing] an official process around removing moderators." I strongly recommend that as expeditiously as this new moderator-removal process is developed, a parallel process for reinstating moderators is developed as well, to be released as one policy.  When it comes to regular users, the established process allows moderators to suspend their privileges through suspension, which comes with a built-in sunset. At the end of a finite period, the user's privileges are automatically restored. The presumption is that the suspension period will provide the user a chance to reconsider whatever behavior triggered the suspension and commit to changing it. There is also a mechanism for permanently deleting a user account, but that is only meant to be used to remove active users in extreme cases of ongoing abuse.  When it comes to moderators, it makes sense for the processes for removing and re-instating privileges to be different, but it seems that starting similarly with a temporary suspension "to cool down" and work out issues would be similarly helpful. Had such a measure been invoked in the present case, I suspect that a resolution could have been worked out with much less public visibility, and with almost none of the  across the Stack Exchange network that firing Monica as a first move brought on.  Short of an automatic sunset, there ought to at least be a clear path for manual reinstatement, paralleling the path for removal. Whatever communications between SOI staff and the moderator in question are required to lead up to removal, parallel communications should be structured to lead up to reinstatement. Whatever due consideration is required within the SOI team before a moderator is removed, parallel due consideration should be applied toward that moderator's reinstatement.  The institutional memory, technical and personal skills, and subject-matter expertise that moderators build up in the course of doing their jobs makes them too valuable as volunteers to simply give up on with the finality that a removal process without a parallel reinstatement process suggests.    Finally, although the firing of Monica followed no clear procedure, provided for no clear expectations by Monica or her communities, and did not allow for time for due communications or consideration, I recommend that a path be created for Monica to return to her positions, with clear expectations for a fair process, implemented with integrity by all involved. One of the benefits we may find at the end of that path is partial healing from the present crisis.

Please leave any feedback or questions about this process on .   From time to time, moderators will step down or be removed from their positions — they may have expressed their wish to step down due to time constraints or they may have had behaviors unfitting of a moderator and have been forcefully removed, along with a number of other possibilities that fall somewhere between those two. What is the process for evaluating moderator reinstatement or removal appeal requests?  Note: Feedback on the original version of this post can still be found .


I am looking to get full comprehensive travel (+ medical) insurance for my upcoming trip to Kenya. I have been looking around and comparing the various insurance companies   but I keep running into the same problem; each provider requires a permanent residency.  I have been a full-time traveler for almost two years and I do not have any permanent residency or address.  I am a Dutch citizen but I gave up my residency there last year. After Kenya I'm moving to Austria but I am not yet a resident there. I have also lived in Ireland for over a decade so I'm entitled to Irish citizenship (my mother is also Irish) but again, I don't have an address there and so do not have residency there either.   How do I go about obtaining travel insurance without a permanent residency?   Perhaps there is an insurance company specifically aimed at people like me?

I am an Australian citizen, currently living in Singapore and I want to travel through Europe and the USA over the next six months. I will be leaving Singapore permanently and my intent is to ultimately land back in Australia, at least for a while, but this may not happen.  From whom can I buy travel insurance? Most consumer travel insurance plans which offer the type of cover I want (Covermore et al) assume you have a "country of residence". Effectively, I don't and that would invalidate my policy.  As a bonus, I'd prefer if I could specify I'll only be in the USA for three weeks and only pay the extra premium for that time, rather than it doubling the cost for the whole six months.


I read an .xlsx file where some cells contain special characters. This has caused me problems when it comes to inserting such data into a database, so I am trying to replace such characters with blanks, as shown below: using System; using System.Text.RegularExpressions;  namespace ConsoleApp2 {     public class Program     {         public static void Main(string[] args)         {             var name = "MONEDA S.A. ADMINISTRADORA DE FONDOS DE INVERSIﾓN";             name = Regex.Replace(name, @"[^A-Za-z0-9 ]", "");             Console.WriteLine(name);          }     } }  but in that way, I also substitute characters like ., - and , - which is undesirable. So, how can I replace only non-Roman characters?

How can you strip non-ASCII characters from a string? (in C#)


I am having a hard time determining the correct usage when referring to my staff in a sentence.  It includes multiple employees.  Should I say"  Staff were busy this fall or  Staff was busy this fall....  HELP!

Which one of these two statements is correct?     Our staff do ...      Our staff does ...   And is staffs ever correct?


Now back a week ago I spilled coffee with sugar in it on my keyboard. When the spill happened, I quickly turned it off and turned it upside down dried it with a tissue and all that stuff. I waited for a total of 3 days before I turned it on again and even went to a repair shop to have it checked. The people there kept telling me if its working I shouldnt have it cleaned or it might stop working entirely. But here on internet people keep saying that coffee should be cleaned asap. I dont know what to do at the moment and Im afraid of what unseen damage there could be on the motherboard, I dont care if its just the keyboard. To summerize: I spilled coffee, laptop works, waited for 72 hours+ to dry, repairmen keep telling I shouldnt have it cleaned. Should I trust them?

I'd love some advice in repairing a water-damaged laptop.  My girlfriend spilled a glass of water on her Sony Vaio and now it doesn't turn on...at all...dead! What steps should I go through to work out where the problem is and which part(s) I'll need to replace?  I can't seem to find out what has happened by just looking at the circuit boards. I'm new to electronics but could buy relevant volt-meters etc. I'm just looking for a decent trouble-shooting guide.


With the current stable Chrome version 69,  when I surf to https://www.google.com the browser only shows google.com in the URL field.  I don't want Chrome to hide the protocol and I don't want Chrome to hide the subdomain.  How can I change these settings?

A couple of days ago I noticed that for all websites, chrome omits from the address bar the protocol and the subdomain if it is www. My co-workers report that they are not seeing this. Chrome version is 67.0.3396.87.  For example, if I type into the address bar https://www.google.com (without the quotes), Chrome immediately displays the chip "Secure" followed by google.com. See attached screenshots.      I have looked in vain for Chrome settings that affect this, plus the chrome://flags page and chrome://net-internals page.  I did not do anything consciously to make this change.  Any ideas?  EDIT: Suggestion from MrWhite that Ominbox UI Hide Stead-State URL Scheme and Trivial Subdomains had become enabled: good suggestion, except that the setting is still at “Default.” See screenshot:    However, as a shot in the dark, I am going to play with the setting to see what happens.  First I set it to “Disabled.” That restored the previous behavior of the address bar, which is to not to hide the protocol and “trivial subdomains.” Then I changed it back to “Default,” and it was hiding them again. One would suspect that somehow the default has been changed, except that co-workers are not reporting this issue.  Oh, well. I’ll just leave it as Disabled for now.  I would be ready to accept the answer from MrWhite, because it provides a workaround. Yet will leave it open for a bit longer, because it does not really answer why this behavior has changed, and why it has to be overridden.  EDIT 2: Chrome version is 67.0.3396.87.


I have a variable that stores html code for a webpage. The html code may includes a set of urls, some of these urls are linked using the anchor tag  but other may not linked using the tag.  How can I select the unlinked urls to replace them with a linked version.  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna https://www.google.com aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip Duis aute google.com irure dolor in reprehenderit in voluptate velit esse  google.com https://www.google.com

I am using the function below to match URLs inside a given text and replace them for HTML links. The regular expression is working great, but currently I am only replacing the first match.  How I can replace all the URL? I guess I should be using the exec command, but I did not really figure how to do it.  function replaceURLWithHTMLLinks(text) {     var exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/i;     return text.replace(exp,"$1");  }


Hi, I have tried for hours without results. How to draw this in overleaf? thank you.

I need to connect the rectangles by labeled arrows (rights) in this case:        \documentclass[tikz,border=2mm]{standalone}      \usetikzlibrary{arrows, chains}       \begin{document}          \begin{tikzpicture}[        node distance = 0mm,          start chain = going right,           box/.style = {draw, semithick, minimum size=1cm,                 outer sep = 3mm, on chain,}                     ]      \foreach \i  in {{\Huge S_0}, S_1, S_2, S_3, S_4, S_5, S_6, S_7, S_8}         \node[box,label=below:] {$\i$};       \end{tikzpicture}      \end{document}   I need also label arrows with \lambda_n where n is number from 0 to 7. Labels should be placed above the arrows.


My code is as follows  for(User user: userList){             if(user.getName()==null){                 userList.remove(user);             }         }   here i am checking for null value of name property but it trows null pointer exception on checking the condition  StackTrace  java.util.ConcurrentModificationException     at java.util.ArrayList$Itr.checkForComodification(Unknown Source)     at java.util.ArrayList$Itr.next(Unknown Source)     at in.net.usit.dbu.web.transformation.TransformationViewModel.initializeData(TransformationViewModel.java:106)     at in.net.usit.dbu.web.transformation.TransformationViewModel.init(TransformationViewModel.java:91)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at org.zkoss.bind.impl.ParamCall.call(ParamCall.java:111)     at org.zkoss.bind.impl.AbstractAnnotatedMethodInvoker.invokeMethod(AbstractAnnotatedMethodInvoker.java:87)     at org.zkoss.bind.BindComposer.doAfterCompose(BindComposer.java:170)     at org.zkoss.zk.ui.impl.UiEngineImpl.doAfterCompose(UiEngineImpl.java:534)     at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:836)     at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:782)     at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:691)     at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:753)     at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:713)     at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:655)     at org.zkoss.zk.ui.impl.UiEngineImpl.createComponents(UiEngineImpl.java:1036)     at org.zkoss.zk.ui.impl.AbstractExecution.createComponents0(AbstractExecution.java:246)     at org.zkoss.zk.ui.impl.AbstractExecution.createComponents(AbstractExecution.java:238)     at org.zkoss.zul.Include.afterCompose(Include.java:450)     at org.zkoss.zul.Include.onAfterCompose(Include.java:434)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2725)     at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2655)     at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)     at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1721)     at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1506)     at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1216)     at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:601)     at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:483)     at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:492)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)   this is the stacktrace i don't how to find the solution please help me with that

We all know you can't do the following because of ConcurrentModificationException:  for (Object i : l) {     if (condition(i)) {         l.remove(i);     } }   But this apparently works sometimes, but not always. Here's some specific code:  public static void main(String[] args) {     Collection<Integer> l = new ArrayList<>();      for (int i = 0; i < 10; ++i) {         l.add(4);         l.add(5);         l.add(6);     }      for (int i : l) {         if (i == 5) {             l.remove(i);         }     }      System.out.println(l); }   This, of course, results in:  Exception in thread "main" java.util.ConcurrentModificationException   Even though multiple threads aren't doing it. Anyway.  What's the best solution to this problem? How can I remove an item from the collection in a loop without throwing this exception?  I'm also using an arbitrary Collection here, not necessarily an ArrayList, so you can't rely on get.


Let A be an infinite set. Show that there exists a proper subset B of A such that |A| = |B|. Does your proof use the Axiom of Choice?  Any ideas on how to prove this?

A certain section of the chapter "The Axiom of Choice" on "Naive Set Theory" got me confused:     "[...] The assertion is that a set is infinite if and only if it is equivalent to a proper subset of itself. The "if" we already know; it says merely that a finite set cannot be equivalent to a proper subset. To prove the "only if," suppose that $X$ is infinite, and let $v$ be a one-to-one correspondence from $\omega$ into $X$. If $x$ is in the range of $v$, say $x=v(n)$, write $h(x)=v(n^{+})$; if $x$ is not in the range of $v$, write $h(x)=x$. It is easy to verify that $h$ is a one-to-one correspondence from $X$ into itself. Since the range of $h$ is a proper subset of $X$ (it does not contain $v(0)$), the proof of the corollary is complete. The assertion of the corollary was used by Dedekind as the very definition of infinity."   (The corollary would follow from "every infinite set has a subset equivalent to $\omega$".)  The question is: how can $h$ be a one-to-one correspondence from $X$ into itself if its range does not contain an element (namely, $v(0)$) that is in $X$?


I am having serious problems in exporting a map (Google satellite map) linked to QGIS.   Using the print editor I clearly see the part of the map I want to print and also in the right scale, but when I save it as jpeg, the result is: the correct map in a circle in the middle of the page, and all around it seems that Qgis is zooming at different scale on another part of the map [see attached file].  Any suggestion about it ? I don't want to save it as simple screenshot  because I need an HD file.   ]

I'm having trouble with the OpenLayers Plugin of Qgis and the map composer:  If I create an OSM-background layer and if I want to export this, the OSM-Layer looks perfectly all right in the normal qgis program window. But in the map composer and after export the layer has shifted relatively to my other shape layers (EPSG:32633 - WGS 84 / UTM zone 33N).  The second thing is that the output resolution of the exported osm-layer is very, very poor.   A really bad way of getting around this whole trouble would be to increase the screen resolution and make a screenshot of the map composition window of qgis. But I don't think this would be very professional. It also would cause a lot of pain :)   I'm using Qgis 1.8.0-Lisboa under Linux. The openlayers plugin is version 0.92.


I have the following string with characters, numbers and also extra non-numeric characters. I managed to replace the non-numeric characters. But I am lost with characters and numbers at the end.I am getting this string from the following method. I use this method to remove the non-numeric.  String[] stringArray = string.replaceAll("\\[", "").replaceAll("\\]", "").replaceAll("[^ A-Za-z0-9]","").trim().split(",");   results with "I7f253e0", "I6fc2699". How can I parse this ?  public static int[] string_to_int_arr(String string){      String[] stringArray = string.replaceAll("\\[", "").replaceAll("\\]", "").replaceAll("[^ A-Za-z0-9]","").trim().split(",");      int[] intArray = new int[stringArray.length];      for (int i = 0; i < stringArray.length; i++){         try {             intArray[i] = Integer.parseInt(stringArray[i]);         } catch (NumberFormatException e){             Log.e(TAG,"" + e);         }     }     return intArray; }

In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]


I am working on an atlas project in qgis 3 that is basically roads, towns, and other features for a quite large area. What I would like to add, is an index of all the towns in the atlas area with at least the page number, if not also a grid coordinate. My towns are all in a single layer, so I'd like to use that for my data.  Is there any way besides doing it manually? I can't seem to find any documentation or examples that would show how to do it.

I realise that this question has been asked before (), however I am still unable to figure out how to create an index map of atlas features in the QGIS map composer.  Basically, I have a line and I have five atlas maps showing the extent of the line, and to show where which map corresponds to the line a I need five overviews on a map with numbers on them, which will look similar to below:    I've created five overviews, but as all of these must be set to correspond to the main map frame, all of them show the overview for which ever atlas feature is selected at the time, rather than appearing as separate index tiles.  Can anyone tell me where I am going wrong?


Suppose that, in Java, you have an array of objects that can point to each other.  When the array goes out of scope, is the whole thing garbage collected, even though the elements reference each other?

Hopefully a simple question. Take for instance a Circularly-linked list:  class ListContainer {   private listContainer next;   <..>    public void setNext(listContainer next)   {     this.next = next;   } }  class List {   private listContainer entry;   <..> }   Now since it's a circularly-linked list, when a single elemnt is added, it has a reference to itself in it's next variable. When deleting the only element in the list, entry is set to null. Is there a need to set ListContainer.next to null as well for Garbage Collector to free it's memory or does it handle such self-references automagically?


Let $X_1,\,X_2,\,X_3,\ldots ,X_n$ represents a random sample from each of the distributions.  I have a certain function :  $$f(x;\theta)=\begin{cases}e^{\theta-x}& x\geq\theta \\ 0 & x<\theta\end{cases}$$  for $\theta\in(-\infty,\infty)$.  Finding the MLE!  My answer is the following :  $$\begin{align} L(\theta;\,x_i)&=e^{-\sum_{i=1}^n(x_i-\theta)}\\ \ln{L(\theta;\,x_i)}&=-\sum_{i=1}^n(x_i-\theta)\\ \ln{L(\theta;\,x_i)}&=n\theta-\sum_{i=1}^n x_i\\ D_\theta\ln{L(\theta;\,x_i)}&=n>0\\ D_{\theta\theta}\ln{L(\theta;\,x_i)}&=0 \end{align} $$  But i'm having trouble to find $\hat \theta$  My professor said that we must use ordered statistics when we meet this case. I mean, when the second derivative is zero or greater than zero.  But how to use ordered statistics for finding the estimator?

Let $X_1,X_2,\dots, X_n$ be a random sample form a distribution $f(x)=e^{\delta-x}$ for $x\geq\delta$. Find MLE of $\delta$.   My solution:  $$L(\hat\gamma)=\prod_{i=1}^nf(x_i\mid \delta)=\prod_{i=1}^ne^{\delta-x} =e^{n\delta}e^{\sum_{i=1}^nx_i}$$  The log likelihood is $l(\hat\delta)=n\delta-\sum_{i=1}^n x_i$. To find the $\max$ we take the 1st derivative with respect to $\delta$: $$l'(\hat\delta)=n$$ the first derivative cannot be zero. I am not sure how to proceed.


When I run ifconfig I see a specific mac address connected to my Ethernet connection.  So to change my mac address, I go to the topright where the internet connections are displayed, click on the Edit Connections option. Then I get the Network Connections popup, and I select the only Ethernet connection available and click the Edit button. From there I get the Editing Wired connection 1 window, with the Ethernet tab selected. In the Cloned MAC Address: input, I place in the NEW mac address I want to use, and click save.   From there I use ifconfig again in the terminal, and I see that nothing has changed.  QUESTION: Why is the previous process not changing my mac address. :(    UPDATE:  Just to clarrify why this question is not a duplicate, the answer linked is outdated (2011) and the Ubuntu layout is no longer the same. You'll see a comment on that question from someone else saying that the answer in fact does not work anymore

My router can do port-forwarding based on MAC addresses. That is, a specific MAC will get a specific IP, for which I can configure a set of ports to be forwarded. In order to easily change that set of ports, I'd like to have different connections in the Network manager.  How do I change the MAC address for a network connection?


If $a,b,c$ are positive reals satisfying $a+b+c \geq abc$, prove that: $a^2+b^2+c^2 \geq \sqrt 3abc$ I've been trying to solve the above question since a long time but I'm not able to. I'm not able to understand how to use this condition (I've generally dealt with inequalities having conditions as a sum = constant). Would someone please help me to solve this question? Thanks in advance!

$a,b,c$ are positive real numbers such that, $a+b+c\ge abc$. Prove that $a^2+b^2+c^2\ge \sqrt{3}abc$    My work: I tried using Cauchy-Schwarz inequality to find that, $(a^2+b^2+c^2)(1^2+1^2+1^2)\ge (a+b+c)^2$ $(a^2+b^2+c^2)\ge \dfrac13(a+b+c)^2$ $\sqrt{(a^2+b^2+c^2)}\ge \dfrac{1}{\sqrt{3}}(a+b+c)\ge \dfrac{1}{\sqrt{3}}abc$ which is not what I need and neither I can use it to prove the required inequality. Please help.


So I'm trying to add figures and I've tried few codes.  I liked the results that I get with  \begin{center} \includegraphics{img/imgfile} \end{center}   But  \begin{figure} \centering \includegraphics{img/imgfile} \caption{somecaption} \end{figure}   Enables me to add a caption.  However the latter one also seems to place the figure at the start of the page, rather than to the location, where the \includegraphics command is located.  I need to control, where the figure is placed, rather than have it placed automatically.  I also need captions.    Or is it reasonable that figures would always be placed on top of the page. I'm writing an academic text.

I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code:  \begin{figure}[ht] \begin{center} \advance\leftskip-3cm \advance\rightskip-3cm \includegraphics[keepaspectratio=true,scale=0.6]{slike/visina8} \caption{} \label{visina8} \end{center}\end{figure}   to place my figures. How can I tell latex I REALLY want the figure in that specific place, no matter how much whitespace will be left?


I have the next queries.  item = [item.export_simple()             for item in session.query(Item)                                .filter(and_(                                        Item.companyId == company_id,                                        or_(                                            True if search == "" else None,                                            or_(*[Item.name.like('%{0}%'.format(s)) for s in words]),                                            or_(*[Item.code.like('%{0}%'.format(s)) for s in words])                                             ))).order_by(Item.name)]   and this one.  if type == "code":             src = [Item.code.like('%{0}%'.format(s)) for s in words]         elif type == "name":             src = [Item.name.like('%{0}%'.format(s)) for s in words]   session.query(Item)                     .filter(and_(                         Item.companyId == company_id,                         Item.typeItem == item_type,                         or_(                             True if search == "" else None,                             or_(*src)                         )))   In both cases i have * operator in or_() statement, and both queries work awesome, but i don´t know exactly why.  This is the  and

In the following method definitions, what does the * and ** do for param2?  def foo(param1, *param2): def bar(param1, **param2):


As Einstein's theory tell us it takes infinite amount of energy to get something with a mass to reach the speed limit $c$.   How true is that when observed experimentally either in a laboratory or elsewhere in the universe?

I'm in a freshmen level physics class now, so I don't know much, but something I heard today intrigued me. My TA was talking about how at the research facility he worked at, they were able to accelerate some certain particle to "99.99% the speed of light". I said why not 100%, and I didn't quite understand his explanation, but he said it wasn't possible. This confused me. Since the speed of light is a finite number, why can we go so close to its speed but not quite?  Edit: I read all the answers, and I think I'm sort of understanding it. Another silly question though: If we are getting this particle to 99.99% the speed of light by giving it some sort of finite acceleration, and increasing it more and more, why cant we increase it just a little more? Sorry I know this is a silly question. I totally accept the fact we cant reach 100%, but I'm just trying to break it down. If we've gotten so close by giving it larger and larger acceleration every time, why cant we just supply it with more acceleration? And how much of a difference is there between 99.99% the speed of light, and the speed of light? (I'm not really sure if "difference" is a good word to use, but hopefully you get what I'm asking).


I am a new Ubuntu user and I am using Ubuntu 14.04. When I try to change root permissions, I get some error reports. I have already tried sudo chown -R 777 / and sudo chmod -R 777 /. Please help me if I am doing any mistakes. Is there any command to access my root folder or root user?

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor.  I'm pretty sure I'm a root user, but how do I make sure? If I am a root user, how do I fix this?


Is there a name for the portion of a sphere that is the intersection of a  and a  that have the same axis? I.e., the region of a sphere bound by min and max latitudes and longitudes?  (image borrowed from ) I'm tempted to use the phrase "spherical rectangle," but that  the portion of a sphere bound by four "great circle arcs which meet at equal angles greater than 90°."  (image borrowed from )

Consider the common surface of a  crossed with a . This produces a pseudo-rectangle in the sphere surface, and a perfect rectangle in a . What's the name of it? Does it have a special name? How do you think we should call it?


Prove that if $\gcd(x, y) = 1$ then $\gcd(x + y, x - y) = 1$ or $2$.  I know that any linear combination of $x, y$ is multiple of 1 since $\gcd(x, y) = 1$ then the set would be $\{1, 2, 3, 4, 5, \ldots, x - y, \ldots, x + y, \ldots \}$, $x$ and $y$ cannot be both even. But $x$ and $y$ can be both odd primes or even and odd for their GCD to be 1. If $x$ and $y$ are odd prime then $x + y$ and $x - y$ will give even integers, so their GCD could be 2. If $x$ and $y$ are even and odd then their GCD can be either 1, 3 or 5.   This is what I think. Is it in the correct way?

Suppose $a, b \in \mathbb{Z}$, $a > b$, and $\gcd (a,b) = 1$.  What can be said about $\gcd (a+b,a-b)$?  Is it true in general that $\gcd (a+b,a-b) \leq 2$?


enter.addActionListener(new ActionListener() {          public void actionPerformed(ActionEvent e)         {             User = input.getText();              if (User == "hello") {                 Console = "Hi User!";             }              output.setText("User: " + User + "\n" + "Console: " + Console);         }     });         When I run it, it displays the text on the GUI. But why is it that the console doesn't respond. I did a system.out.prinln on User when I wrote "hello" Thats exactly hat it said, why is this if statement not working?

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


So I already have done this once in this page:   In this page I was able to vertically center the text displayed on the image:   That column has 2 codes that make the text centered: This one is added to the mother div  .academy-pc .one-third.mcb-wrap {     float: none;     display: table-cell;     position: relative; }   and this one is on the child div that has the text:  .academy-pc .vertic-center {     position: absolute;     top: 50%;     transform: translate(0, -50%); }   I've been trying to apply the same logic on this page but without success:   I wanted to vertically center the text in this image bellow but I just can't find a way.   Any help? thanks in advance

I want to center a div vertically with CSS. I don't want tables or JavaScript, but only pure CSS. I found some solutions, but all of them are missing Internet Explorer 6 support.
Div to be aligned vertically
   How can I center a div vertically in all major browsers, including Internet Explorer 6?


Can someone tell me a closed subspace of a prehilbert space such that this subspace isn´t the orthogonal complement of its own orthogonal complement?

It is apparently that this holds in Hilbert space, but I can not prove this for general inner product space or find a counterexample. (The only not complete inner product space known to me is $L^2$ restricted in continuous functions.)   Here give a example, but it seems don't meet the condition closeness.  By the way, Is there any other less complicated spaces equipped with inner product but not complete?


I have an outcome from a biological experiment, where I have counted the number of dead cells upon a mutation. For example, in once case - out of 120 cells we saw 16% of the dead cells, but our expectations were around 10%. So to check the difference is significant I have performed 'z-test for changes in proportions'.  But my question is, whether is it possible to do ch-squared test on a single experiment like the above? I have Googled a lot, but all examples I see use a contingency table or involve multiple variables.

Suppose that I have three populations with four, mutually exclusive characteristics.  I take random samples from each population and construct a crosstab or frequency table for the characteristics that I am measuring.  Am I correct in saying that:   If I wanted to test whether there is any relationship between the populations and the characteristics (e.g. whether one population has a higher frequency of one of the characteristics), I should run a chi-squared test and see whether the result is significant. If the chi-squared test is significant, it only shows me that there is some relationship between the populations and characteristics, but not how they are related. Furthermore, not all of the characteristics need to be related to the population.  For example, if the different populations have significantly different distributions of characteristics A and B, but not of C and D, then the chi-squared test may still come back as significant. If I wanted to measure whether or not a specific characteristic is affected by the population, then I can run a test for equal proportions (I have seen this called a z-test, or as prop.test() in R) on just that characteristic.   In other words, is it appropriate to use the prop.test() to more accurately determine the nature of a relationship between two sets of categories when the chi-squared test says that there is a significant relationship?


The Weierstrass $\wp$ function with an associated lattice $L$ is given by the following equation for $z \notin L:$ $$ \wp(z)=\frac{1}{z^{2}}+\sum_{\omega \in L \backslash\{0\}}\left[\frac{1}{(z-\omega)^{2}}+\frac{1}{\omega^{2}}\right]. $$ What we want to show that $\wp(u) = \wp(v)$ if and only if $u-v$ or $u+v$ is a period of $\wp$. My attempt: ($\Leftarrow$): If $u-v$ is a period of $\wp$, then $\wp((u-v)+z)=\wp(z)$. In particular, we have that $$\wp(u)=\wp((u-v)+v)=\wp(v).$$ Similarly, If $u+v$ is a period of $\wp$, then $\wp((u+v)+z)=\wp(z)$. In particular, we have that $$\wp(u)=\wp((u+v)-v)=\wp(-v)=\wp(v),$$ since $\wp$ is an even funciton. ($\Rightarrow$): Is there any idea to show this direction?

I am trying problems from Tom M Apostol Modular Functions and Dirichlet Series in number theory and I am struck on this problem which is from Chapter - Elliptic Functions.      Problem is - Prove that $\wp(u) = \wp (v) $ iff    $u-v$ or $u+v$ is a period of $\wp$ .    My attempt - assuming $u-v, u+v$ to be period of $\wp(z) $ , it is very easy to see $\wp (u)=\wp(v) $ .   But if I assume $\wp (u) =\wp (v) $ , then I get $\frac {u+v} {u^2 v^2}= \sum_\omega\neq 0 \frac { u+v - 2 \omega} {  ( u- \omega) ^2  × ( v-\omega ) ^2 } $  .   I don't know how to proceed after this.  Can somebody please give some hint.


Proof that $$\sum_{k=1}^n (-1)^kk^m{n \choose k} = 0$$ for every $n>m$ and $m>1$.  I tried to use properties of ${n \choose k}.\;$ I tried to use $${n \choose k} = {n-1 \choose k} + {n-1 \choose k-1}$$ and using induction got stuck here $$\sum_{k=1}^t (-1)^kk^m{t-1 \choose k-1} = 0$$, where $t = n - 1$.

Question: For every polynomial $P(x)$ of degree at n we have $$\sum_{i=0}^{n+1}(-1)^i\binom{n+1}{i}P(i)=0$$  Well I was inducting on degree of the polynomial, for $n=0$ its true and I got a bit confused in the inductive step, actually I cant figure the inductive step.   Is this property (if true) a famous one?  Thank you for your help.


I submitted a paper to one of the Springer Journals through Editorial Manager almost 5 months back. The status changed from Editor Assigned to Under Review and now it is showing "Reviews Completed" since past five days. Can anybody suggest what does it actually mean and is there any other stage before the decision is made?  Does it give any indication about the reviewers not rejecting my submission?

I had submitted my paper in an Elsevier journal one year back. Now, status update on the submission tracking says "Required reviews completed." However, for the last two weeks still there is no change in the status.  Should I ask the editor what is going on with my submission?


I used more or less non stop my new Macbook Pro M1 for about 7 hours and noticed that at the end of the day the battery was already at 14% despite the fact it was fully charged when I started working. While working I was using a second monitor, a wired keyboard, a wireless mouse and a USB hub. The programs I actively used that day were Safari, Chrome, Sublime Text and iTerm2. Safari, Chrome and Sublime were constantly using more or less 500 MB of RAM. Apple said the new M1 had an autonomy of 20 hours so I'm a bit surprised that after only 7 hours of work it is already at 14%. Is this suppose to be normal? Is it the same for everyone out there? Thank you.

I'm new to the world of Apple, I bought a new Macbook Pro, mid-2020, Intel i7, 16GB RAM. I'm a developer, I run apps like VS Code, Sublime Text, Slack, Chrome (Multiple Windows), I play videos/songs in the background. I have been keeping a track of the energy consumption on my Mac, and it only runs for 4 hours. I have reset my SMC after I upgraded to Big Sur. Is 4 hours normal? or should I go to the service center? Update on 3 Feb 2021: I submitted my Mac to the Apple service center they said they conducted a few tests and the conclusion was that the battery is fine (I don't know what type of test they did). So I guess I'll be using it on AC Update on 12 Feb 2021: Took it to the service center, they didn't find any issues so I started using Safari for work and my battery has improved by 1 hour on Average.


I deleted 40 some photos from my SD card in my camera.  I thought I saved them on my desktop.  Using 12.04 LTS.  Is there a way to restore the photos??  My wife is pissed.  Nothing has been over written on the card.  Thanks

Are there any tools, methods, incantations to recover recently deleted files on Ubuntu?  If it makes any difference, I want to recover a  2.x database file. But would be better to have a method/tool that works on any kind of file.


it is about 2 weeks from releasing ubuntu 21.04. during this period i have tried to upgrade my ubuntu 20.10 to 21.04 using software update and also using upgrade command in terminal. but it does not offer upgrade at all. i have checked the repository setting and it is set to stable (not LTS). what is the problem?

Today is the release of Ubuntu 21.04 (Hirsute Hippo). And I can't update to this version. And also I selected ‘Notify me of a new Ubuntu version’ and changed it to ‘For any new version' on the Updates tab on Software & Update, but it's still not working. In addition, in the terminal, I've written: sudo do-release-upgrade -c  And output was: Checking for a new Ubuntu release No new release found.  What should I do?


I am going to set up a new Linux system on the SSD drive. Does the filesystem choice make a difference for them? Should I go with the default ext4, maybe try XFS, or does it just not matter?

I always thought that traditional file systems, are geared and optimized for non-ssd drive, where, for instance, data locality is important, and fragmentation is problematic.  Is there a file system recommended today for SSD drives? Am I better off just using ext4?


I'm lazy and I want to save on typing.  So I have  \newcommand{\bv}{\begin{verbatim}} \newcommand{\ev}{\end{verbatim}}  \bv Hi, this should be verbatim \ev   in my document, but this produces an error:  Runaway argument? ^^MHi, this should be verbatim^^M\ev^^M^^M\end{document}^^M ! File ended while scanning use of \@xverbatim.   What's the matter here?

I have a question about a Verbatim, I want to write a word inside of the subsubsection title. I got an error. How can I fix it?: \subsubsection{The \verb+@interface+ Section}


There're some videos doing this however its older versions and some nodes don't even exist anymore. Blur is gone and so subtract.   I have no idea how to blur my hdri.  Even tried photoshop but when i put it to blender theres a black line between the 0 and 360 angle

For a Cycles material I need to blur a texture. If the texture where a Texture Image node, I can blur the image before adding it but in my case I need to blur a Voronoi Texture and so I can't do it.  I have searched but I didn't find a blur node. Can this be achieved?


I am presently a Windows user planning to switch to Ubuntu. My only concern is whether I will be able to use applications like Bit Torrent and Adobe products like Photoshop, Indesign and Premiere

This former Windows user is all set with a new Ubuntu installed to his box. And now I'd like to know what default applications I have in my system? And esp. for these categories:   Audio Video Graphics & Design Internet & Network Torrent client Office Packages (Word Processors, Spreadsheet, etc.) System and Administrative tools command line emulator


I have heard the word medal used as a verb recently by members of the (BBC) Rio 2016 commentary team and on occasion to podium even slipped in - is this a common phenomenon?  Perusal of the internet indicates that to medal is not just a recent occurrence but one that stretches back to the  and a usage in reference to the   (N.B.: Ngrams only looks at written language so it's apparent decline recently is probably not representative of its overall usage)     the OED lists examples of using "medal" as a verb as long ago as Byron, in 1822: "He was medalled." [The modern usage is]  dated by the OED from 1966: "to win a medal (i.e. to come first, second, or third in a sporting event or competition)".   ()   Podium as a verb has no such illustrious history with a more minor usage in mainly athlete circles. My Ngrams search (see above) finds to podium has a small, recent use but podiumed is not found (and is highlighted as a spelling error). It is listed in the OED but as mainly in AmE.       (Of a competitor in a sporting event) finish first, second, or third, so as to appear on a podium to receive an award:     **In the end, my question is:   Are these words mainstream verbs or are they merely seasonal, and don't see use outside of commentary and competitor circles?**

Is “I medalled in volleyball” a grammatically correct sentence? According to OED, medal is a verb and a noun. I haven't seen any usage of the word as a verb, but I am assuming the above sentence is correct.


After Windows 10 Anniversary update the grub OS choice menu no longer shows, I just get the grub prompt. From the grub prompt I can use ls on only one of the partitions, which has three folders: ubuntu, boot and windows but I'm not sure what to do from the grub command line.  I've tried using the boot-repair tool but it didn't work.  I tried the bcdedit approach mentioned here  but it didn't change anything.  I fear for the worst because the partition that had ubuntu on it is not recognized properly by gParted (it says file system unknown), and fdisk -l /dev/sda6 says "Disk /dev/sda6 doesn't contain a valid partition table" I've not much experience with partitioning or grub, and maybe it's a wrong assumption, but since I have only two partitions with more than 100GB, and gParted says sda4 has the Windows label I've assumed that sda6 is my old Ubuntu partition.  I tried the accepted answer from here:  but immediately hit problems because I couldn't mount my ubuntu partition. Without type (or with -t auto) mount says I must specify type, but with type I get:  sudo mount -t ext4 /dev/sda6 /mnt mount: wrong fs type, bad option, bad superblock on /dev/sda6,        missing codepage or helper program, or other error        In some cases useful info is found in syslog - try        dmesg | tail  or so   Here is the output from sudo parted -l  Model: ATA Crucial_CT250MX2 (scsi) Disk /dev/sda: 250GB Sector size (logical/physical): 512B/4096B Partition Table: gpt  Number  Start   End     Size    File system     Name                          Flags  1      1049kB  735MB   734MB   ntfs            Basic data partition          hidden, diag  2      735MB   1008MB  273MB   fat32           EFI system partition          boot  3      1008MB  1142MB  134MB                   Microsoft reserved partition  msftres  4      1142MB  103GB   102GB   ntfs            Basic data partition          msftdata  5      103GB   104GB   855MB   ntfs                                          hidden, diag  6      104GB   230GB   125GB  7      230GB   238GB   8468MB  linux-swap(v1)  8      239GB   250GB   11.5GB  ntfs            Basic data partition          hidden, diag   Here is the output from the recovery tool:   I haven't tried TestDisk yet because I'm not sure if it can fix it (and I don't want to break the windows partition) but if anyone thinks it's worth trying I can do that.  Overall it's been a very sad anniversary for Windows for me. When I saw the Windows "Hi.. We've updated your PC" on screen I wanted to put my fist through it.  Update: I tried TestDisk and now windows isn't booting either after just doing the basic "scan" and write partition table.

I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu.   How can I get Ubuntu back?


How would I solve this trigonometric equation?  $$\frac {2 \tan x}{1-\tan^2x} = \sin^22x$$  I got to this stage: $$\frac{\sin2x}{\cos2x} = \sin^22x$$  Is it a dead end?

$$\frac {2\tan {x}}{1-(\tan {x})^2} = (\sin {2x})^2$$  I tried a lot but I get nowhere


I have changed the Trusted Host Settings on my website where I currently installed Drupal beta 8.0 alpha version. But in the error report it is still saying that "Trusted Host Settings NOT ENABLED" . I have changed the code as follows.  // Before $settings['trusted_host_patterns'] = array(   '^www \ .example \ .com$', );     // After $settings['trusted_host_patterns'] = array(   '^www \ .technicalreply \ .com$', );   The error report is still saying that trusted host settings are not enable. What did I do wrong? How can I fix it?

From Drupal 8 beta 6 (released today), I have this error :     Error message UnexpectedValueException: Untrusted Host "localhost" in   Symfony\Component\HttpFoundation\Request->getHost() (line 1221 of   core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Request.php).   I use this local url to call my site:   Inside my setting file, I have:       $settings['trusted_host_patterns'] = array(         'theming\.dev$',      );   Note, this error is displayed only when I uncomment this lines:   if (file_exists(__DIR__ . '/settings.local.php')) {    include __DIR__ . '/settings.local.php';  }   What is the problem please ? Thanks.


I have read that in Candy Box 1, you may buy "Surpass yourself" in order to defeat yourself. My question is, there is no option to buy that; so how do you beat yourself?

When I use the X Potion from any level, I get teleported to an area where I fight myself. But, I can't seem to win!  Whenever I try to heal, the other me heals as well, so I keep dying before I can kill myself! How can I win?


I have the following Java class  public class MyClass <T extends MyInterface> implements RowMapper<MyInterface>   I'm implementing the following method:  @Override public T mapRow(ResultSet rs, int arg1) throws SQLException {   How can I create an instance of 'T' type on that class?   I tried to define the T type class and use "myInstance.newInstance()" but I was unable to define it. Sending the Class as a parameter to the method and using the "newInstance()" method works, but I want to be able to do so without having to pass it as a param. Thanks!

Is it possible to create an instance of a generic type in Java? I'm thinking based on what I've seen that the answer is no (due to type erasure), but I'd be interested if anyone can see something I'm missing:  class SomeContainer<E> {     E createContents()     {         return what???     } }   EDIT: It turns out that  could be used to resolve my issue, but it requires a lot of reflection-based code, as some of the answers below have indicated.  I'll leave this open for a little while to see if anyone comes up with anything dramatically different than Ian Robertson's .


I have both a mortgage and student loans, as many now do.  My mortgage is at 5.5 % with ~ $250k balance and my student loans are at ~ $98k with 2.125 % interest.  The remaining number of payments are about equivalent (~25 years).  So, the question is does it make more sense to pay down the mortgage faster through higher extra payments or get rid of the student loans asap or do a mix of extra payments on both?    Right now I think of my student loans as part of my mortgage, but the total estimated interest paid over the life of the student loans is ~$40k while the cumulative mortgage interest is >$200k.  Therefore, wouldn't it make more sense to pay down the mortgage that is also at a higher interest rate, faster?   The way I pay today is a little extra to the student loans and about 1 extra payment per year on the mortgage.  As my income changes I adjust the mortgage payment a little higher each year similar to my retirement savings.  Thanks

So I have roughly $5000 in student loans at 5% and about $65000 on my mortgage at 3.875% (5/1ARM).  Should I put extra payments towards the student loan or the mortgage?    5% is higher, so if it's really a matter of playing off the higher interest rate that would be it, but it seems like the mortgage is a lot more "top-heavy" (not sure of the proper term) with most of the interest in the beginning and principle later on, so payments early on would have a bigger effect than later on.  Edit (originally a comment but felt it should be part of the question): Paying the highest interest first seems to make the most intuitive sense, and that's what I hear the most, however when I plug in to interest calculators, it shows that on the 5% student loan I'll be paying $1000 in interest making min payments, so hypothetically if I pay that off right now in one lump sum I'd be saving about $1000. On the other hand, if I instead take that amount of put it towards my mortgage, the calculator for that shows I'd save $10,000 in interest over min payment (over the lifetime of the loan).   Am I missing something?


This is a major shortcoming of the app in not including a dark theme option. I've been using the Dark Mode add-on in Firefox for desktop but on the app there's no way to escape the unnecessarily bright theme.   Please bring in a dark theme to the app.

Will there be a new version of the Android app? It's been without any update for a long time and it doesn't seem to be working really well.


I am an undergrad physics student who has finished the first year curriculum: very basic mechanics and thermal physics; basic linear algebra; basic multivariable calculus and differential equations; and basic electromagnetism/relativity (with very basic quantum physics).  The goal that I want to achieve is understanding of following fields in physics:     Dynamics (Hamiltonian, Lagrangian, Fluids, tc...) Field Theory Quantum Mechanics Statistical Mechanics/Thermodynamics Special/General Relativity Astro/Cosmological Physics Standard Model of Particle Physics   I have all the resources in the library/professors at my University.    What I want to know from this post are:   Which books I should get from the library for each fields in physics I have listed above.  If it is possible, please suggest a book from beginners-intermediate-advanced section so that I can work from one to the next when I've done with more basic one. In which order should I learn?  (rearrange 1-7 on the choices above or feel free to add if you have suggestions)   Your opinion on this stupid (one might think) challenge.   The thing is that I could've taken a course and study, but due to the prerequisitse and things, I can't. I don't want to wait another year or two years to learn those fields.

Every once in a while, we get a question asking for a book or other educational reference on a particular topic at a particular level. This is a meta-question that collects all those links together. If you're looking for book recommendations, this is probably the place to start.  All the questions linked below, as well as others which deal with more specialized books, can be found under the tag  (formerly ).  If you have a question to add, please edit it in. However, make sure of a few things first:   The question should be tagged  It should be of the form "What are good books to learn/study [subject] at [level]?" It shouldn't duplicate a topic and level that's already on the list   Related Meta:


Show that $a^2 + b^2 = c^3 $ has infinitely many solutions in $ \{ (a,b,c) \in \Bbb Z ^3 | (a,b)=1, (a,c)=1, (b,c)=1 \}$ . Describe all these solutions.    I don't know how to approach this question. I'm thinking about something like $a^2+b^2=(a-bi)(a+bi)$, so we get $xy=c^3$ where $x,y \in \Bbb Z [i]$. I'm not sure it's the right way to do this.

I need to prove that the equation $x^2 + y^2  = z^3$ has infinitely many solutions for positive $x, y$ and $z$. I got to as far as $4^3 = 8^2$ but that seems to be of no help.  Can some one help me with it?


I wanted to recursively run chmod go+w in a particular folder including hidden files, and I first tried find . -name ".*" -o -name "*" -exec chmod go+w {} \;  but I found that it wasn't affecting hidden files. To check myself, I ran just find . -name ".*" -o -name "*"  and the hidden files were listed. I also noticed that if I excluded the -o -name "*" part it would chmod the hidden files (but exclude non-hidden of course). My last attempt was to use xargs instead find . -name ".*" -o -name "*" | xargs chmod go+w  which finally worked as expected. What am I doing wrong in the first snippet?  Red Hat Enterprise Linux Server release 6.8 (Santiago) GNU bash, version 4.3.42(1)-release (x86_64-unknown-linux-gnu)

When I'm using  find . -type f -name "*.htm*" -o -name "*.js*" -o -name "*.txt"  it finds all the types of file. But when I add -exec at the end:  find . -type f -name "*.htm*" -o -name "*.js*" -o -name "*.txt" -exec sh -c 'echo "$0"' {} \;  it seems it only prints .txt files. What am I doing wrong?  Note: using MINGW (Git Bash)