Using Google Translate on output of Stack Overflow instead of proposing language specific Stack Overflow clones?

Related to the question , I wonder if it wouldn't , to instead of re-creating Stack Overflow sites in other languages   with duplicate content of Stack Overflow in the best case, and original content that would be helpful at Stack Overflow but won't be posted there then in the worst case,  offer translations of Stack Overflow? My idea would be, you start off with a  result (which is probably not that great but enough to help) as a separate database and ask users to improve the translation by editing, maybe rewarding good translations as an incentive1. One important requirement would however be that new questions/answers were translated back to English so that the entire international Stack Overflow-conglomerate could still benefit from them without Secession.  1) Something more than the 2 rep for suggested edits might be adequate. I don't know if upvoting on translations made a nice option, the feature-request  is still open...


Useful information for a self made DnD gamemaster screen

I am currently working on a hand-crafted gamemaster screen made out of wood for a good friend of mine. I am planning on not using the DnD 5e "orignal" GM Screen as inlay, but creating a unique layout. Since I am not that well versed in D&D I am now wondering which information would be good and useful for the DM that might be needed during campaigns.  I was also thinking of adding some blank boxes with headings, where the DM might write some Information that is useful for him depending on the campaign (this would of course be erasable since I am going to foil the inlay to be then written on with whiteboard markers).  Any suggestions for the pre-written information and the blank boxes to be written on are very appreciated.  Also any additional advice or ideas are very welcome.


Security concerns when importing class libraries

When importing class libraries in Java if you use a wildcard (i.e. java.util.*) does this create security concerns since there are probably a bunch of libraries that are invoked that are not going to be used? Also will this slow down your program during execution? If not why don't we just always import every class?


Is it posible to bind to a method in WPF?   If the answer is yes please give an example to demonstrate.  Thanks.


I am using a ua741 op-amp. My question is, how can I use a potentiometer to null the output offset voltage?  I believe if I'm correct, that output offset voltage means the output voltage provided by the op-amp even though no input voltage is connected. But I don't get how you can use a resistor to null the offset voltage.


Ubuntu 13.10 won't boot and hangs on a black screen

I installed Ubuntu 13.10 64-bit today and I sat on the internet most of the day after installation. I shut the computer down and went bowling with my family. When I came back, I turned on my computer and it came to the boot screen as usual, but then the screen went black and stayed black. Can this be solved or do I have to install Ubuntu 13.04. My dad does not know about this and I do not want to get yelled at for an hour, so I need an answer before midnight mountain time, otherwise I will install Ubuntu 13.04 so I won't get yelled at in the morning.


Exception in thread main java.lang.ΝullPointerException

Hello im making a programm and when i run it,it shows me this message:exception in thread main java.lang.nullpointerexception at FileReader.readfile(TestFiles.java:53) at TestFiles.main(TestFiles.java:240)  So here is where the problem seems to be in my programm  class FileReader {  private String path;  private File object;  private Scanner inputReader;  private String Line;  public FileReader(String path)  {     this.path=path;   }  public boolean initReader()  {     object = new File(path);     Scanner inputReader = null;      try     {         inputReader = new Scanner(new FileInputStream("universities.txt"));     }     catch(FileNotFoundException e)     {         System.out.println("File universities.txt was not found");         System.exit(0);     }      if (object.exists())     {         return true;      }else     {         return false;     } }  public ArrayList<String> readFile() {        ArrayList<String> myList = new ArrayList<String>();           while(inputReader.hasNextLine()); //here is the line:53             myList.add(Line);          myList.remove(0);             return myList; } public void closeReader() {     inputReader.close(); }   }  and the main is here   public class TestFiles   {    public static void main(String[] args)    {     FileReader reader = new FileReader("universities.txt");         if(reader.initReader()){             FileEditor editor = new FileEditor(reader.readFile()); //here is the line 240             reader.closeReader();             editor.fillHashMap();             FileWriter writer = new FileWriter("universities_2015_output.txt");             if(writer.initWriter()){                 writer.writeFile(editor.getScoresOfYear(2015));                 writer.closeWriter();         }         else{             System.out.println("Error creating file");         }         System.out.println("Average university score of year 2015: "+editor.getAverageOfYear(2015));         System.out.println("Min university score of year 2015: "+editor.getMinOfYear(2015));         System.out.println("Max university score of year 2015: "+editor.getMaxOfYear(2015));     }     else{         System.out.println("Error opening file");     } }   }  i already read for this problem and i think that my problem is  on the inputreader which shows null. Any idea will be helpfull.I must complete this programm in this week so i need your help to finish it. Thank you


Definition: A metric space $(X,d)$ is said to be compact iff every sequence admits a convergent subsequence.   I am having trouble with the following result:     Let $(X,d)$ be a compact metric space. Then $(X,d)$ is both complete and bounded.   So far I have been able to prove that $(X,d)$ is complete as follows.  If $X$ is compact, then every sequence $x_{n}\in X$ admits a convergent subsequence.  In particular, if $x_{n}$ is Cauchy, then it admits a convergence subsequence, which makes it convergent as well.  What concerns me is the second part. How do we prove that it is bounded?  Could someone help me with this?


What's the 1 inch square knob sticking out of the wall?

I noticed there is a square knob sticking out of my basement wall. Does anyone know what this is?


Windows 7, can I mirror directories when I got one HHD? (like RAID)

In Windows 7, lets say I have a "works" directory which containts my work, personal etc information. I want to use a program which always checks the disk and make mirror(s) of this directory. Something like a RAID technology. How can I do that? Thats important, I have now bad sectors....


Windows 10 tries to login with the local user instead of Microsoft account

Background for the story: I had created a local Windows user on my laptop, lets say dummyuser. Later on I connected that local user with the Microsoft account dummyuser@outlook.com.  I want to login to Windows directly without specifying any password. But because it is a microsoft account, I need to have the password set. I overcame this issue by removing "users must enter password to use this computer".    Which kind of works, but the issues is that Windows tries to login with the local user dummyuser, not dummyuser@outlook.com and thus complains about that the password is wrong.  How can I make Windows to start using the microsoft account to login? Also checking the User Profiles shows only one User profile (Control Panel\User Accounts\User Accounts)


How to apply lens polynomial distortion to an image

I have seen in the internet that it can be done using the Movie Clip Editor. So I import an image and introduce the parameters needed, but for some reason nothing happens and distortion does not apply. Is this happening because I should be using a clip instead of a picture or am I missing something? Maybe render again somehow? Looks like distortion applies on the grid when it is displayed though.  Here some pictures of my environment configuration:        Thanks


Can I use an extra attack when using war magic for a bonus attack?

I’m nearly level 7 as an Eldritch knight. Because of that, I’m planning how to do the most damage as I can to defeat a very threatening and greedy party member so obviously being an Eldritch knight will probably help in this situation.   I’m planning out a move that uses a combination of my extra attack I got from level 5 as a fighter, and my action surge from level 2. If I was level 7 though, I would get to use war magic which states that I can use a cantrip and still have the ability to attack as a bonus action. I just don’t know if my extra attack applies to that bonus attack. Can anyone help me out here?


Is there any way to make the Ubuntu Dash a 'start-up application'?

My desktop is pretty blank and I'd much rather have the useful Dash come up on start-up, is this possible? Surely there is a command that is executed internally when I press the Dash Home button? What is this?


W: Problem unlinking the file lists - Clean (21: Is a directory) Error when running 'sudo apt-get update'

I started seeing this error msg     W: Problem unlinking the file lists - Clean (21: Is a directory)  whenever I tried to update using apt.  I have already tried sudo apt-get autoremove && sudo apt-get clean && sudo apt-get  autoclean  but still the problem persists.  Need help pls. I'm running Ubuntu 16.04.1 64-bit


Automatically switching output audio device on 14.04

I'm using Ubuntu 14.04 and I recently bought a . I want Ubuntu to automatically switch audio output to this device when I plug it in as opposed to me having to manually set it every time. Is there any way to do this? Thanks.


Bash interpreting special character within single quotes

Ran into some unexpected but interesting behavior. I was doing a somewhat complex execution when I ran into a situation that from my understanding of how Bash handles characters shouldn't have happened. Smaller example of issue: $ arr=( "$(echo '1 && !/==/')" ) -bash: !/=: event not found  What is going on here? To my understanding, the single quotes should force Bash to interpret all the characters literally without doing any type of expansion. Using Bash 4.1.2. EDIT: Simplified question for reproduction.


How is it possible that SI units allow us to write $F=ma$ without an extra constant?

This question follows off the other question posted here:   I hear that when writing $F = kma$ we can always set $k$ to be $1$. How is that possible?  I think the confusing part is where the newton, along with the kilogram and $\mathrm{m/s^2}$, which are the units which are widely used in the scientific world, just so happen to be the exact units that allow for $k$ to be $1$, and not $2.1$, $3.6$, $9992$, etc. Why is this so conveniently possible?   Please note, I am not asking why it is $F=ma$ and not $F=kma$ assuming that $k=1$.


Could you clarify when to use "Though" at the end of a sentence?

Ok, English textbooks mostly teach the structure "Although / though", for example,   Although my wife and I are so busy,we spend time together every weekend.  Anne was fond of Tim, though he often annoyed her.    However, in reality, I heard a lot of people use "though" at the end of a sentence. So, I checked the dictionary & found that "Although" & "Though" in the above examples are conjunction. But, from , "Though" is used especially at the end of a sentence to add a fact or an opinion that makes the previous statement less strong or less important Example:  Our team lost. It was a good game though.  But, for me, It seems that "Though" that is used at the end of a sentence is more popular than "Though" that is used at the start of a sentence.


Set of open intervals in R with rational endpoints is a basis for standard topology on R

Show that the set $\mathcal{B} = \{(a,b) \subset \mathbb{R}: a,b \in \mathbb{Q}\}$ is a basis for the standard topology on $\mathbb{R}$   First I'll show that $\mathcal{B}$ is a basis on $\mathbb{R}$ and then i'll do a fineness comparison via bases:     1) Since $\cup_{p,q \in \mathbb{Q}\;for \;p < q}(p,q) = \mathbb{R}$, $\mathcal{B}$ covers $\mathbb{R}$. Since the intersection of open intervals is an open interval, every point in the intersection of two open intervals is contained in an open subinterval. Thus, $\mathcal{B}$ is a basis for some toplology $\tau$ on $\mathbb{R}$.2) Let$\;\mathcal{B_{stand}}\;$be the standard basis for the standard topology $\tau_{stand}$ on $\mathbb{R}$. Let $(p, q)\in \mathcal{B}$. Since $\cup_{x \in \mathbb{R},\;x > p} (x,q) = (p,q)$, every basis element in $\mathcal{B}$ can be written as the union of basis elements in $\mathcal{B_{stand}}$. Thus, $\tau_{stand}$ is finer than $\tau$.Let $(x, y)\in \mathcal{B}$. Since $\cup_{p,q \in \mathbb{Q}, \;x< p< q < y\;} (p,q) = (x,y)$, every basis element in $\mathcal{B_{stand}}$ can be written as the union of basis elements in $\mathcal{B}$. Thus, $\tau$ is finer than $\tau_{stand}$.$\therefore\;$ $\mathcal{B} = \{(a,b) \subset \mathbb{R}: a,b \in \mathbb{Q}\}$ is a basis for the standard topology on $\mathbb{R}$   Feedback on my proof and alternative ways to solve the problem would be appreciated. (I also found a post where someone asked the same question, but I'm looking for  proof verification/alternative proofs so I'm not sure what the protocol is.)


