Publishing as an undergraduate student: can/should I list my university affiliation?

I have done some research during the past year on one of the topics I am studying. Now I have got some nice results which I think I should publish. I think I can write a conference paper based on my results; a journal one might be too difficult at this point.  I have conducted the research alone, and have not received any help from any faculty members. Now, when I'm writing the paper, I came to consider for the first time am I allowed to publish under the institution I am studying in? I mean, I can list my university as my affiliation, even though I'm just an undergrad student, right? .. I could not find anything on this from the university rules, so I guess its "quiet information".


How to use ampscript in order to pull user data from a second data extension?

We have several data extensions that have data relationships with each other.  How can I send an email using one data extension while pulling data from a second data extension to personalize my email with ampscript?  I've tried Lookup in many different ways, but I've only managed to pull one specific row (the same row which is not personalized to each user) or all rows at once. I haven't been able to pull personalized data for each user.  In practice, I want to pull data from a DE called "Survey". Each user has a specific ID and some users have an "AnswerID", which varies. I want to to create IF/THEN statements based on that AnswerID.  Thanks, Sylvie


Proof that the finite product of nonempty sets is nonempty without axiom of choice from ZF

How do you prove that for $X_{i} \neq \emptyset$, $i \in \{1,...,n\}$ that $\prod_{i=1}^{n} X_{i} \neq \emptyset$ only using the ZF axioms but not the Axiom of Choice? I would like to see a rigorous proof. It would be nice if someone could direct me to a book containing such a proof.  EDIT: I am looking for literature where this is proved STRICTLY from the ZF axioms.


Reset windows 8.1 administrator password

I own a machine that is running Windows 8.1 Pro 64-bit. It has an user account with limited rights - where I can login and the Administrator account for which i forgot the password. Both accounts are local and the computer doesn't belong to a domain.   Is there any possible way of resetting or removing the Administrator password?


Why does $\sum_{n=1}^{\infty}{\frac{1}{n+1}}$ diverge?

I guess it is kind of obvious that it diverges. But what divergent series do I compare it to?


Shell fails to find file descriptor file when `cat`ing it

I created a TCP socket and tried to examine its file descriptor. I can list it without a problem:  [/proc/24846/fd]$ ls -al 11 lrwx------ 1 danb danb 64 10-Sep-19 22:58 11 -> 'socket:[38186892]'   But trying to cat or write to the file fails because the shell cannot find the file all of a sudden:  [/proc/24846/fd]$ echo 'hello' > 11 bash: no such device or address: 11 [/proc/24846/fd]$ cat 11 cat: 11: No such device or address   I don't expect those commands to do anything useful, but at least there should be consistency and the file should be found. So why is it that the shell fails to find the file when doing those particular operations?  To clarify, I'm not wondering how can I communicate with the socket via the VFS, but the reason why I cannot perform file operations on this file.


are row rank and column rank alway equal and no exceptions?

Are there any cases when the row-rank and column rank of a matrix can not be equal? Or are they equal under all circumstances?  I understand the proof that they are equal but was wondering if there are any special cases when they are not equal.


How to highlight C/C++ header file names with the listings package?

C/C++ header files can be given in two forms: <foo> or "foo". For example:  #include <iostream> #include "myheader.hpp"   By default, listings does not recognize the first form, and regards the second form as a string. For example:  \documentclass{article}  \usepackage{listings} \usepackage{xcolor}  \lstset{     language = C++,     columns = flexible,     basicstyle = \ttfamily,     stringstyle = \color{red!80!black} }  \begin{document}  \begin{lstlisting} #include <iostream> #include "myheader.hpp" \end{lstlisting}  \end{document}     For differentiation, I set strings in red. As you can see, iostream was not recognized at all, and "myheader.hpp" was recognized as a string.  How can I highlight header names in a special way? Maybe like this:    Note that both forms of header files are highlighted in a different way than genuine strings.  (In C++, the only valid occurrence of such names is after #include, if that helps.)


This is the question I have: Find $ \pi! $  To find $\pi!$, I evaluated the gamma function at $\pi+1$ but ended up with a recursive equation as shown below.  $$ \int_{0}^\infty t^{\pi} e^{-t}  dt = \pi \int_{0}^\infty t^{\pi-1} e^{-t}  dt $$  I tried using integration by parts. I know that the answer is around $ 7.188 $ using online calculators but am unable to find the workings.  What is the method used to find $\pi!$ ? Thank you for your help.


Is there a C# equivalent of JS ES6's 'const'  for declaring local variables that don't change value?      I know there is a 'const' keyword in C# but this isn't the same thing, as the value of this can only be set at compile time, not runtime.     I have found the ES6 const useful for making JS easier to read.  Like seeing something declared as 'const' tells me that this is something that doesn't change. Likewise something declared as 'let'  tells me that this is expected to change.


Drupal Doesnt Load after Installing Theme

I had installed Omega Theme in drupal. I enable and set it as a default theme.I also disable it's former default theme "Bartik". Now I didnt see changes taking place in my Drupal site. Because of impatience I exit the browser and  loads drupal again but it doesnt work like before. I cannot access drupal anymore and shows only white page just like the image below.     What shall I do to fix it?


Scroll to the end of the element if it is not fully visible

I have a parent container with a lot of divs as children.   The parent container has horizontal scroll.   How can I onclick scroll to the end of the child div if it is fully not visible?  It should works for both directions.  JS/jQuery/CSS  Example here:         .parent{       width:100%;       white-space: nowrap;       overflow-y: hidden;       overflow-x: scroll;     }     .child{       display:inline-block;       padding:10%;       background-color:blue;       margin:10px;     }

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test

 test


I have encountered a serious problem when using tracking markers: I tracked a single point over a range of 3000 frames in small steps e.g. I manually corrected the position every 50 frames. When rewatching the 50 frames, all the tracking seems to be very accurate. However, when I rewatch the whole footage, suddenly in some ranges the accuracy is terrible. But somehow these ranges vary and are at different positions from time to time. Even more surprising is that even those frames at the beginning of the 50 frames, which HAVE to be correct, aren't. To me it seems like there is either some offset in the displaying of the markers, or they get saved wrongly somehow. Has anyone an idea, what could be the reason for this?  EDIT: Just changing the input format from .mp4 to .png solved the problem completely.


Xelatex, Adobe Garamond Pro and changing spaces add unwanted blank space with footnote

Here is a MWE:  \documentclass{minimal} \usepackage{xltxtra} \usepackage{fontspec} \setmainfont[Ligatures=TeX]{Adobe Garamond Pro} \makeatletter \g@addto@macro\normalsize{   \setlength{\intextsep}{0.8cm}   \setlength\abovedisplayskip{5pt}   \setlength\belowdisplayskip{5pt}   \setlength\abovedisplayshortskip{5pt}   \setlength\belowdisplayshortskip{5pt} } \makeatother \begin{document} Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor\footnote{This is a footnote.} incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \end{document}   When I comment \setmainfont[Ligatures=TeX]{Adobe Garamond Pro} (ideally required since it's the font that I want) I get this output:    When I comment the \makeatletter \makeatother block (ideally required because that's the spacing that I want for equations in the rest of the document), I get this output:     When I comment nothing, I get this output with the extra blank space:    Does someone know what is wrong here and how I can overcome this issue? Many thanks,


What happens when a Paladin falls from grace?

It is stated that when a Paladin falls from grace and does not repent, they must either become an Oathbreaker or choose a new class, but what exactly happens when they fall from grace? Does the Paladin lose all of his/her powers, or does the loss from grace only mean they are abandoned by their deity or order?


Flying EU to UK to EU. Can I get duty free alcohol?

On the 20 of March this year I will be flying from Ireland to the UK and then on the another EU country.  Can I buy duty free alcohol (as in alcohol with no tax) leaving the UK ?


Finding out the area of a triangle if the coordinates of the three vertices are given

What is the simplest way to find out the area of a triangle if the coordinates of the three vertices are given in $x$-$y$ plane?   One approach is to find the length of each side from the coordinates given and then apply . Is this the best way possible?   Is it possible to compare the area of triangles with their coordinates provided without actually calculating side lengths?


After Gandalf kills the Balrog of Moria, do any more Balrogs remain in Middle-earth?

Is any reference made anywhere in Tolkien's novels about the number of Balrogs in existence after the demise of the Balrog of Moria? Since Balrogs are described as powerful magical entities that even Gandalf feared, I am assuming that they were created specifically by Morgoth, rather than being a natural species that extend their existence via procreation.   Is there any documentation of a specific number of Balrogs in existence at any one time or any details as to what they specifically are?


Is the choice and order of the Hot Network Questions in the sidebar random?

, I know that 100 HNQs are sorted by "hotness points", in descending order. However, this order is not used when displaying HNQ in the sidebar on various sites. (Or for the one single HNQ which is displayed in the feed of the mobile apps.) Neither is there enough space to display all the HNQs in the sidebar at once, so only a selection is shown. So how are these picked, and how is the order determined ?  Is it a totally random selection and ordering of the current HNQs? Will all users see the same HNQs on any given page at a particular time? Does number of "hotness points" affect the likeliness that a certain HNQ will be displayed on a page? Will the system rotate the HNQs across different pages so that all can be seen? Are there other factors?


Creating Items in Drop-Off Library via SPD Workflow

Today I learned you can't move items to a Drop Off Library via workflow and expect its routing rules to kick in automatically. You then have to manually "Submit" each item, even if all metadata is already supplied in the document.  However, I noticed items I manually create in the Drop Off Library (via Documents -> New Documents -> [Content Type Name]) are routed immediately after I save them for the first time. So I'm thinking generating items in the Drop Off library via workflow could be a workaround.  This doesn't work in testing. The workflow errors out, and I receive "The workflow could not create the list item. Make sure the list exists and the user has permissions to add items to the list."  Obviously the list exists and I have Ownership permissions. My workflow is just one line at this stage, so I'm positive I'm building it correctly. Is this error due to a property of the Drop Off Library, maybe something I can disable?   Any other ideas? Or if you've got another method that I can implement via SharePoint Designer, that also works! THANKS!!!  THE GOAL  A workflow that kicks off when a list item is created:   Document Set is created with list item's properties. (complete) File is created with list item's properties. (complete if not in Drop Off Library) File is moved to the right document set via Drop-Off rules (got working rules, trying to work around having to manually Submit without coded solution)


How do I tell if an image is exposed correctly when I can't trust the LCD?

I used exposure compensation when I take my shots and adjust it whenever it needs adjustments. Most of the time I shoot using Manual mode.  My problem is, when I'm out on a sunny day I can't judge whether my shot is overexposed or underexposed because the sun is too bright. Sometimes when I checked my viewfinder the image looks perfectly exposed to my eyes, but when I check it on my computer when I get home the images looks underexposed or overexposed. I tried to judge my shot's exposure using histogram, but still having a hard time. The only thing I understand about the histogram is that, the right side is the highlights and the left side is the shadow.  How do you judge whether the shot is overexposed or underexposed when you are out on a sunny day?


Handling a character who frequently pickpockets teammates

