Are there any rules in baseball which prohibit teams from "borrowing" players via trade?

Every season near the trade deadline, we see teams that are out of it trading expensive players and/or free agents-to-be, typically for younger players or prospects.  For example, Matt Garza, set to become a free agent after the season, was traded to the Rangers for a few prospects.  It made sense for the Cubs to trade Garza, because he wasn't under contract any further than this season, and thus doesn't have much value to them.  Compare Garza to someone like Mike Trout, who is likely the most valuable property in baseball, given his skill and inexpensive cost over the next several years.  There's no way the Angels would trade him, because he'll be the cost-controlled centerpiece of the team for years to come.  However, with the Angels out of it this year, what if they wanted to trade Trout to a contender (say the Pirates), but only for the remainder of this season?  That is, they'd get several top prospects now, and would have an agreement with the Pirates that they'd trade him back in the offseason (for something pretty worthless, say for a journeyman minor leaguer).  The Pirates get Trout for the stretch run and are happy to give up a few prospects.  Trout doesn't have much value to the Angels this year, but he has a ton of value for next year.  So they get a few prospects for him, in exchange for the part of his career which has very little value to them.  So in effect, the Pirates are renting or borrowing him for the remainder of 2013.  Why don't trades like this happen?  Are there any rules prohibiting trades like this?


Why does the density of electric field lines make sense, if there is a field line through every point?

When we're dealing with problems in electrostatics (especially when we use Gauss' law) we often refer to the density of electric , which is inversely proportional to the radius in the case of a single point charge (all field lines are directed radially).   My question may sound dumb, despite the fact that this concept is quite intuitive, but if you think about it there is actually an infinite amount of field lines which we can draw everywhere (one through every point), so speaking of an area where field lines are more "dense" or "sparse" doesn't make much sense to me.  With this in mind, why can we still use such a concept? Why does it really work?


I have an assumption for which I have to answer true or false to: "The energy Es of the system cannot increase with time." To which the answer is false with the motivation that it is the appropriate free energy that has to decrease with time. I am not sure if I understand it completely. Why does free energy always have to decrease over time?


My goal is a dual boot Linux/Windows 7 PC. It already has windows 7 on drive C, on a 3Tb drive.  I first defragmented this drive, then shrink the drive c partition to the maximum allowed.  The drive is now 1037.17 Gb, but only 42.9 Gb is used space. I only want to use 120 Gb for windows.  When I try to shrink it, after also defragmenting, the system says:     Size available shrink space in MB:  0   I've made a system backup to an external drive and a DVD repair disk.  Can I just trash this partition and restore it to a newly created 120Gb partition?


Squared norm of matrix equal to squared norm of its transpose

With the definition of matrix norm as  $$\|M \|=\sup_x \{  |Mx|: |x|=1 \},$$   where $M$ is square and $|\cdot|$ denotes the standard euclidean 2-norm. I'm trying to prove that   $$\|M\|^2=\|M^T\|^2 = \mathrm{largest \; eigenvalue \; of \;} M^TM?$$


Greetings,   I have a large number of fitnesse tests for a project (1000+). Over time as features change, and shared fixtures come and go we have been left with unused orphaned code. But how to find it?   For those who don't know how fit works, you have a wiki page with a like like this:  | When a User Adds | 1 | and | 2 | He is returned | 3 |  Which is mapped at run time to a method like:  public bool WhenAUserAddsAndHeIsReturned(int first, int second, int expectedResult){      return ((first + second) == expectedResult) }   finding all of these mappings by hand would be drudgery, writing a script to do it would be a long and difficult task. Im sure there must be a better solution.  Is there a utility out there that could monitor the fixture dll while the tests are running and then return a list of all classes and methods that were NOT run?


how to select random rows from a table in sql of different categories given as input

ex:subject type means g.k,english,maths etc... like that. my question is for preparing questionpapers by randomly selecting the questions of different questions  Can you please guide regarding this query....?


Java:Why http session is not destroyed when tab or browser is closed?

