Fixed: I did alot of troubleshooting and testing diffrent solutions(see rest of the post and comments).  I got it working after doing the following steps:   I ran "ipconfig /renew" in commandline. Deactivated and reactivated my network connection/network card. Hard-refreshed(ctrl+r) again.     I try to get into StackOverflow.com, but all I get is text and links. Nothing is styled/formatted, and the text has no structure.  meta.stackoverflow.com works like normal. All other webpages works normal.  Here's an example of StackOverflow.com:   Edits  Tried:   Firefox, Chrome and Opera. Same results in all browsers. Hard-refresh: Ctrl-F5 and ctrl+shift+r Clearing my cache   Still nothing. Seems like a CDN problem.  Other information:   Windows 8 Chrome 50mb bandwidth   Edit2  Einar>tracert cdn.sstatic.net  Tracing route to sstatic.net.cdn.cloudflare.net [2400:cb00:2048:1::be5d:f73a] over a maximum of 30 hops:    1    <1 ms    <1 ms    <1 ms  2a00:c440:20:12c2::1   2     1 ms     1 ms    <1 ms  2a00:c440:5:1::1   3    <1 ms     1 ms    <1 ms  2a02:2690:0:f::11   4     *        *        *     Request timed out.   5     *        *        *     Request timed out.   6     *        *        *     Request timed out.   7     *        *        *     Request timed out.   8     *        *        *     Request timed out.   9     *        *        *     Request timed out.  10     *        *        *     Request timed out.  11     *        *        *     Request timed out.  12     *        *        *     Request timed out.  13     *        *        *     Request timed out.  14     *        *        *     Request timed out.  15     *        *        *     Request timed out.  16     *        *        *     Request timed out.  17     *        *        *     Request timed out.  18     *        *        *     Request timed out.  19     *        *        *     Request timed out.  20     *        *        *     Request timed out.  21     *        *        *     Request timed out.  22     *        *        *     Request timed out.  23     *        *        *     Request timed out.  24     *        *        *     Request timed out.  25     *        *        *     Request timed out.  26     *        *        *     Request timed out.  27     *        *        *     Request timed out.  28     *        *        *     Request timed out.  29     *        *        *     Request timed out.  30     *        *        *     Request timed out.  Trace complete.  Einar>

I originally thought this was a mobile-theme related issue, but it is not. The css of the page does not load.  I guess I could clear my browser's cache. Is there any other option?      Edit: I do not have the "full site" option at the very bottom :(      Edit2: this is not an issue with the mobile theme. Here's my data according to the requests from      Samble CDN file:    My IP: 186.48.230.46   Tracing route to sstatic.stackexchange.netdna-cdn.com [69.174.57.102]   over a maximum of 30 hops:      1    21 ms    15 ms    25 ms  pucor1bras1.antel.net.uy [200.40.21.7]    2    16 ms    16 ms    18 ms  ibb2cor1-7-2-93.antel.net.uy [200.40.21.81]    3    20 ms    16 ms    16 ms  ibb2agu1-1-3.antel.net.uy [200.40.16.73]    4    29 ms    56 ms    21 ms  ibr3agu1-p1.antel.net.uy [200.40.18.38]    5   167 ms   159 ms   159 ms  So5-2-0-0-grtbueba2.red.telefonica-wholesale.net.7.16.84.in-addr.arpa [84.16.7.57]    6   156 ms   159 ms   163 ms  Xe5-1-3-0-grtmiabr7.red.telefonica-wholesale.net.125.142.94.in-addr.arpa [94.142.125.122]    7   200 ms   209 ms   186 ms  Xe-0-0-2-0-grtwaseq3.red.telefonica-wholesale.net [94.142.124.109]    8   198 ms     *      196 ms  213.140.55.90    9   199 ms   197 ms   204 ms  po2-20G.ar4.DCA3.gblx.net [67.16.133.82]   10   222 ms   195 ms   194 ms  PACKETEXCHANGE-LTD.TenGigabitEthernet2-4.ar4.DCA3.gblx.net    [64.211.83.106]   11   205 ms   197 ms   197 ms  te4-7.cr1.was2.us.packetexchange.net [69.174.120.125]   12   180 ms   206 ms   188 ms  69.174.31.2   13   194 ms   192 ms   221 ms  69.174.57.102        Trace complete.      Tracert to the origin:   Tracing route to sstatic.net [64.34.119.12]   over a maximum of 30 hops:      1    29 ms    33 ms    38 ms  pucor1bras1.antel.net.uy [200.40.21.7]    2    38 ms    19 ms    16 ms  ibb2cor2-7-2-93.antel.net.uy [200.40.21.209]    3    66 ms    93 ms    73 ms  ibb2uni2-1-3.antel.net.uy [200.40.16.98]    4    46 ms    24 ms    20 ms  ibr3uni1-p2.antel.net.uy [200.40.22.166]    5   214 ms   224 ms   198 ms  so-3-1-0.mia11.ip4.tinet.net [77.67.78.189]    6   221 ms   253 ms   224 ms  xe-0-2-0.nyc20.ip4.tinet.net [89.149.183.2]    7   301 ms   291 ms   304 ms  peer1-gw.ip4.tinet.net [77.67.70.194]    8   230 ms   225 ms   223 ms  10ge.xe-0-0-0.nyc-telx-dis-2.peer1.net [216.187.115.182]    9   263 ms   204 ms   199 ms  oc48-po3-0.nyc-75bre-dis-1.peer1.net [216.187.115.134]   10   209 ms   208 ms   207 ms  gwny01.stackoverflow.com [64.34.41.58]   11   202 ms   217 ms   221 ms  stackoverflow.com [64.34.119.12]        Trace complete.   Datacenter: Miami


I've animated my object with Simple Deform modifier (keyframed Angle property in Bend tab) and i would like to export this animation into game engine via .fbx. If i'm not wrong, i need to bake animations first, but i don't know how to bake modifier animation. "Bake Action" doesn't work, it just removes Simple Deform modifier, but animation is not baked after that.  Edit: I've discovered that i can "Apply As Shape Key", but baking shape keys also seems not to work...

I'm trying to use a .blend file with a keyframe animation on the angle of a Simple Deform modifier in Unity3D. Unity3D however does not know how to handle modifiers and hence cannot play the animation.  How can I bake/save the animation to the .blend file so that Unity3D can play it?


Both roots $x_1$ and $x_2$ of a square equation $x^2+ax+b=0$ can take any value from $-1$ to $1$  with equal probability . Determine the probability densities for coefficients $a$ and $b$.   I think I should use the properties of Vieta's theorem then $x_1+x_2=-a$ and $x_1\cdot x_2=b$.  And I don't know how to solve it further.


I use the texmaker editor to write latex. To write chemistry formulas, what extension do you recommend? I downloaded it from Miktex that have a lot.  Thanks

What is the 'best' package for typesetting chemical formulas? (I don't need anything but the chemical formulas.)  Assume I want to typeset     The dissociation of a AgBr molecure requires an energy of $E = \SI{123456789}{\J}$.   I am using the  package for the physical quantity but what about AgBr?


I had this question for a long time.   We always use it in differentiation,Integration , Logarithms ..etc.   What is its origin ?   What unique qualities does it have over other real numbers?

Potentially related-questions, shown before posting, didn't have anything like this, so I apologize in advance if this is a duplicate.    I know there are many ways of calculating (or should I say "ending up at") the constant e.  How would you explain e concisely?  It's a rather beautiful number, but when friends have asked me "what is e?" I'm usually at a loss for words -- I always figured the math explains it, but I would really like to know how others conceptualize it, especially in common-language (say, "English").     related but not the same:


It always seemed to me that the noise from electric kettles follows a pattern: It starts low, then increases, and decreases again before the water starts to boil.  To verify this, I performed a little experiment: I recorded the kettle using my cellphone at sampling frequency $44.1\ \mathrm{kHz}$. I used $1.2$ liters of water at room temperature (well, it's just normal tap water, I didn't actually perform a temperature measurement). I turned the kettle on at $t=0$, and it took $6$ minutes until the kettle switched itself off. Attached are the graph of the recording, a spectrogram (log scale) and an image of the kettle:        (Due to the high sampling frequency, this graph shows mainly the envelope of the audio, but this is what I'm interested in. you can notice on the graph the sound of the initial and final "clicks" of the switch).  Looking at the graph, the pattern is indeed very visible. The amplitude increases at a steady rate from $t=30\ \mathrm s$ to $t=90\ \mathrm s$, then it increases at a bigger rate and flattens at around $t=130\ \mathrm s$, it starts to decrease at $t=210\ \mathrm s$, and at $t=290\ \mathrm s$ (which is when it seemed to me that the water started to boil) increases again to a flat value until the end.  What may be the reason for this pattern?  (If needed, I can provide more info about the experimental setup and more data visualizations)    EDIT$1$: Apparently . But I still wonder about the various phases in the boiling process, which are not mentioned in the other question.

Water in my electric kettle makes the most noise sixty to ninety seconds before the water comes to a full boil. I have been fooled many times by the noisy kettle, only to discover that the water was not yet hot enough for tea. The kettle is only at a full boil after the noise has subsided.    I have noticed the same phenomenon with many other kettles, including conventional kettles on kitchen ranges; it is not a peculiarity of this electric kettle.  Why does the boiling become quieter as the water reaches full boil?


In the English language, there are many words for relationships between two relatives. For instance, my father's brother is my "uncle", the daughter of my father's brother is my "first cousin", the wife of my father's brother is my "cousin-in-law" and so on.  I remember once seeing an online resource that would allow you to plug in the two relatives and spit out their relationship. It even included all of those completely confusing "blah blah  twice removed" relationships. I have no idea where that link is any more and I've been looking for one such link ever since.  Does anyone know of a resource for easily determining relationships between two relatives in the way I have described?  These previous questions have elements of what I'm looking for, but not completely:

Here at the Genealogy and Family History Stack Exchange we see many questions about relationship mapping which is also known as:   relationship calculation kinship terminology etc   If you are just trying to understand how to calculate "cousins and removes" then  provides an excellent guide.  However, if you are seeking an English term for a more complicated relationship between two members of an extended family, rather than asking a question like:          site users are encouraged to first review the answers below.    Note: This Q&A arises from  and is set to  to help make it canonical.


How To Add Footer in asp.net Which adjusts automatically with content on the page and the screen size.  I have a Footer on a master page. and I want all the content pages should adapt automatically to the content on the screen or screen size  I have tried.  footer {         background-color: lightgray;         position: unset;         left: 0;         margin-bottom: auto;         height: 64px;         width: 100%;         overflow: hidden;     }   the added footer on the master page  <footer>         <asp:Image ID="Image2" runat="server" ImageUrl="~/wp-content/Images/114x114.png" ImageAlign="Baseline"             AlternateText="Foodora.com" Height="67px" />         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                 <asp:Image ID="Image3" ImageAlign="Middle" runat="server" ImageUrl="~/wp-content/Social/facebook_sq.png" />         &nbsp;&nbsp;&nbsp;             <asp:Image ID="Image4" ImageAlign="Middle" runat="server" ImageUrl="~/wp-content/Social/twitter_sq.png" />         &nbsp;&nbsp;&nbsp;             <asp:Image ID="Image5" ImageAlign="Middle" runat="server" ImageUrl="~/wp-content/Social/instagram_sq.png" />     </footer>   but on the page, that has a small amount of content the footer has white blank space ...

I have a simple 2-column layout with a footer that clears both the right and left div in my markup.  My problem is that I can't get the footer to stay at the bottom of the page in all browsers.  It works if the content pushes the footer down, but that's not always the case.


I need numbers in between the specific interval.  # include<iostream> # include<cstdlib> # include<ctime> using namespace std;  int main() {     srand(time(0));      for (int x = 1; x<=10; x++)     {         cout<<  15+ (rand()% 20)   <<endl;      } }   I expected the output between 15 and 20 like [15,20], but i always get output > or <, not in the exact interval.

I need to generate random numbers within a specified interval, [max;min].  Also, the random numbers should be uniformly distributed over the interval, not located to a particular point.  Currenly I am generating as:  for(int i=0; i<6; i++) {     DWORD random = rand()%(max-min+1) + min; }   From my tests, random numbers are generated around one point only.  Example min = 3604607; max = 7654607;   Random numbers generated:  3631594 3609293 3630000 3628441 3636376 3621404   From answers below: OK, RAND_MAX is 32767. I am on C++ Windows platform. Is there any other method to generate random numbers with a uniform distribution?


How to set the spacing (vertical) between two lines of the document? What is the standard spacing?

I would like to typeset a draft of my document with double linespacing so that my collaborators have space to write in their edits (with a pen).  How do I do it?


I have a Jquery function that when a button add_entry is clicked, inserts a 'save button' inside the page like this; the button shows up, so I assume that part is working.   $("#add_entry").click(function(){     $("#add_entry").hide();     $('#status').append(<button class="save_entry">Test</button>); });   then I have yet another function that is supposed to be called when aforementioned save button is clicked:   $(".save_entry").click(function(){     alert("i dont work :/"); });   which makes me wonder...  a) How does DOM manipulation actually work? - Since the jquery part is wrapped into the $document.ready() method does that mean i cant access 'on-the-fly' created elements like that ?   b) when injecting elements with DOM manipulation, they never appear in the source... why?   Thank you for your time.

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


