I am trying to direct a scanner to scan directly to a shared folder on my home network. The scanner's web service asks for the network path to my shared folder, and only accepts UNC as input, i. e. \\server\volume\path.  My share is at //home/<user>/Public on a particular computer on my network.  I know the IP address and netbios name of the computer, and know the shared folder path on my Ubuntu machine, but don't know how to plug that in to come up with a valid UNC path to my shared folder.  UPDATE:  This is not a duplicate of the question that asked how to navigate to a samba share via command line of a share created in Nautilus.  Instead, I was asking how to direct a web server to my samba share when the web server uses a Windows (UNC) input mask.  I already knew the path to my samba share from the terminal and from other Linux devices on the network.  I didn't know how samba characterized this path to Windows machines or web servers that assume the Windows UNC file path naming conventions.

Please note: I am two weeks old in Linux. I have found a lot of answers to this question on the internet, tried many, but all failed one way or another. Therefore I dare to ask once again in the hope that someone here could explain it simply :)  Pre-conditions:  In my institute, we have a Samba server. In Windows, it is accessed by going to \\xyz.220.131.233\ and entering the login abc and the password def.   In Ubuntu, I was able to do exactly the same using Nautilus, pressing Ctrl+L and entering smb://xyz.220.131.233/. It then asks for the login and the password and connects. I can even drag a folder from here to the 'Places' and have a shortcut to the remote location.   So far so good. I've just installed Matlab and want to open this remote location. Trying to cd to smb://xyz.220.131.233/ returns      Cannot CD to smb://xyz.220.131.233 (Name is nonexistent or not a directory).   A Mac user in my group told me I first mount the location, but he didn't know how to do it.   Is it true and how do I do it?


Reputation graph on profile page is un-draggable. Currently displaying data only for last 30 days.  Observed on Google chrome Version 58.0.3029.110 (64-bit) (OS - Win 10)   Can this be something related to touch based screens?  Note: Not duplicate of  as graph is not draggable at all. While in the , graph timeline can selected by dragging pointer in the lower chart but the same is not reflected in the upper chart/graph