I have the following implementation of HttpSessionlistener  public class SessionListener implements HttpSessionAttributeListener, HttpSessionListener {   public void attributeAdded(HttpSessionBindingEvent event) {    ...  }   public void attributeRemoved(HttpSessionBindingEvent event) {      ... }  public void attributeReplaced(HttpSessionBindingEvent event) {  }  //HttpSesion creation & destruction public void sessionCreated(HttpSessionEvent event) {     HttpSession session = event.getSession();     //log created time   }  public void sessionDestroyed(HttpSessionEvent event) {     HttpSession session = event.getSession();     long destroyedTime = System.currentTimeMillis();     //log destroyed time  }   }  Basically i log the session creation and destruction time. But if the session is long (default to 30 minutes), and user closes browser meanwhile, the   sessionDestroyed    is not called ?  Why is that ?  Is there a workaround to log exactly the when the session was destroyed (when user closes the browser)? Should'nt be this be the browser's problem, to kill the session when it is closed ?  Is there any interface that i have to implement for this to work ?  Thank you !


Currently, you can get flair as HTML, Javascript, or JSON.  Let's say I'm extra-cautious of XSS vulnerabilities.  In that case the HTML and Javascript options are a no-no for me.  JSON is possible if I use a trusted parser, but it's still just basically giving me HTML stored in a JS variable.  A better option for me is a dynamically-generated image.  You could cache the generated image for some time (say, 30 minutes?) to cut down on server demand.  Update: As pointed out by  and  (see also ), a much greater need for this feature would be for use in sites which disallow iframes and scripting, for example when used as a sig on a forum, or when used on a blog hosted by wordpress.com.  Related:


Catch-all adjective for "edible" and/or "drinkable"

This is similar to , but for adjectives instead of nouns. I'm looking for an adjective that describes objects that are safely edible and drinkable, and are meant for consumption (e.g. something that is explicitly called "non-toxic" would not be covered). "They're advertising <adj> supplies for camping."


Is there a short way of converting a strongly typed List<T> to an Array of the same type, e.g.: List<MyClass> to MyClass[]?  By short i mean one method call, or at least shorter than:  MyClass[] myArray = new MyClass[list.Count]; int i = 0; foreach (MyClass myClass in list) {     myArray[i++] = myClass; }


Checking if Ubuntu package contains desired update

Let us consider the example of Clang. ABI compatibility of Clang diverged from GCC5 and compiling things with Clang became quite a challenge in Ubuntu 16.04. At some point, .  Clang 3.8 is also available in Ubuntu repos, and when I add  myself and update source list and try to install Clang-3.8, the version from Ubuntu repos gets installed as the latest (apt is set to always prefer the highest version).  Without trying to compile code with it to see what happens, is there a good way to check if that patch is already in the Ubuntu repos or not?


Adjust volume via commandline so that volume notify pops up

is there a way to adjust the system volume via commandline so that the default volume popup (the one that pops up when pressing the media keys on notebooks) is still shown.  I need this for my remote control. It'll be run using a lircrc file and irexec.


Question about the minimum value of $2^{\sin^2a}+2^{\cos^2a}$.

How to find the minimum value of      $$2^{\sin^2a}+2^{\cos^2a}$$   I don't understand how to start the sum.


Broken font rendering in GNOME default apps

I'm running Ubuntu 20.04 on a 2010 Mac Pro, and have had successful results for about a year until now.  After booting this morning, I attempted to open GNOME Terminal.  It appears that the font rendering is broken.  Only parts of the words are rendering.  The best example of this can be seen in the Settings app:  Random letters are bolded and the longest words rendered are cut to four letters long.  I've already tried running sudo apt-get update && sudo apt-get upgrade, and it doesn't fix the problem.  I've also tested changing the font, which also doesn't help.  Rebooting does not fix this, and it appears to be duplicated across accounts.  This glitch only appears in certain areas - for example, the top bar does not display the issue, and nor do any third-party apps I've discovered that it may be a GTK issue, because Brasero and a few other native apps have the same issue. Help on this issue is greatly appreciated, considering it makes all GNOME default apps unusable.


Is B1 visa in perfect condition valid on old damaged passport?

I got my US B1 visa last month on my Indian passport. Someone in my family wrote a phone number on one of the blank page of my passport. As my passport is damaged now, can I travel with my current passport to US or I should apply for new passport? Also, will B1 visa be valid on old damaged passport if I get new passport?


How to install Windows 7 in a machine running on Ubuntu 14.04

Recently I bought a laptop which is running in Ubuntu 14.04 LTS. Now I wants to move back to Windows 7 64 bit. Regarding same I created a boot-able USB and thinking to boot from USB. In new machine boot settings are not taking from USB and UBUNTU is getting loaded automatically , In boot setup I kept USB as primary option - Even though no luck . Any ideas how to remove UBUNTU completely and install windows 7 ?


How do you take off body armor in GTA Online?

It's kind of hard to shop for clothes with a big bullet proof vest on.  Is there a way to take off the armor after missions, or at least hide it?


I have a Iranian passport but I also have the biometrics visa from Ireland as well. Do I need a visa to have a connection flight from Amsterdam?


Does C1 code coverage analysis exist for Ruby?

I'm currently using  to get C0 code coverage analysis for a rails project that I'm working on.  However, those results are practically meaningless- I have 100% coverage according to rcov (as it only covers C0 analysis) and I've barely written half the test cases for the functionality that exists thus far.  I'm used to the useful results from the code coverage in Visual Studio 2008 Team, which has C1 coverage.  Are there any tools that provide similar coverage for ruby?


Is there a way to downgrade Ubuntu without losing any files?

I want to downgrade ubuntu 13.10 to ubuntu 12.04 LTS without losing the installed apps and my files in the ubuntu folders.


Number of hidden units - function approximation

I have read  thread on how to select the appropriate number of hidden units and according to Introduction to Neural Networks for Java (second edition) by Jeff Heaton, one of the possibilities is - The number of hidden neurons should be between the size of the input layer and the size of the output layer.  However, I am trying to approximate some basic functions with neural networks in 3D space, having 2 inputs and 1 output, but if I choose only 2 hidden units, the approximation is not satisfaying at all. Only with more hidden neurons I get better results. Is there something I am missing?


How to include a document into another document?

I have two documents A and B. Both of them are separate documents. But document A also has to include document B.   Now if I use \include{B} i get the following error:  ! LaTeX Error: Can be used only in preamble.  See the LaTeX manual or LaTeX Companion for explanation. Type  H <return>  for immediate help.  ...                                                l.1 \documentclass                   [11pt]{article} ?    So how can I force to include document B with the "style" and "template" of document A?


Dummy encoding the categorical variables using the changed version of OneHotEncoder

This is my code, I was trying to dummy encode the first column of X using OneHotEncoder but it was showing error and the documentation page of OneHotEncoder says that it has been changed and I wasn't able to figure out how I can do it using the changed version. the data type of X is numpy.ndarray.  from sklearn.preprocessing import LabelEncoder, OneHotEncoder onehotencoder=OneHotEncoder(categorical_features = [0]) X[:, 0]=onehotencoder.fit_transform(X).toarray()


Formatted hard drive, forgot to back up a text file. How do I get it back?

I have already had the same problem before. On that occasion, I found a program that could scan my entire hard drive for string pieces so I could recover it. Unfortunately I don't remember the name of the program. It had to access the hard drive data directly, normal searches won't get any data from the hard drive before formatting.


I'll be back in half an hour. I'll be back in half hour.   Which is the correct sentence? Are there any differences between British English and American English?


I try to execute this command I got this warning.   root@sabresd_6dq:/system/etc/wifi # hostapd_cli                                 hostapd_cli v2.5-devel-6.0.1 Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> and contributors  This software may be distributed under the terms of the BSD license. See README for more details.   Could not connect to hostapd - re-trying   How to fix this?


What would you call a former criminal who has been released from prison?

What do you call a former criminal who has served their sentence and been released from prison?  I thought of “convicted criminal”, but that might imply the person is still a criminal and/or serving a sentence.   Does “convicted criminal” fit this definition? Are there other--better--words that are more accurate?


Prove the following statement: If $n, m\in\mathbb{Z} $ and $g=$gcd$(n, m) $ then is  $$\varphi(m, n) =\frac{ \varphi(m) \varphi(n) g} {\varphi(g)}. $$  Hint: Prove the statement with induction  above the number of common prime divisors.   How can I do the first step of induction?


Implement cross-site posting rate limits to slow down spammers

In the morning of March 19th, a newly-registered user :    While , these rate limits are not applied across sites, allowing spammers to post on many sites in rapid progression.  These rate limits should be applied across sites. Shog9 .


Word for "opening and closing the mouth?"

Example:     The stranded fish were flapping desperately on the sand, their mouths   closing and opening, seeking for the water that wasn't there.   Is there's a word that means opening and closing the mouth? I thought of gaping but I think it only means keeping the mouth open?


I am in the process of trying to rewrite my website, and I have limited experience in HTML/CSS/Javascript. It is a photography website using galleries. I am wanting to make the default view to be using Flash, but I know that iPad/iPhone etc do not support Flash. I am looking for a way to determine what the OS is so I can direct the iWhatevers (and others if there are any), to a purely HTML site, and the non-iWhatevers to the Flash site.  I presume it would be done in the Heading part of the HTML, but what script would I use to do this? Thank you in advance...


In an urn with $b$ blue and $r$ red balls, each time (call it a trial) a ball is chosen at random and then put again in the urn along with $c$ extra balls of the same color. Now probability of getting a blue ball in the 1st trial = $\frac{b}{b+r}$. Surprisingly, I also see that probability of getting a blue ball in the $n$-th trial is also $\frac{b}{b+r}$. I don't understand the intuition behind this.   Another question is the intuitive argument to prove that the number of red balls in the first $n$ trials follow an uniform distribution between $0$ and $n$ when $b=r=c$.


remove particular key value but get all nested array object values in javascript

I would like to know how to remove particular key value pair in nested array object. But I need to get all the object. how to do in javascript.  In the below obj, remove the mon key value pair and fetch the obj in javascript    var result = getObj(obj, "mon"); getObj(arr, month){    return arr.filter(element=>         if (element != month){             return element         }     ); }    var obj =[   {id: 1, mon: "Dec", tot: 1000},   {id: 2, mon: "tues", tot: 2000} ]   Expected Output:  [   {id: 1, tot: 1000},   {id: 2, tot: 2000} ]


Get the parent Id when clicking new button of the child object from related list

I have Object A which is the parent object and object B as it's child object. The object B new button is overriden with a lightning component. I am trying to get the object A's Id (parent Id) when clicking the new button of object B. Anyone knows about how to solve this?


Why are members of $L^2$ the only allowed quantum states?

Any quantum state must be a square integrable function in order for it to be allowed. Is there any reason that this should be so? As far as I am aware, other $L^p$ spaces can have norms defined on them in a similar way to the norm of $L^2$.  Is it just experimental fact that the probability of a position measurement, say, is given by$\int |\phi (x)| dx$, or is there some more foundational reason to restrict quantum states to $L^2$.  I apologize if I am unclear, I feel like I may be missing something fundamental here.


From  I learned that : can be used to get the side effects of a parameter expansion. I stumbled upon this code which uses a parameter expansion that looks new to me:   $ R=32; : $[R--]; echo $R 31   Here  : $[R--] seems to be equivalent to ((R--)). What is $[]? And is it documented in man  bash(1)? I couldn't find it on the man pages.


I need someone to guide me to solve the following problem     Let $a, b \in G$.   a. f $(a *b)^i = a^i * b^i$ for three consecutive natural numbers, then show that $G$ is Abelian.   b. If the above property holds only for two numbers, then it is not necessarily Abelian.


Is the following sentence correct?     A number of researchers are expected to attend the conference   Notice that the sentence is using the plural verb "are" after "researchers" but I don't know if it needs the singular verb "is" instead, since it says "A number" before "researchers".


Allow SCP but not actual login using SSH

Is there any way to configure a user on a Linux box (Centos 5.2 in this case) so that they can use scp to retrieve files, but can't actually login to the server using SSH?


Prove that a system of linear equations, will have infinitely many solutions whenever there is a specific value.

I have a question where $\alpha$ and $\beta$ are elements of $\Bbb R$, and I have to show that a system of linear equations will have infinitely many solutions whenever $\beta$ is an element of $\bigl[ -\sqrt 2, \sqrt 2\bigr]$.  There are three variables that have values like $\sin\alpha,\cos\alpha, \beta x$, etc. Now I know how to solve regular multi-variable linear equations to check if a linear system has infinite solutions or not, but this one is really tricky.... I don't even know where to start.   PS. I am really bad at math,  I don't even know how to read notations.   Here's the actual question:   Let $\alpha$, $\beta$  $\in$ R; then show that the following system of linear equations, will have infinite many solutions whenever $\beta$  $\in$ [- $\sqrt 2$, $\sqrt 2$ ];  $\  - x + (\sin \alpha )y - (\cos \alpha )z = 0\\ \beta x + (\sin \alpha )y + (cos\alpha )z = 0\\  x + (cos\alpha )y + (sin\alpha )z = 0 $


Scripts that detects kernel activity and reboots when kernel freezes

I'm running a machine that has a GPU running that sometimes causes the machine to freeze. When I look at syslog file, it says that the kernel is hung: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.  I would like to create a script that detects an activity in the kernel so that when it hangs, it would boot the machine automatically. However when I run a bash script and keeps track syslog file and looks for some certain keyword, like kernel, the script stops running by the time the kernel freezes, so it doesn't have opportunity to execute reboot command. Is there a way to keep track kernel activity, so that when it freezes, it automatically reboots? Like auto reboot when kernel panic happens. regards


How can I assign type of List when I only have name of T?

var gh = new List<SomeClass>>();  Let's say    string SomeClass="Car";  How can I intialize this list using only name I am trying to do something like gh = new <List<Car>>();


Modifier Properties don't show up for a collection

I have a collection and inside there there are several objects. I want to add a modifier to all the objects in the collection, but I couldn't find the modifier properties when I select the collection. How do I get the modifier properties to show up?  In another object that's separate from the collection, the modifier properties are shown:


Adjectival noun - singular or plural or both?

If I intend to use a noun as an adjective, can I use the noun both in plural and singular form?  e.g. "noun modifier", "Bacon Batch", "A news reporter", "Sports center", "email address"  My feeling is that adjectival noun are usually singular. How come some of the above examples that are in plural? What if, says, "school uniform" or "Company law", If i really want to emphasise "schools" or "companies", could I use the plural form as an adjective?  Why some of the nouns can be used as plural while the other not?


When we see our face in an spoon by which we eat food, we observe that the image of our face is inverted and we can see it so it is real image. So how this real inverted image is formed?


How to show to the user a progression in a script?

I'm making an python script which create a lot of object and this could take a lot of time. My question is how to show to the user of my script, the "progression" of the script? For now I print an progress bar in the system console.  But you have to open the system console befor and (apparently) the system console only work with Windows.  Is there an other way to show the progression of my script with python like control the mouse percentage icon (the little icon that replace the mouse while baking) or another idea?


First of all, English is not my first language. I have a question, maybe a basic one, about this phrase:     The situation highlights the mismatch between some areas of training and available jobs to/for them.   Should it be "available jobs to them" or "available jobs for them"?  Sorry if the question is really basic.


Bad sectors on hard drive = corrupted files?

Three times over the past week or two my laptop (9-year-old Dell running Windows XP Home SP3) has auto-run chkdsk when I've turned it on. The process has taken about 2 hours to complete, after which Windows appears to boot up normally. The chkdsk scans have detected bad sectors on my hard drive. I've made an image of the hard drive and ordered a replacement, but I want to know more about bad sectors.  If the computer can still boot to Windows (which it can), does that just mean that the bad sectors are being marked, the data in those sectors is being relocated and all the files on the hard drive are still fully intact?  Or is it the case that these bad sectors mean that some files have already become corrupted? When I made the image of the hard drive (with Redo Backup & Recovery), it also gave warnings of encountering bad sectors. If I clone the image to my replacement hard drive and corrupted files get replicated to the new drive, I may be missing some critical data and suffer crashes in the future as a result, correct? If that's the case, am I wasting my time cloning the old hard drive to the new one?  Thanks for your insight.


Qubit measurement is followed by instructions. Error code: 7006

Trying quantum teleportation in   Succesful runs in 'qasm_simulator', but when switching to IBMQBackend('ibmqx2') I get IBMQJobFailError


Why is the @Test annotation necessary? (Java JUnit)

I was wondering why it is necessary to put @Test above your test methods and what its use is.  Thanks in advance!


Is every relation which is transitive and symmetric also reflexive?

I have seen a proof that every relation which is symmetric and transitive is also reflexive.  if $A=\{1,2,3\}$ Then if $R=\{(1,2)(2,1)(1,1)\color{blue}{(2,2)}\}$  here $R$ is symmetric and transitive on $A$ but not reflexive right?  Can anyone clear up this confusion for me?


I am looking for a free task management application that has the following: - Reminders for tasks that can be snoozed (like native reminders app) - Grouping tasks/Adding subtasks - UI showing tasks per day/week - Prioritize task     I tried Wunderlist and Todoist. Wunderlist has a very nice interface but can not snooze tasks. Todoist also is missing time setting per task. Anydo seems not working properly. Sometimes I get a popup others not. What can you recommend?    Update: I have checked the apps in the linked post. They are not meeting my requirement. None offers snooze


Uniform convergence of $\sum (-1)^nf_n(x)$ on $[0,1]$ where $f_n(x)=x^n(1-x)$.

Let $f_n(x) = x^n(1-x)$ and $\sum (-1)^nf_n(x)$.  I showed that this series point wise.  Case1) $x=1$ $$ f_n(1)=0 \, , \sum{(-1)^nf_n(1)} = 0 $$ Case2) $x\neq 1$ $$|f_n(x)| \leq |x|^n$$ since $$\sum |x|^n$$ converges, By abosultely convergese test $\sum (-1)f_n(x)$ converges.  I want to show that this series uniformly converges on $[0,1]$.


