How do you select only the vertexes of the lips to color them? I am really confused

Hello blender community.  Could someone please let me know how to fix this issue? I have one material for the whole face and a different one for the lips.  there's a noticeable edge that I want to get rid of. I just want it to have an ease fade instead of a sharp edge.   what's the best way to go about this?  Thank you in advance!    Finished Update  I wanted to give an update on how it was fixed with @hexbob6 and @Lemon 's help.    I needed two textures. One is the actual colored version and the 2nd is the black and white masked version. Hexbob6 described very well on the process here:   A: The node process on how to do it.    The B/W masked texture is going to be connected to the Fac of the mixed shader along with its UV coordinates. Make sure the image is on clip instead of repeat. the 1st shader is going to be the black part of the B/W masked texture. An important thing to note is if you have a texture already for the object, be sure to connect the other UV coordinates! the 2nd shader will be the white part of the B/W masked texture.   B: This section is the UV layout called "mainUV" where all the color goes.  C: This section is the B/W masked texture to focus on the lips.  D: Just the render view  E: Best way to texture something is to be able to see it in 3D view and texture paint.  F: Just showing that there are two textures to keep track of. One is the main UV and the 2nd is to focus on the lip.   That was it. Once again thanks to those who replied and helped me figure this problem. In the process I learned other things that I didn't know about blender even though I've been using it for years.


drupal_set_message() on certain conditions. Even with visible errors messages disabled, anonymous users see this. Indeed, the comment in the code even has a TODO to change it to an exception.  Obviously I don't wish to hack core. Is there a clean way to suppress this for anonymous and non-administrator users?  Notably, the message is in a t() function, so I could use the  module, but this would affect all users (including site administrator), so it's a bit problematic.

Under 'Error messages to display' I can hide errors (as is recommended for production sites). However is it possible to hide errors for everyone except a certain role?


I have 2 RAM slots in my motherboard. In Slot#1 I have a 2 GB DDR3 800Mhz RAM. I am planning to add 2 GB RAM more to Slot#2 of my computer. But online stores only has 1333Mhz RAM to buy. So my questions is that Can I use a 800Mhz RAM with a 1333Mhz RAM.  Regards,  A Computer Enthusiast

For example, my  says this:   Supports DDR3 2133(OC)/1866(OC)/1600/1333/1066 non-ECC, un-buffered memory   Is RAM clocked at 2400 MHz compatible? Will the performance be downgraded or it just won't work?  I found other questions but they were related to the CPU cap at 1600 MHz. This cap is related to the motherboard, specs says 2133(OC) max.


Proposition : The only sets in $R^n$ which are both open and closed are the empty set and $R^n$ itself.  I came up with the proof of this claim and I'd like to know if my proof is correct.  Proof:  Let $S$ be the nonempty proper subset of $R^n$ which is both open and closed. Then $T = R^n-S$ is also a nonempty proper subset of $R^n$ which is both open and closed. Now take a point $s_0$ in $S$ and $t_0$ in $T$. Then we can consider a closed box $J_1$ which contains both $s_0$ and $t_0$.  The n-dimensional interval $I_1^k$ is defined by the inequalities   $s_k\le x_k \le t_k$ (k=1, 2, $...$, n ), where each $s_k$ and $t_k$ are the k-th coordinates of $s_0$ and $t_0$. Without loss of generality, assume that for all k, $s_k \le t_k$.  Here $J_1$ denotes the catesian product   $J_1$ = $I_1^1$ x  $\cdots$ x $I_n^1$   Now, bisect all of the n 1-dimensional intervals and the point $\frac {s_0+t_0}{2}$ will lie in the center of the bisected box. This point belongs to either $S$ or $T$. Say it belongs to $S$ then, rename it $s_1$ and the original $t_0$ to be $t_1$. Now again consider a box that has both points as vertices like the previous case and repeat the process.   Writing $I_k^m$ = [$s_k^m$,$t_k^m$],   we have  $t_k^m$ - $s_k^m$ = $\frac {t_k-s_k}{2^{m-2}}$  Then for each fixed k, the sup of all left endpoints must therefore be equal to the inf of all right endpoints, and their common value we donote by $b_k$ (actually we know this by Bolzano-Weierstrass).   Now we assert that b=($b_1$,$...$,$b_n$) is a limit point of $S$ and $T$. To see this, take any n-ball B(b; $r$). The point b of course belongs to each of the boxes $J_1$, $J_2$, $...$ constructed above, and when $m$ is such that $max_k\frac {t_k-s_k}{2^{m-2}}$ < r/2, this neighborhood will include $J_m$ and since $J_m$ contains both points of $S$ and $T$, b is a limit point of both sets. But since both sets are closed, they both contain b, which is a contradiction. Hence, the proposition is true.

I am trying to prove the above proposition. I tried to prove it by way of contradiction letting $S$ be such nonempty proper subset of $R$. Then $T=R-S$ would also be a nonempty proper subset of $R$ which is both open and closed. The method I thought of to lead contradiction is to create a sequence like this.   Take $s_0$ from $S$ and $t_0$ from $T$. Then consider the point $\frac {s_0+t_0}{2}$ and if this point belongs to $S$ call it $s_1$ otherwise $t_1$. Repeat this process then eventually there is a sequence $s_m$ and $t_m$ which both converge to the same limit. But then since both sets are closed the limit point belongs to both sets, which is a contradiction.   It's clear that such a sequence exists intuitively but I'm having trouble rigorously constructing such a sequence. Since I have no idea which set each of the newly constructed point belongs to, I don't know how to prove by $\epsilon-N$ definition of a sequence that both sequences converge to the same number. Can anybody help me?   Moreover, how may I be able to generalize this proposition to the $R^n$ setting?  Thanks.


If I have a metal ring and I heat it up, I will expect thermal expansion.   From my point of view of expansion, the metal will expand to free space. In that case, the inner radius of the ring should be smaller and the outer diameter of the ring should be bigger.  I understand that is not the case, but could anyone explain me why?

Take a metal disc and cut a small, circular hole in the center. When you heat the whole thing, will the hole's diameter increase or decrease? and why?  What will happen to the  diameter of disc?


Using power series method, solve   $$y′′+ xy = 0.$$  How do I start solving this? Thanks in advance!

The differential equation $y''+xy=0$ is given.  Find the solution of the differential equation, using the power series method.  That's what I have tried:  We are looking for a solution of the form $y(x)= \sum_{n=0}^{\infty} a_n x^n$ with radius of convergence of the power series $R>0$.  Then:  $$y'(x)= \sum_{n=1}^{\infty} n a_n x^{n-1}= \sum_{n=0}^{\infty} (n+1) a_{n+1} x^n$$  $$y''(x)= \sum_{n=1}^{\infty} (n+1) n a_{n+1} x^{n-1}= \sum_{n=0}^{\infty} (n+2) (n+1) a_{n+2} x^n$$  Thus:  $$\sum_{n=0}^{\infty} (n+2) (n+1) a_{n+2} x^n+ x \sum_{n=0}^{\infty} a_n x^n=0 \\ \Rightarrow \sum_{n=0}^{\infty} (n+2)(n+1) a_{n+2} x^n+ \sum_{n=0}^{\infty} a_n x^{n+1}=0 \\ \Rightarrow \sum_{n=0}^{\infty} (n+2)(n+1) a_{n+2} x^n+ \sum_{n=1}^{\infty} a_{n-1} x^n=0 \\ \Rightarrow 2a_2+\sum_{n=1}^{\infty} \left[ (n+2) (n+1) a_{n+2}+ a_{n-1}\right] x^n=0$$  So it has to hold:  $$a_2=0 \\ (n+2) (n+1) a_{n+2}+a_{n-1}=0, \forall n=1,2,3, \dots$$  For $n=1$: $3 \cdot 2 \cdot a_3+ a_0=0 \Rightarrow a_3=-\frac{a_0}{6}$  For $n=2$: $4 \cdot 3 \cdot a_4+a_1=0 \Rightarrow a_4=-\frac{a_1}{12}$  For $n=3$: $5 \cdot 4 \cdot a_5+a_2=0 \Rightarrow a_5=0$  For $n=4$: $6 \cdot 5 \cdot a_6+a_3=0 \Rightarrow 30 a_6-\frac{a_0}{6}=0 \Rightarrow a_6=\frac{a_0}{6 \cdot 30}=\frac{a_0}{180}$  For $n=5$: $7 \cdot 6 \cdot a_7+ a_4=0 \Rightarrow 7 \cdot 6 \cdot a_7-\frac{a_1}{12}=0 \Rightarrow a_7=\frac{a_1}{12 \cdot 42}$  Is it right so far? If so, how could we find a general formula for the coefficients $a_n$?  EDIT:  Will it be as follows:  $$a_{3k+2}=0$$  $$a_{3k}=(-1)^k \frac{a_0}{(3k)!} \prod_{i=0}^{k-1} (3i+1)$$  $$a_{3k+1}=(-1)^k \frac{a_1}{(3k+1)!} \prod_{i=0}^{k-1} (3i+2)$$  If so, then do we have to write seperately the formula for the coefficients of $x^0, x^1$, because otherwhise the sum would be from $0$ to $-1$ ?


I have a similar question to  , but somewhat different.  My family is flying Lisbon->Istambul->Manila with a transit stop in Ataturk Airport at the end of the month of October. A single ticket covers both legs of the flight.  Turkish airlines just sent a message today, an email in Turkish (God knows why - they speak English), and two SMSes in English telling them their last leg departure was brought forward by 30 minutes.  The point is that they bought that flight because they had 2h20m to do transit, and now they only have 1h50m or less (minus the standard 15 minutes delay for Economy class?), so they should have now 1h35m to change connecting flights.  It is the first time they will be navigating that particular airport.   While the  last question states it is possible to do it; my question is a bit different; what steps do they have to take to minimize the problems, and not for instance going by a route different from the transit one? Is Ataturk easy to navigate, and has it plenty of English signs? Any advice on the route to take inside the airport?  In the meanwhile I also found this related question,  , which gives invaluable tips and states it can be a close call if going through security control.

This is more of a panic question after reading reviews on Istanbul Atatürk Airport. They said it's messy and hard to navigate, therefore I'm asking questions here in name of my girlfriend who will need to transit through this airport.  My girlfriend (Canadian national) traveling from Toronto (YYZ) to Istanbul (IST) for a couple hours (~4 hrs, so transiting) in order to come to Pristina (PRN). I would like a quick guideline on how to pass through this airport seamlessly without facing any trouble or delay.  Her tickets are both with Turkish Airlines. She purchased it via a third party (Flighthub.ca). It's only one booking and it includes both flights in it.   Once my girlfriend departs, she's obviously required to follow the signs and go to the transit area. Once she's there, will she be required to present a ticket? Where does she get that ticket? Does she get it in YYZ or does she need to visit a counter in IST and get it? After she's got the proper ticket, what does she need to do exactly? Wait in line to have her passport checked? Will they also control her carryon?  After this step, does she simply go to the PRN flight gate and that's it?   We're simply worried about Istanbul Atatürk Airport because of the recent things that happened in Turkey (coup attempt and ISIS attack) and she doesn't wanna somehow end up locked up there. I've read that the airport is a mess lately and a lot of people will be there waiting in line. So, another question: Are 4 hours enough?  I would appreciate a step by step guideline on how she needs to navigate and what she needs to do in that airport to have a smooth experience without facing any delays. Also some misc information on Istanbul Atatürk Airport would be appreciated.