The reputation graph has been broken for years:    Dragging over the area below will not do anything. Clicking/hovering the bars will also not trigger a popup.  It used to work but since several years ago it stopped working for me. From the comments  I have realized it is working for other users but not me. Therefore I have taken a look at it and I found out that since the page probably thinks I am on a mobile device (I have a touchscreen on Windows 8.1) it is only listening for touch events. (Based on my experience, the code/underlying library must has been written before touchscreen PC's became popular.)  I tested it and indeed, the touch events work. This also explains why it stopped working years ago because I have switched to a laptop with touchscreen.  Another user seems to have a  but they couldn't figure out why. I am not able to confirm that the problem he was experiencing is also related to touchscreens.  Chrome 51, Windows 8.1.


I have Windows installed on my PC. I have tried to install Ubuntu 14.04, but unfortunately instead of creating a new partition, I chose the first option "Erase everything". I canceled it, but when I restart my PC, no operating system appears.  Could you please help me?

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions  (C:) Vista  (D:) Entertainment  (E:) Work  (F:) Sources   and I wanted to start using Ubuntu instead. So I tried it first from the live CD and everything was OK and all the partitions were shown and working and so I decided to install Ubuntu to replace Vista on the (C:) drive. After I did that I can no longer find my folders and files on the (D:), (E:), (F:) partitions and the only file system that is shown is one 198 GB although my HDD is 320 GB.  I can't access the lost data on the remaining 120 GB which I hope is still there and not totally lost  I am now working from the live CD but I am unable to install testdisk. Can I recover the Vista partitions by the product recovery CD to get my laptop back to the factory settings? Can I recover the NTFS partitions using a recovery program for Windows or will that make the problem worse?   I need these data badly as I don't have a backup for them.


After so many incidents happen that my advisor trying to bad mouthing to my committee, sobstege my publication, secretly removing me from my PhD projects I feel I cannot trust my advisor anymore. Now, I feel everything he said was insincere and full of lie. My advisor always says positive thing but all end up negative. He is not consistent of what he said and what he actually does which disgust me. I don't want to let him handle my manuscript or assign me project because I always fear that he will do something underhanded. If I really grant a PhD from my advisor, I would be ashamed of such lineage. All I want now is live in bubble space undisturbed focusing on my own topics. I want to be myself as a phd student and one day as a professor. What should I do? Please help!

What should I do if I have lost faith in my PhD advisor (leadership, research direction, everything)? I have worked in this lab for three years and from my observation, none of my advisor's project work out and zero publications so far. Since I already had a gut feeling that everything would eventually go on a dead march, I have tried to propose to him an alternative approach but my advisor never listens (or only listens passive-aggressively). Guess what, my advisor ran out of funding, and he blamed us (the graduate students) for no publication. Now we all have to serve as TAs. I somehow manage to pump out my own project but my advisor didn't quite like it unless it's his idea. He told me he had no funding for my proposal and continue to gamble on his own project. (Come to think of it, no funding was a lie.) Recently, I am publishing my paper and the way he edited my manuscript is always cursory, mindless and pushy. I have a feeling that I am destined to fail the moment I joined this lab, any advice? Any experience similar to mine?   I joined the lab because his research topics are interesting but found out later that all his approaches to the problem just don't "hit" the point. For example, you know you need different tools to solve a problem but he just keeps using the same one again and again and my mind just get narrower and narrower. Also his work were simply a rehash of the previous one, like switching apple to orange, and everything else stays the same.


I am building a desktop application and currently utilizing a mix of icons for pan, select, zoom, attribute table, etc that have been randomly taken from the internet and modified.   The overall look is very messy and not that intuitive to our non-technical users so  I am hoping to find a set of icons that have a homogeneous look to them.   My team has a small budget to spend on buying a set of icons but, if they exist, we would prefer to use free open source icons.   Can you point us to resources for either paid or free icon options?

When a user clicks on a map what should they expect to see?   I would say a symbol for where they clicked.  A pushpin seems to be the most accepted icon for generic data. Google has pushed the upside down tear drop.   What are other ideas/options and is there a place for finding professional gis oriented icon packs?  I ended up creating this,     This just popped up from the guys at map box. Clean


I know electrolyte capacitor explode when used in AC current but Can we using two parallel electrolyte capacitors as shown in fig. for AC applications since they have lower size than PPC capacitors (for 400v), for using in transformerless power supply as Xc or for power factor correction?

There was some discussion on this question        which I don't see as being conclusively resolved:   "turns out that what might LOOK like two ordinary electrolytics are not, in fact, two ordinary electrolytics." "No, do not do this. It will act as a capacitor also, but once you pass a few volts it will blow out the insulator." 'Kind of like "you can't make a BJT from two diodes"' "it is a process that a tinkerer cannot do"   So is a non-polar (NP) electrolytic cap electrically identical to two electrolytic caps in reverse series, or not?  Does it not survive the same voltages?  What happens to the reverse-biased cap when a large voltage is placed across the combination?  Are there practical limitations other than physical size?  Does it matter which polarity is on the outside?  I don't see what the difference is, but a lot of people seem to think there is one.  Summary:   As posted in one of the comments, there's a sort of electrochemical diode going on:     The film is permeable to free electrons but substantially impermeable to ions, provided the temperature of the cell is not high. When the metal underlying the film is at a negative potential, free electrons are available in this electrode and the current flows through the film of the cell. With the polarity reversed, the electrolyte is subjected to the negative potential, but as there are only ions and no free electrons in the electrolyte the current is blocked. —    Normally a capacitor cannot be reverse-biased for long, or large currents will flow and "destroy the center layer of dielectric material via electrochemical reduction":     An electrolytic can withstand a reverse bias for a short period, but will conduct significant current and not act as a very good capacitor. —    However, when you have two back-to-back, the forward-biased capacitor prevents a prolonged DC current from flowing.  :     For circuit positions when reverse voltage excursions are unavoidable,   two similar capacitors in series connected “back to back” ... will create a   non-polar capacitor function ... This works because almost all the circuit voltage   is dropped across the forward biased capacitor, so that the reverse   biased device sees only a negligible voltage.   :     The oxide dielectric construction that is used in tantalum capacitors   has a basic rectified property which blocks current flow in one   direction and at the same time offers a low resistance path in the   opposite direction.


Server has numerous IP addresses, set up on it's network interface.  How to find, who is listening to specific IP port 80?  netstat shows very long list. Are there any builtin means?  UPDATE  Also can't use findstr with also wishing to know process name because brocess name is displayed on separate line.

I try with netstat -ab -p tcp -n and among the results get:    TCP    0.0.0.0:47001          0.0.0.0:0              LISTENING Can not obtain ownership information   I am running as administrator and get that message. I also downloaded a utility to show network activity for exe's but nothing open is listening on port 47001 according to the utility.  How can I find out what is listening?


What happens if you receive, say, 5 upvotes or 5 downvotes (meaning multiple upvotes or downvotes) on a question or answer?  Is your reputation going to reduce only the amount or multiplication of factor?  Example  Say a person receives 3 downvotes in a question. His/her reputation is 500.  So will this bring down his/her reputation to 498 (-2 for downvote) or 494 ( -2 * 3)?

On Stack Exchange, users may gain a certain level of reputation.  What does reputation do? How can a user gain or lose reputation?   See also   in the Help Center  - Maximum amount of votes a user can use in a day and reputation requirements to vote.  - How to get an exact overview of the actions that got you your reputation.  - A full list of all privileges granted at each reputation level on all sites.


I have a image difference from ArcGIS, which i have performed a remap function on. The layer is a temporary layer and does not have an attribute table, i need all the pixel values to do a frequency distribution on but cannot find a way to do it. Pixel inspector doesn't give me a large enough area to cover the entire layer.   It seems like a really simple thing to do but I can't figure it out. Basically just get all the data from the raster, there is only 2 values, 1 and 2. I just need to know how many times each one appears

While using the Pixel Inspector, whenever I click "copy all values" it only copies values that you can see on the screen. Anyone know a solution? I need all the values to count the number of times 1, 2, and 0 appear on the graph.


Which is correct to say... are you not tired of being in pain because of football or are you not tired from being in pain because of football?

He is tired of that work   vs.     He is tired from that work.   I think the two sentences are almost the same.  If there is any difference, could anyone explain?


There seem to be tons of solved problems with this one, but neither of them seem to work for me...  I have created this little jsfiddle to show you:   And the CSS:  .footer {      width:798px;      border-top: 2px solid #2E181A;      clear: both;      padding: 5px 0 0 0;      background-color: inherit;      text-align: center;      bottom:0;      background-color: #E6D9BD;      position:relative;      height: 30px;      margin: -30px auto 2px auto;      z-index:30;  }   .container {      width: 788px;      margin: 0px auto 0px auto;      padding: 0px 0px 30px 0px;      border:5px solid #2E181A;      background-color: #E6D9BD;      min-height: 100%;      position:relative;      content: " "; /* 1 */      display: table; /* 2 */  }   .contentleft {      background-color: inherit;      margin:5px 10px 10px 10px;      padding:10px 5px 30px 5px;      float:left;      overflow: hidden;      width: 300px;      display:block;  }   .contentright {      background-color: inherit;      margin:5px 0px 10px 10px;      border:0px solid #2E181A;      padding:10px 5px 30px 5px;      float:left;      overflow: hidden;      width: 420px;      display:block;  }   I have set a top-border in the div.footer, and this should be visible and a little space between the border and the div.container.  Hope you will take a quick look at the code and see whatever I'm doing wrong!

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.


With Windows 7 it was possible to change the fonts used by Windows for title bar, menus, popups, etc.  This way I could get rid of "anti-aliased" fonts such as Segoe UI that are blurry and use "aliased" fonts such as Tahoma that are sharper and much more readable for me. That, and disabling ClearType give me the right fonts display configuration.  I cannot find this fonts configuration dialog in Windows 10 so far.  Where can I find this dialog for Windows 10? (sorry about the French snapshot)

I have read the entries for other OS versions.    Changing the MS Shell Dlg (2) entries in FontSubstitues registry key doesn't seem to work (in Windows 10), or it works in two minor places.  I don't have access to a Windows 95/98/etc. machine, the "earliest" I have is Windows 8.1, so I can't use the Plus directory trick either (directory doesn't exist). For the WindowMetrics registry entry, I seem to have all the *Font keys to be set to the font I want, but that doesn't seem to be doing the trick (on Windows 10). For Windows 8/8.1, there was a program called Windows 8 Font Changer, which worked like a charm, but doesn't seem to on Windows 10 (though it was probably that program run that changed the fonts in the WindowMetrics).   Thanks.   Update: One more method that came out that is perhaps still not the solution: Winaero Tweaker (winaero.com), as it has some issues, the biggest two of which seem to be:   If you have changed the size of text etc. from: "Settings –> Display –> Advanced display settings –> Advanced sizing of text and other items –> set a custom scaling level (not recommended)", the changes do not stick upon a logoff-login or restart. You need to have changed it, if at all, only through "Settings –> Display –> Change the size of text, etc." (which goes up to only a certain percentage, depending on the maximum resolution of your device – 125% on a tablet of mine, which I was able to set to 175% or even 200% with the other, older method that is now apparently listed as not recommended).  Even though it lists a number of items to change the font and size of, not everything gets changed. A typical example of this is the right click menu on the desktop, which still shows the View, Sort By, etc. items in the default font, however much it has a clear 'Change menu font' item.


I've a command in the ~/.local/bin/ path (lets call it dog). Calling the command with the full path ~/.local/bin/dog works as expected .  When I do which dog I get the expected ~/.local/bin/dog. When I check the $PATH ~/.local/bin is there as it should (actually it is /home/ec2-user/.local/bin)  But if simply type dog I get the following error:  -bash: /usr/local/bin/dog: No such file or directory  The output for type dog is dog is hashed (/usr/local/bin/dog) But for type -a dog is dog is /home/ec2-user/.local/bin/dog  Ideas?

I installed parcellite in Ubuntu (downloaded from )  After installing from sources, sudo make install, I can see that it is installed at below location.  However, when I try to run it, it tries to run it from another path. Why is that?  user$ which parcellite /usr/local/bin/parcellite  user$ parcellite -h bash: /usr/bin/parcellite: No such file or directory   $PATH is as below  /home/user/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games  I tried changing ownership of executable as follows. Still the problem persists.  user$ ls -l /usr/local/bin/parcellite  -rwxr-xr-x 1 root root 452K Oct  7 21:00 /usr/local/bin/parcellite user$sudo chown user:user /usr/local/bin/parcellite user$ ls -l /usr/local/bin/parcellite  -rwxr-xr-x 1 user user 452K Oct  7 21:01 /usr/local/bin/parcellite   I had an older version of parcellite installed. But I removed it prior to installing new version.     Update: @Fox's solution works. But any idea why which command gives correct path, despite hashNOT being updated?


Let f' be continuous and positive on [a,b].  Prove that: $\int_a^bf(x)dx+ \int_{f(a)}^{f(b)} f^{-1}(y)dy=bf(b)-af(a)$  I've got the later steps of this covered using integration by parts, and I know that I need to use substitution on the integral containing the inverse.  My question is: how do I set up the substitution on $\int_{f(a)}^{f(b)} f^{-1}(y)dy$ to get it in terms of f(x)?

$f(x)$ is a strictly increasing, and continuous, function on $[0,+\infty)$. Consider the integral,  $$\int_0^a f^{-1}(x) dx.$$  Reasoning  The interval $[0,a]$ is "reflected" across the line $y=x$ onto the interval $0 \leq y \leq a.$  $f(x)$ and $f^{-1}(x)$ are symmetric across the line $y=x$. So, the integral is equivalent to the area bounded by $y = 0$, $y=a$, and $f(x)$.  So, "integrating $f$ along an interval on the $y$-axis" is the same as integrating $f^{-1}$ along the same interval on the $x$-axis?  Question  Is my reasoning correct?


here i am trying to fetch name from opportunitylineitem but its fetching null, don't know how to solve this problem.  Can anyone please help me out.   >  for(OpportunityLineItem o : oli) >            {   >             OrderItem op = new OrderItem();  >         op.Order_Name__c = o.Product2.Name; >          orderIt.add(op); >              >            }

here is my code in which i am trying to get the product name from opportunity line item but its returning back NULL value. can anyone please help me to get that product name. I can get id from product2 but i want the name of product so that i can abbreviate it and can store it in Order_Name__c field of orderItem. After adding the product only i am firing this trigger.     public class Procuct_Adding_To_Order{  public static void productOrder(List<OpportunityLineItem> oli){     system.debug('-----------------------');      set<id> prodset = new set<Id>(); for(OpportunityLineItem item : oli) {   prodSet.add(item.product2id); } // collect products Map<Id, product2> prodMap = new Map<Id, Product2>([select name from product2 where id in :prodSet]);   // create a map for OLIid & corresponding Product Name Map<Id, string> OLIprodMap = new Map<Id, string>();  for(OpportunityLineItem item : oli) {  OLIprodMap.put(item.id, OLIprodMap.get(oli.product2id).name); //getting Error in this line. }      set<Id> setOppId = new set<Id>();      for(OpportunityLineItem obj: oli){          setOppId.add(obj.OpportunityId);      }      list<opportunity> needed = [Select Master_Opportunity__c from opportunity Where Opportunity.id =: setOppId];         List<OrderItem> orderIt = new List<OrderItem>();     for(Order ord: [Select id from Order where opportunityId =: needed[0].Master_Opportunity__c])       {        for(OpportunityLineItem o : oli)        {           OrderItem op = new OrderItem();          op.Opportunity_del__c = needed[0].Master_Opportunity__c;          op.orderId = ord.id;         op.Order_Name__c = o.product2Id;         system.debug('-----------------------3333333333333333333333'+ o.Product2Id);         op.PriceBookEntryId = o.PriceBookEntryId;         op.Quantity = o.Quantity;         op.UnitPrice = 100;         orderIt.add(op);            }          }     upsert orderIt;  } }


I am looking for a paper detailing the very basics of deep learning. Ideally like the Andrew Ng course for deep learning. Do you know where I can find this ?

I am an undergraduate who needs to submit a thesis for graduation. I am fairly interested in deep learning, and am working on a project that uses deep learning methods extensively (rCNNs to be precise). The caveat here is that I am working alone, with little help from my advisor. There are hardly any experts on deep learning in my university. How do I go about finishing my project. It is specially intimidating to see that most papers in deep learning are published by multiple accomplished scientists with very little involvement of undergraduate level students.   PS: I am really interested in this topic, so please try not to advise me to switch to an easier topic.


I know "What is bounty?" I just want to know  If I bounty a question with 50 reputation, then is it necessary that after 7 days, I have to accept some answer? If the answer does not satisfy me then what will happen? Whether my 50 rep will be deducted?

It's possible to offer and award bounties of reputation on questions.   What is a bounty? How can I find questions that have a bounty attached? How do I start a bounty? When can I start a bounty? Why is the system requiring me to choose a bounty amount that's higher than the minimum? Can I use Markdown formatting in the bounty remarks? Can I edit the remark? How long is the bounty period? How do I award a bounty? Can I award a bounty to my own answer? Can I award a bounty to an old answer? If I offer a bounty on someone else's question, can I award the bounty to their answer? After awarding the bounty, can I remove it or move it to another answer at a later time? What happens if there's no answer after the bounty period? What happens if I feel my question is still unanswered? What is automatic awarding? Are bounty awards exempt from the 200 points/day reputation limit? How does Community Wiki mode affect bounties? How does user deletion or post dissociation affect bounties? Can I award a bounty to an answer from a deleted user or one where the author was dissociated? Can I offer a second bounty after the first one has expired? Can I raise my bounty? What happens if a bounty question is closed or deleted? Why can't I vote to close or migrate a bounty question? What happens if I delete my account while I have an active bounty? Do I keep an awarded bounty when I delete my answer? What happens if a question where I awarded a bounty later gets deleted or migrated? Can I cancel my bounty? Can I affect / divide / share part of my bounty to two (or more) users? How many outstanding bounties can a single user have?      See also:  in the Help Center


Today, in the BBC Science section, a headline reads that the Imperial College of London has determined that the shape of the electron is completely spherical.  In a physics book I'm reading now, the authors indicate that visualizing elementary particles as tiny balls is not correct.  They are essentially point sources with mass but no volume.  The electron is not an object, it is a probabilistic "object" like a cloud.  How do I make sense of this.

According to :     The electron has no known substructure. Hence, it is defined or assumed to be a point particle with a point charge and no spatial extent.   Does point particle mean the particle should not have a shape, surface area or volume?  But when I searched Google for the "electron shape" I got many results (like  and ) that says electrons are round in shape.


Why do we need this feature? It has been many times asked users to vote a post for its content, not anything else. However, for example, when a post is heavily downvoted, users usually treat the post in either of the following ways:  They ignore it because they think that it is worthless.  They intend to vote it; however, something in their minds repeatedly tells them "it is likely a worthless post because many users have downvoted it. Don't waste your time for reading this post, and downvote it".   I want to conclude that many users, even experienced ones, are highly affected by vote results on posts, so they may not cast their votes based on content of posts. What is this feature? I think it should not be a bad idea that vote results are not shown in a short while (for example, one hour, 12 hours, one day, ...) after posting a question. So users tend to read each post carefully before casting their votes.

I don't know about you, but to me happens a lot: if I'm reading a question with a LOT of answers, (specially in a really specific question) I just read the most voted up: that's the way the system was made to be, and it's really good. The most relevant voted by the community are the first ones.  Since we have TOO many users, and a lot of them are reading the same questions and answering them almost at the same time, do you think the "urge" to be the first to answer a question and so gain reputation points makes people sometimes write things too fast and not try to really elaborate a really helpful answer? We may think: "people aren't going to read all answers, so I need to be really concerned about how fast I'm to answer". Are we incentivating "objective answers", or "not so good but objective and good to be voted up"?  I'm not trying to be unfair with all answers people here provide, we have really good ones here. But supose what I wrote above is a reality: what you think it would happen if it was a "time delay" between an "up-vote or down-vote" and it's sum in the answer? Summarizing: what if the sum wasn't almost "real time"?


Is better to say the e.g. kinetic energy is 0 joule or kinetic energy is 0 ? since 0*joule equals 0.Is a mathematical concept behind because in many books i find both ways.

Is $0 \, \mathrm m = 0 \, \mathrm s = 0 \,\mathrm {kg} = 0$? How do we define $[0 \, \mathrm m]$?  I once was given an assignment where I was asked to deduce and write down some physical quantity. It turned out that this quantity was $0$ in one unit or another, so I decided to drop the physical units because I figured that it didn't matter anyhow.  But I got to thinking:  If $0 \, \mathrm m = 0$, then we could add units of different dimensions (an operation not normally defined) like so: $5 + 0 \,\mathrm m = 5$.   Does $[ \cdot ]$ map $0 \, \mathrm m$ to both $0$ and $L$? Is there an established regime of thinking about physical quantities as an abstract algebra? Perhaps as a vector space where formal sums such as $5 \, \mathrm m + 10 \, \mathrm s$ are allowed? Would it be improper to drop the units of measurement of $0 \,\mathrm m$ like this in an academic paper?


apt already worked fine. but in order to solving package not found error I used bellow commands  sudo sed -i -e s/universe//g /etc/apt/sources.list sudo sed -i -e s/main/"main universe"/ /etc/apt/sources.list   And now whenever I use any of apt commands I face this error    $ sudo apt-get update E: Malformed entry 15 in list file /etc/apt/sources.list (Component) E: The list of sources could not be read.   Is there any solution??!

I am looking for the best method to restore /etc/apt/sources.list to default from the command line.  Is there no way to reference the source code of the package which generates this file or something like that? I want a trusted and version-independent way of restoring this file.  Solutions Ruled Out  Before you mark this as a duplicate, note that I have reviewed  already. It is only applicable if you have the Ubuntu GUI available. This question is specific to the command line.  I have also reviewed  where the accepted solution is someone pasted the contents of their sources.list file. This is not an appropriate way to restore the file as the intentions of the person providing the file contents cannot be verified and the file is subject to change with new releases.  I checked out the , but this is also not from Ubuntu so I do not plan to use it.


This question is similar to  but is different enough I felt I should ask it separately.  I am wondering how long it will take a given institution to receive my General GRE scores from ETS.  Note: I am not asking how long it will take after I take a test for the scores to be sent.  These are scores from a test I took almost two years ago; I am asking how long it will take for scores already available to be sent and available.  If it matters, I am putting my score submission request into ETS on Jan. 2.  I don't know if some times of the year are busier for them than others and thus processing and sending times may vary.

I would like to know how long it takes for a General computer based GRE score to be delivered to graduate school in US. Some graduate schools mention do not take GRE later than specific date so I am wondering does it really take long time to send the score online?


I think it would be useful to hide votes on existing answers for the first X minutes of a question's life. Early answers have a higher chance of being upvoted, so if you're ten minutes late to the show, your answer will be the last one displayed even if it's great.  Not everyone will check all answers to a question, especially if the first one already has some upvotes.  Also, there's another twist to it. Seeing an answer with 5+ votes, some will assume it's the best one without even looking at the others, due to herd mentality.  The main upside to this would be that others are not influenced by existing votes when they cast theirs. This doesn't have to occur for everyone (the OP could still see the votes in case he's looking for a quick solution, and answerers could see the votes on their own answers).     And... what if the answer is wrong? Indicating that it's wrong early is very, very good.   Of course it is, but then again, a wrong answer that appears to be right that has several upvotes is very, very damaging (especially if it reaches a score of 10+). From my experience, in C++, this is highly visible with undefined behaviour. An explanation for some piece of code comes along, which may make sense or even apply to a particular compiler, and be taken for granted, when, in fact, the answer is wrong.

On Stack Exchange sites I have always felt answering in the right time can result in a good score. The first few answers always get some advantage. If the scores are hidden for some specific time (maybe 6-12 hours) and all the answers are shown randomly, then I think the process will be more unbiased.  Edit: Considering what Gamecat has told, the score may be kept visible only for the respective answerers. May be for the questioner also.


According to WolframAlpha,  but I don't know how I can prove it.


I am using Beamer's Metropolis theme which is freely obtained in . The problem is that if I add the line  \addtobeamertemplate{background canvas}{\transfade[duration=1]}{}   to obtain effects in the presentation, in the PDF document there is a white line on the left side as you can see in this image    How I can avoid this?  I have used the following code, suggested by @samcarter  \documentclass{beamer}  \usetheme[background=dark]{metropolis}  \addtobeamertemplate{background canvas}{\transfade[duration=1]}{}  \begin{document}  \begin{frame} abc  \end{frame}  \end{document}   But the result is the same

Using beamer with the , I want to have a global transition effect (a fast fade) which I set using the following code:  \addtobeamertemplate{background canvas}{\transfade[duration=0.2]}{}   as found on  answer.  However, doing it messes up with my slides settings. It doesn't change every slides, only the \section ones that are slightly shifted to the right, adding a white line on the left, as seen here:   I tried using XeLaTeX and LuaLaTeX, as they are the only compilers I could use for my current font, but they both have the same issue.  It probably comes from the theme, however I have no clue why it would happen or how to fix it.  Edit :   \documentclass{beamer} \usetheme{m} \addtobeamertemplate{background canvas}{\transfade}{}  \begin{document} \section{test} \end{document}   Requires the mtheme to work


So far I have two strategies in mind for proving this:  1) Bezout’s Identity:  ax+cy=1 --> bax+bcy=b ==> gcd(ab,bc)=b  2)Properties of Prime numbers: if gcd(a,c)=1, then a and c do not share any prime factors   Both ideas have left me at a dead end

I know it might be too easy for you guys here. I'm practicing some problems in the textbook, but this one really drove me crazy. From $\gcd( a, b ) = 1$, I have $ax + by = 1$, where should I go from here? The extra $ac$ is so annoying. Any hint?    Thanks, Chan


\begin{table}[h] \centering \caption{Modelling steps} \vspace{1mm} \label{tab:steps} \begin{tabular}{lll} \hline \rowcolor[HTML]{34CDF9}  \textbf{Step}           & \textbf{Description}                                                   & \textbf{Addressed in} \\ \hline Problem formulation     & Identifying the problem  or research question to be investigated       &                       \\ System Decomposition    & Deciding system composition, its internal structure and the boundaries &                       \\ Concept Formlisation    & Generalising system description to make it interpretable by a computer &                       \\ Model Formalisation     & Agent narrative                                                        &                       \\ Software Implementation & Implementing the model in a programming language                       &                       \\ Model verification      & Translation of conceptual model to computational model                 &                       \\ Experimentation         & Performing the planned experiments or scenarios                        &                       \\ Data analysis           & Exploring, Interpreting and Visualising the data obtained from model   &                       \\ Model validation        & Accurate representation of real-world system                           &                       \\ \hline \end{tabular} \end{table}

I have a table that I want to insert on a page, but at least one (perhaps both) of the following conditions are met:   The table is too wide to fit within the text block or page. That is, I'm exceeding some horizontal restriction. The table is too tall to fit within the text block or page. That is, I'm exceeding some vertical restriction.   What are my options to make this table fit? If it doesn't fit, regardless of my attempts, what other options exist?


Questions about the g-wave caused by the big bang: 1)was there a g-wave produced? 2) when will it reach us? 3) will it be too weak for us to detect(atleast now?)?