I would like to construct a query that displays all the results in a table, but is offset by 5 from the start of the table. As far as I can tell, MySQL's LIMIT requires a limit as well as an offset. Is there any way to do this?


Confusion about scissors being a plural word

I sometimes notice that scissors is being used as a plural word. I guess there is some confusion to it that people can't understand or maybe it's me who doesn't know something about it becoming plural?  As long as I remember "scissors" has always been singular even though it ends with an "s".   Scissors is a tool to cut paper, cloth and many other materials. This scissors has proven to be of very high quality.   But I can't imagine it being plural:   Are these scissors old? Scissors are mostly made of stainless steel.


Show that the measure of a rectangle is zero if and only if the inside is empty.  Could you give me some hints what I could do??


Grub does not show a Windows 8 option after dual boot

So, I've successfully dual-booted my Windows 8 machine with Ubuntu 12.04 . However, I still don't have a convenient method of choosing what OS to load at boot time.  After installing Ubuntu, my computer still loads Windows 8 directly. I then added grubx64.efi to the white list of my boot loader. But after that, my machine loads Ubuntu directly without even a shadow of GRUB showing up!  I used boot-repair and I got this paste.ubuntu URL: . After running boot-repair (and re-white listing the grubx64.efi file), GRUB now shows up but without any Windows 8 option!  Lastly, I ran sudo fdisk -l and it gave me this:  WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.   Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x6396389f     Device Boot      Start         End      Blocks   Id  System /dev/sda1               1  1465149167   732574583+  ee  GPT Partition 1 does not start on physical sector boundary.   I'm guessing my problem has something to do with the warning from fdisk above but I don't know what to do with it. How do I proceed now?  Edit  My etc/default/grub is as follows:  # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: #   info -f grub -n 'Simple configuration'  GRUB_DEFAULT=0 #GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""  # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"  # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console  # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480  # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true  # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true"  # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"   Also, just for the record,  in installing my dual-boot. The tutorial (which uses, 11.10, I must note), doesn't mention anything about this problem. Is there anything there I shouldn't have done?


Why Standard deviation formula has n-1 in the denominator but Variance only n?

If is true that SQRT(Variance) = SD then one cannot have n-1 in the denominator and the other not but should be same?  SD formula:    Variance formula:


I have a dataset with a binary outcome, y.  I'd like to run a decision tree on the data, but y == T is very rare, and so every leaf of the tree predicts y == F.  Is there any problem with sampling based on y, e.g., just using the N cases where y ==T and N random cases where y == F?


Does the comma go inside or outside the end quote when the subject speaks and then does an action

I have the following sentence and am struggling to work out where the comma goes. Should it be:  She said, 'I understand', and walked away.  or   She said, 'I understand,' and walked away.  Many thanks. Jo


I am trying to understand the boy and girl paradox.  The paradox states that if a family has two children and one of them is a boy, then the probability of the other being a girl is 2/3.  When you write out the set of possible outcomes { bb, bg, gb, gg } it makes a little more sense.  My question is why does age/order matter?  The two possible outcomes boy/girl and girl/ boy are the same right?


How to create an ISO image from a bunch of files on the file system?

Considering I have a bunch of files in a directory, I would like to bundle them into an ISO image file. How should I proceed to do that?


Get Java files in Directory and all Subdirectories

I am trying to get all .java-files in a directory (that is given)  and all its subdirectories . This is what Ive come up:  public static void getJavaFiles(Path path) {       DirectoryStream<Path> stream = null;     try {          stream = Files.newDirectoryStream(path);         for (Path entry : stream) {             if (Files.isRegularFile(entry)) {                 if(entry.getFileName().toString() == "*.java") {                     System.out.println(entry.getFileName().toString());                 };              } else if (Files.isDirectory(entry)) {                 getJavaFiles(entry);             }          }        } catch (IOException e) {          throw new RuntimeException(String.format("error reading folder %s: %s", path, e.getMessage()), e);      } finally {         if(stream != null) {             try {                 stream.close();             } catch (IOException e) {              }         }     }     }   Unfortunately entry.getFileName().toString() == "*.java" is not working how I thought it would. I get all the files but how do I get only the .java files ?


Finding the infinite Sum of a series: $\sum\frac1{n(n+1)(n+2)}$

Find the infinite Sum of the series with general term $\frac{1}{n(n+1)(n+2)}$.  I decomposed the fraction upto this $1/(2n)-1/(n+1)+1/(2n+4)$. But I find no link about cancelling terms. So how should I find the infinite Sum?   Please don't say that this is off topic or homework.  if wanna say that this is homework, at least give a hint if I am going the right way?


Access 'About this Mac' before creating a user

I've wiped and reinstalled macOS in order to sell a 2017 MacBook Pro. Of course, I forgot to take a screenshot of 'About This Mac' to get all the specifics (all I need is the CPU variant). I've booted into Recovery Mode to access terminal and try a host of variations on system_profiler. None of them work. I don't want to have to create a user just to view my specs and then have to wipe and reinstall macOS again. Does anyone have a working 2020 method for accessing system information from the terminal before creating a user?


upgrading glibc to a version at least 2.17 or higher in ubuntu 12.04 LTS?

I need a newer version of glibc in my ubuntu version (precise, 12.04), but I don't seem to be able to go beyond version 2.15 using apt-get.  I tried to compile it by myself but I almost destroyed my distribution, so I was wondering if someone has gone through this process successfully and would be so kind to guide me.


Can open, unsafe nuclear fusion reaction burn the atmosphere?

I happened to hear people saying that the nuclear fusion bomb tests could set the atmosphere on fire. I have some serious doubts about that - but I have no facts. Nuclear fusion reaction requires $15*10^{6}$ kelvins to start. If we produce such temperature in "open air" would the atmosphere become a fuel for further fusion? Shouldn't the whole thing just be torn apart by its terrible pressure?


I find two main definitions for the norm of a matrix or linear operator.  First definition: $\lVert A\rVert := sup \{|A(\frac{x}{|x|})|: x\neq 0 \} $  Second definition: $\lVert A\rVert := sup \{|A(\frac{x}{|x|})|: |x| \leq 1 , x\neq 0  \} $  Why are those two equivalent? I am sure it has something to do with linearity, but I can't see the answer.  I know, since the unit ball is compact, the superemum is attained for some x on or inside the unit ball. Why must the maximum lie on the surface unit ball?  Help would be appreciated.  Thank you


I am working with PCA to do dimensionality reduction to a set of data.  I have 1600 data points with 36 variables and I want to have a matrix with a new data set with 6 principal components. I managed to do it in matlab, so I have:  xtrain (normalized) <1600x36>   and I write:  coeff=pca(xtrain,'NumComponents',6)    which gives me a <36x6> matrix  So far so good. Now I want to know how to reverse the process. If I'm given a data set of  how do I use the coeff matrix to pass it to a "n x 36" representation?  I would like to do this in matlab but a simple explanation can help me.


Seeking copy of 19th century South African birth certificate?

I'm trying to find the birth certificate of my wife's great grandmother who was probably born in Durban, South Africa in 1884. I'm currently unable to find any online resources for this.  If such a thing does not exist online, is there any other method of retrieving a copy or at least just the details?


I'm interested in knowing what is the meaning of the various equality symbols: $=,\sim, \cong,\approx,\equiv$.  For example, the speed of a car $V$ in m/s: what would be the meaning of each of these statements? $$V = 30\\ V\sim 30\\ V \cong 30\\ V \approx 30\\    V \equiv 30$$


I have a lenovo G40 80 latop with Intel i3 4005u processor and 4GB DDR33l 1600 RAM. I want to add some RAM for virtualization purposes so I am thinking to add a 8GB SoDIMM so that later I can add another 8GB to get 16GB. But after searching about the matter I got to know that adding different size of DIMMs will affect the channel system.   Is it significant enough to rationalize buying of a 4 GB of ram rather then 8GB?


I've installed MATLAB R2011a on Ubuntu 11.10 today following . I've also followed the steps to create the launcher. It appeared, but when I click on it nothing happens. Does anyone knows what can I do to fix it? Additional info I can run it perfectly through terminal. My only problem is getting the launcher to work. To create the launcher I used :   Get an icon:  sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png   Get the launcher file:  sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab-r2011a.desktop' -O /usr/share/applications/matlab.desktop


How to add an array of dictionary in python?

first_obj= [{"name":"sat","age":20}] second_obj = [{"country":'India'}]   How to add array of dictionary in python?  third_obj = [{"name":'sat',"age":20,"country":'India'}]


For each of the following linear transformations, find the inverse if it exists, or explain why there is no inverse.  (a) T : R 3 → R 3 where T(v) is the reflection of v around the plane x + 2y + 3z = 0  Alright so I know I have to take (1, 2, 3) and see what the reflection of v does to that, but I don't know how to do that.


I'm trying to make a vfx scene where a mesh I created passes behind an object in real life/the video. I've tried to make a mask around the real object, but that makes all of the objects that are supposed to be in front of the real object also disappear. How would I put the mask into my 3d viewport so that anything behind it disappears/is covered by the video, but anything in front of it isn't. I've heard of id-masks, and think those may be able to help, but honestly I have no clue how to use them. (I'm sorry that is worded so poorly, I'm not sure how to go about this.)  **edit I'm rendering/compositing using cycles render. It would be hard to render the objects separately because what I'm trying to do is make a rubix cube shatter and launch the pieces everywhere using some simulations. Because only some of the pieces fall behind a chair or under a table, it would be hard to select all of those and render them separately because they are all part of the same simulation. Also they all start on top of the table then some move under.


