How to use KDE partition manager to make linux partition larger

My main Ubuntu 18 partition is getting crowded.  I wanted to take some of the extra space from the FAT partition.  I opened both KDE partition manager and the DISK utility because the partition manager doesn't really tell me what's what.  ON the disk utility it had sd8 as the Ubuntu system.  So, I shrunk a different partition and removed a partition that said it was free space but I couldn't see how to enlarge my Linux partition.  But then, I look at the Disk utility and it no longer has a linux system partition.  Instead of that Ubuntu system it has Partition 1 as 58 Gig of NTFS, then 25 Gig Free Space, Partition 2 as unknown and 0.0 Kb and then another 77 Gig free space. Here are the shots   So, I don't really know what to make of it.  On one it looks like I have a lot of free space and the Disk it looks like my OS is gone. I just want to know how to add the free space to my Linux partition.


Is there any simplification of $1!+2!+3!+4!...n!$?

I am aware that there is a formula $^nC_0 + {^n}C_1 + {^n}C_2 + {^n}C_3 + ... {^n}C_n=2^n$.  Is there any similar formula to calculate the value of $1!+2!+3!+4!...n!$?  Can this be otherwise denoted as the sum of any progression? Like a Geometric Progression, or an Arithmetico-Geometric Progression?


If I have a multi Schengen Visa issued from Germany, should I leave the Schengen area also from from Germany?

Can I leave the Schengen area from other Schengen Country or I must go back to Germany and travel from there? Because I want to visit Amsterdam, and from there go back to my country.


Total number of $8$ character passwords that have at least $1$ digit, $1$ uppercase letter and $1$ lowercase letter

I’ve been struggling with this question for a while and was hoping you could help because I think I’ve gone wrong somewhere with my calculations, Firstly I calculated the total number of passwords (including those that didn’t satisfy the criteria) by doing $(26+26+10)^8 = 62^8$ Then I calculated the number of passwords with at least one number: $(10\cdot 62^7)$ (I was thinking the other $7$ characters could be any). I also did the same for at least one uppercase letter: $(26\cdot 62^7)$ and for at least one lowercase letter: $(26\cdot 62^7)$ I then tried to calculate the number of passwords with at least one number and at least one uppercase letter: $(10\cdot 26\cdot 62^6)$, with at least one number and one lowercase letter: $(10\cdot 26\cdot 62^6)$, with at least one uppercase letter and one lowercase letter: $(26\cdot 26\cdot 62^6)$ My logic was to use the inclusion-exclusion rule and find the number of passwords that satisfy all of them: $$62^8 - (10\cdot 62^7) - 2(26\cdot 62^7) + 2(10\cdot 26\cdot 62^6) + (26^2\cdot 62^6) = 6.793308176 \cdot 10^{13}$$ My problem is by the same logic I’ve used, I could simply do $26\cdot 26\cdot 10\cdot 62^5 = 6.193057944 \cdot 10^{12}$ I don’t understand why these two answers are different, have I gone wrong somewhere?  Thank you very much for your help!


Undergraduate research field different from PhD field

I am a Physics undergrad who is interested in pursuing a PhD in pure maths in the future (algebraic geometry/topology) but I am a bit unsure. My question is quite general, and I don't wish to provide more background for fear of bias in the answers.  My question: Is it is advisable/possible/unfavorable/favorable to apply for a PhD in a field, different from that in which you have done most of your undergraduate research?  My research (includes just reading and understanding papers, writing summaries until now, I havent published anything) mostly includes Quantum field theory, and gauge theory. Would the selection committee turn down an application to a pure maths field, if I have no research experience whatsoever?  I would also like to ask the question other way round. What if I concentrate my undergraduate research SOLELY on topics in pure maths such as algebraic geometry/topology and take other physics courses, would I be able to apply to a string theory PhD with a high chance of success?  Should I consider spending time on both of these (which is almost an impossible task), to improve my chances in both the areas or would research in one area, and grad level courses in the other suffice?  In brief: Should the PhD field you are applying to be the same as your undergraduate research area?


Is the word "dude" becoming gender neutral?  I don't think so, however, has modern usage changed?  Are there some recent examples of "dude" being used to refer to a woman or group of women?


Changing color of raster images based on their data values - gdal

Let's say I have 1 band raster images with Gray Color Interpretation and I want to change their color based on their data values. Data values -1, will be Blue, -0.5 will be Light Blue, 0 will be Yellow, 0.5 will be Orange and 1 will be Red. If the data values are <-3000, I want to have that colored Black and if the data values are >3.402, that should be colored White . Will that be possible in gdal? And process that in batch?


Remove voice memos from iPhone in bulk without iTunes

I have lots of voice memos taking up a lot of space. There are too many to remove them manually. I have searched and cannot find a solution. Maybe there isn't one, but has anyone got a method of transferring a lot of voice memos in one go? Voice memos no longer show up in iTunes so  does not apply.


"Where" in careers' search seems to be broken

Let's say I want to find a company in Ontario, Canada. Ok, I navigate to company pages and type ON, Canada to Where in search:        but there are no companies in there. So why if I type just Canada it finds companies in ontario; and if I type specific area (ON, CA)  it doesn't find anything ?


which kind of font has been used in this picture?     I want to sart my sentences with this font ,


I believe the grammatically correct way is to omit the to before the verb (find in this case). Can someone confirm?     What you have to do instead is find a way to redefine the problem ...   I ask this because I have also seen constructions like     What you have to do instead is to find a way to redefine the problem ...   Are both correct?


Flight path over a war zone, such as Syria and Iraq in 2015

I recently flew from Bahrain to Heathrow via Gulf-Air.  I noticed on the flat screen at the back of the seat that the route showed going over Iraq and Syria which is an active war zone.  After what happened with MH17 Malaysian Airlines over Ukraine I emailed Gulf air about this to ask if this was the case.  I got an email back saying that this was not the case; that was all; they did not elaborate.  I appreciate that the animation at the back of the seat is just that; not necessarily a sat-nav version of where the plane is.  The Russians are now sending cruise missiles to Syria;from the Caspian sea!  What is the current policy of airlines in this area?  How do we get accurate information on what is happening?  Surely flight professionals such as pilots and cabin crew are concerned about this and have an interest in avoiding any potential war-zone. What are they saying?  I have to fly back at some stage I am concerned and would like to get accurate information.  I personally would not mind spending an extra £100 and an extra hour to avoid this area completely. We have no control over what is happening on the ground  cannot trust anyone in such a zone.


What causes the following Python 3 list initialization to act unexpectedly (looks like it creates duplicates of references to same row)?

To manually initially an N x N list of 0 values, you can do the following  mylist = [[0 for x in range(n)] for y in range(n)]   Printing a 3x3 version you'd see:  >>> mylist = [[0 for x in range(3)] for y in range(3)] >>> print(mylist) [[0, 0, 0], [0, 0, 0], [0, 0, 0]]   Change any value, all good:  >>> mylist[0][1] = 1 >>> print(mylist) [[0, 1, 0], [0, 0, 0], [0, 0, 0]]    Now, I know you can initialize a size N list with:   mylist = [0] * n   And to create an  NxN the following appears to work (same 3x3 example)  >>> mylist = [[0] * 3] * 3 >>> print(mylist) [[0, 0, 0], [0, 0, 0], [0, 0, 0]]   However, modifying this list produces unexpected results  >>> mylist[0][1] = 1 >>> print(mylist) [[0, 1, 0], [0, 1, 0], [0, 1, 0]]    Can someone explain why the second way of initializing the NxN list acts in this manner?


Does the Imperius Curse have a domino like effect?

If person A controls person B, and person B controls person C,D,E, and F and so on and so forth, then does person A control persons C,D,E, and F as well? In other words, all are under person A's control?  If so, can someone control person A and then control persons B,C,D,E, and F as a result of the control "chain?"  =


how to find which linux kernel commit made its way to exactly which kernel version

We have a problem that started appearing in kernel-uek-3.8.13-68.1.2.el6uek.x86_64.  Symptoms and description matches exactly this linux kernel developers description   xen-netfront: use correct linear area after linearizing an skb  [ Upstream commit 11d3d2a16cc1f05c6ece69a4392e99efb85666a6 ]  Commit 97a6d1bb2b658ac85ed88205ccd1ab809899884d (xen-netfront: Fix handling packets on compound pages with skb_linearize) attempted to fix a problem where an skb that would have required too many slots would be dropped causing TCP connections to stall.  However, it filled in the first slot using the original buffer and not the new one and would use the wrong offset and grant access to the wrong page.  Netback would notice the malformed request and stop all traffic on the VIF, reporting:      vif vif-3-0 vif3.0: txreq.offset: 85e, size: 4002, end: 6144     vif vif-3-0 vif3.0: fatal error; disabling device  Reported-by: Anthony Wright <anthony@overnetdata.com> Tested-by: Anthony Wright <anthony@overnetdata.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>   We had no this issue on kernel-uek-3.8.13-55.1.2.el6uek.x86_64. Tried to upgrade further to kernel-uek-3.8.13-68.2.2.el6uek.x86_64 - problem is still there.  OVM guests lose network interface connectivity after guest (not hypervisor) was upgraded to this kernel.  Wanted to track if that commit number matches any of these kernels? How do I see which linux kernel commit is in which kernel?


Can we get a ping when a downvoted Q/A was subsequently edited?

I'm one of these people who tends to leave a comment when I downvote and every now and then, the OP edits their post and pings me back they did and then I remove my downvote most of the time and even upvote every once in a blue moon...  :-)  However, I noticed that one of my comments on one of my downvotes was upvoted 3 times and the answer was downvoted for the same amount of times but now it's actually a good answer. (and I have no way of contacting the additional 3 downvoters)  Can we have an additional option¹ to be pinged whenever an edit was made on one of our downvotes for the few times that I don't leave a comment?  Note¹: Optional because there might be people who don't want any extra pings because they get too many already. Note²: It would be more welcoming to new users who generally don't know how the SE network works and get downvotes because of semantics and not because of their actual question or answer... Note³:  and highly upvoted, but that one is asking to make it mandatory, whereas this is broader and optional.


Spectrum of the sum of two commuting matrices

Suppose $A$ and $B$ are two commuting square matrices over an algebraically closed field. It is true that the spectrum of $A+B$ is contained in the set $\{\lambda_1+\lambda_2:\lambda_1 \in \sigma(A), \lambda_2 \in \sigma(B)\}$ where $\sigma(A)$ denotes the spectrum of $A$?  If so, can you provide a reference for this? can more be said?  Thanks


Questions about Divisibility of $2^n$ by $3$