"Temporarily unreachable" when using fetch as Googlebot from Webmasters Tools

The page I'm trying to fetch is public.  The server logs show no request.  Google reports that any page on my site is "Temporarily unreachable". It won't even fetch the verification file, a static HTML file that was successfully used to verify with the webmaster tool application itself.   My site is running on the .  What is causing this?


I cannot find the JavaScript equivalent of PHP array_keys() / array_values(). For people unfamiliar with PHP given the following JavaScript hash: var myHash = {"apples": 3, "oranges": 4, "bananas": 42}  How can I get an array of keys, i.e., ["apples", "oranges", "bananas"]  The same question with the values, i.e., [3, 4, 42]  jQuery can be used.


I am learning Scripting, I came across this script   #!/bin/bash  A=`awk '{print $2}' /etc/fstab | grep -i "^/" | egrep -v '/etc/fstab|proc|sys|shm|pts'`  for i in $A; do grep "$i" /proc/mounts > /dev/null     if [ $? -eq 0 ]; then         echo $i "TRUE"     else         echo $i "FALSE"     fi done   Is there way to send  an email with the list of mounts which are Not mounted. Like if False, send an email   Thank you


Jquery appended item click function not working

Ok so I have a button that when someone clicks it appends some info to a section.   like so:  function() {   $(".blend-tile").click(function() {      $(this).hide();     var li = $('

X

');     $('#mixers').append(li);     $('.tpic', this).clone(true, true).contents().appendTo(li.find('.color-img'));     $('.infora', this).clone(true, true).contents().appendTo(li.find('.infora'));     if ($('#mixers li').length === 6) {       $(".tiles").hide();       $(".nomore").show();     }   }); });   Which is all good work's fine.  But I also want all of this to remove() when I click
X
.  and for that I am using:  $(function() {   $(".clear-tile").click(function() {     $(this).parent().remove();   }); });   But nothing happens no error nothing.  I also have similar function's in my file that use remove() and such which work fine. It's just anything that I try to trigger from .clear-tile just doesn't work at all.  I have a feeling it's down to me appending it but I'm not sure any help would be much appreciated


I have a flashdisk drive that can't mount or backup, but when I check with lsusb that flashdisk is detected:  ➜  ~ lsusb         Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 0930:6544 Toshiba Corp. TransMemory-Mini / Kingston DataTraveler 2.0 Stick (2GB) Bus 001 Device 003: ID 1bcf:2c18 Sunplus Innovation Technology Inc.  Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   But, if it is detected then  why doesn't my flashdisk exist in /dev/sdb? Does anyone know what happened to my flashdisk?   ➜  ~ sudo fdisk -l Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x00094cd3  Device     Boot     Start       End   Sectors   Size Id Type /dev/sda1  *         2048 195311615 195309568  93,1G 83 Linux /dev/sda2       195313662 199311359   3997698   1,9G  5 Extended /dev/sda3       199313408 942567423 743254016 354,4G 83 Linux /dev/sda4       942569472 976773167  34203696  16,3G 83 Linux /dev/sda5       195313664 199311359   3997696   1,9G 82 Linux swap / Solaris  Partition 2 does not start on physical sector boundary. Partition table entries are not in disk order.  ➜  ~ sudo parted -l Model: ATA WDC WD5000LPVT-2 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Disk Flags:   Number  Start   End    Size    Type      File system     Flags  1      1049kB  100GB  100GB   primary   ext4            boot  2      100GB   102GB  2047MB  extended  5      100GB   102GB  2047MB  logical   linux-swap(v1)  3      102GB   483GB  381GB   primary   ext4  4      483GB   500GB  17,5GB  primary   ext4  ➜  ~ lsblk NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 465,8G  0 disk  ├─sda1   8:1    0  93,1G  0 part / ├─sda2   8:2    0     1K  0 part  ├─sda3   8:3    0 354,4G  0 part /media/agaust/Data ├─sda4   8:4    0  16,3G  0 part  └─sda5   8:5    0   1,9G  0 part [SWAP] sr0     11:0    1  1024M  0 rom    I also tried to check it via Disks:


Windows 10 reporting wrong hard disk free space

I have an external hard disk, and for some reason, it is reporting wrong free space.  In Windows Explorer, it is showing the used space is 378 GB.    I tried running chkdsk H: /f /r, it seems to report the same usage as Windows Explorer, and it says that there is no problem.    But when I tried selecting all the files inside this drive, it is showing much lesser usage.    I've already set the setting to show all hidden files and folders, also show the protected OS files, but it still cannot find about those missing files. And the difference is huge (282 GB). I've already cleaned the Recycle bin as well.    What I am missing here and how do I identify those missing spaces?  [UPDATE]: I used  to help identify and it seems to find some gigantic files, of which filename is quite weird. Anyone knows what this is and is it safe to delete?


Does there exist a continuous function f : R → R that takes every real value exactly twice?  What is the meaning of taking  value exactly twice?


How can I fix Chrome to minimize into the Unity launcher?

Chrome, for the life of me won't minimize into the launcher. Every time I minimize it it goes away never to be seen again. This is a pain to have to deal with.   How can I fix it?  I was using the latest dev edition of Chrome.


Why does this schottky diode have three pins

I'm just wondering why this schottky diode have three pins?   I know two of the pins acts like rectifier but what does the a third pin do?  Source:


Bash: Special variables $@ vs. $* in For Loop

Using $@  instead of $* would preserve quoting. Consider the following script:  #!/bin/bash # Test.sh for arg in $@ do echo "I found the argument $arg" done  ./Test.sh "One Two Three"   I reach the output below:  I found the argument One I found the argument Two I found the argument Three   I don't understand why the For loop is executed three times?!


What is the official 'name' for the 'there is' / 'there are' construction? Is it a verb phrase or a lexical verb?  I'd say possibly a verb but it must be the most difficult term to Google.


With \setbeamercovered{transparent} covered parts of a slide are displayed transparently. If there is a (small) picture among the text, it is shown as it is. Beamer has only this picture, so it shows this picture. My question: How can I give a gray version of the picture to beamer such that in covered parts of a slide, this gray version is used?


How do I find the limit of this function:  $$L=\lim_{n\to\infty} \dfrac{x^n}{n!}$$  for any real $x$?  I tried using the sandwich theorem but couldn't reach the proper inequality.


Why didn't the team wake up from the multi-level kick?

In the movie, there's one scene that seems very strange to me.  First, the point:  When the team gets in the first level, they find out that Fischer has a militarized subconscious. After they freak out, and argue about it, they also find out that they can't die, otherwise they'd get stuck in limbo.  So, when Eames says that he won't go further, Cobb states that, since the first level sedative will last a week they would be killed. They needed to go on to the next levels as fast as possible, so the combined multi-level kick would make them wake up.  Here's the point: The plan was the multi-level kick would wake them up before the sedative was off     Ariadne: ...is ten years! Who would wanna be stuck in a dream for ten years?   Yusuf: Depends on the dream.    Arthur: So, once we've made the plant, how do we go out? Hope you have something more elegant in mind than shooting me in the head?    Cobb: A kick.    ...   Arthur: Are we going to feel a kick with this kind of sedation?   Yusuf: Well, that's the clever part. I customize the sedative to leave inner ear function unimpaired. That way, however deep the sleep, the sleeper still feels falling, or tipping.     Now, the question:  When they finish the job, they perform the kicks   The van hits the water Arthur detonates the elevator Eames explodes the fortress   But they don't wake up. They are back in the drowned van. So, as far as I could understand, they still had to sit and wait for the first level's week to end.  (We see Fischer talking to his godfather)  Why didn't they wake up with the kicks, as it was planned? And how did they managed not to get killed by Fischer's projections after they got out of the Van?


Let $f$ be a twice differential function on the open interval $(-1,1)$ such that $f(0)=1$. Show that $f'(0) ≥ -\sqrt2$

Q. Let $f$ be a twice differential function on the open interval $(-1,1)$ such that $f(0) = 1$. Suppose $f$ also satisfies $f(x) ≥ 0$, $f'(x) ≤ 0$ and $f″(x) ≤ f(x)$, for all $x ≥ 0$. Show that $f'(0) ≥ -\sqrt{2}$.  My attempt: Since, $f'(x) ≤ 0$ and $f″(x) ≤ f(x)$. So, $f(x)$ is a decreasing and a concave down function. Now, if we draw a tangent to the function at $x=0$, it will always be above the function. Checking the value of ordinate for the tangent and the function at $x=1$, we get: $f'(0) > -1$. But, I am not able to prove $f'(0) ≥ -\sqrt{2}$. Please help me out..


Hair particles rendered as objects using the emitters material for color. Is it possible?

I'm trying to make a stylized soccer field with grass. I have a simple plane with a material that contains a grass texture and soccer field lines. I'm attempting to make my grass with hair particles rendered as objects using the plane as my emitter. I have another simple plane that I want to use as my grass strand object. So far so good. I need the grass strands (hair objects) to get their color from the emitters material, depending on their position, so that the grass particles on top of the field lines are white. This works by default when using hair particles rendered as paths. But not when hair particles are rendered as objects. Is this doable with hair particles rendered as objects? (I don't really care if I have to use Eevee or Cycles)


searching for a certain word in all tables and columns in ORACLE

I am wondering if there is anyway to search for a certain word or phrase in all tables/rows in SQL.   I have tried,   SELECT *  FROM all_tab_cols WHERE column_name LIKE '%WORD%' ;    However, this doesn't bring back what I want.   My desired output would be this query bringing back 'WORD' that is in all tables and all columns and all rows. I know its a very general search which may bring back a lot of data but I need to search for a certain word and have no idea which table/column this word is in.


I recently came across a US phrase, Indian file.  This is utterly unheard of in the UK, and probably outside North America; at least I’ve certainly never heard of it.  The phrase would be expressed in British English as single file.  Why is it called Indian file in the US?  I’m guessing the phrase has something to do with the prevalence of Amerindians, but I can’t see any obvious etymology.


I successfully installed phpmyadmin, via apt-get install phpmyadmin  However I can't find the directory for phpmyadmin, I want it to appear on /var/www/phpmyadmin so that I can use it via URL.  Where is it?  Thanks.


Why does the domain and range of $\sqrt x$ contain only positive real numbers?

Consider the function $f(x)=\sqrt x$.  Pretty much every resource I can find gives its domain as $\{x\in \mathbb{R} \mid x \ge 0\}$ and its range as $\{y\in \mathbb{R} \mid y \ge 0\}$  I don't see why the domain needs to be restricted to positive numbers. Isn't the square root of a negative number defined? That is, the square root of a negative number is a complex number of the form $a + bi$.  So why isn't the domain of $f(x)=\sqrt x$ instead $\{x\in \mathbb{R}\}$ and its range $\{y\in \mathbb{C} \mid y \ge 0\}$?  What am I missing?


Replaced windows 8 with ubuntu. All partitions deleted

I installed Ubuntu using live cd by selecting Replace Windows 8 with Ubuntu. I want to get my data back.My windows partition details:  c: 40GB d: 110GB c: 160GB e: 130GB  So shall I reinstall windows 8 and run some recovery software?


I've received a Microsoft Access .accdb file (version 2010 I believe) that I need to get some data from.  How can I open it in Ubuntu? Is there any tool that would allow me to do so?  PS: Read-only is fine, if it has CSV exporting capabilities, the better.


I do not get notified if a moderator closes my question as a duplicate

I asked , it was closed as duplicate of other question by a moderator, but I wasn't informed about it. This is likely related  in which case I didn't get notified about the canned comment, just that in this case there isn't any comment since moderator vote is binding.  Going by Shog's comment in my other bug:     This is absolutely a bug; I can't think of any good reason to "silently" post comments like this when the whole point is to provide additional information to the author   If I do not get notified about my question being a duplicate how will I check for answers to that question?


I just installed Ubuntu Gnome 15.10. Currently I can connect through Ethernet but I can't through wifi. No proprietary drivers show up either. Any advice?


reports embedded in visualforce not showing

I have a few reports embedded in visualforce page using iFrame. Due to this new release of Spring '14, iFrame has stopped working and now these visualforce pages show blank screens. Can anyone help me with a work around?


Print each number from 1 to 10 on the cleared screen with some time between them

I want to print each number from 1 to 10 on the cleared screen with some time between them. I tried this code: #include <iostream> using namespace std;  int main() {   for(int i = 1; i <= 10; i++)   {     cout << i;     system("cls");     for(int j = 1; j <= 10000000; j++)         continue;   }   return 0; }  But it doesn't work as intended, instead:  How to get what I actually wish? Any help is appreciated.


Where do I put information if I don't have an actual question?

I've been working with two frameworks for asp.net the last 7 months and the information on combining the two are rather sparse (Despite their growing popularity). I realize I could write a blog post, but I want to share my information with this community. How would i do that if I don't have an actual question?


I used Universal-USB-Installer-1.9.6.0 on a lubuntu-15.04-desktop-i386, for my Toshiba Satelite (Windows 7, 2GB RAM, i3-2330m, 2.20 GHz), and when I boot it, it says:  [5.3011431 ACPI PCC probe failed.  starting version 219  error opening USB device 'descriptors' file  ---  BusyBox v1.22.1 (Ubuntu 1:1.22.0-9ubuntu1) built-in shell (ash) Enter 'help' for a list of built-in commands.  ---   (initramfs)Unable to find a medium containing a live file system.   (initramfs)   What does this mean, and what should I do?


Unable to edit CSS style using Javascript

I have an HTML element that looks like this:
…
   Now at some point I need to edit the margin attribute through Javascript. The code looks something like this:   document.getElementsByTagName('div')[3].getElementsByTagName('p')[0].style.margin='0' document.getElementsByTagName('div')[3].getElementsByTagName('p')[0].style.marginLeft = '150px'   However, this isn't working. After I check the value of 'margin' and 'marginLeft' before and after the code, the values remain the same. If I use Google developer tools and manually change the Javascript then the issue is resolved. Can anyone tell me why the code above is not changing the value of the style? I also tried using setAttribute but that did not work either.


After a bit of messing around including doing this:  sudo add-apt-repository ppa:ubuntu-audio-dev/ppa; sudo apt-get update;sudo apt-get dist-upgrade  sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop linux-image-`uname -r` libasound2   sudo apt-get -y --reinstall install linux-sound-base alsa-base alsa-utils gdm ubuntu-desktop linux-image-  uname -r   libasound2; killall pulseaudio; rm -r ~/.pulse*; sudo usermod -aG   cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse-access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr '\n' ',' | sed 's:,$::g'  whoami   no sound works anymore. The sound controller that is normally in the top right of the screen is now also gone.


What's the trick for proving one eigenvalue of orthogonal matrix is $-1$ if the determinant is $-1$?

Obviously, the magnitude of the orthogonal matrix is 1, which is easy to prove.. However, I wonder how can one prove that the eigenvalue of an orthogonal matrix is $-1$, if the determinant of this matrix is $-1$?  Thanks a lot.  Thanks for the help that I can prove it now from the conjugate pairs point of view.  Is there a method by proving that $\det(I+A)=0$?


I noticed that when I right click manually on an index and choose "Rebuild" or "Reorganize", its not giving any indication that its doing so, then I click on properties again for the same index, I see the fragmentation level is still at the same percentage even after refreshing!  Am I missing something?  I'm using the SQL Server 2008 R2 Standard edition  Thanks in advance


I have filled up my limit break. How exciting! Flashy colors! I can now deal serious damage! Wow!    ...but I'd rather not use it on that enemy that would go down regardless. In particular the menu screen speaks about multiple "limit break levels," so it seems that it should be possible to save those up for boss fights and rainy days.  What can I do to not use up my limit now?


What is the python syntax to tell if a string only contains numbers?

I think this should be fairly simple but can't seem to figure it out.  I just need the python syntax to find if a string contains only numbers.  so it would find: '8888' or '1' or '126928428'  but not: 'Test' or 'Test8'  I searching for it in a for loop that is pulling info off a webpage with BeautifulSoup.  203.195.237.158	8888	CN	China	Socks5	   Basically I am trying to pull the ip and port out of a long string of these.


Why does reversing the string in Python via slicing works this way?

I am trying to write my own version of the reversed() function and I don't quite understand how the suggested solution works.  a="sample string" # my solution reversed_a=a[len(a):-1:-1]   #suggested solution reversed_a=[::-1]    Shouldn't [::] mean [0:len(a)]? If so, how does it work then? I though it would go from 0 to len(a) with a step of -1 and raise an exception due to the negative index value.


Let $A$ and $B$ be two invertible $n\times n$ real matrices. Assume that $A+B$ is invertible. Show that $A^{-1} + B^{-1}$ is also invertible.


Extraneous semicolon on failed review audits

Doing some close vote reviews today, I came across an audit question that I (arguably) failed. While looking over the question, I noticed an extraneous semicolon in the "STOP!" box at the very end.


Website Screenshot in Photoshop Perspective

I'm web-developer and i decided to create my portfolio. So I need to create all my websites as images in perspective like on the following example.     I have knowledge of Photoshop, but I cant create what I need with good quality so please help. If it is done in other software and not in Photoshop, please give me the name of that software.  I need not only the perspective angles, but i also want good quality of images.


Send email through Gmail under Administrator Profile

We are using Lightning Experience. We have a single user license and it has the administrator profile. We want to send emails through Gmail.   We have completed the setup following these instructions from ()   From Setup, in the Quick Find box, enter Send through External Email Services, and then select Send through External Email Services. Select either Send through Gmail or Send through Office 365. From Setup, enter Deliverability in the Quick Find box, then select Deliverability under Email.  Set the access level for sending email to All email.   We are still unable to send emails via Gmail. All emails are still going from salesforce.  It appears that there is another step involved at a user level () When the user tries to send the next email, an option to select the option should appear. We don't see that.   Also, we don't think "Send Email Through Email Relay" is relevant in this case. That's for companies with their own domain/SMTP servers, etc.   Appreciate any pointers you can provide.   Thanks!


What software can this kind of graph be drawn on?

I am a graduate student freshman.I am reading some papers. I want to know what software this kind of graph is drawn in? Can someone tell me? Thanks.


Mixing AND and OR filters -- how to make it more clear and less confusing?

I am working on the  Hotel Search App , where  I let the user filter Hotels by facilities.  Most filters are "AND-filters" but some have to be "OR". For instance, someone may want "wifi" and someone specifically "wired internet". But if I click on both, I am most likely looking at one of those options (the "OR-filter"). Another example is "ocean view" and "mountain view" - I am more likely to look for one of those options than both at the same time.  My question is - how present these "OR-filters" inside "AND-filter categories" in the UI as clear as possible, without confusing the user? Or should they be avoided? Or hidden?  Here is a screenshot of how it is currently done:    My worry is that the small "OR" between the buttons can be easily missed or misunderstood.  Many thanks!


Book about aliens arriving in an old country; people capture their spaceship and arrive at alien's planet

I'm searching for a science-fiction book set in the quite an old time: around the 15th-16th century. Features aliens arriving in a spaceship to an old country: likely a western country from what I remember.  Here are the details that I can remember:   Read the book during 2005-2008. Definitely not published during that time based on the writing style: I will hazard a guess at around 1960-1980 publication.  Story begins where there's some sort of military rally and an alien spaceship lands in this old country. The aliens attempt to kill the people there but are overpowered and killed. I believe 1-2 aliens were kept as prisoners. People board (capture) the ship and use it to travel to the alien's base seemingly reach there. They talk to the aliens and have a treaty whereby the aliens also have to serve in the (people's) country's military force to win a war.  Not long after one of the alien's bases are bombed and the spaceship is destroyed, leaving the people trapped on the alien's country.    I'm pretty sure the ending is where a few years later, the people trapped on that planet manage to get back home.   One interesting part to note: when the people captured the spaceship they named it. I can't remember the name but it likely has an '-ade' at the back. Something like 'Invade' along the line.   I just remembered reading the book recently after reading 'War of the Worlds' - another alien scifi book; any help is appreciated!


No more updates for Google Chrome 32-bit

I am using Google Chrome 48.0 32-bit. Today when I launched Google Chrome, I got this message:    This computer will soon stop receiving Google Chrome updates because this Linux system will no longer be supported   I thought Ubuntu 14.04 is supported for five years, what's exactly happening here?  And on 64-bit Ubuntu, I get an error from Update Manager and apt-get update:  Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)   Some index files failed to download.   They have been ignored, or old ones used instead.


Gedit has a transparent background since upgrade to 16.10

Since I upgraded to from 16.04 to 16.10, gedit has strange new "feature": its background is totally transparent.    Where can this come from ?  Notice I'm using Unity and don't have any specific gnome package installed besides what comes by default. Notice also that in 16.04 I used the Vivacious theme from ravefinity PPA, but I had to go back to Ambiance as Vivacious was broken in 16.10. Maybe it's related.  [EDIT] changing the 'Fonts and Colors' in gedit to any theme other than default (Kate, Solarized, Oblivion, etc..) solves the issue. So there must be a faulty gtksourview file in my home somewhare, but I can't find it...


How do I move a blend file and its textures to a different PC?

I created an Architecture model and want move it to a other PC. But the blend file cant find my textures once it's moved.  If I create a texture folder and insert the new path, it shows the textures but without normals and roughness because I'm insert new paths for it too.   What is best way to solve this problem?


NullPointerException when trying to color the JTABLE row

I get:  Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException    ..at the line of getting the value of row:   String ENTRY = (String) table.getModel().getValueAt(row, 2)`   This is the code:   tab.setDefaultRenderer(Object.class, new DefaultTableCellRenderer() {             @Override public Component getTableCellRendererComponent(JTable table,        Object value, boolean isSelected, boolean hasFocus, int row, int col) {  Super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, col);  String ENTRY = table.getModel().getValueAt(row,2).toString();                   if (!ENTRY.equals("active")) {                     setBackground(Color.GREEN);                 }                 return this;             }         });`


I posted this question on stack.exchange but was recommended to move here. I am developing model predictions using pls and h2o packages which lead to 2 models: pls.model and h2o.model. The R-square (square of pearson correlation) and RMSE for each round of cross-validation are shown below:  R2:  i     R2.PLS     R2.H2O 1   1 0.4415108 0.6232292 2   2 0.3754088 0.6056992 3   3 0.4267580 0.6204750 4   4 0.3505282 0.6062691 5   5 0.2870766 0.5344183 6   6 0.3858786 0.5794828 7   7 0.3449946 0.5692314 8   8 0.2974582 0.5522208 9   9 0.3446449 0.5694339 10 10 0.3987684 0.5561757   RMSE:  i  rmse.pls rmse.h2o 1   1  8.839967 40.99896 2   2  9.347349 29.94260 3   3  4.240366 14.75890 4   4 17.901563 29.89181 5   5  4.686803 66.04993 6   6 31.717909 10.28799 7   7  2.066342 32.74828 8   8 15.979214 21.05928 9   9 19.454079 10.88551 10 10 27.039400 68.27017   I am unable to explain why pls.model has lower R2 but lower error while h2o.model has higher R2 but high error. I checked the scatter plot but no non-linear pattern appear. Would you have any thought of this? And in this case, what should be the better model?  Thanks Phuong


Is "thru" for "through" acceptable? "Tho" for "though"?

I've been told that in American English, sometimes words ending in -ough are written -u: for example thru instead of through.   Is this correct English, or is it simply a common error? If it is correct, what are the rules for this spelling?


I have spent quite a few hours researching how to do this, but still cannot understand how to add a missing .sty file on my linux mint machine.   I have installed texlive by:  sudo apt install texlive-latex-base   I then tried to compile my .tex document:  pdflatex filename.tex   I got the error message that the endfloat.sty is missing.  So I tried to install it, by first trying to find where my sty files are:  whereis texlive   which returns /usr/share/texlive , then after a bit of searching I found the other .sty files are in their own directories within /usr/share/texlive/texmf-dist/tex/latex.  I tried to make a path then to put my missing .sty file in using the sudo command:  sudo mkdir endfloat   which made the directory   /usr/share/texlive/texmf-dist/tex/latex/endfloat   I changed into that directory, and then did   sudo wget https://mirror.hmc.edu/ctan/obsolete/macros/latex209/contrib/misc/endfloat.sty   But when I reran:  pdflatex filename.tex   Still it did not compile because it says the .sty file is missing.


Differences between two sentences (Any vs All Possible)

Considering the following two sentences, is there a difference between them? If so, do "all possible" and "any" make the difference?   Note, serializable and serial schedules are two different types of schedules in distributed database systems. However, the word "equivalent" here means that they give the same results when executing a set of transactions. For example, given that a is a serializable schedule and b is serial. They are equivalent if they execute the same set of transactions and give the same results.         "A serializable schedule ensures that the execution of n   transactions is equivalent to all possible serial schedules of   the same n transactions."   "Formally, a schedule S of n transactions is serializable if it is   equivalent to any serial schedule of the same n transactions"      In other words, can I say that the meaning of the former sentence is different than the latter one?  Thanks!


16.04 LTS upgrade alert- How to handle it?

I am running Ubuntu 14.04 LTS. Today when I logged into my computer I got an update alert saying that I could upgrade to Ubuntu 16.04 LTS. The other options were not now or do not upgrade. If I chose to upgrade will it delete my /home directories and the installed software under /opt and /usr/local ?


After installing Steam in Ubuntu 15.04 x64 it won't start.   After trying this command in terminal steam I get this output:    Running Steam on ubuntu 15.04 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0_client) libGL error: unable to load driver: radeonsi_dri.so libGL error: driver pointer missing libGL error: failed to load driver: radeonsi libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast   And also steam --reset command gave this output:   mv: cannot stat ‘/home/[USER]/.steam/registry.vdf’: No such file or directory Installing bootstrap /home/[USER]/.local/share/Steam/bootstrap.tar.xz Reset complete!   I tried this and nothing else. I have AMD graphic card with Xorg drivers.


Eigenvalue and singular value of a matrix

Let $A$ be a matrix.  Let $\sigma_{\text{min}}(A)$ be the minimal singular value of $A$, and $\lambda_{\text{min}}(A)$ be the minimal eigenvalue of $A$.  Show we have this inequality :  $$\sigma_{\text{min}}(A) < |\lambda_{\text{min}}(A)|$$


I want to make a web GIS system. I will be graduating in 3 months and have time on my hands before going for interviews. if i can build something then i can show it off in the interviews and hopefully make me stand out.  However how do i go about this with zero budget but i have lots of public data from university?


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?


Is it possible to use a windows install to get compatibility for apps in linux

Is it possible to use a windows install on a hard disk or something (windows 8) to get required data to run windows apps on linux (kubuntu 18.10) somewhat natively? Wine does not work fully for my needs, i want to add, if anything, the propriety stuff from windows into it.


I have 4 columns of links as list items, and each link turns bold on hover. When you hover over one of the links to make it bold, it also increases the column width and pushes over the subsequent columns. How can I prevent it from pushing the other columns over on hover?  Here’s the site:   HTML:

Greenwich Village Apartment

Lower East Side Apartment Combination

Tribeca Apartment Combination

   CSS:  .projects-list {     display: inline-block;     list-style-type: none;     margin-left: -30px;     padding-right: 10px;     vertical-align:top;   } #projects-list li:hover {   font-weight: 600; }


I've been trying to prove Cramer's rule, which states that for an $n \times n$ invertible matrix $A$, the value of $\vec{x}$ in the equation $A\vec{x} = \vec{b}$, where $\vec{x}$ and $\vec{b}$ are vectors in $\mathbb{R}^{n\times1}$, is given by a vector that consists of $\frac{\displaystyle{detB_{n}}}{\displaystyle{detA}}$ where  $B_{n}$ represents a matrix where the $n^{th}$ column of $A$ is replaced by the vector $\vec{b}$. I started by proving this for $2 \times 2$  matrices. I defined a $2\times2$ matrix with the arbitrary constants $a_1$, $a_2$, $a_3$, and $a_4$, which I then multiplied with a vector $\vec{x}$, and set the product equal to the vector $\vec{b}$, which consisted of arbitrary constants $b_1$, and $b_2$. Solving this system using elimination did end up yielding Cramer's rule. However, I'm not sure where to go from here. Obviously the larger the matrices get, the harder it will be to compute $\vec{x}$ by elimination, and I think there must be a better way to approach this. I've thought about using induction somehow, but I don't know how that would work in this situation.


Cruise ship in the Schengen area: Do the days spent at sea count toward the limit for short visits?

I am planning on spending 90 days in Schengen zone countries.  I will be taking a cruise between Lisbon and Barcelona.  Do the days at sea count against the 90 days allowed for staying in the Schengen zone?


I have used a double-paged template and it currently creates a blank page such that the new chapter always begins on the left side. However, my report is quite small and I would like to remove these blank pages. How do I do that?  A MWE:  \documentclass[10pt,twoside,b5paper,showtrims]{memoir}   % Stock and paper layout \showtrimsoff \pagebv \setlrmarginsandblock{26mm}{20mm}{*} \setulmarginsandblock{35mm}{30mm}{*} \setheadfoot{8mm}{10mm} \setlength{\headsep}{7mm} \setlength{\marginparwidth}{18mm} \setlength{\marginparsep}{2mm}   \checkandfixthelayout                 % Check if errors! \sideparmargin{outer}                 % Put sidemargins in outer position   % Chapterstyle \makeatletter \makechapterstyle{mychapterstyle}{     \chapterstyle{default}     \def\format{\normalfont\sffamily}      \setlength\beforechapskip{0mm}      \renewcommand*{\chapnamefont}{\format\LARGE}     \renewcommand*{\chapnumfont}{\format\fontsize{40}{40}\selectfont}     \renewcommand*{\chaptitlefont}{\format\fontsize{32}{32}\selectfont}         \setlength\midchapskip{1ex}      \renewcommand*{\printchaptertitle}[1]{\raggedleft \chaptitlefont ##1}     \renewcommand*{\afterchaptertitle}{\vskip0.5\onelineskip \hrule \vskip1.3\onelineskip}  } \makeatother \chapterstyle{mychapterstyle}  % Header and footer \def\hffont{\sffamily\small} \makepagestyle{myruled} \makeheadrule{myruled}{\textwidth}{\normalrulethickness} \makeevenhead{myruled}{\hffont\thepage}{}{\hffont\leftmark} \makeoddhead{myruled}{\hffont\rightmark}{}{\hffont\thepage} \makeevenfoot{myruled}{}{}{} \makeoddfoot{myruled}{}{}{} \makepsmarks{myruled}{     \nouppercaseheads     \createmark{chapter}{both}{shownumber}{}{\space}     \createmark{section}{right}{shownumber}{}{\space}     \createplainmark{toc}{both}{\contentsname}     \createplainmark{lof}{both}{\listfigurename}     \createplainmark{lot}{both}{\listtablename}     \createplainmark{bib}{both}{\bibname}     \createplainmark{index}{both}{\indexname}     \createplainmark{glossary}{both}{\glossaryname} } \pagestyle{myruled} \copypagestyle{cleared}{myruled}      % When \cleardoublepage, use myruled instead of empty \makeevenhead{cleared}{\hffont\thepage}{}{} % Remove leftmark on cleared pages  \makeevenfoot{plain}{}{}{}            % No page number on plain even pages (chapter begin) \makeoddfoot{plain}{}{}{}             % No page number on plain odd pages (chapter begin)  %  \begin{document} % \chapter{Discussion} \chapter{Modelling}  \end{document}


Is"That the messages are written in simplified Chinese...confirm that the intended audience is Chinese tourists." correct?

Methinks the sentence does not sound natural. I also think that there should be confirms instead of confirm ():     That the messages are written in simplified Chinese—Hong Kongers use traditional Chinese—confirm that the intended audience is Chinese tourists.   I would rewrite it by changing the word order:     That the messages are written in simplified Chinese—Hong Kongers use traditional Chinese—confirms that Chinese tourists are the intended audience.   Other than confirm, is the original sentence correct with regards to the word order? Does the rewritten sentence sound more natural to you?Is it correct? If not, how would you rewrite it?


How to keep player in the center of the screen but let him move to the edge of the map without moving camera there?

In my rpg-styled (top-down perspective) 2d game, I want my player to be at the center of the screen, while the entire world moves, giving the effect of player movement. I can make that, but my problem is at the edges of the game-world, I want the world to stop moving and the player to move.


install extra compiz plugins (burn) and (groups & tabs)

How to install these plugins in ubuntu 12.10 ? I watched some videos for installation and using them ,but I didnt find any thing  !  help please


If $a\mid b^2, b^2\mid a^3,\ldots ,a^n\mid b^{n+1},b^{n+1}\mid a^{n+2},\ldots$ then $a=b$

I'm stuck with this problem :  Let $a,b$ positive integers such that $$a\mid b^2, b^2\mid a^3,\ldots ,a^n\mid b^{n+1},b^{n+1}\mid a^{n+2},\ldots$$ Show that $a=b$.  If were $ b > a $ then $\lim_{n \to \infty}\frac{b^n}{a^n}=0 $ choosing $\epsilon = \frac{1}{a}$ we got a contradiction, but I can't show that $b<a$ can't hold.  Any help is apreciated.


What is the following determinant?  $$\begin{vmatrix}1+a & b & c & d \\a & 1+b & c & d \\a & b & 1+c & d \\a & b & c & 1+d \end{vmatrix}$$  I calculated it as $0$ but I do not think it is right. Thanks in advance.


degenerated from disagreement of opinion into some discussion over capitalization and luckily didn't go any further. It highlights an issue which has cropped up in, among other places, the very evolved ecology of Wikipedia editors: who moderates the moderators? To what extent are moderators allowed to use the power they wield to enforce decisions about their own conduct?  I'm not affiliated with either 'side' of this one; just a passerby who saw the discussion devolve and would like to prevent it in the future.


How to shutdown OSX and avoid programs inturrupting the shutdown?

There are certain programs that I always run that interrupt the shutdown process. When I try to shut down my laptop a message pops up saying that a program interrupted the shutdown process, but when I check the program it is already shut down. These programs probably just take a little longer to shut down. Is there a good way to shut down OSX without having to deal with these interruptions?


Relation between sample and random variables

Although I have my own interpretation about representing a random sample using random variables, I am not really sure about it, and I would like to learn others' opinion about this. The question is this: in many books on statistical inference, data or observed sample is represented as $X_1, X_2, \cdots, X_n$ which are $n$ IID random variables. However, it is clear that in real-world, data are numbers with fixed value, not random variables. For example, if I measure heights of $n$ people, then I get $n$ real numbers $h_1, h_2,\cdots, h_n$, not $n$ random variables. Why don't we simply say that these numbers have come from some particular distribution, instead of representing them using random variables? On the same note, how can we talk about things like $\mathbb{V}(X_i) = \sigma$ when clearly a single number has zero variance? Most book seem to ignore these naive questions which students ask, and only define procedures to handle a "sample" given in the form of $n$ random variables.


SIM card using an external 3G modem while traveling in Israel

Will I be able to buy a SIM card in Israel for use with my modem when I'll be traveling there? Where to buy it and how much will it cost?


I stumbled over a piece of code that I do not understand. In one file:  namespace traits {   template <typename... Base>   struct use_ : Base... {   };  /* some more stuff here */    using useDefaults = use_<>; }   and in another file:  template<typename T> using InputHandle_t = typename Traits::useDefaults::template InputHandle<T>;   What I do not understand the useDefaults::template something syntax. What does this do?  PS: If I did not give enough context to understand my problem, please let me know!


Are galaxies merely groups of nearby stars that collected together, or do the stars share a common birth?

The  that some galaxies have dark matter and others do not leads to the question of how this could be possible. If galaxies are merely groups of stars that gathered together (under gravitational pull) leaving space in-between, then would not the randomly spread dark matter also have been pulled into the galaxy?  Or does a galaxy have a central birth such that some contain dark matter and others do not?


Remove the Packages completely leaving no file?

I have uninstalled a package and i have added the ppa via terminal for example.  I have to know that the packages have uninstalled successfully without leaving any file in my computer.  Is there any Command line to check it whether it was removed without leaving a single file?  I'm using Ubuntu14.04


hey I was wondering if it is possible to make graphs of such type. With similar labels. Im making notes for people to use and it would be helpful if i can make such illustrations in my notes. Thank you for your time.


Why do TV and movie opening credits single out some cast members by displaying the character's name as well as that of the actors?

For example, I was watching Indiana Jones:  The Last Crusade.  The opening credits listed a bunch of actors, ending with "And Sean Connery as Professor Harry Jones".  I remember watching Star Trek: The Next Generation and they would always do this for "Whoopi Goldberg as Guinan" or "Jean de Lancie as Q".  (Please note:  This question is in reference to credits displayed in the opening sequence of an episode or film.  This is not in reference to credits as they are displayed on IMDB).


C++ conditional template class definition of member function

Given the following class forward declaration in a header file:  template <typename T, std::enable_if_t<std::is_integral_v<T>, int> = 0> class context { public:     context(); // .... private: // ....     T data; }   How can I define the constructor (or any other member function) in the cpp file? Tried everything I can think of but nothing matched....  This other question was brought to my attention  and I have successfully used the methodology suggested in the accepted answer in multiple places in my project, however I can not find a way to represent the second template parameter in any way... that question does not provide enough information to do that. The problem is here the second template parameter makes that either incompatible with the suggested way there or I just could not find the appropriate syntax to represent it, if my class would have just the first parameter it would answer it...   P.S. Sorry if this is a duplicate, I really tried to find a similar question just could not find the appropriate terminology to find a match.


Wasn't the Dark Knight against killing criminals?

In Batman vs Superman, why does the Batman have no trouble in killing goons while rescuing Martha Kent, when we know that the Dark Knight is inclined towards lawfully trying criminals rather than killing them, from previous Batman outings?


Array List vs Linked List Java Performance

I was going through the differences between Array List and Linked List implementations of the List interface in Java. Almost all resources, I went through told that Array Lists provide better performanceO(1)for Index Based Operations(Searching etc.) and require shifting of elements (or copying in this case) for insertions and deletions.On the other hand, Linked lists are better for Insertions and deletions as it requires just the change of the references and instantiation of the Node object. Then I came across this one article which stated      In most cases, however, ArrayList outperforms LinkedList. Even elements shifting in ArrayList, while being an O(n) operation, is implemented as a very fast System.arraycopy() call. It can even appear faster than the LinkedList‘s O(1) insertion which requires instantiating a Node object and updating multiple references under the hood. LinkedList also can have a large memory overhead due to a creation of multiple small Node objects.   This made me think that if the copying of the elements for insertion/deletion(in ArrayList) can be faster than the instantiation of node and subsequent change of references(in LinkedList), then Array List should outperform Linked List for each use case. Now My question is that if this is true then what are the use cases for the Linked Lists? Please enlighten me if this premise is wrong


I just go the lastest Apple Magic Keyboard (without number pad).  I want to us it on my Windows 10 laptop.  They keyboard is currently plugged into a USB port because I can't figure out how to connect it to my machine via bluetooth.  I'm trying to use  to map some of the functions that Apple doesn't support like   fn+up = page up   And it looks like the FN key doesn't get registered by my system because keytweak isn't picking it up, on top of that, fn+up returns the same code as just the up key.  Is there a way to fix this?


Using TexLive 2015 on OSX I have been having a problem with the classico font and possibly all fonts installed with 'getfreefonts'.   Using an earlier version of TexLive classico worked but when trying to use classico after upgrading to TexLive 2015 I have been getting error messages  such as:  !pdfTeX error: /usr/texbin/pdflatex (file URWClassico-Regular-lf-ot1--base): Fo nt URWClassico-Regular-lf-ot1--base at 480 not found  !pdfTeX error: /usr/texbin/pdflatex (file URWClassico-Italic-lf-t1--base): Font URWClassico-Italic-lf-t1--base at 720 not found  ==> Fatal error occurred, no output PDF file produced!   Notably, file URWClassico-Italic-lf-t1 is in folder "/usr/local/texlive/texmf-local/fonts/tfm/urw/classico"  I tried reinstalling all the fonts installed using 'getnonfreefonts -a -d -f'. That appears to download and install all the normal fonts installed via 'getnonfreefonts', but reports errors:  Running 'mktexlsr /Users/jeremyharbinson1/Library/texmf...              [done]  Updating map files (updmap). Be patient...updmap [WARNING]: resetting $HOME value (was /Users/jeremyharbinson1) to root's actual home (/var/root). updmap [ERROR]: The following map file(s) couldn't be found: updmap [ERROR]:     classicovn.map (in /var/root/Library/texlive/2015/texmf-config/web2c/updmap.cfg) updmap [ERROR]:     dayroman.map (in /var/root/Library/texlive/2015/texmf-config/web2c/updmap.cfg)   etc.  - repeated for all the fonts it should have installed  If I run 'tex testfont' and choose 'classico' I get a message of which the essential part seems to be:  \testfont=classico not loadable: Metric (TFM) file not found   I can find some classico related files (quite a few, in fact) in the texlive folder, so at least something is there, but presumably something important is missing (or there is something I need yet to do).


Recommended visualization libraries for standalone applications

Which visualization libraries (plots, graphs, ...) would you suggest to use in a standalone application (Linux, .Net, Windows, whatever). Reasonable performance would be nice as well.


Do I need to pay in full for hostel reservation to show proof of accommodation for a Schengen visa?

I am applying for a Schengen visa to travel to Germany and one of the requirements is showing proof of accommodation. I booked all my hostels via hostelworld.com, but only paid the non-refundable deposit (a couple of dollars for each place) instead of the entire amount. I intend to pay the rest of it on arrival at the hostel (or cancel it and go CouchSurfing, thus saving money).  But for the visa application, will the non-refundable deposit be enough to show proof of accommodation?  The reason I ask is, I emailed one of the hostels requesting a document showing my name and accommodation confirmation, and they replied saying they could only give me such a document once I pay in FULL.  Is this how I'm supposed to book for all places?  Have I been doing it wrong all this while (by only paying the tiny non-refundable deposit instead of full hostel fare)?


Change "Ctrl + Shift + U + unicode + enter" to "Alt + unicode". Is that possible? Where (which config) can I change it?

I have found Ctrl+Shift+U+unicode+Enter quite too long for «quoting the things», or   • bulleting  • it  • up.  However, on Windows another OS, it is quite cool: just hold Alt, type your code on a numpad, and it appears.  The question is if it is possible to:   Change the shortcuts to just Alt? If yes, where it can be changed? Automatically Enter unicode after stop holding the main shortcut?


Why does abstract algebra have just binary functions?

Are there operations/functions that take any other than 2 arguments in abstract algebra? If there are, then why are they not used or shown while teaching the topic? If there are not, then why is the subject constrained to just binary functions?


If I am correct, pwd is a command, PWD is a variable('s name), and - in cd - is an operand.  What are the types of ~, ~-, ~+, * when they mean $HOME, the previous visited dir, the current dir, and the files under current dir? (from programming languages' perspective)  Are they variables' names? If yes, why does echo $~ not work?   Why does * work in:  for i in *; do ls "$i"; done


Compute $\int_{|r|=2}\frac{1}{z^2+1}dz$.  Is there a special trick to solving this? I tried letting $z(t)=2e^{it},t\in[0,2\pi]$, which gave me  $$\int_{|z|=2}\frac{1}{z^2+1}dz=\int_0^{2\pi}\frac{2ie^{it}}{4e^{2it}+1}dt=\int_{0}^{2\pi}\frac{2i}{4e^{it}+e^{-it}}dt$$ but that doesn't seem to make it any easier.  Is there a bettergeneral method to computing imaginary integrals along the circumference of fixed circle like this, maybe using Cauchy's formula?


When is a polynomial map is algebraic set?

Is the image of every polynomial map $f:\mathbb{C}^m\rightarrow\mathbb{C}^n$ an algebraic set?  If not, can we describe conditions on $f$ (and $m$, $n$) which determine when it is an algebraic set?  I am also curious to the answer to this question when the domain is taken to be some affine variety.


How to use JACK and Pulseaudio/ALSA at the same time on the same audio device?

Whenever I launch hydrogen it breaks my audio in all other applications which use Pulse, for example, I can no longer play videos in Chrome after having launched Hydrogen once, until I restart my PC or do sudo alsa force-reload. I have found people with similar issues, but no actual guide to fix this, often there are links to  (which has moved to  ) I am using Ubuntu Studio 14.04 64bit.  ALTERNATIVELY if this is truly impossible to achieve, can someone tell me how to use Jack on one soundcard and Pulse on another? This way I could plug in a USB sound card only when I need JACK.  Please don't make me use windows.


For each file in a directory, pass it as an argument to an image viewer

I have a directory with a bunch of .dcm files (they are medical scans) that looks like this:  J6071c1.dcm  J6071d7.dcm  J6071ed.dcm  J607203.dcm  J607219.dcm  J60722f.dcm J6071c2.dcm  J6071d8.dcm  J6071ee.dcm  J607204.dcm  J60721a.dcm  J607230.dcm J6071c3.dcm  J6071d9.dcm  J6071ef.dcm  J607205.dcm  J60721b.dcm  J607231.dcm J6071c4.dcm  J6071da.dcm  J6071f0.dcm  J607206.dcm  J60721c.dcm  J607232.dcm J6071c5.dcm  J6071db.dcm  J6071f1.dcm  J607207.dcm  J60721d.dcm  J607233.dcm J6071c6.dcm  J6071dc.dcm  J6071f2.dcm  J607208.dcm  J60721e.dcm  J607234.dcm J6071c7.dcm  J6071dd.dcm  J6071f3.dcm  J607209.dcm  J60721f.dcm  J607235.dcm J6071c8.dcm  J6071de.dcm  J6071f4.dcm  J60720a.dcm  J607220.dcm  J607236.dcm J6071c9.dcm  J6071df.dcm  J6071f5.dcm  J60720b.dcm  J607221.dcm  J607237.dcm J6071ca.dcm  J6071e0.dcm  J6071f6.dcm  J60720c.dcm  J607222.dcm  J607238.dcm J6071cb.dcm  J6071e1.dcm  J6071f7.dcm  J60720d.dcm  J607223.dcm  J607239.dcm J6071cc.dcm  J6071e2.dcm  J6071f8.dcm  J60720e.dcm  J607224.dcm  J60723a.dcm J6071cd.dcm  J6071e3.dcm  J6071f9.dcm  J60720f.dcm  J607225.dcm  J60723b.dcm J6071ce.dcm  J6071e4.dcm  J6071fa.dcm  J607210.dcm  J607226.dcm  J60723c.dcm J6071cf.dcm  J6071e5.dcm  J6071fb.dcm  J607211.dcm  J607227.dcm  J60723d.dcm J6071d0.dcm  J6071e6.dcm  J6071fc.dcm  J607212.dcm  J607228.dcm  J60723e.dcm J6071d1.dcm  J6071e7.dcm  J6071fd.dcm  J607213.dcm  J607229.dcm  J60723f.dcm J6071d2.dcm  J6071e8.dcm  J6071fe.dcm  J607214.dcm  J60722a.dcm  J607240.dcm J6071d3.dcm  J6071e9.dcm  J6071ff.dcm  J607215.dcm  J60722b.dcm  J607241.dcm J6071d4.dcm  J6071ea.dcm  J607200.dcm  J607216.dcm  J60722c.dcm  J607242.dcm J6071d5.dcm  J6071eb.dcm  J607201.dcm  J607217.dcm  J60722d.dcm J6071d6.dcm  J6071ec.dcm  J607202.dcm  J607218.dcm  J60722e.dcm   I followed  and installed dicomscope in order to view the images.   Typing dicomscope J6071c1.dcm opens that particular image.  In the GUI for dicomscope itself, there seems to be no way to open multiple files and view them (sort of like as in a slideshow).  I want to type something like dicomscope *.dcm in order to open every file in the directory, but it doesn't work.  Similarly, ls | dicomscope doesn't work.  In both cases, dicomscope starts but only displays a black screen in the image viewer.  Would a kindly bash/zsh wizard please help me out? Cheers.


If $V$ is a vector space, then, proving that...

I have a big problem with this problem... :  If $V_m(\mathbb{R})$ is a vector space whose dimension is "$m$" then   Proving that "$m$" is even number if and only if exist an endomorphism $J$ of $V_m(\mathbb{R})$ where $J^2=J\cdot J=-identity$. Use this endomorphism to proving that $V_m(\mathbb{R})$ is a complex vector space with dimension half of "$m$", namely, $ \frac{m}{2}$   Please Help!


What is the Simple and Efficient way to handle single quotes and double quotes insertion issue using php and MySql

I am mostly working with Php 5.4+ and MySql 5.5+ versions. I am using Codeigniter for all the projects.   The problem i am facing is      Sometimes(on some production servers) when ever a POST variable   contains ' or " quotes, a Database error occurs. But few times(on   other servers) they work properly, i mean the quotations get inserted   into tables   Though php and CI have a good facility for handling these strings with addslashes and mysql_escape_sequence etc         It is not that easy to check these conditions for every possible variable that is being posted by the User   Every time we have to use addslashes Ex: It\'s and while giving the output we have to again apply stripslashes to output It's. But it is   difficult to handle for large values.   As the Database saves the data as It\'s it is difficult to search for these strings.      For struggling for days, i found that using utf8mb4_general_ci advantageous over utf8  Accordingly i made sure the CI's Database.php have the following       $db['default']['char_set'] = 'utf8mb4';     $db['default']['dbcollat'] = 'utf8mb4_unicode_ci';   Also i changed the datatype for respective columns to "LONGTEXT" and its collation to "utf8mb4_general_ci"  To my surprise they worked for some servers.     But Still on some servers i found the same problem. which is bit   frustrating even though i made sure the server configuration matches   with those working servers.   How all php and mysql developers are working with this Scenario? what precautions are you taking?  Please suggest!!


I had rather go home than stay out too late. I had rather listen my parents or get in trouble.   Is had rather refers to past?  Can anyone explain 2nd sentence in other words?


Installing and testing CUDA in Ubuntu 14.04

I am uncertain about how to install CUDA in my system.  looking around there are many tutorials about cuda on 12.04 LTS and a few on 13.04 and 13.10, but they all talk about acquiring a deb package from the .   Well NVidia does not offer a Debian package for 14.04 as of yet.  However, there is a promising package in apt repository: nvidia-cuda-toolkit.  The problem is that I didn't find any example with it. At least not the examples that are referred to in  section 4.11.  I should mention that the toolkit installed is v5.5, not v6 but I haven't found documentation for cuda v5.5 on the NVidia website.  So I can verify that nvcc is there, but nothing further than that. How can I get some examples to run to verify the CUDA is installed properly?


iCloud problem: "iCloud storage is full" message

I need help for this iCloud problem: I had no available space left, (of my 50GB plan) so, to keep using iCloud, I deleted some files. After that, instead fixing the problem, the system keep saying that "iCloud storage is full", or "there is no available space left on iCloud". I tried to deleted more files, also my iPhone backup of ~7GB, but iCloud seems not to detect I have done free space, and keep saying that there is no more storage. Has anyone had this issue? Does anyone know how to solve this? Thank you and sorry for my English mistakes because it's not my first language.


In a question  Ron Maimon comments that "relativistic mass makes gravity, not rest mass."  If so, does that mean that the faster that stars orbit the galaxy the larger the relativistic mass of the galaxy therefore more gravity therefore the stars orbit even faster therefore the gravity gets even more therefore the stars keep on getting faster ...  So the speed of stars and mass of galaxy would be correlated with age and history of the galaxy or galaxy clusters and that's why calculations of galaxies' masses don't add up.


If nerve consists of many axons, where are then their soma located?

This question has haunted me for two years.    mentions :      A nerve is an enclosed, cable-like bundle of axons (the long, slender projections of neurons) in the peripheral nervous system. A nerve provides a common pathway for the electrochemical nerve impulses that are transmitted along each of the axons to peripheral organs.   Okay, my book also defines like that. But if the nerve runs only with bundles of axons, where then are their soma located?   They say nerves are formed of many axons bundled together. Now, if there are axons, there must be soma, but they do not form nerve & hence are not present in nerve. So, where are they? Are they present at the beginning of the nerve?   Also, nerves communicate with each other. Books picture this as two neurons one above other; the above one sends impulse through its terminals to the dendrites of the neuron below it. So, how do these two neurons constitute a nerve?? After all, they now contain the cyton?? So, how do neurons one above other form nerve as they now contain the soma??   PLz explain.


Windows 7 not shown in GRUB menu after dual boot Linux Mint 18.3

I made clean install of Windows 7, left some space unallocated on SSD and during subsequent Mint 18.3 install with default "Alongside" option did not got Windows in grub boot menu.  I write this mainly duplicate because the solution was simpler than in other questions I found here, see my answer.


I have already read        and many others   But I still have the following problem:   On one hand I've been told that if pure rotation takes place then the object goes on forever. This must imply no frictional force in any form acting on the body. On the second hand I've been told that during pure rotation(no external forces like wind) on a plane surface friction acts opposite to velocity of center of mass (accompanied by change of normal) and slows it down.     Both seem logical enough: The point of contact doesn't slip therefore no friction is required; So no retarding force and it must go on. Things don't go on forever; Friction must be present to slow it down.    So, which hand is correct? Or is there a third hand altogether?


Apache wildcard virtual host in windows (xampp)

I'm trying to create a new virtual host where any subdomain will point to the document root.   It needs to be a wild card as new subdomains will be added progmatically.  What I have so far in my vhost config (relevant part):  <VirtualHost *:80>      DocumentRoot "C:/xampp/htdocs/test"      ServerName test.dev      ServerAlias *.test.dev </VirtualHost>   Windows hosts:  127.0.0.1   *.test.dev   I'm only able to access test.dev but not a subdomain of it.


I need perl script to connect to database, but don't want the password in plain text.   any suggestion how to hide the password in plain text would be great.


Am am currently visiting TU Wien and today I connected my Debian Linux laptop to their eduroam wlan using wpa_supplicant and the credentials of my home institute - as always when I am visiting another scientific institution.  When I opened a terminal I noticed that my command promt was showing a different host name, and in fact, excecuting hostname gave me e244-082.eduroam.tuwien.ac.at instead of the usual host name of my machine x301.  I am very puzzled by this. How on earth can it be possible that connecting to a wlan changes my host name without my consent?


I have a problem with energy conservation in case of interfering waves.  Imagine two harmonic waves with amplitudes $A$. They both carry energy that is proportional to $A^2$, so the total energy is proportional to $2A^2$. When they interfere, the amplitude raises to $2A$, so energy is now proportional to $4A^2$ and bigger than before.  The equivalent question is what happens to the energy with the superposition of two waves that interfere destructively.  Also, if someone could comment on the statement about this problem in my physics book (Bykow, Butikow, Kondratiew):      The sources of the waves work with increased power during the interference because they feel the wave from the other source.


How do I tell what type of RAM I have in Ubuntu?

I have a dual-boot system with both Windows 7 and Ubuntu. Windows normally provides me detailed system information like what type of RAM is used. However, I am currently troubleshooting the PC and I cannot currently use Windows. How can I find out using Ubuntu what type of RAM I is being used (DDR2, DDR3, etc.)? Please keep in mind it does not state what type on the RAM cards themselves.


$$ \sum_{k=0}^{n}{\binom{p}{k}\binom{q}{k}\binom{n+k}{p+q}} = \binom{n}{p}\binom{n}{q} $$  My try was to use multivariable generating functions(I don't know, I just thought). I hope that there is a solution using combinatorical analogy.


Displaying "show X more" (starred) in chat is a tease?

In chat, when clicking on the "show X more" link to show more recently starred messages, the new entries are added beyond the exiting view and are tucked away under the footer.   The scrollbar is useless in this case since it only scrolls the chat section. So how do I get at the messages?  (See also: . Possibly the same issue but hard to tell based on the information provided)  I can get at the hidden content by enlarging the browser window or zooming out, but considering the number of items initially shown is already scaled based on the available space, I'd expect the "show more" link to indeed show more items irrespective of my screen resolution.  Is this a bug, or am I missing something obvious?


Can I replace a 0.1µF capacitor with 1µF in this circuit?

I want to make a traffic light circuit but the problem is that I don't have a 0.1µF capacitor.  I do have a 1µF capacitor, would it be OK to replace it?  The circuit diagram I am using is shown below and is taken from an :


Unsure of how to test for both a trigger and helper class

I have a trigger and helper class to populate an account ID on a custom object prior to the record being inserted into the custom object. Can anyone help me with a test class?


I'm reading about copy-constructors and the differences between copy initialization and direct initialization. I know that copy and direct initialization differ only for (user-defined) class types and that the first implies sometimes an implicit conversion (by a converting constructor).For example if I could initialize an object of class A:  class A {   public:     // default constructor     A() : a(1) {}     // converting constructor     A(int i) : a(i) {}     // copy constructor     A(const A &other) : a(other.a) {}   private:     int a; };  int main() {   // calls A::A(int)   A a(10);   // calls A::A(int) to construct a temporary A (if converting constructor is not explicit)    // and then calls A::A(const A&) (if no elision is performed)   A b=10;   // calls copy constructor A::A(const A&) to construct an A from a temporary A   A c=A();   // what does this line do?   A d(A()); }    I read that the last line does not create an A by direct initializing d from a temporary A() but it declares a function named d,which returns an A and takes an argument of function type ( a pointer to a function really ). So my question is, is it true? and if it's true, how can I perform direct initialization of an object from a temporary like:  type_1 name(type_2(args));   assuming that type_1 has a contructor that takes a parameter of type type_2  is it something that can not be done?


Is it possible to bake an image texture to a pure transparent background?

I have an image texture that has a transparent node in it and when I bake it to a new image, the parts that are supposed to be transparent are black.  Is there a way to create a new image in the image editor that is purely transparent?  This is the problem:


Can I resize a persistent disk while using it?

I have a non-boot disk that I need to resize. Can I resize it while say a script is accessing files on it? I’m using Ubuntu 18.04 LTS.


How is trustworthiness of medical research established?

This question has been inspired by current events, namely the Covid-19 pandemic and, ermm... let's graciously call them "vaccine skeptics". Also of note is that I'm not a medical scientist or even in any way connected to medicine, so my knowledge can be waaaay off. I feel like I have a rough, general understanding of the process required to bring a new drug to market. You first come up with the substance, then you try it in a petri dish and/or animal models, then you gather evidence that it does no harm, then you gather evidence that it does bring benefits, and along the way you also gather data on the exact efficiency, side effects, etc. Now, all this research is almost always done and funded by private pharmaceutical businesses. It's all very expensive so the companies are very interested in shining results of the tests so that they can sell lots of the new drug. This has on occasion lead to foul play, but I gather that most of the time these results are pretty trustworthy. So my question is - what makes them trustworthy? I understand that the research gets both peer review and government oversight (so we have neutral and/or competing third parties looking over their shoulder), but how do you check that the reported results are actually the same as observed in the field? In general, what steps are taken to make cheating in this research difficult?


Connect vertices from inner circle to outer circle

I'm trying to connect the inner circle to the outer circle in order to close the mesh but I can't. I've tried to select the edges/vertices of both circles and press F   but that doesn't seem to work, it creates two faces, one for the inner circle and another for the outer circle.   Now I could go individually and select four vertices (two from the inner and two from the outer circle) and connect them as you normally would but that seems like a pain in the ass. I'm pretty sure there's a more efficient way of doing this, can someone tell me what's the right way of connecting the inner circle to the outer circle, in order to close the mesh? Also, why is it doing this? Shouldn't it recognize immediately that I'm trying to connect the selected circles?  Thanks in advance.


How to recover data from Windows 7 Overwritten by Ubuntu 14.04?

While installing Ubuntu 14.0.4, I selected Windows replace option. After installation of Ubuntu,my windows drives are not visible. I tried to recover the data using testdisk but I was unable to recover. While recovering data using testdisk NTFS new Volume is shown. I don't know how to recover. Are there any tools or any simple procedure to recover data?


There are $10$ types of ice creams available. We want to buy $3$ for each of $20$ students. In how many ways can this be done?  Since there is no restriction on the number of times an ice cream can be taken, one can choose all three different ice creams, or even all same ice creams. This is where my confusion begins.   There are $10^3$ ways to choose $3$ ice creams with repetition, but in this way, I'll be over counting in the sense that $ABC, CAB, BCA$ and so on correspond to the same set of ice creams, which have been counted separately.  If I consider the cases where a student takes all same ice creams, two same and one different ice cream, all different ice creams separately, I would also have to consider the number of students taking them.  Please give me some hint.  Thanks!


I created my bibliography style (author-year) in "custom-bib" using natbib. References are generated using bibtex and sorted alphabetically. Publisher wants to, they were still numbered from 1 to n.  I have a qestion: How to add numbering of references without changing the style of the citation from 'author-year' to a numbered?


Flagging a non-answer that has obviously already been flagged

When browsing the homepage, I often come across new answers that don't qualify as answers (e.g. they are actually other questions, or just a comment). I then, of course, flag them. But in the case where there are already comments such as "This does not provide an answer [blablabla] - From review", it is obvious that some other user previously flagged it, and that it is already in the review queue.  So, in this case, should I still flag these posts as "not an answer"? Does it serve some useful purpose, like voting for these posts to be deleted (assume I have access to the low-quality review queue), or does it just somewhat add noise to the system?


Why can't I use the Delete key to delete in Photoshop CS6?

The previous version of Photoshop I used was CS4 and whenever I selected a portion of an image with the magic wand and hit Delete, it simply deleted that portion of the image (rendering it transparent). Easy!  In CS6, this is not the case. Now when I select a portion of an image and hit Delete, it brings up the Fill dialogue.  For example I have this picture (it's a Vauxhall Corsa). I want to use the Magic Wand to render anything that isn't part of the car transparent, so I start by highlighting some clouds with the Magic Wand like so:     Click on images to see larger versions  Now when I hit Delete, instead of that area of the picture being deleted as I would expect based on my experience with CS4, I get this dialogue:    My questions are:   Can this dialogue be used to achieve the functionality I want? If so, how? If not, how do I delete the background in CS6?


I have two systems: Ubuntu and Windows 8.1. When I change the system from Windows to Ubuntu I have no problem with system time but when I change the system from Ubuntu to Windows the time is always increased for 3 hours. What is my problem? Thanks  Also, in Ubuntu it looks:    And in the additional panel:    But as result we can see ("Rainy River") on the left top:


I am new to Python, so I apologize if this question is naive.  I consider a list elements = [3, 6, 7]. I would like to write a series of instructions which transform the list l = [[], [], []] into l = [[3], [6], [7]]. If I write the (naive) code below :  pos = 0 for i in range(3):     l[i].append(elements[i]) print(l)   then the output is not as I expected. Indeed, the list l becomes l=[[3, 6, 7], [3, 6, 7], [3, 6, 7]]. My reasoning was the following one : when i=0 only l[0] (the first element of l) should be modified. However, it is not the case. After the first run in the loop, the list l is : l = [[3], [3], [3]]. Where am I wrong ?  Of course, this could be easily solved using list comprehension:  l = [[elements[j]] for j in range(3)]


I am making my first thorough exploration of transformations.    My primary goal is to improve the normality of the residuals following a mixed effects model fit. For some of my response variables, the residuals (and original data) show a good approximation of a normal distribution.  For others, there is substantial skew.  I have tried several standard transformations (log, sqrt, squared, etc.) and for most response variables one of these works well.    I know there are arguments for and against response variable transformations, but at least some things I have read indicate that this empirical approach is acceptable.    Assuming that is indeed acceptable, my question is whether it is also acceptable to choose an arbitrary power transformation. One set of typical transformations include raising the response variable to some integer power: -3, -2, -1, 1, 2 etc. (cube root, through reciprocal, no transform, and squared).  In one of my response variables, none of these provides a good approximation of normality.  Instead, I found that raising the response variable to a fractional power (0.25) worked quite well.  Theoretically, one could also find that raising to the power 1.5 works better than no transformation or the squared transformation.    I have not been able to find any discussion of whether this is a good or bad idea.  So, to summarize:  assuming that empirical selection of a transformation to improve normality is acceptable, should the power transformations explored be limited to integer powers or can any fractional power be considered?


Awkward way of executing JavaScript code

In the Google , I discovered that the developer often uses an awkward way of executing JavaScript code:  Instead of doing  var a = foo(bar);   I see this:  var a = (function() {   return foo(bar); })();   What is the reason to do it the weird way?


I have the following question:  Let $n\geq5$, and suppose that $G$ is a simple subgroup of $S_{n+1}$ of index $k$. Show that if $k\leq2n+2$, then $G=A_{n+1}$ or $G$ is isomorphic to $A_n$.  I have managed to show by using the simplicity of $G$ that $G$ must be a subgroup of $A_{n+1}$. From here, we see that if $G=A_{n+1}$ then we are done. Else, we would like to say something along the lines of $G$ being a subgroup of $A_n$. The problem is that there are $n+1$ subgroups of $A_{n+1}$ that are isomorphic to $A_n$, and as such it would be strange for me to write $G$ as a subgroup of $A_n$. Alternatively, I am trying to show that $G$ can be embedded into $A_n$, so that the statement would follow rather easily. However, I am unable to show why $G$ can be embedded into $A_n$.  Is there a way to show that there must exist some injective homomorphism from $G$ to $A_n$, or is there a way to show that all elements of $G$ must somehow fix an element of $\{1,2,\cdots,n+1\}$?


Minecraft Pocket Edition Realms cross-play with PC or Mac?

Minecraft noob here and I have several questions regarding pocket edition and realms. I'm interested in purchasing Realms for me and my two kids who know much more about Minecraft than I do but they have never used realms.   The oldest plays PC Minecraft but also has an iMac he could use, the youngest uses Pocket Edition on a tablet while I have a Macs. Both of them like Android and I have iPhone. Looking at the purchase page for Realms it's asking me to choose between iOS/Android or Mac/PC. So does this mean we're limited to our options here? My youngest doesn't have the skillset yet to do anything with computers so that would mean the rest of us would be limited to Pocket Edition as well? I'd like to be able to play on the Mac/PC when available and then pick up a phone at some other time on the go and play in the same world. Possible? What is the world size on Pocket Edition Realms? I tried searching for it but can only find info on PC Realms. Can you change the Realm type later? Ie if I do go with Pocket Edition realms can I change it to PC/Mac later on? I'm asking because I'm assuming the answer to #1 above is going to be segregated from PC and mobile realms.


Conjecture: injection from exceptional abc-triplets to natural numbers

My question      is about a conjectured injection from exceptional   $abc$-triplets $(a,b,c)\mapsto a^2+b^2$, but this question is about a conjectured injection from exceptional $abc$-triplets $(a,b,c)\mapsto a+2b$. It's similar   but not a duplicate.     The numbers $\,a,b,c\,$ is a $abc$-triplet if they are coprime and $a+b=c$. One version of the abc-conjecture is then:     For all $\varepsilon>0$ the set $E_\varepsilon$ of all $abc$-triplets with    $c>\text{rad}(a\cdot b\cdot c)^{1+\varepsilon}$ is finite.   where $\,\text{rad}(p_1^{n1}\cdots p_k^{n_k})=p_1\cdots p_k$ and $\,p_1,\dots ,p_k$ are arbitrary primes.   But it is known that $E_0$ is infinite. Conjecture:     For $abc$-triplets, where $a<b$,   $(a,b,c),(a',b',c')\in E_0\,$ and    $\,a+2b=a'+2b'\implies \{a,b\}=\{a',b'\}$    So far tested for all $a,b$ less than $100,000$. Can this be proved?    There is no uniqueness for $a+b$, $a-b$ or $2a+b$.


Exercise from Evan's PDE, bounding the norm of a function that is zero on a subset, using Poincare inequality?

This is an extension to Partial differential equations by Lawrence C. Evans, page 291, Q15.     Fix $\alpha > 0$, $U$ is a bounded open connected set with smooth boundary. Show that there   exists some constant $C$ such that $\forall u \in W^{1, p}(U)$ with   trace $Tu = 0$ on a relatively open $\Gamma\subset\partial U$ with   $\mathcal{H}^{n-1}(\Gamma)\ge \alpha$,    $$\|u\|_{L^p(U)} \le C \|\nabla u\|_{L^p(U)}$$   [$\mathcal    {H}^{n-1}$ is the $(n-1)$-dimensional measure on $\partial U$.]   The original question solution uses Poincare inequality, and I think this extension also uses Poincare inequality. Basically, the value of the integral of $u$ is bounded by its average value plus its oscillation, and the oscillation is bounded by its derivative through Poincare inequality. Then it remains to bound the average value of $u$ by its derivative.   Since $u$ is anchored at $0$ on $\Gamma$, the average value of $u$ can't deviate too far from zero without causing a big derivative. But how to turn this quantitative is hard.  By mimicking the solution to the original question, I have found that, letting $T: W^{1,p}(U) \rightarrow L^p(\partial U)$ be the bounded trace operator.  $$\|Tu\|_{L^p(\partial U)} \le C\|\nabla(Tu)\|_{L^p(\partial U)}$$  This does not help though, since taking the trace gives the wrong direction for the inequality  $$ \|Tu\|_{L^p(\partial U)} \le C\|u\|_{W^{1,p}(U)}$$  when I really need to bound $\|u\|_{W^{1,p}(U)}$ from above.


I need to download  file. Being on cellular internet I should know the size of the file before downloading it - it there any way know that in OS X?  I saw a , but I cannot realise how to use the asnwer there.


Combinations - 17 women and 21 men to form a committee of size 7

How many committees are possible if a committee must have $3$ women and $4$ men?  $_{38}C_3+_{38}C_4$ or $\frac{38!}{3!35!}+\frac{38!}{4!34!} = 8,435+73,815 = 82,251$  How many committees are possible if a committee must consist of all women or all men?  $_{17}C_7+_{21}C_7$ or $\frac{17!}{7!10!}+\frac{21!}{7!14!} = 19,448+116,280 = 135,728$  How many committees are possible if a committee must have at least 3 women?  $_{38}C_3+_{35}C_4$ or $\frac{38!}{3!35!}+\frac{35!}{4!31!} = 8,435+52,360 = 60,795$  How many committees are possible if a committee must have exactly one woman?  $_{38}C_1+_{37}C_6$ or $\frac{38!}{1!37!}+\frac{37!}{6!31!} = 38+2,324,821 = 2,324,821$  Am I going about these the correct way?


When to kick out frequently absent and disruptive players?

I DM for a group of 6 people and we play once a week.   Two of the players barely ever show up (less than once a month), and when they do we have to stop, and recap a huge part of story, just for them, which takes a long time. It slows down the whole rhythm of the game and I can see that this reoccurence annoys my "commited" players.  And when these two do show up, they basically spend their time joking around, and placing ill-placed remarks and comments. Their attitude and lack of involvement also has started to dampen my "good" players' moods.  The whole "pretend they're out to do something else", or that "they're there, but not really..." has gotten old, and I just want to keep my "good" players happy. I'm not looking for how to handle their characters while they're absent, though, I want to know what to do with the players.  At what time would it be "ok" for me to ask these disruptive players to step down from the group? Is there any way to deal with them that isn't just asking them to leave?


Lost data when switching from windows to ubuntu

When I had windows 10, i had 3 partitions, C, D and E, C was the OS partition and D & E stored my data, now when i installed ubuntu i wiped C and put the D&E to "Do not use this partition" also i switched from NTSF to ext2, when i finished installing, i mounted the D & E drives and nothing was in them. What could've happened? Please help me. Any help would be appreciated  Thanks for reading.


.NET Scheduled Timer - Cross-thread operation not valid

I'm using the Schedule timer    But, when working with the listview I received the error below:  Cross-thread operation not valid: Control 'lsViewIm' accessed from a thread other than the thread it was created on.  Here's my code: This is for my button to execute the timer:  delegate void TickHandler(string Profile); private void btnStart_Click(object sender, EventArgs e) {     Configuration config = ConfigurationManager.OpenExeConfiguration(Application.ExecutablePath);        if(ConfigurationManager.AppSettings.AllKeys.Contains("Stock-Enable"))     {         if (config.AppSettings.Settings["Stock-Enable"].Value.ToString() == "Y")         {             main.oWriteText(lsViewIm, "Reading... " + DateTime.Now.ToString(), Color.Black, false, "logs");               IScheduledItem Item = GetSchedStock();             _AlarmTimer.Stop();             _AlarmTimer.ClearJobs();             _AlarmTimer.AddJob(Item, new TickHandler(updateStocks), "Woo1");             _AlarmTimer.Start();         }     } }  private ScheduleTimer _AlarmTimer = new ScheduleTimer(); private IScheduledItem GetSchedStock() {     return new ScheduledTime("ByMinute", "1");  }   This code will show details to ListView:  public void oWriteText(ListView lsView, string txt, Color? oColor = null, Boolean isStored = false, string oFile = "logs") {     ListViewItem addItem = lsView.Items.Add(txt);     lsView.EnsureVisible(lsView.Items.Count - 1);     addItem.SubItems[0].ForeColor = oColor ?? Color.Black;     lsView.Refresh();  }   And this is my method, and will put here the rest of the code here.  public void updateStocks(string Profile) {     oWriteText(lsViewIm, DateTime.Now.ToString(), Color.Black, false, "logs");     return; }


We have a complex plane and there are inequality on it: $2|z| > |1 + z^2|$. What is the locus of such set of $z$?  I tried to solve it by using polar coordinates and got: $r^4 - 2r^2\cos(2\phi ) - 1 = 0$.  As well I tried solve it using $z = x + iy$ and got: $4(x^2 + y^2) = (x^2 - y^2 + 1)^2 + 4x^2y^2$  By I still can`t figure out what is the explicit name or at least descritpion for such locus of points. Will be very grateful for any help.