get the key of the maximum value in the dictionary among some values

I have a dictionary: D = {'N':5, 'S':0, 'W':6, 'E':1}  and I want to get key with maximum value among D['N']  and  D['S'].  For example I tried code  print(lambda k: max(k['N'], k['S'])(k=D.keys())) but it returns lambda object like this <function <lambda> at 0x000002C7B060C1E0>. Although I wanna get N in output.  Need help. Thanks!


I'm having a lot of trouble turning an array into an ArrayList in Java. This is my array right now:  Card[] hand = new Card[2];   "hand" holds an array of "Cards". How this would look like as an ArrayList?


If $X \sim \text{Gamma}(\alpha,\beta)$, how would I go about finding $E\left(\frac 1{X^2}\right)$?


Integrable systems are systems which have $2n-1$ time-independent, functionally independent conserved quantities ($n$ being the number of degrees of freedom), or $n$ whose Poisson brackets with each other are zero.  The way I understand it, these conditions correspond directly to us being able to do the Hamilton-Jacobi transformation, which is roughly equivalent to saying that the $2n-1$ conserved quantities are the initial conditions of the problem, which itself is a way of saying that the map from the phase space position at some time $t_0$ to that at time $t$ is invertible. But, if the last statement is right, why are there systems which are non-integrable at all? Shouldn't all systems' trajectories be uniquely determined by the equations of motion and initial conditions? Or is it that all non-integrable systems are those whose Lagrangians can't be written (non-holonomic constraints, friction etc)?  I've heard that Poincare proved that the gravitational three-body problem in two dimensions was non-integrable, but he showed that there were too few analytic conserved quantities. I don't know why exactly that means non-integrability, so if someone could help me there that would be great too.


I am trying to have a transparent PNG over a base material.   I tried using the same technique as mentioned here but somehow i am getting the mesh lines in the render.       Can someone please guide me. Thanks in advance.  Regards S


Using pentration with non-integer values: how to solve 2^^^1.5?

Say we define using hyperoperators with non-integers the same way we do with exponentiation, that is to say we convert the 'exponent' to a fraction and raise the base to the hyper-power of the numerator, then taking it to the hyper-root of the denominator.  What would this make 2^^^1.5? That is 2^^^(3/2) = 2nd pent-root of 2^^^3 = value of x when x^^x = 65536?  I ask because obviously using 1 and 2 as hyper-powers of 2 are fixed points at 2 and 4 so 1.5 must be bounded at some value in between, and solving for the first 4 hyper-operators brings us 3.5, 3, 2.828 and 2.745 ~ suspiciously slowing down as it approaches e don't you think? So I'm curious if solving for pentation will continue the trend and close in on e.  Alternatively, estimating e^^e and seeing if it falls anywhere near 65536 could prove interesting and we might be able to use it to prove if 2^^^1.5 is therefore greater than or less than e.


How to change only folder icons in Ubuntu?

I am using Ultra-flat-orange icon pack, I am satisfied with all the icons but I just don't like the folder icon, is there any way by which I can change only the folder icon (I want to keep the other icons from this pack, just want to change only the folder icon) and the change should be automatically applied to all the folders, not just one folder.


Prove that arithmetic mean of $4$ numbers is greater than geometric mean of the same $4$ numbers, i.e. prove that $$\dfrac{a+b+c+d}{4} > (abcd)^{\frac1{4}}$$


MacBook Pro takes 10 minutes to shutdown

I have a 2016 MacBook Pro 15", running macOS Sierra, which fails to shutdown properly. Originally when I closed all applications and then went to shutdown, it would take less than 10 seconds to completely power down.  My problem:  Now, when shutting down, applications will close properly, the Desktop turns to a black screen (all normal so far) but then the display will not power down, as the backlight remains on. This lasts for anywhere from 9 minutes up to nearly 20.  What I have tried:   I have removed all login items from my user. I have done a boot into safe mode. I have reset the NVRAM (PRAM). I have live-chatted with Apple support and went through clearing the User and System Library/Cache directories.   Nothing seems to resolve the issue.  One point to note is that when I reach the login screen, and choose "Shut Down" instead of entering my user password, it will shut-down quickly. I suspect that an application is preventing the normal shutdown, but don't know how to go about finding it.  I have attempted to look through the console for errors but nothing seems to leap out at me.  Can someone please suggest a solution, or a means to identify what is causing this issue?  UPDATE: I am just performing the latest macOS 10.12 update to see if that helps at all.  SECOND UPDATE: After using live chat with an Apple engineer, we have narrowed it down to the Launch Agents / Daemons. We moved most of them to the trash, and I have tried to add a few back in (shutdown, reboot and then attempt a clean shutdown). It could be the MySQL agent. I don't have many others apart from Adobe / Creative Cloud, Google's Keystone and Oracle MySQL.  Not sure if I should add this as an answer?  Note: This is not a duplicate as my Mac didn't hang permanently, and the solutions in that question didn't help me in this case.


Who wins the race between an astronaut falling towards a black hole and the event horizon shrinking due to Hawking radiation?

From an external point of view, an astronaut falling towards a black hole takes an infinite amount of time to reach the horizon, while the horizon vanishes in finite time due to Hawking radiation. Does the infalling astronaut agree about the black hole evaporating before she reaches it?


Live USB flash drive with a persistent user home directory

I want to be able to create a Live USB flash drive that I can run Ubuntu/Xubuntu on and be able to keep my configs intact. And maybe install some extra stuff.  Tried using the USB flash drive creator with the persistent storage. When booted into I would test by creating a random file in home Dir, reboot back into stick and see if there.  Do far it hasn’t worked.


Are their any examples of beautiful random graphs like   \documentclass{article} \usepackage{pgfplots}     \begin{document} \begin{tikzpicture} \begin{axis}[ybar] \addplot+[samples at={0,...,10}]{rnd}; \end{axis} \end{tikzpicture} \end{document}   I would like to form a collection of such graphs so please post a lot.  Graph means a graph which plots a random data each time I compile it.


Accessing a samba share, a symlink, on host, to a folder, appears as an empty folder

In a server, with Debian 10 and Samba 4.9, there are 2 HDs with this mount points:  /hd1 /hd2   In /hd1 there is a folder that is Samba shared.  /hd1/share   Inside the share I decide to move a folder to /hd2  /hd2/afolder   and create a symlink to it  ln -s /hd2/bigfolder /hd1/share/bigfolder   At server  ls /hd1/share/bigfolder   shows  file1 file2   Accessing the share from a client (Ubuntu 18.04)  smb://server/share/bigfolder   it seams like an empty folder.  I need to see and work in the files (file1 and file2)


Why do iPhone App Store ratings and reviews seem to get processed so slowly?

I'm trying to figure out what's going on with Apple's ratings/reviews system on the App Store. I've had issues with my own app (ratings/reviews not showing) now I see a major app with similar issues...  The Sports Illustrated Swimsuit 2011 free app was released just 2 days ago (Feb 14). It now has 29 ratings and 9 reviews (one review is mine posted from night of 2/15). But this has got to be a well downloaded app right? I'm talking 1000's probably just in the first day, so where are the other reviews/ratings?  Does anyone know if:  1) Apple has humans approve all ratings/reviews before letting them show?  2) Apple has an algorithm for passing/rejecting ratings/reviews?  3) What is the exact time delay between posting a review/rating and it appearing on the App Store?  Also-> Have you had any experience with a review or rating not showing in the App Store ever or only after a long delay?


I've loaded several shapefiles into QGIS and I'd like to increase the transparency across all of those layers while keeping them their original color.  Can this be done without changing each layer individually?


I read the document(not the whole document) from Shannon where he speaks about the concepts of confusion and diffusion. I read in many places(not in the document but around the internet) that confusion is enforced using substitution. Diffusion is enforced using permutation/transposition. Ciphers must use both of them because either confusion or diffusion alone are not enough. I read that a substitution cipher can apply by itself confusion(only). Permutation/Transposition applies by itself diffusion(only). It's precisely the last case that bothers me: Can a permutation/transposition cipher by itself apply diffusion?  Shannon explains diffusion as a property that spreads statistic properties of text all over the text preventing statistic analysis. It's frequently translated to: an alteration to a plaintext symbol affects many cipher text symbols. Assuming permutation of bits or characters, how can diffusion be achieved by simple permutation? I mean, if you permute bits, there will be no other bits affected. But if you consider a symbol a character and you permute bits, a change in a character will affect many other characters. It's a question of what is a symbol.  I also read versions of this diffusion concept where the point was just changing bits order just to avoid pattern analysis of the text. But, where is the avalanche effect in simple permutation?  So, what is the correct definition and the implications of diffusion?  I hope you understand what is troubling me.  Thank you once more


Creating a GMAIL filter that shows all of the "important" emails that are unread and not archived

So I'm trying to create a Gmail filter that shows me all of the important emails that are unread and not archived. I'm using the following filter: is:important AND is:unread and is:inbox However it appears that it is only showing unread emails that are on the first page of the email and it is missing some of the emails that I have that are clearly marked "important" and they are unread. In addition to that I have another filter that should just show me any email that is not important but unread, and I'm having a similar issue with that is:unread and is:inbox -is:important


Why are $sin(x)$ and $cos(x)$ irrational for (non-zero) rational values of $x$?

$sin(x)$ is the ratio between two sides of a triangle. One or more sides must be irrational for $sin(x)$ to be irrational. Why does a rational value of $x$ guarantee this?


How to disable shield icon in windows 10?

Just installed windows 10 and I get these annoying shield icons whenever I create shortcuts to a desktop. What is causing it and how can I disable it for all icons?  Edit: after suggested methods still unsolved... Why does windows make it so complicated? Edit2: I FINALLY FOUND THE   P.S. If you're on Home edition, I don't think you have Local Security Policy editor available. Also if the icons remain the same just right click go to properties, change icon, select any icon and press ok.  Edit3: Found the solution but ran into bigger issue. When I try to open any windows related app it says: This app can't be opened using the built-in administrator....can't even open pictures... What a shame Windows 10


Problems booting into Windows 8 after installing Ubuntu 13.04