Why is it that $\forall n \in N$, $2^n$ is not divisible by $3$?  I can prove it easily by induction, but I don't understand the intuition of why this is true. Could anyone please supply the intuition? [This has been answered.]  Moreover, I understand that there's also a proof of this fact that uses modular arithmetic. How does this proof go? [Also answered - it follows immediately from the definition of the modulus operation.]


How do you get a div to the bottom of a header?

So I wanted to ask how I get this line/div to the bottom of the header, I am very new to this. I practically only know the basics of HTML and CSS. Answers would be appreciated. (All code can be seen in the screenshot) this is the HTML.

             ABOUT

             VIDEOS


I'm working on a web app that accepts only social logins as authentication (Facebook and Google for now).  I've successfully implemented the login buttons following each site's instructions, and I use the email address associated with the service as their unique identifier and store it in PHP's $_SESSION variable to navigate through pages.  My question is whether or not I can assume there will be no vulnerabilities if I follow Facebook's and Google's implementation guidelines.  I assume using SSL to prevent man-in-the-middle attacks is a must.  What else can I do, or avoid, in order to securely handle each user's login and session?  Thank you for your suggestions.


Unable to install Kompozer in Ubuntu 16.04

I got the following error message when trying to install Kompozer in Ubuntu 16.04.  saraswati@ubuntu:~$ sudo apt-get install libatk1.0-0 libc6 libcairo2 libfontconfig1 libfreetype6 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk2.0-0 libidl0 libnspr4 libnss3 libpango1.0-0 libpng12-0 libstdc++6 libx11-6 libxft2 libxinerama1 libxrender1 libxt6 zlib1g   Reading package lists... Done   Building dependency tree... Reading state information... Done   Package libidl0 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it:   libidl-2-0:i386 libidl-2-0  E: Package 'libidl0' has no installation candidate   Please help me to sort out this problem.


Python module to shellquote/unshellquote?

Is there anything in the Python standard library that will properly parse/unparse strings for using in shell commands? I'm looking for the python analog to perl's String::ShellQuote::shell_quote:  $ print String::ShellQuote::shell_quote("hello", "stack", "overflow's", "quite", "cool") hello stack 'overflow'\''s' quite cool   And, even more importantly, something which will work in the reverse direction (take a string and decompose it into a list).


Can you cause a Stun check using Mage hand on the Testicals?

I've come to an impasse with my player where we are unable to determine that if Mage hand can cause a Stunning effect by gripping the targets testicles I've determined through research that 10 pounds are a lot more weight than you think at first: it is roughly 44 newtons that's like 44 apples. Would the mage hand roll anything for this feat? Would the monster roll con?


Smallest Aperture for $HCl$ to pass through

What is the smallest aperture that hydrochloric acid could pass through, such that the acid's surface tension wouldn't be stopping it from flowing through? Also, how would I work that out? I'm testing different shapes for antacid tablets and was thinking It might be interesting to test a torus because of its large surface area but am unsure of whether the $HCl$ will be able to pass through the hole or whether it will be restricted as a result of surface tension. I'm also interested in doing a similar calculation for a cube with holes drilled into each face.


Why is my hat dislocated in the top bar?

It seems the smaller the icon gets the more the hat is dislocated (first only horizontally, then vertically too):  profile big version -- profile small version -- top bar


How to add links to PDFs in a Shapefile?

I want an attribute in a shapefile named "Link" to add.   The works are all fine but then I would like to add a link in my directory.   This link accesses a PDF. Now, this PDF is not shown.   Is there any other solution or there is nothing to be done?


How do I find and replace all the characters between two sets of other characters?

At the moment I am using this (in Sublime Text):   XG0(.|\n)*F=1   to return all characters in the lines between 'XG0' and F=1.   However this returns everything from the fist occurrence of 'XG0' to the last occurrence of F=1.   How do I find each set of lines contained by XG0 and F=1. (There are several and there are not always the same number of lines between them.)


Gingerbread 2.3.4 To Gingerbread 2.3.5/2.3.6

My Mobile Is A Galaxy Y. The OS is 2.3.4 Gingerbread. what i wanna do is Update it to 2.3.5 / 2.3.6 . By Updating Will I Loose My Applications Which Are On Mobile?


How to open html by browser inside Linux shell

I have remote Ubuntu server where I deployed django project and set it (project) up by logging system. I can access server only by shell. Each log record of project save in directory like HTML file.  Opening and researching log records using vim isn't convinient for me because of it I want to open these files by browser.  Can I pass command to server to open file by my device browser.


Extremely slow speeds when tethering via usb

I finished building my new gaming PC today. Since my phone's (Galaxy S9) internet is usually much faster than my house's internet, I tethered it to my new computer. However, I'm experiencing much, much slower internet speeds than on my last PC. So, I ran a few speed tests. On my phone, I got around ~20Mbps download speeds. On my PC, I got around ~0.80Mbps download speeds. This seems to make no sense, as I even have USB 3.0 ports that I can plug into instead of the 2.0 ports I used to have. I tried , but to no avail. I did recently buy a new USB-C cable for my phone, maybe that's the cause?  My phone's tethering speeds have never been this slow, and it's really starting to sour my new computer's freshness.  What could possibly be happening?  Other info:  Completely fresh install of Windows 10 Home.  Asus Prime X470-Pro motherboard.  Android Pie installed on my phone.  EDIT: I am already running RNDIS6. This is not my problem...


Declared a string and assigned SOQL value as shown below. While running I am getting an error.   String country = 'United States'; String accountQuery = 'SELECT Id,BillingPostalCode,County_Name__c '+      'FROM Account WHERE zipCodeLen__c =9 AND AND BillingCountry = '+ Country;   System.QueryException: unexpected token: 'AND'  System.QueryException: expecting a colon, found 'United'


How do I make my obj import operator preset the default option?

The default options for importing obj files are destructive, which is very bad. I'd like to alter the default options. I am aware that you can save a set of operator presets, but I can't see how to make this set the default.  It defeats the purpose of saving new options, if you have to keep altering the option set every time. Is there any way to do this?


What's the maximum will a soldier can have per rank? How much willpower does an operative gain per rank?

I'm trying to make a squad of superhumans to fight the alien scum. To that end I would like to maximize my soldiers' will by reloading at the end of the mission until I'm satisfied with the result. How much will can an operative gain per rank? What's the maximum will a soldier can have at each rank up?  Bonus questions: how likely is a soldier to get the maximum will increase when ranking up? What about high rank soldiers that come as mission rewards?


Using a comma before “and we already have a toaster.”

Which of the following is correct?   No gifts please, we don't need any orchids and we already have a toaster. No gifts please, we don't need any orchids , and we already have a toaster.


Rewrite rule not fully working in .htaccess

Ok, this is in conjunction with my other post:   However, this is not a repost of the same question. This time I am only focusing on the first part of my .htaccess file.      SetEnv HTTPS on  <IfModule mod_rewrite.c>     RewriteEngine On Options -Indexes     # Send would-be 404 requests to Craft     RewriteCond %{REQUEST_FILENAME} !-f     RewriteCond %{REQUEST_FILENAME} !-d     RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]     RewriteRule (.+) index.php?p=$1 [QSA] </IfModule>   I tested it here:  and got the following from the site -   My Questions:   Is this site fully functional (save what they call out in at the bottom of the page) ?   What is causing my last line to not get met?   I reached out to the developer who setup this .htaccess file, and unfortunately, he was not able to answer why the last line was not met. He was honest and said that this part of the Linux world he was not the most versed in, so he ended up not being a good resource -- hence my very first question. I am a newbie to rewrite rules, so I do apologize if this is something simple and I am just missing it.  Please let me know if this post needs more clarification or to be formatted better. Thank you to everyone who is able to assist or explain anything here! :-)


How to redirect stderr and stdout to different files and also display in terminal?

I want to see the output of a command in the terminal as if there was no redirection.  Also, stderr needs to be redirected to err.log and stdout needs to be redirected to stdout.log.  It would be nice to also have the exact copy of what is shown in terminal, i.e. errors printed as and when it occurs, in a separate file: stdouterr.log.


I was hoping that someone could point me in the right direction on how I could start answering the following question:     Based on the fact that $\det(AB)=\det(A)\det(B)$ for all square $n \times n$ matrices $A,B$, explain in every detail why:   $$\det(A^{-1}) = 1/\det(A).$$


How do people who do not speak Indian English "prepone" things?

According to ,  Prepone is an Indian English word which means "to move to an earlier time", used as an antonym to "postpone". For example:      "The publication date has been preponed from July to June".   Interestingly, it also mentions that the word is largely unheard outside the subcontinent.  So, my question is, what word or phrase do the natives outside Indian English speaking ones use to imply the same thing ? Is it simply "moved" or something else?


Enlarging vectors ($V_1$ and $V_2$) to a basis for $\mathbb{R}^3$

The solution to the answer is what I am trying to understand. I have two vectors denoted by $V_{1}=(1,-2,3)$ and $V_{2}=(0,5,-3)$ The question states to enlarge ($V_{1}$ and $V_{2}$) to a basis for $\mathbb{R}^3$.  the solution says $V_{3}=(a,b,c)$ with $9a-3b-5c$.  I put the vectors in a column of a matrix then I augmented it by a $3 \times3$ identity matrix.The reduced echelon form that I got is \begin{equation} \begin{bmatrix} 1& 0 & 0& \frac13 & \frac59  \\ 0&1&0 & \frac13 & \frac29 \\ 0&0&1 & -\frac13 & -\frac59 \end{bmatrix} \end{equation}                                                                   I understand that the first two columns correspond to the first two vectors so then the third column is the missing vector $V_{3}=(0,0,1)$. The solution however is different and I am wondering what procedures I am missing so I can derive the given solution.


Did Luke ever visit the Jedi temple on Coruscant?

I know from  that at one stage Luke attempted to visit the temple on Coruscant, But did Luke ever visit the Jedi temple on Coruscant?


Declare static deque of pointers in a class

I have a class named Foo with static deque of pointers:  Foo.h:  class Foo : public Base { public:     static std::deque <Aircraft*> aircrafts;     void updateAircrafts(); ... }   Foo.cpp:  #include "Foo.h" void Foo::updateAircrafts() {     for (int i = 0; i < Foo::aircrafts.size(); i++) {     ...     } }   When I'm compiling, I get the following error:     Error LNK2001 unresolved external symbol "private: static class std::deque > Foo::aircrafts" (?aircrafts@Foo@@0V?$deque@PEAVAircraft@@V?$allocator@PEAVAircraft@@@std@@@std@@A)   QtGuiApplication1   C:\Users\a_kadirov\source\repos\QtGuiApplication1\Foo.obj   1   and     Error LNK1120 1 unresolved externals  QtGuiApplication1   C:\Users\a_kadirov\source\repos\QtGuiApplication1\x64\Debug\QtGuiApplication1.exe   1   Where could be the problem?   I also need to access deque from outside the class, so it must be accessible to other classes. So moving static deque declaration to .cpp file may not work.