so i made a small password strength tester for me, my friends and my family, as seen here:  import re strength = ['You didnt type anything','Terrible','weak sause','avarage','Good!','Very Strong', 'THE FORCE IS STRONG WITH THIS ONE'] score = 1 password=(raw_input("please type in the password you would like rated:"))  if len(password) < 1:       print strength[0] if len(password) >=1 and len(password)<=4:       print strength[1] else:     print ""  if len(password) >=7:     score+=1     print "password was made stronger by not being short" else:     print "Your password is really short, concider making it longer"  if len (password) >=10:     score+=1     print "password was made stronger by long" else:     print "An even longer password would make it stronger"  if re.search('[a-z]',password) and re.search('[A-Z]', password):     score+=1     print "password was made stronger by having upper & lower case letters" else:     print "Indlucing both upper and lower case letters will make your password stronger"  if re.search('[0-9]+', password):     score+=1     print "Password was made stronger by using numbers" else:     print "Using numbers will make your password stronger"  if re.search('[.,!,@,#,$,%,^,&,*,?,_,~,-,£,(,)]',password):     score+=1     print "Password was made stronger by using punctuation marks and characters" else:     print "Using punctuation marks and characters will make the password stronger"  print "\n final password rating is:" print strength[score]   what i was hoping to do is:  1st - add color to the comments i've given the user about the content of their password, good comments such as the: "password was made stronger by using numbers" will have a green output, while constructive feedback such as the "using numbers will make your password stronger" will have a red output, making it easier for the user to spot the pros and cons of his password  2nd - i was wondering, if it works the same, can i color certain items in my above "strength" list? making the first two red, the middle pair yellow and the last pair green?  ty!

How can I output colored text to the terminal in Python?


I have pre-installed windows 8.1 and I installed ubuntu 13.10.  This is what I see -    Boot Mode - [Legacy]  Boot Priority - [UEFI]   Issue here is when I restart my computer it doesn't ask for windows or ubuntu selection. And start the windows 8.1.  When I change the configuration to  Boot Mode - [Legacy] Boot Priority - [Legacy]   Purple screen comes up to choose ubuntu or windows. When  I choose ubuntu it works perfectly fine.   After login to ubuntu.   krunal@krunal-Lenovo-IdeaPad-U530-Touch:~$ [ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD" Legacy boot on HDD krunal@krunal-Lenovo-IdeaPad-U530-Touch:~$  krunal@krunal-Lenovo-IdeaPad-U530-Touch:~$ sudo blkid /dev/sdb1: LABEL="WINRE_DRV" UUID="309C4CD59C4C96EE" TYPE="ntfs"  /dev/sdb2: LABEL="SYSTEM_DRV" UUID="684F-4292" TYPE="vfat"  /dev/sdb3: LABEL="LRS_ESP" UUID="3854-3E3C" TYPE="vfat"  /dev/sdb5: LABEL="Windows8_OS" UUID="AAD0579BD0576C97" TYPE="ntfs"  /dev/sdb6: LABEL="LENOVO" UUID="8654250A5424FE95" TYPE="ntfs"  /dev/sdb7: LABEL="PBR_DRV" UUID="5E625CB7625C961D" TYPE="ntfs"  /dev/sdb9: UUID="9e762872-601b-4518-91d2-7826bc488b61" TYPE="ext4"  /dev/sdb10: UUID="3562b3f6-6f08-45c7-b16d-41a98712a1a6" TYPE="swap"    EDIT this is what I see in boot manager now. Is this correct ?    But when I click windows it doesn't understand and show messages and stops there. After that I have to restart my computer by pressing power button.

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


I am trying to solve this problem, But I'm unable to get a single hint can you help me to solve this problem.     If $u$, $v$, $w$ are integers such that $u^2 + v^2 = w^2$ , then $u$ and $v$ can’t   be both odd.

I am having trouble proving this directly. I know that it is easy to prove by contradiction by assuming both $a$ and $b$ to be odd, but how should I start to try to prove this? This is a homework problem and I am just looking for help getting started, not the full answer.


I want to highlight a certain element in this matrix from matlab output. How can I do this in the verbatim environment?  \begin{verbatim}  P =  1.0000    0.7000         0         0         0      0         0    0.5000         0         0      0    0.3000         0    0.6500         0      0         0    0.5000         0         0      0         0         0    0.3500    1.0000 \end{verbatim}

Is it possible to change color of part of the text that is in a verbatim environment?  Lets say I have this verbatim section. I want to change the color of the marked lines into blue.  \begin{verbatim}     BOT: (Begin of Transaction)          SQL-DML-1; // update Kunden (...)             --> (C1, C2, C3)  /* MAKE THIS RED */         SET CONSTRAINTS C4 IMMEDIATE;             --> (C4)          /* MAKE THIS RED */         SET CONSTRAINTS C3 DEFERRED;          SQL-DML-2; // update Produkte (...)               --> (C1, C2, C4)  /* MAKE THIS RED */         SQL-DML-3; // update Bestellungen (...)             --> (C1, C7, C4)  /* MAKE THIS RED */         EOT: (End of Transaction) (COMMIT) /* INSERT MATH SYMBOL HERE */             --> (C3, C5, C6)  /* MAKE THIS RED */         RBT: Roll-Back-Transaction (alles rückgängig gemacht)             \end{verbatim}   Additionally, is it possible to make mathematical symbols in a verbatim environment? I know that this is contradictory per se, but maybe there's a kind of hack to to this.


I see all the time websites like stackoverflow for example embed their logo as a background image with a span tag for the text for screen-readers.                       Stack Overflow                    Why do this instead of an img element with alt text? Is there some semantic reason? Some accessibility reason? SEO reason?  It's not for styling the fallback text in-case an image doesn't load. You can style alt text...  It's not for performance - because with img's you can use srcset and sizes to provide alternate smaller images, and CSS's only spec that's close to what srcset and sizes does isn't well supported yet.  The only time that I see it making sense is when a spritesheet is being used for a site(like with stack overflow.)  If it's to prevent people from "stealing" the logo, that seems silly, because a simple google search would tell someone how to get the url of a background image. If that were the reasoning, it still seems silly because you could just use pointer-events:none; on the image itself, and set the wrapping link to display:inline-block;, and it'd still be a clickable link, without someone being able to right click and save as.  I'd just like to understand if there's an advantage to doing it.  I googled around but didn't really find any useful information answering why to do it either way.  Someone tagged this as being a duplicate to:  They are not the same question. This is a specific practice and pattern you see on the web, the reasoning behind it can be different.

In what situations is it more appropriate to use an HTML IMG tag to display an image, as opposed to a CSS background-image, and vice-versa?  Factors may include accessibility, browser support, dynamic content, or any kind of technical limits or usability principles.