I just attempted to set up my Lenovo Thinkpad Twist to dual boot. It had Windows 8.1 pre-installed.  I burned Ubuntu 13.04 to a USB and booted from that. I partitioned the drives allocating 50 GB for the Ubuntu partition. Ubuntu itself works fine, however when I try to boot back into windows I get an error: can't find command 'drivemap' and error: invalid EFI file path.  It looks like the problem is that the partition created 4 separate file systems:   Lenovo_recovery 367MB Volume Windows8_OS WINRE_DRV.   There is a boot folder under the Windows8_OS file system, but I think that it is not being accessed by the boot menu.   Also, the boot menu only has an option for Windows 8 (loader) (on/dev/SDA4) and no Windows recovery environment. The parameters for this file are as follows:  setparams 'Windows 8 (loader) (on /dev/sda4)'  insmod part_gpt insmod ntfs set root='hd0,gpt4' if [ x$feature_platform_search_hint = xy ]; then     search --no-floppy --fs-uuid --set=root --hint-efi=hd0,gpt4 --hit-baremetal=ahci0,gpt4 FE3A79DE3A79947D else     search --no-floppy --fs-uuid --set=froot FE3A79DE3A79947D fi drivemap -s (hd0) ${root} chainloader +1   How do I fix this so that I can boot back into Windows 8?


git log branch1..branch2 (two dots) vs. git log branch1...branch2 (three dots)?

I've read the latter compares the branches starting from their ancestor. What exactly does that mean?


I wish to put  with hyperlinks into the header of each page. Clicking on each part, chapter, section will take you to the beginning of that part/chapter/section.  I'm already using hyperref to link the ToC.


Which option is better to search in two tables in varchar columns?

I have a performance problem with searching in varchar columns in SQL Server 2016. Considering these tables have plenty of rows, for example 60000 rows each one.   Tables  CREATE TABLE Persons ( PersonID int, LastName varchar(255), FirstName varchar(255), CityID int)  CREATE TABLE Cities( CityID int, CityName varchar(255))   Code  I have a problem like this:  SELECT p.PersonID, p.FirstName , c.CityID,c.CityName  FROM PERSONS p JOIN CITIES c ON c.CityID = p.CityID  WHERE       p.FirstName like '%'+@search+'%'    OR p.LastName  like '%'+@search+'%'    OR c.CityName  like '%'+@search+'%'   Possible Solutions in my mind:   Creating a full text index for each table. Creating Columnstore indexes. Replicating the columns to another table and searching there.   I've searched in books like: "SQL Server 2012 Query Peformance Tunning" and "Expert Peformance Indexing for SQL Server 2012". And of course, a lot of sites and blogs on the internet.I would appreciate another suggestions to solve this issue.


I want to see my best league position of all times. Is that possible? Do we have a history for the league positions? Because I was in top 0.30% of something but I don't remember what. Now I am in top 3% of the week, but I want to check all my league achievements. I don't have a lot for now, but in the future I hope it will be useful to check my history for such a thing. That didn't solve my question. As I still can't find in which league I was in the top 0.30%  Marked as duplicate? I think the people that voted for the should be banned, because they are kidding with their priviledges. I think when they see the word league and they mark as duplicate. To these who marked it as duplicate: people please read better these questions, because we the users are wasting time to think think think, then write and its well formed question, its unique question and you are ruining the website and OP passion for writing.   A feature where we can see our top rankings in each league would be great!


Do light particle/waves have a frequency?

I sought the answer to the question about amplitude of light waves first, but I was actually thinking about whether the wavelength is the only property of a single quanta of light. I suppose direction may be another, since it can be focused.   Now my question is about wavelength only...do photons actually have a wavelength? Or is that only a property that can be measured based on interactions with other particles (as in, how the photon can affect the state of an electron)?


Expected area of triangle formed by three random points inside unit circle

Motivated by the discussion in  I tried to find an expression for the expected area of a triangle formed by three randomly chosen points inside the unit circle. I could not find one. Perhaps this is one of those problems which look easy but are difficult to solve analytically.


mhchem ver.4 not working after update! Control sequence undefined

I updated MikTex 2.9 Monday, and now can't compile while loading 'mhchem'. I'm using pdflatex [Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9 64-bit)] to compile the following:  \documentclass{article} \usepackage[version=4]{mhchem} \begin{document} Hello, world! \end{document}   throws the following error:  ! LaTeX error: "kernel/command-not-defined"  ! Control sequence \prop_get:Nn undefined.  ! See the LaTeX3 documentation for further information.  ! For immediate help type H <return>.  l.180 ..._variant:Nn \prop_get:Nn           { cV }  | This is a coding error.  | LaTeX has been asked to use a control sequence '\prop_get:Nn': this has not been defined yet.


My cousin UK visit visa was refused with her one year old son and husband. The reason for her refusal is that she said they are traveling to visit her uncle and they will be spending 21 days. The Eco said she mentioned that she said she will spend 21 days and that spends 50,000 naira monthly on living expenses that they noticed that she spent more than 50000 in some month her bank statement. That her statement is inconsistent. Eco also said she said she will spend 1300 pound for her visit and her husband will support her with 200 pounds. Since her husband has been refused they are not convinced if she will get the 200 pounds. Her son was refused due to his parents refusal. She wants to reapply, but how soon can she do that. And how can she change her personal circumstances


My newly added user cannot write to folder

Suppose I installed ubuntu with the user usr1 then I added usr2. I then create a group grp1 where this 2 users are added. A folder is owned by usr1 and has group grp1. But when I login as usr2 I cannot write. The folder has permissions 755...  usr2@kmserver:/media/data/www$ groups usr1 usr1 : grp1 ... usr2@kmserver:/media/data/www$ groups usr2 usr2 : grp1 ... usr2@kmserver:/media/data$ ls -l total 20 drwx------ 2 root root 16384 2011-05-12 10:53 lost+found drwxrwxr-x 2 grp1   grp1    4096 2011-05-12 15:15 www   Whats wrong?


Calling templated method of templated member

I have this code, which doesn't compile (EDIT: compiled in VC, but not in GCC):  template<int N> struct List {    template <class C>    void clear() { } };  template <int L> class Test { public:     List<L> list; // <--This line     void method()     {        list.clear<int>(); // <-- Compile error here:  error: expected primary-expression before ‘int’      } };   How can I make it work? It seems the compiler (gcc) doesn't understand the context, because if in the marked line I replace L with a number, like List<1> list; then it compiles fine.


Two apples are plural.  When I refer to a number of items only by their count, is the count singular?   For example: "Two is enough."  Is that correct?


I need a symbol behaving like $\sum$ and $\prod$  but for exponentiation. The best I got is  Is it possible to do better? Ideally, should look like $\sum$ or $\prod$ but with capital Epsilon instead Sigma or Pi.


Will Ubuntu run well on this low-spec Lenovo IdeaPad 110-15IRB

My mom recently bought a new laptop it came with windows 10 and runs like S***. I think it's probably because of windows 10 and all the bloatware shipped with the pc. (really it's packed)  Here are the specs  Intel Celeron n3060 2gb of ram 500gb hdd  I'm hoping to get Ubuntu up an running on it, but wondering if Fedora or Elementary OS might be a better option. Anyway will Linux run well on here? And if so which flavor would you suggest?


What is the preferable setup for MiKTeX to keep all packages up-to-date easily?