We already discovered the cosmic background radiation what are the 'leftovers' of electromagnetic radiation of the big bang. Probably gravitational waves of the big bang (if they exists) would be to low to measure at the moment. But according to the unified theorie all forces existed already 'together' in the beginning. So the question is can the really exist today or are gravitational waves just created after a while and only because of matter what is coming together instead of a kind of an 'explosion' like the big bang?


The title it's self explanatory. I've tried a few things but I don't know where to start. I think that with a hint I can proof this and a written formal proof to compare my answer would be nice too.  obs: $\#$ means cardinality of a set.  Edit: Solved just now.  Solution: Since $A\cup B=(A-B)\cup( B-A) \cup( A \cap B )$ and the intersection of this three sets it's empty, so $\#A\cup B=\#A-B+ \#B-A + \# A \cap B $. Since $A=(A-B) \cup (A\cap B) $ and $B=(B-A) \cup (A\cap B) $, we have $\#A+\#B=\#(A-B)+\#(B-A)+2\#(A \cap B) $. The conclusion is trivial.

If $A$ and $B$ are sets then $|A| + |B| = |A\cup B| + |A\cap B|$.


I participate in several of the SEs. I use different aliases for each one, but I notice that regardless, people can look at my profile on all of them once they access my profile on one of them.  On some of the technical ones, I would like to use my real name on some of the technical SEs, but at the same time, I would like to keep my real identity hidden on the philosophy SE, where I occasionally discuss my views on religion and I'm not comfortable with those being made public, given my family background.   Is there a way of hiding that particular SE from my network profile?     This seemed to be a duplicate of these tow posts:      However, there seems to be a problem:   The communities are hidden from the network profile, but posts from those hidden communities still show up in the top network questions and top network answers section in the network profile.   How can I fix this?