Beamer how to change color of infolines and frame title

How could I change the color of color of infolines and frame title in beamer. I am using this now   \documentclass[xcolor=dvipsnames]{beamer} \usetheme{CambridgeUS} \useinnertheme{rectangles} \useoutertheme{infolines} \usecolortheme[named=Brown]{structure}    I need to change the color from red to brown. [named=Brown] doesn't work for \useoutertheme{infolines}. This is my current output. I also need to change the background of frame title (mouse pointer)


Recently there are a lot of news about the plans to build the FCC accelerator, with many claims of possibilities to find new particles, for example like those suggested by theories of supersymmetry. However, this theory has been around for decades already, with no signs of experimental confirmation.   So my questions is - can there be an experiment, which we may perform with our current means, whose results will disprove supersymmetry, or at least will make it very unlikely?


I'm trying to make my usb flash drive to a bootable stick. I've downloaded the ubuntu 16.10 iso and whenever I try to make it with startup disk creator this error occure. What should I do?


Is there any possibility to open a new tab in existing window in selenium?

I have tried to open new tab in existing browser but it opens in new browser.


shell scripting and running after switching to other user

I have the following commands that I want to have them all in one shell file:  su – s3 lizinfo.sh –b   when the first linex executes, it prompts and the command prompt become like as below:   -bash-3.1$ (here I cant type second command >> lizinfo.sh –b)   I want to have my shell file run all of these command at once. But when I run my shell file it only runs the first line and for does not run the second line, and waits until I enter it manually.  Would you help me please ?


Catch Regex too complicated when splitting a string in salesforce

I have created a function wherein I split a string from the csv filecsvAsString.split('\n') . It is working when the string is not so big. But when I try to split a very large string, an error will occur      regex too complicated   what I want to do is to catch if an error occur during the split process. How will I do it ? I've tried to use try and catch but the problem still occur. Is there any other possible solution?


what is the path of the recycle bin directory?

I dragged a file to the recycle bin a few days ago. I have Windows 7 premium on a 245 GB partition, a 240 GB SSD, and a 250 SSD. And somewhere in the past few days I incidentally installed Delta Search. I know I should remove it right away, but I just switched to Windows on the partition of a 3.5 1 TB drive and would like to restore that file and deal with the malware after Christmas is over.  I'm pretty sure I know what drive that deleted files should be on, but what is the real name of the recycle directory and exactly where is it located? In other words, if I know the name of the drive what would the rest of the path look like so I can just paste it in my Explorer window and change the drive letter.


Is Runtime.getRuntime().gc() of any use or makes any difference as its continued in Java 8?

There is gc() method both in System & Runtime classes, and System class's gc() method calls that of Runtime.  public static void gc() {         Runtime.getRuntime().gc();     }   As per Java code documentation for gc() in Runtime class      Calling this method suggests that the Java virtual machine expend effort toward recycling unused objects in order to make the memory they currently occupy available for quick reuse. When control returns from the method call, the virtual machine has made its best effort to recycle all discarded objects.   Is there anything special that happens when Runtime.getRuntime().gc() is called? What will happen if I call it and do not call it?   What I already know?  Calling gc() do not invoke Garbage Collector instantly and its upto jvm when Garbage Collection should happen.  EDIT  I want to understand why gc() is still there in Java8. Discussions on other thread do not have accepted answer and are very old.


What happens to my cards exiled by an opponent's Oblivion Ring when they lose the game?

My opponent in a multiplayer game had exiled 2 cards I controlled during a recent game with an  like ability.  On my next turn I hit him for lethal.  What happens when he loses the game? Do the 2 cards remain exiled or do they re-enter play under my control?


Prove that there exist discontinuous functions $f: \mathbb{R} \to \mathbb{R}$ such that $f(x+y) = f(x) + f(y)$.

The hint given is that we can assume the set of real numbers has a basis. I've seen several other questions of this form, but all of them use terminology which I am unfamiliar with ($Q$-linear, extend linearly to $\mathbb{R}$ etc).  Edit : I know what a Hamel basis is, and I don't have to use the axiom of choice to show that it exists or anything. I'm essentially told that I can assume it exists.


How do I use regular expressions in bash scripts?

I want to check if a variable has a valid year using a regular expression. Reading the  I understand I could use the operator =~  Looking at the example below, I would expect to see "not OK" but I see "OK". What am I doing wrong?  i="test" if [ $i=~"200[78]" ] then   echo "OK" else   echo "not OK" fi


"Hard disk failure is imminent" warning from HP desktop – is the drive really dying?

please be patient, I'm disabled (run down by Postal truck on my motorcycle) so I can only Google search things for so long before sitting feels like I got hit by a sledgehammer. Also, I'm on a budget so I can't just solve everything with "buy a new one", disability doesn't pay very well (-;/. I have an HP Win 7 Desktop and I got a blue screen followed by a "hard disk failure is imminent", but I want to verify it's real before I act. It came up 6 weeks ago and I'm still using my PC normally except for 2 things, loading everything is slow (in windows and the web) and my tower is always quiet (the fans are both running but never change speeds as they normally would). I've run check disk and other tests and not gotten any warnings, tests all "negative". 1) Is it possible it's just a virus? I surf many nefarious sites (Pirate Bay downloading movies etc) and 2) Is there a test that will determine if the HDD is actually toast? Thanks my new friends. Oh, and the HDD is not laboring, it's whisper quiet...


What does the "J" stand for in Philip J. Fry's name?

Is it ever explained what his middle initial stands for?


proof that every finite matrix has an annihilating polynomial

I don't quite understand the proof my notes gave me.  Dimension of $n$ by $n$ matrix is $n^2$. Hence if $k \geq n^2$ then $\mathbf{ \{ I, A, A^2, ..., A^k \} }$ is linearly  dependent. So, there exist scalars $a_i$ not all zero such that $$a_k A^k + \cdots + a_0 I = 0$$  $f(x) = a_k x^k + \cdots + a_0$ is an annihilating polynomial.     I don't understand the bold bit. How do we know that $A, A^2, ...$ are all different? Surely there are matrices which give identity when raised to power of 2,3, etc right?  Thanks.


VirtualBox error on ubuntu 19.04: Kernel driver not installed (rc=-1908)

Kernel driver not installed (rc=-1908)   The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing   '/sbin/vboxconfig'   as root.   If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.   where: suplibOsInit what: 3   VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.