I am a DM for a small group. One of the players has a very sneaky dwarf from a criminal background and chaotic neutral alignment. The problem is he keeps pick pocketing his Elvish teammates, saying that he hates elves and how his criminal background means he did the same back home. He rolls very well, and his Elvish counterparts have low Wisdom (Perception). Since he is a dwarf, chaotic neutral and a criminal, it seems perfect.   He doesn't steal much, just about 10 gold out of 1000 gold. But I don't want this to continue because the players know that he has the gold but they can't catch him without metagaming. How do I stop this?


What do the different difficulties mean?

When starting a new game, I am given the option to select a difficulty. "Original" and "seedling". What are the differences in these difficulties?


How do I cut off excess overlap of two objects?

How can I cut off (delete) the excess parts of the logs sticking through the roof in my picture?  Note: The sloped roof is just a rotated plane; not sure if this affects how you might do it.


Incorrect sum when i add two numbers in javascript

i am using a library called mathjs When i try to add two numbers as follows   var n1 = 271.837500;         var n2 = 2.887500;         var n3 = math.add("271.837500", "2.887500");   the value of the variable n3 is 274.72499999999997 instead of 274.725000 Can any one explain me why i am getting this value?


It is a bit of a morbid concept, but having recently had a friend die unexpectedly and having to deal with the online repercussions of this event has gotten me to thinking about what should happen to my accounts when I kick the bucket.  I haven't had any great insights yet, but here are some things I think are worth thinking about:   an entry in the FAQ telling the person's loved ones what to do with respect to the account would be extremely helpful, specifically who to contact, how to contact them, and what proof is necessary some form of optional date of death on the user account screen some way to mark the user as no longer being able to generate content and blocking any attempt to login as the user.   The danger I see in implementing such features is the possibility of someone faking another person's death and thereby locking a user out of his or her account or worrying his or her friends.


I am trying to get my script to load in a JSON file which is located in the root of my website:  $.getJSON( "slides.json", function(json) {     var slides = json;     console.log(slides); }   However, on loading the website I get the following error:   Failed to load resource: the server responded with a status of 404 (Not Found)   So I tried surfing to , and also got a 404. So I tried to change my file extension to slides.txt, and that worked just fine with the surfing, as well as the script reading.  Can somebody explain why my IIS won't distrubute the JSON file as it would a text file?  Thanks :)


Select from pivot table using and condition

I'm struggling for hours with something that seems so easy but I cant make it to work or find something similar in Google.  I have 2 tables   images   and   tags   They have a relation of Many to Many so I have another pivot table named image_tag  What Im trying to achive is select all images that has tag_id=4 and tag_id=1  My first attemp was something like this:  SELECT * from images as a INNER JOIN image_tag as b on a.id=b.image_id  WHERE b.tag_id=4 and b.tag_id=1   Of couse this gave me 0 result as you cant use AND condition directly to pivot.  After that I tried this:  SELECT * FROM images as a INNER JOIN image_tag as b on a.id=b.image_id WHERE b.tag_id IN (1,4)   This returns all the images that either has tag_id=1 or tag_id=4 tried also Inner joining the same pivot table but cant make it to work no matter what  EDIT: Adding the sql fiddle.  the result should be images with ids 4,5,6,7


Squeezing scientific paper to fit within page limits

I am submitting a paper to a conference that has a limit of 10 pages.  I have edited and edited the text, but the paper still fills 11 pages, and I am reluctant to remove anything.  What tricks can I use to make the paper fit in 10 pages?    I know about \vspace{-1mm}, but are other and better tricks?  How can I squeeze a little bit between lines, around the elements produced by \maketitle, around headlines, etc. in a way that is consistent and does not look too ugly?  Is it possible to reduce the font size from 11 points to, say, 10.9?  (This should be community wiki, but I don't have enough rep yet.)


No. of $t,s \in [0,1]$ such that $f(t)=f(s)$ for a continuous function $f:[0,1]\rightarrow [0,1]$

Question is  :  Let $f:[0,1]\rightarrow [0,1]$ be a continuous function such that $f(0)=f(1)$. Let   $$A=\{ (t,s) \in [0,1]\times [0,1]   : t\neq s ; f(t)=f(s)\}$$  The number of elements in $A$ is...... ?  As $f(0)=f(1)$ and i should take care of continuity of $f$ I some how feel that the figure should be like :    which is telling me that there are infinitely many points $(t,s)$ such that $t\neq s$ but $f(t)=f(s)$  I am not sure if this should be the case and if it is so, I am not sure how to write this precisely.  I would be thankful if some one can help me to clear this problem..  Thank you  P.S : This is the first time (after so many years) I am using Paint. So, the figure looks very awkward but please adjust with that.


Number of possible permutations of n1 1's, n2 2's, n3 3's, n4 4's such that no two adjacent elements are same?

Given $n_1 $ number of  $1 $'s,  $n_2 $ number of  $2 $'s,  $n_3 $ number of  $3 $'s,  $n_4 $ number of  $4 $'s.  form a sequence using all these numbers such that two adjacent numbers should not be same.  I have tries lot of things but nothing worked.  can somebody tell me how to solve this problem?


Is Xcode 7.x functional running macOS Sierra to submit builds to iTunes Connect?


How can i replace index values with other ones

Let's say i have an array of 6 elements of int type.  It looks like this  var array = new int [] { 0, 1, 2, 3, 4, 5 };   How can I randomly shuffle my array ensuring every index have a new value.  // Bad // The number at index 3 did not change and still has a value of 3 new int [] { 1, 0, 5, 3, 2, 4 }   // Good: // All the index have a new value new int [] { 4, 2, 0, 5, 3, 1 }    I've tried to Shuffle, but sometimes some values will have the same index position


Determinant of matrices without expanding

Show that $$\begin{array}{|ccc|} -2a & a + b & c + a \\ a + b & -2b & b + c \\ c + a & c + b & -2c \end{array} = 4(a+b)(b+c)(c+a)\text{.}$$  I added the all rows but couldn't get it.


In older distros, there is the feature: right-click the top-bar > Add To Panel. But not anymore in Ubuntu 16.04? I want to create a application icon-shortcut to the application bar.  I want to use the default settings in the latest Ubuntu.  I would like to add just a Matlab.desktop icon to the panel.


I just installed Kubuntu 20.04.1 to a dual-boot partition on my Macbook Pro (late 2012). On the live usb, I could see my usual WiFi network, and connected to it. After the install, I could still see the WiFi connection in my system settings (listed as 'never used'), but I couldn't connect to WiFi. At that point, I removed the connection with the minus button, trying to get things working. Even though I checked "install third party software" in the installation settings, I figured it was a broadcom issue, and after installing the firmware-b43-installer package, I can connect to WiFi again (hooray!). Unfortunately, now I can see all the local networks except my usual WiFi network (the same one I removed earlier with the minus button, when the firmware was missing). How do I get it back? I tried to enter the information manually (from the network settings panel on a separate computer running Kubuntu 20.04.1, which can successfully connect to the network in question), but the new install still won't connect. At this point I am out of ideas, and I would sure appreciate any help you can offer, thank you for reading!


If $A$ is a nowhere dense subset of a topological space $X$, then $X\setminus A$ is dense in $X$.

If $A$ is a nowhere dense subset of a topological space $X$, then $X-A$ is   dense in $X$.   $(\overline{A})^\circ = \emptyset$ ($\because$ $A$ is nowhere dense).  We want to prove, $\overline{X-A}=X$  How can I prove for arbitrary topological space? Please help me. If you have short alternate solutions, please share with me.


Can't install Windows 10 after installing Ubuntu 18.04, and lost a hard disk

I have an SSD, that is used for OSes. Once when I was on Windows10, I divided it into two: C and D. It is 256GB, so I allocated 130 to C:, and 100 to D:. Also, I have a 2TB HDD which is for films (E:) and documents (F:). Both are 1TB each. I thought there would be nothing wrong with C, E, and F as long as I install ubuntu on D drive. When I install Ubuntu, and it asked which disk I am going to install, I removed other drives (C, E and F) using - button. Was that button formatting the disks and integrate partitions? There was no warning message... Anyway, I am using ubuntu on my D drive. But for some reason I cannot use Windows (Windows Boot Manager is gone) and I can see no E and F but 1.8TB /dev/sdc only. And I can't install Windows10 on D now. I successfully made a booting disk and installed without errors but no Windows Boot Manager is installed. I am really desperate so am asking these questions... Q1. Is there any way that I can retrieve the hard disk? or what happened? What have I done wrong? Q2. Why can't I install Windows? I've done this countless times. Is there some special work that is needed to be done when installing Windows after Ubuntu? The USB format is NTFS.


Spring jdbcTemplate null pointer exception

I'm trying to use jdbcTemplate to execute sql commands. In this case, I'm trying to insert things into a table. I'm getting a null pointer exception in the line : jdbcTemplate.execute(subscriptionStatusInsertQuery);  When I try to run the line: dbMapper.mapToDatabase(newEntry); where dbMapper is an instance of DBMapper.  @Repository public class DBMapper {      private JdbcTemplate jdbcTemplate;      public JdbcTemplate getJdbcTemplate() {         return jdbcTemplate;     }      @Autowired     public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {         this.jdbcTemplate = jdbcTemplate;     }      public void mapToDatabase(Status status) {         String id = status.getId();          String subscriptionStatusInsertQuery = "INSERT INTO t1 (ID) VALUES (id)";         jdbcTemplate.execute(subscriptionStatusInsertQuery);     } }   I've tried not having a setter for jdbcTemplate. I've tried taking out the @Repository annotation. I've tried having a setter that included datasource. Still getting error.  How should I fix this null pointer exception?  Edit:  My application.properties has the following setting:  spring.datasource.url=jdbc:mysql://localhost:3306/ee_internal spring.datasource.username=ee spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.password=mypassword spring.datasource.test-on-borrow=true spring.datasource.validation-query=SELECT 1   And from my pom.xml:  <dependency>             <groupId>org.springframework</groupId>             <artifactId>spring-jdbc</artifactId>         </dependency>


I need to make Windows 7 STOP disabling the wifi adapter when the wired LAN is connected

This is a Dell Latitude E6430. There is a setting in the bios to control this behavior and I have DISABLED it but it still happens. I am also running the latest bios.  When I plug in a network cable the wifi adapter becomes disabled. I need it to stay enabled. What else could be making this happen?  EDIT: The reason I need to do this is because with NETSH WLAN commands you can create a wifi hotspot by sharing the internet connection on the wired adapter and broadcasting a ssid on the virtual wifi nic. I do this all the time but it's not working on this laptop. I'm wondering if it's a network security thing where I am. I'm going to try from my hotel tonight and report back.


Does MySQL have any functions like SUM but then do the MULTIPLICATION of a collumn?  Example: I have an table like this, and I want to multiply the entire collumn  +--------------+ | combinations | +--------------+ |            3 | |            5 | |            4 | |            6 | |            1 | |            3 | |            4 | +--------------+   expected result:  +----------------------------+ | product_total_combinations | +----------------------------+ |                       4320 | +----------------------------+   I cannnot find anywhere how to achieve this. Any help is appreciated.


Strengthening of a lemma in Ramsey Theory: $R(m, n) \le R(m-1, n) + R(m, n-1)-1$ if both numbers are even

A cool lemma in Ramsey theory is the following:  $$R(m, n) ≤ R(m-1, n) + R(m, n-1).$$  It is not hard to prove it. However, a friend of mine said that, if $R(m-1, n)$ and $R(m, n-1)$ are both even, then  $$R(m, n) ≤ R(m-1, n) + R(m, n-1)-1.$$  How can I prove it?


case, similar but different options to assign to a variable

I have a case statement, when calling on the script I need it to accept these numbers as possible options of -d. There is a lot of them, so how do you do this without writing 100 more lines of code. I see many programs which allow an option to be any number so how do you do that?  case "$1:$2" in     -d:0.1|-D:0.1)         shift         echo "0.1"         shift         ;;     -d:0.2|-D:0.2)         shift         echo "0.2"         shift         ;;     -d:0.3|-D:0.3)         shift         echo "0.3"         shift         ;;     -d:0.4|-D:0.4)         shift         echo "0.4"         shift         ;;      ... #It continues this pattern all the way to 5.0, increasing by 0.1 each time ^^  esac   Example of Usage  $ example.sh -d 0.1 > 0.1   Is there a faster way to do this without writing all that code?