By default, MiKTeX is set up for all users to the folder C:\Program Files\MiKTeX 2.9 However, packages added on-the-fly go to the folder  C:\Users\CurrentUser\AppData\Roaming\MiKTeX\2.9  (in case of Windows 7) specific for the current user.   As to me, it was the origin for subtle errors when I tried to update my MiKTeX installation. Going to Start, All Programs, MiKTeX 2.9, the menu shows Maintenance  and Maintenance (Admin) as submenus. I thought I could ignore Maintenance and only use the Update (Admin) utility from Maintenance (Admin). It appeared however that the packages installed on-the-fly are not updated by Update (Admin). As a result, updated packages sometimes conflicted with non-updated packages. This especially is a pity since experimental packages, such as l3kernel, l3packages, fontspec, polyglossia, unicode-math, sometimes conflict even if they are all updated [I have this case right now!].  So my question is: What is the best practice for installing and using MiKTeX?  I am the only user on all my computers, but I used to accept the default method of installing MiKTeX (for all users) since once I tried to install MiKTeX in the for me only mode but met some troubles (don't remember exactly which ones).


Why do Dwellers return from the Wasteland by themselves?

In Fallout Shelter why do some Dwellers return from the wasteland by themselves?


Repository which allows anonymous authorship

This question concerns a problem related to a paper submission in the field of psychological methods. As part of the review process, I was asked by the journal's editor to provide my appendices as online documents at an author-controlled site, and not in the main text (simply to shorten the paper). Since these documents will be reviewed as part of the journal's blinded peer-review process, the authorship of these documents should be blinded as well until the publication of the paper.  My question is which research-related sites allow this kind of submission (i.e., a document which is made available by an URL, with anonymous authors)? As far as I know, sites like arXiv or Zenodo do not allow anonymous submissions.  I am thankful in advance for any advise on this issue.  Edit: I am aware that a similar question addressed the anonymous storage of research data for a paper submission. However, the responses listed there (Dropbox, supplementary material in the submission) are not useful in my case. Dropbox is only a last resort, and I am not allowed to submit these documents as supplements.


Where are the java. packages such as java.lang and java.util located?

Are these packages in some directory called java? I have not been able to find any package called java though in my IDE. Where would these packages java.lang or java.util be located at? If it is located in the JRE or JDK, is the word "java" inside java.lang representing the directory/package where the JDK is located at? The reason I ask is because typically such syntax is used for packages.


Why I can't partition my drive in Ubuntu using gparted?

My problem is that when attempting to resize the dev / sda2, both the minimum and the maximum size, are of the same value (which is the disk size: 708 862 MB).  What should I do?


Reset the password in Ubuntu / Linux Bash in Windows

I have installed Linux Bash on Windows 10 (available from Microsoft), but I've forgotten my password.  I've searched for a solution but I only find suggestions that involve doing something before the system boots, like accessing recovery mode, but that will not work in this case as this Ubuntu is just an application within a Windows system and doesn't have its own boot process.  How can I reset my password?


How do I write this matrix as a product of elementary row matrices.

\begin{pmatrix}3&-1&3\\ -2&3&2\\ 1&-3&1\end{pmatrix}  Any help would be greatly appreciated!  I have done this before with other matrices, yet this one is bringing me trouble. I have spent too long on this as I believe it should be easy and yet my answers are always wrong. What Do you do after you get the identity matrix?  What I am doing: So I first row reduce it to the identity matrix:   I first switch $R_1$ and $R_3$ Then $R_3-3R_1$ then $R_2+2R_1$ then $-1/3R_2$ then $R_3-8R_2$ then $R_2-2R_1$ then $3/32R_3$ then $R_1+3R_3$ and finally $R_2+4/3R_3$   I know there is many possible ways to get this too the identity matrix but this worked for me. I then apply all of the above steps to identity matrices and multiply them together to check my work but it never works out to be the original matrix so I am forced to believe something is wrong.


Do I choose my Annihilator sacrifices during resolution?

It was suggested to me recently that Annihilator sacrifices (such as 's) are only chosen during resolution, rather than while they're going on the stack.  Do I choose those sacrifices during resolution? What part of the comprehensive rules backs that up?  I can't find any clarity on the internet, in the rules, on the MTG Salvation wiki for Annihilator, or in the ability's rulings. It seems reasonable, but I'd like to know what's behind it. Plus, if I can choose and then later  some stuff, all the better.


No direct object in 'give thee faithfully to follow' ? (1670 UK, Isaac Penington)

Para 5, , by      If the Lord would show thee but this one   thing, -- that to use "thee" and "thou" to a particular person is   proper language, and Scripture language; and that to say "you," is   improper, and arose from pride, and nourisheth pride, and so is of the   world, and not of the Father; and thou should bow thy spirit to him in   this one thing, thou little thinkest what a work it would make within thee, and how strongly the spirit of darkness would fight against thy   subjection thereto. The Lord lead thee as he seeth good, and give thee   faithfully to follow; for else, if the Lord should lead in any thing,   and thou not follow in that thing, his Spirit would be grieved and   vexed thereby, and thy heart in danger of being hardened by the   deceitfulness of sin.   What is the Lord giving thee faithfully to follow?   The grey claims that the reader thinks little of the significance of stressing 'thee' and 'thou' over 'you'. So I'd guess that the Lord is giving 'thee' this caution? If I'm right, why is there no direct object in the bolded? I recognise grammatical differences in the 1600s, but still want to learn.


Why Windows sets new created file's "created time" property to old time?

Trying this I have found a strange problem:     Delete an old file.   Create a new file and name it the same as the old file.     Then the "created time" property of the new file is set to the "created time" of the old file. Why does that happen? And how?


This question is already answered on here. head over to that link.  I have been sitting here wondering if zero is even or odd and if it is even why is it even. I have no justification for why it is odd or even. Understanding that justification would be great.   It feels even, but no idea why.


Unable to correct problems, you have held broken packages ERROR

Recently  I had problems regarding my software center so I decided to uninstall it . But when I tried to install using the following command sudo apt-get install software-center*. I get the following error -  " The following packages have unmet dependencies:  ubuntu-kylin-software-center : Depends: language-pack-zh-hans but it is not installable E: Unable to correct problems, you have held broken packages. " So can anyone help me with this problem .


Can $\sum_{n=2}^{k} \sqrt{n}$ be rational?

It is easy to see that $\sqrt{2}$ and $\sqrt{2}+\sqrt{3}$ are irrational. So $\sqrt{2}+\sqrt{3} + \sqrt{4}$ is irrational. But what about $\sqrt{2}+\sqrt{3} + \sqrt{4} + \sqrt{5}$? I suspect that $$\sum_{n=2}^{k} \sqrt{n}$$ is always irrational, is it true and is there a simple way to proof that?


While performing Poisson regression in R, I realized that the residuals, as given in the object slot (model$residuals), differ both from the values returned by the residuals() function and from the differences between the observed and predicted counts. See the figure below ("diff" refers to the difference between the observed and the predicted counts, "fn.res" to the values from the function, and "obj.res" to object values).    I also found that object values are related to the actual and the fitted values by the formula:  $$ r = \frac{o}{f} - 1 $$  ($r$ being the residual values in the object, $o$ the observed counts, and $f$ the fitted values). Why it is so?  I could not find a relationship between the values returned by residuals() and the other two. The R's help() function is, unfortunately, of no help here.  So, when trying to validate Poisson regression, , which "residuals" should I use and why?  I've taken a look at the answers to "", but they don't satisfy my curiosity. I don't want to use some package as a black box, but to know what is happening and why. What are the residuals given by the glm and residuals(), if not the differences between the observations and the fitted values? Why are they defined so?


Can I develop iOS Applications in Ubuntu without using a virtual mac OS system?

I'm a developer of Android applications and a java programmer. I'm learning IOS programming but I don't have mac OS; I use Ubuntu.  I want way to program IOS apps in Ubuntu without using a virtual machine (in vmware or VirtualBox) And without MacOS.  Can I do that in Ubuntu?


Will a CPU upgrade speed up my web browsing? How to tell?

My CPU model is 2 and a half years old now, released Intel Q4'2010.  How can I determine if getting a new CPU will improve how fast I surf the Internet, versus getting a better ISP subscription?


Why is the hydrogen bond different from other bonds that allows ice to float in water rather tan sink.   I don't want the math. I want the reason that bond is different than the rest.  Why, not how.


How to fix white dock and title bar on Ubuntu 17.10?

So here's how the desktop looked after fresh install: . After restarting the system, however, it turned to this: . I tried tweaking the themes and icons using GNOME tweak tool but to no avail. How do I fix this?


How does the nature of cricket pitches vary?

In cricket playing countries like Australia, South Africa and England, pitches often are thought to support fast and swing bowling. But in the Asian subcontinent and other countries, pitches are typically not too bouncy.  How do cricket pitches vary? Will the weather conditions play a role in affecting cricket pitches?


Let $U_1, U_2, \ldots$ be a sequence of independent random variables with PDF $f(u) = 1, \;\; 0 < u < 1$.

Let $U_1, U_2, \ldots$ be a sequence of independent random variables with PDF $$f(u) = 1, \;\; 0 < u < 1$$  Find $E[N]$ when $N = \min\left\{n\mid \sum\limits_{i = 1}^n U_i > 1\right\}$.  Hint: For $x\in (0,1)$, define $N(x) = \min\Big\{n\mid \sum\limits_{i = 1}^n U_i > x\Big\}$.  I am absolutely lost on this question. Any help would be greatly appreciated.


I am trying to install python3-venv and get below error. I have looked at similar threads, esp this one:  I am on Ubuntu 20.04 LTS, using it through Windows 10 (WSL). The following packages have unmet dependencies:  python3.8-venv : Depends: python3.8 (= 3.8.2-1ubuntu1) but 3.8.2-1ubuntu1.2 is to be installed E: Unable to correct problems, you have held broken packages.


Production of DEM on ArcMap from LiDAR data?

I am trying to produce a DEM for my dissertation (i'm relatively new to ArcGIS) so that I can conduct hydrological analyses of catchments. I have downloaded LIDAR (.laz 2x2 km) data and have created a las dataset. It is my understanding that I now need to make this into a terrain dataset to analyse the data. I have made a feature dataset and have imported LIDAR ground points into a multipoint feature class. However, I do not know what to do next. I have read that adding breaklines is important and that there is more preprocessing I need to do.I have catchments that are separate to each other so I believe I may need to merge them. I am looking for help as to what processes I need to execute to have a data set upon which I can use the hydrology toolbox to carry out accurate analysis.


What is the meaning of prefix -y in the following examples?

These are some exmaples from Choser:  1)He was war of me, how у stood   Before hym and did of myn hood,   And had ygret hym as I best koude.  2)A certein tresor that she thider ladde, And, sooth to seyn, vitaille greet plentee They han hire yeven, and clothes eek she hadde...    3)For he was late уcome from his viage, And wente for to doon his pilgrymage  I guess the meaning of -y can vary, because in 1) it seems like it`s just playing a part of "I":    And had I greeted him as I best could  And in 2) it looks like a phonetical construction:    "y"+e = "gi:" yeven=given (?)  But I'm not sure at all about those as well as I'm not sure about the third example (maybe it's pronoun again), the meaning of which I can`t even guess now.


Starting a line where the previous line finishes

I have been using LaTeX for standard things like letters and scientific reports. I recently came to visit my grandmother who writes some poetry and told her I could make a nice pdf from her handwritten verses -- which I start to regret :P... I used the package verse and it is going all right, but in some specific poems, she wants a very 'exotic'  kind of positioning. She wants some lines to start exactly where the former line finishes like in this example:    Do you know how I could, for instance, write a magic command \magicom{} that would generate the text above when used like:  This is some\\ \magicom{}text I would\\ like to\\ \magicom{}format\\ How can I do this with\\ \magicom{}LaTeX?


Can't find the Privileges link any more.   is no longer valid.  Can someone please tell me where it's hiding now?


How do you increase your Stack Overflow reputation in a realistic manner?

This question might not be a directly related to programming but more the culture around it, specifically Stack Overflow.  I recently stumbled onto , and read how you could create an online CV that links to your Stack Overflow reputation, thus allowing future employers to review your answers and questions.  Since Stack Overflow has become such a phenomenal success for developers, I realised that Stack Overflow Careers was going to be crucial when applying for software development jobs in the future. This would imply that a high reputation is needed to reflect well on your CV.  Now, I love Stack Overflow and think it’s a great resource for finding solutions to problems regarding software development. However, I cannot possibly sit on the site 24/7 and hope to be one of the first replies to a question to try and increase my reputation. Developers need to work, you know.  So my question is: How do you increase your reputation score on Stack Overflow in a realistic manner? There are users out there boasting reputations of 25,000 and higher. How do you do this? Suggestions, comments, tricks, etc. would be helpful.


How do I get my old Google Chat back in the Gmail web app?

I don't like the new Google Hangout integration with my gmail web app.  It's too busy, too much color, and too hard to see what status people are.  In short, get off my lawn.  Can I get the old Google Chat interface back?


the local function has his own copy of outter variable in javascript closure?

the html and javascript is below:  <script>     function a(k)     {         var i=0;          if(k==0)         {             function b()             {                 alert(++i);             }             return b;         }         else         {             function c()             {                 alert(++i);             }             return c;         }     }      var d=a(0);      var e=a(1);  </script>      <button onclick="d()">clickme</button>     <button onclick="e()">clickme2</button>   the html and javascript is above.   I click the button "clickeme" first, the browser alert"1"; then I click the button "clickme2",the browser alert "1" too.   why?   after I click the button "clickme",the variable "i" have changed to 1;then,when I click the button "clickme2" the browser should alert "2".  why?  the local function of b() and c() has it's own copy of variable "i"?


Why does Stack Overflow make all my answers community wiki?

My recent answers got turned into community wiki (CW) state automatically. I know about answers getting turned into community wikis after 10 edits - which I think is not right anyway if I was the only one editing - but recently it seems to happen with my new answers without edits too:       Is this a bug or some special  care? I would like to have them reverted from CW state. Update I raised flags about both answers. The second one (edited multiple times by me) got reverted back to normal answer, but the first didn't. I flagged the question itself to be reverted back from community wiki status, as only the owner edited it, but nothing happened since. Until it gets fixed I removed my answer too... no such thing as free lunch guys, I want my points LOL ;) Update 2 Yay! Both of them are reverted back!!! :D


