I have a professor who used the same lecture notes, same assignments, and same exam questions word for word from from another professor at a different university (who posts his notes, assignments, and exams online). She mentions she "makes her own exams", however the questions are identical to the online past exam and assignment questions.   It's a masters level class and the exam questions are quite specific. We are given an abstract to read and then asked to perform calculations/analyze the abstract.   Is this common or "allowed"?
I have a professor at my university who uses content from an un-cited textbook that he has never referenced anywhere, including his green sheet (syllabus), as an additional resource. At least some slides he has used include parts of content that have been re-worded and others that are 100% the same. I noticed this by Googling for textbooks on the material we're studying in class and found that examples given in one that I found were exactly the same as what he has provided.  Would this technically be plagiarism? Should he be given the benefit of the doubt in this situation?
I have a shapefile with a "id" field in which some non-unique ID numbers exist (don't ask).  When I try to import this to a PostGIS database using QGIS' DB Manager, it tries to re-use those IDs are unique primary key and fails.  The "Primary key" option is not ticked. "id" is shown in grey next to it.   How can I make DB Manager ignore an existing "id" column and just create a new SERIAL field or something like that?  QGIS 2.18. What function satisfies $F'(x) = F(2x)$? Why do not we ask negative questions without a contraction on the not after the verb? I have found multiple questions touching on this but not a single one that has a comprehensive answer. The information is all there but in little bits.     etc.   Exactly why is "Do not you sleep?" ungrammatical (except in poetry/with artistic license)? I understand that not can't contract after you: "Do you not sleep?" because not can only contract after a verb, and that it always does after do: "Don't you sleep?" but why does it (why must it) contract if it's placed after the verb in a question?   Don't you sleep? (common form) Do not you sleep? (ungrammatical) Do you not sleep? (less common form) What defines the maximum size for a command single argument? I was under the impression that the maximum length of a single argument was not the problem here so much as the total size of the overall argument array plus the size of the environment, which is limited to ARG_MAX. Thus I thought that something like the following would succeed:  env_size=$(cat /proc/$$/environ | wc -c) (( arg_size = $(getconf ARG_MAX) - $env_size - 100 )) /bin/echo $(tr -dc [:alnum:] &lt;/dev/urandom | head -c $arg_size) &gt;/dev/null   With the - 100 being more than enough to account for the difference between the size of the environment in the shell and the echo process. Instead I got the error:  bash: /bin/echo: Argument list too long   After playing around for a while, I found that the maximum  was a full hex order of magnitude smaller:  /bin/echo \   $(tr -dc [:alnum:] &lt;/dev/urandom | head -c $(($(getconf ARG_MAX)/16-1))) \   &gt;/dev/null   When the minus one is removed, the error returns. Seemingly the maximum for a single argument is actually ARG_MAX/16 and the -1 accounts for the null byte placed at the end of the string in the argument array.  Another issue is that when the argument is repeated, the total size of the argument array can be closer to ARG_MAX, but still not quite there:  args=( $(tr -dc [:alnum:] &lt;/dev/urandom | head -c $(($(getconf ARG_MAX)/16-1))) ) for x in {1..14}; do   args+=( ${args[0]} ) done  /bin/echo "${args[@]}" "${args[0]:6534}" &gt;/dev/null   Using "${args[0]:6533}" here makes the last argument 1 byte longer and gives the Argument list too long error. This difference is unlikely to be accounted for by the size of the environment given:  $ cat /proc/$$/environ | wc -c 1045   Questions:   Is this correct behaviour, or is there a bug somewhere? If not, is this behaviour documented anywhere? Is there another parameter which defines the maximum for a single argument? Is this behaviour limited to Linux (or even particular versions of such)? What accounts for the additional ~5KB discrepancy between the actual maximum size of the argument array plus the approximate size of the environment and ARG_MAX?   Additional info:  uname -a Linux graeme-rock 3.13-1-amd64 #1 SMP Debian 3.13.5-1 (2014-03-04) x86_64 GNU/Linux I read about the new fancy progress bar which was added to apt 1.0 in  and how to enable it . However on running sudo apt-get update, I did not see the fancy progress bars. On reading the second link again, the solution explicitly requires you to use sudo apt update.  Hence my question is the difference between apt and apt-get. I thought they were one and the same. Repeated squaring method How do I use the repeated squaring method to calcualte 2^176 (mod 177)? I'm not sure, but is there something about the fact that 177 is 1 greater than 176 that makes this a problem? Appearing on the second page (under the section Digression: Size worries) of the following paper about the Yoneda Lemma:     It says that $a$ $priori$ $[\mathcal C^{op},Set](H_A,X))$ is a class. I don't understand why this is the case.  My understanding is that $a$ $priori$ each member of $[\mathcal C^{op},Set](H_A,X))$ is a class.  So it seems to me that $[\mathcal C^{op},Set](H_A,X))$ could be a collection of proper classes.  I've looked at this , but it hasn't helped me much.  Any help is appreciated -Thanks Connect to SQL Server with Windows Authentication in a different domain How to add keyboard shortcuts? In GLM regression I have always been told to set the reference level of categorical/ordinal/dummy variables to the level with the most exposure (level with most data), because this somehow makes the model more stable. Is there any statistical reason behind this, or just historical practice without statistical reason?  I can understand that one wants a "baselevel" (reference level) in the model that are most likely to be correct, but if you are not sure about the other levels, then they surely should not be included in the regression in the first place? For a polynomial $p(z)$, prove there exist $R>0$, such that if $|z|=R$, then $|p(z)|\geq |a_n|R^n/2$ Google Drive storage mismatch Is there a description of Stack Exchange/Stack Overflow sites? How could it possible to factorise $x^8-1$ in product of irreducibles in the rings $(\mathbb{Z}/2\mathbb{Z})[x]$ and $(\mathbb{Z}/3\mathbb{Z})[x]$? How could it possible to factorize $x^8-1$ in product of irreducibles in the rings $(\mathbb{Z}/2\mathbb{Z})[x]$ and $(\mathbb{Z}/3\mathbb{Z})[x]$?  I'm having a hard time starting the problem. Could anyone help me at this point? What are the different endings in Dishonored? Why didn't Harry Potter tell Aunt Petunia he was rich to improve how he was treated by Dursleys? This is a follow-up question to   One reason Aunt Petunia mistreated Harry was that she did not know he was rich. If she knew, she would naturally have treated this golden goose nicely. Her retirement would be secured if Harry financially supported her in old age.  Why didn't Harry tell Aunt Petunia he was rich? Surely every boy wants to be treated nicely by his family. How is my laptop ram running in dual channel? What does a binomial coefficient with commas mean? I'm reading through  paper (on Dyck Paths). Near the middle of the second page, the author states the following:     Remark For the set $h_n$ there are ${k\choose t_1, t_2, ... , t_m }$ $n + k \choose{k}$ $=$ $ n + k\choose {n, t_1, t_2, ..., t_m}$ different Dyck paths.   What does ${k\choose t_1, t_2, ... , t_m }$ mean? I know what the binomial coefficient is, but I'm not sure how to interpret it when one of the parameters is a set. reconfiguration issues with dpkg I ran into some problems installing a package with apt. The terminal hung up during an install and I saw no other choice but to close the terminal. The problem, however, is that I can't seem to solve the issues that this has caused.   As is typical, I get:  E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?   This gets me nowhere and I'm locked out until I run sudo dpkg --configure -a. Makes sense. However, this process spits the following out and then hangs on the last line:  Setting up virtualbox-dkms (5.2.10-dfsg-6) ... Removing old virtualbox-5.2.10 DKMS files...  -------- Uninstall Beginning -------- Module:  virtualbox Version: 5.2.10 Kernel:  4.15.0-23-generic (x86_64) -------------------------------------  Status: This module version was INACTIVE for this kernel. depmod...  DKMS: uninstall completed.  ------------------------------ Deleting module version: 5.2.10 completely from the DKMS tree. ------------------------------ Done. Loading new virtualbox-5.2.10 DKMS files... Building for 4.15.0-23-generic Building initial module for 4.15.0-23-generic   A typical solution I've read is that you need to fix the broken packages. When I try to fix the broken packages (sudo apt install -f), the system also hangs on the same line, although the output is different:  Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up virtualbox-dkms (5.2.10-dfsg-6) ... Removing old virtualbox-5.2.1  0 DKMS files...  ------------------------------ Deleting module version: 5.2.10 completely from the DKMS tree. ------------------------------ Done. Loading new virtualbox-5.2.10 DKMS files... Building for 4.15.0-23-generic Building initial module for 4.15.0-23-generic   I am unable to get out of it unless I kill the process. This I do by checking what is currently running related to apt (ps aux |grep apt), and then I kill the relevant processes with sudo kill -9 process_number_here.  If I try to run things after that, it tells me I still need to reconfigure dpkg.  I tried looking around for more solutions to dpkg and all I really see is the nuclear option:  sudo rm /var/lib/dpkg/lock sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/apt/lists/lock   I also delete the files in /var/lib/dpkg/updates because when I did some digging one of the files inside had the exact same text as the above long output... but I fully admit to being out of my league here and I don't know what to do.   Taking a look at the error messages, I recognize that it hangs on building something related to the kernel. But I have no idea where to even start solving that. Any help is appreciated. My system is ubuntu 18.04 Create a table with LaTeX