I hid a couple of Stack Exchange networks from my network profile, yet the activities I have done in those hidden networks (answering questions, gaining badges, meta) are still showing up. I would like to hide activities from networks I have hidden, please.  Or if it was a feature, is there a reason why it was suspended/removed?


Why you would want to use a switch block over a series of if statements?  switch statements seem to do the same thing but take longer to type.

What's the best practice for using a switch statement vs using an if statement for 30 unsigned enumerations where about 10 have an expected action (that presently is the same action). Performance and space need to be considered but are not critical.  I've abstracted the snippet so don't hate me for the naming conventions.  switch statement:  // numError is an error enumeration type, with 0 being the non-error case // fire_special_event() is a stub method for the shared processing  switch (numError) {     case ERROR_01 :  // intentional fall-through   case ERROR_07 :  // intentional fall-through   case ERROR_0A :  // intentional fall-through   case ERROR_10 :  // intentional fall-through   case ERROR_15 :  // intentional fall-through   case ERROR_16 :  // intentional fall-through   case ERROR_20 :   {      fire_special_event();   }   break;    default:   {     // error codes that require no additional action   }   break;        }   if statement:  if ((ERROR_01 == numError)  ||     (ERROR_07 == numError)  ||     (ERROR_0A == numError)  ||      (ERROR_10 == numError)  ||     (ERROR_15 == numError)  ||     (ERROR_16 == numError)  ||     (ERROR_20 == numError)) {   fire_special_event(); }


One of the motivations behind requiring C++ programmers to put the typename keyword before accessing a type nested inside a templatized type was to prevent ambiguity in templates. For example, consider the following code, which assumes the existence of a template type called MyTemplate:  template <typename T> void MyFunction(const T& elem) {     int itr;     while(true)     {         typename MyTemplate<T>::Inner * itr;     } }   Consider the line           typename MyTemplate<T>::Inner * itr.    Since we have the typename keyword here, the compiler understands that we're declaring a pointer of type MyTemplate::Inner* called itr. If we don't put the  typename  keyword in here, C++ will think that    MyTemplate<T>::Inner  is a class constant rather than a type. What will the statement     MyTemplate<T>::Inner * itr mean in this case? Does the difference between these two cases help explain why the typename keyword is necessary?

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template <typename T, typename Tail> // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template<typename U> struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion<U> dummy;      };     template< > struct inUnion<T> {     }; }; template <typename T> // For the last node Tn. struct UnionNode<T, void> {     // ...     template<typename U> struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template< > struct inUnion<T> {     }; };   The problem I have is in the typedef Tail::inUnion<U> dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion<U> names a type and not a function?


I have many problems with trusty and its hard to find solution to them because i don´t always find help here, so how can I go back to saucy without losing my data ?

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?


Because of the success of StackExchange.com I am having difficulty researching the term on the Internet.  Where does it come from?  I know the phrase comes out of computer programming, but my experience in computer languages ended in the late 70s when my BASIC program intended to calculate payroll used up all of the memory in our lab's shared TRS-80. Don't laugh at me.  I am old.

What does stackexchange mean? I have checked out this  to read about the Stack Exchange Network.


My textbook shows the proof of $\sqrt{2}$ but I'm having trouble doing the same exact thing for $\sqrt{n}$. So, I have $A:= \{x$ contained in $\mathbb R: x^2 < n\}$. First if $x^2 < n$ then $x < n$. We know that $A$ is nonempty because $1$ is contained in $A$.... I'm completely lost after this. I know it involves taking an $r$ and so on...

It is well known that $\sqrt{2}$ is irrational, and by modifying the proof (replacing 'even' with 'divisible by $3$'), one can prove that $\sqrt{3}$ is irrational, as well.  On the other hand, clearly $\sqrt{n^2} = n$ for any positive integer $n$.  It seems that any positive integer has a square root that is either an integer or irrational number.        How do we prove that if $a \in  \mathbb N$, then $\sqrt a$ is an integer or an irrational number?      I also notice that I can modify the proof that $\sqrt{2}$ is irrational to prove that $\sqrt[3]{2}, \sqrt[4]{2}, \cdots$ are all irrational.  This suggests we can extend the previous result to other radicals.        Can we extend 1? That is, can we show that for any $a, b \in \mathbb{N}$, $a^{1/b}$ is either an integer or irrational?


!curlhttps://raw.githubusercontent.com/MicrosoftLearning/intropython/master/elements1_20.txt -o elements1_20.txt elements = open('elements1_20.txt', 'r') elements_lines = elements.readlines()  count = 0  for line in elements_lines:     elements_lines[count] = line[:-1].lower()     count += 1  print(elements_lines)  ['hydrogen', 'helium', 'lithium', 'beryllium', 'boron', 'carbon', 'nitrogen', 'oxygen', 'fluorine', 'neon', 'sodium', 'magnesium', 'aluminum', 'silicon', 'phosphorus', 'sulfur', 'chlorine', 'argon', 'potassium', 'calciu']   As you can see the last element of list is not showing in full? can somebody help me to do so.

What is the Python equivalent of Perl's chomp function, which removes the last character of a string if it is a newline?


I have a set of folders with scripts in them.  These are used to setup various environments.  Each folder also has a plain text file that has some settings that are read by the script (so that the settings only need to be updated in one place and can be read by the bash or powershell scripts).  I have another folder that contains scripts that take parameter to determine which folder to execute the script from.  This folder in in the PATH, so that the scripts can be called as you would an executable.  Now, I am have gotten this to work on windows, where I am a bit more familiar, however making this work on Mac has not been kind to me.  I do not want (the users) to have to source the file, I want the script to do that automagically (as is working on Windows).  script root -scripts --env_a --- settings --- bash script for env a --- posh script for env a --env_b --- settings --- bash script for env b --- posh script for env b -path --set_env.sh --set_env.bat  So on Windows, I can > set_env env_a, and the environment variables are available to the current and child processes.  How can I do the same on Mac?

I'm trying to write a shell script that, when run, will set some environment variables that will stay set in the caller's shell.  setenv FOO foo   in csh/tcsh, or  export FOO=foo   in sh/bash only set it during the script's execution.  I already know that   source myscript   will run the commands of the script rather than launching a new shell, and that can result in setting the "caller's" environment.  But here's the rub:  I want this script to be callable from either bash or csh.  In other words, I want users of either shell to be able to run my script and have their shell's environment changed.  So 'source' won't work for me, since a user running csh can't source a bash script, and a user running bash can't source a csh script.  Is there any reasonable solution that doesn't involve having to write and maintain TWO versions on the script?