I am 56 and read (as a teen in the 70's) a short story about a woman who has no idea why she is immortal, but is now desperate and lonely and wants to die.  She tries to die, but she keeps waking up repaired and alive. Finally she gets killed (I do not remember how--I think she is stabbed interfering with a crime), and her organs are harvested.  In a bizarre ending twist, the story uses the point of view of her body, and we experience the struggle to rebuild all the organs, until right as the heart sets up to beat, the crematory oven kicks on. The ending line indicates that even the ashes were large and hard to crush. In the epilogue, a doctor visits the girl who received her heart and finds the surgical wound already healed...   It is chilling and I would like to find it again, but cannot remember where or when I read it exactly.  It seems it was part of a collection of short stories.

Years ago I read a short story about a woman trying to commit suicide. However, because she had a extremely high rate of healing, her wounds were never fatal. The story ends with her being in the morgue after her heart was taken out for transplantation. Before a new heart could grow she was incinerated. The person who received her heart received the quick healing as well.  Does anyone know this story?


The story describes the society of the species in question and how advanced they are in subjects such as mathematics, but toward the end of the story, it is revealed that      they are a cattle-like species who have no oppose-able thumbs, no arms and no manual dexterity whatsoever. They advance their ideas purely by visualizing and then verbally describing everything to others. Later they enlist the help of a lesser advanced, ape like species to perform manual labor.

I am trying to find a short story involving an alien race of 'Intellectuals.' They possess no opposable thumbs or other limbs to control their world.  I think the basis of the story is their discovery of a way to influence another unintelligent species that can manipulate objects.  This leads to a new start for them.  They may have been at risk of breeding beyond available resources.  The story ends with explorers returning from sea. They may have discovered a new land into which they can expand. The last few scenes have a darker flavor where one character has been presented with a rock that glows in the dark. He considers it for a period before being called away to greet the explorers. The author then takes over and makes some comments about most species passing one crossroads only to meet another.  The story could have been written at any time from the Golden Age though to the 1970's.


I want to print out the capacity of my dynamic arrays, but no matter how I change it, it keeps saying that the capacity of both the arrays are 2.  The code (tmp.c)  #include <stdio.h> #include <stdlib.h>  int main(){    int *ptr1 = (int *)malloc(sizeof(int) * 3);   int capacity_ptr1 = sizeof(ptr1)/sizeof(int);   printf("capacity of ptr1 is: %d\n", capacity_ptr1 );    int *ptr2 = (int *)realloc(ptr1, sizeof(int) * 5);   printf("capacity of ptr2 is: %ld\n", sizeof(ptr2)/sizeof(int) );      return 0; }   What I execute in terminal  gcc -std=c99 tmp.c -o tmp ./tmp   The output in terminal  capacity of ptr1 is: 2 capacity of ptr2 is: 2   I get this output no matter what capacity parameter I enter for malloc() and realloc()

First off, here is some code:  int main()  {     int days[] = {1,2,3,4,5};     int *ptr = days;     printf("%u\n", sizeof(days));     printf("%u\n", sizeof(ptr));      return 0; }   Is there a way to find out the size of the array that ptr is pointing to (instead of just giving its size, which is four bytes on a 32-bit system)?


I am having some trouble getting break to work in a while-loop. I have created a function main() which contains three input() regarding global scopes, these three comes directly after each other. I want the program to end immediately if you enter an incorrect value into one of these ìnput() and tried to accomplish that with breakwithout success. So the question is why can't I use break in my while-loop? Allowed values in my global scopes: Scenario 1 or 2 games should be greater than zero board_size 3, 5 or 7 def main():          while True:             board_size = int(input("How big playing surface (3/5/7)? "))                  if board_size != 3 or board_size != 5 or board_size != 7:             break              while True:         games = int(input("How many games do you want to simulate? "))          if games <1:             break      while True:         scenario = int(input('What scenario (1/2)? '))          if scenario != 1 or scenario != 2:             break      print_stats(games, scenario, board_size)

I am aware of the die() command in PHP which exits a script early.  How can I do this in Python?


I am following   but at step no 5. i don't know how to do it  5 - Install Catalyst driver, type the following commands on terminal:  cd ~/Downloads  chmod +x amd-catalyst-13.4-linux-x86.x86_64.run sudo sh amd-catalyst-13.4-linux-x86.x86_64.run   this file in the downloads spot how can i use this command to install it  because i can't run it as execute as program

My PC has both Ubuntu and Windows 7 installed. I have installed all my drivers in Windows like Nvidia graphics, motherboard etc. Shall I install them in Ubuntu too?  I looked on the web for my Nvidia drivers and I have found a .run file. How could I install it on my Ubuntu?


i have Ubuntu 12.04 x64 ISO, i load it on a Fat32 USB. My notebook has a hdd with GPT where i installed Official Win 8 Pro x64 (final versión), I partitioned the whole hdd, previously of win 8 install, and bios is set with UEFI boot. My BIOS notebook doesn't support SECURE UEFI BOOT.  So I boot the notebook from USB and the Grub runs OK showing whether to run Ubuntu live or to install, but neither one neither two works, when I choose then the screen shows black and nothing happen, it doesn't start/loads the install program.  I've try whether to prepare the usb with unetbootin, or just direct copy/paste the files onto the USB. I also have try WUBI, but neither with success, it launch an error when ending.

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?


I would like to know if there is any difference between the captioned two methods?  string str = "14.75"; Console.WriteLine(Decimal.Parse(str)); Console.WriteLine(Convert.ToDecimal(str));   Can anyone please let me know? Thanks.

What is the main difference between int.Parse() and Convert.ToInt32()? Which one is to be preferred


I am a total newbie to Ubuntu and just installed it yesterday, so please explain it, so someone who almost never used Linux can understand.  I would like to not have to open a separate Terminal to open stuff like Teamspeak and FileZilla and have to keep it open.  To open FileZilla I just have to run filezilla in Terminal. For Teamspeak I have to navigate into that folder and run ./ts3client_runscript.sh and then have to keep it open. How can I make desktop shortcuts for each the single command with Filezilla and the SH file for Teamspeak and make it, so I won't have a thousand terminals open the whole time?  And before anyone asks: I have the default desktop environment of the current Ubuntu LTS version. No idea how it's called. Would be great to know. Google just tells me three different ones.

In older versions it was easy to create a launcher on my desktop. All I had to do is right click on my desktop and select the "create launcher" option.  How can I create such launchers now?


When it comes to coding I'm too Mr.bean so please understand.  Why did deleting this "is" make so much of an different result? My brain is yet too human to figure this out.  So here goes the code with the "is"...  numbers = [5,2,5,2,2]    for number in numbers:      if 5 is number:        print("xxxxx")      if 2 is number:        print('xx')   As you can see the goal is to make an F with "x"s, which works fine with the code above.  However when I get rid of the {is number} part in line 3,I get the result in the pic.  Why? Please end this pain...

My  has failed me.  In Python, are the following two tests for equality equivalent?  n = 5 # Test one. if n == 5:     print 'Yay!'  # Test two. if n is 5:     print 'Yay!'   Does this hold true for objects where you would be comparing instances (a list say)?  Okay, so this kind of answers my question:  L = [] L.append(1) if L == [1]:     print 'Yay!' # Holds true, but...  if L is [1]:     print 'Yay!' # Doesn't.   So == tests value where is tests to see if they are the same object?


I just got a 2019 MBP 16" Model with 2.3 GHz i9 (turbo to 4.8GHz). When running simulations in MATLAB I have noticed the fans to spin quite loudly, and the CPU temp is rising very high. I have seen the temp peak 100C when plugged in, and around a max of 95C on battery power. My question is whether this is typical behavior for this computer/CPU or whether I am at risk of damaging my components. (Note: I am using this completely out of the box - have made no modifications, overclocking etc.. The temperatures I am seeing are just higher than I have seen previously for CPUs and I was shocked to be honest)

I recently purchased a MacBook Pro 2020 13" (1.4 GHz, 8GB Ram, i5). For some reason, when I open Chrome and watch Twitch my computers fans turn on and go crazy. After opening Activity Monitor, I noticed that Google Chrome Helper (Renderer) uses around 50-80% of my CPU. Also, sometimes when I run code on my MacBook Pro, the fans turn on when the program is compiling/running but slow down a few minutes after terminating the program. Also, when watching Twice on Safari, the fans don't come on. However, around 50-60% of the CPU is still being used. Should I be concerned about the CPU usage (I am nervous because I only recently purchased the laptop)?


@heynnema I have created a 127GB Swap partition instead of Filesystem partition while installing Ubuntu. How can I transfer the Swap partition space to the filesystem?

I was reading the new changes with Ubuntu 17.04 and one caught my eye which was moving from the typical swap partition model to a new swap file model for new installs.   Are there benefits for using this as opposed to a swap partition, maybe related to or in terms of performance, space saving, more in line with today's hardware like SSD and NVMe or something else?  Another related question is how can I migrate from a swap partition to a swap file? I'm guessing using dd but want to confirm since I did not know about the swap file scheme until now.  And lastly, will hibernation be an issue with swap files?  Of course these questions might be related to cases where the user has a lot of RAM and the swap is rarely used (I'm guessing). So just to confirm that this information will help me and others with the same doubts.


I need to prove if   for $f(x) = o(h(x))$ and $g(x) = o(q(x))$  then $f(x) + g(x) = o(|h(x)| + |q(x)|)$  I think that this is false but I am struggling to find a counter example.

Why sum of two little "o" notation is equal little "o" notation from sum?  $o( f(n) ) + o( g(n) ) = o( f(n) + g(n) ) ?$  For example:   $f(n) = n^3$  $g(n) = 1/n$   so    $o(f(n)) = n^2$  $o(g(n)) = 1/n^2$   and    $o( f(n) ) + o( g(n) ) = n^2 + 1/n^2$ $o( f(n) + g(n) ) = n^2$   Of course, I could write it like   $o( f(n) ) + o( g(n) ) = n^2 + o( g(n) )$ $o( f(n) + g(n) ) = n^2 + o( g(n) )$   My question is why? I don't understand it, because in first we always get two parameters.


I am going through the heads first js book and encountered a problem.  On the Console it comes out as 7 still when it should be 8? This is in the book so I'm guessing I'm just missing something basic here.    var age = 7;  function addOne(x) {   x = x + 1; }  addOne(age); console.log(age);

The primitive types (number, string, etc.) are passed by value, but objects are unknown, because they can be both passed-by-value (in case we consider that a variable holding an object is in fact a reference to the object) and passed-by-reference (when we consider that the variable to the object holds the object itself).  Although it doesn't really matter at the end, I want to know what is the correct way to present the arguments passing conventions. Is there an excerpt from JavaScript specification, which defines what should be the semantics regarding this?


Good afternoon, today I downloaded/installed the most recent updates for Ubuntu 16.04  on my laptop (Lenovo B50-50), as I do regularly every day. I was asked to  reboot the laptop. After the reboot I am not able to connect anymore.  Network manager does not detect any wifi connection and also the cable  connection does not work. network-manager is there and it is running.  I restarted network-manager but nothing changes. Is there anyone who faced  the same problem? Thanks

The latest kernel is causing problems with my sound, which worked fine with an older version. As I have only Ubuntu installed, Grub is not getting displayed while booting. How can I manually choose my kernel version while booting?


Based from:  But I need my output to be in hours. Been trying for some time to make this one line output to hours: find . -maxdepth 1 -exec ffprobe -v quiet -of csv=p=0 -show_entries format=duration {} \; | paste -sd+ -| bc  Any help? Hope it's not a duplicate because all the answer there only output in seconds which is bad and I don't have hope anyone will add to that question anymore

I have a list of .ts files:   out1.ts ... out749.ts   out8159.ts  out8818.ts   How can I get the total duration (running time) of all these files?


How can I determine for which values $\alpha, \ \beta \in \mathbb R $ does the series $\sum_{n=2}^{\infty} \frac{1}{n^\alpha ln^{\beta}(n)}$ converges?   I want to use the integral test to show it, so I proved that $f(x)=\frac{1}{x^\alpha ln^{\beta}(x)} \geq 0$ and that $f(x)$ is monotonically decreasing. but How do I continue from here? I assume that are a lot of cases but is there an easy way to see it directly?

I'm trying to find out for which values of $\alpha$ and $\beta$ the integral $\int\limits_2^{\infty}\frac{dx}{x^{\alpha}\ln^{\beta}x}$ does converge. I know that when $\alpha=1$ then $\beta$ must be greater than $1$. I tried to use integration by  parts but It didn't work, so I would appreciate some hints. Thanks in advance.


I remember years ago reading part of a book that was reminiscent of  but I can't remember the name or too much about it.    Some facts that stick out were the invading aliens were described as being like walruses, New Orleans and other major cities had been hit by asteroids and its mentioned that Japan surrendered immediately to the invaders while America still has military resistance in the Rocky Mountains.  I think it was a Baen published book.

Human/Alien Alliance consists of many species including one that seemed to use physical movements(ear position and posture) to partially communicate, they seemed to be a very Spartan like society and had trouble understanding human emotion and sarcasm. Another were a historian or librarian type of species that had a caste system. I believe there were other species as well, including one that had incredible linguistic adaptability to understand other races languages. The antagonist or hostile alien race were compared to tall multi legged giraffe looking beings that themselves were fractured/divided into several different "fleets" or groups all with the purpose of achieving some sort of perfect symphony or song. They had some sort of telepathic or sound based communication system.  They had been systematically wiping out all other races and civilizations throughout the galaxy for quite some time and had at least one slave race that had been either genetically or trained over time to rely on their masters "song". Any distraction or disruption of the song/harmony weakens their capacity to communicate with other ships and their tactical advantages.   The hostile race had apparently been beaten back at a battle near or on earth , after the struggling alliance had found the humans. The victory giving the alliance time to search for allies. It seemed obvious this was a later, potentially not even the second book in the series.   The start of the book began with a fleet made of up alien and newer human made ships manned by both but led by an overall human female mission director. Their mission was to search different parts or arms of the galaxy for other alien races that might have survived the hostile race's holocaust.   In the first battle of the book, the alliance fleet finds some enemy ships positioned over a planet that had for quite some time been wiped out but now colonized by the hostile race. The Enemy commanders were  a mated pair that both had some time of musical names like  7th octave or something similar. The alliance used some sort of heavily armed ship to ram into and board the enemy flagship.After the male enemy leader was killed, the Female lost control after losing her mate and the disruption to the local harmony/symphony and attacked the boarders with blades of some sort but was killed.   After having defeated the hostile aliens fleets, they investigate the ruins of the planet's extinct species and find a very horrid and chilling scene where there are frozen/petrified members including children of the wiped out natives floating on the surface of the planets moon or possibly the planet itself having lost its atmosphere.  The alliance had been able to capture many members of the slave race the antagonist race used on their ships. And it was incredibly difficult to begin communicating with them. They appeared to be a reptilian/snake like species that now without their masters constant presence were panicking or entered a sorta of catatonic state. They gathered together in their holding cells in writhing moving mass of limbs and bodies trying to seek comfort and having been captured.  A significant technology of the book was using some sort of plasma shielding to warp/jump in to systems and hiding in their local suns to mask positions and movement.   The Protagonist is the Female Director of the mission, though there seemed to oft be multiple view points. Her position as leader of the operation is rare and new and she seemed very aware and partially self conscious of that fact. Humanity was relatively a new member and so still needed to prove itself. A significant decision she needed to make at the start of the book was whether to return their fleet back to Earth or continue jumping/warping farther in the chance of finding more allies.  -The book was found in 2017, at a public library.  -It is not the Damned Trilogy


My friend is starting a blog, and the name she is planning to use for it is based in this structure:  "Becky" the "Foodie".  Should "the" in the name/title be capitalised? Becky The Foodie? Or Becky the Foodie?  Thanks so much!

Are there any concrete rules that say which words (parts of speech) in a title should start with a capital letter? What would be a correct capitalization for the title of this question?


I am trying to make a page title header, in the middle of my webpage below my navigation bar, then I am trying to make the header border wrap close around the text of the header, so that there is not a lot of padding on the left and the right. I am able to center the header, I am able to change the font, decoration, etc. of the header, but I cannot figure out why the width of the header cannot be manipulated without the header itself changing its position. I have tried changing CSS code both in the parent div and the header child, but to no avail, nothing I try seems to work. I have checked the console to see if some of the code I wrote didn't affect my elements, but the console showed that the code was affecting them. Please show me where I'm making the mistake...   .title {   position: relative; }  .title h1 {   display: flex;   justify-content: center;   position: static;   font-family: 'Prompt', sans-serif;   font-size: 40px;   color: white;   background-color: black;   border: 3px solid yellow;   border-radius: 10px; }

LOCATIONS

    This is the code which centers the header, without messing up the position of the header on my page.

I have a layout similar to:  <div>     <table>     </table> </div>   I would like for the div to only expand to as wide as my table becomes.


This is on Ubuntu 15.10  I'm trying to get a better understanding of visudo and how it works. The documentation explains that visudo will consult the VISUAL environment variable and compare it against a fixed list of editors. Where can I find this list and what does it consist of?  The man page mentions a list somewhere, but I can't tell if it's a compile-time configuration option or the contents of some file somewhere.  There is a hard-coded list of one or more editors that visudo will use set at compile-time that may  be overridden via the editor sudoers Default variable.  This list defaults to /usr/bin/editor.  Normally, visudo does not honor the VISUAL or EDITOR environment variables unless they contain an  editor in the aforementioned editors list.  However, if visudo is configured with the  --with-env-editor option or the env_editor Default variable is set in sudoers, visudo will use any  the editor defines by VISUAL or EDITOR.  Note that this can be a security hole since it allows the  user to execute any program they wish simply by setting VISUAL or EDITOR.   This is all fine, except that /usr/bin/vi seems not to be on this list although vi is.  $ sudo env VISUAL=/usr/bin/vi visudo   launches nano, the executable invoked by /usr/bin/editor through a series of symlinks.  $ sudo env VISUAL=vi visudo   launches vi and works fine.  This is confusing to me. The entire justification for having a fixed list of editors is to prevent an arbitrary command from being executed just by changing an environment variable. If visudo consults the PATH to determine where to find vi then I can effectively execute any command I want by changing the path and naming my executable vi.  So, why does visudo have a fixed list of editors that it will honor? Are there any security benefits to doing that? Assuming there is some advantage, why wouldn't the whitelist use absolute paths instead of names of commands?

Fedora 14 uses vi by default when one runs visudo. Is there a way to change this to something else?


I am using Ubuntu 16.04lts, I am trying to get rid of a couple of folders.  I have tried what I thought to be the correct method, but they seem to fail.  $ ls -la total 32 drwxrwxr-x 6 rod rod 4096 Aug 20 21:24 . drwxrwxr-x 3 rod rod 4096 Aug 19 15:32 .. drwxrwxr-x 3 rod rod 4096 Aug 20 21:24 BurnWorld.Com -rw-rw-r-- 1 rod rod  423 Aug 20 18:48 ClickCharts Diagram Flowchart Software.desktop -rw-rw-r-- 1 rod rod  395 Aug 21 12:16 DreamPlan Home Design Software.desktop drwxrwxr-x 2 rod rod 4096 Aug 20 18:48 Graphics Related Programs drwxrwxr-x 2 rod rod 4096 Aug 20 18:48 NCH Software Suite drwxrwxr-x 2 rod rod 4096 Aug 19 15:32 Pretty Good Solitaire $ cd /Pretty Good Solitaire bash: cd: /Pretty: No such file or directory $ cd /Pretty_Good_Solitaire bash: cd: /Pretty_Good_Solitaire: No such file or directory $ cd Pretty_Good_Solitaire bash: cd: Pretty_Good_Solitaire: No such file or directory   I am trying to install wine for goodsol and everything fails so I thought I'd get rid of all traces of it, and also Wine which is needed to run it.  Then start afresh and try again.  As you see, it will not go away.

I want to enter the following folder in the terminal:  Milano, Torino (Jan)-Compressed   How should I write the command cd to enter this directory?  Spaces and several other special characters like \, *, ), ( and ? cause problems when I try to use them in the command line or scripts, e.g.:    $ cd space dir bash: cd: space: No such file or directory  $ cat space file cat: space: No such file or directory cat: file: No such file or directory  $ cat ( bash: syntax error near unexpected token `newline'  $ echo content >\ > ^C  $ ls ? (  )  *  ?  \   How do I enter file or directory names that contain special characters in the terminal in general?


The part of my MWE preamble  ....  \usepackage{fancyhdr} \pagestyle{fancy} \fancyheadoffset[LE,RO]{\marginparsep+\marginparwidth} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \renewcommand{\sectionmark}[1]{\markright{ #1}} \fancyhf{} \fancyhead[RO]{\textbf{\nouppercase{Kısım \thesection{}}\quad\textcolor{orange}{$\blacksquare$}\quad}\textit{\rightmark}\quad\quad\textcolor{blue}{\textbf\thepage}}% \fancyhead[LE]{\textcolor{blue}{\textbf\thepage}\textbf{\quad\quad\nouppercase{Bölüm{ }\thechapter\quad\textcolor{orange}{$\blacksquare$}\quad}}\textit{\leftmark}}% \fancypagestyle{plain}{% \fancyhead{} % get rid of headers \renewcommand{\headrulewidth}{0pt} % and the line } .... \renewcommand{\contentsname}{\textit{İçindekiler}} ....   No uppercase, no problem in Chapter names   but uppercase problem in headers   It doesn't İÇINDEKILER. It does İÇİNDEKİLER. As if, this problem seems like only i .  I find another same question. Does anyone know how to fix it?  Note: İ is uppercase of i and ı is lowercase of I in my language (Turkish).

I can't make uppercase of turkish characters like Giriş Tex converts it to GIRIş instead of GİRİŞ.. It's making me crazy.  %this is mwe i guess \documentclass[12pt,a4paper]{article}  \usepackage[utf8]{inputenc} \usepackage{titlesec}  \usepackage[T1]{fontenc} \usepackage[turkish]{babel} \usepackage{pslatex} \begin{document} \uppercase{Giriş} \end{document}


I apologise, since this question does already exist. But I cannot for the life of me understand how it is solved. Could anyone provide me with a simplified version of the solution?

I am asked to solve $$u_x+u_y=1$$ If is was homogeneous i.e., $u_x+u_y$ the answer would be $u(x,y)=f(y-x)$ where $f$ is an arbitrary function. I have found the following set of solutions: $$u(x,y)=\lambda x +(1-\lambda)y$$ where $\lambda$ is an arbitrary constant(real or imaginary). I just have no idea what method other then trial and error would have lead me here. Any ideas? Thanks!


Hey Guys I have a Lenovo laptop which came pre installed with a copy of windows 10 Home. For some reasons I need to install Linux in my system, so my doubt is will the windows will be activated if in the future I reinstall the windows? I don't want use dual boot.

I've been using Windows 10 for a couple of month now (joined the Insider Preview).  Now my hard drive started ticking so I've bought a new SSD and I want to move the windows installation to the new hard drive, which has been connected to the computer (unpartitioned). I don't mind and I even prefer reinstalling it over again.   Since I have the free version of Windows 10 pro, can I still reinstall it anew? Does the windows 10 installation offer disk management and partition like the older Windows installations used to? How should I reinstall Winodws 10 x64 the easiest but still remain on free mode?


I'd like to create a table as below.     How can I do it with latex?

I have a table and I would like to know how can  I write specific text outside the table, all around the table.  A simple example is this:  Above the table: a b c  RHS of the table: d e f  LHS of the table: g h i  Below the table: j k l  In a way that those letters are  aligned to the rows and columns respectively.  \begin{document}  \begin{table}[H]     \centering     \begin{tabular}{|c|c|c|} \hline         a & b & c \\         \hline         d & e & f \\         \hline         h & i & j \\         \hline     \end{tabular}  \end{table}  \end{document}   Could someone tell me how can I do this?  Thanks in advance


I have uninstalled python3 via:  apt-get remove python   I lost the dashboard and terminal. Even the desktop is blank. Also the top bar which shows time and other setting options are gone. Basically I can see my desktop wallpaper when I open my laptop.   Whenever I open my laptop it shows following before showing the login. However, I can access the Ubuntu advanced options. I need to restore my data because it has my college projects.

I am a new Ubuntu user running Ubuntu 13.04.  I've been trying to install and use a DeDRM tool, but I've been having problems doing so. I was following some directions that said I needed a version of Python 2.7, but not anything Python 3.0 or later (because 3.0 versions are missing some necessary libraries?). I tried to install Python 2.7.5.6, but it didn't work. I thought it was probably because I had the later version of Python, so I went through terminal and removed Python 3.3, so I could install the earlier version of Python.  Now that I've uninstalled Python 3.3, a lot of applications no longer work, including the terminal and the Ubuntu Software Center. I have no idea how to fix this problem now.


I've got a bit more background in machine learning than statistics. Let's say that I want to analyze causal effects based on propensity scores of the treatment and control group. I know that most often the propensity scores are determined using logistic regression. Can I use another algorithm to better handle this estimation for data I know are not linear, like random forests, boosting or neural nets ?   If I do use a different classifier, how can I measure if they're doing better than logistic regression ? Measuring accuracy doesn't really work.

In my study, running a simple linear model to calculate de propensity score for each example seemed to not be able to model my treatment choosing process correctly. My question is, does it make sense to use a "stronger" model (svm, nn, you name it) to try and obtain a more precise propensity score?  Thank you in advance!


Solve $x^2-5x+6\equiv 0 \pmod{18}$.  Here is what I did: I rewrote the equation into $(x-2)(x-3) \equiv 0\pmod{18}$ And I know if (mod p is a prime number) $x \equiv 2\pmod{18}$, $x \equiv 3\pmod{18}$ However, it is not in this case, how do I find other solutions within the range of $1$ to $17$. ($11$ and $12$)?

Solve $x^2+5x+6 \equiv 187 \mod 187$ Solution $$x^2+5x+6 \equiv 187 \mod 187$$ $$ (x+\frac{5}{2})^2 \equiv \frac{1}{4}$$ $$ 4(x+\frac{5}{2})^2 \equiv 1$$ $$ y:= x+\frac{5}{2} $$ $$ 4y^2 \equiv 1 \mod 11 \wedge 4y^2 \equiv 1 \mod 17  $$ $$ ( 2y \equiv 1 \mod 11 \vee 2y \equiv 10 \mod 11 ) \wedge ( 2y \equiv 1 \mod 17  \vee 2y \equiv 13 \mod 17)  $$ $$ ( y \equiv 6 \mod 11 \vee y \equiv 5 \mod 11 ) \wedge ( y \equiv 9 \mod 17  \vee y \equiv 15 \mod 17)  $$ Combining that from CRT I got: $$ y \in \left\{49, 60,83,94 \right\} $$ and for example: $$ x+\frac{5}{2}  \equiv 94 \mod 187$$ $$ 2x  \equiv 183 \mod 187$$ some calculus and get... $$x \equiv 185 $$ And the same thing for each other case. Question Is there any faster (or smarter) way to solve equations like that?


On bash in windows 10 , I can navigate to the desired file and for now I can edit them with vi, but for ease of use I want to edit them with text editor like gedit or sublime text. But I can't do that e.g if I try to open a file with gedit it says "Gtk-WARNING **: cannot open display:"

I have just installed bash in windows 10 insider preview. But gedit is not working. I also use software R for my statistical work, its lot of options like 'plot' also not working. Is it the fact that no program like gedit can be opened through bash I mean wont that support any GUI ?


How do you prove that for all real $m$, $$\int_0^\frac{\pi}{2}\frac{\sin^mx}{\sin^mx+\cos^mx}\mathrm dx=\frac{\pi}{4}$$  I've let $y=\frac{\pi}{2}-x$ and got  $$\int_0^\frac{\pi}{2}\frac{\sin^mx}{\sin^mx+\cos^mx}\mathrm dx= \int_\frac{\pi}{2}^0\frac{\cos^my}{\cos^my+\sin^my}\mathrm dy = \int_\frac{\pi}{2}^0\frac{\cos^mx}{\cos^mx+\sin^mx}\mathrm dx $$  This is as far as I got. I know you're supposed to add the 2 results together, but the limits of integrations aren't the same. Adding both together I get,  $$\int_0^\frac{\pi}{2}\frac{\sin^mx-\cos^mx}{\sin^mx+\cos^mx}\mathrm dx$$ which doesn't simplify at all.  Thanks for all the help in advance.

Possible Duplicate:          How can we integrate $$\int_0^\frac{\pi}2\frac{\sin^nx}{\sin^nx+\cos^nx}\,\mathrm dx , \,\,\,\,\,\,\,\,\, n\in N \quad?$$ Thanks for any hint.


I am running Ubuntu 14.04 LTS, 64-bit. I know there are a lot of topics on ".tar.gz" but it didn't answer my questions and/or I didn't undetstand the answers.   I am trying to install from a .tar.gz file and I am having difficulties. The file is from  I download it to my home directory and extract it to mentioned directory, there are 3 files in the folder and I don't know what to do with these (usually there is a readme file). Double-clicking them doesn't do anything.   What to do? I would to prefer to solve this within the GUI and avoid the terminal, if possible.  As requested by Xen2050; these is the content of the .tar file:   @fz-System-Product-Name:~/Popcorn-Time-linux64$ ls -la total 103176  drwxrwxr-x  2 fz fz     4096 jan 22 12:15 . drwxr-xr-x 33 fz fz     4096 jan 22 12:42 .. -rwxrwxrwx  1 fz fz  2395800 apr 28  2014 libffmpegsumo.so -rwxrwxrwx  1 fz fz  4031601 apr 28  2014 nw.pak -rwxrwxrwx  1 fz fz 99207331 apr 28  2014 Popcorn-Time

How can I install  beta ?   I see on their website that they only offer a 64-bit installation files, but the sources are open.   I can't use the usual ./configure && make. So, what can I do ?


There seems to be a visual bug with tags in the Experience section of StackOverflow Careers.  Tested on Chrome and Safari and both appear bugged.  Tags appear fine in all other sections of the Careers page and other sites (SO, Meta SO, etc).

Here's a screenshot of the error shown for the list layout alignment issue. I don't know what it is called, so I did my best.  I'm using Google Chrome version 38.0.2125.104 m, telling me that I'm up-to-date.   If it's a browser issue, then I can't update it, as I don't have admin rights and had to go report this issue to the admin.


I see to upgrade Ubuntu to a new release version that I have to do do-release-upgrade which checks for the new version and allows me to upgrade. But would it not be better to do sudo do-release-upgrade? Would there be any difference in the outcome if you ran it with sudo rather than without, and would this outcome, if at all different, be any better?

I was wondering why the command do-release-upgrade doesn't require sudo? I mean, it does significantly change your system, so I would have guessed it requires sudo.   is from ubuntu self, but it isn't that helpful. I just want to know how this is secure for the integrity for my system, if every user can access this command.   Thanks in advance.  [EDIT]:  I used a new terminal window, thus no sudo that wasn't expired yet, and I used the command do-release-upgrade NOT sudo do-release-upgrade.So even with unexpired sudo I should be unable to upgrade.  [EDIT 2]:


What is the best free software for OS X Mountain Lion for enabling write support for FAT32 and NTFS?

What is the best, easiest, preferably cheapest way to make OS X write to NTFS-formatted drives in Mac OS X?


For example, take K1, from the Kryptos sculpture, which has been long solved. It's text is as follows:  EMUFPHZLRFAXYUSDJKZLDKRNSHGNFIVJ
YQTQUXQBQVYUVLLTREVJYQTMKYRDMFD  Now, I already know they keywords used (because the solutions are online) and they are PALIMPSEST and KRYPTOS. However, I do not understand how you would go about finding these keywords if you do not already know them.   Any help would be appreciated!

What would be a good way to go about attacking a Quagmire 3 cipher?  I understand that it is polyalphabetic with a key and an indicator. I have started by taking the cipher text, taking every n-th letter and putting that in a string, computing the index of coincidence for the n strings I get and then averaging that. I would assume that whatever n value corresponds with the closest average index of coincident to English (0.066) would be the number of alphabets, i.e. the length of the indicator.  Where do I go from there? Or is my approach incorrect?


I have an xml file that I store various different enum names, I now need to be able to read that enum name out of the file and convert it to a list of that values just based on the string form of the enum name. is there any way to do this?I dont have the enum type and that is my problem with this.

What's the best way to convert a string to an enumeration value in C#? I have an HTML select tag containing the values of an enumeration. When the page is posted, I want to pick up the value (which will be in the form of a string) and convert it to the corresponding enumeration value. In an ideal world, I could do something like this: StatusEnum MyStatus = StatusEnum.Parse("Active");  but that isn't a valid code.


I read it sometime around 2010, it involved a young man, possibly a teenager that fought using a spear, and at some point the modern world was taken over by demons, and the nations of the world negotiated with the demons to survive. He fought as a gladiator in an arena filled with demons. It was part of a series, and for some reason I keep thinking of the spear of Cucuhlainn.

I think this was more of a fantasy series, though it was more subtle than The Lord of the Rings IIRC. Set in modern times - though there was some alternate realm thing that was less modern I think.   I read it about ten years ago, I think, and there were a number of books at that time. My brother and I stopped reading it shortly after the main character summoned a small demon somehow who was a bad influence... I think.  It involved a boy who somehow was at some kind of training school/academy. Unsure where it was located, but it needed a classic portal to get to it I think. I clearly remember some scene involving a car driving at specific speeds to get past some barriers. There may have been something about how the school was (slowly) moving or the wards were shrinking... unsure. I don't think it was only magic based, but that was some element of it. The boy had some kind of strange power that made him an incredible fighter, but he wasn't sure how (at least from what I remember). The recordings of him training just showed a white flash I think. I remember some scene in an elevator going down to the training floor where he went to a level below some adult with him.  There was something else about him joining a group that had twelve members, one for each month, whose powers grew and lessened based on how close the date was to "their" month.  Oh, and there was something about him looking for his mother I think? Perhaps in another "realm"?   Any help is appreciated!


I have been working on this for over 6 months and I have yet to find a resolution. OS: mcooper@ohLentLT:~$ cat /etc/lsb-release  DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"  Laptop is: Lenovo IdeaPAd L340 At the prompt I ran: sudo lshw -C network *-network UNCLAIMED               description: Network controller        product: RTL8821CE 802.11ac PCIe Wireless Network Adapter        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:01:00.0        version: 00        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress cap_list        configuration: latency=0        resources: ioport:3000(size=256) memory:d0700000-d070ffff  It's sad I know but I am not sure where to go from here: believe me when I say I am researching this all the time. I appreciate any help I cna get with this. Thanks Again. Michael

We just bought a Lenovo  (which is supposed to have the Intel 8265 for wireless). This laptop was bought in part because it is certified to run Ubuntu and as such to me at least it would make sense for things to work out of the box... but no such luck.  First, I installed Ubuntu 17.10 and after installation realised Wi-Fi was not working. I also tried Ubuntu 16.04 from a USB drive since that is the version of Ubuntu it is certified for, but no luck there either.  The wireless chip is not detected by lshw (or even lspci by the looks of it), ip link does not show a wireless interface, and the iwlwifi kernel module is not loaded at boot (I can load this myself using modprobe iwlwifi but this does not make Wi-Fi work). I think it is a combined Wi-Fi/Bluetooth chip, and Bluetooth does appear to work (or at least Bluetooth shows up in Gnome and rfkill list).  modinfo iwlwifi | grep 8265 shows me a file ending in -34 is supposedly loaded but only a file ending in -33 (and some other lower numbers) is present in /lib/firmware, if that helps).  I have also installed the Linux 4.14.9 kernel in an attempt to get things to work, but this did not resolve the issue either.  Further information  root@ThinkPad-E570:~# modinfo iwlwifi | grep 8265 firmware:       iwlwifi-8265-34.ucode root@ThinkPad-E570:~# rfkill list all 0: tpacpi_bluetooth_sw: Bluetooth     Soft blocked: no     Hard blocked: no 1: hci0: Bluetooth     Soft blocked: no     Hard blocked: no root@ThinkPad-E570:~# dmesg | grep iwl root@ThinkPad-E570:~# lspci -nnk | grep 0280 -A3 05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:c821]     Subsystem: Lenovo Device [17aa:c024]   Update  I just noticed that the laptop does not have an Intel wireless chip at all, but in fact has a Realtek one... which means that the  of the shop I bought this laptop at were not accurate... Sigh. Same problem stands, however, just with a crappier wireless chip.


Here. Look at this:   This is the non-altered advertisement for an A51 proposal. Reproducible by clicking on the picture link and clicking Share This (or Follow if you haven't followed this proposal). Why is the image cropped?

Now that , we need the Area 51 ads to be updated to the new size.   (source: )    Some appear to have the new size, but are not displaying correctly:   (source: )


using System.Collections; using System.Collections.Generic; using UnityEngine;  public class DetectCollision : MonoBehaviour {     public Transform player;     public Transform target;     public bool turnOnOffPlayerAnimator = false;      float timeElapsed = 0;     float lerpDuration = 3;     float startValue = 1;     float endValue = 0;     float valueToLerp = 0;      private Animator playerAnimator;     private bool entered = false;     private bool prevFacing = false;     private Rigidbody rigidbody;     private bool stopped = false;      // Start is called before the first frame update     void Start()     {         rigidbody = player.GetComponent<Rigidbody>();          playerAnimator = player.GetComponent<Animator>();          if (turnOnOffPlayerAnimator)             playerAnimator.enabled = false;     }      // Update is called once per frame     void Update()     {         var currFacing = IsFacing(target);         if (currFacing != prevFacing)         {             // here you switched from facing to not facing or vise verca.             timeElapsed = 0;         }         prevFacing = currFacing;          var distance = Vector3.Distance(player.position, target.position);          if (IsFacing(target))         {             if (entered && distance > 30)             {                 if (timeElapsed < lerpDuration)                 {                     valueToLerp = Mathf.Lerp(startValue, endValue, timeElapsed / lerpDuration);                     playerAnimator.SetFloat("Forward", valueToLerp);                     timeElapsed += Time.deltaTime;                 }                 playerAnimator.SetFloat("Forward", valueToLerp);                  valueToLerp = 0;             }         }         else         {             if (valueToLerp < 0.9f)             {                  if (timeElapsed < lerpDuration)                 {                     valueToLerp = Mathf.Lerp(endValue, startValue, timeElapsed / lerpDuration);                     playerAnimator.SetFloat("Forward", valueToLerp);                     timeElapsed += Time.deltaTime;                 }                 playerAnimator.SetFloat("Forward", valueToLerp);             }              Mathf.Lerp(valueToLerp, 0, Time.deltaTime * 0.0001f);         }          if(turnOnOffPlayerAnimator)         {             playerAnimator.enabled = false;         }         else         {             playerAnimator.enabled = true;         }     }      private void OnTriggerEnter(Collider other)     {         entered = true;          Debug.Log("Entered !");     }      private void OnTriggerExit(Collider other)     {         entered = false;          Debug.Log("Exited !");     }      private bool IsFacing(Transform target)     {         Vector3 forward = player.TransformDirection(Vector3.forward);         Vector3 toTarget = target.position - player.position;         return Vector3.Dot(forward, toTarget) > 0;     } }  I tried first 0.1f but it didn't change the lerp speed. I want that if the player is pressing the W key and moving the player forward and then stop pressing the key W it will smooth slow will lerp to 0. and it does but I also wanted to control the lerp speed. I want that when the player is starting moving backward direction if the player leave the W key the player should stop slowly to 0. This should be the line : Mathf.Lerp(valueToLerp, 0, Time.deltaTime * 0.0001f);  but the Time.deltaTime does not seems to affect the lerp at all. the lerp is working fine I just wanted to control the lerping speed too.

To my understanding, a Lerp function interpolates between two values (a and b) using a third value (t) between 0 and 1. At t = 0, the value a is returned, at t = 1, the value b is returned. At 0.5 the value halfway between a and b is returned.  (The following picture is a smoothstep, usually a cubic interpolation)    I have been browsing the forums and on  I found the following line of code: transform.rotation = Quaternion.Slerp(transform.rotation, _lookRotation, Time.deltaTime);  I thought to myself, "what a fool, he has no idea" but since it had 40+ upvotes I gave it a try and sure enough, it worked!  float t = Time.deltaTime; transform.rotation = Quaternion.Slerp(transform.rotation, toRotation, t); Debug.Log(t);   I got random values between 0.01 and 0.02 for t. Shouldn't the function interpolate accordingly? Why do these values stack? What is it about lerp that I do not understand?


I have a macbook pro 2011 with high sierra  10.13.5  Today i tried renaming my admin account in the system preference / users. I couldn't rename the account, and i have lost the admin rights. Now i can access the account because i know the password.  I have the same problem described here : . I tried the solution described in that page. The problem is after rebooting, the setup screen to add a new account doesn't appear. Instead the mac reboots normally.  MacBook Pro, macOS High Sierra (10.13.5), MacBook Pro (13-inch, Early 2011)

My Father died last year and I inherited his Mac Mini. My wife has retired and we are trying to set up the mini for her use but the changes we want to make require admin access and we do not have the information my father used to set up the machine.  Is it possible to reset the admin information without having the old information? If so, how would I go about it?   I am not a Mac user usually so any guidance will have to be pretty simple!


I have already tried shutdown and restart but it resets download to 0%. i am specific about hibernating my laptop. P.S. I have tried the answer of Bxxt from question by jack wilshere but it did not work.

I'm downloading GTA V. After 20gb / 100gb I paused my download for restarting my pc. Then download restarts from 0%.  Why this could happen? Can I restart my PC during downloads without losing progress?


Reading the earlier posts, I followed the posted replies. Since I am brand new, I opted to use the Ubuntu GUI, from which I entered the Terminal. At the terminal, I entered nano /etc/network/interfaces. at the line AUTO enp4s0 and IFACE enp4s0 INET DHCP, I changed it to read:  auto eth0 iface eth0 inet static address 192.168.1.7 netmask 255.255.255.0 network 192.168.1.0 <---I guessed at this from a earlier post gateway 198.168.1.1 dns 192.168.1.1 <---this too was a guess    **note that the two lines marked as guesses were added because two posts had them, while others did not.   I then  entered CTRL+X to exit. Was prompted if I wanted to save.  Entered Y for yes. Return message was   ERROR WRITING /etc/netwrk/interfaces: Permission denied.   Any assistance to get a static IP assigned would be appreciated.

I can't seem to edit and save config files in the root system (eg: /etc/dhcp/dhcpd.config); it just says "permission denied" or the save option is blocked in the text editor.  I'm pretty sure I'm a root user, but how do I make sure? If I am a root user, how do I fix this?


I am hoping to spend 6 months in Europe. I'm a Canadian citizen.   I'm aware of the 90 day Schengen visa and planning on applying for a D level visa for Italy to spend 90 days there.   My understanding is that this will mean I can spend 90 days in Schengen then enter Italy to activate this 90 day visa, would this be correct?  If yes, do those 90 days spent in Italy count as time not spent in Schengen therefore allowing me to go back to Spain, France etc or do I need to be out 90 days after my visa expires?  What if I do 60 days in Schengen, 30 days out, enter Italy and spend 90 days there, do I still have 30 days left to spend in Schengen?  Thanks!

I have requested for a French long term (Type D) student visa from a consulate in India. It's a national Type D visa and not a Schengen visa. My question is that can we still go to other Schengen countries on this visa? If not then can we get a Schengen visa from a consulate in France?


1) I have an existing HDD in my computer that dual boots linux and windows using the traditional bios way.  2) I then took out the existing HDD and swap in a new HDD to install linux on it with uefi. It boots and reboots fine.  3) I took out the new HDD with uefi linux and put back the old HDD with bios dual boot. Old HDD boots fine.  4) I swap the old HDD with the new HDD that has uefi linux on it and it refuses to boot.  bootloader is grub for both HDD  Any ideas on what could be the problem and how to solve it?  Aside, what I am experiencing is similar to this link:   which says     This is how some UEFI vendor implementations (ex. HP) will no longer recognize the drive as bootable through UEFI if you have made hardware changes, even though it worked prior to the switching, and you switched it back to the original configuration.

I bought a new SSD for my Lenovo Thinkpad W530 (I am not sure if hadware is relevant). I installed 15.04 on the new SSD in EFI-only mode with manual partitioning (/efi, / and /home partitions, bootloader installed to /efi).  So far, so good. I then tried to insert my old drive because I wanted to copy some files on an external drive and then a new ssd drive. To my dismay, it refused to boot. I had to install repair-boot which solved the problem. I then inserted my new SSD and it againd refused to boot. Again, repair-boot solved it. What is going on? Is something written to some circuits on the motherboard in the laptop?


I cannot remove such file, I get error message. file name is      -?]d?j??.?   and I want to remove it. I try rm -?]d?j??.? but it gives error.

I want to enter the following folder in the terminal:  Milano, Torino (Jan)-Compressed   How should I write the command cd to enter this directory?  Spaces and several other special characters like \, *, ), ( and ? cause problems when I try to use them in the command line or scripts, e.g.:    $ cd space dir bash: cd: space: No such file or directory  $ cat space file cat: space: No such file or directory cat: file: No such file or directory  $ cat ( bash: syntax error near unexpected token `newline'  $ echo content >\ > ^C  $ ls ? (  )  *  ?  \   How do I enter file or directory names that contain special characters in the terminal in general?


Just curious why this is always on the list for trouble shooting USB devices.  Is it just because how USB works, some kind of tech myth, or just in case there's an actual hardware fault with the USB port?

I have 4 USB ports on the front of my computer and 6 in the back.  I have about 8 USB devices: external drives, sticks, cell phones, cameras.  It is often the case (40% of the time) that I plug something in (usually the external hard drive or cell phone) and it is not recognized or doesn't work correctly. My solution is to just plug it into another USB port (usually switching back-to-front or front-to-back works). I've found that this solves the problem 100% of the time.  Am I doing something wrong or is there just something "not quite baked" with USB (2.0) technology? It seems that e.g. the external hard drive "tires of its USB port" after while and needs a new one to be recognized again, i.e. there seems to be some kind of caching or ID recording that is going on.  This has happened on the last two computers that I had and still on the new one I just bought. The last two computers have USB 2.0 ports.  Can anyone explain what is going on with USB that would cause this phenomenon and perhaps what I could do so I dont' have to keep unplugging and replugging my USB devices to get them to work?


I have had ubuntu for a while now, but for some reason I am no longer a sudo.  When I open up terminal and type the command   sudo false sudo unknown host HOST   then when I actually look at my hosts file I see DIFFERNTHOST  the problem is I cant change my host because I am not a sudo so I am locked out of my computer and I can't do anything!  Note: I have already tried editing my /etc/hosts file and I cant edit it

When I run sudo the terminal is stuck for a few seconds and then outputs an error message. My terminal looks like this:  ubuntu@(none):~$ sudo true sudo: unable to resolve host (none)   What can I do to solve it?


I have tried to prove it expanding the power series but it seems very complex and not doable. Is there any simple trick to prove this?  Thanks

In order to show $e^{x+y}=e^{x}e^{y}$ by using Exponential Series, I got the following:   $$e^{x}e^{y}=\Big(\sum_{n=0}^{\infty}{x^n \over n!}\Big)\cdot \Big(\sum_{n=0}^{\infty}{y^n \over n!}\Big)=\sum_{n=0}^{\infty}\sum_{k=0}^n{x^ky^n \over {k!n!}}$$  But, where should I go next to get $e^{x+y}=\sum_{n=0}^{\infty}{(x+y)^n \over n!}$.  Thanks in advance.


I have an APA style bibliography in my paper and I have a paper written by the "Académie des Sciences". I expect it to be on the top of the list of references as I'm citing it like this: author = { \relax{Académie des sciences}, },  That is, basically the written output is Académie des sciences but it stays in the next page after letter P and letter R (as if it was indexed with the "s" of sciences). How can I make sure that it stays on the top? That is it gets printed as Académie des sciences but it stays on the top of the bibliography list? Thank you!

I want to list a company name in the author field of a bibliographic entry:  @book{CUDA,   author    = {NVIDIA Corporation},   title     = {NVIDIA CUDA Compute Unified Device Architecture Programming Guide},   publisher = {NVIDIA Corporation},   year      = {2007} }   But the entry keeps showing up "N. Corporation".  Is there a way to get the full author name to show up?  I'm currently using the siam BibTEX style.


In my book,it says "According to laws of electrodynamics and maxwell's equations of electromagnetism,an electron orbiting the nucleus will slowly start radiating energy and would end up crashing spirally to the nucleus.This is the drawback of Rutherford's atomic model."  Then it gives the postulates about Bohr's atomic model where Bohr says that electron revolve around Nucleus in fixed orbits when they have neither released nor absorbed any energy.But doesn't it violate the previously said electrodynamics thing?  I am a newbie to this and not familiar with electrodynamics or maxwell's equations of electromagnetism,but how does bohr's atomic model solve the problem or energy radiation while an electron is revolving?

We, as high school students have been taught that-because Bohr's model of an atom assigns specific orbits for electrons-that it is better than Rutherford's model. But what Rutherford failed to explain was why electrons don't emit EM waves & fall into the nucleus. I don't see how the introduction of 'atomic orbitals' overcame this defect. Can't it still radiate EM waves?


In classical mechanics we have momentum as generator of translation by following definition:  $$f(x+\delta x)=f(x)+[f(x),p]\delta x+....$$  I was wondering whether using this relation and commutation relation between $\hat{x}$ and $\hat{p}$ can we come to a quantum mechanic relation of momentum as generators:  $$\left(1-\frac{i}{\hbar}\hat{p}dx\right)|x\rangle=|x+dx\rangle  $$  I am preferring to use commutation relationships as they are the bridge between quantum mechanics and classical mechanics.

I understand from some studies in mathematics, that the generator of translations is given by the operator $\frac{d}{dx}$.    Similarly, I know from quantum mechanics that the momentum operator is $-i\hbar\frac{d}{dx}$.  Therefore, we can see that the momentum operator is the generator of translations, multiplied by $-i\hbar$.    I however, am interested in whether an argument can be made along the lines of "since $\frac{d}{dx}$ is the generator of translations, then the momentum operator must be proportional to $\frac{d}{dx}$".  If you could outline such an argument, I believe this will help me understand the physical connection between the generator of translations and the momentum operator in quantum mechanics.


I have an AT&T Galaxy S phone, but I can't find install from an unknown source. How can I install apps I receive?

A friend of mine has an HTC Aria on AT&T.  On his application settings screen, he does not have the option to allow installation of apps from unknown sources.  Is there any way to change this option to allow him to install downloaded apps (*.apk files) without rooting the phone?


I upgraded to Ubuntu 16.04 from 15.10 a few weeks ago. After upgrade my Software Updater stopped asking for Administrator Authentication before installing new updates. It just shows that new updates are available and when I click on Update now, it starts updating without asking for password.  How can I set it to previous settings?

Oneiric update manager no longer asks for a password to update already installed software.  This is a change in behavior from previous versions.  Is there a way to revert this behavior and get the Update Manager in Oneiric to ask for a password again?  Thanks!


I wanted to know how the traffic is calculated if I get a backlink from a subdomain page. For example, a website corriere.it has over 20M organic traffic, but roma.corriere.it has 500K

If I have example.com, and blog.example.com, do search engines see those as one site or two? Will using subdomains hurt SEO? I have some technical reasons why I can't use example.com/blog.


All sequences here are sequences of positive reals. If $\sum x_n^2$ diverges, does there always exist a sequence $y_n$ such that $\sum y_n^2$ converges but $\sum x_ny_n$ does not?  My attempt is as follows:  Suppose not. Then choose $x_n$ with $\sum x_n^2$ divergent such that $\sum y_n^2 < \infty \implies \sum s_ny_n < \infty$. Then there exists $K$ such that  $Ky_n^2>x_ny_n$. So $K^2y_n^2>x_n^2$ (??). So $\sum y_n^2$ diverges. Contradiction.  Although I am not overly convinced by this. Is the statement even true?

Not sure how to approach this problem below. I tried assuming the conditional but that doesn't seem to get me anywhere.     If for a sequence of non-negative real numbers $\{a_n\}$, we have $$\sum{a_kb_k}$$ converges whenever $$\sum{b_k^2}$$ converges. then show that $$\sum{a_k^2}$$ converges


I have recently found some sugar daddy’s saying there will help me financially they state that they will give me a weekly allowance if I’m loyal but once I send my PayPal link they say that to authorise my payment I have to buy a 100$ gift card I ask why and they explain and they show me proof of other sugar babies who have bought the gift card and they have received the money  also but I’m not sure whether to do it or not incase I lose Money.

I met a guy on a sugar daddy dating site and we talked, I told him my situation and he said he would help.   He asked for my bank account information and I told him you can use cash app or PayPal to go through. He said his account manager deals with his finances. So I set up an account with a bank that I don’t use so that my primary account isn’t used.  Eventually he was in the process of sending me money and we had agreed on a amount that wasn't crazy. But then he asked for my address and I asked why and he said just wondering. Then said he wanted to send me a surprise for being his baby. Which I didn’t give.  Then later on he sent the money and said he sent me a bonus and that I was supposed to use that to pay his mothers caregiver, which he didn’t mention until after.  I kept questioning him and he was saying that he works in construction and he’s trusting me to carry out the errand. Then he said don’t let him down and I asked him if he was threatening me and he kept saying I need this done but didn’t really answer my question.  Am I being scammed? I’m about to change my password but is this a scam?


I am thinking to write a LARS algorithm that uses different optimizations in each step. Can somebody briefly explain Least angel regression, LARS () to me? then I will try to write my own LARS in R. Or if you have a simple R code (that shows just core of the function and not lots of details) I will appreciate to have a look at that.

Conceptually, I don't understand what least angle regression Least Angle Regression (LARS) is and why it solves LASSO ().  We know that LASSO is:   $$\arg \min_x {\left\| A x - y \right\|}_{2}^{2} + \lambda {\left\| x \right\|}_{1}$$  From my understanding LARS is exactly like line search from CGD, where you take the variable that gives you the most desire result and iterate through.  Can someone give a walk through on how LARS solves LASSO?


For the past few years I have been assigning a C# Property to a field.  I saw some code today that just had      public String Title     {         get;set;       }   I was thinking this was just un-finished code. However the program worked and returned the Title String!  I have been doing this      private string _title;      public String Title     {         get { return this._title; }         set { this._title = value; }      }   So here my question is, is there any benefit, or need to write the properties by attaching them to a field like I have been doing for the past 2 years?

Note: This was posted when I was starting out C#. With 2014 knowledge, I can truly say that auto-properties are among the best things that ever happened to the C# language.  I am used to create my properties in C# using a private and a public field:  private string title; public string Title {     get { return title;  }     set { title = value;  } }   Now, with  3.0, we got auto-properties:  public string Title { get; set; }   I know this is more a philosophical/subjective questions, but is there any reason to use these auto-properties except from saving five lines of code for each field? My personal gripe is that those properties are hiding stuff from me, and I am not a big fan of black magic.  In fact, the hidden private field does not even show up in the debugger, which is OK given the fact that the get/set functions do nothing. But when I want to actually implement some getter/setter logic, I have to use the private/public pair anyway.  I see the benefit that I save a lot of code (one vs six lines) without losing the ability to change the getter/setter logic later, but then again I can already do that by simply declaring a public field "Public string Title" without the need of the { get; set; } block, thus even saving more code.  So, what am I missing here? Why would anyone actually want to use auto-properties?


I want to write this symbol in LaTeX.     I looked for it on Detexify and some code-lists but found nothing.   EDIT: I want the arrows and also the letters (general inputs in that place)  Thanks!

Is it possible to stack three relations or symbols ontop of one another? Specifically I would like to stack three symbols, R, \rightleftarrows and L in order to define a pair of adjoint functors $R:C\to D$ and $C\gets D:L$.  Also, is there a \rightleftarrow with long arrows? EDIT I actually meant to ask wether there is a version of \rightleftarrows with long arrows.  I'm not a regular user, so I don't know how to format my question adequately, could someone convert what's inside the dollar so that it appears as latex please?


I am running a regression model and assume that all my variables are following a standard normal distribution.  From this model I am getting the value of the coefficients of the predictors and their standard deviation.  Then I am dividing these two numbers (coefficients/standard deviation) to get the t-statistic (I hope that this is the right way to do this).  Therefore, I now have the t-statistic values for each of my predictors and I want to compare these values to the critical t-statistic value which corresponds to a 5% p-value.   Is the critical t-statistic value always 1.96 for the standard normally distributed variables or also it depends on the sample size or on something else etc?

I understand that the Wald test for regression coefficients is based on the following property  that holds asymptotically (e.g. Wasserman (2006): , pages 153, 214-215): $$ \frac{(\hat{\beta}-\beta_{0})}{\widehat{\operatorname{se}}(\hat{\beta})}\sim \mathcal{N}(0,1) $$ Where $\hat{\beta}$ denotes the estimated regression coefficient, $\widehat{\operatorname{se}}(\hat{\beta})$ denotes the standard error of the regression coefficient and $\beta_{0}$ is the value of interest ($\beta_{0}$ is usually 0 to test whether the coefficient is significantly different from 0). So the size $\alpha$ Wald test is: reject $H_{0}$ when $|W|> z_{\alpha/2}$ where $$ W=\frac{\hat{\beta}}{\widehat{\operatorname{se}}(\hat{\beta})}. $$  But when you perform a linear regression with lm in R, a $t$-value instead of a $z$-value is used to test if the regression coefficients differ significantly from 0 (with summary.lm). Moreover, the output of glm in R sometimes gives $z$- and sometimes $t$-values as test statistics. Apparently, $z$-values are used when the dispersion parameter is assumed to be known and $t$-values are used when the dispersion parameter is esimated (see ).  Could someone explain, why a $t$-distribution is sometimes used for a Wald test even though the ratio of the coefficient and its standard error is assumed to be distributed as standard normal?  Edit after the question was answered   also provides useful information to the question.


I have read pricing guides etc and since I haven't been in business for years and years its kinda hard to plug the numbers in to the formula.  Anyways I'm just having a hard time pricing a wedding.  They contacted me yesterday...they are getting married in Jasper Alberta on New Years Eve.  So for me that is 3 hours of driving there.  So 6 hours total.  I was thinking offer them 9 hours or so with a CD.  They want to know my experience.  And really for weddings I only have done a wedding and a half.  So not much experience.  I would like to get more experience...rather then saying a price and them not booking.  But at the same time making a little bit.  I have a feeling even if I said $900 they may think that it is too much for a photographer that has hardly taken any wedding pictures.  Your help would be very much appreciated.  Thanks.

I've been asked to shoot a wedding for money, which would be the first time that I've had such an opportunity. I've taken pictures at three prior weddings, two as the main photographer, but not while getting paid. (For the two where I was the primary photographer, well, they really just didn't care much about their pictures, so...)  Anyways, how does one go about figuring out a decent price to charge for a wedding? I should add that while I wouldn't mind doing this every now and then, I probably wouldn't shoot a ton of weddings, so I don't want to subscribe to some service to tell me how much I should charge.


Let assume $f(z)$ is defined and analytic at $|z|>1$ and such that $\lim_{z\to \infty}f(z)=L$ when $L<\infty$ Prove: $\lim_{z\to \infty}f'(z)=0$  $f(z)$ is defined and analytic at $|z|>1$ so it can be expanded to a power series $f(z)=\sum_{n=0}^{\infty}\frac{a_n}{z^n}$ at $|z|>1$ now we know that $lim_{z\to \infty}f(z)=\lim_{z\to \infty}\sum_{n=0}^{\infty}\frac{a_n}{z^n}=L$ Taking the derivative we get: $\lim_{z\to \infty}f'(z)=\lim_{z\to \infty}\sum_{n=1}^{\infty}-n*\frac{a_n}{z^{n-1}}=0$ Or am I missing something?

Prove that if $ f\mathrm{(}z\mathrm{)} $ is analytic at the infinity  ,then :  $ {\lim}_{{z}\mathrm{\rightarrow}\mathrm{\infty}}{f}\prime{\mathrm{(}}{z}{\mathrm{)}}\mathrm{{=}}{0} $


I want to add my Pokémon to a friendly gym But there is no button.  How do I get to add my Pokémon?

It used to be that you could train on your own gyms by attacking them, then once you got the points high enough from doing that, you could put a Pokèmon of your own in it. Obviously this mechanic has changed, but I can't figure out what it's been replaced with. The only thing I can figure out how to do is feed berries to any demotivated Pokèmon, but there's no indication that doing so opens up new slots. The little tutorial you can view when at a gym doesn't mention how to do it either.   How do I open up a slot to put my Pokèmon in a gym? (Or are the slots always open, and all the gyms I see just happen to be full?)


I want  to create assignment matrix like this  \usepackage{kbordermatrix,blkarray} \usepackage{amsmath} \usepackage{amsmath,stackengine} \stackMath \[ \stackinset{c}{-2.8\baselineskip}{c}{}{\rule{.4pt}{5.2\baselineskip}}{% \stackinset{c}{1.9\baselineskip}{c}{}{\rule{.4pt}{5.2\baselineskip}}{% \stackinset{c}{3.1\baselineskip}{c}{}{\rule{.4pt}{5.2\baselineskip}}{% \stackinset{c}{}{c}{2\baselineskip}{\rule{6.9\baselineskip}{.4pt}}{% \stackinset{c}{}{c}{-3\baselineskip}{\rule{6.9\baselineskip}{.4pt}}{% \bbordermatrix{ & 1 & 2 & 3 & 4 & 5 & 6 \cr               1 & 1.5 & 3.5 & 1 & (1) & 1 & 4 \cr               2 & 1.8 & (1) & 3.1 & 2.6 & 1.9 & 1.8 \cr               3 & (1) & 1 & 1 & 1.4 & 1.1 & 2.1 \cr               4 & 3.8 & 4 & (1) & 5.6 & 2.8 & 2.2 \cr               5 & 3 & 3.3 & 1 & 4.6 & 4.6 & 5  \cr               6 & 4.8 & 4.9 & 3.2 & 5.5 & 2.8 & (1) \cr               }}}}}} \]

I'd like to draw vertical/horizontal lines over the entries of a column/row in an array. I find the method to draw horizontal lines at . But when I used the same way to draw the vertical lines. It didn't look well. My codes are:  \usepackage{tikz} \usetikzlibrary{calc} \newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node (#1) {};} \newcommand{\DrawLine}[3][]{% \begin{tikzpicture}[overlay,remember picture]     \draw [#1] ($(#2)+(0,0.6ex)$) -- ($(#3)+(0,0.6ex)$); \end{tikzpicture}% }%  \begin{displaymath} \left[ \begin{array}{cccc} \tikzmark{11}{15} & 0 & \tikzmark{13}{0} &0\tikzmark{14} \\ 0 & 50 & 20 & 25 \\ 35 & 5 & 0 & 10\\ \tikzmark{41}{0} & 65 & \tikzmark{43}{50} & 65 \end{array} \right]. \DrawLine[black,thick]{11}{14} \DrawLine[black,thick]{11}{41} \DrawLine[black,thick]{13}{43} \end{displaymath}   The result looks like     But the result I want is     Does anyone know how to fix this? Thank you.


I am trying to simplify this expression :  $$9a^4 + 12a^2b^2 + 4b^4$$  So I ended up having this :  $$(3a^2)^2 + 2(3a^2)(2b^2) + (2b^2)^2$$  However, after that I don't know how to keep on simplifying the equation, it is explained that the answer is $(3a^2 + 2b^2)^2$ because the expression is equivalent to $(x + y)^2$ but I don't understand how they get to that ?

I know the formula $x^2 + 2xy + y^2 = (x + y)^2$ by heart and in order to understand it better I am trying to solve the formula myself; however, I don't understand how step 4 is derived from step 3.  $$x^2+2xy+y^2\qquad1$$  $$x^2+xy+xy+y^2\qquad2$$  $$x(x+y) + y(x+y) \qquad3$$  $$(x+y)(x+y) \qquad 4$$  How does one get from step 3 to step 4? I don't know how to do that process.


Bellow is snippet of my code. I just want to know why if condition is not being executed even if variable "ans" has value 2020. private static void solve() throws Exception {              String str="20";         String str1="20";         String ans=str+str1;              if(ans=="2020")          System.out.println("matched");        else System.out.println("Not matched");          System.out.println(ans); }

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


Which Distro I should use if I've got Intel Core i5-4300U CPU x64?  Please, give certain variants, which you know will be installed for sure.

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


I'm creating a page for an alt currency where a business owner can set prices for various products. The suggested exchange rate is $10 to 1 Current. I want the user to input a dollar price and have the Current input automatically populate at 1/10 the amount in the dollar input.  I have this working for the first set of inputs. However, the user can also add more product inputs by clicking a button. My keyup function does not work for these dynamically created inputs. Any ideas?    HTML

     $     <input id="dollar-price-1" class="dollar-price" type="number" placeholder="10" />

     <svg class="inline currency-placeholder" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="18px" height="24px" viewBox="11.5 0 75 100" enable-background="new 11.5 0 75 100" xml:space="preserve"><g><text transform="matrix(1 0 0 1 5.8066 87.1475)" font-family="Apple-Chancery" font-size="112.6105" fill="#888888">C</text><text transform="matrix(0.8797 0.0076 -0.0087 1 29.2212 72.208)" font-family="AvenirNext-MediumItalic" font-size="79.8022" fill="#888888">o</text></g></svg>     <input id="current-price-1" class="current-price" type="number" placeholder="1" />

  <button id="add-product">Add product</button>  </button>   JS  var num = 1;  $('#add-product').click(function() {    num++;    $('#product-div').append('
$<input id="dollar-price-' + num + '" class="dollar-price" type="number" placeholder="10"/>

<svg class="inline currency-placeholder" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="18px" height="24px" viewBox="11.5 0 75 100" enable-background="new 11.5 0 75 100" xml:space="preserve"><g><text transform="matrix(1 0 0 1 5.8066 87.1475)" font-family="Apple-Chancery" font-size="112.6105" fill="#888888">C</text><text transform="matrix(0.8797 0.0076 -0.0087 1 29.2212 72.208)" font-family="AvenirNext-MediumItalic" font-size="79.8022" fill="#888888">o</text></g></svg><input id="current-price-' + num + '" class="current-price" type="number" placeholder="1"/>
'); });  $('.dollar-price').keyup(function() {   var num_id = $(this).attr('id').match(/\d+/);    $("#current-price-" + num_id).val(this.value / 10);   return false; });

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


Currently, if you have ads enabled on any Stack site that offers ads, the topbar ads are loaded in after the site itself is loaded. Instead of reserving sufficient space for that when the site is loaded, everything on the site just moves downwards as the ad loads in.  It would be significantly less obnoxious and significantly more user friendly if you reserved the space for the ad before loading it in, right when the site itself loads, so things like flag or edit buttons or vote buttons don't suddenly jump downwards as the ad loads in.

There is a usability problem when you visit a site on which ads are being served.  The top banner ad doesn't render immediately, and then when it does, it causes the rest of the page below it to jump down by just about the amount that e.g. attempting to click on the downvote arrow ends up clicking on the upvote arrow.  This is easy to fix if you notice, but if you were planning to click somewhere else, you will miss by rather a large distance.  This is annoying and hardly serves any useful purpose, and in the worst case could lead to you clicking on something you really didn't want to click.  I don't know enough about the underlying technology to propose a fix, but a thing which used to work already in the 1990s was to reserve space for an image if you could tell in advance how large it was going to be.  Banner ads typically have this property, and so I'm imagining this should be possible.  Examining the page source reveals an iframe element with width="0" and height="0" attributes which seems like precisely the wrong thing here, but like I said, I probably don't understand this well enough.  Frustratingly, the image block my browser offers doesn't help at all; the jump happens even if the image is not displayed (at least in Chrome on Mac).  Some sites which have this annoying behavior are  and  but it depends on your privileges on these sites and ads are not served 100% of the time even then.  The particular use case for me is to flag obvious spam quickly; I basically never do anything else on the Drupal site, for example, and so probably will never earn enough rep there to not see the ads.  When spam is dead obvious, you really want to be able to just flag it and move on.


the Facebook Messenger app & Whatsapp audio & video calling is not unavailable, it wants the access for camera & microphone, when the settings come I do it but it doesn't work, what to do?   After clicking audio or video call on messenger screen

I have a Nexus 5 phone and ever since I allowed a system update, it won't let me post pictures to Instagram. It keeps talking about turning off a "screen overlay", but then when I try to follow the steps to get to that setting, it just sends me in a loop and doesn't actually let me change anything.  (Click image to enlarge)