I am using a similar format for a trigger and helper class.  Can anyone help me with a test class? Trigger Trigger TestOrders on Order (Before Insert)  {     IF(Trigger.IsBefore)     {         IF(Trigger.IsInsert)         {             OrderTriggerHelper.UpdateAccount(Trigger.New);         }     } }    Trigger Class Public Class OrderTriggerHelper {     Public Static Void UpdateAccount(List<Order> OrderIds)     {         List<Account> AccList = [Select Id,Ship_To_Code__c from Account where Ship_To_Code__c != NULL];          IF(AccList != NULL)         {             FOR(Account A : AccList)             {                 FOR(Order O : OrderIds)                 {                     //To check the Case-sensitivity.                     String S1 = A.Ship_To_Code__c;                     String S2 = O.Ship_to_code_del__c;                     IF(S1.Equals(S2))                     {                         O.SFDC_Account_Name__c = A.Id;                     }                 }             }         }     } }


How to uninstall Ubuntu 18.04 and go back to 16.04?

I want to go back Ubuntu 16.04, because a lot of packages are not supported yet in 18.04. For example, MSSQLServer.


Importing shapefile into AutoCAD Map 3D?

I'm trying to import shapefiles into a DWG using diferent layers names and during my web search I found this post. I know you did this 2 years ago but my problem is very similar and I wonder if you could help me.  Basically I've got a shapefiles of pipelines and I want to use the attribute name to sort the features into different CAD levels in teh same layer. I tried the import and although soem people say that "you can set the import to use data field" I can't see any option to do it and I'm really struggling. Any help appreciated.  I'm running on AutoCAD Map 3D 2010.


Let $f(x)$ be a continuous function such that $f(r) = 0$ for all rational numbers r. Prove that $f(x) = 0$ for all $x ∈ R$.


Command + C does not always work on first try on MacOS

Command + C does not always work on first try on any of my four Macs.  I often highlight text, press Command + C, head to another window, press Command + V only to find that the original text did not copy.   I recently installed a fresh copy of macOS High Sierra and I continue to run into this issue, particularly in RStudio.* The issue never occurs on my PCs.  Do others have this issue? How can I resolve this?  *I use bettersnaptool and enable three finger dragging, but the issue still appears when I disable them.


A word for a person who tells you information, instead of letting you find it out by yourself

For example: if someone told you that the laundry was dry, instead of just letting you find it out by yourself when you go and check it. Another example: if someone knocked on your bedroom door to tell you that a package had arrived in the mail, instead of just leaving the package for you to find. Third example: If someone tells you that there's milk in the fridge, instead of just letting you see it by yourself when you open it. Is there a word for people like that?


Hello guys i get the warning below  when i am running mysite locallyl. Do you have any idea what causes this??  Warning: Declaration of Walker_Quicklinks_Menu::start_lvl(&$output, $item, $depth = 0, $args = Array, $id = 0) should be compatible with Walker::start_lvl(&$output, $depth = 0, $args = Array) in C:\Users\User\Desktop\www.sto.dev.cc\wp-content\themes\mysite\functions.php on line 295


Windows: What software do you recommend for editing MP3 ID3 tags?

What software do you recommend for editing MP3 ID3 tags?  (The OS is Windows XP.)


I am trying to wrap my mind around the variance definition.  Given a set of values S and n = #(S), the variance is defined as:  $$ \operatorname{var}(S) = \frac{\sum_{i=1}^n( S_i - \operatorname{mean}(S) )^2} n $$  And the square root of that (standard deviation) measures how far away the values are on average from the mean.  However, there is a simpler formula that also measures how far away the values are from the mean:  $$ \operatorname{another Possible Def For Var}(S) = \frac{\sum_{i=1}^n|S_i - \operatorname{mean}(S)|}{n} $$  I am trying to understand the reasoning behind the fact we use square root instead of a simpler modules function there. Is there a real reason why variance was defined the first way and not the second way?  # EDIT #  Ok, looks like the given reasons so far are way more advanced than what I was expecting.  The argument of squaring it as opposed to taking the modulus saying the modulus make the math more complicated is valid, but more of a consequence of the definition rather than a reason for it being defined as it is IMHO. Same thing goes for the Central Limit Theorem.  I ended up finding the  There, the following reasons were also given:   "Squaring emphasizes larger differences (think of the effect outliers have)." Another comment also points out: "In addition to amplifying large differences from the mean, squaring also MINIMIZES tiny differences from the mean".   These are the most convincing reasons I found so far. The modulus will not emphasize large values, neither will it minimize small values. HOWEVER, the same argument goes to any even power. A power of 4 will also amplify large differences and minimize tiny differences (it will actually do a better job at those). So why not take the power of 4 then? (or any other even number for that matter).   "(...) you can also view the equation as being the Euclidean distance between all the points and the mean of the points"   That's more of a "nice-to-have" than a reason to me. If anything, the modules would give the Manhattan distance. So what?  Having said all that, I am not 100% convinced yet. I believe this question is way deeper than it looks at first glance and judging from the Khan Academy number of upvotes, I am not the only one confused about it.


How do we measure Time period of a SHM without mathematically calculating ? Consecutive passage through mean position or extreme postion?

(1)In measuring time period of a pendulum, it is advised to measure the time between consecutive passage through the mean position in the same direction. This is said to result in better accuracy than measuring time between consecutive passage through an extreme position. EXPLANATION:  The speed near the extreme position is near zero and the decision by the observer that the bob has reached the extreme position may have some error due to slow movement. But the bob crosses the mean position with maximum speed so there is no hesitation in deciding that the bob has crossed the mean position and hence better accuracy(this was what i found when i googled it). (2)The time period of a particle in simple harmonic motion is equal to the time between consecutive appearances of the particle at a particular point in its motion. This point is ANS: At the extreme position because the particle is in the same phase at the consecutive appearance. Both the things look completely different. Which is correct OR are they both correct OR Is it the way i am thinking wrong ?. I don't understand it. Can anyone please explain it to me.


Is there a short way in PHP to express $item->foo() for callback?

You can write something like array_map($array, [$object, 'method']); to call a method for every member of an array.   If, on the other hand, you have a list of objects you need to write array_map($array, function ($item) { return $item->method();}); which is anything but easy to read. Is there some way to shorten this?


The Lord of the Rings trilogy mentions the existence of Orcs and Uruks.  I know that Orcs used to be Elves as Saruman says that they were once Elves, but what did Uruks used to be and why are they bigger and better fighters than the Orcs?  What are the differences between Orcs and Uruks?


Matching many pattern in file listing command ls?

I have many files in my directory. I'd like to listing, copying or moving file containing 'abc' AND 'xyz' in their name. How do I do this pattern matching with AND?  The normal command: ls *abc* *xyz* only work with OR.


Impact of enclosing lines with curly brackets

When I compile the following (almost identical) two pieces of code, there is much more vertical space between both words in the first example than in the second example:  % Much space between the hellos \documentclass{book} \begin{document} \Huge Hello  {\Huge Hello} \end{document}   and  % Almost no space between the hellos \documentclass{book} \begin{document} {\Huge Hello}  {\Huge Hello} \end{document}   What is the reason for that? What difference do the curly brackets make at this point?


Why do low production studios intentionally release similar films shortly after a big banner?

Two movies with almost same name and plot are released together.    was released on 9 November 2018 in USA and produced by J.J.Abrams who is a well known director and producer in Hollywood. A second movie is , released on 13 November 2018 in USA and produced by not so well known people.  A similar situation was with  and .  From the synopsis both movies have almost the same plot and name.  This  is about twin films whereas I am asking about low production studios making intentional releases shortly after the release by a big banner.  What's the point of releasing such similar movies at the same time?


Ubuntu 14.04.2 Menu bar and Launcher Missing

As you may have gathered from the title of this question, my menu bar and launcher are missing from my account.  It started when I tried to download unity (the mobile platform development tool) through wine, which failed, and then I (in the midst of my forgetfulness of how ubuntu is unity based) tried to remove it through terminal by typing:  sudo apt-get remove unity   And my menu bar and launcher have been missing ever since.  I've tried to fix it by typing:  sudo apt-get update sudo apt-get install unity   to no avail, and I also tried:  sudo apt-get --reinstall ubuntu-desktop   to which I received the error:  E: Command line option --reinstall not understood   Random Notes about this issue:   It is only on my account (the only other being Guest Session, which appears perfectly fine) I can still open and use the applications on my desktop (of which there are select few) I can open the rest of my applications by creating a folder, double clicking on it and then hunting for it in my file system, which is a royal pain Of the applications I open through that loophole, They cannot be moved around or resized by dragging their border There is some space to the right of my desktop which I can hide the mouse or move Chrome into, and which is at least as wide as my desktop


Why is geometric optics the low wavelength limit of the wave theory of light? I can't seem to grasp why either a low or high wavelength limit would be necessary.


Review Schemas not showing for home page

Hope you all having a wonderful day and crunching some SEO. I am trying to get review schema appear for my client's website. The schema has been implemented correctly (tested using data structure tool) and as a result of this reviews/ratings (stars) are showing for every other pages but home page. What can I do to get the ratings show for the home page?  Have a blessed one.  Thanks in advance.


I have on occasion accidentally typed this to change to the root directory.  $ cd //   It works fine and I am in the root directory because ls returns same results as if I am on root. But why is this even valid ?


What exactly are the high energy problems between general relativity and quantum field theory?

I know there are many questions on physics stack exchange devoted to the question of quantum gravity and reconciling GR and QFT, but don't mark this as a duplicate because my question is a bit more specific.   In the PSE page  it was explained that the crucial problem in uniting general relativity and quantum mechanics comes when probing high-energy conditions at the Planck scale. However, this answer was not quite detailed enough for me, for I still do not fully understand why the theoretical frameworks clash at these conditions.  Can someone explain thoroughly (preferably conceptually and with minimal math) why general relativity and quantum mechanics implicitly do not work together to describe these high-energy interactions and a few examples of them.  I have a good conceptual understanding of both theories, but have little formal mathematical training.


Adding vertical scroll to body when added element to occupy remaining space

There are two divs. I want second div to occupy the remaining space. Currently it is occupying 100% height but it should take only remaining space.    html, body {   height: 100%;   width: 100%; }  .header {   background-color: blue;   color: red;   font-size: 50px; }  .content {   background-color: red;   height: 100%;   width: 100%; } <!DOCTYPE html>     <meta charset="utf-8">   <meta name="viewport" content="width=device-width">   <title>JS Bin</title>
Header


How do make a link open in a specific Safari window in macOS?

I have multiple Safari windows for tab organization. I usually have multiple tabs in each window.  When I click on a link from an app other than Safari, it opens the link in a new tab in Safari, as Safari is my default browser.   The problem is that it often opens in a Safari window that is currently minimized or that I am currently not using. So it doesn't open the link in my main, active, current window (basically the one I have used last). Instead, it chooses its own "default window" to open links in, which may be a window I'm not even using.   However, I would like these links to always open in the window that I used last, and not in a window that I'm not using. Is it possible to make links always open in the last active window you used, or at least set the "default" window which will open new links?  I am currently running macOS Sierra 10.12.1, with the default Safari version that comes with it.


I have never connected my MacBook to external monitors. I know I can use the HDMI port, but I was wondering about the Thunderbolt 1.0 port (I have 2 ports).  I am using a Mid 2012 15" retina MacBook Pro. Here are the monitors I am considering buying (2 units):      I know I can't run these at full 4k with my laptop.   What do I need to use these monitors until I am able to upgrade the MacBook? These monitors don't have Thunderbolt 1.0 ports.


Why one shouldn't ask a question of Superuser in StackOverflow?

I had a problem related to Drive partitioning i asked it on superuser here is the link   i was not getting quick response so, i decided to ask the same question on stackoverflow, and eventually i was downvoted and question held as off-topic.  My concern is, if there are knowledgeable persons on stackoverflow who are not on superuser, then they should help me. i think there should be some way to allow these activities without downvoting the user.


Does third law of motion apply to light or EM waves?

Third law of motion - "For every action there is an equal and opposite reaction"  I was considering the situation, where I may be motionless in space with only a flashlight and no forces acting on me. I could throw the flashlight, and begin my very slow drift in whatever direction I please, but I was wondering, if I direct the flashlight in a certain direction and turn it on, would that also push me until the batteries ran out, even if it's a tiny amount? What if I were generating directed radio waves or similar?


Find a matrix representing a given linear transformation

$T(X) =  [\{x_1-x_2+x_3\}, \{0+x_2-x_3\}, \{0+0+0\}]$ is a linear transformation from $\mathbb R^3$ to $\mathbb R^3$.  Find a matrix $A$ such that $T(x) = A(x)$   Can anyone point me in the right direction?  Thanks


Link generator can't handle non-ASCII characters

Examples:    The first time the link ended with "yaln"  The second time it ended with "Images/"  [link](http://ideas.lang-learn.org/Images/yalnızlarım.png)   This one, if not escaped by spaces, removes both ı from the link.


How to get colors from 'ls' command on macOS

I have tried both  ls --color=auto  and  ls -G  The first gives ls: illegal option -- -  and the second simply has no effect.  So then what is the way to get color for ls on macOS?  I am using the default bash on catalina I am using the standard Terminal.app $echo $TERM   vt100


How do I find out my username while locked out of my account

My initial problem was that my computer wouldn't let me login to my account. It seems to shut down after I enter my password. I can login as a guest.  I found fixes but I can't remember / figure out my login for access after I hit Ctrl+Alt+F1 and most of the fixes for finding your login username depend on you having access to your account.  I thought the login was the name which appears on the screen when I start the computer normally, but this has not worked, is there another way to find out my username while being effectively locked out of my root-user profile?  I am also assuming that the password is the same one I always use.  Conversely, if the name which appears on the screen at startup and my normal password should have worked, is there another explanation for why I am not able to login on the black command screen.


In this question, I did energy conservation, with the states being the initial one and the one where it is at the top , and I got $$ .5 I w^2 + .5 mv^2 = mgh$$ However, in  the answer key they have done, $$ .5 mv^2 + .5 Iw^2 = .5 Iw^2 + mgh$$ Now why would the k.e be turned to p.e but not the rolling energy??


Whether it is not necessary to use the `this.` keyword for variables within c# class?

In C# there is concept of static and instance variables.  Static variables are shared by all instances.  In the code snapshot from above, an instance field _bigClass is created. In the constructor and other methods, this is instantiated and it's methods are invoked. My question is - why has the user not used this._bigClass? I'm trying to understand whether it is not necessary to use the this. keyword to access variables within c# class?


Convergence in probability of $Y_n = \frac{2}{n(n+1)} \sum_{j=1}^{n} jX_j$, given $X_1,X_2,...$ iid

I'm trying to understand my teacher's solution to this problem:     Let $X_1,X_2,...$ sequence of iid random variables with expected value   $\mu$. Define $Y_n = \frac{2}{n(n+1)} \sum_{j=1}^{n} jX_j$. Prove that   $Y_n \to_\mathbb{P} \mu$.   His solution:  Let $\sigma^2 = \rm{Var}(X_i)$.  $E(Y_n) = \frac{2}{n(n+1)} \sum_{j=1}^{n} jE(X_n) = \mu$.  $\displaystyle\rm{Var}(Y_n) = \frac{4}{n^2(n+1)^2} \sum_{j=1}^{n} j^2 \rm{Var}(X_n) = \frac{4\sigma^2}{n^2(n+1)^2}\bigg(\frac{n(n+1)(2n+1)}{6}\bigg) = \frac{2\sigma^2}{3}\bigg(\frac{2n+1}{n(n+1)}\bigg) \leq \frac{2\sigma^2}{3}\bigg(\frac{2}{3}\bigg) = \sigma^2 ,\forall n$  Then it follows by Tchebychev's Weak Law of Large Numbers.  My doubt is in the last step. Isn't  Tchebychev's WLLN only true for uncorrelated random variables? In this case, $\mathbb{E}(Y_n Y_m) \neq \mu^2$, since they aren't independent, so $\rm{Cov}(Y_n,Y_m) \neq 0$, right?  Thanks.  Edit: As u/clarinetist noted, there's a problem in this exercise, since the WLLN states the convergence of the arithmetic mean of random variables, whose expected value isn't $\mu$.


libpng warnings about sRGB profiles - determine which files are meant and disable warning

After some LaTeX or system updates, I get these new warnings for something that was typeset perfectly before:     libpng warning: iCCP: Not recognizing known sRGB profile that has been edited   Since it's a large document with many chapters, I get like dozens of these. The PNGs almost certainly come all out of Gimp or Photoshop.   is it possible to show which images are affected? is it possible to turn off these annoying warnings?   I am using PDFLaTeX on Linux. The images have been created under OS X.


This sequence $\sqrt {a+\sqrt{a+\sqrt{a+\sqrt{a...}}}}$ is bounded?

I'm trying to prove that this sequence $(x_n)$, where $x_1 =\sqrt a$ and $x_{n+1}=\sqrt{a +x_n}$ has a limit, then I would like to find the limit of  $L=\sqrt {a+\sqrt{a+\sqrt{a+\sqrt{a...}}}}$  It's easy to find this limit and prove that this sequence is monotone (induction over $\mathbb N$). What I found difficult is prove that this sequence is bounded.  I need help in this part.  Thanks a lot.


Its easy to find all continuous function $f: \Bbb R \to \Bbb R $ satisfing the Jensen equation  $$f \left( \frac{x+y}{2}\right )=\frac{f(x)+f(y)}{2}$$  But I am finding difficulty in finding all function  continuous on $(a,b),a,b \in \Bbb R$, satisfying the Jensen equation.


How can re-use Ubuntu which was installed via Wubi on Windows 7?

For some reason I can't install Ubuntu from CD or USB, so that I had to installed Ubuntu via Wubi. But I install Ubuntu into partition 'D' and partition of Win 7 is 'C'. If I re-install win 7, how can I use pre-installed Ubuntu ?


When I run apt-get update, is it supposed to have YOUR_UBUNTU_VERSION_HERE?

I'm getting errors like  Err http://ppa.launchpad.net YOUR_UBUNTU_VERSION_HERE/main Sources                404  Not Found   Is it actually supposed to say YOUR_UBUNTU_VERSION_HERE, or is there some kind of an error that keeps it from writing my Ubuntu version?


Booting into shell instead of graphical interface

I have a laptop with lubuntu. It's great but I wish LXDE was optional instead of autostarting.  So my question is, what can I do to make it boot directly into a text only mode, not loading anything extra until I do something like start x ? My goal is to have my system be as lightweight as possible until I need the extra stuff.


A question regarding symmetry properties of a uniform distribution

Was anyone able to explain why $$E(U_2) = 0$$   I don't quite understand what the relevance of the underlined statement - "by the symmetry of $U_1$" in determining $E(U_2)$ is   edit: I get it now, was brain dead on the night of asking this question. thanks for the responses anyway


Interface changes with stock model files

When I open a a Stock 3D model I downloaded, the entire interface changes. I see a "Default" layout option, but I don't see the stand "Layout" option at top of page. Is it possible that the model I have was created pre 2.8 & needs to be converted?  The model also does not have a Camera, & I can't see to find the "Add Camera" option that I see in basic tutorials.  I have attached screenshot of the UI as it appears with my stock model. Total Noob thanks you


How Does Modern Science 'Know' there is no God?

As pointed out in  question, there is no hard scientific evidence of the existence of an existentially all-powerful being.  As there is no direct evidence that there is a God, there is also no direct evidence supporting the theory that there isn't a God. How does modern science DISPROVE God (at least the concept of an all-powerful being who created the universe)?


I hope I don't write something stupid, its a little hard to specify my question. Quantum correspondence states that quantum systems converge/close to classical systems in case of the fields are "classical enough". Is there a measure for the "distance" from classical one? Like a squared deviation from the classical solution or something.


Can we have the flag counter show remaining flags, not total flags?

I believe this is a new feature so I'm hoping for once I'll have an issue that isn't a duplicate.  I've noticed the review counter is back on the bar, which is great. I have also noticed that it now hides the posts you have made a decision on, even better!  What it does right now is show the total amount of flags that are available instead of those that are not yet handled by myself. Can this be switched?


What's the difference between a Maia and a member of the Istari?

I've visited many sites searching this, but haven't found any clear answers. Can somebody please explain what's the difference between a Maia and an Istari? And also, what's the singular form of Istari? Is it Istar?


It is often said that variables should be double quoted when used.  In the following example I want to have the command echo "You can't see me" in a variable and run it in such a way that the output is You can't see me. This is the end goal.  $ cmd="echo \"You can't see me\"" $ echo "$cmd" echo "You can't see me" $ $cmd "You can't see me" $ "$cmd" echo "You can't see me": command not found   So $cmd ran and it included double quotes which I did not want to have, and following the recommendation of double quoting the variables led to an error.  Does the recommendation have exceptions despite the fact that resources say that they always should be used?  I know how I can get the result that I want by running eval "$cmd" (or without the double quotes), or by an appropriate transformation on the output after running $cmd (without double quotes), but how do I avoid this issue?


How should a GM deal with players that want to be "too cool"?

In my time as a GM, I've always hated stuff such as magic items, artifacts, etc; even as a player, I dislike the feeling of becoming "too cool" for the game world in question.   However, I have a player that just likes coolness and is always expecting to find magic items, artifacts, and gain cool abilities. He isn't a "Power Gamer" per-se, since he favors roleplaying and getting whatever fits his "style" instead of the most damaging stuff, however I feel he always wants to be the coolest of the group.  Playing D&D for example, he had a Monk, and he wanted to have a magical gourd of liquor that lets him spit a fire cone, and he ALSO wanted Wukong's Magical Cloud, and ALSO wanted to be the best friend and disciple of the god Korada from PF and pretty much "dedicate" a whole adventure arc on it.  Playing Pokemon Tabletop Untied, he's been desperately looking for a way to be able to have A LOT of combats mounted on his dragon Pokemons, I haven't, but he's always making comments on the subject, and he wants to be surrounded by said scenes of aerial badassery and combat.  On Savage Worlds, he made a character with "Weird Science" that can summon swords from books (LOTR, Narnia, etc), but he wants to make the game go long enough so he can have the 49 swords he imagined, he gave me the list, and usually takes forever to describe his actions with such swords even tho the resolution of said is simple.  Players haven't complaied about it, but I just dislike the fact he wants to be the coolest guy on town every time, and that he centers his characters on the concept "be as cool as I can", specially since he makes them in such way they're moraly "perfect" and have no exploitable negative attitudes, heck, even with SW Hindrance system he picks Hindrances that make him look like a perfect, flawless individual like "Loyal" or "Quirk: Too Heroic".  I don't want to shoo him from my table, because he's one of my best friends, I just wanna deal with this.


Why is $L^1(\mathbb{R}^n) \cap L^2(\mathbb{R}^n)$ dense in $ L^2(\mathbb{R}^n)$?

In Lieb and Loss's Analysis, I saw that they mentioned  $L^1(\mathbb{R}^n) \cap L^2(\mathbb{R}^n)$ dense in $ L^2(\mathbb{R}^n)$ (dense wrt the $L^2$ norm, I think). But I didn't find its proof in the book. So I wonder why it is?    Does this conclusion hold for $L^1(\Omega, \mathcal{F}, \mu) \cap L^2(\Omega, \mathcal{F}, \mu)$ for any measure space $(\Omega, \mathcal{F}, \mu)$?  Are there similar statements if replace $L^1$ with $L^p$, and  $ L^2$ with $L^q$ for $p \leq q \in (0, \infty ]$ or $\in [1, \infty]$?  Thanks and regards!


Is this Modular arithmetic property true?

If $a \equiv b \mod (nm)$, then is it always true that $$a \equiv b \mod n$$ $$a \equiv b \mod m$$  I feel like it's kind of obvious because if $a-b = k_1nm$, then $a-b = k_2n$, ($k_2 = k_1n$) but I can't find any resources on the topic, so maybe I'm wrong


Inkscape- How to keep the outline of the sprocket

I want to use the outline of the sprocket and inside it i want to put an alaphabet.. how to remove the inner part and make it all one color.?


I have to write "you can find ... on ". But I am unsure, if I should write "on" or "at". May anybody help me with that?


Material not showing up in Material (or Rendered) View Mode

First off, I read the Questions that may have my answer First.. but still no resolution.  Details are that I can't seem to understand why a mesh that I had to separate apart just so I could color the rubberized handle blue, around the chrome handle (which will animate 45 degrees and I have the key ring and tag set to Ridgid Body Physics).  I took a screenshot of the Red Handled Lever colored just fine, and the attempted Blue Handled Lever.  The main thing I can see with everything I've successfully colored (placed a Material On) is the list of materials at the very top. With the Red (and all other colors that show up successfully) there's just one material in the list, with no toggle up/down window to show the collection of materials.  But when I click on the attempted blue one, you can see the list, along with the toggle up/down feature present.


Determine sum of the series $\sum_{k=1}^\infty\frac{1}{n(n+1)(n+2)}$


my tourist visa application was refused at french embassy in nigeria

The only reason i was refused visa at France embassy was " the justification of the purpose and conditions of the intended stay was not provided" this happened twice in a year for the same reasons. what can i do to overturn this decision and can i legally apply to other EU states like Spain?


What are the different Ubuntu Cloud Guest images (-disk1, -root, -uefi1)?

On the , there are a number of different images published for each architecture, for example:   trusty-server-cloudimg-amd64-disk1.img trusty-server-cloudimg-amd64-root.tar.gz trusty-server-cloudimg-amd64-uefi1.img trusty-server-cloudimg-amd64.tar.gz   What is the difference between these different releases?  The best documentation I can find is , but it doesn't seem to answer the question.


If $\alpha $ and $\beta$ are roots of equation $a\tan\theta +b \sec\theta=c$. Prove that $\tan(\alpha  + \beta)=\frac{2ac}{a^2-c^2}$  i have converted tan to sin and cos and reached to $\sin^2\theta(a^2-c^2+2ac) + c^2-b^2-ac=0$. how do i proceed  thanks


Careers is not showing repository that I contributed as collaborator

I went through this question posted previously here:   I am collaborator for  repository. Will there be an option to make the repositories I contributed as public? I did this for organizations but couldn't do it for repositories I contributed to (these are not categorized in to an organization). So I cannot see the repositories I contributed.


How can I change the number of decimals in a table?

I have a massive table where each element has 10 decimals. Is it possible to convert the entire table to smaller like 2 or 4 decimals long? I searched and found that I might need to use the siunitx package. But I am not entirely sure.


Why I can not define commands starting with \end?

I am trying to define some new commands starting with the word end and I found that it is impossible in TeX. For example,  the following code does not work. My question is: Is it possible to define new commands starting with \end... in (La)TeX?    \documentclass{article}  \usepackage{amsthm,amssymb}  \newcommand{\endofproof}{\rule{0.7em}{0.7em}}  \begin{document} \begin{proof}   Clear. \hfill  \endofproof \end{proof} \end{document}


In user page, I want to add more field like username, contact number and address. What is the common way to do it?


Suppose I'm helped from a question and would like to gift some points +100 to that question. There is the option to award a bounty to the answer in anyone's question. But I want to award some bounty to the question itself : it's different. So it should say gift rather than bounty. Would you consider adding this feature?


How can I add a new application to the Open With menu?

How can I add an application to the Open With menu (shown after right-clicking) for a given file type, without making that file always open with that application?  In this specific instance, I'd like to the option to open an Web site location (.URL) file with TextEdit, while still defaulting to Safari.    I'm running OS 10.7.4.


Show that for $k \in \mathbb{Z}$:  Is $\zeta_n$ a primitive $n$-th root of unity, then $\zeta_n^k$ is primitive if and only if $(k,n) = 1$.  I only need the backwards direction:  $\zeta_n^k$ is primitive $\Rightarrow$ $(k,n) = 1$


Is there condition on a Metric spaces which is equivalent to: The closure of all open balls are the closed balls?

For many of the spaces we work in the closure of open balls are the closed balls, however, I had an example in a class recently that there are some spaces in which this is not true. This is easily proved using either $\mathbb{Z}$ with the euclidean metric or a non-trivial set with the discrete metric.  I was wondering if there is a condition on metric spaces which is equivalent to this intuitive statement being true. I define "the closed balls" as follows:  The closed ball around $z$ of radius $r$, $\hat{B}_r(z) = \{x\in X:d(x,z)\le r\}$  I thought convexity might be a sufficient condition but that's just postulation, don't know how I'd prove it.


If I run:  sudo chown -R user:user /   Can I revert it to what it was before I ran it?


I'd like to prove this statement:  Let $X$ a normed space. If $X$ has a linearly independent subset of cardinal $n$, then so does $X'$.  I know that I have to use the Hahn-Banach theorem to prove the existence of functionals in $X'$ that hold the above mentioned property but I'm not sure how. Any suggestions are welcome. Thanks in advance.


create unix alias for "ssh username@", and I would like to use it for any ipaddress.

create unix alias for "ssh username@", and I would like to use it for any ip address.   for example,  alias go="username@" usecase: $go 10.1.1.1 ; implement => ssh username@10.1.1.1  Currently if i do $go 10.1.1.1, it is taking extra white space between @ and ip address. how can i remove it?


$f(x)$ is a continuos fuction in $[0,1]$ and differentiable twice on $0$.  $U_n=(-1)^{n}f(\frac{1}{n})$ I need to prove that:  $1.$ if $f(0)=0$ then $\sum_{n=1}^\infty U_n$ converge.  $2.$ if $\sum_{n=1}^\infty U_n$ converge absolutely then $f(0)=f'(0)=0.$  I used Maclaurin series with 2 degree: $f\left(\frac{1}{n}\right) = \frac{f'(0)}{n}+\frac{f''(0)}{2n^{2}} + o\left(\frac{1}{n^2}\right)$.  I can't proceed from here can you help me? Thanks.


Boiled Ribs left in water overnight, parents say its fine to eat

So my dad boiled ribs this morning, and it was left on the counter for like 14 hours and I said its probably not safe to eat cause they say after 2 hours you shouldn't eat it, but they said cause it was in water and  not exposed outside of the water its still good and I find that to be hard to believe.


Would a COVID-19 controlled burn facilitate herd immunity?

In forest management, a controlled burn is “used for hazard reduction [to] decrease the likelihood of serious hotter fires” []. In backfiring strategy, “firefighters attempt to halt the advance of a wildfire (…) by burning up fuel in its path” [].  Could the same strategy be used to fight the Coronavirus?  E.g. in my native country (Norway), most hotels are now closed. If, for the sake of the argument, we assume that 1) humans become immune after having fallen sick to the virus and 2) people under 25 do not become seriously ill, what is the counterargument to inviting people in the age group 15-25 to mass isolate in said hotels for e.g. 1 month, for the purpose of kickstarting herd immunity?  (In the meantime, they would also be off the streets, presumably posing less of a risk to the more vulnerable population, and students would have a chance of colocating.)   the matter (in Norwegian) hypothesizing that a controlled burn could decrease the death toll in Norway from 60.000 to 2.000 individuals.


Is the following video explaining ISO accurate?

So, I was searching for the exact mechanism behind the workings of ISO (or film speed) in digital camera. I found  and it was pretty simple. But i was wondering if  is accurate and if anyone could add extra details to it or correct any mistakes (if any).   P.S. The video didn't have comments enabled either so, i couldn't really tell.


Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot

Ok, so I'm such a newbie to Ubuntu and I bought a Windows 8 pre-installed laptop last month.  I updated to Windows 8.1 and then I thought about installing Ubuntu as a dual boot so I could mess around and learn more about it.   So I followed a Youtube tutorial (  ) and I got my stuff working fine.   The first few times I booted I got the GRUB menu instead of my default HP Boot OS Manager, and I was able to select my OS.   So I went to sleep and the next day I turned on my computer and the GRUB menu did not show up. I tried several times and it didn't automatically show up.  In order for me to see the GRUB menu I had to turn on my PC and on start had to press ESC to pause startup and press F9 to get boot options. Then from there I had to pick from OS Boot, Ubuntu, Ubuntu (Yes there were two Ubuntus available) and a default EFI file thingy.   When I click the first Ubuntu I get the GRUB Menu (I was too scared to try the second in case I screwed my laptop up) and I can safely load Ubuntu from there and use it (although I do have to increase my brightness every time I load Ubuntu because it somehow reduces my brightness to complete darkness on boot)  So my problem here is why isn't my GRUB showing on boot, after it worked on the first day?   My laptop is a HP TouchSmart j-078CA.  EDIT 1: FYI I just switched to Ubuntu LiveCD to check my Installation and found out that one of my partition is flagged as msftres. Here is a screenshot of my GParted on a LiveCD:


In linux man pages, why are some functions listed on both section 2 (sys call) and 3 (libc)

Take recvfrom as an example. This is explained in both these links:   I understand (2) is for sys calls and (3) is for libc functions, but their header #include <sys/socket.h> and function prototypes is the same in both pages. Are these pages referring to the same function? If so then why do we need 2 separate pages explaining it? one could link to the other. Second question I like to ask is; are all the C Wrappers defined under (2) functions of libc (or other libraries)? These aren't the actual sys calls or helper functions provided by the Kernel right? these are all just wrappers which make the sys calls behind the scenes by putting correct values in registers? If so they should have just made a link to the wrappers in section (3), this is so confusing.


Which strategy allows you to beat Rosh the most times in Diretide?

So far I know of two strategies.   Pick carries, beat him to death with damage items. Pick people with burst damage (Lion, Lina) and use an etheral blade and lots of maxed out Dagons   Does anyone know which is better?  Or if there's a different better one?  Note: Better can be defined as doing more damage per second, thus killing him faster (therefor this isn't a subjective question)  EDIT:  After searching some more I noticed  but I'm hoping for a more exact answer with some numbers backing it up (I know it's lots of work, but maybe I'll be the one to do it and post it)


What do rings in The Lord of the Rings do?

Rings seem to be rather important in The Lord Of The Rings, but what do magical rings do in general? I don't mean the side effects of wearing the One Ring (invisibility, long life span) but the intended effects of rings. Based on , they can't all be for the purpose of enslaving the races of Middle-Earth. Reading  suggest they help the wearer become awesome at tasks that the wearer would try and undertake normally (Dwarves gathering money, Gandalf's helping him lead).


I want the footer of all pages to be "Page N°X" on the right. I used this:  \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % clear all header and footer fields \fancyhead[R]{\leftmark} \fancyfoot[R]{\footnotesize Página N$^\circ$ \thepage\ } \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt}   It works on every page but the chapter beginning ones.


Is there a good citation manager for TeXLive like Mendeley for word in Office?

I have just started using Mendeley with word and "I like it" is an understatement. So far, the most important BibDesk feature I'm using now is the ability to link the bibliographic entries with their actual order. And when I reorder the cite the link follows it around, too.  I know BibDesk is a good equivalent on Mac for TeXShop. What is a BibDesk equivalent for TexLive in Windows? I hope there is one that has at least almost the same features and also that feature I mentioned above.  (Very similar to  but a little different.)


Can I register a domain name that contains a company name or trademark?

I wonder is it legal to register a domain name that contains a company name. For example cococola.cc (considering that this domain name is available). Can I buy and use any domain names that contain a name of a trademark?


Alternative word to describe 'pigeon-holing' someone to win an argument

I see this a lot on the internet, twitter etc. As an example say some random democrat is in a debate with a republican. Whatever the topic was, the democrat might say something along the lines of 'anyway you're probably just a racist so I don't care what you say...'. It's where the opposing party 'picks' one or more of the worst possible cases about 'you', factual or not, and just uses them to paint you as being 'worthless' or at least not worth debating with, ergo they win the argument. Another example might be someone trying to describe their belief in a 9/11 conspiracy. The opposing side might say 'yeah and you believe the moon landings were fake and JFK etc etc'. The conspiracy theorist may or may not hold those beliefs, but the opponent in this case just paints the picture that they do so they can be safely dismissed. Does that make sense? is there a word for when people do that?


I can't post a screenshot right now, but when I look at my Votes Cast list, I can see questions which I have voted to close, with closure (deleted) as the status, like .  However I can view the questions just fine. Could this be a bug?


Search for a book for learning linear algebra, that gives lot of practical real world examples

Looking for a book about linear algebra that explains everything, and shows real usage examples. I mean that everything that written in the book is to solve real problems.  The examples can be in ANY field.   I saw here some recommendation for "Linear Algebra Done Right", but I don't see that it have examples.  In other words: I looking for a book that starts with a problem, and then teach the minimum required knowledge to solve the problem. And then shows the next problem that linear algebra solves.  I have read   (It is not opinion-based, an answer that mentions a book that have this  mind will be accepted)


Log files corrupted with NUL characters and text from other processes

I am running Wind River Linux 4.3 on an embedded Freescale single board computer (SBC). Output from uname -a:  Linux ge101 2.6.34.10-myname-grsec-WR4.3.0.0_cgl #1 SMP PREEMPT Mon Aug 26 01:35:35 PDT 2013 ppc ppc ppc GNU/Linux   There are several modules / processes running and creating log files that I am interested in collecting:   A kernel module logging to /var/log/messages A userspace application which is having its stdout redirected to a log file. This application is automatically started upon bootup by an init.d script. The script does this by the following: nohup ${executable_name} -C ${configfile_name} >> ${logfile} 2>&1 & This same userspace application writes other data to a separate file on the SBC's filesystem. A Python script using the logging module to write to a log file.   I am seeing a bizarre problem where these 4 log files occasionally are "corrupted" in the following way:   Anywhere between 78-309 NUL characters are inserted into the log file Text from another log file (40 or so lines) gets inserted into it When this happens, there is a chunk of data missing from the log file   Additionally, there are some instances where only the NUL characters are inserted, and no text from other logs gets intermingled in.  In a log file on the order of 100k lines, this behavior occurs 7-9 times.  The NUL characters by themselves would be fairly easy to remove during post-processing. However, the unexpected data showing up from other files is breaking parsing scripts. And of course, the missing chunk of data is the most troublesome.  Does anyone know what might cause this bizarre behavior to occur?


I had a small question concerning something in Ubuntu. I noticed that whenever I cd to a two-word place, Ubuntu seems to go there. However, when I mention the file path to this place, Ubuntu splits up the text.    As seen, in the first picture, the system can go to the specified place. However, when I mention the file path to the two-word place, Ubuntu seems to split up the two words and search for either of them, which don't exist.   Can someone help?  Note: I have tried '' instead of "" around the file, but it still doesn't work. I am also using the Linux application on Windows (which, yes, I know is very dangerous).


Consider an infinite chess board. A knight moves 2 squares forward on one direction, then turn left or right, move 1 square further on. Let's denote this a normal knight, or $\langle 2,1\rangle$ knight. And it's known that a knight could reach any square on the board, i.e. denoting the starting square as $(0,0)$, a $\langle 2,1\rangle$ knight can arrive any square $(m,n)$.  Now let's say this knight gets drunk and started to walk $\langle p,q\rangle$...   Of course, if both $p$ and $q$ are even numbers, a $\langle p,q\rangle$ knight won't arrive $(m,n)$ if both $m$ and $n$ are odd numbers.  Then brings to the question, in which situation, a drunk $\langle p,q\rangle$ knight still could reach any square $(m,n)$ ?


Rotation Value ist not the same as given in the driver output

I am just trying to set up a dynamic circular array of objects. To keep it as dynamic as possible, I want to make my helpers empty z rotation driven by a driver. The Scripted Expression looks like this:  360/count while count is the count value set in the arrays modifier on my object.  The final value calculated in the driver is correct.(45 in case I have a count of 8). The actual value set in the rotation property is different. See the Screenshot below.    Am I missing something?


Can I convert and replace unix times stored in a file with iso 8601 format?

I tried the various solutions offered in the question of which mine appears to be a duplicate. Some of them did not actually convert the time, one of them did convert the time but the year was wrong and it did not replace the existing value in the file, it added a new column to the output. The answer I accepted below met my needs perfectly.  Sorry if this is a duplicate, I searched extensively and didn't find questions matching my situation. I use Linux frequently but my "programming" skills are limited to simple shell scripts.   I have a csv file with a column of date/time stamps written in the epoch (i.e. Unix) format. Please see below example. I would like to convert and replace the Unix time with the ISO 8601 format.   Example of existing output:   foo, 1439856000000000000, foo, foo foo, 1439856360000000000, foo, foo foo, 1439856720000000000, foo, foo foo, 1439857080000000000, foo, foo   Example of Desired output:  foo, YYYY-MM-DD HH:MM:SS.nnnnnnnnn, foo, foo foo, YYYY-MM-DD HH:MM:SS.nnnnnnnnn, foo, foo foo, YYYY-MM-DD HH:MM:SS.nnnnnnnnn, foo, foo foo, YYYY-MM-DD HH:MM:SS.nnnnnnnnn, foo, foo


Material preview/eevee 3d view glitches and no compatible GPU found

Blender recently started crashing when trying to use cycles with my gpu, and then when I'm in EEVEE or material preview the 3d view goes weird colours (mainly grey) and duplicates visuals around. I updated my gpu and blender and now it lets me use cycles with my gpu but it still says "No compatible gpu found for path tracing" in preferences despite that, and I still have the 3d view glitchyness. Also my gpu still runs games fine. Here are pictures of what my 3d view looks like, and what happens when I move my mouse around and scroll in and out in eevee with this cube and glowy circle.


Unable to run Ubuntu 12.04 without USB flash drive

Yesterday I installed Ubuntu from a USB flash drive. Now, when I turn on my notebook, it displays only _. When insert the USB drive it's ok.  I tried changing BIOS settings: some booting options, but it didn't help.  What should I do to make it possible to run without the USB flash drive?  Thanks in advance :)    Thanks but it didn't work properly. Boot Repair wrote "EFI detected. Please check the options." I don't know if it's important... after command  sudo fdisk /dev/sda   it answered:   Command (m for help): m Command action    a   toggle a bootable flag    b   edit bsd disklabel    c   toggle the dos compatibility flag    d   delete a partition    l   list known partition types    m   print this menu    n   add a new partition    o   create a new empty DOS partition table    p   print the partition table    q   quit without saving changes    s   create a new empty Sun disklabel    t   change a partition's system id    u   change display/entry units    v   verify the partition table    w   write table to disk and exit    x   extra functionality (experts only)  Command (m for help):   So I chose sda. Then it said something like      if any problems -  or boot.repair@gmail.com or my favourite discuss forum.    Then:      You can now reboot your computer. Please do not forget to make your BIOS boot on sda disk!   What has happened? what should I do? it again wasn't able to run without USB. Thank you


I created a custom object Project__c. I haven't added any custom fields to it yet. I have noticed something strange trying to insert new Project__c instance. I wrote this code:  Project__c newProject= new Project__c(); insert newProject;   and executed it. As a result I got new record with Project Name: a0D58000001JeqC. How is this possible? I was expecting error, because standard field Project Name is required.


How to make an Android device to display complex rendering of Indic characters?

Please excuse the length of this question. I need to explain all this to help others and to avoid helpful contributors to provide answer without asking clarifications.  My requirement in one line: "to enable an Android phone to display Tamil characters properly".  Elaboration: Tamil, like any other Indian language has complex character rendering system. Unlike English or other Latin based script, it has glyph (what you see in screen) composed of more than one character.  Android does not have ability to render such complex scripts (with exceptions). My aim is to know how I can provide such an ability to an Android phone or tablet.  Little background that I gathered so far: To display a glyph in screen, Android first needs a suitable font file.  Android device has a folder /system/fonts which has few of them.  The most interesting file in that folder is the DroidSansFallback.ttf.  As the name suggests, when Android's system fails to find a character in system fonts (that could be DroidSans.ttf or DroidSans-Bold.ttf etc) it falls back to search it in DroidSansFallback.ttf.  By replacing a suitable font file from PC (Latha.ttf or Lohit-Tamil.ttf - these are fonts for Tamil) and DroidSansFallback.ttf will enable to display Tamil characters in the device. It is not so easy to replace and it involves rooting the device and mounting the system as writable.   In spite of those troubles, even if the DroidSansFallback.ttf is replaced, the Tamil characters that are displayed are not rendered properly.  The Tamil character "தி" is a conjunct of two characters and instead of getting displayed as "தி", it will be displayed as "த ி" without space in between. Though this is enough to read short messages, it cannot be used to read books etc.  From Android 4.0 on wards, Tamil and other few languages are supported through browser as said in Android 4.x API overview as seen below.  Support for Indic fonts (Devanagari, Bengali, and Tamil, including the complex character support needed for combining glyphs) in WebView and the built-in Browser   The words to notice is "in WebView and the built-in Browser", which means that Tamil characters will be rendered perfectly if it is rendered as HTML content and will not be rendered otherwise.  Opera and other few browsers did this even before Android 4.0 by substituting image instead of character.  I noticed that in few devices that target Indian market (ex: LG Optimus One, most of Samsung phones and tablets) are able to display Tamil properly both in browser and even in places out of browser like in contacts, text messages, file names etc.  To my surprise they do this even in Android 2.3 onwards.  I also noticed that the same model targeting non-Indian country running same version of Android does not support Tamil character display.  This made me to investigate further and reached a conclusion that Android (as other Linux based OS) depends on a font rendering engine to display such complex characters.  The two engines that I came across are Skia and Harfbuzz. I noticed LG uses skia and Samsung uses Harfbuzz libraries in their devices to bring this ability.  I came across many websites suggesting to replaces these libraries and fonts. It did not work and results in freezing.  Fortunately I backed up using clockworkmod and hence I restored my phone.  Though I had explained this with Tamil, this is applicable for most of the Indian languages.  Here comes my question (if you are still reading;) ) Now, far sure it is clear that a TTF file should be present to provide characters and an appropriate libraries (libskia.so or libharfbuzz.so) are required to render them correctly.  Does any one know how these manufacturers are able to provide the ability? I am even ready to build my own ROM from AOSP (Android Open Source Project).


How can I capture text from a specific terminal and redirect it to a log file while simultaneously working?

I viewed  to redirect text to file while displaying the output. My question is how can I redirect it while working AND without constant | tee command.  My plan is to use  to identify terminal (Gnome or Guake) and record only Gnome for my Linux commands testing. So I need constant and immediate redirecting of commands and their outputs (with errors) to a file (say cmdlog.log).


citation number after just the Theorem number

I want to put the citation number like [2] just after Theorem number and no space between them. For example Theorem 1.2.1[7].


What does this notification bar icon mean in the HexoLibre theme by Cyanogenmod?

The icon in the middle it looks like dancing wobbling phone or something. Totally confused. Not using OnePlus. I'm using Cyanogenmod 13's HexoLibre theme.


How can I identify a word that ends with "-ing" as being a noun, a verb, or an adjective?

How can I distinguish between words which have the -ing in a sentence that are nouns, verbs, or adjectives?    For example sometimes -ing come with word to give us a noun, and sometimes a verb or an adjective.       That interesting snake.   That crawling snake.   That barking dog keeps everyone awake.     Is there any rule to determine whether a word with -ing is a noun, verb, or adjective?


I am using \begin{align} in my paper. Hence unwanted gaps are being created to accomodate the whole \begin{align} content in one page. how to prevent it ?


How to get my 4yo daughter's fixation on my belly button under control?

I don't know where to begin with this question. It's awkward and to be honest, it makes me feel rather uncomfortable. Simply put, I'm led to believe that my four year old daughter is obsessed with my belly button. It all started one day during the summer when she was three. I decided to take my family to the pool, and I guess I didn't see my daughter follow me into the changing room. Mind you, she's still at the age where it's appropriate to see her parents naked, so I wasn't surprised when, after I finished changing into my bikini, I turned around to see her staring at me.  I followed her gaze and saw her looking directly at my belly button. I asked her what she was looking at and she screamed "mommy, I can see your belly button!" which made me giggle. I picked her up and kissed her forehead, telling her that everyone has a belly button.  I think I might have accidentally given her a green light, because over the next year she constantly asks me if she can stick her finger in my belly button, and if I don't let her, she begins to scream.  For her fourth birthday, she requested that I wear nothing but a sports bra and underwear (in toddler speak. It sounded like "mommy, show your belly button for my birthday!" I could have simply worn a crop top but i didn't want to risk her throwing a temper tantrum)  My husband obviously doesn't mind, because he gets to look at my belly button all the time but it really upsets me that my daughter's finger is constantly in my belly button.  Tomorrow is her fifth birthday and I want to discuss with her that it's not appropriate to always be poking my belly button. Any ideas on how i can talk to her without her throwing a screaming fit?


What is the difference of + operator and concat() method in JavaScript

The plus ( + ) operator and String.concat() method gives the same result.  plus ( + ) operator;  str1 + str2;   String concat() method;  str1.concat(str2);   Addionally, it is written in  ;     But with JavaScript, methods and properties are also available to   primitive values, because JavaScript treats primitive values as   objects when executing methods and properties.   So which way is better to use to combine for either we use on primitives or on String objects in JS, what are the performance advantages and disadvantages between them if there is any?  var firstName = "John"      // String var y = new String("John"); // with String Object   Here are the example codes which give same results;    function example1 () {   var str1 = "Hello ";   var str2 = "World!";   document.getElementById("demo1").innerHTML += str1 + str2; }   function example2 () {   var str1 = "Hello ";   var str2 = "World!";   document.getElementById("demo2").innerHTML += str1.concat(str2); }  function example3 () {   var str1 = String("Hello ");   var str2 = String("World!");   document.getElementById("demo3").innerHTML += str1 + str2; }  function example4 () {   var str1 = String("Hello ");   var str2 = String("World!");   document.getElementById("demo4").innerHTML += str1.concat(str2); }  example1(); example2(); example3(); example4();
Demo 1:

Demo 2:

Demo 3:

Demo 4:


Is it possible to apply Gram–Schmidt process to orthonormalise a matrix in Hilbert space?

Let $V$ be a separable infinite dimensional Hilbert space over $\mathbb{C}$  Let $\{A_{i,j}\}_{i,j \in \mathbb{N}} \subset V$ be a matrix of linearly independent vectors of $V$  My question is if is it possible to orthonormalise matrix $A$, getting the matrix $B$  such that $$ \langle B_{i_1,j_1} , B_{i_2,j_2} \rangle = 0 $$ and such that $$ \forall i \in \mathbb{N}: \operatorname{Span}(\operatorname{Row}_i(A))=\operatorname{Span}(\operatorname{Row}_i(B)) $$  I have to orthonormalise a matrix and not a sequence so the question is very different from  mainly for the second condition. I cannot see no one anything in common. thanks.


Anyone know how to recreate this colour effect?

I've been wondering and wanting to recreate the style below for quite a while. I know the typical overlay options, but overlays that are white would usually simply result in creating a greyscale image. I'm certain I am missing something here, but I just cannot wrap my mind around on how to create something like this - especially with such a light tone. Anyone got any ideas?  Here's a similar photo from the same scene but with the actors in colour:  Sorry for the crappy quality of the second one. Seems to have been a badly recorded video.


Does my husband need to apply for Schengen visa if he has an indefinite leave to remain?

My husband is a Sri Lankan national with a Sri Lankan passport. He holds an indefinite leave to remain in the UK (card). Our 3 kids and I have British passports, we are all going to go to France. Does he (my husband) need to apply for a Schengen visa before travelling to France?


Can you help me please with this question? Let $X$ be a non-empty set with the . Is $\left ( X,\tau_{\operatorname{cofinite}} \right ) $ a metrizable space? Thanks a lot!


How soon until I can take my newborn to take a walk outside?

I understand that newborn's immune system is still weak and crowds/strangers are to be avoided. Knowing this, how soon can I take my newborn outside, for example to take ~1 hours walk in a non-crowded park? Any particular things to pay attention to when doing this?


jQuery   $(function(){     $("#btnPrint").click(function(){       var mydiv = document.getElementById("printDiv");     printDiv(mydiv);     });      });      function printDiv(divP) {                  window.frames["print_frame"].document.body.innerHTML = $(divP).html();                 window.frames["print_frame"].window.focus();                 window.frames["print_frame"].window.print();              }   HTML   <iframe name="print_frame" width="0" height="0" frameborder="0" src="about:blank">         </iframe>  <div id="printDiv"> //some content here </div>  <input type="button" id="btnPrint" value="Print"/>   The above code is working in IE and Mozilla but not working in Safari,chome and Opera? Please help..


Getting an error: Exception in thread "main" java.net.SocketException: Connection reset

I have written a simple java code using sockets to get input from a local txt file and save it by creating another txt file in my storage elsewhere. I am using my client program to send the data and the server program to receive the data and save it. I run my server program before my client program and after running that client program, I get my output in the console that the connection has been established (I have written that in my code while trying to debug it) but, after the connection established message, I am getting The following error in my Server program: Exception in thread "main" java.net.SocketException: Connection reset at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323) at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350) at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803) at java.base/java.net.Socket$SocketInputStream.read(Socket.java:982) at Assignment_2.DA_FileServer.main(DA_FileServer.java:16)  Following is my Client program code:      public class DA_FileClient {         public static void main(String args[]) throws Exception{             Socket cs = new Socket("localhost",5050);              byte[] b = new byte[12345];             FileInputStream fis = new FileInputStream("D:\\Coding Practice\\Source.txt");             fis.read(b,0,b.length);             OutputStream os = cs.getOutputStream();         }     }   and this is my Server program:      public class DA_FileServer {         public static void main(String args[]) throws Exception{             ServerSocket ss = new ServerSocket(5050);             Socket cs = ss.accept();             System.out.println("Connection Established!");              byte[] b = new byte[12345];             InputStream is = cs.getInputStream();             FileOutputStream fos = new FileOutputStream("C:\\Users\\FoxSinOfGreed\\Desktop\\Destination.txt");             is.read(b,0,b.length);             fos.write(b,0,b.length);         }     }     ```  P.S. I am using IntelliJ Idea Community Edition


Upon studying Newton's second law, I noticed that it seems less of a physical law i.e. outcome of some experiment, than something we built upon how WE define mass and force.   The ratio of the masses $m_{1}/m_{2}$ of two bodies equals inverse of the ratio of their accelerations $a_{2}/a_{1}$ if the same force is acting on both.   A unit force is defined to be the one necessary to accelerate a body of unit mass by 1 ( m / s ) / s.  My question: Why can't we define the ratio of the masses as some function of the inverse of their accelerations, say ( the same ratio )  2 . Or maybe we could have negative masses, if the ratio of masses equals negative of the inverse of their accelerations.  Is it just because when we have two bodies of the same mass, we want their total mass to be twice their individual masses? Is it just for having a simple expression for the law?


The Nikkor 18-200mm VR lens creeps until fully extended if pointed vertically down.  This is preventing me from using it on a .  Is there a piece of equipment or a simple (and non-destructive!) hack to hold the zoom in place?  I found  half-overlapping the zoom ring, but that doesn't sound very secure. I'm really after something that will hold it exactly where I put it for a really long time.


Is "tri-quarterly" a real English word meaning 3 times a year? Are there any other words that mean 3 times a year?


How to show letters like  with mathptmx package?  I'm using pdfLaTeX with mathptmx package becasue its gooding looking normal math font letters a-z, A-Z. However, if only with this package, \mathsrc{...} is reported as "undefiend sequence" and \mathcal{...} is curlicue style like the following:  \mathcal{F} shows . If I add \usepackage{mathrsfs}, \mathcal{F} and \mathscr{F} are the same as .  What I expect is \mathcal{F} shows  and \mathscr{F} show the one in previous line.   What should I adjust? I hope mathptmx package is still being used.  Minimal code script goes like that:  % using PdfLaTeX \documentclass[journal]{IEEEtran} \usepackage{amssymb,amsmath,amsfonts} \usepackage{mathptmx}  \usepackage{mathrsfs} \begin{document} $$\mathcal{F}$$ $$\mathscr{F}$$ they are the same \end{document}


No sound on 20.04 install with Intel 82801JI

I'm a newbie and wonder how to proceed. Thanks.


In Magic free-for-all multiplayer, what happens when someone dies?

In a free-for-all multiplayer Magic game, what happens when someone dies?  Specifically:    What happens to spells they've cast that are on the stack? What happens to enchantments they have cast onto permanents that other people control?   Specifically, if player A (at 1 life with 3 creatures) casts  and Player B flashes out his own Massacre Wurm in response, what happens? Also, player A had previously cast  on one of Player B's creatures. In the end, what is the result?