I am writing a LinkedList reverse method, in the main method, I am defining temp and calling reverse method (root contains the linked list)  Node temp=null; r=a.reverse(root,temp);  public Node reverse(Node node,Node temp){     if(node!=null){         Node n=new Node();         n.data=node.data;         n.next=temp;         temp=n;         node=node.next;         reverse(node,temp);     }     return temp;     }   My rote contains 10,20,30,40,50` while I print Node returned by reverse method, I get the output..     o/p--- 10


Why do the two variables point to different location when they are assigned same value outside the range [-5,256]?

Consider the below code.  x = 10 y = 10 print(id(x)) print(id(y))   Output:  140710803641440  140710803641440  Now, give same values outside the range [-5,256]  x = 257 y = 257 print(id(x)) print(id(y))   Output:  2366730643376  2366730642864


Render Conversion (Cycles to Blender Render)

BIG EDIT: I have solved this. I just disabled the texture from Cycles and I am manually adding the correct ones.  I have a Blender project I am working on for Christmas, and I had to rig many characters. I rigged them in Cycles Render, but I figured out that if I want a smooth output, I need Blender Render. How do I switch from Cycles Render to Blender Render without deleting the textures? Please respond before the 24th, as I am trying to make this as a Christmas project.  EDIT: This question is different than the thought-to-be duplicate because I am only moving the textures, not nodes. I also tried the accepted answer and it did not solve my problem.


How to remove every file in the current directory except *.c files ?  For ex, if i do rm *.c it removes all the .c files, but does not remove other other files.   I just want to do the opposite.


I have a question about properties of series.

Let $x_n$ be a sequence of real numbers.  Show that if $\sum_{n=1}^{\infty}x_n $ converges, then $\lim_{n\rightarrow\infty}\sum_{k=n}^{\infty}x_k=0.$  This is what I have done. We have by the Cauchy Criterion, for every $\epsilon>0$ there is an $N\in\mathbb{N}$ such that $n\ge N \ \implies |\sum_{k=n}^{\infty}x_k|<\epsilon.$ Taking the limit as $n \rightarrow \infty$ we get the desired result.  Are there any problems with my proof?


How can I tell if the Salmon I buy is safe to eat raw?

If I buy a piece of cold Salmon in a supermarket, and it doesn't say anything about being  or having been deep-frozen at X degrees for Y time - how can I know whether it's safe to eat raw?  Note: I live in the Netherlands, in case the answer varies by location.


Insert a space in a string containing alphanumeric characters at the beginning and end of each number in R

I have a string similar to 98abcd123fgh324ijklm564asd. I want to insert a couple of spaces before and after each number in the string. Below is the sample output:  str = "98abcd123fgh324ijklm564asd"  required_function(str) # " 98 abcd 123 fgh 324 ijklm 564 asd"


Metrizability of Hausdorff continuous image of compact metric space

Let $f$ be a continuous mapping of a compact metric space $(X, d)$ onto a Hausdorff space $(Y, \tau_1)$. Then $(Y, \tau_1)$ is compact and metrizable.   In one proof the following metric is constructed:  $d_1(y_1, y_2) = inf\{d(a, b) : a \in f^{-1}\{y_1\},\ b \in f^{-1}\{y_2\}\}$, for all $y_1$ and $y_2$ in $Y$.  I'm thinking about how to prove that triangle inequality holds for $d_1$, s.t. $d_1(x, z) \leq d_1(x, y) + d_1(y, z)$  And how about the case when triangle inequality does not hold?    Update: @daniel-schepler suggested to use metric $d_1(x, y) = inf\{d(x^*, x_1) + d(y_1, x_2) + \cdots + d(y_{n-1}, x_n) + d(y_n, y^*)\}$ where $f(x^*) = x$, $f(y^*) = y$, and $f(x_i) = f(y_i)$ for each $i$.  Now we need to prove 3 property of metric: positivity, symmetry and triangle inequality. This is my sketch:   Positivity. Chose two points $x,y \in Y$ s.t. $x \neq y$. Singleton sets $\{x\}$ and $\{y\}$ are disjoint closed sets by Hausdorfness of $Y$ and their preimages are also disjoint closed in $X$ by continuity of $f$. $X$ is compact metric space by hypothesis and therefore a normal space. In normal space every two disjoint closed sets have disjoint open neighborhoods. Let $f^{-1}(x) \subseteq U$ and $f^{-1}(y) \subseteq V$ s.t. $U,V$ are open and $U \cap V = \varnothing$. Therefore there exists an $\varepsilon > 0$, s.t. $x^* \in B_\varepsilon(x^*) \subseteq U$ and $y^* \in B_\varepsilon(y^*) \subseteq U$ and distance between any two closed sets is strictly positive and $d_1$ is positive and zero iff $x = y$. Symmetry. Clearly $d_1$ is symmetric. Triangle inequality. For triangle inequality we can show that in the "worst" case $d_1(x, z) = d_1(x,y) + d_1(y, z)$.


Expectation and variance notation for ratio of random variables

When we have a ratio of random variables, is their expectation/variance defined in the same way? That is, if we want to write out explicitly $E[\frac{X}{Y}]$ where X and Y are random variables, then   $$E[\frac{X}{Y}] = \int_\Omega \frac{X}{Y} p(x,y)dxdy$$  And similarly, is the variance of the ratio also defined the same way: $$V[\frac{X}{Y}] = \int_\Omega [\frac{X}{Y}-\mu_{\frac{x}{y}}]^2 p(x,y)dxdy$$  for some $\mu_{\frac{x}{y}}$?  This is a definitional question, I ask because I have not seen anyone write out the expectation of ratio of random variables explicitly.


Finding the md5sum of a directory is returning permission denied

I'm trying to get the md5sum of a directory, however everytime I try I'm getting permissions denied. I have root access and sudo. I'm able to create files and such in the directory but it will not allow me to find the md5sum of the directory contents. What I've tried so far:  baal@baal-Aspire-5733Z:~/bin/python/dagon$ md5sum * > data.txt bash: data.txt: Permission denied baal@baal-Aspire-5733Z:~/bin/python/dagon$ sudo !! sudo md5sum * > data.txt bash: data.txt: Permission denied baal@baal-Aspire-5733Z:~/bin/python/dagon$ touch data.txt touch: cannot touch 'data.txt': Permission denied baal@baal-Aspire-5733Z:~/bin/python/dagon$ sudo !! sudo touch data.txt [sudo] password for baal:  baal@baal-Aspire-5733Z:~/bin/python/dagon$ sudo md5sum * > data.txt bash: data.txt: Permission denied baal@baal-Aspire-5733Z:~/bin/python/dagon$ sudo !! sudo sudo md5sum * > data.txt bash: data.txt: Permission denied baal@baal-Aspire-5733Z:~/bin/python/dagon$ cd .. baal@baal-Aspire-5733Z:~/bin/python$ sudo chmod 775 dagon baal@baal-Aspire-5733Z:~/bin/python$ cd dagon baal@baal-Aspire-5733Z:~/bin/python/dagon$ sudo find type -f -exec md5sum '{}' \; >md5sum.txt bash: md5sum.txt: Permission denied baal@baal-Aspire-5733Z:~/bin/python/dagon$    Does anybody have any idea why I would not be able to recursively get the md5sum of the directory? This directory was cloned from git if that makes any difference.


Why ball fall at same location from where we throw it?

I have a silly question. As we all know earth is rotates at a speed of 460 m per sec. So if I  throw a ball in the air for 10 sec than the ball must fall 4600 m away from me but these does not happen in real life. Why?


Euler-Lagrange Equation Proving Maxwell Equation

When quantizing the EM Field, we get the Lagrangian density,  $$L=\frac{1}{2}\left(\epsilon \vert E\vert ^2 - \frac{1}{\mu}\vert B\vert^2\right) = \frac{\epsilon}{2}\vert\nabla\phi + \dot{\textbf{A}}\vert^2 - \frac{1}{2\mu}\vert\nabla\times\textbf{A}\vert^2$$  My professor said that the first Maxwell equation, $\nabla \cdot E = 0$, is proved by the Euler-Lagrange equation for the above $L$ w.r.t. $\phi$. I.e.  $$\frac{\partial}{\partial t}\left(\frac{\partial L}{\partial \dot{\phi}}\right) + \sum\limits_{i=1}^{3}\frac{\partial}{\partial x_i}\left(\frac{\partial L}{\partial(\partial\phi / \partial x_i)}\right) - \frac{\partial L}{\partial \phi} = 0 \implies \nabla\cdot E = \nabla^2\phi = 0$$  I don't get exactly that result. I assume the first and last term are 0, since no phi or phi-dot appears in $L$. Using $\phi_x$ as the derivative, I get for the middle term (i=1), $$\begin{align} \frac{\partial L}{\partial(\phi_x)} &= 2(\nabla\phi + \dot{\textbf{A}})\cdot\left[\frac{\partial}{\partial\phi_x} (\nabla\phi + \dot{\textbf{A}})\right]  \\  &= 2\left(\langle\phi_x + \dot{A}_x,\phi_y + \dot{A}_y,\phi_z + \dot{A}_z\rangle\right)\cdot\left[\frac{\partial}{\partial(\phi_x)}\langle\phi_x + \dot{A}_x, \phi_y + \dot{A}_y, \phi_z + \dot{A}_z\rangle\right]  \\ &= 2\left(\langle\phi_x + \dot{A}_x,\phi_y + \dot{A}_y,\phi_z + \dot{A}_z\rangle\right)\cdot\langle 1,0,0\rangle\\ &= 2(\phi_x + \dot{A}_x) \end{align} $$ Therefore,  $$\frac{\partial}{\partial x}\frac{\partial L}{\partial(\phi_x)} = 2(\phi_{xx} + \dot{A}_{xx})$$  And then summing i=1 to 3 gives  $$2(\nabla^2\phi + \nabla^2 \dot{A}) = 0$$  So in order to prove the Maxwell equation, I need to show that $\nabla^2\dot{A} = 0$. How do I proceed to do that?


Java - get JRadioButton cmd with Jbutton listener

I am new to java and creating a Simple gui App. In this simple app, I am trying to write a e-commerce letter for Firms. So, I planned  my app something like this..      First i ask to user if he want to write an letter to British Firm or American. For this i use two radio buttons(one for american firm and second for british) and  JButton. When user Trigger jbutton then i want to get radiobutton command(which type of letter user want to write).   The problem is I don't have any  idea to get Radiobutton command when i trigger jButton. Please give me an Simple Idea(if possible with exapmle not complicated for begginers) to get RadioButtons value..  Here is my java Code:  import java.awt.*; import java.awt.event.*; import javax.swing.*;  class englet{      static public JFrame f;     static public JPanel p;     static class getTypeOfLetter implements ActionListener{          public void actionPerformed( ActionEvent e){             String btnInput = e.getActionCommand();             System.out.println(btnInput);          }     }     public static void askletter(){         JRadioButton btnRadio1;         JRadioButton btnRadio2;         ButtonGroup btngrp;         JButton btnGo = new JButton("Write");         btnRadio1 = new JRadioButton("Write Letter For American Firm");         btnRadio1.setActionCommand("Amer");         btnRadio2 = new JRadioButton("Write Letter For British Firm");         btnRadio2.setActionCommand("Brit");         btngrp    = new ButtonGroup();         btnGo.setActionCommand("WriteTest");         btnGo.addActionListener(new getTypeOfLetter());         btngrp.add(btnRadio1);         btngrp.add(btnRadio2);         p.add(btnRadio1);         p.add(btnRadio2);         p.add(btnGo);     }     englet(){         f  = new JFrame("English Letter");         p  = new JPanel();         askletter();         f.add(p);         f.setSize(400,200);         f.setVisible(true);      }     public static void main (String[] argv ){         englet i = new englet();         f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);     } }   I am using Notepad++ and CMD.. Not any another tools like netbeans initllli ecplisse. **RE-EDIT ** I want a possible solution and can satisfy me.. this app works but i am not able to get radiobuttons commmand with jubtton..


In rocket league, there are a ton of Hats (not as much as TF2, but I digress)  Does these hats change the hitbox of the car? Like if I have a big sombrero on, could the ball react differently when hit with the roof of the car that if I have the police light, or no hat at all?  EDIT: I don't know if I am unclear with what I'm asking, but it feels so. Anybody get what I'm asking?


Ubuntu 16.04.2 install from usb drive results in blank screen

I tried to install the latest version of Ubuntu and after selecting the option from the menu to "Install Ubuntu" it hangs on a blank screen.  I have seen other posts related to this and tried their solutions, however I have had no success. I was able to install 15.04 however the resolution is terrible and want to upgrade so that it would possibly fix this problem. I ran  inxi -Fxxxz in case you needed more info about my computer:      System:     Kernel: 3.19.0-82-generic x86_64 (64 bit gcc: 4.9.2)        Desktop: Unity 7.3.2 (Gtk 3.14.13-0ubuntu1) dm: lightdm        Distro: Ubuntu 15.04 vivid     Machine:   System: HP product: HP Pavilion Notebook Chassis: type: 10        Mobo: HP model: 80AF v: 81.32        Bios: American Megatrends v: F.41 date: 09/19/2016     CPU:       Quad core AMD A10-8700P Radeon R6 10 Compute Cores 4C+6G (-MCP-) cache: 4096 KB        flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 14373        clock speeds: min/max: 1300/1800 MHz 1: 1600 MHz 2: 1300 MHz        3: 1600 MHz 4: 1300 MHz     Graphics:  Card: Advanced Micro Devices [AMD/ATI] Device 9874        bus-ID: 00:01.0 chip-ID: 1002:9874        Display Server: X.Org 1.17.1 drivers: fbdev,ati (unloaded: vesa,radeon)        Resolution: 800x600@75.0hz        GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.6, 128 bits)        GLX Version: 3.0 Mesa 10.5.9 Direct Rendering: Yes     Audio:     Card-1 Advanced Micro Devices [AMD] Device 157a        driver: snd_hda_intel bus-ID: 00:09.2 chip-ID: 1022:157a        Card-2 Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio        driver: snd_hda_intel bus-ID: 00:01.1 chip-ID: 1002:9840        Sound: Advanced Linux Sound Architecture v: k3.19.0-82-generic     Network:   Card-1: Realtek RTL8101E/RTL8102E PCI Express Fast        Ethernet controller        driver: r8169 v: 2.3LK-NAPI port: e000        bus-ID: 02:00.0 chip-ID: 10ec:8136        IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>        Card-2: Broadcom BCM43142 802.11b/g/n        driver: bcma-pci-bridge bus-ID: 03:00.0 chip-ID: 14e4:4365        IF: N/A state: N/A mac: N/A     Drives:    HDD Total Size: 1008.3GB (0.5% used)        ID-1: /dev/sda model: TOSHIBA_MQ01ABD1 size: 1000.2GB serial: 1685P1RBT temp: 36C        ID-2: USB /dev/sdb model: USB_DISK size: 8.1GB serial:    DISK-0:0 temp: 0C     Partition: ID-1: / size: 242G used: 4.6G (2%) fs: ext4 dev: /dev/sda5     RAID:      System: supported: N/A        No RAID devices: /proc/mdstat, md_mod kernel module present        Unused Devices: none     Sensors:   System Temperatures: cpu: 48.0C mobo: N/A        Fan Speeds (in rpm): cpu: N/A     Info:      Processes: 196 Uptime: 6 min Memory: 625.3/7364.8MB        Init: systemd v: 219 runlevel: 5 default: 2 Gcc sys: 4.9.2        Client: Shell (bash 4.3.301 running in gnome-terminal-)     inxi: 2.2.16


I've been reading about SQL injection attacks and how to avoid them, although I can never seem to make the "awful" examples given work, e.g. .  I created a PHP file and a table in the database, had a value passed through $_GET and tried to delete the table by doing bob'); drop table students; -- and it didn't work. PHP automatically escapes the \' and the query has an error, no harm done. Same issue when trying to replicate login "attacks" like AND WHERE 1=1 etc.  example code:  <?php $id = $_GET['id'];  $sql = "INSERT INTO Users (Username) VALUES ($id)"; echo $sql; mysql_query($sql) or die(mysql_error());   And I'd pass sql.php?id=1); delete from Users; --  So is this some dated thing that used to apply in the days of PHP3 or something, and nowadays even novices are protected from things like magic quotes?  I'm using PHP5 on Ubuntu.


How do I integrate $$\displaystyle \int \sqrt{a^2 - x^2}dx $$  It can be solved using trig substitution, but don't know how to solve.  Thank you.


How to put an Expectation symbol in IEEE Transanctions format?

I have already tried   \mathbb{E}  \begin{equation} \mathbb{E} \end{equation}   and   $\mathbb{E}$   What exactly is the way to do it?


Suggest the change of the default site icon

How is it possible to suggest a change to a default site icon? I noticed a lot of sites with a default one.


Half open intervals in a Borel $\sigma$-algebra

I am working on the exercise: prove that a right continuous function $\mathbb{R} \to \mathbb{R}$ is Borel measurable. I found that for every $x \in f^{-1}((a,b))$ we must have $$ [x, x + \delta_x) \subset f^{-1}((a,b)), $$ for some $\delta_x > 0$ depending on $x$. Consequently $$ \{ [x, x + \delta_x) \mid x \in f^{-1}((a,b)) \} = f^{-1}((a,b)). $$ I know that intervals are Borel measurable, but to prove that $f^{-1}((a,b))$ is measurable I would have to prove that $f^{-1}((a,b))$ is a countable union of such intervals. Could anybody give me a hint on how to do this?


Python error "ImportError: No module named"

Python is installed in a local directory.    My directory tree looks like this:  (local directory)/site-packages/toolkit/interface.py   My code is in here:  (local directory)/site-packages/toolkit/examples/mountain.py   To run the example, I write python mountain.py, and in the code I have:  from toolkit.interface import interface   And I get the error:  Traceback (most recent call last):   File "mountain.py", line 28, in ?     from toolkit.interface import interface ImportError: No module named toolkit.interface   I have already checked sys.path and there I have the directory /site-packages. Also, I have the file __init__.py.bin in the toolkit folder to indicate to Python that this is a package. I also have a __init__.py.bin in the examples directory.  I do not know why Python cannot find the file when it is in sys.path.  Any ideas?  Can it be a permissions problem?  Do I need some execution permission?


Evaluation of $\displaystyle \int \sec^3 (x)dx$

How Can I evaluate $\displaystyle \int \sec^3 (x)dx$  (Without Using Weierstrass Substution or Integration by parts.)  $\bf{My\; Try::}$ Let $\displaystyle I = \int\sec^3(x)dx = \int \frac{1}{\cos^3(x)}dx = \int \frac{1}{\sin ^3\left(\frac{\pi}{2}-x\right)}dx$  Now Let $\displaystyle \left(\frac{\pi}{2}-x\right) = t\;,$ Then $\displaystyle dx = -dt$. So $\displaystyle I = -\int \frac{1}{\sin^3 t}dt = -\int\frac{1}{2\sin^3\left(\frac{t}{2}\right)\cdot \cos^3 \left(\frac{t}{2}\right)}dt$  Now How can I solve after that  Help me  Thanks


"It is just enough" or "It just is enough"?

Where should I put the "Just" in a sentence? Before be or after be?     It is just enough.  or     It just is enough.


Inequality $\sum_{cyc} \sqrt{\frac{a}{a+8}} \geq 1$

Let $a$, $b$ and $c$ be positive real numbers such that $abc = 1$. Prove that    $$\displaystyle \sum_{cyc} \sqrt{\frac{a}{a+8}} \geq 1.$$   I have tried using some substitutions but still cannot do it. Please suggest.


I was given  as an audit to 'first question' asked by a user. I wrote a (rather lengthy) comment that the question could be structured better by first stating the topic and the intent or question in words and asking how the follow-up conditions relate to it, and then giving the well-worded example(s) as they are. Then clicked "I'm done" - however I failed the audit - why? I stand by my asessment that the structure of the question is not ideal - despite it being a good question with all necessary information.  As such I'm not sure it's a good audit question.


Variance of a Cumulative Distribution Function of Normal Distribution

Suppose, $X\sim N(\mu,\sigma^2)$.   Can anyone help in finding the following : $\text{Var } \bigg(\Phi\big(\frac{X + c}{d}\big) \bigg)$ ? Here, c and d are positive.  Here, $\Phi(x)$ is the "Cumulative Distribution Function" of the above-mentioned normal distribution.  Thanking you in advance.


using 12v battery charging by 20w solar pannel, can i use 12 v directly plug in to my 12v 1A router without its adepter?

In my home i have installed solar pannel in 9 years ago. (20W pannel, 12V Solar Battry 35 A, 20Hr). Where my battry is almost dead but still it is working.we can use its 8w load to max 3hrs. But in day time its work good.  So my question is, i have 12V 1A router, that i want to utilize it during power cut. But when i measure voltage its quite fluctuating from 12.3V to sometime 15V. Is it good idea to connect it directly without its adapter?  And the interesting part is i am posting this, using this method. I am afraid to blow mg router at this time.  I have no inverter, so i did cut the wire from adapter and connect it directly to router.  Please expert explain what is the better option. Please help me to sove the provlem.   Will it blow my router? How do i stabilize its voltage to 12v constantly. Can i use my 1250VA UPS for this solar battery? Can I replace Car battery to solar battery in my existing home solar pannel?


Two passports, questioned by immigration?

I was born in South Africa, and have been living since. My dad is British, hence I am able to apply for a British passport because I am also a British citizen (dual citizen). My first British passport just arrived to my home in South Africa.  If I were to leave Cape Town for London, showing my British passport, will the immigration stop me because there isn't any record on my British passport, "leaving" tje UK, so how could I enter the UK?


I want to install the newer 4.8 version of gcc, and when I searched for a solution i found . But when trying to use the solution I ran into a quite annoying problem:     sudo add-apt-repository ppa:ubuntu-toolchain-r/test      sudo apt-get update   work like a charm (or at least they don't complain)     sudo apt-get install gcc-4.8   results in (sorry for the german, but maybe the format of the message triggers some memories, therefore I did not just post my translation):     Einige Pakete konnten nicht installiert werden. Das kann bedeuten,   dass Sie eine unmögliche Situation angefordert haben oder, wenn Sie   die Unstable-Distribution verwenden, dass einige erforderliche Pakete   noch nicht erstellt wurden oder Incoming noch nicht verlassen haben.   Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu   lösen:      Die folgenden Pakete haben unerfüllte Abhängigkeiten:   gcc-4.8:i386 : Hängt ab von: cpp-4.8:i386 (= 4.8.1-2ubuntu1~12.10.3) soll aber nicht installiert werden             Hängt ab von: binutils:i386 (>= 2.22) soll aber nicht installiert werden              Hängt ab von: libgcc-4.8-dev:i386 (= 4.8.1-2ubuntu1~12.10.3) soll aber nicht installiert werden             Hängt ab von: libc6:i386 (>= 2.11) soll aber nicht installiert werden             Hängt ab von: libcloog-isl4:i386 (>= 0.17) soll aber nicht installiert werden             Hängt ab von: libgmp10:i386 soll aber nicht installiert werden             Hängt ab von: libisl10:i386 (>= 0.10) soll aber nicht installiert werden             Hängt ab von: libmpc2:i386 soll aber nicht installiert werden             Hängt ab von: libmpfr4:i386 (>= 3.1.0) soll aber nicht installiert werden             Hängt ab von: zlib1g:i386 (>= 1:1.1.4) soll aber nicht installiert werden             Empfiehlt: libc6-dev:i386 (>= 2.13-0ubuntu6) soll aber nicht installiert werden        E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.   Which is basically saying (giving: a rough translation):     There are some packages which cannot be installed. Meaing, that there   is a situation where you are using a unstable distribution therefore   some packages are not made or did not leave incoming yet. The   following information may help you to find a solution      The following pacakges have unresolved dependencies:  gcc-4.8:i386 : depends on: cpp-4.8:i386 (= 4.8.1-2ubuntu1~12.10.3) shall/may not be installed   ...and so on, as the text is the same i hope i do not have to copy paste it       E: Occuring Problem could not be managed, you got reserved damaged packets.   Further information on my System:     uname -a      Linux name 3.5.0-28-generic #48-Ubuntu SMP Tue Apr 23 23:03:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux      cat /etc/lsb-release        DISTRIB_ID=Ubuntu       DISTRIB_RELEASE=12.10      DISTRIB_CODENAME=quantal       DISTRIB_DESCRIPTION="Ubuntu 12.10"


In my text, I am given that the sum of the first n positive integers can be understood in terms of big-O notation.   ''Since each of the integers in the sum of the first $n$ positive integers does not exceed $n$'', we can write:  $$1 + 2 + \cdots + n \leq n + n \cdots + n= n^2$$  Why does $n + n +\cdots + n = n^2$ ?


Terminal showing 192 instead of computername

I have a situation in which sometimes when I launch Terminal instead of showing:  computername:~ user$   It instead shows:  192:~ user$   I've already found that the questions  and   are both very closely related to mine. However the solutions placed the origin of the 'problem' at using Xcode or a double internet connection (Wi-Fi + wired).   I have Xcode installed but haven't used it for quite some time. Also, I'm only using a Wi-Fi connection.   So, what could cause Terminal to sometimes display my computername correctly and sometimes only display 192 instead of it?


Is MySql's LAST_INSERT_ID() function guaranteed to be correct?

When I do a single row INSERT to a table that has an AUTO_INCREMENT column I'd like to use the LAST_INSERT_ID() function to return the new AUTO_INCREMENT'ed value stored for that row.  As many Microsoft SQL Server devs and admins no doubt are aware the equivalent functionality in SQL Server (SCOPE_IDENTITY and @@IDENTITY) hasn't been .  I know the MySQL docs state:     The ID that was generated is maintained in the server on a per-connection basis. This means that the value returned by the function to a given client is the first AUTO_INCREMENTvalue generated for most recent statement affecting an AUTO_INCREMENT column by that client. This value cannot be affected by other clients, even if they generate AUTO_INCREMENT values of their own. This behavior ensures that each client can retrieve its own ID without concern for the activity of other clients, and without the need for locks or transactions.     and even go so far as to say:     Using LAST_INSERT_ID() and AUTO_INCREMENT columns simultaneously from multiple clients is perfectly valid.     Are there any known risks or scenarios that may cause LAST_INSERT_ID() not to return the correct value?  I'm using MySQL 5.5 on CentOS 5.5 x64 and Fedora 16 x64 and the InnoDB engine.


Differentiate between past and present just by pronunciation when word is followed by d- or similiar sound

How can we distinguish, for example, these two sentences just by listening to the pronunciation?        They first kill the trees.   They first killed the trees.      When pronouncing kill the trees, we have one [d] that is for the. When pronouncing killed the trees, we have two [d] that is for killed and the.  Native speakers pronounce both sentences so that we just hear one [d], so we don't know  the tense by pronunciation in these cases. Am I right?  Is there any special stress or extension of a sound that signals the difference between them?


I'm using py2exe to turn my python script (python 2.7.6) into an exe.  Here's my script:  name = raw_input("What is your name? ") print "Hello " + name + "!"   It's a simple script, for testing purposes. I'm using the following setup file:  from distutils.core import setup import py2exe  setup(console=['hello_name.py'])   This is all straight off the py2exe website. The problem I found here is that the exe produced is dependent upon the other files in the same folder. I'd like to produce a single .exe file which i can share with other people (like non-computer savy family members who don't have python installed).  How can I use py2exe to produce one exe file? I've seen other questions about this, but they are all too confusing/non-descript to help. I've used others which have resulted in errors.  If someone can show me a full setup.py file which will work instead of a line that would be very helpful.


Prove that $\lim_{n\to \infty} (a_1a_2\ldots a_n)^{\frac 1n} = L$ given that $\lim_{n\to \infty} (a_n) = L$

Let $\{a_n\}$ be a sequence of positive numbers such that $\lim_{n\to \infty} a_n = L$. Prove that $$\lim_{n\to \infty} (a_1a_2\ldots a_n)^{\frac 1n} = L$$  (Also given HINT: Let $a>0$. Then $\lim_{n\to\infty} a^{\frac 1n}=1$) What I have so far:  $$\text{Let}\:\epsilon>0.\:\text{Then}\;\exists\;N\in\mathrm{I}\!\mathrm{N}\;\text{such that}\;n\ge N.$$$$\text{Then}\;L-\epsilon\lt a_n \lt L + \epsilon$$ $$\text{Let}\; b_n =(a_1a_2\ldots a_n)^{\frac 1n} \text{for}\; n\ge N$$ $$\text{Now}\;b_n = (a_1a_2\ldots a_N)^{\frac 1n}(a_{N+1}\ldots a_n)^{\frac 1n}$$ I am struggling with how to use the given hint and maybe limit superior/inferior facts to prove the limit is L. Any tips would be greatly appreciated. Also this is my first time using MathJax so please let me know if I have made any mistakes. Thank you.    EDIT: I'm looking specifically on how to prove it using $\limsup$ or $\liminf$ properties!


anyone speaking romanian here?/Cineva care vorbeste limba romana pe aici?Primesc o eroare cand incerc sa instalez wine in ubuntu 18.04

Citire liste de pachete... Terminat Se construiește arborele de dependență        Se citesc informațiile de stare... Terminat Unele pachete n-au putut fi instalate. Aceasta ar putea însemna că ați cerut o situație imposibilă sau că folosiți distribuția instabilă în care unele pachete cerute n-au fost create încă sau au fost mutate din Incoming. Următoarele informații ar putea să vă ajute la rezolvarea situației:  Următoarele pachete au dependențe neîndeplinite:  wine-stable : Depinde: wine-stable-i386 (= 5.0.0~bionic)                Depinde: wine-stable-amd64 (= 5.0.0~bionic) dar nu este pe cale să fie instalat E: Nu pot corecta problema, ați ținut pachete deteriorate.


I have a muslim sounding name. But I was born to a christian family and I consider myself an atheist. I have been trying to get fellowship in Canada. Will mentioning my religion in the CV help?


Show bigger amplitude of physical pendulum means bigger period

Suppose you have a physical . It is true that as amplitude increases, the period increases. Can we demonstrate this fact without explicitly finding the period (which is pretty involved and pretty messy) in:    an intuitive fashion,  rigorously?


A question on Hartshorne Chapter III Proposition 2.6

When I read Hartshorne, I saw the Proposition 2.6 in Chapter III as follows:     Let $(X,\mathcal{O}_X)$ be a ringed space. Then the derived functors of the functor $\Gamma(X,-)$ from the category of $\mathcal{O}_X$-modules to the category of abelian groups coincide with the cohomology functors $H^{i}(X,-)$.     I am pretty confused here because I think it is just the definition of cohomology functor... Why should we bother to use the result about the flasque sheaf and acyclic resolution to prove this?   So I must miss something important and obvious. Please point it out. Thanks!


I have these codes at the moment:  >  <?PHP >                                    >                                   if(isset($_POST['update'])) {  >                                   $ts=$_POST['ts']; >                                   $user=$_POST['user']; >                                    >                                   mysql_query("UPDATE users SET block_newfriends='$ts' WHERE username='$user'") or die(mysql_error()); >                                   echo '
'; >                                   echo '
'; >                                   echo 'text here
'; >                                   echo '
'; >                                   echo '
'; >                                   } >                                   ?>   and:  <?php                                             $query = "SELECT * FROM users WHERE id = '".$_SESSION['user']['id']."'";                                             $result = mysql_query($query);                                             $row = mysql_fetch_array($result);                                             $x1 = $row['block_newfriends'];                                             $ch1[$x1] = "checked";                                             echo "text here                                             ";                                             ?>   As you can see, it includes PHP. But i'm not sure if it's safe against any hacks like SQL injection or XSS. Do I need to put a mysql_real_escape_string and if yes, where exactly?


Is this ironic? and if not what is it called?

Someone is so fat they cant bend down to pick up a bag of food that lies at their feet and then as a result end up dying of starvation


How do I install nVidia graphics drivers from "X-Swat" ppa?

How am I supposed to install nvidia drivers from X-Swat? I try  sudo add-apt-repository ppa:ubuntu-x-swat/x-updates -y sudo apt-get update sudo apt-get install nvidia-graphics-drivers-304   and I get  E: Unable to locate package nvidia-graphics-drivers-304   The  says there is nvidia-graphics-drivers-304 for trusty, why wouldn't it install?


When are sidecar AAE files created in a Mac?

I'm trying to figure out how the Photos app works.  I had the idea that each time you start to edit a photo, a sidecar (AAE) file is created.    However, I edited several photos and I couldn't find any AAE files created.  Where are the sidecar files that should have been created?  I'm searching AAE files with a Terminal search: find / -type f -iname *.aae 2>/dev/null  Any help much welcome.


Sci-fi show plot where people are killed in war based on a calculation

A piece I was reading on just war brought to mind a plot of a sci-fi show (I believe it was a show, e.g., Star Trek, rather than a movie or book).  In this storyline, opposing warring parties would kill a certain number of their opponents troops (and maybe civilians?) based on calculations (possibly a war game scenario) in an antiseptic environment (i.e., the killing was never seen).  I believe that the resolution came when the warring leaders were forced to confront each other physically.  Can anyone help me nail this show down?  Thanks in advance.


Does 'many a' take a singular pronoun or a plural one?  Many a is followed by a singular noun. So also does it follow a singular pronoun?


Using a single coordinates variable to select center in Google Maps JavaScript API

I have a variable called coordinates that is formatted like this:  var coordinates = 'lat / lon';  I now want to extract the single lat and lon coordinate from that variable to display it as the center in a Google Maps API Map. I have tried using slice to get the specific parts of the coordinates variable but depending on what coordinate it is the length is different, for example:  var coordinates = '49.7824 / 7.2413'; var coordinates = '8.5323 / -11.3336';  Is there any other way I could use those coordinates as the map center with the Maps API?


Rearrangements that never change the value of a sum

Which bijections $f:\{1,2,3,\ldots\}\to\{1,2,3,\ldots\}$ have the property that for every sequence $\{a_n\}_{n=1}^\infty$, $$ \lim_{n\to\infty} \sum_{k=1}^n a_k = \lim_{n\to\infty} \sum_{k=1}^n a_{f(k)}, $$ where "$=$" is construed as meaning that if either limit exists then so does the other and in that case then they are equal?  It is clear that there are uncountably many of these.  Might it just be that $\{f(n)/n : n=1,2,3,\ldots\}$ is bounded away from both $0$ and $\infty$?  These bijections form a group.  Can anything of interest be said about them as a group?  PS: Here's another moderately wild guess (the one above appears to be wrong): Might it be just the bijections whose every orbit is finite?


Can all flavours of Ubuntu 16.04 run the same programs?

So I've a feeling this is a very noob question but...   Is the only difference between flavors of Ubuntu the graphical interfaces and installed packages? Will they all be equally capable of running 3rd party programs, i.e. Chrome, Dropbox, Android Studio, Steam, etc?  I've a new PC on which I live tested Ubuntu 16.04 and it runs fine. However, I don't care for Unity and if Xubuntu/Lubuntu are lighter weight does that just mean I'm just sacrificing visuals for performance? Ubuntu 16.04 is the commercial release(?) so is its specific set-up just a little more reliable? Don't quite get Linux yet,there's so much choice I'm confused!


How do I add X days to date and get new date?

I  have Linux ( RH 5.3) machine  I need to add/calculate 10 days plus date so then I will get new date (expiration date))  for example   # date   Sun Sep 11 07:59:16 IST 2012   So I need to get        NEW_expration_DATE = Sun Sep 21 07:59:16 IST 2012   Please advice how to calculate the new expiration date ( with bash , ksh , or manipulate date command ?)


What is implied by a temporary ability bonus?

What is implied by a "temporary ability bonus"?  I've noticed this wording on all of the stat boosting items in the core book.     Treat this as a temporary ability bonus for the first 24 hours the headband is worn.   From:   What is different about the effects of the item on the first twenty four hours, and why does this caveat matter?


Complete Statistic: Uniform distribution

Take a random sample $X_1, X_2,\ldots X_n$ from the distribution $f(x;\theta)=1/\theta$ for $0\le x\le  \theta$.  I need to show that $Y=\max(X_1,X_2,...,X_n)$ is complete.  Now, I know I should multiply the sample distribution of $Y$ and multiply it with a function of $Y$, then integrate over the range of $\theta$ and equate them to zero. But how do I get the sampling distribution of $Y$?


I'm using PCA for the first time and just experimenting with it. I used PCA on my dataset that can be found    wine <- read.csv("wine_nocolor.csv") wine1 <- wine[2:13] pca <- princomp(wine1[1:11], cor=TRUE) biplot(pca)   produces this plot  Questions   How would I interpret the above graph? My aim is to apply dimension reduction to see which attributes can be taken out while not losing meaning of the data. How can I do this with PCA?


Identity for a sum of binomial coefficients

I am trying to prove the following identity: \begin{equation} \frac{1}{n} \sum_{i=0}^{n-m} \frac{n-m\choose i}{n-1 \choose k+i} = \frac{1}{m {m-1 \choose k}}, \end{equation} where $0 \leq k \leq m-1, 1 \leq m \leq n$, and $k,m,n$ are all integer valued. It is straightforward to see that this holds for $m=n$, but I don't see how I can generalize this. I have programmed the functions and verified that it indeed holds for any legal combination of $m, n$ and $k$. A puzzling thing about this identity is that the RHS does not involve $n$ at all. This makes me think that I could rewrite the LHS in some way. Proving this by induction seems difficult as the summand changes. I have also looked for known identities for binomial coefficients and sums of binomial coefficients, but have not figured out how to apply any of those in this case with a binomial coefficient in the denominator. () Any ideas?


How to create a Python class method that can use but doesn't require an extra argument

My brief requires me to create a method that 'accepts an amount and description. If no description is given, it should default to an empty string. The method should append an object to the ledger list in the form of {"amount": amount, "description": description}.' I have therefore created this function:  def deposit(self,amount,description):    if description == "":      newdict = {"amount":amount,"description":""}      self.ledger.append(newdict)    else:      newdict = {"amount":amount,"description":description}      self.ledger.append(newdict)  However, the test clothing.deposit(25.55) clearly only uses one argument, the amount, and expects me to leave a blank description, but as is it returns the error TypeError: deposit() missing 1 required positional argument: 'description'. But if a description is required I also have to be ready to use it,  How do I setup my method so it can use the extra argument, description, but if it isn't given it can safely ignore it.


Saying that refers to not going overboard in solving a problem when a simple solution exists

So I know I've heard this saying in American English before but I just can't quite find the original.  I have come up with several made up variations like:   I don't send the Navy (or whole army, or a battalion) when all you need is a diplomat. Don't buy the whole cow when all you need is milk.   What's the more commonly heard saying/phrase for this of expression?


I want to get the email address of everyone I've had a conversation with over the last year

I want to send a newsletter using MailChimp to everyone I've had an email conversation with over the past year.  What is the best way to export their email addresses?  I only want people I've gone back and forth with (I've sent them at least one email and they've sent me at least one email).  I'm on a Mac and can use Apple Mail if that helps.


What is the procedure to load LAS files in QGIS 2.0.1?

What is the present procedure to load LAS files in QGIS 2.0.1?  After some searching I found a paper outlining the procedure; however, it was for 1.8.something, and related posts here are all rather dated.


Pass ORDER BY columns as Parameters in SQL

I have built a Stored Procedure that takes input parameters and returns a result set so that I can consume it for Reporting Services. However, the user wanted to choose the ORDER BY columns of their choice. So, I tried something like this:  CREATE PROCEDURE [dbo].[usp_RevenueReport]  (@ProductNumber INT,  @ProductName VARCHAR(MAX),  @ProductType VARCHAR(MAX), @SortColumns VARCHAR(MAX))      SELECT [ProductNumber],     [ProductName],      [ProductType]     FROM [dbo].[Products]     WHERE [ProductName] IN (SELECT value FROM STRING_SPLIT(@ProductName, ',')  WHERE RTRIM(value) <> '')      AND [ProductType] IN (SELECT value FROM STRING_SPLIT(@ProductType, ',')  WHERE RTRIM(value) <> '')     ORDER BY (SELECT value FROM STRING_SPLIT(@SortColumns, ',')  WHERE RTRIM(value) <> '');   It is throwing an error when I pass multiple columns for sorting. How can I sort based on what I pass?     Msg 512, Level 16, State 1, Line 1 Subquery returned more than 1   value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.   Here is my environment: Microsoft Azure SQL Data Warehouse - 10.0.10887.0 Jan 23 2020 07:36:54 Copyright (c) Microsoft Corporation


Fix Accessibility of the sites on the leagues (and other pull downs that share the same code path) please

The  site picker seems to be ordered on-site statistics instead of alphabetically:  This makes it very hard to find Photography, Physics, and Philosophy (for example) since they are nowhere near each other in the list. I’m open to a better solution, but as it stands, this feels a little too user-hostile to assume everyone is only interested in the first 3 to 5 top visible hits in the ordered list.  Scanning pages of unorganized contents is not optimal Keyboard input should filter and not just jump around  It also breaks accessibility when someone wishes to access the list from a keyboard (or a slower input control) as opposed to a mouse and visually.


This is a new idea for me and I have struggled understanding Kant. How does Kant substantiate the noumenal world? ..Also, is their an online text or online video someone can reference me to that further dives into the noumenal world?


I was uninstalling python which probably removed other packages from that directory. When I reboot, it won't show Ubuntu logo while booting and I'm stuck at black screen which says one line starting /dev/sda9 and some blocks. I can get into tty1,tty2 and tty3 though. I tried sudo update but it gives 403 forbidden IP error


What's the best way to go about validating that a document follows some version of HTML (prefereably that I can specify)? I'd like to be able to know where the failures occur, as in a web-based validator, except in a native Python app.


Does the variable order matter in linear regression

I'm investigating interplay between two variables ($x_1$ and $x_2$). There is a great deal of linear correlation between these variables with $r>0.9$. From the nature of the problem I cannot say anything about the causation (whether $x_1$ causes $x_2$ or the other way around). I would like to study deviations from the regression line, in order to detect outliers. In order to do this I can either build a linear regression of $x_1$ as a function of $x_2$, or the other way around. Can my choice of variable order influence my results?


Should a function have only one return statement?

Are there good reasons why it's a better practice to have only one return statement in a function?   Or is it okay to return from a function as soon as it is logically correct to do so, meaning there may be many return statements in the function?


In the  episode  (S04E08), Barristan Selmy is presented with a Royal Pardon supposedly signed by the late Robert Baratheon for Ser Jorah Morment by a lowly boy of Meereen.  However, it is a bit confusing to me as where this actually came from.  Is this the same pardon that Jorah had towards the beginning of the series while Robert was actually alive, or is this pardon one that Tywin actually forged and wrote in a previous episode (remember he asks Mace Tyrell for a quill after learning about Dany's recent actions and allies).  It being from Tywin makes sense but this point is brought up by Jorah and then defeated a sentence later as he himself states it is not a forged Pardon.    So which is it and why would Jorah say it is not a forged copy if it indeed is?


Why does it say this is not a minecraft skin silly?

When I press on the "custom" skin then select one of my minecraft skin WHY DOES IT ALWAYS SAY "this is not a minecraft skin, silly". It is really frustrating because everyone has all these awesome and pretty skins and im stuck with boring Alex skin =(


Simplification Tolerance value field is missing from Simplify Polygon tool of ArcGIS for Desktop?

Trying to run Simplify Polygon (Cartography -> Generalization) tool in ArcGIS 10.2 (ArcInfo License).    I ran the tool successfully once, then tried again on a new polygon, but the simplification tolerance value field is missing...so running the tool results in an error that the missing value is required.    I tried restarting ArcMap but the field is still missing.    Is this a bug in the software or has anyone else had a similar experience?


Consider the set $F=\{f:\mathbb C\to\mathbb C\mid f\text{ is an entire function, }|f'(z)|\leq|f(z)|\text{ for all }z\in\mathbb C\}$. Then which of the following are true?  $F$ is a finite set  $F$ is an infinite set  $F=\{\beta e^{\alpha z}\mid\beta\in\mathbb C,\;\alpha\in\mathbb C\}$  $F=\{\beta e^{\alpha z}\mid\beta\in\mathbb C,\;|\alpha|\leq1\}$    My attempt: I take $f(z)=2$ then option $2$ is discarded and when I take $f(z)=\exp(z)$ then option $1$ is also discarded. But I'm not know how to solve it by a general method. Please help me.


“Think+Noun+good luck” vs “Think + Noun+ is good luck”

I saw a question on Quora recently which asked about the grammar of the following sentence:  “The British think ravens good luck”  Interestingly, most answers weren't familiar with this structure but one person explained it as ellipsis (‘the British think ravens are good luck’). I wonder what everyone thinks of this answer. Is it ellipsis or is it perhaps an archaic usage or maybe linked to a French grammatical structure popular in past times?


I want to give a Fedora user sudo privileges. How do I do that?


“Switch sites” on data.stackexchange.com: icons and labels for SO and Meta SO are wrong

When running a stored query on data.stackexchange.com, one can select the StackExchange site to which the query should apply. This functionality is provided by a little search field with a text input that provides a “live search” for the SE sites.  When entering stacko in this field, I get (among others) the results Stack Overflow and Meta Stack Overflow. So far, so good.  But: When I select “Meta Stack Overflow”, the (colored) “Stack Overflow” icon appears, and the icon hover text says “Stack Overflow”. The query, however, is applied to “Meta Stack Overflow”. It's the same the other way round; selecting “Stack Overflow” shows the icon and label text for Meta, while the query refers to Stack Overflow.  I hope I'm not the only one to experience this. If more details should be required, please let me know.  (By the way, small UI feedback: The site selection field should probably be above the submit button, as it's an element of the form to be submitted.)


How did they see the effects of the superweapon in Star Wars?

So, they have the Starkiller. Big bang, faster than lightspeed superweapon that blows up planets. Ok. Fine.   But how do they see it?      The good guys are standing on the surface of a planet and look up and see the big red glow and boom.   So were they in the same solar as the target? Was there some other effect letting them see it at FTL speeds? Has no-one making the film heard of the speed of light?


The security database on the server does not have a computer account for this workstation trust relationship

I have a Server 2008 machine called OTTO I recently, by mistake, booted up an old machine, also called OTTO (the hardware was unstable, so the new one was set up to take it's place)  I shut down the old machine, turned it off, and recycled it (it won't ever be back on)  Now, whenever i try to log in to the real OTTO with the domain account (mydomain\Administrator) i get the following error:     The security database on the server does not have a computer account for this workstation   What can I do to fix this?  It doesn't appear in active directory any more I've added it, but I'm guessing this had no effect, due to a different SID  I can log in as the local administrator however


Finding all subgroups of Direct product of groups

I'm having a hard time finding when I left a subgroup out.  For example, lets take $G=\mathbb{Z}_2 \times  \mathbb{Z}_4.$  Subgroups:  $s_1:$$\langle(0,0)\rangle$  $s_2:$$\langle(0,1)\rangle=\{(0,0),(0,1),(0,2),(0,3)\}$  $s_3:$$\langle(0,2)\rangle=\{(0,0),(0,2)\}$  $s_4:$$\langle(0,3)\rangle=\{(0,0),(0,3),(0,2),(0,1)\}=s_2$  $s_5:$$\langle(1,0)\rangle=\{(0,0),(1,0)\}$  $s_6:$$\langle(1,1)\rangle=\{(0,0),(1,1),(0,2),(1,3)\}$  $s_7:$$\langle(1,2)\rangle=\{(0,0),(1,2)\}$  $s_8:$$\langle(1,3)\rangle=\{(0,0),(1,3),(0,2),(1,1)\}=s_6$  By looking at this I'd say all the subgroups are here, but for this $G$ there is also the subgroup $\mathbb{Z}_2 \times  2\mathbb{Z}_4$. How should I know that?  If I take some other examples like $\mathbb{Z}_3 \times  \mathbb{Z}_4$ or $ \mathbb{Z}_3 \times  \mathbb{Z}_3$, the type of "list" I made is enough to determinate all the subgroups.


Does disk partitioning impact performance?

I will soon buy a 4 TB HDD and I am wondering if I should split it since it has so much space. My question is: will doing this affect my computer's performance? If I would keep everything in one disk, would it get slower when I use up about 3.9 TB of space?


Biblatex citation and bibliography won't display

My LaTex compiler is MiKTeX 2.9 (64-bit) on Windows 10. The front-end I'm using to build my document is  . I downloaded the Biblatex back-end Biber, but later found it was already installed within the following path: C:\Program Files\MiKTeX 2.9\miktex\bin\x64 The tex file I'm building "main.tex" along with its bibliography "source.bib" are located within the same path, a folder named "project". The file "main.tex" has: documentclass{article}  \usepackage[backend=biber, style=mla, citestyle=authortitle-terse, sorting=nty]{biblatex}  \addbibresource{source.bib}  \begin{document}  Some paragraph here \cite{thisref}.  \printbibliography  \end{document}  The file "source.bib" has: @book{thisref, title={A very long title}, author={Name LastName}, publisher={Random publisher}, year={3000}, shorttitle={Long title} }  In Texmaker "Run" is set to "Quick Build" and "View" is set to "View PDF". When I click on "Run" the pdf shows only this:  Some paragraph here thisref  Why is the citation displayed wrong? Why isn't the bibliography showing?


Every time when I update or add something it comes up with error 404 and cancels the update $ sudo apt-add-repository ppa webcamstudio webcamstudio-stable  This is the Stable Builds PPA of WebcamStudio.  The packages here are considered stable, so you can safely install them and use them as needed.  For more info visit the WebcamStudio project page here on Launchpad (launchpad/webcamstudio). Or you can visit WebcamStudio's homepage: sourceforge/projects/webcamstudio  More info: httpslaunchpad/~webcamstudio/+archive/ubuntu/webcamstudio-stable Press [ENTER] to continue or Ctrl-c to cancel adding it.  Hit:1 dl.google/linux/chrome/deb stable InRelease Hit:2 ppa.launchpad/hsheth2/ppa/ubuntu focal InRelease               Hit:3 security.ubuntu/ubuntu focal-security InRelease                Ign:4 ppa.launchpad/tehtotalpwnage/ppa/ubuntu focal InRelease        Ign:5 ppa.launchpad/webcamstudio/webcamstudio-dailybuilds/ubuntu focal InRelease Err:6 ppa.launchpad/webcamstudio/webcamstudio-stable/ubuntu focal InRelease   403  Forbidden [IP: 91.189.95.83 80] Ign:7 ppa.launchpad/webupd8team/java/ubuntu focal InRelease Err:8 ppa.launchpad/tehtotalpwnage/ppa/ubuntu focal Release   404  Not Found [IP: 91.189.95.83 80] Hit:9 au.archive.ubuntu/ubuntu focal InRelease                 Hit:10 u.archive.ubuntu/ubuntu focal-updates InRelease        Hit:11 au.archive.ubuntu/ubuntu focal-backports InRelease Err:12 ppa.launchpad.net/webcamstudio/webcamstudio-dailybuilds/ubuntu focal Release   404  Not Found [IP: 91.189.95.83 80] Err:13 ppa.launchpad/webupd8team/java/ubuntu focal Release   404  Not Found [IP: 91.189.95.83 80] Reading package lists... Done                       E: Failed to fetch ppa.launchpad/webcamstudio/webcamstudio-stable/ubuntu/dists/focal/InRelease  403  Forbidden [IP: 91.189.95.83 80] E: The repository 'ppa.launchpad/webcamstudio/webcamstudio-stable/ubuntu focal InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'ppa.launchpad.net/tehtotalpwnage/ppa/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository ppa.launchpad.net/webcamstudio/webcamstudio-dailybuilds/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository >'ppa.launchpad.net/webupd8team/java/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.


What's a good strategy to prepare my hosting for a huge spike in traffic?

A regular small website doesn't need dedicated high powered servers on a daily basis for hosting. But cheap $10-$20 a month hosting will probably cripple fairly quickly under a traffic spike.   What is a good financially responsible strategy to be able to prepare to handle a huge (and potentially temporary) spike in traffic without crippling a website?


Why are journals used in modern scientific academic research?

I am new to research and I have yet to internalize the concept of journals and their utility in archiving scientific literature.  Almost all the papers I have read recently are from this website called . Arxiv calls itself to be a preprint archive. Anyone can upload a PDF file to the repository and it counts as a valid research. Large companies like Google and Facebook post all their research here. The research is peer reviewed, It does not have the tyranny of a fixed format and the publishing is instantaneous unlike journals which are painfully slow. It is also open access and unlike open access journals it does not cost a fortune to publish a paper.  My question is, why were journals used to begin with? Why are they used now?   I have heard some people say that if a paper is not published in a  journal then it does not have any value. Then why are so many people publishing here? As far as I know citations from arxiv are picked up by google scholar.   EDIT: Ok, so the entire system is a huge mess.


Recently, I've become interested in hyperoperations. I wondered what the equation y=x tetrated by x (x[4]x), which is the same as x pentated by 2 (x[5]2), would look like on a graph. To do this, though, would mean to tetrate a number by a non-integer value, and everywhere I've looked has just come up by saying that there just isn't any known way to compute this.   For a moment I tried to figure out a way but the properties of previous hyperoperations just don't carry over to tetration.  It's weird to me that this can be done with addition, multiplication, and exponentation but no further. Maybe we're just not used to looking at it in a certain way, I don't know, I'm not experienced in maths, I'm just curious.  Mainly, I just want to know if there is any/what research is being done on tetrating a number by a non-whole number/fraction. Or if there is any proposed way to calculate an answer to one of those problems.  Thanks in advance.


Editing posts that contain salutations or other edits that could be considered "minor"

There are numerous posts on meta about editing questions with    Thank you. Thanks in advance Thank you, Sean Please help me!! im such a noob sorry for takin ur time   and many of them seem to conflict each other.  In my opinion, these edits are not too minor, even if that is the only thing wrong with the post. We shouldn't have a conditional policy "If there's nothing else worth editing, it's better to leave it alone" because then it sets an example to new users that it is OK to add such lines to their posts, and propagates confusion about what edits to allow and reject. I do agree if the post needs help in other areas, then simply removing "thanks" is too minor.  There seems to be a lot of confusion about whether these edits are acceptable, because I am continually rejected when making such edits. Of course, I edit the rest of the post if it needs it, but if the post is otherwise acceptable in its current form, then that is the only edit I make.  There needs to be some concrete and clear answer as to when these edits are acceptable.   See also:   My conflicting and confused experiences:           Note also: There are even scripts implemented to get rid of this garbage, but they are not perfect, and editors should be able to finish the job.


is there a way to request a new tag be created?

Possible Duplicate:          I do not have sufficient reputation on any site to create new tags, but I do on occasion find myself in need of a tag that does not exists.  Is there a feature that allows for a person with sub-1500 reputation to request a new tag?


Safety question for defrosting and refreezing chicken breasts

I want to defrost a bulk bag of boneless chicken breasts....while they are still VERY cold I want to marinade them and refreeze to use in a few days and have them already in the marinade to save me time....can i do this without a problem? The marinade has EVOO and lemoin juice, and spices.


Expectation of Exit Time of Brownian Motion from Interval

I am trying to solve the following:  Let $W_t$ be a brownian motion and $a,b >0.$  Define $\tau$ to be the exit time of $W_t$ from $[-a,b]$, that is $$\tau = \inf\{t \ge 0\ :\ W_{t}(\omega) \notin [-a,b]\}.$$  Show that $\tau$ is integrable and compute $\mathbb{E}(\tau)$.  I have seen this stated without proof multiple places that $\mathbb{E}(\tau)=ab.$  What is the logical argument that backs up this statement?  How are we guaranteed $\tau$ is integrable?


How to prove that either $2^{500} + 15$ or $2^{500} + 16$ isn't a perfect square?

How would I prove that either $2^{500} + 15$ or $2^{500} + 16$ isn't a perfect square?


Following regex comparison is failing, Please suggest what could be the reason.  std::string pattern = "(ABC '.*' and '.*' DEF)"; std::string val     = "(ABC '&' and '|' DEF)";  try {     boost::regex re(pattern, boost::regex::extended);     if(boost::regex_match(val, re))         cout << " matched"<< std::endl;     else         cout << " no match " << std::endl; } catch(...) {     cout << " Exception" << std::endl; }   O/P --  no match  Pattern matches successfully with POSIX regex(regcomp) but with TCL regex also pattern doesn't match.  Please suggest what could be the reason.


Why can't I become Master of the Thieves Guild?

I did the 4 'special' quests (Imitation Amnesty, Silver Lining, Summerset Shadows, and The Dainty Sload) and even after that I did the Khajit quest thing that was given by Tonilia. I have the guild armor (some said that would be an issue), I have done well over 150 small jobs from Vex and Delvin but I'm still waiting for the quest to become Guild Master to pop up but it's not. Please tell me what I'm doing wrong and what I can do to fix the problem without losing my save files.


What is causing this error which I think has something to do with fonts?

When I run  \documentclass{article} \begin{document} Aaaaaa aaaaa aajcaaaaaa $a:A_{aa}\to a_a$a$\ge$ aaaaaaaaaaaaaaaaaaaaaa  $a_a\dots\to$ \end{document}   the build output contains the following line:  LaTeX-Result: 1 Error(s), 0 Warning(s), 1 Bad Box(es), 1 Page(s)   When I click on Next Error, it points in the build output to the line starting with ! in the following paragraph:  Overfull \hbox (1.65294pt too wide) in paragraph at lines 3--4 []\OT1/cmr/m/n/10 Aaaaaa aaaaa aa-j-caaaaaa $\OML/cmm/m/it/10 a \OT1/cmr/m/n/10 : \OML/cmm/m/it/10 A[] \OMS/cmsy/m/n/10  ! \OML/cmm/m/it/10 a[]$\OT1/cmr/m/n/10 a$\OMS/cmsy/m/n/10 $ \OT1/cmr/m/n/10 aaaaaaaaaaaaaaaaaaaaaa $\OML/cmm/m/it/10 a[ ] [] \OMS/cmsy/m/n/10 !$   []   Looking up this error, I see that something similar shows up with fonts, but the error code is slightly different.  My guess is that it's something to do with the $\to$ at the end being overflowed, but that's not all because I can move some of the letters around without changing how big of a bad box it is to remove the error.  Can someone tell me what the cause of this error is?  UPDATE: According to the one of the comments, it may depend on what program is being used.  I got this error on both TeXnicCenter, and this error code also appears on  but it is not reported as an error.


How do I tell if a USB thumb drive is USB 3.0?

I have a bunch of thumb drives, and many of them don't have any writing on them to indicate that they are USB 3.0.  In Ubuntu; how can I ascertain if they are USB 3.0 when I plug them in?


Suppose $E/F$ is Galois extension. What is it known about structure of $F[Gal(E/F)]$?  I've learned only one fact in this direction - existence of normal basis in $E/F.$ But it's not truly about $F[Gal(E/F)].$


What do the result codes in SVN mean? I need a quick reference.


Virtualbox causing 16.04 to freeze completely

I'm sure I've missed a step somewhere in configuring my machine to run Virtualbox, but when trying to boot a new VM (Ubuntu MATE) my host machine completely locks up. No GUI, no terminal, no SSH. My only recourse is a hard restart.  The host machine is running 16.04 LTS on a Gen 10 HP Proliant server and all packages should be up to date.  I've checked the MD5 hash on the iso. I've given the VM 2 gigs of memory, made sure it's using the correct type of pointing device and that it's booting from the .iso first.  I've reviewed several guides on installing Virtualbox and setting up VMs and I don't feel like I'm doing anything wrong, but obviously something is amiss. I'm just not sure where.


Is "fish are jumping" in the song Summertime a correct grammatical construction?

Summertime, and the livin' is easy   Fish are jumpin' and the cotton is high   Oh, your daddy's rich and your ma is good-lookin'   So hush little baby, Don't you cry   ()   Is "fish are jumping" in the song "Summertime" a correct grammatical construction?  Plural of fish is fishes, right? Or if it's fish as general substance then I would expect "is". Or I missed some subtlety?


I am a bit confused in using drank and drunk. I know we use it with past tense but not when to use drank and when to use drunk.  What are the better ways to use these?  I , too, but it does not explain when to use which form.  What scenarios best suit each form?


if H is a subgroup of G prove that (Ha)(Hb)=Hab for all right cosets Ha and Hb of H in G iff H is normal in G


In the question , it is said that Snape could fly. However, I don't remember reading it anywhere in the book.  Was it explicitly mentioned in the books (if so, where?) or is it not in the canon?


In Python Tkinter, how do I run code after mainloop window opens?

I want to create a little animation where text appears on an old monochrome terminal like screen as if someone is typing it. However I constantly run into problems with trying to run code after the GUI window opens up. The text is always already there when the window opens or doesnt appear at all. Any help is very appreaciated:)  string = "Hello World this is a Test String"  import random import time import tkinter as tk from tkinter import *  vid = tk.Tk() vid.title('Terminal')  text = Text( vid, width = 100, height = 50,  highlightthickness=1, bg='black', highlightbackground="black", font=('Courier', 14), fg='green') text.pack()  def main(): for i in string:     text.insert(END, i)     time.sleep(0.2)  text.after(10, main) vid.mainloop()   This is what I came up with so far:/


Would anyone recommend a particular JavaScript charting library - specifically one that doesn't use flash at all?


Explain the Working of this for loop technique. how it works step by step?

How this for loop statement works? Can we only use it to print arrays?     for (Integer i : arrayToSort){         System.out.println(i.intValue());     }


in my blender for some reason it isint working right like i cant see the entire thing it cuts out


What is the difference between fixed effect and random effect model of ANOVA and when these should apply?

ANOVA Test is used on mean score of individual studies' parametric estimates with fixed and Known population or random unknown population.


Change font size of the verbatim environment

I want to apply small fonts inside the Verbatim environment e.g.  {\small  \begin{Verbatim}  1   double x, y; 2   double z, w; 3   main(); 4   return 0;  \end{Verbatim}}   Before the command \small and after the closing braket } text has normal size, which is obvious but the font size should be small inside the brakets.     Why is this command not applied to the environment's contents?


if statement for a string not working as I expected

Assuming I have this code here : test.sh if [ $2="Yes" ]; then  echo 0 else    echo 1 fi  When running this command : ./test.sh test Yes   I get 0 , which seems reasonable but when running ./test.sh test No  I get 0 too . Why ?


Is there anything in the rules that say a familiar can attune to magic items?  I've seen lots of questions about if familiars can attune to items and the community seems to agree on that they can. However, my DM will not allow this without seeing a specific ruling that they can, as it is not enough for them to simply not have a ruling against it.  Has Jeremy Crawford put out anything that confirms familiar can attune to and use magic items? Did I miss something in the rules? Or is it simply, nothing says they can't?


Need to prevent a package from being installed

I have a package I do not want to be installed even if another needs it.  Is there any way to "blacklist" a package from being installed even as a dependency of another?  Can I overcome the fact that it is a dependency and still be able to upgrade my system?  I am thinking in particular about the messaging indicator from Unity. If I remove it and add Unity again for some reason, I dont want the applet installed again. How can I prevent it from being installed? (or the global menu, java versions removing my custom installed one, etc... you get the idea).


In composition,can a content use the container's object instead of "self"?

i am making Gui using qt designer and python.I have two classes on demo.py and demo2.py which are on the same directory/folder.when button clicks on demo,i can show demo2 and hide demo using OOP composition like down below. But then i am so confused why i can't hide demo2(like this down below). This is demo.py  From demo2 import Ui_Form Class Ui_For(object):     def log(s):         s.U=QtGui.QWidget()         s.x=Ui_Form()         s.x.setupUi(s.U)         s.U.show()         Form.hide()     def setupUi(self,Form):         '''the things that are going to be stated here are the Qlabels(QtGui.Qlabel),Qline edit,the button that connects to method log also,which is working good and other things of this window just like the qt designer write it''' If __name__=='__main__':     import sys     app=QtGui.QApplication(sys.argv)     Form=QtGui.QWidget()     ui=Ui_For()     ui.setupUi(Form)     Form.show()     sys.exit(app.exec_())   And this is demo2  Class Ui_Form(object):       def oy(o):           ui.U.hide()#this the the one bringing error       def setupUi(self,Form):           '''And the rest of the code(there is push button here that connects to method oy,and it works good'''   When i go to demo2 widget,when i push a button and connect to method oy,"name 'ui' is not defined" error comes.But why?  Things i tried:  1.def oy(o):        o.x=3        print(getattr(o,'x'))#works great and gives me 3 as expected  But if i did this instead,`  print(getattr(ui.x,'x'))#i get "name 'ui' is not defined" error   Why is this?isn't 'o' the same as 'ui.x' in this case?


Currently, I use Circuitikz to draw my circuits for my LaTeX documents.  My issue is, it really takes a while to draw them and a GUI which would allow me to drag and drop the components would really be so much easier for this kind of thing.  Can anyone suggest to me suggest a GUI?  I also have other issues with Circuitikz that really make me want to find a better option...  Diodes are too big, I have to give coordinates to everything (so I can't really say, put R1 left of C1), and certain things are just a pain to do.  A GUI really would be so much better...  I've looked at XCircuit, but that also seems to have some issues and I failed at getting latex mode to work...


word for attribute that is simultaneously positive and negative

I'm looking for a word that describes an attribute Y, where you could say  The good thing about X is Y, the problem with X is Y  note that it's not a neutral attribute, it's simultaneously good and bad.  is there such a word in the English language?   preferably I'd like to be able to say something along the lines of:  Y is a ______ of X; it's good because of blah, but it also causes bleh problems


I currently have a Net gear Wireless adapter wna3100 i originally had windows 7 but now i dual-boot by the way i am very new to Linux please reply soon thank you