When connecting a second external monitor kernel_task spikes to 600%+. This makes the computer unusable.  Before Yosemite, this worked fine with 3 monitors.  Here are the specifics:    When I connect one monitor to either DP or HDMI things work fine. When I connect a second monitor with either DP or HDMI kernel_task spikes. When I disconnect either the DP or HDMI sometimes the kernel_task rapidly returns to normal levels. When I disconnect all monitors the kernel_task rapid returns to normal levels. (In Activity Monitor goto View > Update Frequency > Very Often and as soon as you disconnect the monitors, you will get lots of rapid updates to the UI). Occasionally when plugging in two monitors it works (DP or HDMI) but the 3rd causes an immediate spike. After this happens, all monitors must be removed for it to return to normal. Sometimes removing all but one will fix it. Sometimes when I plug all 3 in it takes 3 mins+ for it to occur.   What I have tried:   Resetting NVRAM. Resetting SMC. Attempting the above scenario with power adapter plugged in and running on battery. Disabling "Automatic Graphics Switching" in Energy Saver. Using integrated graphics by using sudo pmset -c gpuswitch 0   NOTE: When trying some of these things sometimes it takes 1min to happen.  System config:  I am running a MacBook Pro Retina 2.7Ghz i7 (Macbook10,1 / Mid 2012) running Yosemite 10.10.1.  I have 3 external monitors (Dell 2415H) with 2 connected by Display Port and 1 with the HDMI.    I think the issue has to do with power management. Whenever my CPU hits 58 degrees it seems to occur. I just left my 3 monitors plugged in for 5+ mins and it didn't happen. But when I started searching using Chrome it immediately happened.  Looks like a good fix here:

I use Yosemite 10.10.4 on my MacBook Pro (2012).  I used to work with an external monitor: Apple Thunderbolt 27" monitor.  The issue is that, according to Activity Monitor, the kernel_task process consumes more than 600% of CPU even when no tasks are running! The computer becomes totally unusable.   The workaround is to disconnect the external monitor, but I really need this secondary screen to work.  Why didn't Apple fix this issue in the latest Yosemite update?  Is there a fix for this?


Yes, this was , but the Twitter interface keeps changing, and changing, and changing. As of 1 July 2013, how do I see who retweeted my tweets on twitter.com?

Twitter now has an 'activity' tab where the 'retweets' tab used to be. How can I find out which of my tweets have been retweeted, and by whom?


Using the parseFloat method converted the string value from the DB to float and multiplied by 100. But the output looks odd. Following the piece of code which I've used.  parseFloat(upliftPer) * 100 //upliftPer value read from DB and its value is 0.0099   So when it multiplied with 100 getting 0.9900000000000001 I suppose to get 0.99 but some junk values getting appended. Also I went ahead and did the same in the console log of chrome browser still the same result. I have attached screenshots for reference. Solution I needed is 0.0099 * 100 should result 0.99. I cant apply round / toFixed since I need more precision.

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


Is it possible to globally alter the way figure captions are rendered? For example, I might want to wrap all captions in \textit to better distinguish captions from regular text.

I would like to italicize my figure captions and make them smaller.  How can I do that?


The $E$-field of an infinite plane with a uniform charge density $\sigma$ has a constant magnitude equaling $2\pi\sigma$.  Now, this magnitude assumes a continuous charge model throughout the plane.    In reality, the plane is made up of discrete charges, which obey Coulomb's law.   Does the continuous model accurately describe what happens just on top of the plane?

Coulomb gave the law for the force between two static charges while considering them to be points in space. But the differential form of Gauss' Law talks about charge densities, a thing possible only if charges are smeared out in space.   Even Feynman addresses to the problem in his lectures when he says that on solving for the electrostatic energy in the field of a point charge we get infinity as the limit.  So do we know now that whether charges are point-like or smeared out?


I'm very new at python so I'm still learning some things. But I'm doing this code and I need to know how to get the x and y variables from the "getHumanMove" function so that I can use it in the "getPiles" function  def getHumanMove(x,y):     finished = False     while not finished:         x=int(input("Which pile would you like to take from?(1 or 2)"))         y=int(input("How many would you like from pile "+ str(x)+ "? "))         if pile1 and pile2<y:             print("pile " +str(x)+ " does not have that many chips. Try again.")         elif y==0:             print("You must take at least one chip. Try again.")         else:             print("That was a legal move. Thank You.")         finished = True     return x,y  def getPiles(pile1, pile2):     print("Here are the piles: ")     #################################Here is where I need to put the x, y variables      pile1= pile1     pile2= pile2     if temp_x == 1:         pile1= pile1- temp_y         print("pile 1: ", str(pile1))         print("pile 2: ", str(pile2))     elif temp_x == 2:         pile2= pile1- temp_y         print("pile 1: ", str(pile1))         print("pile 2: ", str(pile2))         return pile1, pile2  ##############################Main############################## move= getHumanMove(pile1, pile2)  pile= getPiles(pile1, pile2)

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


I have Nikon D5200 with 18-55mm kit lens, and I want to buy a lens hood. Some related questions:   Will the lens hood increase the photo quality? What are the types of lens hood? Should I be looking at a "petal" lens hood or a circular one?

Pretty straight forward question.  What does a lens hood do?