Is this possible to write copy constructor like the code below? (using another constructor in the init line)  Fish::Fish( int fin, int gills) {     m_finCount = fin;     m_gillsCount = gills; }  Fish::Fish(const Fish & other):Fish(other.m_finCount,other.m_gillsCount) {  // all in init line  }

As a  developer I'm used to running through constructors:    class Test {     public Test() {         DoSomething();     }      public Test(int count) : this() {         DoSomethingWithCount(count);     }      public Test(int count, string name) : this(count) {         DoSomethingWithName(name);     } }   Is there a way to do this in C++?  I tried calling the Class name and using the 'this' keyword, but both fail.


I am trying to torrent from a specific tracker on my seedbox but haven't been able to successfully connect and was told by a site admin that I should:     ...disable the verification of certificates. To do so, just add following line to .rtorrent.rc located in your home directory:   The admin then suggested that I could try adding this line to my seedbox (ubuntu) .rtorrent.rc file:   network.http.ssl_verify_peer.set=0   I am uncertain how to add a line to .rtorrent.rc.  I can access the terminal via putty and I can SSH in, it says "Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-59-generic x86_64) on xxxxxx.xxxx.xx hosted by: xxxxxxx"  Please explain the steps/commands necessary to add the above line to my .rtorrent.rc file.

I want to append this text:  <Directory "/var/www/*">     Order allow,deny     Allow from all     AllowOverride All </Directory>   to the file /etc/apache2/apache2.conf  I have access via SSH but I don't know how to use VIM. I would like to do this via a command.


I asked a question, few months ago, I forgot where I asked it, it could easily fit on SO or Unix.SE or AskUbuntu or SuperUser or Gamedev.SE, and maybe another site. I have accounts on all of these and more.   So is it possible for me to search for my own questions/answers on all SE network without going to every site and checking it out?

Search boxes and similarly dependant items (like the "Questions that may already have your answer" div) should return answers from all sites.  Rationale:   Search box: If a casual user is searching for something, they shouldn't need to know which site to search. At the moment the process is that they go to the most likely site based on site title and search there. Not everybody knows the 90+ sites we have. Questions that may...: A user could notice that the same question they are asking belongs to another site, or has been answered elsewhere and thus not create an off-topic question on the site.   This specifically refers to the searches on the single sites and it is a different request from .


I'm analyzing a regression of thousands of test cases in linux. So I want to open many files(failed) in gvim at once.  I have a file as mention in below with 100+ lines specifying 100+ files in a directory. I want to open all these files in gvim(in single gvim).  ./Linux2/Lint/case1/DIFF ./Linux2/Lint/case4/DIFF ./Linux2/Lint/case10/DIFF ./Linux2/range/case1/DIFF ./Linux2/operator/case7/DIFF   100+ lines like this.  Is there any way to open files in all these files in gvim with some navigation mechanism.   I know it is possible to use,  gvim file1 file2 .....   But it is not easy with 100+ files.  I need to do this in gvim, not in vim.

I have a longish list of files opened in vim that looks like this:  /dir1/file1 /dir2/file2 /dir2/file3 .....   How can I open all of them one by one the easiest way possible in the same session of vim either with split or edit?


I need some basic validation (sanitation checks) to determine if some input is a valid SHA1 sum or just a (random) string. If possible with simple parsing rules or a Regex.  Are there any rules to what a SHA1 sum should adhere? I cannot find any, but from quick tests, all seem to be hexadecimal and around 40 characters long[1].  I am not interested in tests that prove whether or not the SHA-1 sum was made in a secure, properly random or other manner. Just that the format is correct.  I am also not interested in testing that the digest is an actual representation of some message; Just that it has the format of digest in the first place.    For the curious: this is for an application where I build avatars for users based on a.o. their uuid. I don't, however, want to place those uuids in the URL, but obfuscate them a little. So instead of avatars/baa4833d-b962-4ab1-87c5-283c9820eac4.png, we request avatars/5f2a13cb1d84a2e019842cdb8d0c8b03c9e1e414.png. Where 5f2a... is e.g. Digest::SHA1.hexdigest(uuid + "secrect").   On the receiving side, I am adding some basic protection that sends back a 400 bad request whenever something is obviously false. Such as avatars/haxor.png or avatars/traversal../../../../attempt.png. Note that this is a very much simplified example.    [1] Two tests with different outcome:  Using sha1sum on Ubuntu Linux:   $ echo "hello" | sha1sum | cut -d" " -f1 | wc -c 41   using Ruby's Digest:     Digest::SHA1.hexdigest("hello").length => 40   Edit: turns out this is me, being stupid, wc-c includes the newline, as kennytm points out in the comments. Still: is it safe to assume it will be 40 characters, always?

I'm trying to match SHA1's in generic text with a regular expression.  Ideally I want to avoid matching words.   It's safe to say that full SHA1's have a distinctive pattern (they're long and a consistent length) - so I can match these reliably - but what about abbreviated SHA1's?  Can I rely on the presence of numbers?  Looking at the SHA1's in my commit log - numbers always appear in the first 3 characters. But is this too short? How many characters of SHA1 do I need to consider before I can assume a number would have appeared?    This does not have to be 100% accurate - I just need to match an abbreviated SHA1 99% of the time.


Which is the best source of free map icons (royalty free & price free)?  I need an icon set for my Google Maps project that will give it a custom feel. Ideally I want an icon set with a creative commons license so I can modify them myself.

When a user clicks on a map what should they expect to see?   I would say a symbol for where they clicked.  A pushpin seems to be the most accepted icon for generic data. Google has pushed the upside down tear drop.   What are other ideas/options and is there a place for finding professional gis oriented icon packs?  I ended up creating this,     This just popped up from the guys at map box. Clean


Prove by induction that the product $$n(n+1)...(n+r-1)$$ of any $r$ consecutive numbers is divisible by $r!$.   In the inductive case i've$$n(n+1)...(n+k-1)(n+k)$$ I was not able to find a way to prove this is divisible by (k+1)!. I try to use distributive property in (n+k).

I have to prove the following theorem:     Prove that the product of $r$ consecutive positive integers in divisible by $r!$   I am having a hard time getting a generalization down for the full set of real numbers, if I start from 1 and work up to r, I have the following:  $$r!k=\prod_{i=1}^{r}n_i$$  Can easily prove the base case of this, (n=1), and then go in to prove:  $$(r+1)!k=\prod_{i=1}^{r+1}n_i$$  Expand that out and get:  $$(r+1)r!k=n(n+1)(n+2).....(n+r)(n+r+1)$$  Can say that the product of the first $r$ elements in equal to $r!k$ by our base case. Leaving using with:  $$(r+1)k=(n+r+1)$$  Not sure where I can go from here, n is the integer that we start at, so how can I get it to work out to be equal to our induction hypothesis?


How do you have your group meet, besides the age old, tried and true method of, "You all meet in a tavern"?

I believe that it is generally a good thing that all the PCs travel together, as a "party". This way the GM has to manage one environment – not, say, five. The problem is how the GM can ensure such a relationship between the characters.  One simple and really great solution is to require the players to design their characters so that they know each other. This has the added advantage of cross-backstories – as the players try to adjust their stories to fit together, they get and create hooks for more narrative!  However, I am now experimenting with giving the players complete freedom at character creation and later meeting in-game. No luck so far.  It is not easy, as trusting someone with your life (what happens during combat) is not a trivial thing. Furthermore, people generally like others with the same behaviour/interests/skin colour. Fantasy is all about diversity – you do not character-generate a strong man with a sword, no, you generate a half-ogre with an axe never before seen!  How can the GM get players, with diverse characters who are strangers to each other, decide to have their PCs act as a coherent group. I absolutely want to avoid asking my players to just solve this through metagaming ("Hey Joe, think of a way to get together with those, I can't story-tell two separate groups at the same time!").  I'm not having the stereotypical problem where a bunch of PCs meet for the first time and are automatically so paranoid of strangers that they start trying to kill each other. My players have just created a bunch of characters who have their own legitimate interests, and are faithfully following those in completely different directions that don't result in a classic "party". I put the PCs in great peril together and everyone escaped by their own devices, but now I have to figure out get the guy who ran for the hills back together with the couple that entered the city. And, I want to do it by resorting only to reasonable in-game events, not out-of-game metagame suggestions.


Led Zeppelin were an English rock band formed in London in 1968.   (.)  Is "were" really the right word here? It feels like it should be "was".  After reading the answers and my own searching, it appears to be correct in this case

Duplicate:    What is correct to say?  Korn* is a great band  OR  Korn* are a great band.  (* You can replace your favourite band's name here) Of course everybody there is no doubt about the following sentences:  The Beatles are a great band Led Zeppelin is a great band  But with certain kinds of names, the situation becomes difficult.  Metallica are a great band  OR  Metallica is a great band  Is there any consensus on this matter?


How does C++/the compiler know in the code below when to execute the right piece of code? And how is this stored (behind the scenes)? My vector contains Base* but there must be some extra information somewhere, right? The  which is the same as this: class Base {     public:         Base()=default;            virtual void DerivedOrBase() { std::cout << "Base\n"; } };  class Derived : public Base {     public:         Derived()=default;            void DerivedOrBase() override { std::cout << "Derived\n"; } };  int main() {     std::vector<Base*> myVector;     myVector.push_back(new Base());     myVector.push_back(new Base());     myVector.push_back(new Base());     myVector.push_back(new Derived());          for(auto p : myVector) p->DerivedOrBase();      return 0; }

We all know what virtual functions are in C++, but how are they implemented at a deep level?  Can the vtable be modified or even directly accessed at runtime?  Does the vtable exist for all classes, or only those that have at least one virtual function?   Do abstract classes simply have a NULL for the function pointer of at least one entry?  Does having a single virtual function slow down the whole class? Or only the call to the function that is virtual?  And does the speed get affected if the virtual function is actually overwritten or not, or does this have no effect so long as it is virtual.


unfortunately I am coming to you with another problem. I wanted to update TeX Live 2013 on my 64 bit Win7 system using tlmgr. So normally I use the GUI, but that did not start up. I hopped on the command line (admin mode) and typed:   tlmgr update --all --self   And I got the following error message, which also results in no update being performed:   Unknown docfile tag:  texmf-dist/doc/latex/pythontex/pythontex_quickstart.pdf details=""Quick start" documentation" at C:/texlive/2013/tlpkg/TeXLive/TLPOBJ.pm line 127, <TMP> line 128161.   What should I do now?

Today my TeX Live 2013 stopped updating packages. I use tlmgr to update packages but it's crashing with the following error:  $ sudo tlmgr update Unknown docfile tag:  texmf-dist/doc/latex/pythontex/pythontex_quickstart.pdf details=""Quick start" documentation" at /usr/local/texlive/2013/tlpkg/TeXLive/TLPOBJ.pm line 127, <TMP> line 127939.   The command   sudo tlmgr update --self --all --reinstall-forcibly-removed   does not fix it.


A friend has a Windows 7 computer and at every boot the Windows 10 upgrade tool asked to install Windows 10. My friend doesn't want Windows 10 at all and hence she dismissed this popup. The upgrade tool has then planned the automatic upgrade to April 29th (two days ago). Since then, the computer hasn't been booted yet.  The installation files for Windows 10 may have already been downloaded on the disk and are waiting for being installed.  What happens when she boots her computer? Will Windows 10 be installed right during boot or can she still intervene, e.g. "Upgrade to Windos 10 now?" -> "Cancel!" ?  Edit:  I would not consider my question a duplicate of this linked question.    It does not specifically answer the question, whether the upgrade will happen directly during the next boot of Windows 7. If it does, the solution in the linked question is not applicable.  Please also see this article on microsoft.com:   It states, that if a user cancels the upgrade dialog, the upgrade will happen at the scheduled time.

I cancelled the Microsoft Windows 10 Reservation and uninstalled KB3035583, but Windows 10 is still trying to install.   After I uninstalled KB3035583 and restarted my laptop as instructed, I could not find KB3035583 to hide it.   Now Windows 10 is sitting in my Windows Update saying that it will install when I restart my computer.


I recently tried to update all my stuff with sudo apt-get update, but after my computer restarted I could not log in. If I type in the correct password, the screens turns black, and has an error message in the top right corner:"System problem detected. Do you want to report the problem now?" However, I cannot interact with the error box, either to click cancel or report problem, and the screen blacks out again, bringing me to the gray gnome login screen again. I've tried all the fixes on this website () but none worked; I tried these through recovery mode's root command line. I do not have Nvidia drivers, and I cannot access the command line with Ctrl Alt F1 from the login screen, as it freezes or does not do anything. Worth noting that the Ubuntu GNOME I run was not originally the GUI I used; it was installed after Unity. It always had a few errors (frequent error messages, sometimes the time settings menu in the top right, or random letters were invisible) but not like this. Unfortunately, I'm not sure what version of Ubuntu I was trying to update to, but I can get that info if told how. I also have Windows 10 installed, but use it very rarely. My laptop is a Dell Inspiron. Thanks.   Edit: Used a live USB for the command line, and none of the fixes in the first article work. For the first, there is no .Xauthority in ls -lah. For the second, it runs but there is no output. For the third, I do not have lightdm installed to begin with. I also tried using boot-repair; it claimed there was an unknown error while repairing. However, after restarting, I sort of logged in. The screen was all black, with the same error box that later disappeared, except for the time and text saying "activities" in the top left corner. I used Ctrl alt T to open the terminal and it appeared against the black background. A few seconds after, everything disappeared and returned to the login screen. I feel this a graphics error, but a selective one. At the login screen I still see my name, a white box (no profile picture in it), and the time. If I click near the top right bar where the Wi-Fi icon would be, I can interact with it, but most of the text does not appear. I also tried use a previous kernel version (4.4.0-89) to no avail. My current version is 4.4.0-97.   Edit 2: I created a "good environment" as described here by mounting by Ubuntu partition while in a live USB. () I then ran fixes 2 and 3 for the previous link; I think re-installing lightdm did the trick, as it was my original desktop manager instead of gdm3.

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


As you can see from my picture there are a lot of places where the same lines run on top of each other. Imagine a tram map. How can I make sure that the ones that are behind are visible too?  Just like you see from metro or train maps:

Imagine I have some bus lines each with a different colour, and sometimes the different bus lines run on the same road, but I don't want one of them to disappear. Is it possible to make them show as parallel like in the picture?  If I just simply draw the lines in parallel to each other, they will change appearance a lot as a zoom in or out and I would not have a consistent width between them.


Upon clicking the windows partition in nautilus, i get this error thrown at me.  Error mounting /dev/sda4 at /media/zalgo/D8649C54649C36EA: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda4" "/media/zalgo/D8649C54649C36EA"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).Metadata kept in Windows cache, refused to mount.Failed to mount '/dev/sda4': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.   I do not have fast boot or hibernation enabled on windows, if there are any commands that i should post the output of to help, please comment that.  This is not a duplicate of , as the solution used there does not work here.

Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount.  When I try to enter my Windows partition through Nautilus I get a message saying that this partition is hibernated and that I need to enter the file system and properly close it, something I have done with no problem so I don't know why this happens.    Here's my partition table, if any more data is needed please let me know.     Device Boot      Start         End      Blocks   Id  System /dev/sda1            2048    20000767     9999360   83  Linux /dev/sda2        20002814   478001151   228999169    5  Extended /dev/sda3   *   478001152   622532607    72265728    7  HPFS/NTFS/exFAT /dev/sda4       622532608   625141759     1304576   82  Linux swap / Solaris /dev/sda5        20002816   478001151   228999168   83  Linux


I'm trying to use natbib to get a bibliography, but it's not working. I tried compiling a sample tex-file, which worked fine, but in my document it's not happening. My document looks like this:  \listfiles \documentclass[12pt]{ociamthesis} \usepackage[square]{natbib} \usepackage{amssymb} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{csquotes} \usepackage{hyperref} \usepackage{amsmath} \usepackage{booktabs} \usepackage{multirow} \usepackage{tabulary} \usepackage{listings} \usepackage{color} \usepackage{eurosym} \usepackage[]{graphicx} \usepackage{subfigure} \usepackage{textcomp} \begin{document} ---content with citations--- \bibliographystyle{plainnat} \bibliography{refs} \end{document}   My bib-file looks like this:  @book{goossens93,   author = "Michel Goossens and Frank Mittlebach and Alexander Samarin",   title = "The Latex Companion",   year = "1993",   publisher = "Addison-Wesley",   address = "Reading, Massachusetts"   }   It just completely ignores the bibliography, there's no headline or anything. Where I put the citations, it prints ?. I even tried stripping the document until only   \documentclass[12pt]{ociamthesis} \usepackage{natbib} \begin{document} \cite{goossens93} \bibliographystyle{plainnat} \bibliography{refs} \end{document}   remained, but it didn't help. When I created a new .tex-file in another directory with the same contents, it worked fine. Deleting everything but the *.tex-file also didn't help. Does anyone have an idea what I'm doing wrong?

I was unable to find a previous post about this - perhaps too simple? I just came across the BibTeX and am trying to use it with an EndNote library. I have exported to the .bib file (which looks good as far as I can tell), but no bibliography is printed and the references aren't being cited. Obviously there is something major missing.  My document looks as follows.  \documentclass[11pt, fceqn]{article} \usepackage{epsfig} \usepackage{setspace, titlesec, caption, floatrow}    \usepackage{amsmath, amssymb, amsfonts, amsthm, cite, mathtools, lineno, subfig, natbib}  \begin{document}   Some text \cite{Alo_1}.  \bibliography{bib} \bibliographystyle{plain}  \end{document}   Any thoughts would be greatly appreciated.


As I've read the substitution of objects of a concrete type by instances of a subclass of that concrete type must preserve a program's correctness, a program's invariants.  I'd like to know what exactly is meant by correctness and invariants of a program?

I have heard that the Liskov Substitution  Principle (LSP) is a fundamental principle of object oriented design. What is it and what are some examples of its use?


Someone with a gold badge in a tag can Dupe Hammer, and close it in one go, like a moderator.  Is there anything to stop a Gold Tag user from editing in that tag to close it? Or is that allowed, like edit to unvote?

In order to increase the efficiency with which poor quality questions are closed, it could make sense to have weighted close votes for a small subset of qualified users.   A very good way to measure the qualified users would be to leverage the tag badges. However, it needs to be rationally limited to a set of users that are knowledgeable with the subject. A very good way to measure the top users in a tag would be to look at those who have a gold badge in the tag.  If two users who have a gold tag badge pertinent to a question issue a close vote, the question should probably be closed (or probably will be very soon under the current system). I think it would make sense to allow users with a gold tag badge to have a 3x weight for close votes in those tags.  Please keep in mind, this isn't suggesting full moderator one click closure. It only adds weight to the vote. A single user could not do it on their own. These singular users cast close votes all the time, so that aspect would not change. Some will vote to close, some wont, but the ones who do should have a stronger weight to their vote. Even with 3x it will require 2 of said votes to accomplish, or still 2 other users (meaning 3 agreed it should be closed - which is the same amount of high rep users it takes to delete a question and that has a much greater impact than closure).  tldr;  Allow gold tag badge users to have a weighted close vote in their tag


Should I use "which" or "that" in these sentences. I appreciate they are virtually the same sentence. I don't think it makes a difference here but I speak/write British English (not American English).   The twin room has its own ensuite that/which is equipped with a shower. This stylish room has its own ensuite which/that is equipped with a shower.   Thanks

When is it appropriate to use that as opposed to which with relative clauses?


Let $f\colon \mathbb{R}^2 \to \mathbb{R}$ be function, such that for every fixed $x_0$  $f(x_0,y): \mathbb{R} \to \mathbb{R}$ is monotone and continuous function   and for every fixed $y_0$  $f(x,y_0): \mathbb{R} \to \mathbb{R}$ is continuous function.  Prove that $f$ is continuous.  I am trying to check the continuity at $(x',y')$, So let $\epsilon > 0$ and now $|f(x,y)-f(x',y')| \le |f(x,y)-f(x,y')|+|f(x,y')-f(x',y')|$  by triangle inequality (I'm trying to move colloterally to axises). Now I think I should use the continuity of $f(x_0,y)$ and $f(x_0,y)$ in apriopriate way, but I don't se how.

Let  $ f: \Bbb R^2 \to \Bbb R $ such that :  $ \forall _{y_0 \in \Bbb R\ }:  $ function $ x \to f(x,y_0) $ continuous function and increasing  $ \forall _{x_0 \in \Bbb R\ }:  $ function $ y \to f(x_0,y) $ continuous function   I mean the continuity of one variable.  Prove the continuity of a function $f: \Bbb R^2 \to \Bbb R $  I know definition, but I can not do. I wanted to use the definitions of Cauchy.


Cross posting is posting exactly the same question on multiple Stack Exchange sites. This is both a common and a highly problematic practice; splintering answers across the network doesn't help people looking for them, which is all our sites are supposed to be about. Very new users, who've yet to learn our strange ways, are the usual culprits of this. I don't think we can blame them, this is (more or less) acceptable behaviour on every other forum on the internet. Furthermore, I don't think expecting them to know they can flag for moderation attention and ask for the question to be migrated is reasonable.  That said, and while cross posting is strongly discouraged, . There are often significant overlaps between sites, and a question may very will be on topic on more than one sites. Cases like this aren't always handled consistently. There are some that believe only one copy of the question should exist, and then there are others that don't find the fact that an on-topic question has been posted elsewhere reason enough to close it.  I'm in the first camp when it comes to questions that have been copy pasted verbatim on multiple sites, and on the second for when the poster has gone through the trouble of tailoring each version to the audience of each site. The first category is, I believe, trivial to detect and it's the one I'd like to see automatically rejected by the system. Even in the rare occasion when a copy pasted question happens to be on topic on both sites, copy pasting your question across the network is . And more often than not, cross posts tend to attract an onslaught of downvotes and/or negatively charged comments, regardless of their topicality. We are doing a very poor job educating our new users about the faults of cross posting, but a fantastic job at chastising them for it.      If outright blocking is out of the question, then I think at least an automated warning is in order. Something along the lines of:      It seems you've already posted this on Chemistry. Also posting it on Arqade may not be such a great idea, questions are very rarely on topic on more than one sites. Please check out Arqade's help center to find more details on what questions this site welcomes.   Thoughts?

How difficult would it be to detect cross-posts when the relevant questions have identical titles and content, and are posted by the same user? As an example:        If this is technically possible,  I'm not sure what the best response would be?   Notify the user when asking the question that . For off-topic cross-posts (e.g. the above example): Let the question be closed as off-topic, and then automatically block or flag the question as an exact duplicate during migration. For on-topic cross posts (eg a game programming question on SO and gamedev): Not sure what the process is for flagging/closing cross-posts, but whatever it is, can we automate some aspect of that? Something else?   (Edited to remove request for auto-detecting same-site re-posting, which has already been implemented since the example I listed occurred)


From a SEO point of view, which one is "better" for a not so little company: Having one huge site containing everything regarding the company or having multiple one? I think one site is better, because it is easier to optimize and advertise, but I just started working in a company, where we have multiple simple websites (almost single page) to handle offer requests. My boss don't want this site structure changed. (These sites have no connection at all, but the first thing I would do is link them and by linking I mean adding a page where there are links to the other pages).   It is easier to explain through an example. We have domains structured like this (not the real ones):   forkliftparts.com : for forklift parts forkliftseat.com : for ordering seats forklifttire.com : handling orders regarding tires forkliftbattery.com : and for batteries ...   The sites are basically the same, with a little color difference. Should I start advertising the pages separately? What could I do to improve the standing in search engines? The sites are built with WordPress and with the use of SEO plugins, so I am more interested in off-site seo.

I recently moved from having a main site like www.example.com with a subdomain associated site yyy.example.com, to moving everything off the subdomain to a subdirectory like www.example.com/yyy/, with the same hierarchy underneath the subdirectory, and now yyy.example.com is just a redirect page to the subdirectory, so yyy.example.com/abc/page-x is redirected to www.example.com/yyy/abc/page-x and so on.  The effect has been that the traffic increased by several times (the total page views are more than ten times at the present rate) what it was to the yyy subdomain. Previously almost all of the traffic to the yyy subdomain was from the www site. This is from monitoring the old yyy site for a year or more.  I'm curious to know if there's any research or results which would indicate whether this is universal (subdirectories beat subdomains) or "just me".


I'm having a little problem with changing the value of a textbot. The problem is that there is no id assigned to the textbox, so getElementById does not work, neither does getElementsByName.  <input type="text" class="textbox" name="custom_reason" size="50" maxlength="120" value="">   How would I change it's value?  Thank you.

For instance in the snippet below - how do I access the h1 element knowing the ID of parent element (header-inner div)?

        Some text I want to change

   Thanks!


I have a Celeron N2840 in a 7yo Lenovo laptop. As a senior high school student, I need to run medium-heavy apps like MS Teams, Python and sometimes Android Studio. I've noticed that the CPU runs at about 90% constantly, while the 8Gigs of RAM have no problem. Would like to know if it is a threat when I run my laptop for about 8-10hrs straight a day, every week. The laptop has pretty much 0 cooling because of it being old.

I have a Dell XPS 15 9570, 32 GB ram, 2.2 ghz and 6 cores. When i use an application (The parsim command on MATLAB) ()  then my fan starts running fast , during this my PC doesn't seem to be heating but it never got this noisy in the past so it got me worried. In my task manager , the CPU usage shows 100% when this application is running.   Is it a problem for the life of laptop, if I run the PC at CPU 100% for like 4 hours in a day? Do I need to be worried about the noisy fan during the application?


I have been trying to log in to my Hotmail account and I can't because Outlook.com keeps coming up instead. Is there any way that I can still log in to Hotmail?

My Hotmail has been switched to Outlook.com automatically and I do not like the Outlook at all. I just need to get my Hotmail back and tried to do the steps mentioned. I can't find the sentence on how to switch back to the old Hotmail?


Stack Overflow question  appears to have been protected by someone, but I can't see any evidence for it. Why?  As far as I can see, it's a pretty poor question without any answers from a user who has consistently posted poor questions just containing links to his site.  Am I missing something?

There are a few "automatically protect questions" requests out there, but I'd like to add another twist.  I'd like to request that questions that have three or more deleted answers by users with <50 rep be automatically protected.  The reasoning behind this is that we have lots and lots of "not an answer" flags in the mod queue.  But we cannot protect a question from the mod queue, so we have to open each answer, evaluate if the question needs protecting, then protect it.    This process takes a long time, and can definitely be automated, as the only thing you really need to check is how many new users are posting non-answers or are spamming their awful products.


I am having trouble with the RandInt() method as it will not return a random integer. The result must be an int ranged 0-9 and must use the math.random class. This is my code below:  public class RandNumGenerator {     public static int RandInt() {         int n = (int) Math.random() * 10;         return n;     }     public static void main(String[] args) {         RandInt();     } }

How do I generate a random int value in a specific range? I have tried the following, but those do not work: Attempt 1: randomNum = minimum + (int)(Math.random() * maximum);  Bug: randomNum can be bigger than maximum. Attempt 2: Random rn = new Random(); int n = maximum - minimum + 1; int i = rn.nextInt() % n; randomNum =  minimum + i;  Bug: randomNum can be smaller than minimum.


I was laying on my bed, reading a book when the sun shone through the windows on my left. I happened to look at the wall on my right and noticed this very strange effect. The shadow of my elbow, when near the pages of the book, joined up with the shadow of the book even though I wasn't physically touching it.   I have posted :The video seems to be the wrong way up, but you still get the idea of what is happening.  What is causing this? Some sort of optical illusion where the light gets bent?  Coincidentally, I have been wondering about a similar effect recently where if you focus your eye on a nearby object, say, your finger, objects behind it in the distance seem to get curved/distorted around the edge of your finger. It seems awfully related...  EDIT: I could see the bulge with my bare eyes to the same extent as in the video! The room was well light and the wall was indeed quite bright.


I'm working on an admin dashboard design, for some shipping transports. I've designed couple of dashboard before. Everytime i was asked this question.  Normally in dashboard design we will place icon as well as text together right? Is it right to have both the things together? if yes or no, why?

Are there any rules on when to use icons vs. icons with text vs. just text links in a web application?  For example:    vs.   save  vs.  save    Extra question: Is  save -or- save  preferable?


Tonight, at 02:36 AM, my bedroom computer (Windows 10 1511) decided to wake up from hibernation.   Obviously, my first instinct was to yell at it for waking me up in the middle of the night (it's not a "silent" PC). Since my wife was still asleep, what I actually did was to shut it down (fully) and worry about it later.  Later is now, and I'd like to find out why, oh why, it decided to do such a thing at such an impossible time.  I've checked the following:  Power settings: "Allow wake timers" is set to "Disabled".    Event log: The wake source is "unknown".    How can I find out what caused this madness?

How do you stop a Windows 10 Desktop waking up from the sleeping/hibernated power state without user intervention?  For lots of users this won't be an issue but, if you sleep in the same room as your PC, then having your machine wake up at 3:30AM to download updates is irritating.


I am a dual citizen with 2 passports. Passport 1 is from my birth country, Guyana, and passport 2 is from the UK. The Guyanese government has the option of stripping your Guyanese citizenship if they know you use another citizenship, so I would like them not to know. If, for example, you have a US visa in passport 2 (departing from birth country) and like to travel to the US, how would you proceed?   Possible solution is to go to the US embassy (in birth country) and reapply for a new visa on passport 1 but wouldn’t they question why you’re doing that since the other one is still valid? Plus there are many questions on the form to fill out regarding that. They will obviously see that you also have a citizenship not belonging to the country you’re in so will they report it? Or do you just wait till it expires before applying with another passport?  Since there's no direct flight to destination, stopover country is visa free for both passports.

I am a citizen of two different countries, and have two passports.  How should I use my passports when traveling?


Given $N \times M$ binary matrices (matrix containing only $0$'s and $1$'s), two matrices are called identical if one can be converted into the other by first permuting the $N$ rows and then permuting the $M$ columns of the resulting matrix. Find the number of non-identical matrices.  I'm not really sure of how to begin this problem either. It's some recursion (or composition of more than one recursion) and I can't figure that out. May I get some valid hints?

I'm interested in the number of binary matrices of a given size that are distinct with regard to row and column permutations.  If $\sim$ is the equivalence relation on $n\times m$ binary matrices such that $A \sim B$ iff one can obtain B from applying a permutation matrix to A, I'm interested in the number of $\sim$-equivalence classes over all $n\times m$ binary matrices.  I know there are $2^{nm}$ binary matrices of size $n\times m$, and $n!m!$ possible permutations, but somehow I fail to get an intuition on what this implies for the equivalence classes.


If I want to improve the performance of my computer, or optimise the performance of a computer yet to be bought, how can I determine what hardware I would need to choose/upgrade?   Processor clock speed and number of cores, Type and quantity of RAM, Type and properties of graphics card or chipset, Type and properties of storage medium (hard disc drive vs. solid state storage), GPU/GPGPU, Perhaps a combination of the above, Others?   For example, I recently upgraded my laptop storage (HDD→SSD) and RAM (2 GB→8 GB), based on generic recommendations and on the fact I don't know how to upgrade anything else.  It led to a tremendous improvement in performance.  Suppose that I have a machine where theoretically any component can be upgraded, how would I go to determine the current bottleneck/limiting factor if I want to improve performance further?  For example:   Time to boot, Time for a complicated operation on photo editing, Time to compile a LaTeX document, Time to start Firefox, Time to start playing a video, and other things.   With tools like top I can measure CPU and RAM usage.  That tells me what processes are using my current resources, but not what limits them from running 10% faster, 2× faster, 10× faster.

Is there any tool that helps to determine the weakest link of my current laptop hardware specification? Any online guide to help me choose nice balanced configuration for the new laptop?    I need to find the answers:  a) which component should be invested to increase overall performance the most? CPU? GPU? RAM?  b) which component may decrease overall performance and work as a bottleneck for the specific configuration?    The question is general and regards both to validating the current hardware usage (and its possible bottlenecks) and estimating the performance (and avoiding possible issues) of specs I'm going to choose and buy.    P.S. For the specific laptop I need to replace, the following software will be in use:    Windows antivirus, firewall, dropbox service running in the background mail app + web browser with a dozen or so tabs open from time to time: libreoffice apps, movies, games (both online and installed).


Consider the following scenario:   I get in a spaceship, and travel really close to the speed of light for a while, and then come back. A lot of time has passed on the Earth, but since I was traveling so fast, I only experienced a few years passing. So, my friends on Earth are dead, whereas I'm only a few years older.   But what I'm having trouble wrapping my head around, is why is it them that's dead, and not me?  After all, given what I understand about relativity, it's just as fair to say that my spaceship stayed still, and it was actually the Earth that traveled really fast and then came back to my ship.  In that scenario though, the Earth being the fast-moving ship, and my ship being the stationary body, wouldn't it be that I am dead, and everyone on the Earth is just a few years older?  If there really is no preferred frame of reference, then why does the ship-traveler live while the people on the Earth die?

Two twin sisters synchronize their watches and simultaneously (from the earth frame) depart earth in different directions. Following a predetermined flight plan, each sister accelerates identically to 99.9%c and then returns home at the same time (again in the earth frame). The observers on earth see each twin as having aged identically, as the symmetry of the problem dictates. Each twin however should see the other as having aged... What gives?


i click a lot on the two screen layouts , composite and default.  every click that i do often,  i try to find a shortcut for it.  but i doubt there is a shortcut for screen layouts ? i have not seen a Phyton code showing up at these places. or am i missing something ? is there a way to get this shortcut ? in the worst case i will just keep on clicking each time.   but i prefer the shortcut. i hope anyone has an answer, thanks.

I'm tired of pulling out windows to get the UV editor or pull down a menu in the screen sets. Is there a shortcut, with one key, to get my 3D view to UV editor/node editor?  I have not found a way to edit shortcuts that way.


Input: I have Russian citizenship, but I live in Europe and I have Schengen long-term residence permit(not permanent residence). I would like to go to France through UK London Stansted airport. I will be coming to London at 8 o'clock AM and I have flight from London to France at 10:50 AM. What I have read there is no airside in Stansted airport, so it means, that I will have to go to UK border control. I have checked if I need visa to UK in  and it is written here that I need. However, it is also written here, there is possibility to transit without visa if:  you arrive and depart by air(yes, I will travel by planes)  have a confirmed onward flight that leaves on the day you arrive or before midnight on the day after you arrive(yes, I have)  have the correct documents for your destination (eg a visa for that country) (yes, I have visa to Schengen  zone)   And also I must have at least one point from the list in website:  Have a common format residence permit issued by an European Economic Area (EEA) country or Switzerland (yes, I have)  Question: Do I need really transit visa to UK?

Do I need a transit visa in London if I am an Egyptian citizen living in Greece with a residence permit? I am travelling from Greece to Italy and I'll do transit landside less than 24 hours.  I read on the  but does it make a difference that I am travelling inside Europe and not outside Europe?


I'm a big fan of the new app, but I often find myself changing the sort options for selection list. I think it would be useful to provide the user the ability to set the default sorting method for each list. For example: when I tab Tabs, I'd like my Favorites to come up, instead of Popular; and when I click on a particular tab, say MATLAB, I want Newest to display, instead of Votes. It would be great if we could long-tap to set the default, but anything would work. This would really improve my satisfaction with the app. Is there any chance we could get this feature?

One feature of the SE sites is that many (most?) of the pages will persist their sort and filtering options.  For example, when I click on the Questions link on any of my regular sites in a browser, it always defaults to the Newest sort, because that is how I prefer to read the sites and is the way I more than likely was reading it during my last session.  The iOS app doesn't always do this.  If you goto a site, tap Questions, choose a sort, tap a question, and then tap the back link, the sort persists.  If you goto a site, tap Questions, choose a sort, goto another site, ..., then go back to a site and tap Questions, the sort will be back at Active.  This is inconsistent and annoying.  Please persist the sorts/filters during a session and between sessions.


I'm following along to , time stamp 16:00 - 16:20. She wrote a query using a Left Outer Join and then re-wrote the same query using a Union and got the same results. I'm trying to do the same on a different database, but the queries are producing different results. Specifically, the query with the Union is not returning the shippers that don't appear in the orders table. I'm using MySQL Workbench. SELECT name AS shipper, order_date, customer_id FROM shippers LEFT JOIN orders     USING (shipper_id);                SELECT name AS shipper, order_date, customer_id FROM shippers, orders WHERE shippers.shipper_id = orders.shipper_id UNION ALL SELECT name AS shipper, NULL, NULL FROM shippers  WHERE shipper_id NOT IN (SELECT shipper_id FROM orders);  Here is the SQL Fiddle:

This issue came up when I got different records counts for what I thought were identical queries one using a not in where constraint and the other a left join. The table in the not in constraint had one null value (bad data) which caused that query to return a count of 0 records. I sort of understand why but I could use some help fully grasping the concept.  To state it simply, why does query A return a result but B doesn't?  A: select 'true' where 3 in (1, 2, 3, null) B: select 'true' where 3 not in (1, 2, null)   This was on SQL Server 2005. I also found that calling set ansi_nulls off causes B to return a result.


I have recently upgraded OS to 14.10 from 14.04. I am facing issue with Flash Plug-ins. My default browser is Chromium but i am not getting suitable plug-ins for this browser.  I tried installing flash using following command but its not working.  sudo apt-get purge flashplugin-installer   This was the error code :-   dpkg: error processing package virtualbox-dkms (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                           Errors were encountered while processing:  virtualbox  virtualbox-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)

I've deleted ~/.macromedia and ~/.adobe contents and after a restart chromium can't detect flash plugin. It works just fine in Firefox  I have only "Chromoting Viewer" on chrome://plugins/  chromium-browser 34.0.1847.116-0ubuntu2 adobe-flashplugin 11.2.202.350-0trusty1   I have profile-sync-daemon active (tried stopping it, of course) and broken PolicyKit as in   Does the detection depend on PolicyKit? What else can I do?


What does the generic type mean for the below source code for java.lang.Enum abstract class:  public abstract class Enum<E extends Enum<E>>     implements Comparable<E>, Serializable {   I suppose E should extend Enum type since it is abstract but source code says that Enum again should be of type<E>.

I thought I understood Java generics pretty well, but then I came across the following in java.lang.Enum:  class Enum<E extends Enum<E>>   Could someone explain how to interpret this type parameter? Bonus points for providing other examples of where a similar type parameter could be used.


When I try to update a specific list in a list of lists, all the lists are updated. Can someone explain how instead only a specific list can be updated? a = [[]]*55  a[0].append(5)

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


I'm using prof Hyndman's fpp2 package in R to generate dynamic regression model with auto.arima. I want to see the R2, but it's not shown in the summary output. Just wonder it's not an important metric in dynamic regression? is it possible to quickly generate it?  thank you all.

If I have an arima object like a:  set.seed(100) x1 <- cumsum(runif(100)) x2 <- c(rnorm(25, 20), rep(0, 75)) x3 <- x1 + x2  dummy = c(rep(1, 25), rep(0, 75))  a <- arima(x3, order=c(0, 1, 0), xreg=dummy) print(a)   .  Series: x3  ARIMA(0,1,0)                      Call: arima(x = x3, order = c(0, 1, 0), xreg = dummy)   Coefficients:         dummy       17.7665 s.e.   1.1434  sigma^2 estimated as 1.307:  log likelihood = -153.74 AIC = 311.48   AICc = 311.6   BIC = 316.67   How do calculate the R squared of this regression?


I was just playing around with one-hot representations of features and thought of the following:  Say that we're having 4 categories for a given feature (e.g. fruit) {Apple, Orange, Pear, Melon}. In this case the one-hot encoding would yield:  Apple:  [1 0 0 0] Orange: [0 1 0 0] Pear:   [0 0 1 0] Melon:  [0 0 0 1]   The above means that we quadruple the feature space as we go from having one feature to having four.  This looks like it's wasting a few bits, as we can represent 4 values with $\log_{2}4=2$ bits/features:  Apple:  [0 0] Orange: [0 1] Pear:   [1 0] Melon:  [1 1]   Would there be a problem with this representation in any of the most common machine learning models?

I am currently reading an introductory machine learning book by Daumé () and when discussing the mapping of categorical features with "n" possible values into "n" binary indicator features, the following question is proposed:     Is it a good idea to map a categorical feature with n values to log2(n) binary features?   Why wouldn't that be the case, seeing as how much resources could be spared by working with fewer features? Does this approach depend on the model that is being used?


I can find the value of $\cos \left(\frac{ \pi}{5}\right)$, but is there a way to prove the equality without finding it?  I tried looking for both algebraic and geometric methods, but couldn't find anything

How do we prove $\cos(\pi/5) - \cos(2\pi/5) = 0.5$ without using a calculator.  Related question: how do we prove that $\cos(\pi/5)\cos(2\pi/5) = 0.25$, also without using a calculator


I have a Random Forest model for a dataset with 3 features:  rf = RandomForestRegressor(n_estimators=10) rf.fit(X, y)   If I look at the importance of each feature I get:  rf.feature_importances_  > array([ 0.45453475,  0.23246138,  0.31300387])   I know that feature 1 is the most important but how do I interpret these results exactly?  Could I say, for example, that 45% of the variability of the model is explained by feature 1?

Can I interpret the importance scores obtained from Random forest model similar to the Betas from Linear Regression?  For example, if I have an equation  $$ y=\alpha +\beta_1X_1 + \beta_2X_2,$$  a 1 unit change in $X_1$ is associated with a $\beta_1$ unit change in $y$. Does a similar analogy hold for Importance score?