Linear transformation $T:\mathbb{R}^{n}\rightarrow\mathbb{R}^{n}$ such that $T^{2}=\lambda T.$

Let $T$ be a linear transformation $T:\mathbb{R}^{n}\rightarrow\mathbb{R}^{n}$ such that $T^{2}=\lambda T$ for some $\lambda\in\mathbb{R}.$ Then which of the following is/are true?  $1.\|T(x)\|=|\lambda|\|x\|$ for all $x\in\mathbb{R}^n.$  $2.$ If $\|T(x)\|=\|x\|$ for some non-zero $x\in\mathbb{R}^{n}$, then $\lambda=\pm 1.$  $3.T=\lambda I$ where $I$ is the identity transformation on $\mathbb{R}^{n}.$  $4.$ If $\|T(x)\|>\|x\|$ for a nonzero vector $x\in\mathbb{R}^{n},$ then $T$ is singular.  According to me since $T^{2}=\lambda T$ we have $T$ satisfies the polynomial $x^{2}-\lambda x.$ So choices for its minimal polynomial are $x,x-\lambda,x(x-\lambda).$ So $3$rd option is clearly incorrect and $4$th option is not satisfied if $T=I$ and hence correct one. I am confused in first two options . Please help me. Thanks in advance.


I was given this problem but I have no idea how to prove it. Any ideas?  Let $n$ be a positive integer. The number of positive integral solutions to $\frac{1}{n}$ = $\frac{1}{x}$ + $\frac{1}{y}$ is $\tau(n^2)$ where $\tau(n)$ is the number of divisors of $n$.


How To Fix Null Pointer Exception in Android Studio?

As I tried to Generate the Bluetooth application on how it turn on? turn off? Finally, I run the application in android studio using Emulator.Build and Sync up is Done.It doesn't show any error.While i want to open that app in emulator that it doesn't work. It shows app keep stopping.  In log cat I see that there is a Null Pointer Exception and FATAL Exception Main.  How should i solve this problem? Can any one help me out of this app clash!


Why are there so many significant characters in Superboy, Superman with the same initials LL? For instance Lana Lang, Lois Lane, Lex Luthor, Lena Luthor, Linda Lee, ....? For Batman all I can recall for anything similar is Vicki Vale.


I was  the users' first answers,  and I see a lot of people who has answered his own question,  but hasn't accepted it, because of:   He's new on the site and doesn't know that answers can (should!) be accepted. He's new on the site and thinks accepting a self-answer is a bad thing. He had to wait to accept his answer and forgot about that. He intentionally leave it unaccepted (very few cases).   And I have to make tons of comments asking those people to do so.  The proposal  Wouldn't it be great to let the site ask you to accept your answer? I know there's a waiting period: if it hasn't expired yet, remember the user to accept his answer when it expires.  For example, by showing a notification or sending him an email when the waiting period expires.


Sum of a Finite Geometric series is hard for me to explain to my high school students. Is there a simple explanation?

I am a high school math teacher who likes to understand the development and rationale behind formulas, albeit I am not a math expert by any means.  Could I get some help in trying to explain how the formaula for the sum of a finite geometric series actually can be derived?  I need a a rather simple explanation initially, so that I can grasp the essential nature of the formula.  Thanks for allowing me some space here.


Bibliography using BibLaTeX with English and Portuguese authors and titles

I am trying to print a bibliography using biblatex with English and Portuguese authors and titles, using AucTeX in emacs. But the result in Portuguese is wrong: Lus, Simes, deciso, faa instead of Luís, Simões, decisão, faça. I am using XeLaTeX with the following TeX file:  \documentclass{article} \usepackage{filecontents} \usepackage[utf8]{inputenc} \usepackage[main=english,portuguese]{babel}  \begin{filecontents*}{ToRead.bib} @book{Simões2006,   address = {Lisboa},   author = {Simões, Luís},   publisher = {Routledge},   title = {Uma decisão que se faça},   year = {2006} } @book{Gilbert2007,   address = {London},   author = {Gilbert, John},   publisher = {Penguin},   title = {Give me that},   year = {2007} } \end{filecontents*}  \usepackage[backend=biber,style=authoryear,natbib=true]{biblatex} \addbibresource{ToRead.bib} \usepackage{url} \begin{document} \nocite{*}  \printbibliography  \end{document}


Is (rest) mass conserved in special relativity?

I don't understand why it is said that the (rest) mass of a system is not conserved in relativity. I mean, the momentum of a system is conserved (i.e.: it remains constant in a frame of reference without any external influence). Also the energy of a system is conserved in relativity: it doesn't change without any external agency  and the (rest) mass of a system is just  $$m^2=E^2-p^2$$  $E$ is constant, $p$ is constant, how can $m$ change?  For example, entropy is not conserved in a system, that means that the entropy of the system will increase spontaneously with time, which is really the case. But, is this true for mass?   here is the problem from Griffiths and exact solution as given in the Griffiths,  Two lumps of clay, each of rest mass $m$, collide head-on at $3c/5$ and they stick together. Question: what is the rest mass $M$ of the composite lump?  Solution: In this case conservation of momentum is trivial it is zero before and zero after. The energy of each lump prior to the collision is $$mc^2/\sqrt{1-v^2/c^2} =5mc^2/4.$$ The energy of the composite lump after the collision is $Mc^2$ (since its at rest). so the conservation of energy says: $5mc^2/4 + 5mc^2/4 =Mc^2$ and hence $M=5m/2$.  Notice that this is greater than the sum of the initial masses! Mass was not conserved in this collision; kinetic energy was converted into rest energy, so the rest mass increased.


What is Penny's last name in Big Bang Theory?

The characters of Big Bang Theory are:   Sheldon Lee Cooper    Leonard Leakey Hofstadter  Howard Joel Wolowitz    Rajesh Ramayan Koothrappali    Bernadette Maryanne Rostenkowski-Wolowitz    Amy Farrah Fowler   AND....  Penny!? That's it? No last name, or even a middle name?


Inverse of sum of exponential random variables (mean and variance)

Assume $X_1,X_2, \dots , X_n$ following the exponential distribution with mean $\theta > 0 $ and the statistic: $$ T = \sum\limits_{i = 1}^n X_i $$  I know that the sum of exponential random variables follows the Gamma distribution, but I cannot infer anything about the inverse of the sum $\frac{1}{T}$. My guess would be that: $$ E\left[\frac{1}{T}\right] = \frac{1}{\theta} \quad \text{and} \quad V\left[ \frac{1}{T} \right] = \frac{1}{\theta^2} $$ but why?


What is the output specification of an audio jack?

I am currently building an audio amplifier. The goal is to connect the amplifier to a audio jack and the other end to a (4 ohm) speaker. I want to know the specifications of the output power (including voltages and amps) of the audio jack.   I already connected the output the oscilloscope, but got different result based on different devices (my PC was giving 1.5 volts while the phone was giving "only" 1 volt). That gives the suggestion that there is a space in what could still be as accepted on the output of the jack.  P.S. I was kind of struggling if this question is really "electrical engineering" or something else. Please don't downvote, but let me know and I will remove it here and put in whatever else is better suited.


What version of Microsoft Exchange am I running?

I recently joined a company where nobody knows what's going on with the email server. I'm trying to fix and tidy things but I need to know which version of Exchange we are running. I have access to the Outlook Web App but it doesn't list the version anywhere. It looks like this:    Any idas what version it is?


i need help on this problem: how can i prove that the metric d(x,y)=|x-y|/(1+|x-y|) from (ℝ,d) satisfies the triangle inequality?  Greetings


As an olympiad-participant, I've had to solve numerous inequalities; some easy ones and some very difficult ones. Inequalities might appear in every Olympiad discipline (Number theory, Algebra, Geometry and Combinatorics) and usually require previous manipulations, which makes them even harder to solve...    Some time ago, someone told me that      Solving inequalities is kind of applying the same hundred tricks again and again   And in fact, knowledge and experience play a fundamental role when it comes to proving/solving inequalities, rather than instinct.  This is the reason why I wanted to gather the most important Olympiad-inequalities such as    AM-GM (and the weighted one) Cauchy-Schwarz Jensen   ...  Could you suggest some more?    This question was inspired by the fantastic contributions of @Michael Rozenberg on inequalities.


Always sort Recent Places by date modifed

I used to always have the Recent Places shortcut folder sorted by date modified (which is the only reasonable way to sort it). But some time ago it started sorting it by name automatically. No matter what I try it seems that I can never get it to remember to sort by date. Even if I click the Date Modified column header, then navigate to another folder and then come back it is sorted by name again! No other folder behaves like this. Do other people have this problem? Any way to fix it?


I'm programming in C++, and I was looking for "the best" compilers (size, features...), but I read "How to Ask", and I didn't post the question. If I need to dicuss (important things, like this), get opinions from the users, what's the best place to? Is there any programming-discussion affiliated site?


Is their any difference between red and white ball?

I have realized that it is very hard to play with red ball for the batsman like in test matches when he plays any unnecessary shot like from outside the off stump he gets out immediately.The scenario is completely different with white ball.


Show that $\lvert e^{i\theta} - 1\rvert = 2\lvert\sin(\theta/2)\rvert$ by using the geometry of the triangle with vertices 0, 1, and the midpoint of the line joining 0 and $e^{i\theta}$.  I have been able to show this identity through other means, however I am stuck on how to utilize this particular triangle.


Let$ S$ be a subring of$ R$. If $R$ is an integral domain, then $1_R$ = $1_S$?   I know that if $S$ is subring of $R$ then  $S$ is integral domain. How to prove this problem ?  Thanks in advance.


How can I typeset a table whose lines do not extend to row and column headings?

Is there an easy way to convert this table (with complete lines)    into that one (with incomplete lines; the image is "Photoshopped" for illustration)?    Note that I want to get rid of the initial part of the lines (vertical and horizontal). All solutions are welcomed but I would prefer a solution that doesn't require additional packages, if possible.  This is the code for the first image:  \documentclass{article} \begin{document} \begin{tabular}{l|c|c|}   & A & B \\ \hline a & 0  & 1 \\ \hline b & 10 & 11\\ \hline c & 20 & 21\\ \hline d & 30 & 31\\ \hline \end{tabular} \end{document}


I can't save my animation as a .mov and thats the only thing that plays on my mac.  Is there a way that i can add file formats such as .mov


How to use IN to compare a single value with a comma separated field in another column