Hi i have a a underfull \hbox (badness 10000) error in my bibliography list below but not sure why?  \bibitem{application 1} K. Conrad \textit{http://www.math.uconn.edu/$\sim$kconrad/blurbs/gradnumthy/mordelleqn1.pdf}  (accessed on 09/01/2016).   could anyone help?

I am getting lots of "Underfull \hbox" warnings that point to the *.bbl file. It looks like these messages appear only when URLs are very long, like in the below example:  @techreport{nistguidesec,   author    = {Wayne Jansen and Timothy Grance},   title     = {Guidelines on Security and Privacy in Public Cloud Computing},   month    = {January},   note     = {Draft Special Publication 800-144. Available at \url{http://csrc.nist.gov/publications/drafts/800-144/Draft-SP-800-144_cloud-computing.pdf}}, }   In the produced PDF text is correctly hyphened and links are correctly split over several lines (I am using hyperref package)  How can I avoid annoying warning messages about "underfull \hbox" pointing to bibliography?


The measured speed of neutrinos can't be separated from $c$ within experimental limits.  The standard model includes no mechanism to grant neutrinos mass.  The mass of neutrinos can't be detected.  Nevertheless, if you were to conclude that neutrinos are massless you would be wrong (as they experience subjective time and so can't travel at $c$).  Can we falsify the hypothesis that photons have a tiny mass and travel just a little bit slower than $c$?  What's the largest mass photons could have?

Are there experiments which show that single photons (not classical em waves) travel exactly at $c$ in vacuum?  What is the error bar in that case? The question is posed due to the fact that loop quantum gravity predicts variations in the speed of light.


I'm not sure if I'm doing this correctly, but the way I have my server set up now is the user send a POST request to /api/login with their username and password. If it's correct, the server send back a JsonWebToken and the client stores it in localStorage by doing localStorage.setItem('auth', token)  Now my question is how do I get the client to send that token to the server every time they go to a new page on the site?   Eg say in the HTML I have  Home    How do I sent the token when they click that link so the server can validate the user and load the appropriate HTML? I'm using NodeJS and Express

I'm looking into a restful design and would like to use the HTTP methods (POST, GET, ...) and HTTP headers as much as possible. I already found out that the HTTP methods PUT and DELETE are not supported from the browser.  Now I'm looking to get different representations of the same resource and would like to do this by changing the Accept header of the request. Depending on this Accept header, the server can serve a different view on the same resource.  Problem is that I didn't find a way to tell my browser to change this header.   The <a..> tag has a , that can have a mime type, looked like a good candidate but the header was still the browser default (in Firefox it can be changed in about:config with the network.http.accept.default key).


The page in question:   I want to change this image in the #header from    to this new image    Is there a way to do it by pasting code in the console panel? (client side)  I tried:  var header = document.getElementById("header"); header.style.backgroundImage = 'url(http://i.imgur.com/htDLyzu.png)  no-repeat!important';

Title pretty much sums it up.  The external style sheet has the following code:  td.EvenRow a {   display: none !important; }   I have tried using:  element.style.display = "inline";   and  element.style.display = "inline !important";   but neither works. Is it possible to override an !important style using javascript.  This is for a greasemonkey extension, if that makes a difference.


I have an old PC which I installed Ubuntu on a long time ago that I want to update but not to the newest version of Ubuntu. I'm taking a programming class that requires me to use Ubuntu 14.04 for all my work and I would like to update this old box to that version.  uname -a returns this.  Linux ubuntu-Server 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux   14.04 is a supported version so I think this is possible. I've tried to look it up with man apt-get but didn't see anything about specific versions.  I'd really like to not have to wipe out everything I have on there and reinstall from disk.  Thanks.  Edit:  Turns out I had an old version of 14.04 already installed so using the following commands updated everything and I'm good to go.  sudo apt-get update        # Fetches the list of available updates sudo apt-get upgrade       # Strictly upgrades the current packages   Commands from

When I log into my web server via SSH I see the information:  88 packages can be updated. 80 updates are security updates   I tried apt-get update then apt-get upgrade but each time I log in I still see the message about updates. How do I install them?


How to break only when KeyboardInterrupt is raised? I have a something function that is not fully debugged that it can have a lot of random exceptions that I don't know about. But I want to ignore them except when I interrupt the process. Then I use a try...except... for it. For example counter = 0 data = [] while True :      try :         data.append(something())        counter+=1     except :         continue      if counter % 100 == 0 :         yield data        data = [] yield data  How do I break it when I KeyboardInterrupt it?

When you just want to do a try-except without handling the exception, how do you do it in Python?  Is the following the right way to do it?  try:     shutil.rmtree(path) except:     pass


edit: This is not a duplication. The other question linked is asking how to remove elements while iterating and not get the CME exception, in my question I don't want to iterate and remove elements at the same time. In fact I want to make sure that doesn't happen.   Im getting conccurrent modification error when trying to itterate through the vector theSpace, all my methods that affect it are synchronized so I dont understand whats causing the exception? (sorry for messy code new to java)  public class TupleSpace implements aTupleSpace {   private Collection<aTuple> theSpace;    public TupleSpace() {     theSpace = new Vector<aTuple>();   }    public synchronized void out(aTuple v) {     theSpace.add(v);     notifyAll();   }    public synchronized void in(aTemplate t, aMonoVariable<aTuple> result) {     while (true) {       for (aTuple tup : theSpace) {         if (t.matches(tup)) {           result.becomes(tup);           theSpace.remove(tup);           return;         }         try {           wait();         } catch (InterruptedException e) {           // TODO Auto-generated catch block            e.printStackTrace();         }       }     }   }    public synchronized void rd(aTemplate t, aMonoVariable<aTuple> result) {     while (true) {        for (aTuple tup : theSpace) {         if (t.matches(tup)) {           result.becomes(tup);           return;         }         try {           wait();         } catch (InterruptedException e) {           // TODO Auto-generated catch block            e.printStackTrace();         }       }     }   } }   ==========code for .matches and .nth (helper)==========  public boolean matches(aTuple t) {      if(this.elements.size() == t.length() ){         for (int i=0; i<t.length(); i++) {             if (!(this.nth(i).equals( t.nth(i)))){return false;}         }         return true;     }return false; } public TypedValue nth(int n) { if( n < 0 || n >= elements.size()) return null; else return elements.get(n);

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.


When  in the 10k tools, every click of the flag or disagree button brings up this popup, but the dialog still shows normally on top of it. It's nothing more than an annoyance, but still, a bug is a bug.        The same thing happens when clicking the close question button.

Seems like a bug:  The user:   Edits a question Then, he decide to close it. Clicks on the Close button. The popup doesn't appear. Refreshes the page. Click on the close button. The popup appears.   After editing in the link appears a hash: #. But I don't think that this is the problem because if I add the hash without editing the close popup appears.  It's minor, but I think that is good to be reported and solved.  Edit: The close popup doesn't open after we click an edit has been made to this post; click to load.


Is there a way to pack all my images into the blend file so I can transfer it more easily?  I'm using the version 2.8

I'm moving all files to a new computer, via an external hard drive. I am certain that broken links will be a concern. What can I do to fix this? Is there a 'Best Practices' kind of way to prevent this problem beforehand? I have many hundreds of .blend files, and of course, I fear losing them.


Is it possible for me to fly from France to the UK with just an ID card ? If this is possible which airlines will allow you to fly with just an ID card ?

For international trips I have a passport, for EU journeys I use my national identity card. Simply because its format is more convenient, since it fits in my wallet.  On my next trip to the UK my national identity card will only be valid for only one week when I return.  I am aware of validity issues on passports (e.g. your passport needs to be at least valid for more then 6 months when traveling to the US), what are the regulations regarding national identity cards in the EU? Can I use it to travel within the EU until the last day of its validity?


We have: $Z\sim N_{0,1}$ (standard normal distribution) , $U\sim X^2_{k}$ ($X^2$ distribution, with k df) with $Z \bot U$ Then $X = \frac{Z}{ \sqrt{U  /k} } \sim t (k)$ (t-distribution, with k df) I am missing how $X^2 \sim F(1,k)$

Suppose we have regression problem:  $$Y = \beta_{0}+\beta_{1}X_{1} + \beta_{2}X_{2} + \epsilon \text{, } \epsilon \sim \mathcal{N}(0,1),$$  where $X_1 \sim U(0,1)$,$X_{2} \sim U(1,2)$, and we suppose our model with regression function  $$m:=E[Y|X_1,X_2] = \beta_{0}+\beta_{1}X_{1} + \beta_{2}X_{2}. $$  We apply OLS estimation of coefficient and receive estimate of regression coeficeint. Let's do this in $\verb|R|$:  X1 <- runif(1000,0,1) X2 <- runif(1000,1,2) Y <- X1 + X2 + rnorm(1000,0,1) model <- lm(Y ~ X1 + X2) summary(model)  Coefficients:              Estimate Std. Error t value Pr(>|t|)     (Intercept)     0.1401     0.1828   0.766    0.444     X1              1.0250     0.1150   8.909  < 2e-16 *** X2              0.9247     0.1139   8.119 1.37e-15 *** ---  Signif. codes:   0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1  Residual standard error: 1.026 on 997 degrees of freedom Multiple R-squared:  0.1276,    Adjusted R-squared:  0.1259  F-statistic: 72.94 on 2 and 997 DF,  p-value: < 2.2e-16   Next, we want to test, if the regression coeficient $\beta_2$ is significant or not, so here is T-test for this:  $$H_{0}: \beta_{2} = 0$$ $$H_{1}: \beta_{2} \neq 0$$  Aproppiate test statistic is:  $$T_n = \frac{\hat{\beta_{2}}}{S.E(\hat{\beta_{2}})} \sim t_{n-r},$$  and p-value:$2min\{CDF_{t}(t_{0}), 1 - CDF_{t}(t_0)\}$, where $CDF_t$ is cummulative distribution function o $t$-distribution with $n-r$, in ou case $1000-3$ degrees of freedom. Let's suppose, that we also made test about submodel:  $$H_{0} Y \sim X_{1} \text{ holds} (M^{0})$$ $$H_{1} Y \sim X_{1} + X_{2} \text{ holds} (M).$$  Test statistics is $F = \frac{\frac{SSe^0 - SSe}{r - r_{0}}}{MSe} \sim F_{r-r_0,n-r}$ and p-value:$1-CDF_f(f_0)$, where $CDF_f$ is cummulative distribution function of F-distribution with $r-r_0$ and $n-r$ degrees of freedom. In $\verb|R|$ let's make an test about submodel:  m0 <- lm(Y ~ X1) anova(m0,model)  Analysis of Variance Table  Model 1: Y ~ X1  Model 2: Y ~ X1 + X2     Res.Df    RSS Df Sum of Sq      F    Pr(>F)      1    998 1118.2                                    2    997 1048.8  1    69.352 65.926 1.373e-15 ***  --- Signif. codes:   0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1   Now there is a question, i know that if $X \sim t_{n-r}$, then $X^2 \sim F_{1,n-r}$. So if we squared t-value in our summary table, in line where regression coeficient $\hat{\beta}_2$ is, we geta f-value in output in test of submodel, so that's okay, but we have also same p-values, but p-value in summary table is computed from t-distribution, not squared distribution, and this numbers implies that $2min\{CDF_{t}(t_{0}), 1 - CDF_{t}(t_0)\} = 1-CDF_f(f_0)$, but i think this is not really true. What am i missing, how it is possible, that p-value which are computed from two different distributions are same ? (and this is not only for this case, but for every liner regression problems). Why p-values are same ? Please help.  In all cases i asuume normal linear model, that's why i assume those distribution of test statistics under $H_0$ hypothesis.


Searching on all sites, e.g., , gives me a list of questions with tag links.   Clicking one of the tag links, e.g.,  leads to the 404 page-not-found page. The problem is obvious from the form of the link: It should contain the specific site instead of the generic site stackexchange.com.

If you search for something on "all sites" (using the searchbox at the top of , you'll reach the search results, e.g.  .  If you click directly on a tag on that page, e.g.        You get 404 Page Not Found error, e.g.     Steps to reproduce   Go to  and enter e.g. "keyforge" into the "Search all sites" field. Arrive at  Click on the "keyforge" tag below a search entry. Reach  (404 page not found)   Expected behaviour  Reach   System Info  Happens in both Firefox and Vivaldi browsers on Windows 10.


I have zero knowledge about any coding language. But I have to learn an automation tool, preferably selenium. How should I begin? What language should I learn? In short, how to begin??

So I've been testing web based analytical software now for the past 4 years or so with mostly manual techniques. But for 2015, I've set myself the goal of getting setup and start writing automated tests and to introduce automated testing into my company.  I've done a little research and it seems that Selenium is quite big when it comes to writing automated tests, but most of the tutorials I've come across reference the Java language.  Some questions:   Is Java the primary language used for Selenium tests?  Do you recommend it over C# ?  Wat is the process of writing test scripts?  Are there Frameworks that I should use that can make the process even easier?


The equation is attached here.  \begin{multline}\label{eq6} MI\left( {E,{E^t},E_k^n,E_l^m} \right) =  \sum\limits_i {\sum\limits_j {p\left( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} \right) {{\log }_2}\left(  {\frac{{p\left( {{E_i=0},E_j^t=0,E_k^n=0,E_l^m=0} \right)}} {{p\left( {{E_i=0}} \right)p\left( {E_j^t=0} \right)   p\left( {E_k^n=0} \right)p\left( {E_l^m=0} \right)}}} \right)} } +{p\left( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} \right) {{\log }_2}\left(  {\frac{{p\left( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 1} \right)}} {{p\left( {{E_i} = 0} \right)p\left( {E_j^t = 0} \right)   p\left( {E_k^n = 0} \right)p\left( {E_l^m = 1} \right)}}} \right)} \end{multline}

Equation exceeds one column of IEEE pattern in LaTeX how should I correct it? Please help, the code is attached herewith.  \begin{equation}\label{eq11}         p\left( {v,h|u,y,...} \right) = {\rm{RelU}}\left( {\left[ {\hat b + {w^h}\left\{ {\left( {{v^T}{w^v}} \right) \circ \left( {{y^T}{w^y}} \right)} \right\}} \\ \right]*\left[ {\hat a + {w^v}\left\{ {\left( {{h^T}{w^h}} \right) \circ \left( {{y^T}{w^y}} \right)} \right\}} \right]} \right) \end{equation}


During a review process of an older programm code the following question arised: All local variables in a method are initialized right after begin. Usually local variables are not initialized. But we have a procedure where all variables are initialized to 0. Does anybody has an idea how this could happen?  Example:  type   TPrices = array[0..10, 0..5] of Integer;  procedure DoSomething(); var   mPrices : TPrices;   mValue  : Integer;  begin   if (mPrices[0,0] = 0) then     MessageDlg('Zero', mtInformation, [mbOK], 0);   if (mValue = 0) then     MessageDlg('Zero Integer', mtInformation, [mbOK], 0); end;

I'm new to Delphi, and I've been running some tests to see what object variables and stack variables are initialized to by default:  TInstanceVariables = class   fBoolean: boolean; // always starts off as false   fInteger: integer; // always starts off as zero   fObject: TObject; // always starts off as nil end;   This is the behaviour I'm used to from other languages, but I'm wondering if it's safe to rely on it in Delphi?  For example, I'm wondering if it might depend on a compiler setting, or perhaps work differently on different machines.  Is it normal to rely on default initialized values for objects, or do you explicitly set all instance variables in the constructor?  As for stack (procedure-level) variables, my tests are showing that unitialized booleans are true, unitialized integers are 2129993264, and uninialized objects are just invalid pointers (i.e. not nil).  I'm guessing the norm is to always set procedure-level variables before accessing them?


Sorry if this the wrong place.  My first computer was the Timex Sinclair 1000 back in the day. and I loved learning the language for it, but after many huge improvements in my subsequent computers, a very bad thing happened... windows. With that, the magic stopped. Well, I'm old now, early 60s, and last week I decided I had to get rid of windows along with google and all their products. I suppose you all know that google is more difficult to divorce than windows, but it is often the #1 computer resource hog in most win based systems. Yes, both google-search and gmail are second to none and is why I keep chrome around during this abrupt transition, though their replacements are soundly structured.  I come to you with my simple question, but please believe me that I have worked all through the night trying to salve it without help, and I'm sure in time I would figure it out, but I'm more anxious than ever to get this done and it is a new day.  I started with slamming in Mint 19, kicking out windows, thank God... It was sooo easy. But now I'm faced with a dilemma. In moving up to ubuntu Maté, I must find a "USB-stick boot Installer" to burn in the ubuntu Maté OS. This was no problem when moving from windows to Mint 19, because all boot installers accommodated windows. But now, I can't seem to find one that is built for Linux Mint. Well, there was UNetbootin, but for some odd reason, I could not get it to run effectively.  Because the memory is only 3.7 GB and HDD 479.8 GB, I downloaded your 18.04.1 LTS {Bionic} release.  By the way, the laptop I'm currently using is a 5-year-old with the following specs:    System: Host: robert-HP Kernel: 4.15.0-36-generic x86_64 bits: 64 gcc: 7.3.0  CPU: Quad core Intel Pentium N3540 (-MCP-) arch: Silvermont rev.8 cache: 1024 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 17326  clock speeds: min/max: 499/2665 MHz 1: 499 MHz 2: 499 MHz 3: 851 MHz 4: 721 MHz  Graphics:  Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display bus-ID: 00:02.0 chip-ID: 8086:0f31 Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa) Resolution: 1366x768@60.03hz OpenGL: renderer: Mesa DRI Intel Bay Trail version: 4.2 Mesa 18.0.5 (compat-v: 3.0) Direct Render: Yes  Audio: Card Intel Atom Processor Z36xxx/Z37xxx Series High Def. Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:0f04 Sound: Advanced Linux Sound Architecture v: k4.15.0-36-generic  Drives: HDD Total Size: 504.1GB (5.6% used) ID-1: /dev/sda model: TOSHIBA_MQ01ABF0 size: 500.1GB serial:  ID-2: USB /dev/sdb model: STORE_N_GO size: 4.0GB serial:   Info: Processes: 245 Uptime: 4:09 Memory: 2920.6/3835.4MB Init: systemd v: 237 runlevel: 5 Gcc sys: 7.3.0 Client: Unknown python3.6 client inxi: 2.3.56    This is an old laptop I'm using while the keyboard of my usual Sager gaming notebook is being replaced, taking a week or so. I'm not interested in updating this old laptop, though the prospect of using its windows OS is terrible, so now it has Mint 19.  I hope you understand. With Linux, the magic is back!  OH! P.S.  I'd like to thank Joe Collins and his EzeeLinux program. Imma Texan too Joe.  UPDATE!!! I was finally able to install ubuntu Maté once I realize that the .iso.torrent, being recommended, was the wrong choice for me. It was the straight .iso file below it that had the command need to burn it to the USB stick.

This is the third time I've tried to install Ubuntu Server 14.04.03 64-bit on the same laptop, and each time it caused different problems.  Each time I wrote the same iso image to a USB flash drive by using a different application and OS.   Universal USB Installer (pendrivelinux.com) from Windows WinImage writer from Windows built-in image writer from Linux Mint 17.2    The iso image is the same in all three cases, the USB flash drive is the same, and the laptop is the same. However each time the installation of Ubuntu gave me different installation options. For example, the last time I installed Ubuntu, it didn't show all the packages to choose while installing (Basic Ubuntu server, etc.).


sudo dpkg -i mysql-workbench-community_8.0.20-1ubuntu20.04_amd64.deb  I am using above command to install mysql workbench but i am constantly getting these error Selecting previously unselected package mysql-workbench-community. (Reading database ... 221700 files and directories currently installed.) Preparing to unpack mysql-workbench-community_8.0.20-1ubuntu20.04_amd64.deb ... Unpacking mysql-workbench-community (8.0.20-1ubuntu20.04) ... dpkg: dependency problems prevent configuration of mysql-workbench-community:  mysql-workbench-community depends on libgcc-s1 (>= 3.4); however:   Package libgcc-s1 is not installed.  mysql-workbench-community depends on libgtkmm-3.0-1v5 (>= 3.24.0); however:   Package libgtkmm-3.0-1v5 is not installed.  mysql-workbench-community depends on libmysqlclient21; however:   Package libmysqlclient21 is not installed.  mysql-workbench-community depends on libpcrecpp0v5 (>= 7.7); however:   Package libpcrecpp0v5 is not installed.  mysql-workbench-community depends on libzip5 (>= 0.10); however:   Package libzip5 is not installed.dpkg: error processing package mysql-workbench-community (--install):  dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.32.0-1ubuntu1) ... Processing triggers for desktop-file-utils (0.23-4ubuntu1) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for shared-mime-info (1.10-1) ... Errors were encountered while processing:  mysql-workbench-community  Also i tried running sudo apt-get install -f to correct the dependency tree but still getting the same issue. Thanks in advance

How do I install a .deb file via the command line?


What's the difference between a set of single modulus and a set of double modulus signs?  On textbooks I have seen the magnitude of two vectors vector as $|\mathbf{x} - \mathbf{y}|$ but I've seen other sites where they've presented it as $\|\mathbf{x} - \mathbf{y}\|$. Also, for derivatives does $|c'(x)| = \|c'(x)\|$?  Thanks.

I know that the  |  stands for the norm, however I see it sometimes with two lines, sometimes with one. Is there a difference? Do I need to take care when writing a formula?  So basically, is there a difference between     $|a|$ and $\|a\|$ ?   Is it the same when it comes to vectors instead of just numbers?


How to calculate $\lim\limits_{x\to\infty} \frac{\log(x!)}{x\log(x)}$. Assume base $e$ (so $\ln)$.   My attempt:  $$\lim_{x\to\infty} \frac{\log(x!)}{x\log(x)}=\lim_{x\to\infty}\frac{\log(1\cdot 2\cdot 3\cdots x)}{x\log x}=\lim_{x\to\infty}\frac{\log(ax)}{x\log x}, a\gt 0$$  Applying LH rule:  $$\lim_{x\to\infty} \frac{\frac{1}{x}}{\log(x)+1}=\lim_{x\to\infty}\frac{1}{x(\log(x)+1)}=0$$  Wolfram tells me the answer is $1$. Where is my mistake?

I can't seem to find a good way to solve this.  I tried using L'Hopitals, but the derivative of $\log(n!)$ is really ugly. I know that the answer is 1, but I do not know why the answer is one.  Any simple way to go about this?


What are the Download accelerators available for Ubuntu?  I like prozilla, but couldn't find a way to install it using apt or software center.

This question exists as it fills a specific criterion.  While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will likely be closed per the . More information on the .   What download managers are available for Ubuntu? Can you provide the link as well?


The artificer class in Eberron: Rising from the Last War allows for the production of an eldritch cannon at 3rd level.     [you] magically create a Small or Tiny eldritch cannon in an unoccupied space on a horizontal surface within 5 feet of you. A Small eldritch cannon occupies its space, and a Tiny one can be held in one hand.   If a player wants the tiny cannon to 'attach' to their shoulder (I'm fine with the flavour of this...or wrap it's legs around it's wrist etc), am I correct in ruling it still occupies (for lack of a better term) 'hand slot'.   For example:   If the artificer has a Sheild in one hand and has this eldritch cannon on their shoulder, then would they no longer have a free hand to perform a spell casting that requires somatic components? Hold tools? Would it be considered "worn or carried" with regards to being able to move with you?

As an Artillerist Artificer, if I create a tiny-sized Eldritch Cannon with legs, can I place this cannon somewhere on my person and let it use its legs to hold on to my character (on my head, shoulder (Predator!), wrist, belt, top of my backpack, etc.)?  I understand that with RAW, it cannot move on its own into an occupied space, so it would not be able to climb up onto me, but I think that I should still be able to pick it up and place it somewhere as an object interaction.  It could use its legs to hold on once in place.  If I can control it from up to 60 feet away, I would think that it shouldn't hinder the use of my hands for other actions once it is there.


I have ls aliased to ls and some flags, however, I want to use the original, 'vanilla' version of ls in another alias. Is there a way for me to call the original version of ls?

Let's say I have the following alias in bash - alias ls='ls --color=auto' - and I want to call ordinary ls without options. Is the only way to do that is to unalias, do the command and then alias again? Or there is some nifty trick or workaround?


Basically my question is how to make this like the image that I uploaded. I know that you need to pick a shapes, and a picture of what whatever you would like to form into. Where can I buy or download that illustrator script?

How can I make a logo in Adobe Illustrator like the AntiParticle logo below, from ?   It is a large number circles of different, varying sizes, which form the shape of a text character.


I usually iterate over a vector that way:  for (int i = 0; i < myVector.size(); i++) {     Element* e = myVector[i]; }   But then the compiler usually gives me this warning:  warning: C4018: '<' : signed/unsigned mismatch   So if an int is not right, which type should the index be? vector::size() seems to be of a "size_type" type, but I'd rather use a more meaningful type. Any suggestion?

What is the correct way of iterating over a vector in C++?  Consider these two code fragments, this one works fine:  for (unsigned i=0; i < polygon.size(); i++) {     sum += polygon[i]; }   and this one:  for (int i=0; i < polygon.size(); i++) {     sum += polygon[i]; }   which generates warning: comparison between signed and unsigned integer expressions.  I'm new in the world of C++, so the unsigned variable looks a bit frightening to me and I know unsigned variables can be dangerous if not used correctly, so - is this correct?


How to use a value of a variable in awk? Something like this:      filename = "test.txt"     ls -l | awk '{ if ($9 == filename) print("File exists")}'   I can't use $ in awk to access the value of that variable.

Having the following in one of my shell functions:  function _process () {   awk -v l="$line" '   BEGIN {p=0}   /'"$1"'/ {p=1}   END{ if(p) print l >> "outfile.txt" }   ' }   , so when called as _process $arg, $arg gets passed as $1, and used as a search pattern. It works this way, because shell expands $1 in place of awk pattern! Also l can be used inside awk program, being declared with -v l="$line". All fine.  Is it possible in same manner give pattern to search as a variable?  Following will not work,  awk -v l="$line" -v search="$pattern" '   BEGIN {p=0}   /search/ {p=1}   END{ if(p) print l >> "outfile.txt" }   '   ,as awk will not interpret /search/ as a variable, but instead literally.


Is there any easier/different way to downgrade from 14.10 to 14.04 other than USB? I know it's a developmental branch which may make things different, but they want 14.04 now (LTS). A lot of data is riding on this machine which is part of a server cluster.  Any one have any luck using this?:

I just installed a new version of Ubuntu and I want to roll it back to the previous version.  How can I do that? Is that even possible?


I'm working on a simple 3d game using the Processing Java environment. I want to optimise my code so I can draw many many 'objects' (the world is made up of many different shaped objects that live inside the volume of a cube) without the framerate dropping. How can I detect which faces cannot be seen and stop drawing them? I have tried this code:  pgl = (PJOGL) beginPGL();   gl = pgl.gl.getGL2ES2(); gl.glEnable(GL.GL_CULL_FACE); gl.glCullFace(GL.GL_BACK);   which does do backface culling but it is not all that I want. I want to stop rendering any face that the camera cannot see, i.e. inside faces etc.  The code used to draw the objects (just a simple cube for testing) is as follows:      noFill();     noStroke();     noSmooth();     push();     lights();     translate(this.x * this.size, this.y * this.size, this.z * this.size);     beginShape(QUADS);     texture(this.texture_image);     vertex(-this.size / 2, -this.size / 2, this.size / 2, 0, 0);     vertex( this.size / 2, -this.size / 2, this.size / 2, this.size / 2, 0);     vertex( this.size / 2, this.size / 2, this.size / 2, this.size / 2, this.size / 2);     vertex(-this.size / 2, this.size / 2, this.size / 2, 0, this.size / 2);      // -Z "back" face     vertex( this.size / 2, -this.size / 2, -this.size / 2, 0, 0);     vertex(-this.size / 2, -this.size / 2, -this.size / 2, this.size / 2, 0);     vertex(-this.size / 2, this.size / 2, -this.size / 2, this.size / 2, this.size / 2);     vertex( this.size / 2, this.size / 2, -this.size / 2, 0, this.size / 2);      // +Y "bottom" face     vertex(-this.size / 2, this.size / 2, this.size / 2, 0, 0);     vertex( this.size / 2, this.size / 2, this.size / 2, this.size / 2, 0);     vertex( this.size / 2, this.size / 2, -this.size / 2, this.size / 2, this.size / 2);     vertex(-this.size / 2, this.size / 2, -this.size / 2, 0, this.size / 2);      // -Y "top" face     vertex(-this.size / 2, -this.size / 2, -this.size / 2, 0, 0);     vertex( this.size / 2, -this.size / 2, -this.size / 2, this.size / 2, 0);     vertex( this.size / 2, -this.size / 2, this.size / 2, this.size / 2, this.size / 2);     vertex(-this.size / 2, -this.size / 2, this.size / 2, 0, this.size / 2);      // +X "right" face     vertex( this.size / 2, -this.size / 2, this.size / 2, 0, 0);     vertex( this.size / 2, -this.size / 2, -this.size / 2, this.size / 2, 0);     vertex( this.size / 2, this.size / 2, -this.size / 2, this.size / 2, this.size / 2);     vertex( this.size / 2, this.size / 2, this.size / 2, 0, this.size / 2);      // -X "left" face     vertex(-this.size / 2, -this.size / 2, -this.size / 2, 0, 0);     vertex(-this.size / 2, -this.size / 2, this.size / 2, this.size / 2, 0);     vertex(-this.size / 2, this.size / 2, this.size / 2, this.size / 2, this.size / 2);     vertex(-this.size / 2, this.size / 2, -this.size / 2, 0, this.size / 2);      endShape();     pop();   Sorry for the long code.  Thanks in advance.

I want to render a cube-mesh (a.k.a. Minecraft-style) world. If I render each existing cube it will eat up FPS pretty quickly. How can I optimize it? I understand that the point is to not render invisible meshes (faces?) but my problem is to find out what is invisible and what isn't.


I want to change these filenames  download (19).download ... download (27).download   to   download (19).html ... download (27).html   I run unsuccessfully  mv *.download *.html usage: mv [-f | -i | -n] [-v] source target        mv [-f | -i | -n] [-v] source ... directory   How can you change the filename? I think I need a regex here probably.

I want to rename a lot of files on Mac OS X (10.7.2).. I don't have the perl package for the rename command.  My files have names like "T452-102456-0.png" and I want to delete the "-0" part. I know I can do this action by writing my own php-cli script, but I would like to know of an easier and faster solution.


After a "normal" system update, my computer gets stuck in a flickering black screen.  I made a Live Recovery CD and followed the "update failure" steps found in    After apt-update I get "error while moving old database out of the way. Appstream cache update failed".  How can I restore broken files?  apt update output:  Err:1 ppa.launchpad.net/inkscape.dev/stable/ubuntu xenial InRelease Could not resolve 'ppa.launchpad.net' Err:2 dl.google.com/linux/talkplugin/deb stable In Release Could not resolve 'dl.google.com' Err:3 security.ubuntu.com/ubuntu xenial-security In Release Could not solve 'security.ubuntu.com' Err:4 archive.ubuntu.com/ubuntu xenial In Release Could not resolve 'archive.ubuntu.com' Err:5 archive.ubuntu.com/ubuntu xenial-updates In Release Could not resolve 'archive.ubuntu.com'

I try to repair an broken Ubunu 14.04 with chroot. What I did, is to boot Ubuntu from USB mounted the original system that has to be repaired and changed to this system with chroot:  sudo mount /dev/sdXY /mnt  sudo mount -o bind /dev /mnt/dev  sudo mount -o bind /sys /mnt/sys  sudo mount -t proc /proc /mnt/proc  sudo cp /proc/mounts /mnt/etc/mtab  sudo chroot /mnt /bin/bash    That worked fine, but in chroot environment I don't have access to the internet, so apt isn't able to resolve hostnames. What am I supposed to do?   ping www.askubuntu.com   does not work either.


I apologise, if these question are trivial, but I am currently trying to estimate a family of GARCH models for a selection of return series as part of an undergraduate project for which I am having to do a fair amount of self-teaching.  I am following the instruction given in Tsay: Analysis of Financial Time series and upon finding the expected ARCH effects using LM/LB tests, would now like to proceed estimating the models.   However, I am having difficulties selecting the order of the mean equation, which I assume to be some form of ARMA model. Given that the mean equation and GARCH model should be jointly estimated, how do I go ahead selecting the order of the mean equation?  Tsay suggests the typical Box-Jenkins methodology of either using AIC/BIC/AICc or PACF plots when building an ARMA model, however, I believe this would lead to a sequential estimation process, based upon wrong assumptions, as volatility is not constant over time.  Do I estimate (for instance) 25 different ARMA(p,q)-GARCH(1,1) models and compare their AIC/AICc/BIC or how would I go ahead selecting the mean equation?  Furthermore, is there a package in R that gives me a series of one-day ahead forecasts of volatility based upon previously estimated parameters?  So, given an GARCH-model that has been estimated in-sample, can I use the in-sample coefficients to predict one-day ahead forecasts out-of-sample?  I luckily have a series of Realised Variance to work with when comparing the models.

When I read this group questions about lag selection for ARMA part of ARMA-GARCH models I found 2 different answers from moderator:  and   I can't understand - could I try to select AR and MA part order by information criterion ignoring that the errors have a GARCH structure, get lags for AR and MA parts (p and q for example) and after that select best model from ARMA(p, q)-GARCH(s, t), where p and q are constants, s and t could be in 1:N range, using, for example, AIC?   Thanks.


How do I delete "All Mail" box on left (archived) without deleting other labels' content? Reason is a virus in Gmail archived messages which I cannot locate due to the large amount of archived messages. It is not in my labeled messages

I'd like to sort all of my Gmail messages that don't have label, so I can process them (I miss some every now and then).  I can sort by every label by clicking on it at the left, but how do you sort the unlabeled ones?


I am wondering about this because I drank a diet coke the other day, it had no fat, no sugar, no calories... Is it actually healthy to drink?

There seems to be a lot of noise about health risks of consuming artificial sweeteners, especially aspartame and saccharin. Many sources argue that these chemicals carry huge risks of developing cancer and neurological problems.  Should I be concerned? Is moderate consumption (say, a few diet sodas a week) of artificial sweeteners considered safe by the currently available research?


Let $\{f_n\}$ be a sequence of functions in $L^p( [0,1])$, $1 \leq p < \infty$, which converges almost everywhere to a function $f$ in $L^p$. Show that $\{f_n\}$ converges to $f$ in $L^p$ norm if and only if $\|f_n\| \to \|f\|$.  What does $\|f_n\| \to \|f\|$ mean and which convergence theorem is this? I know $\{f_n\}$ converges to $f$ in $L^p$ norm means $$ \lim_{n \to \infty} \|f_n - f\|_p = 0 $$

Let $1\leq p < \infty$. Suppose that    $\{f_k\} \subset L^p$ (the domain here does not necessarily have to be finite),  $f_k \to f$ almost everywhere, and  $\|f_k\|_{L^p} \to \|f\|_{L^p}$.    Why is it the case that $$\|f_k - f\|_{L^p} \to 0?$$   A statement in the other direction (i.e. $\|f_k - f\|_{L^p} \to 0 \Rightarrow \|f_k\|_{L^p} \to \|f\|_{L^p}$ ) follows pretty easily and is the one that I've seen most of the time. I'm not how to show the result above though.


I made this planet with a volumetric shader for the atmosphere    Left you see the atmosphere rendered in viewport mode Right you see it just rendered out but now the volumetrics are missing  Any guesses?

This is what I have so far:  The rendered image has a transparent background, but the glare filter creates an output with a black background, so after merging the two togheter, the background turns black but I need it to be transparent, what can I do?


I’m using an iPhone 5s running iOS 12.2. I can't scroll in the App Store after entering a search term. The Search results load, but it just won't scroll down the list of results.  However, tapping on Featured, Categories, Top Charts or Updates, the scrolling works just fine. But tapping back on Search it just refuses to scroll.  What could be causing this? How do I resolve?

When searching with a keyword in the App Store app on my iPhone, I unable to scroll to see more results. What could be causing the issue? I am running iOS 12.


Consider a tube having liquid kept on a horizontal plane. Now suppose two forces of unequal magnitude act on the two open surfaces of the liquid, such that area of one surface is greater than the other. Also the forces act such that the force acting on the surface with greater area is greater than the other force acting in the surface with smaller area, but the pressure exerted by the force on the smaller area is greater than the pressure exerted by the other force. Where will the liquid flow in this case? Towards the surface with greater area(consider that it is situated on the right) or the surface with smaller area (left). I hope I can make sense. Thanks in advance.

Say there is a liquid which behaves like an incompressible fluid and is flowing steadily through a pipe which is moving from a cross section of area $A_1$ to the cross section of area $A_2$, where $A_2$ is less than $A_1$. As per the continuity equation, $v_2>v_1$ and so the liquid seems to be accelerating. What force is causing this acceleration?


I've noticed that the "share" links on answers and comments note that they not only include the answer ID, but the user's ID as well:    Why does Stack Exchange do this? Obviously, it is tracking it, but for what purpose? Does this affect the user?

My .  I just noticed that when sharing a link, it's appended to the end of any link when I try and get a link for a question/post:    I'm curious what purposes this is for (not being a privacy nut either, I'm not concerned).  The question arises because if I post the link (on a Facebook wall, or tweet it, etc), then other people can share that link, and at best, the only tracking that can be done is who exposed the link for a subset of views  This is a valid reason in itself, but I was wondering if there were any others.


My laptop is a Macbook Pro 2017 non-touchbar. When the Macbook goes into sleep mode while it charges, most of the time the flashing question mark appears when I try to wake it up. I can't do anything but to force shutdown when this problem occurs. If I don’t plug in the charger and it goes into sleep mode, everything is normal when it wakes up.

I am sure many of you guys know the flashing folder icon which shows up when the Mac cannot find a drive to boot from. My 2017 MacBook Pro has this issue for some time now, but recently I found something interesting.   The MBP won't find the boot drive, as long as the battery level is at > 70%.   The Mac boots just fine at lower battery levels; no issues whatsoever. Now, the problem is, I don't want to run my MacBook via battery the whole time or keep on disconnecting the AC power when 70% is reached every time.   Does anybody have similar symptoms and did find a better solution? Do you think there is a hardware issue with my device?   I've been to the Apple store before (when I didn't knew this was connected to the battery level) and they couldn't find anything. They suggested I reinstall macOS, which of cause didn't change anything.  Edit: One detail I forgot to mention was that when I charge my MBP and close the lid, it crashes and gets really hot (fans turn on slowly). I'm not totally sure on this, but I think this also happens with lower battery levels.  Battery Info:


Is there a way to make it so that whenever I reboot, it keeps my applications and windows that I had open before the reboot?  P.S. I'm using Gnome 3

I am running Gnome3, but I had the same problem with Unity, on Ubuntu 12.04.  I have a fairly elaborate setup I enjoy using day-to-day. A LibreOffice spreadsheet with everyone's extension numbers; a window with reference data I use regularly; two mulit-tabbed Konsole/Terminal windows with several remote systems sessions, firefox with a set of open tabs, and so on. But whenever I log out, when I return, I must set up everything from scratch. I remember the good 'ol days, when I rebooted, I'd re-log in, and all my windows came back up in the same places as they were when I logged out, and my Konsole/Term would come up with the same remote logins as before.... I'd have to re -setup  some of my programs, but that's better than having to move every win into place, and resize them, etc.  How do I get this functionality back?


I have a windows 2008 server i am setting up with active directory, but i cant seem to figure out how to restrict certain settings in the control panel for an account on a computer on the domain. I have searched google, but the did not seem to help.

Active directory group policy have options to disable different things. My question is that how can i enable control panel items for certain users i.e. printer access / date time properties access.  I've windows server 2003. It does not show all the control panel its in GPO under User Configuration. I just can view Add or Remove Programs, Display, Printers and Regional and Language Options.  Can you please a little brief that in which definitions should i put?


how can I make these objects in the shape of a circle

Is there a simple way to create an arch? Different type of arches on . I'm interested in the Round arch or Elliptical arch type of arches.


Saw this problem on a FaceBook meme that said the pin code to his ATM debit card is the solution to the following problem:  $$\int_{0}^{1} \frac{(3x^3-x^2+2x-4)}{\sqrt{x^2-3x+2}} \, dx$$  I was trying to see how we could break this up into an easier integrals but nothing comes to mind at first glance. Perhaps complex integration is possible?

This question is inspired by my own answer to a  which I tried to answer and got stuck at one point.     The question was:     HI DARLING.      USE MY ATM CARD, TAKE ANY AMOUNT OUT, GO SHOPPING AND TAKE YOUR FRIENDS FOR LUNCH.      PIN CODE: $\displaystyle \int_{0}^{1} \frac{3x^3 - x^2 + 2x - 4}{\sqrt{x^2 - 3x + 2}} \, dx $      I LOVE YOU HONEY.      Anyone knows? Are we gonna get an integer number?     My attempt:  Does this help?     $$\frac{3x^3-x^2+2x-4}{x-1}=3x^2+2x+4$$   (long division)   \begin{align*} I&=\int\frac{3x^3-x^2+2x-4}{[(x-1)(x-2)]^{1/2}} dx = \\ &=\int\frac{(3x^2+2x+4)(x-1)^{1/2}}{(x-2)^{1/2}} dx = \\ &=\int 3(u^4-4u^2-4)(u^2+1)^{1/2}du \times 2 \end{align*}   after the substitution   \begin{gather*} (x-2)^{1/2}=u\\ du=\frac1{2(x-2)^{1/2}}dx\\ u^2=x-2\\ (x-1)^{1/2}=(u^2+1)^{1/2} \end{gather*}   Update:  may help us proceed.    I tried to proceed:     $$6\int (u^4-4u^2-4)(u^2+1)^{1/2} du = 6\int ((t-3)^2-8)t \frac{dt}{2u}$$   after $u^2+1=t$ and $dt=2udu$   \begin{align*} u^4-4u^2-4 &= (u^2+1)^2-(6u^2+5) \\ &= (u^2+1)^2-6(u^2+1)+1 \\ &= ((u^2+1)-3)^2-8 \end{align*}   I wonder whether this question can be solved from here?    Update:   This has been getting a lot of views, and I think most people came for the sort of problem mentioned in the title (where I got stuck) rather than the original problem itself.  Keepin this in mind, I'm reopening the question and here's the kind of answers I expect — Solutions to the original problem are good, but I'd prefer solutions that continue from the part where I got stuck — the polynomial in $u$ — that's the sort of problem mentioned in the title.


I am confused every time when I am using these words, then using any one of them without knowing its difference. Can anyone help me how could I use these words in appropriate situation?

What is with words that have forms that end both in -zation and -sation, such as localization and localisation?  Many spell checkers recommend -zation.


Let $a,b,c$ be integers such that $(a,b) = 1$, $c>0$. Prove that there is an integer $x$ such that $(a+bx,c) = 1$.

I can't crack this one.      Prove: If $\gcd(a,b,c)=1$ then there exists $z$ such that $\gcd(az+b,c) = 1$ (the only constraint is that  $a,b,c,z \in \mathbb{Z}$ and $c\neq 0)$


I got a new router "A" (modem integrated) from my ISP and I share my network over wireless to allow portable devices to access the internet. I would like to use my PC with a tp-link router ("B"). The router/modem A is in bridge mode so I can use my wifi router (B) too. If I connect my PC to router A (with cable), I can use the full speed that ISP provides.  If I connect my PC with a cable to router B, it limits me, but there is no limitation in the router's preferences. My router (B) supports 300 Mbs/s. I reset my router, but nothing happened with the bandwidth speed. Is there any way to solve this?

I pay for a 50Mbit/s connection. When I connect modem from ISP directly to my PC, the speed is OK. But since we share this connection, I have to use router.  It's nothing archaic, TP-LINK TL-R402M, but when I connect modem to this router, and then PC to router the speed drops to 10Mbit/s (even when noone else is connected). I have absolutely no idea what causes this, I tried replacing a cable, even borrowed a router to try it with it, but it still acts the same.


Note on this question having a duplicate: My question happens to be an answer to the question linked-to as being a duplicate. However the answers on that question to NOT answer my question here.   I'm setting up a new server that has 24 GB of RAM. One of the many ways I'm taking advantage of that, is by storing some heavily used files on a RAM disk. The idea is a startup script creates the disk, and copies the files to it, a shutdown script copies the files off the RAM disk and back to the HDD at shutdown time, and a backup script runs periodically to make a copy of the RAM disk.  The current server I'm setting up is running 10.11.6.  The script I use to create the RAM disk works, but you'll notice the sleep 10 at the top. It only works if you include that. If you don't include that line, the script will create and fill the ram disk, but it won't be mounted. The diskutil mount ... line will do nothing. Once the system is booted, you can manually mount the unmounted RAM disk and there are all the files ready to go, but that's not going to work.  It would seem that some system service is required for mounting the RAM disk, and is not ready yet when LaunchD runs this startup script. But it's in /Library/LaunchDeamons so you'd think all of the system stuff would be up and running by the time it gets to my script?  function create_ramdisk()     {     sleep 10      ## make a ram disk that is approximaly 4GB in size     DISK_ID=$(/usr/bin/hdiutil attach ram://8000000 -notremovable -nomount)     /usr/sbin/diskutil erasevolume HFS+ "webfolder" $DISK_ID     /usr/sbin/diskutil mount $DISK_ID      ## copy contents of the ramdisk backup to the ramdisk     cp -R /webfolder-backup/ /Volumes/webfolder/      ## permissions stuff     chown -R me /Volumes/webfolder/     chmod -R 777 /Volumes/webfolder/     }   Ram disks aren't very popular these days, so it's hard to find info on them. I'd like to be able to create and mount mine without the delay. Ideally, if I knew what service was needed, I could wait for it to be available and then immediately create the RAM disk. But I don't know how to determine that.

I'm trying to mount a RAM disk on startup with this:  /Users/Aram/Development/Tools/ramdisk.sh  diskutil erasevolume HFS+ "RamDisk" `hdiutil attach -nomount ram://800000`   com.aram.ramdisk.plist  <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"          "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0">     <dict>         <key>Label</key>         <string>com.aram.ramdisk</string>         <key>ProgramArguments</key>         <array>             <string>/bin/sh</string>             <string>/Users/Aram/Development/Tools/ramdisk.sh</string>         </array>         <key>RunAtLoad</key>         <true/>     </dict> </plist>   And then running:   sudo chown root:wheel /Library/LaunchDaemons/com.aram.ramdisk.plist sudo launchctl load -w /Library/LaunchDaemons/com.aram.ramdisk.plist   But I get these in the console:  1/08/12 1:29:25.982 PM fseventsd[64]: could not open <</Volumes/RamDisk/.fseventsd/fseventsd-uuid>> (No such file or directory) 1/08/12 1:29:25.982 PM fseventsd[64]: log dir: /Volumes/RamDisk/.fseventsd getting new uuid: 102D7293-F1F1-4640-AA50-D547C365339F  1/08/12 1:29:24.561 PM sudo[1193]:     Aram : TTY=ttys000 ; PWD=/Library/LaunchDaemons ; USER=root ; COMMAND=/bin/launchctl load -w /Library/LaunchDaemons/com.aram.ramdisk.plist  1/08/12 1:40:17.052 PM com.apple.launchd[1]: (com.aram.ramdisk) Throttling respawn: Will start in 8 seconds   It works if I set KeepAlive to true, but then it creates a RAM disk every 10 seconds.  Is there a way to delay the script for 10 seconds before running?


What are two polynomials $f,g \in \mathbb{C}[x,y,z]$ such that $$\{(x,y,z): f(x,y,z)=g(x,y,z)=0\}\;=\;\{(t^3,t^4,t^5): t \in \mathbb{C}\}$$ holds as an equality of subset of $\mathbb{C}^2$?   , as I understand it, claims that there are indeed such polynomials. How can we find them?  Surely both polynomials need to be on the ideal of this curve, and thus $f(x,y,z)=p_1(xz-y^2)+p_2(yz-x^3)+p_3(z^2-x^2y)$, for some polynomials $p_i$ in $x,y,z$, and similarly for $g$.  Alas, we cannot simply equate coefficients of each monomial in the two equations, nor solve generally these equations so as to ensure their solutions will only be points on the curve. Is there a reasonable way to find $f, g$?

I have got stuck with two generator problems:        The ideal $(zx,xy,yz)$ can't be generated by $2$ elements.    The ideal $(xz-y^2,yz-x^3,z^2-xy)$ can't be generated by $2$ elements.      Here the ring is $k[x,y,z]$.  Thanks in advance for any help.


I've killed Grelod the Kind in Riften because of how she spoke to the kids. And I found the quest (Innocence Lost) that is supposed to let you into the Dark Brotherhood. Well I've already killed Grelod. What do I do?

I accidentally killed the orphanage lady before I started the quest. She just pissed me off, sadly it will not acknowledge that I have finished the quest and I haven't been contacted. Is there another way to join the Dark Brotherhood?


Let $S$ and $T$ be commutative rings each having a multiplicative identity and let $R=S\times T$. Prove that every ideal $I$ of $R$ is of the form $J\times K$ where $J$ is an ideal of $S$ and $K$ is an ideal of $T$.   This problem seems like it should be really straightforward, but I'm not sure I'm interpreting it right. Here are my thoughts:  Elements of $R$ are ordered pairs $(s,t)$ where $s\in S$ and $t\in T$. So if $I$ is an ideal of $R$, then given some $(a,b)\in I$, we have that $(a,b)\cdot(s,t)\in I$. So clearly $a\in S$ and $b\in T$. Then we need to show that, given some ideals $J$ and $K$ of $S$ and $T$ respectively, $a\in J$ and $b\in K$.  Is this the right idea? If so, how can I come to the desired conclusion from here?

$R$ and $S$ are two rings. Let $J$ be an ideal in $R\times S$. Then there are $I_{1}$, ideal of $R$, and $I_{2}$, ideal of $S$ such that $J=I_{1}\times I_{2}$.  For me it's obvious why $\left\{ r\in R\mid \left(r,s\right)\in J\text{ for some } s\in S\right\}$ is an ideal of $R$ (and the same for $S$) so I can prove $J$ is a subset of the product of two ideals and also that the product of these two ideals is an ideal. But I can't see how to prove equality without assuming existence of unity or commutativity. Trying basically to show that if $\left(r,s\right)\in J$ then also $\left(r,0\right),\left(0,s\right)\in J$. Thank you for your help!


I've a 12 volt 1 Amp rated adapter and would like to hook up 2 12 volt 0.18 Amps Dc motor in parallel circuit to power them up, would the over rated amps effect my dc motors and if so how can i reduce Amps without reducing its volts ?

Power supplies are available in a wide range of voltage and current ratings.  If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify?  What if I don't know the device's specs, but am replacing a previous power supply with particular ratings?  Is it OK to go lower voltage, or should it always be higher?  What about current?  I don't want a 10 A supply to damage my 1 A device.


I am not able to center text in a multirow table, I want all column values to be centered here is the code \begin{table}[]         \caption{$\alpha$ values obtained Analytically}     \label{table:Alphavalues}     \begin{tabular}{|l|l|l|l|}         \hline         OCL                   & Report  (r)     & Selection  & Output \\ \hline         \multirow{2}{*}{99\%} & \multirow{2}{*}{20} & 20\%     & 0.55                  \\ \cline{3-4}          &                     & 40\%     & 0.82                  \\ \hline         \multirow{2}{*}{99\%} & \multirow{2}{*}{30} & 20\%     & 0.77                  \\ \cline{3-4}          &                     & 40\%     & 0.76                  \\ \hline     \end{tabular} \end{table}

I can draw a simple table with non merged rows and columns. However, I want to draw a table in latex with some rows merged as shown below, any ideas on how to do it?


I want to ask a thing make from/of something but I don't know how.  What are they make from? What are they make of? what do they make from? what do they make of?

(1) Wine is an alcoholic beverage made from fermented grapes or other fruits. (Wikipedia) (2) Tables were made of marble or wood and metal (typically bronze or silver alloys), sometimes with richly ornate legs. (Wikipedia)  Why is 'from' used in (1), whereas 'of' is used  in (2)? Is it a stylistic choice whether to use 'of' or 'from'? Or, in case of chemical changing, differently from changing in shape only, 'from' is preferable?


Many people claim to use ReLU to solve vanishing gradient problem, but wouldn't dying ReLU be a more serious problem?  And someone also claims that ELU performs better, but wouldn't ELU also suffer from vanishing gradient?  PReLU seems to avoid the problem, but it is not very popular. What's the catch?

I found rectified linear unit (ReLU) praised at several places as a solution to the  for neural networks. That is, one uses max(0,x) as activation function. When the activation is positive, it is obvious that this is better than, say, the sigmoid activation function, since its derivation is always 1 instead of an arbitrarily small value for large x. On the other hand, the derivation is exactly 0 when x is smaller than 0. In the worst case, when a unit is never activated, the weights for this unit would also never change anymore, and the unit would be forever useless - which seems much worse than even vanishingly small gradients. How do learning algorithms deal with that problem when they use ReLU?


GNOME Terminal shows up in several places:   launchers which start terminal commands the Launch Terminal keyboard shortcut the menu items added by nautilus-open-terminal   Does each of these explicitly specify GNOME Terminal, or is there some centralized setting they reference?  I have checked for:   A setting in System Settings ▸ System Info ▸ Default Applications An analog of  or  An environment variable containing gnome-terminal. This one actually looks hopeful:  $ env | grep gnome-terminal COLORTERM=gnome-terminal   but I'm not sure where to go with it.   If such a setting exists, my goal is to change it to use a different terminal emulator by default.

How can I set the default terminal used in Unity?  I would like to use the Ctrl+Alt+T hotkey to start a non-default terminal. The default terminal is gnome-terminal.   Where can I change the default terminal value?


I have following content in a file. $ cat file.txt code-coverage-api  jsch  cloudbees-folder  apache-httpcomponents-client-4-api  apache-httpcomponents-client-4-api  jsch  apache-httpcomponents-client-4-api  jsch  apache-httpcomponents-client-4-api  jackson2-api  apache-httpcomponents-client-4-api  workflow-api  echarts-api  workflow-api  envinject-api  workflow-durable-task-step  apache-httpcomponents-client-4-api   My expected output is: code-coverage-api  jsch  cloudbees-folder  apache-httpcomponents-client-4-api   jackson2-api  workflow-api  echarts-api  envinject-api  workflow-durable-task-step   At the moment, I am sorting the content like below and then removing the duplicates (except one element) by hand. $ cat file.txt |sort  Is there a way to keep only one duplicate element in the file and remove the remaining duplicate elements from the list? also, keep in mind that there are some elements which don't have any duplicates.

A huge (up to 2 GiB) text file of mine contains about 100 exact duplicates of every line in it (useless in my case, as the file is a CSV-like data table).  What I need is to remove all the repetitions while (preferably, but this can be sacrificed for a significant performance boost) maintaining the original sequence order. In the result each line is to be unique. If there were 100 equal lines (usually the duplicates are spread across the file and won't be neighbours) there is to be only one of the kind left.  I have written a program in Scala (consider it Java if you don't know about Scala) to implement this. But maybe there are faster C-written native tools able to do this faster?  UPDATE: the awk '!seen[$0]++' filename solution seemed working just fine for me as long as the files were near 2 GiB or smaller but now as I am to clean-up a 8 GiB file it doesn't work any more. It seems taking infinity on a Mac with 4 GiB RAM and a 64-bit Windows 7 PC with 4 GiB RAM and 6 GiB swap just runs out of memory. And I don't feel enthusiastic about trying it on Linux with 4 GiB RAM given this experience.


I'm trying to write a generator function for printing prime numbers as follows   def getPrimes(n):     prime=True     i=2     while(i<n):         for a in range(2,i):             if(i%a==0):                 prime=False                 break         if(prime):                 yield i   However I'm not getting the desired results p=getPrimes(100) should give me a generator function that will iterate primes from 2 through 100 but the result I'm getting is [2,3]. What am I doing wrong?

Could someone please tell me what I'm doing wrong with this code? It is just printing 'count' anyway.  I just want a very simple prime generator (nothing fancy).   import math  def main():     count = 3     one = 1     while one == 1:         for x in range(2, int(math.sqrt(count) + 1)):             if count % x == 0:                  continue             if count % x != 0:                 print count          count += 1


I want to create a list that contains the monomials up to degree n  basis = [lambda x:x**i for i in range(0,n+1)]   This however creates a list of n functions, but all the same one (of degree n) and not of degree 0,1,2,...n  I tried without list comprehension as well:  basis = [] for i in range(0,n+1):     basis.append(lambda x:x**i)   but with the same result. Substituting the lambda function by a classic function definition also did not fix it.    I checked , but that did not help, since I don't want to store function values, but the function itself. For example, I want to be able to call  basis[0](34)   and this should return  1

While I was investigating a problem I had with lexical closures in Javascript code, I came along this problem in Python:  flist = []  for i in xrange(3):     def func(x): return x * i     flist.append(func)  for f in flist:     print f(2)   Note that this example mindfully avoids lambda. It prints "4 4 4", which is surprising. I'd expect "0 2 4".   This equivalent Perl code does it right:  my @flist = ();  foreach my $i (0 .. 2) {     push(@flist, sub {$i * $_[0]}); }  foreach my $f (@flist) {     print $f->(2), "\n"; }   "0 2 4" is printed.  Can you please explain the difference ?    Update:   The problem is not with i being global. This displays the same behavior:  flist = []  def outer():     for i in xrange(3):         def inner(x): return x * i         flist.append(inner)  outer() #~ print i   # commented because it causes an error  for f in flist:     print f(2)   As the commented line shows, i is unknown at that point. Still, it prints "4 4 4".


I botched a gnome install on my virtual box and now when it boots it just hangs up at a black screen.  I wante to get back into a command line and uninstall/reinstall gnome...

After changing a few lines in xorg.conf, I can no longer boot Ubuntu (I assume it breaks when trying to load up X), so I need a way to boot into a single-user mode. However, there seems to be zero guides on the Internet how to do it, because they all assume I can actually edit files on my computer, and I obviously can't.  So how do I load Ubuntu in single-user mode?  When I turned off splash, I figured out the problem: whenever Ubuntu can't load X server due to some error, it switches to tty1 and waits for the prompt, but doesn't turn off the splash.


When someone is going to drive their car somewhere, I always used to say "drive safely" to them.  Recently I was told I should say "drive safe."  Which is correct?  So it's about when to use the word SAFE and when to use the word SAFELY. Thank you.

When someone is going to drive their car somewhere, I always used to say "drive safely" to them. Recently I was told I should say "drive safe."    (From: )   Which one is correct?  Similarly, is "do good" correct?


I am an undergraduate in Mathematics writing his dissertation on General Relativity this year. The next couple of months will be dedicated to learning the math (geometry) and the physics, and to this end I am looking for must-read/must-watch material on the topic.  General book recommendations are welcome, but keep in mind I can use Google! I am mainly looking for really good introductory content that I would have a hard time finding myself, whether it be videos, course notes, books or blog posts.  My apologies if this is a duplicate!

What are some good books for learning general relativity?


Ever so often, there is a suggested edit that I choose to edit. However, when I click submit, nearly always I will get the notice saying the post was edited by someone else and that my edit must be a radical change to override their's.  This is often times annoying as I just put in effort to fix a post only to be prevented from doing it. I understand the reasoning for my edit needing to be more of a change, but I think we should prevent people from editing a suggested edit or even just not show it while someone else is editing.  As for how, maybe when someone clicks the "Edit" button, hide the suggested edit from the queue for (say) 5 minutes. If they click "Cancel" in the meantime, just "unhide" it for others to see. Maybe we could use AJAX to ping the server every 5 minutes to say we're still editing. If it doesn't receive the ping, then it could assume they closed out of it, and then it could be "unhid".

More and more frequently in the review queues, I am spending time either fixing a post or considering whether an edit is valid, etc, only to make changes and have them denied/not count because someone else has blindly hit the approve button in the meantime.  My proposal is for the system to "lock" a post in the review queue once it has been presented to someone for review.  Do not let anyone else (in the review queue) do anything with it until it is released by the last user it was presented to (or a certain amount of time has elapsed).    By "lock" I mean that it won't show up in anyone elses list until released.  I did NOT mean that it would be in multiple queues and be unactionable in some of them.  This would fit well as the queues only present one at a time anyway.  This will allow people trying to make good decisions the time to do it and prevent someone else from making that effort a waste of time.  As support, look to some of the published reasoning behind the auto-question ban.  A large portion of it is that bad questions waste the time of the community.  Taking the time to ensure you are making a good decision in the /review queue only to have it not count because someone was badge-whoring and clicking the approve button as fast as they could also wastes the users time... arguably the more (for lack of a better way to put it) valuable user who is willing to invest some time and thought into making the site better.


What are the things you can put in the {}s in a /give command? I know some like ench and diplay but no others.   Here are the tags that I know how to use:   /give @p leather_boots 1 0 {display:{Name:"Dese Boots Aren't Made For Walking",Lore:["Some Stylish Boots Right Here"]},ench:[{id:0,lvl:15},{id:16,lvl:15}]}    That gives me a pair of leather boots with protection XV and sharpness XV Named "Dese Boots Aren't Made For Walking" with Lore of "Some Stylish Boots Right There".  What other tags can you put on items (like potion effects while equipped or attacked with, custom damage, and stuff like that)?

What are the basics of Minecraft commands? If I were to start from scratch, with no knowledge on the topic, what are some things that I need to know?


My workplace has a network drive anyone can access.  Because of this, there exist file paths which are so long that if you try to create a reasonably named file within them, the file path will exceed the maximum allowable length.  In some cases, I have authority to reduce the path length by removing redundancies, etc.  In other cases, it's part of a long standing project and I am forced to use that path.    How do I work with a shared network file path which is too long to allow files with practical names?  Edit: Please note, that if I could delete/revise the file path, I would.  The operating system is capable of updating the path.  The question, however, is that I am not authorized to update it.  That is, a senior colleague/manager says, "Do not change this file path."  What options are there for working within this constraint?  Looking around, these are the suggestions I have found:   Create a new folder somewhere else on the shared drive which has a shorter path.  Include a shortcut to the new folder at the end of the too long path.  A shortcut could be placed in the new folder which points to the too long folder. Change the hearts and minds of my colleagues.   Are there any others?

My wife has several files and folders that somehow ended up having filenames that have caused them to be undeleteable (can't be deleted) by normal means or via the command line. I believe the filenames are too long due to the depth of the folder structures. Does anyone know of a good utility for cleaning up files like this?


Im trying to get the current time elapsed percentage of todays time. It can be either javascript or php. How can I do that ?

Slightly strange question, but hopefully someone can help.  In essence, if the time was 12pm the the elapsed percentage would be 50%, 6am would be 25% and 16pm would be 75%.  Given the current time, how could you work out the amount of day that already passed?


Let $f: [0,\infty)\to\mathbb{R}$ be a function such that $f(x)$ is bounded if $x$ is bounded.     If  $\lim_{x\to\infty}  f(x+1)-f(x)=0$ , prove that:   $$\lim_{x\to\infty} \frac{f(x)}{x}=0.$$     If $f$ is bounded the proof is trivial. Then I assume that $f$ is not bounded; by the first condition, $f(x_n)\to \infty$   only if  $x_n \to \infty$; I need to show $\lim_{n\to\infty} \frac{f(x_n)}{x_n}=0$, but I can't. Any suggestion?

Let $f:[0,+\infty)\to\Bbb R$ be a function bounded on each finite interval. I want to show that if $\lim\limits_{x\to+\infty}[f(x+1)-f(x)]= L,$ then also $\lim\limits_{x\to+\infty}\dfrac{f(x)}x = L$


I am doing a Master in Physics. My area of research is experimental particle physics. During the literature review, I have read this statement many times, this happens because of the Cronin effect, then I started to understand what is Cronin effect, but unfortunately did not found any source. Please explain clearly and in easy wording about the .

I'm looking for explanation on  but unfortunately there's no Wikipedia entry or self-contained paper to start from. The statement of this effect is that:     "At leading order, multiple scattering only affect the momentum   distribution of the final particles, but not their total number. The   suppression at small p is compensated by an increase at larger p."   Can someone please explain why? I'm looking for a calculation based answer and not just qualitative discussion.


I want to be able to call myMethod() by using Function. in my code i have a long list of available functions and would like the user to pick one without an if then system. any help?    public static void main(String[] args) {     String Function = "myMethod";     Function();     }

If I have two variables:  Object obj; String methodName = "getName";   Without knowing the class of obj, how can I call the method identified by methodName on it?  The method being called has no parameters, and a String return value. It's a getter for a Java bean.


I'm still not quite sure if head hair grows endlessly, or if it stops at some point, but that's not the question.  When the hair on my leg grows, it obviously doesn't grow endlessly, but it also stops at some point. I learnt that hair is dead matter, so why does the body know that my hair reached maximum length, and realizes I cut it when I did?

Some hair especially body hair regrows after trimming but stops growing after a while. What is the mechanism behind control of hair growth and how is the length limit determined?


Are there any distros that are designed to make a wide range of very recent (unstable) packages available on low-RAM systems?

I'm looking for a near-zero-configuration linux distro that is designed specifically for serving static web sites and nothing else on a low-RAM machine (I'm planning on 128MB, but the option of less would be nice).  Any ideas of a linux distro specifically tuned for serving static sites in a small footprint?


I haven't been paying much attention to my marks during my undergrad (4 year undergrad), they haven't been terrible, but they are decidedly average. However, it looks like I could publish an economics paper this year and my supervisor wants to publish another one with me next year (I am currently in my third year).   So could these publications help with getting into top institution, assuming my marks improve from here on out?

When applying to a PhD program in the US, how does the admissions process work? If an applicant is weak in a particular area, is it possible to offset that by being strong in a different area?  Note that this question originated from this . Please feel free to edit the question to improve it.


I need to build a graphic in pgfplots with symbolic distances between the keypoints, as shown in the figure below. I know how to use symbolic coords, but if I was to represent the x coordinates as normally, the ticks would be 't1', 't1+t2', 't1+t2+t3', and so on... So I thought it would be better if I represented the x axis using dimensions, and set the ticks as dimension marks, just like I tried to illustrate in the figure. (The figure was edited in Paint, so sorry about the quality :P)  I wonder if there's any built-in way to perform this, or else any work-around. Thanks in advance!

Is it possible to tell pgfplots to put tick labels between the tick marks instead of at the tick marks?  MWE:  \documentclass[margin=5pt]{standalone}  \usepackage{tikz} \usepackage{pgfplots}  \begin{document}      \begin{tikzpicture}          \begin{axis}[             width=5in,             height=3in,             axis lines=middle,             scaled ticks=false,             xtick=\empty,             xmin=0,             xmax=3,             extra x ticks={0,1,2,3},             extra x tick labels={low,high,med},         ]          \addplot [mark=*,draw] coordinates {(0.5,2) (1.5,4) (2.5,3)};          \end{axis}     \end{tikzpicture}  \end{document}   Result:    I can do it manually by adding  xticklabel style = {xshift=1.9cm,align=center},     but this seems unsatisfying, unreliable, and requires too much trial and error.


Can posts that have been favorited be viewed in a list on the iOS app similar to the desktop web version? If not, I'd like to request such a feature.

I would like to have a page listing all the questions I marked as favourite, same as the .  Also, I think the desktop version, the star, is much more intuitive and easier to find. Thanks!