I have a table that looks like this. let's call it table1:  |attributeMask | |--------------| | ,300,302,400 |  | ,301,500     |  | ,900,876     |    These are varchar values.  Then I have another table2:   columnNumber  |  |------| | 300  |  | 500  |  | 900  |    These ones are int.  What I need is a query to compare columnNumber with values inside attributeMask.  For example, I need to find inside attributeMask, rows that has 300 (for each row. the second columnNumber is 500, and I will compare this 500 with the respective row from it's own attributeMask that can be ,299,34,500). I'm trying to use FOR XML PATH or other functions but I have no idea what to do.  This is the entire query that i could create until now:  select  top 3       t1.[Name]    ,t1.ColumnNumber    ,t3.AttributeMask     ,t3.changeData     ,t3.CreatedOn    ,t3.ObjectTypeCode    ,t3.UserId from metadataschema.attribute     t1 inner join  metadataschema.Entity t2     on t1.EntityId=t2.EntityId inner join AuditBase              t3     on t2.ObjectTypeCode=t3.ObjectTypeCode where t2.ObjectTypeCode=1  //this is wrong. but is this part that I need to fix and convert(varchar,t1.ColumnNumber) in (select t3.AttributeMask from  AuditBase) //until here and t3.CreatedOn BETWEEN '20190902' AND '20190913'  and t1.[Name] in ( 'address1_postalcode','smart_caixapostal','smart_tipologradouro','smart_complementoprincipal','smart_estado','smart_logradouroprincipal','smart_bairroprincipal', 'new_regiao','smart_numero','address1_city','smart_pais','smart_validarendereco','smart_cepcobranca','smart_caixacobranca','smart_validarendereco_cob', 'smart_tipologradourocobranca','smart_logradourocobranca','smart_numerocobranca','smart_complementocobranca','smart_bairrocobranca','smart_municipiocobranca', 'smart_estadocobranca','territoryid','smart_paiscobranca','smart_cepmkt','smart_logradouromkt','smart_complementomkt','smart_ufmkt','smart_tipodelogradouromkt', 'smart_bairromkt','smart_ddidddmkt','smart_caixapostalmkt','smart_numeromkt','smart_municipiomkt','smart_telefonemkt' )


My wife put my PC into sleep mode, I could not wake it up. I just got a signal on monitor saying "no signal input".  When I'm trying to boot up, I am getting two short beeps, followed by eight short beeps, then it continues to appear to load up.   I turned off the power to the PC and held the start button for 60 seconds. I also took side cover off, checked all connections, reseated ram, graphics card, also took out the battery and reset the BIOS, still nothing.   Any ideas? The PC is running Windows Vista.


Move reputation from one website to another website

Can i move my reputation from one website (like ) to another website(like )?  Is it possible?   Thanks!


Does Android continue to run after phone is switched off?

I was wondering about this: it seems that when you set an alarm, even if you switch off your smartphone, on reaching that time the alarm manages to ring.  Is the Android framework still running and hence the Alarm Service is able to detect change in time, or other reason?


What are the differences between commands "t.sh" ". t.sh" "/t.sh" "./t.sh"?

I am new in shells, so I stuck with this kind of question. What is the simplest way to differentiate those commands?


Owncloud problem: localhost/owncloud offers phtml file to download instead of showing a website

I have installed owncloud, apache2, php and all the other stuff on a fresh Ubuntu system (14.04) (owncloud version 8). The apache server works, but if I want to connect to localhost/owncloud it just shows me the message, that I can download a phtml file, it doesn't show me a site.   Has someone an idea what I did wrong or what could help?


Prove: For odd integers $a$ and $b$, the equation $x^2 + 2 a x + 2 b = 0$ has no integer or rational roots.

If $a$ and $b$ are odd integers, prove that the equation       $$x^2 + 2ax + 2b = 0$$      has no integer or rational roots.


The graphic externalisation works well when it is done in a subfolder of my TeX files with the command  \tikzsetexternalprefix{figures/}   However, I get an error message when I try to set a different folder (not a subfolder of my TeX files), such as  \tikzsetexternalprefix{H:/figures/}   When I compile the document, I only get in the .log file (in H:/figures/BELI.log) the following error  ! I can't write on file `H:/figures/BELI.dpth'.


I think every single one of us has experienced a dark dot in his/her sight when looking at a white surface such as a white ceiling, there's something in our eye that with a little focus we can see it, and when we move our eyes around, that thing floats around quickly in your sight. It's like a substance on eye's surface, I want to know what is it called. Hope I'm clear enough.


Is SE now, unintentionally, functionally closed to inexperienced users?

Based on the , it was stated that the goal of SE is not to aid the individual, but create a solid knowledge base of useful problems and solutions for posterity.    This is a valid, and worthy goal. And, this is why redundant answers and poorly worded questions are downvoted, and closed, in order to avoid glut in the knowledge base.   However, based on the above as well as and on certain basic economics principles about the eventual pooling of value, it would seem an unintended side-effect of this would be that (considering the site is now ten years old) that it is effectively closed to new and inexperienced users.   Let me explain  Users gain reputation by answering questions, or posting good questions. In the early days of 2008, there were NO questions whatsoever (obviously) so nearly any question - no matter how basic or simplistic - were good, and received both answers and upvotes (SE recommends also upvoting the question, when a useful answer is found).    Here are some examples of very simple questions from the early days ...        These are all extremely simple questions, which have received high points for the participants based on the usefulness and how long they've been out there.   But, in 2018, nearly all of "the easy" questions have been answered. Any questions even remotely similar to the above would be both immediately closed as redundant, and downvoted to very low stats (affecting the reputation of the asker).   On the flip side; "harder" questions are, of course, still valid and gain a lot of reputation for users. But inexperienced users cannot answer these questions. So, again, no possibility of reputation points.  As a user who deeply values SE, and is somewhat concerned for it's continued success...does this mean SE is effectively now a closed community? And how will this affect its future?


When i try to update ubuntu i get the next error, how do i solve it? :


One question about remainder of division

Definition of the Division Algorithm: if $a,b \in \mathbb{Z} \setminus \{0\}$, then there exist unique $q,r \in \mathbb{Z}$ such that $$a=qb+r, 0 \leq r < |b|$$.  My questions are: (1) is this statement provable? i.e can we prove that such q,r exist? (2) i understand that $r$ can be zero (when $b$ divides $a$) but why is that $r$ must be less than the absolute value of $b$?


If $p + q = 1$ prove that for any natural $n, m$ following is true: $(1 - p^n)^m + (1 - q^m)^n \ge 1$

Let $p, q \in \mathbb R$ be positive reals for which $p + q = 1$. How to prove that for any two natural numbers $n, m$ the following inequality is true?  $(1 - p^n)^m + (1 - q^m)^n \ge 1$  I don't have a big knowledge about solving inequalities, so I tried to use cauchy-schwarz inequality, binomial theorem and some other baisc techniques, but it lead me nowhere. I've been thinking about it for a long time and now I'm completly stuck.


Is there a way to acces external .blend file's data with python script?

I'm writing an addon to parse a directory (and its sub-dirs) to write an XML file which describe the tree-structure of the assets contained in that directory. At the moment, my standalone script works pretty well.  The fact is, I need to add some info to the XML, like the dependencies (linked libraries) of each .blend file the script found.  I found a way to do this (outside blender), with the module "pyblenderfile" :   The principle of this module is to open a .blend and get all its data. But it's pretty long and often buggy on large .blend files. Especially since it's included in a for ... loop!  So I wonder if there is a utility function or method into Blender API, to access other .blend files data (without having to wm.open() them) ?


I was playing kittens-game, and suddenly I noticed I had 3 paragon, instead of 1. I only reset once, over a month ago, and I had 1 paragon the whole time. I didn't do anything with the console, no jerking around with my savegame or anything. I can't find anything in the changelog that has anything to do with gaining paragon. Where does it come from?  (Bloodrizer, if you are reading this: please do not punish me and set me back to 1 paragon!)


Installing Windows on server SSD preserving Ubuntu installation

I have a server with a SSD and two HDDs. One of the HDD's had a Linux and a Windows partition. After Windows update we couldn't boot Linux anymore. My supervisor was able to somehow restore Linux but in the process he had to destroy the Windows Partition.   Anyway, he wants me to install Windows again over PXE but on the SSD and without overwriting the linux partition.  How can I make sure to install it on the right hard disc and not to overwrite Linux?


How does Windows decide what parser to invoke for a script?

When you run a script, e.g. script.py under windows 10, how does windows decide what parser to start for it (e.g. python.exe or py.exe)? If you explicitly start a specific parser by running python script.py it's pretty obvious : PATH is searched until it finds python.exe, and that's started. However, if you simply run script.py from the cmd line, it also starts the parser. I thought the information of what's started was available via assoc and ftype, but that turns out to be wrong. In detail : We have a python script that can be found via PATH. The script has the .py extension, and if we run assoc .py, it tells us.py=Python.File. If we do ftype Python.File, it tells us Python.File="C:\windows\py.exe" "%L" %*, which is the python launcher under windows. This launcher is supposed to look at a shebang line in the script, and use that to decide which version of python to start. However, the launcher is never used. We know this because e.g. running set PYLAUNCH_DEBUG=1 and then explicitly using the launcher via py script.py shows us debug output from that launcher, but simply running script.py doesn't show anything. Eventually we figured out that there's a registry entry under Computer\HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command which determines how the .py file is executed : if we change that to "C:\Windows\py.exe" "%1" %* (i.e. the launcher), and then run script.py it does use the launcher. However, I don't understand how Windows associates the .py extension with that python.exe registry entry. From what I understand, given the output of assoc .py and ftype Python.File it should start the launcher, regardless of that other registry entry. What am I missing here? P.S. we're running on windows 10 pro, if that makes a difference.


Finding common denominator of a polynomial

I am solving a limit and am stuck with finding the common denominator. This is the limit that I have:  $$\lim_{x \to 1} \left( \frac{1}{1-x} - \frac{3}{1-x^3} \right)$$  Since $x \to 1$, the limit is $\frac{1}0 - \frac{3}0$ - or $\infty - \infty$.  So, I think the next thing I need to do is find the common denominator and continue from there on.   I would very much appreciate an answer. Thank you all and have a nice day.


How do I remove punctuation from a string in python? I followed the approach that someone posted on Stackoverflow, but it is not working.   punctuation = ['(', ')', '?', ':', ':', ',', '.', '!', '/', '"', "'"]  str = input("Hi, my name is Yael Shapiro!")  for i in punctuation:     str = str.replace(i,"")  print(str)