I have Windows 7 copy that I upgraded for free Windows 10 a few years back. My SSD is getting too small to I want to swap it with a new SSD.  I want to do a complete wipe and install everything fresh instead of trying to make a backup and restoring it on the new SSD.  When I go to activation settings I see     Windows is activated with a digital license to your Microsoft account.   I am not sure where I can actually get my key and how to get a copy of windows that will bootup before startup so I can install it on my SSD that won't have anything on it.


"Can I" vs "May I" in restaurant setting when ordering

A while back, while we were getting fast food, my friend commented on my usage of "can" versus "may" when asking to take my order. I said:     Can I have a .......    and my friend argued you're supposed to say      May I have a .......   Although I had never thought much about it, and at first assumed my friend was correct, I later started thinking more on it and have come to doubt this to be true. "May I" implies that what you're asking for is already known to be present and available. "Can I" implies more unsurety and is therefore technically the correct answer since there's always uncertainty that a product may or may not be physically available for taking or purchasing.  At first I didn't really care, but the debate has been drawn out now and has turned into a friendly bet of sorts. I just want to know: when in a food environment, which is technically more correct. I know this stuff can be one way or the other sometimes, but I have to know what the experts believe.


i have try to search over the internet but got nothing  this is my situation,  i have more than 30 vps running ubuntu server 12.04  i need to install openssh, webserver (apache + php) & database server (mysql) to all of this vps.   unfortunately, my bandwidth is limited  my question is : how to create local repo that contain needed application only so my other vps don't need internet connection to install this application ?  looking forward for your response


Let R be a ring and A,B,C ideals such that A+B=R and BC $\subset$ A , then C $\subset$ A

Let R be a ring and A,B,C ideals such that A+B=R and BC $\subset$ A, then C $\subset$ A.  My attempt:  Let x $\in$ C, and as C is an ideal of R, then x=a+b for some b $\in$ B and a $\in$ A. And we can have a'=bx=b(a+b).  I don't know how to prove the problem after that.  Any help will be much appreciated.


addding to tikz picture sequentially in article

Is it possible to add paths to a tikz picture sequentially in an article?  something like onslide in a beamer setting but in article class without redrawing the whole picture


My question is on the title. I want to make arrow pointing at suncross like ? I can make the arrow by myself can you help me to make the suncross?


Can't understand how this javascript code control flow?

This is the code of which i am not able to understand the flow of and also how the value of i persist even after the for loop ends.     var printNumTwo;  for (let i = 0; i < 5; i++) {   if (i === 2) {     console.log("now");          printNumTwo = function() {       console.log("inside");       return i;     };          console.log(i);   }   console.log(i); }  console.log(printNumTwo());     The output of the program is  0 1 now 2 2 3 4 inside 2


Why only one secret value with Shamir's secret sharing?

works by sharing data points on a curve, whereby when you have the required number of data points, you can find the function of the curve and find out the secret, which is effectively f(0).  In the polynomial form of the function, the constant (the coefficient of $x^0$) is the secret information.  Could you treat the coefficients of the other powers of $x$ as secret values as well?  If so, are they just as secure / secret? Or is there some subtlety going on where you need fewer values to get the other coefficients?  It seems that if you had a cubic curve that you could have 4 secrets $S_i$, instead of 3 random numbers and one secret:  $$f(x) = S_1x^3 + S_2x^2+S_3x+S_4$$


How do I find if there is a rogue DHCP server on my Network?

What's the best approach towards determining if I have a rogue DHCP server inside my network?  I'm wondering how most admins approach these kinds of problems.  I found  through searching, and thought about trying it out.  Has anyone had experience with it? (I would like to know before taking the time to compile it and install).  Do you know any useful tools or best-practices towards finding rogue DHCP servers?


Every Lebesgue measure $0$ set in $\mathbb R$ has a disjoint translation

The claim is that for every Lebesgue measure $0$ set $N$, there exists $x \in \mathbb R$ s.t. $N + x \cap N = \emptyset$. I came up with this question while trying to figure out another proof of the uniqueness of Lebesgue measure (as a translation invariant Borel measure on $\mathbb R$ that is $1$ on $(0,1)$). For that, I think it suffices to prove the claim above. Effectively this should allow you to show that any (locally finite) translation invariant measure has a density with respect to Lebesgue. I'm not sure whether this is true, but no counterexamples readily come to mind (it's possible a tiling of $\mathbb R$ by the Cantor set is a counterexample, but I can't immediately show it). Note that in $\mathbb R^2$ there is a natural counterexample, take the $x$ and $y$ axes. This readily generalizes to all higher dimensions too. Note also it clearly suffices to consider Borel sets. So does the claim hold?


How to shoot a reflection in a ball bearing without appearing in it?

I am trying to shoot a reflection of a bearing in a round metal ball. The problem is that in order to photograph the reflection, I am always in the shot. I'm shooting on a white background, and I am trying to work out the best way to exclude as much of me as I can. The camera lens would be fine as I could easily edit it out in post.  I was thinking of poking the lens through a hole in a large sheet. Will that work?


How to get the index in the 'in' statement in Python

I wrote an if statement like:  if word in vocab:     print word   However, I also would like to know the matched word index in vocab.   Is there any way in Python can do this?  I just come up a solution that use vocab.index(word) to get the index, but this way go through the array twice (one in if statement, one call index()). I wonder there should be more efficiency method.  Thanks.


bash: [: missing `]' when the test stored in variable

Why this works:  [ -r /tmp ] && echo "tt" >/tmp/taa cat taa tt   But the following doesn't and how to fix that, preserving variable for reusability?  COMD='[ -r /tmp ] && echo "tt"' $COMD >/tmp/taa bash: [: missing `]   Thanks  Edit: eval indeed works. However, I don't get why, and in , there is no explanation either. Moreover, if the part starting with && is removed it works and even actually returns right results without eval:  COMD='[ -r /tmp ]' $COMD echo $? 0  COMD='[ -r /tmpdddd ]' $COMD echo $? 1


How to open a file as plain text in TextEdit?

I have a *.rtf file which I want to open as plain text. How can I do this?


What does the silhouette user icon mean?

Occasionally I will see a post with the author displayed like this:    The username is not clickable, but I don't know of any way to make a profile "private."  So is this just an anonymous user who only entered a name when asking the question (can you do that)?


Prove the following equalities about matrices

Let $A, B \in M_{2}(\mathbb{R})$ two matrices such that $(A-B)^2=O_2$.   Prove:      1) $\det(A^2-B^2)=(\det(A) - \det(B))^2$      2) $\det(AB-BA)=0$ iff $\det(A)=\det(B)$     My attempt  Using Cayley it follows $\det(A-B)=0$ and $tr(A-B)=0$ therefore $tr(A)=tr(B)=t$ and $A^2 = tA-\det(A)I_2, B^2 = tB-\det(B)I_2$.   From the last two equalities: $A^2-B^2=t(A-B) - (\det(A) - \det(B))I_2$  Here I've got stuck, because applying determinant to the last equality doesn't seem to lead somewhere.


Can I make the system reserve for partitions smaller?

To my knowledge Ubuntu creates a system reserve on partitions that take up 5% of the partition capacity. On 8 TB drives system reserve takes up about 380 gigs. I double checked this in df and can calculate the missing gigs. I have four 8 TB partitions and am losing 1.5 TB of storage space. Is there a way to make ubuntu use a smaller percentage for the system reserve?


How do I find out which program is using internet and how much?

Possible Duplicate:    Sometimes there is unusual internet activity on my Computer. The modem's lights are always blinking and when I open system monitor, I see there some unknown program is using my precious internet with 64KB/S (I have 512kbps connection). I am in a firefox session with only one tab opened, and the page is already loaded and there is no busy sign in the page (that rotating orange circle). In that situation I unplug my modem and reconnect it again. After several times doing this, that unusual activity stops. It annoys me very much. How can I find out the process which is using the Internet?. How much it is using? How can I kill it? A graphical solution will be better.


Hole pattern appears when in sculpt mode

I was following along making the Blender Guru Donut® when I found that when I switch to sculpting mode a pattern of holes appear on my icing. I thought it couldnt hurt, maybe it was just for reference or something. But when I was done pulling arround the mesh (and thus some holes) and switched back to layout you could indeed see some artifacts of the holes in the form of spikes, and now my delicious donut is totally ruined. Im guessing this could have to do with some setting being turned on/off? Can anyone give any help?  Edit: Yes thank you Rjg, that does indeed solve it


Multi-dimensional CDF on a discrete support

Suppose I have two discrete-support random variables, $X$ and $Y$.   They have joint CDF $F(X,Y)$.  If I want to find  $\Pr(a \leq X \leq b , c \leq Y \leq d)$.  It is obviously not:  $F(b ,d)-F(a-1 ,c-1)$.  What is it then, in simplest terms with respect to the CDF?  I believe, for two dimensions, it is:  $F(b ,d)-F(a-1 ,d)-F(b,c-1)+F(a-1,c-1)$.  What is it for an arbitrary $d$ dimensions?


How can I colorise the background of every second bibliography entry with biblatex

I want colorize the background of every second entry in the bibliography list. Here is a minimal example:  \documentclass{scrbook} \usepackage[utf8]{inputenc}  \usepackage[backend=biber,         isbn=true,         giveninits=true,         style=numeric,         maxnames=99,         sorting=ydnt,         defernumbers=true,         autocite=superscript]{biblatex} \defbibheading{bibliography}[\refname]{} \addbibresource{references.bib}   \usepackage{xcolor}   \begin{document}  \section{Main text}  \cite{small}  \cite{big}  \section{Bibliography} \printbibliography  \end{document}   Here is an example of Literature examples:  @book{bal2009,          shorthand = bal2009,      title={Lehrbuch der Objektmodellierung: Analyse und Entwurf mit der UML 2},   author={Balzert, Heide},   year={2009},   publisher={Spektrum Akademischer Verlag} }  @book{Dem2013,     shorthand = Dem2013,   title={Raspberry Pi - Das Handbuch},   author={Dembowski, K.},   year={2013},   publisher={Springer Fachmedien Wiesbaden} }  @book{Kof2015,   title={Raspberry Pi: Das umfassende Handbuch, komplett in Farbe - aktuell zu Raspberry Pi 2 - inkl. Schnittstellen, Schaltungsaufbau, Steuerung mit Python und den Erweiterungen Gertboard, PiFace und Quick2Wire},   author={Kofler, M. and K{\"u}hnast, C. and Scherbeck, C.},   isbn={9783836237956},   year={2015},   publisher={Galileo Press},     adress={Bonn},     edition = {1. Aufl.},     number={1. korrigierter Nachdr. Ed.}, }  @book{Upt2014,     shorthand = Upt2014,   title={Raspberry Pi User Guide},   author={Upton, E. and Halfacree, G.},   isbn={9781118921678},   year={2014},     publisher={John Wiley \& Sons Ltd},     adress={Chichester, West Sussex},     edition = {2. Aufl.} }


State-of-the-art methods for forecasting time series array

Suppose I have a set of measurements taken at regular intervals, and I want to predict future values of one of those measurements. There are relationships between the variables being measured. For example, some variables may tend to rise together, or one variable might tend to fall when another rises. What are the state-of-the-art methods for this type of forecasting?


Assumed that we have defined a vector (regardless of size and type of the elements; but vec.size() >= 1) and we want to iterate through the entire vector, but do not want to modify any element: std::vector<type> vec = someData;  for (type item : vec) {    // do something    // but assumed no manipulation of item    // I can access item which is a copy of vec[i] }  for (const type &item : vec) {    // do something    // but assumed no manipulation of item    // I can access item which is a immutable reference to vec[i] }  Both – copy and reference – will create new memory, either with a copy of the value or the address to that value in vec[i] (remind: we only want to look at the elements!). For complex types in vec it is definitely more efficient to use a reference, because the size of the reference in the memory is less than the actual element in vec[i]. But what if the elements in vec are of type int with 4 Bytes width or so? Will the address or the actual int contain a bigger size? So rather use a copy or a reference? (I do not consider to use a reference for types like int or double! … but I am interested, so please make your answers general.) Thanks :-)


How do I generate a series of hourly averages in MySQL?


Can an Indian citizen studying in Germany travel to India through Paris airport?

I am an Indian citizen with valid German student long term resident visa. Can I travel to India and come back through Paris airport? Is there a chance of being denied to board? Prices are cheaper from Paris than from a german airport.  Edit: Sorry that my English is not clear. Yes, I meant I plan to travel to Paris by train and take Paris-Mumbai flight and return to Paris via Mumbai-Paris return flight and come back to Germany via train.


I'm struggle with vector displacement shader. I'm trying to do something like reverse cone but I can't figure out how to add radial direction. I would like to use RGB curves like screw (lathe) modifier but in shader. My actual setup:


What does this $\infty$-like symbol mean?

What does this symbol (the $\infty$-like symbol but without the right arc) mean? (Marked by red arrow below)  What does it say about the prior distribution?


How to find summation of the series $1 + \frac {1}{3} + \frac {1\cdot 3}{3\cdot 6} +\cdots$

How to find summation of the series $1 + \dfrac {1}{3} + \dfrac {1\cdot 3}{3\cdot 6} + \dfrac {1\cdot 3\cdot 5}{3\cdot 6\cdot 9} + \dfrac {1\cdot 3\cdot 5\cdot 7}{3\cdot 6\cdot 9\cdot 12} + .....$ ?  I can't find any particular sequence.Please help!


How to change default window background color in Windows 10?

In Windows 7 and Windows XP it was very easy to change the default background color of all windows to whatever you want. Staring at white window backgrounds all day is hard on the eyes. Once changed, ALL windows of all apps would conform to the custom color as long as the apps allowed the windows bg to be invoked. So for example it worked great in Notepad and many other apps.   Then the geniuses at M$ decided that this feature was no longer needed in Windows 8, and removed it. There were some reg hacks, but nothing standard. I remember reading that the feature would be coming back in Windows 10, but I'm not finding this to be the case. The only [partial/broken] way I have found to be able to do this is to tweak the following registry keys:  [HKEY_CURRENT_USER\Control Panel\Colors] "Window"="227 221 191"  [HKEY_CURRENT_USER\Control Panel\Desktop\Colors] "Window"="227 221 191"   When I changed those keys to my chosen soothing color and rebooted, it worked ONE TIME. After every reboot thereafter, all the white backgrounds are back AND YET those registry keys still have my custom RGB codes. I really hate Microsoft right now, but that aside, is there any solid way to change windows 10 bg colors and make it stick?  Important: In Settings -> Personalization -> Colors, none of that changes windows backgrounds. Already tried.   I am using Windows 10 Enterprise Version 1511 Build 10586.3.  UPDATE: I rebooted again and the bg colors work correctly...but later in the day all the window bgcolors were back to white again. Windows 8.1 had the exact same bug. My conclusion is that the reg hack "works" but only intermittently. Is this simply a MS bug? Or is there a better answer/solution?


Are there names for consonant-shifts when suffixes are added?

I saw a spelling mistake on an SO question: submittion. That got me wondering, is there a name for the shift of ‑mit‑ to ‑miss‑ in submission, permission, admission and so on? Are there other patterns like this in English words? (Not simple stuff like dropping an e for confuse/confusion) and if so, are these patterns related to the language we took the word from?


I want to know how to create good AI for a Java game,  I'm still learning the language and I'm not an expert. I can do static AI but wanna know about  writing an AI that follows the player and considers how to reach him via pathfinding.


Why's wrong with this template? how can I compile it correctly

#include "test.h" template<typename T> test<T>::test(const T &elem):data(elem) { }  template<typename T> test<T>::~test() {     delete data; } template<typename T> class test { private:     T data; public:     test(const T &elem);     ~test(); }; #include"test.h" int main() {     test<int> a(2); }   Classes and implementations and main functions are written in different files by me, when i try to compile it ,The compiler will report an error,but i can't find what's wrong.


All VPNs are proxy servers but not all proxy servers are VPNs?

I'm having trouble understanding the difference between a VPN and a proxy server.  When I connect to a VPN, other computers see the IP address of the VPN instead of the IP address of my ISP.  But doesn't that make it a proxy server?  So are all VPNs proxy servers?


Anime about a boy and a girl who ride ostrich-like creatures through a valley

I can not remember much but I have had this film in my head for years I searched everything I can remember on every website I can think of.  I don't remember the exact story but I'll list everything about it can   Apocalyptic future possibly Two main characters: a boy and a girl riding ostrich-like creatures through a valley An old blind lady that senses things Crashed spaceship looking like a submarine Giant creatures looks like yaks with blue eyes, whose eyes turn red when something is about to happen The old lady says "Some say they went to the stars" while looking at the spaceship The two main characters do something and their eyes turn blue in the distance and the village cheers   This film is at least ten years old and I would appreciate it so much if you knew anything about it, or could help me find the title.


Need help looping my code back to an earlier line of code

The code I have at the moment is:  #Imports the random module import random  #Asks the user to input there name print("What's your name ?") name = input() #Resets the score score = 0  #Loops ten times for ten questions  for i in range(1, 11):      #Generates two numbers and an operator     x = random.randint(1, 20)     y = random.randint(1, 20)     opIndex = random.randint(1, 3)      #Checks the opIndex, gives an operator and calculates the result     if opIndex == 1:         op = '+'         ans = x + y     elif opIndex == 2:         op = '-'         ans = x - y     else:         op = '*'         ans = x * y  #asks the user if they want to take the test start = input("Are you ready to take the test? (y/n):") while start.lower() =='y':      #Prints out the question for user input (Too much concatenation)     inp = input('Question ' + str(i) + ': ' + str(x) + op + str(y) + '= ')      #Checks if the input is the same as the answer to the sum     if int(inp) == int(ans):          #Tells the user that they were correct and adds 1 to their score         print('Correct answer, well done!\n')         score += 1     elif start.lower() =='n':         print ("take your time to prepare")         start = input ("Are you ready now ? [y/n]")     else:         print('Incorrect answer, bad luck!\n')  #After the 'for' loop the final score is printed print('\n' + name + ' your final score was ' + str(score) + ' out of 10!')   But I need it to loop back to the question are you ready to start if the user answers with a 'n' .   Thanks if you can help.


How do I clean install windows 7 on the "other" partition?

I would like to cleanly install windows 7 on another partition to ubuntu 12.04.  I originally had a windows 7 only machine. I subsequently installed ubuntu 12.04 alongside it by creating a partition.  Windows 7 now seems to be corrupted - when it starts loading it eventually shows a blue screen with what looks like a memory related error message. The boot loader (if that is the right terminology) appears to be working as I can get into ubuntu fine, and windows does start to load.  I am confused about what hard drives and partitions I actually have, and where each OS is. I am not even sure if I have one or two physical hard drives. Here are screenshots of my drives / partitions.     I have a windows 7 CD (came with my PC).  What do I need to do to get windows 7 working again?  FYI: I am not experienced with partitioning, nor massively experienced with windows nor linux. However, I do have a few years of coding experience.


drop down menu login or login page for easier user experience

I've been observing a couple of websites, and leading brands using drop down menu, and some using just a login page.  I know Google uses a login page for you to log in to your inbox. When you visit  there's an initial page with slideshow, then when you click login, it takes you to another page for you to login.   For  it just takes you to the home page with the login section on the homepage, same with facebook.  Twitter also, they use a drop down menu for login, which is on the homepage.  This reduces the amount of mouse clicks and movement of the mouse the user has to engage in when they want to login, as a good law of simplicity in design.  I'm build a fully functioning desktop based site, that is mobile responsive, there's a login page, a login section, but the idea is: would it be necessary to have a drop down menu, for easier navigation so they won't have to visit the login page initially.  I'm confused on which model to follow.  Should i make my login page on another page, or keep it on the homepage which could be either a section on the home page, or a drop down menu?


3.65 GPA, 1 D on Undergraduate Transcript; MBA in Top 10

Looking to apply to a top 10 MBA program in a few years.   Currently finishing up my undergraduate degree at a top 20 national university. I have a 3.65 GPA, majoring in Computer Science, and have a Business Concentration.   I got 1 D in my second semester of freshmen year in a basic CS class (Algorithms). I've done significantly better in all of my classes with a range of A+ to B across the board. The semester I received a D in one class, I took too many hours and couldn't do well on all my exams. That semester, it was that one class that I got a D in - otherwise I had all As and A+s.   I'm hoping to work in industry for a few years before applying to MBA school but would love to learn what the serious chances/challenges/implications are as I apply to a Top 10 MBA School. I just want to get a better trajectory on where my career path lies.   The dream is to be in technology management - a CTO, VP of Engineering etc.


Recommended way of adding a pepper/secret key to password before hashing?

There have been several questions regarding  and .  A "pepper" is sometimes mentioned – an application-specific secret key. The  implies that a adding pepper brings the composition close to a MAC, and that cryptographic MAC function should be used rather than concatenating a pepper together with the salt and password.  My question is: Where applicable, what would be a generally recommendable, sound, well understood way to MAC a user password and a secret key, in the context of password hashing?  I want to MAC the password using a secret key, then feed the output of the MAC to a slow hash function (like bcrypt, scrypt, or PBKDF2).  I want to know what kind of MAC to use. To represent the MAC, I'm using this notation   HMAC-SHA256secretkey(message) and HKDFsalt(password) password is the low-entropy user password key is the high entropy secret key (the "pepper") salt is a per-password random value, optionally reused by the subsequent computationally expensive hash such as bcrypt, PBKDF2, or scrypt    Would any of these constructs be more recommendable? Or is there an even better way? And if so, briefly why?   HMAC-SHA256 key(password) HMAC-SHA256password(key) HKDFpassword(salt)   NB: This question is in relation to the "pepper" section near the end of the accepted answer to . Thus the output of the MAC will be fed to a slow, computationally expensive KDF like bcrypt, PBKDF2, or scrypt.


How to install a web app after dismissing it initially?

There are some web apps that I decided not to install initially; I selected "Do not ask again" for the prompt.  Now that I have changed my mind, how do I go about installing that web app for a particular browser?


Is the spectrum of visible light infinitely divisible?

I assume the question pertains to electromagnetic waves in general, but I am at the moment interested in visible light. Our capacity -- both human and device -- for discerning wavelengths of light is limited. But is the spectrum really continuous and is it also practically so (ie. which are the objects that actually emit an infinite compendium of wavelengths of visible light)? For example, assuming a wave with wavelength of 500 nm, can you have a wave with wavelength 500,123456 nm [of course you can], and can you just go on and on (assuming you have equipment sensitive enough to measure it) to measure waves with wavelengths of, say, 500,123123123123123123123123123123123123123123123123 nm wavelength, or does this break down at some point (barring sensitivity of measuring equipment)? I looked at some questions, like:  but that didn't seem to answer my question.


Sufficient condition for orthogonal projection

"Let $T$ be a projection operator on a finite dimensional inner product space $V$ such that $\|T(x)\| \leq \|x\|$ for all $x \in V$. Prove that $T$ is an orthogonal projection."  If I try to prove this by way of contradiction, what is the particular element in $V$ that I can take such that the given inequality doesn't hold? Any other way of solving this problem is also welcome.


Let $B$ stand for a Brownian motion on a finite interval $[0,1]$. If I am not wrong, I think that there exists a positive constant $c$, such that almost surely, for $h$ small enough , for all $0< t < 1- h$  \begin{align} |B(t+h)-B(t)| < c\sqrt{h\log(1/h)} \end{align} or something like this. As a result   \begin{align} \bigg|\frac{B(t+h)-B(t)}{h}\bigg| < K(h)  \end{align}  Am I correct ?


"Show that the limit $ \lim\limits_{(x,y) \to (0,0)} \frac{2x^2y^3}{x^4+y^6} $ does not exist."

$$ \lim\limits_{(x,y) \to (0,0)} \frac{2x^2y^3}{x^4+y^6} $$ My reasoning after reading the textbook: Direct substitution wouldn't work since it would lead to the indeterminate form $0/0$. We can examine the values of $f$ along parabolic curves that end at $(0,0)$. Along $y=kx^2, x\neq0$, the function has the value $$ \frac{2k^3x^4}{1+k^6x^8}. $$ So, if $(x,y)$ approaches $(0,0)$ along $y=x^2$, then $k = 1$, and the limit is $\frac{2x^4}{1+x^8}$. If $(x,y)$ approaches $(0,0)$ along the $x$-axis, then $k=0$, and the limit is $0$.Is this correct and/or is there another way to go about this? Thanks.


Is it possible to create a counter just with wiring?

With the new logic gates in the 1.3.1 update, is it possible to create some wiring circuit that counts how many times a trigger was activated? In other words, is it possible to make a circuit that outputs a trigger every two input triggers?  I've done some experimenting but the nature of wires and there being no intrinsic on/off state in Terraria makes it pretty counter-intuitive compared to real world logic circuits.


Can someone tell me whether my data meets the assumption of linearity, normality and homoscedasticity (multiple linear regression assumptions)?

I have a feeling it meets the assumption of normality. However, I dont think it meets the assumption of homoscedasticity. If it doesn't meet this assumption I am not sure what to do. I do not also know if it meets the assumption of linearity. Could someone please share some guidance on this please


simple process builder failing with error "failed to access the value for variable because it hasn't been set or assigned"

Note: This error might look like a familiar error but the   resolution mentioned in the  is not working in the below case and I am not sure why, hence posting this question.   Problem description:   I have a process builder on case object set to fire for every time new record is created. Criteria is set to 'Formula evaluates to True' with below formula: AND(NOT(ISBLANK([Case].AccountId)),ISPICKVAL([Case].Account.Active__c,'Yes')) With immediate action set to update custom field on the Case object. Custom field Active__c on the Account object is type picklist with two possible values 'yes' and 'no'.   Screenshots of the process builder:        Creating a case as shown in the below screenshot with very minimal details and especially not populating account details:    Throws below error:     The flow failed to access the value for   myVariable_current.Account.Active__c because it hasn't been set or   assigned.   Relevant data from log file:     22:14:31.0 (12479016)|WF_FLOW_ACTION_BEGIN|09L370000000FEJ 22:14:31.13   (13607478)|FLOW_CREATE_INTERVIEW_BEGIN|00D37000000H8hr|300370000008ZTl|301370000004weE   22:14:31.13   (15394571)|FLOW_CREATE_INTERVIEW_END|5525dfa7819c33f438ce3cef9b6c15c668d8ff2-3d11|Test   22:14:31.15 (15820974)|FLOW_START_INTERVIEWS_BEGIN|1 22:14:31.15   (16674702)|FLOW_START_INTERVIEW_BEGIN|5525dfa7819c33f438ce3cef9b6c15c668d8ff2-3d11|Test   22:14:31.15 (35470120)|FLOW_ELEMENT_ERROR|The flow failed to access   the value for myVariable_current.Account.Active__c because it hasn't   been set or assigned.|| 22:14:31.15   (35479812)|FLOW_START_INTERVIEW_END|5525dfa7819c33f438ce3cef9b6c15c668d8ff2-3d11|Test 22:14:31.15 (35517783)|FLOW_START_INTERVIEWS_END|Interview error.   Aborting all.|5525dfa7819c33f438ce3cef9b6c15c668d8ff2-3d11|Test   22:14:31.15 (35528335)|FLOW_START_INTERVIEWS_END|1 22:14:31.0   (35588898)|WF_FLOW_ACTION_ERROR|09L370000000FEJ|300370000008ZTl|Error   executing flow: test, FlowDefId: 300370000008ZTl, FlowVersionId:   301370000004weE 22:14:31.0   (35612585)|WF_FLOW_ACTION_ERROR_DETAIL|An unhandled fault has   occurred in this flowAn unhandled fault has occurred while   processing the flow.  Please contact your system administrator for   more information. 22:14:31.0   (35683203)|WF_FLOW_ACTION_END|09L370000000FEJ   URL to the complete debug log :  (Note: You can see from the log that there are no other workflow rules or triggers on the case object).  My analysis: When the first condition inside the AND expression is evaluating as false, why is it trying to evaluating the second condition to check the custom field on the Account object? It shouldn't right?  Any help?  EDIT: I am looking to solve this using option 'Formula Evaluates to True' only because I have other complex criteria like checking the day(Mon vs Tue and etc) of the case creation.


Traveling through Istanbul on two different airlines do I need a visa?

I'm having difficulty figuring out my visa situation going through Istanbul.    I'm a US citizen.  I'll be traveling from Mumbai, and connecting through Manama, on Gulf Air before changing airlines to Turkish Airlines in Istanbul and flying to Vienna which is my final destination.    Do I need a visa with the diplomatic spat between the US and Turkey? And do I need to pick up my luggage and go through customs again to get onto my Turkish airlines flight?


The  book has a line which reads as follows:     ... If you had but touched me, my friend, you ...   I've seen the word 'but' used this way a couple of times, but I'm not sure I understand the meaning of this phrase correctly. What is the general rule for using 'but' this way?


How many triples $(x,y,n)$ are there such that $x^n - y^n = 2^{100}$

How many triples $(x,y) \in \mathbb{N^+}^2$ and $n \gt 1$ are there such that $x^n - y^n = 2^{100}$        I dont know how to start. Any hint will be helpful.      I know the identity $x^n-y^n = (x-y)(x^{n-1} + x^{n-2}y + \cdots + xy^{n-2}+y^{n-1})$. I think from here we need some combinatorics to get the rest of answer.


If I went to the shop and they did not have food, What would you eat? Does "did not have food " refers to "did not have food in past" as well as "does have food in present"? Or should I say "does not have food" to refer to present?


Compute the taylor series of $\ln(1+x)$  I've first computed derivatives (up to  the 4th) of ln(1+x)  $f^{'}(x)$ = $\frac{1}{1+x}$  $f^{''}(x) = \frac{-1}{(1+x)^2}$ $f^{'''}(x) = \frac{2}{(1+x)^3}$ $f^{''''}(x) = \frac{-6}{(1+x)^4}$ Therefore the series: $\ln(1+x) = f(a) + \frac{1}{1+a}\frac{x-a}{1!} - \frac{1}{(1+a)^2}\frac{(x-a)^2}{2!} +  \frac{2}{(1+a)^3}\frac{(x-a)^3}{3!} -  \frac{6}{(1+a)^4}\frac{(x-a)^4}{4!} + ...$  But this doesn't seem to be correct. Can anyone please explain why this doesn't work?  The supposed correct answer is:  As $\ln(1+x) = \int (\frac{1}{1+x})dx$ $\ln(1+x) = \Sigma_{k=0}^{\infty} \int (-x)^k dx$


Let a, b, c be ints. $\frac{ab}{c} + \frac{bc}{a} + \frac{ac}{b}$ is an int, show that each of $\frac{ab}{c}, \frac{bc}{a}, \frac{ac}{b}$ is an int.

Let a, b, c $\in \mathbb{Z}$ . If $\frac{ab}{c} + \frac{bc}{a} + \frac{ac}{b}$ is an integer, prove that each of $\frac{ab}{c}, \ \frac{bc}{a}, \ \frac{ac}{b}$ is an integer. I've tried to solve this problem but still got no solution. All I think is divisibility and GCD $\frac{ab}{c} + \frac{bc}{a} + \frac{ac}{b} \\ = \frac{a^{2}b^{2} + b^{2}c^{2} + a^{2}c^{2}}{abc}$ Note that $2a^{2}bc + 2ab^{2}c + 2abc^{2}$ is divisible by abc. Put those in, we get: $\frac{a^{2}b^{2} + b^{2}c^{2} + a^{2}c^{2} + 2a^{2}bc + 2ab^{2}c + 2abc^{2}}{abc} \\ = \frac{(ab + bc + ac)^{2}}{abc}$ Because it's an integer, thus $abc \mid (ab + bc + ac)^{2}$ Assume $GCD(ab + bc + ac, abc) = d$, then $ab + bc + ac = dk_1$ and $abc = dk_2$ for an integer d where $GCD(k_1, k_2) = 1$ $\frac{(ab + bc + ac)^{2}}{abc} = \frac{d^{2}{k_1}^{2}}{dk_2} = \frac{d{k_1}^2}{k_2}$ Because $GCD(k_1, k_2) = 1$, thus the only possibility is $k_2 \mid d$. Let d = $k_{2}p$ where p is an integer, thus it implies that $abc = dk_2 = {k_2}^{2}p$ I got stuck here, I probably used the wrong method to solve this problem, does anyone know how to solve this?


c# convert string to table ( for easier using table, like command)

Is any c# lib which convert string like linux command? example:   myCommand -t 123 -s string -ff "string string string"   give me output like  ["myCommand"]=>{   ["t"]=123,   ["s"]="string",   ["ff"]="string string string" }   and example how use :)


"One and half week" or "One and half weekS"?

What's more correct when talking about 1.5 things?  Should we consider them as singular or plural?   For example:       singular form:  One and half week     plural form: One and half weeks


How can I make zsh tab completion fix capitalization errors for directories and files?

I switched to zsh completely on a previous arch install and I LOVED it mainly because arch is one of the distros that capitalizes your Documents, Downloads, Music and such directories in your ~ directory. Since I wasn't used to that and I use tab completion for almost everything in the terminal zsh was like heaven for me compared to bash.... I swear this feature used to be active automatically because I don't remember having to tweak anything to make it work that way. I probably figured it out on accident. xD But I would greatly like to have this feature restored on my new pc using zsh as my main shell, and if anyone knows how to do this I would really appreciate a reply. I tried activating every option in the completion configuration and that didn't seem to do the trick... so that brought me here. PS: I used to be a lot more up to date with my Linux know-how, and my knowledge has grown stale... I'm trying to remedy that... (without the use of the shift key, as much as possible... haha)


Are there solutions that can limit the CPU usage of a process?

I am using an old laptop and doing heavy processing that needs high CPU usage for a long time (~30mins - 2hours). When the process puts heavy load on CPU for a long time, CPU overheats and computer shuts down. I don't want to use a cooler/stand because I am carrying this laptop around and working outside home.  Is there a way/application that I can limit CPU usage of a process in Windows?  Note: Setting the priority of the process from task manager does not work.  Note 2: Fans are clean.


This is a high swing cascode current mirror. My question is what is the significance of the connection from the drain of M3 to the gate of M1 and M2? What would happen if both M3 and M1 were diode connected MOSFETs?


I have studied for about 250 questions and there are many questions i can't take.. i considered but i don't know how to start... how can i solve this? In second question, there even hint..   Well im so glad if you tell me how to solve


Is there any way to shorten URL in SMS in Marketing Cloud?

I am trying to schedule an SMS in the journey to the subscribers who did not open their email. I want to redirect the subscribers to their hosted email page.  I am using the below code to populate hosted email link in email.  %%=RedirectTo(CloudPagesURL(383,'Id',@Id))=%%   In the message, it's showing up.        How can I shorten this URL?


Why should we use 'Did you come?' instead of 'Did you came?'?

I know 'Did' is the past tense of 'Do' and if we want to  ask question in present tense 'Do you come?' and in past tense it is 'Did you come?'. Why don't we use 'Did you came?' as came is the past tense of come?


Cross-referencing with label inside document

I have an issue with referencing inside the text, i use the \label for every figure I have and Table, but when i state in my text that see Figure \ref instead of giving me Figure 5 (or etc) it gives me Figure 4.1 which represent the section that the table of figure is written in.  \documentclass[authoryear,preprint,review,12pt]{elsarticle} \usepackage{graphicx} \usepackage{float} \usepackage{amssymb} \usepackage{amsthm} \usepackage{mathtools} \usepackage{adjustbox}   \usepackage{lineno}  \begin{document}  \begin{flushleft} \begin{figure}[H]\label{East} \includegraphics[width=1.3\textwidth,keepaspectratio]{figures/2.pdf} \caption{mesh } \end{figure} \end{flushleft}  The part of the text that tell that you have to see Figure \ref{East}       \end{document}   Is there a way to cross reference my text and have the actual numbers of Figures of tables that i cross reference


Writing a thesis: Is it a good practice to use personalized lists?

I am writing a master's thesis using Latex. I am attracted by pifont package that allows to use personalized lists as the ones this picture shows: My question: is it a good or bad practice to use such symbols as personalized lists ?


Finding a man page with a standard C or POSIX type?

Is there a way to find a man page given a Standard-C-type or POSIX-type? Such as man size_t or man uintptr_t. This kind of thing can get confusing because uintptr_t is defined in stdint.h, and size_t is defined in stddef.h. I have the docs for both stdint.h and stddef.h , and I can for example run man stddef.h if I know the header name?  This is specifically about types, I want to find the man pages for the type -- the header they're defined in.


I selected all folders, right-clicked and picked Properties.  It shows me all files and they total up to 45.7 GB.    But then I look at My Computer and see that I should have 74.4 GB:   Where has all my space gone?  P.S.  As you can see from my first screenshot that I turned on every conceivable option to show everything, but here is the Options dialog.


Forcing the browser to reload/refresh content after redirect

I have a JS function in my HTML template which is assigned to a button tap. When the user clicks the button I'm sending a POST request to my Flask app which should make a redirect to another page. My problem is the redirection doesn't produce a real redirect, I mean my browser doesn't load the next page, while in the console I can see the 301 redirect on the network tab.   According to the browser's network tab, the redirection works, but my browser doesn't load the targeted url. This is how I manage the redirection with Flask:  @app.route("/signup/", methods = ['GET', 'POST']) def signup():         if request.method == 'POST':         session['usess'] = request.json['usess']         #return redirect(url_for('index'))         return redirect("/", code=301)     if session:         return redirect("/", code=301)     else:         return render_template("signup.html")     # already tried simply     # return render_template("signup.html")   And this is what happens in the log of my Flask app:   127.0.0.1 - - [20/Dec/2017 15:01:33] "POST /signup/ HTTP/1.1" 301 - 127.0.0.1 - - [20/Dec/2017 15:01:33] "GET / HTTP/1.1" 200 -   Based on these logs it works, however my browser doesn't want to load the '/' page.  And here is the function that is responsible for the session object. The whole process starts here:  btnSignUp.addEventListener('click', e => {          // ....         $.ajax({           type: "POST",           contentType: "application/json",           url: "/signup/",           data: JSON.stringify({usess: 'session_str'})           });  });   As the log shows the right requests I don't have an idea what can be the problem. I hope somebody with more experience can tell me what should I alter or try.


Identify $E(X\mid X+Y)$ for $X$ and $Y$ independent and Poisson

I am currently trying to understand how does an instance of the EM algorithm is derived when there are "hidden variables" in this old paper: .  I don't really understand how the expectation step is derived, and what bothers me the most, is that I cannot prove the following statement (right before 2.11):  $$ \mathbb{E}[X|X+Y] = \frac{(X+Y)\lambda_X}{\lambda_X+\lambda_Y} $$  where $X \sim Poisson\{\lambda_X\}$ and $Y \sim Poisson\{\lambda_Y\}$  To begin, I wrote the discrete expectation as follows: $$ \mathbb{E}[X|X+Y] = \sum_{k=1}^{X+Y} k P(X=k|X+Y)\\ = \sum_{k=0}^{X+Y} k \frac{P(X+Y|X=k)P(x)}{P(X+Y)} $$  Where I can replace $$ P(X+Y=k) = \frac{(\lambda_X+\lambda_Y)^ke^{-(\lambda_X+\lambda_Y)}}{k!}$$ $$ P(k=x) = \frac{\lambda_X^xe^{-\lambda_X}}{x!}$$ $$ P(X+Y=k|x) = P(Y=x-k) = \frac{\lambda_Y^{x-k}e^{-\lambda_Y}}{(x-k)!}$$  but I dont really know how to mix that together, because I don't really see what does the event $X+Y$ stands for, and how does it rely on the x in the integral ?  Thank you very much for you help


Swapfile size is 2G. What would be the best size to allocate to it?


What is the string concatenation operator in Oracle?

What is the string concatenation operator in Oracle SQL?    Are there any "interesting" features I should be careful of?    (This seems obvious, but I couldn't find a previous question asking it).


Transitioning the overlap of multiple objects

I'm trying to fade an object's regular solid surface into its wireframe.  I've got as far as duplicating the object and deleting vertices until I'm left with an area of overlap.    Is it possible to render this in such a way that there is a smooth transition at the area of overlap? Maybe there is a better way to achieve this effect?  Another example:


Translation of Weber's Lehrbuch der Algebra vol 1, 2, 3

I have been trying to study elliptic functions and theta function for quite some time and have already got the hang of the classical theory (Jacobi/Ramanujan) based on real analysis, and now would like to study the arithmetical part related to imaginary quadratic fields and their relation to elliptic functions. Having very limited knowledge of Group Theory and Galois Theory (and things covered under Modern/Abstract Algebra) I tried to find classical references and stumbled upon Weber's Algebra, but unfortunately it is in German. Does anyone know if an English translation exists and if so how can it be obtained?  If there is no English translation available can someone point out any good references for "Imaginary quadratic fields and their relation to elliptic functions" keeping in view my very limited knowledge of Abstract Algebra.


Flag as duplicate option is ... duplicate?

It just came to my attention that when flagging (not VTC) a Question as duplicate one is presented with the following options:    As we can see, among those is the "a duplicate..." option. However, if we select the "should be closed..." option instead, we are presented again with an option to flag as duplicate:      I wonder what is the reason for the redundancy in that specific option? Are users more prone to select "should be closed..." instead and thus justify including the option there as well?


Breaking an equation cluster that does not fit on the rest of page across two pages

I wonder why the compiler shift the item that does not fit the rest of the page to the next pages ?! How to tell the compiler to break such item ?!   Here is a screenshot     and here is code regarding this part   \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \usepackage[utf8]{inputenc} \usepackage{titlesec} \usepackage{titletoc} \usepackage{enumitem} \usepackage{mathtools} \setlength{\footskip}{15pt}  \begin{document}  XXX\\[17.5cm] YYY \begin{align*} [\textbf{a},\textbf{b}]_{\mathbb{R}^9}  = \phi\bigl([\phi^{-1}(\textbf{a}),\phi^{-1}(\textbf{b})]_{\mathfrak{u}(3)} \bigr) . \end{align*}  We check the verification of the conditions the bracket $[\,\, , \,\,]_{\mathbb{R}^9}$ must satisfy in the following three steps:  \begin{enumerate}[nolistsep] \item[(i)] (The $\mathbb{R}$-linearity of $[\,\, ,\,\,]_{\mathbb{R}^9}$) For arbitrary $\textbf{a},\textbf{b},\textbf{c} \in \mathbb{R}^9$ and $\alpha_1,\alpha_2 \in \mathbb{R}$, it follows by the $\mathbb{R}$-linearity of $[\,\, \,\,]_{\mathfrak{u}(3)},\phi$ and  $\phi^{-1}$ that \begin{equation*} \begin{split} \bigl[\alpha_1 \textbf{a} + \alpha_2 \textbf{b} , \textbf{c}    \bigr]_{\mathbb{R}^9}   &= \phi\bigl( [\phi^{-1}(\alpha_1\textbf{a}+\alpha_2 \textbf{b}), \phi^{-1}(\textbf{c})]_{\mathfrak{u}(3)}  \bigr) \\&= \phi\bigl( [\alpha_1 \phi^{-1}(\textbf{a}) + \alpha_2 \phi^{-1} (\textbf{b}), \phi^{-1}(\textbf{c}) ]_{\mathfrak{u}(3)}    \bigr) \\&= \phi\bigl( \alpha_1 [\phi^{-1}(\textbf{a}), \phi^{-1}   (\textbf{c})]_{\mathfrak{u}(3)} + \alpha_2 [\phi^{-1}(\textbf{b}), \phi^{-1}  (\textbf{c})]_{\mathfrak{u}(3)}       \bigr) \end{split} \end{equation*}  \end{enumerate}  \end{document}   latex split the block of equations normally except that when I use enumerate environment latex shifts the item entirely to the next page.. This is the only exception and I unfortunately do not know why !


I am running a software which keeps on printing the steps followed and progress of it on the terminal. I would like to redirect the output from terminal to log file as and when the software prints something on the terminal. I don't want to wait until the software terminates.   All the commands seems to help after the program terminates to log the output to a file.  The output should be only in log file not on STDOUT(terminal)


Security - See which user exported reports

Is there a way which I can know which user made export to report?  Details about the user, date and time and the report name?  (A free tool will be great).  Thanks!


Diff: only compare if file exists, not contents

I want to use Diff only to check if files and directories exist the same in two locations but NOT compare the contents of the files themselves, because that's all I need and a regular Diff just takes too long for the amount of data. How would I go about this? Is there some other Debian standard tool that can accomplish this?


I'm extremely confused with the concept of the Unsung Hero badge, since it counts the answers that are both accepted and upvoted. It suggests that the questioner will accept an answer but not upvote it. Don't you think it's a bit schizophrenic behaviour? Or the badge is for people who accept their own answert, unable to upvote it?


Limit of $\sum_{r=0}^{n}\frac{{n\choose r}}{n^r\cdot(r+3)}$ as $n\rightarrow\infty$

Evaluate $$\lim_{n\rightarrow\infty}\sum_{r=0}^{n}\dfrac{{n\choose r}}{n^r\cdot(r+3)}$$   This form forcing me to use integrals, I tried expanding $${n\choose r}=\dfrac{n(n-1)\cdots (n-r+1)}{r!}$$ then dirtributing that $n^r$ to each braket to generate $$\dfrac{1(1-\frac{1}{n})\cdots (1-\frac{r-1}{n})}{r!}$$ then I don't know what to do with $r!$ and $r+3$.  How to proceed further?


I want to make a turn-based game where the player is given "opportunities for attack." An image of the in-game sprite character appears when it's the player's turn to attack. The player can mouseover the various parts of the image, which will highlight that specific body part, like so:    The player can then choose to attack that given body part.   To do this, I was thinking of adopting the "grid" method, and put my image within a 2D array... with each region of the body mapped to a certain square, like so:    Or, I could generate a pixelated version of the in-game sprite within a grid to begin with, so I would already have the mappings, like so:     I'm not sure:   how to partition the image up so that each section is represented meaningfully in the matrix if this is the right way of doing this   Any guidance would be helpful


Cannot install Ubuntu 14.04. Cannot see installation screen when boot from DVD/USB

Hi I have this problem and it is very frustrating. I downloaded 64 bit ubuntu 14.04 and make both DVD and USB drive from the ISO file.   I want to install Ubuntu alongside with my win 8.1. When I choose to boot from USB/DVD under UEFI mode, I can see to options to try or install ubuntu. But if I select one of them, I just see a black screen and it stays that way forever.   SO I can never actually install Ubuntu because I cannot even see the installation screen!  I turned off fast boot in win 8.1 and secure boot in UEFI. I do not know what causes the problem. I built this desktop by my own and the motherboard is Asrock Z77 and CPU is 3570k.  Can anyone help me with this problem? I really need to use ubuntu.   Thank you so much!!


Move incoming Outlook emails to folder containing previous conversation

I file email conversations in various folders. But every new email in that conversation goes to inbox, so I have to manually move it to the folder that contains the rest of the conversation. Is there a way for Outlook to do this automatically with all new emails?  What I want: Outlook will do the following automatically as long as it's running:   For all unread emails in inbox... ...if email is not the first in the conversation, search for folders where that conversation is stored. If found, move the new unread email to the first* folder it finds (except for Inbox, Trash, or Sent). Optionally: If there is more than one folder containing messages in the same conversation, then do nothing.   **If there is more than one folder containing messages in the same conversation, then do nothing*. (This extra rule is not necessary if it complicates the solution too much)  Thanks!


Categorical variables with too many levels in machine learning

I have a machine learning problem where the dependent variable is binomial (Yes/No) and some of the independent variables are categorical (with more than 100 levels). I'm not sure whether dummy coding these categorical variables and then passing them to the machine learning model is a optimal solution.  Is there a way to deal with this problem?


Which Google Updater is the one that I should allow to run?

My machine has 5 Google updaters running:   Service: Google Update Service (gupdate)     Keeps your Google software up to date. If this service is disabled or stopped, your Google software will not be kept up to date, meaning security vulnerabilities that may arise cannot be fixed and features may not work. This service uninstalls itself when there is no Google software using it.   C:\Program Files (x86)\Google\Update\GoogleUpdate.exe /svc  Service: Google Update Service (gupdatem)     Keeps your Google software up to date. If this service is disabled or stopped, your Google software will not be kept up to date, meaning security vulnerabilities that may arise cannot be fixed and features may not work. This service uninstalls itself when there is no Google software using it.   C:\Program Files (x86)\Google\Update\GoogleUpdate.exe /medsvc  Service: Google Updater Service  C:\Program Files (x86)\Google\Common\Google Updater\GoogleUpdaterService.exe  Scheduled Task: GoogleUpdateTaskMachineCore     Keeps your Google software up to date. If this task is disabled or stopped, your Google software will not be kept up to date, meaning security vulnerabilities that may arise cannot be fixed and features may not work. This task uninstalls itself when there is no Google software using it.    Runs at logon of any user Runs daily at 10:08 AM    C:\Program Files (x86)\Google\Update\GoogleUpdate.exe /C   Scheduled Task: GoogleUpdateTaskMachineUA  Keeps your Google software up to date. If this task is disabled or stopped, your Google software will not be kept up to date, meaning security vulnerabilities that may arise cannot be fixed and features may not work. This task uninstalls itself when there is no Google software using it.   Runs every hour  C:\Program Files (x86)\Google\Update\GoogleUpdate.exe /ua /installsource scheduler     Now obviously Google doesn't need all these items running at the same time; some are going to be legacy duplicates.  Which one is the current, true, preferred, Google updater?  Would the real Google updater please stand up, please stand up,  please stand up.    My setup:   Windows 7 Professional 64-bit Chrome one interactive user account


Find $A \subseteq \mathbb{R}$ which is ishomorphic to $\omega^3$

I know by intuition that $\omega^{2}\cong\{k-\frac{1}{n}\mid k>0,n<\omega\}$ How can I find a set which is isomorphic to $\omega^3$? I would love to see an example If possible, I would like to see an example for  $\omega^n$ or $\omega^\omega$ aswell.


I know the  is uncountable, but I just came with an argument that shows it is countable. Obviously my argument is wrong, but I just don't know where is the mistake. Here it is.  Let $C$ be the Cantor set, we know $C$ is closed, so $A = [0,1]\setminus C$ is open. As $A$ is open, we know there is a collection of open disjoint intervals $(a_n,b_n)_{n=1}^\infty$ such that $A=\bigcup_{n=1}^\infty(a_n,b_n)$.  Given any intervals $(a_n,b_n)$ and $(a_m,b_m)$ (suppose $b_n\leq a_m$), we may have or not points of $C$ in $[b_n, a_m]$.   If $b_n<a_m$, is not possible that $[b_n, a_m]\subset C$, for $C$ is nowhere dense. In this case, there is more open intervals inside $[b_n, a_m]$. So we get more intervals and to the same reasoning.  If $b_n=a_m$, it is possible that this point is in $C$.  My problem is how to manage the first case. Looks like doesn't matter if there is more open intervals inside this 'gaps', in the final I will have only the cases where $b_n=a_m$. In other words, these are the only possible points in $C$, therefore $C$ is countable.


How will the SEO be affected if I move a website to new host, the domain name will remain the same and old urls map to new ones. The owner wants to update some content (add and remove) on the new sites pages? Will adding content negatively affect the SEO of the pages?


Which of these sentences sounds correct?  These dynamics are used to explain the convergence toward an equilibrium state. These dynamics are used to explain the convergence towards an equilibrium state.  I have been reading a lot of posts, but I still have doubts. Need your suggestions :).


The movie THAT I want to see is called ... or... the movie I want to see is called

The movie that I want to see is called...    or     The movie I want to see is called....   From reading up on it I understand that both are grammatically correct, but why is the one without that used more? (more matches in Google)  Thanks


Voltage Rectifier Fails When Doorbell Button Shorts Inputs

I am working on a project that involves powering a 3.3V microcontroller off a doorbell transformer. The design uses a full-wave bridge rectifier (1) to convert the AC voltage from the doorbell transformer to DC, which is smoothed by a capacitor. A switching regulator (2) then converts the DC voltage from the bridge rectifier to 3.3V to power the MCU.    Since the doorbell still needs to function, a switch is used to trigger the doorbell chime. However, I am running into an issue: when the doorbell button is pressed, shorting the AC inputs to the bridge rectifier, it destroys the switching regulator.  One initial thought provided by a  was that the doorbell solenoid created a high voltage inductive kick that was killing the circuit. To prevent this, a bidirectional TVS diode was installed across the doorbell solenoid (3) for ESD supression. The bridge rectifier does not appear to have any issues and continues to function normally even after the switching regulator fails.    I am working to find a way to allow the doorbell to be triggered without damaging the voltage regulator and I would greatly appreciate any insight into why the regulator might be failing.  All of the datasheets for the components are listed below:  1) : Bridge rectifier  2) : Switching regulator  3) : TVS diode  edit: In a previous question I thought that the bridge rectifier was failing. It turns out that it is actually the regulator failing.


error while sending sms using java using twillo app

I am trying to send SMS from java web application using Twillo app. But I am getting the following error at Glassfish server 4.1.1   java.lang.NoClassDefFoundError:   org/apache/http/conn/HttpClientConnectionManager    at    Message message = Message.creator(new PhoneNumber(""),   I have added Twilio 7.41.2 jar in my netbeans ide library folder. But I       have not added any maven dependency in pom.xml as this is not maven enabled the project, is this the error due to missing maven dependency?     index.jsp    <form action="sms" method="post">   <input type ="submit"/>   </form>    Servlet sms.java    import com.twilio.Twilio;   import com.twilio.rest.api.v2010.account.Message;   import com.twilio.type.PhoneNumber;   import java.io.IOException;   import java.io.PrintWriter;   import javax.servlet.ServletException;   import javax.servlet.http.HttpServlet;   import javax.servlet.http.HttpServletRequest;   import javax.servlet.http.HttpServletResponse;    protected void doPost(HttpServletRequest request, HttpServletResponse    response) throws ServletException, IOException {   PrintWriter out = response.getWriter();    try{    final String ACCOUNT_SID = "myaccountsid";   final String AUTH_TOKEN = "my string authtoken";    Twilio.init(ACCOUNT_SID, AUTH_TOKEN);    Message message = Message.creator(new PhoneNumber("recipient phone no"),   new PhoneNumber("recipient phone no"),"Hello This is Tom").create();    out.println(message.getSid());       processRequest(request, response);      }  catch(IOException | ServletException e){     }   }   Any help is much appreciated.


$f\circ f$ is linear implies $f$ is linear

I saw a question that asked for the possible values of $f(-1)$ if $(f\circ f)(x)=4x-12$. The solution uses the fact that if the degree of $f$ is $n$, the degree of $f\circ f$ is $n^2$, and concludes that $f$ must be linear i.e. be of the form $ax+b$. The rest is easy. I understand that this is the case if $f$ is a polynomial, but the question doesn’t state that. What if there exists a weird function with logarithms, trigonometric functions etc. that is not linear but its composition with itself is linear? In other words, maybe the composition “cancels out” the weirdness. Obviously, involutions are a trivial example since the composition is $x$. My question is: Is there a function $f$ that is not linear, but $f\circ f$ is linear and is not the identity function?


Counting number of strictly increasing and strictly non identical functions

How many functions from $f:A \rightarrow B$ where $A=\{a_1,a_2,\ldots,a_6 \}, B=\{1,2,3,\ldots,9 \}$ such that $f(a_{i+1})>f(a_{i}) \quad \forall \quad 1 \leq i \leq 5$ and $f(a_j) \neq j \quad \forall 1 \leq j \leq 6$   Attempt: $a_6$ can take values $7,8,9$. $a_5$ can take values $6,7,8$ so on till $a_1$ can take values $2,3,4$. I wrote down these possibilities in a vertical column, one below the other, in the same order. I noted that starting from any row, we can proceed(values permissible) only vertically upward or diagonally upward to the next row.   I couldn't think of any other idea. Although here brute Force with the above logic is feasible since the numbers and possibilities are fairly small (I got the answer doing so), but is there any other way? Preferably a more general one with set A having $n$ elements and set B having $m$ elements with the same constraints.  I couldn't spot a pattern in the above brute Force method.


Expected value and distribution function of a simple random walk

Suppose we have a simple random walk on a line with starting at $0$ ,we have equal probability of moving 1 unit right or left, what's the expected value of number of steps that we reach point $r$ or $-r$ , what about random walking on a plane starting at $(0,0)$ and reaching a circle with diameter $r$.


I'm trying to do computations on Javascript dates, and the following thing happens:  var date = new Date()   undefined date * 2   2815580408292  date - 10000   1407790194146 date / 6    234631700691 date + 10000   'Mon Aug 11 2014 13:50:04 GMT-0700 (PDT)10000'   It was going so well until I got to the +, where it turned from performing the operation on the milliseconds to concatenating strings. I need + to perform addition on milliseconds, not string concatenation. I'm doing this weird code-generation thing, so I can't do stuff like date.setTime(date.getTime() + 10000) without extraordinary effort and sullying the codebase. Is there some way of hacking Javascript so that + will add the milliseconds instead of concatenating as strings, or is there some date library that I can use + on its date objects and have it do addition rather than concatenation? I tried date.js but it concatenated too.


On my MacBook with OS Mojave, Command Shift Period (show hidden files) stop working. How to restore it?? Thanks in advance!


Putting a txt lines into diffrent arrays or arraylists


Applying to PhD programs; do I need to include transcripts from unrelated master's degree program?

I'm interested in pursuing a PhD in a particular humanities field and I feel that my undergraduate GPA is strong enough for me to get into such a program at a top school. However, my path to deciding this has been somewhat circuitous. Along the way, I completed a master's degree in a completely unrelated subject which I became uninterested in and disillusioned by while I was in the program. I decided to complete it anyway and as a result of my lack of passion for the field, I didn't perform very well in my master's program and just did the minimum to complete my degree.  Now when I look at PhD applications, I see that every school's admission page says you must submit transcripts from all university level courses taken even though only a bachelor's degree is required for admission. My question is, if by omitting transcripts from my master's program, would I be violating most admission policies and/or risk having a misleading or unethical application?


Control iPad with iPhone (Netflix in particular)

I have searched all over the internet for an answer to this question and have not found anything. Basically, my iPad is connected to my TV in my room and I don't want to have to get up every time a movie or show ends to go to the next one. This would be my primary use for it, but I'm sure I would find many other uses. I would like to be able to completely control my iPad screen from my iPhone (have it appear fully on the phone). Similar to controlling a PC or Mac from an iOS device. Any suggestions? I have an iPad 3rd gen (not Jailbroken) running 7.1 and an iPhone 5s (Jailbroken) running 7.0.4.


showing that no repunit is a square - proof verification

Theorem: Numbers $11,111,1111, \ldots$ are called repunits. No such number is a square.  All repunits are odd numbers. Therefore they must be of the form $4n+1$ or $4n+3$. And since all squares are of the form $4n+1$, one can show that no repunit is a square by showing that all repunits are of the form $4n+3$. It is this claim I would like to prove.  Repunits have the form $10^n+10^{n-1}+\ldots + 10^0$. Summing this as a geometric series one gets $\frac{10^{n+1}-1}{9}$.  The claim is that for all $n \in \mathbb{N} $  there exist $k \in \mathbb{Z}$ such that $\frac{10^{n+1}-1}{9} = 4k+3$. This can be rewritten as $10^{n+1}-28 = 36k$. Assuming $n > 1$ (case $n=1$ can be verified seperately) we get $10^2 \times 10^m - 28 = 36k$ (where $m = n-1$).   Dividing the equation by 4, we get $$25 \times 10^m- 7 = 9k.$$ Rewriting this as a congruence we have $25 \times 10^m \equiv 7 \mod{9}$.  Since $4$ is a multiplicative inverse of $25 \mod{9}$, we have $10^m \equiv 28 \mod{9}$.  So $10^m \equiv 1 \mod{9}$, which is easily verified using the power rule for congruences.  Some teachers probably wouldn't be too happy about this proof, since it is "logically backwards", but that aside, is this proof sound?


RegEx for Javascript to allow only alphanumeric

I need to find a reg ex that only allows alphanumeric. So far, everyone I try only works if the string is alphanumeric, meaning contains both a letter and a number. I just want one what would allow either and not require both.


Perspective and changes in kinetic energy

Say you have two planes flying next to each other at the same speed and one decides to pick up speed by burning a tank of rocket fuel.  If someone on the ground wanted to know that plane's new speed after burning the fuel and knew the plane's mass, initial speed, and energy stored in the fuel, he could calculate it using conservation of energy.  If the pilot of the other plane wanted to calculate the same thing but didn't know his own speed, he could calculate the speed of the first plane relative to himself using conservation of energy--the initial relative speed is 0 and all the work done by the rocket fuel is converted into the plane's new kinetic energy.  He could then relay this relative speed to someone on the ground who knew his plane's speed, but adding the speed of the second plane to the calculated speed of the first relative to the second would give a different value for the first plane's speed than the first guy on the ground would have calculated.  I see why this doesn't work mathematically (a^2+b^2 isn't (a+b)^2), but why can't the second pilot calculate the new speed of the first plane relative to himself by converting the stored fuel energy into kinetic energy? Why when on the ground do we not consider our motion relative to, say, the moon when calculating the first plane's speed relative to us, but the second pilot must consider his speed relative to the ground before calculating the first plane's speed relative to himself? Or maybe to put it better, why is having no movement relative to the Earth instead of relative to the plane's initial speed (the second plane) or anything else the correct way to approach this problem?


I have this logrotate config and I am running on Ubuntu 10.04.  /var/log/mysql/mysql-slow.log {     daily     rotate 3     compress     notifempty     missingok     create 660 mysql adm     postrotate      if test -x /usr/bin/mysqladmin && \        /usr/bin/mysqladmin  ping &>/dev/null     then        /usr/bin/mysqladmin  flush-logs     fi endscript   }  I put this in /etc/logrotate.d yesterday and today the log was not rotated.  Below are the things that I have done:   I verified that the log is indeed in /var/log/mysql/mysql-slow.log  mysqladmin lines work fine when run as root mysql is able to write to the mysql-slow.log   When I did this:  $ logrotate -d -f mysql-slow  reading config file mysql-slow reading config info for /var/log/mysql/mysql-slow.log   Handling 1 logs  rotating pattern: /var/log/mysql/mysql-slow.log  forced from command line (3 rotations) empty log files are not rotated, old logs are removed considering log /var/log/mysql/mysql-slow.log  log needs rotating rotating log /var/log/mysql/mysql-slow.log, log->rotateCount is 3 dateext suffix '-20120329' glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' renaming /var/log/mysql/mysql-slow.log.3.gz to /var/log/mysql/mysql-slow.log.4.gz     (rotatecount 3, logstart 1, i 3),  renaming /var/log/mysql/mysql-slow.log.2.gz to /var/log/mysql/mysql-slow.log.3.gz (rotatecount 3, logstart 1, i 2),  renaming /var/log/mysql/mysql-slow.log.1.gz to /var/log/mysql/mysql-slow.log.2.gz (rotatecount 3, logstart 1, i 1),  renaming /var/log/mysql/mysql-slow.log.0.gz to /var/log/mysql/mysql-slow.log.1.gz (rotatecount 3, logstart 1, i 0),  renaming /var/log/mysql/mysql-slow.log to /var/log/mysql/mysql-slow.log.1 creating new /var/log/mysql/mysql-slow.log mode = 0660 uid = 20004 gid = 4 running postrotate script running script (multiple) with arg /var/log/mysql/mysql-slow.log : "      if test -x /usr/bin/mysqladmin && \        /usr/bin/mysqladmin &>/dev/null     then        /usr/bin/mysqladmin flush-logs     fi " compressing log with: /bin/gzip removing old log /var/log/mysql/mysql-slow.log.4.gz    Where is the log that shows that logrotate was successful? I want to see if there is anything that would say that there was a problem. Any ideas on why the logrotate is not working?


Is there a reason why Marvel doesn't take action against DC (or vice-versa)?

In the CW's series The Flash, we see Cisco Ramon, and in some instances even Felicity Smoak use the references to Marvel characters such as Spider-man, The Incredible Hulk and many others.  On the other hand, in Raimi's Spider-man 2002, we see Peter Parker also call out Shazam! in an attempt to shoot his webbing (reference to DC's Captain Marvel or SHAZAM).  My question is, is there a reason Marvel (or Disney) doesn't sue CW or DC for using their character references? Or is there some sort of mutual coordination between the two.


Is it intentional that suggested edits are resolved so quickly?

Having just recently reached 2K rep and edit review capabilities I've noticed that suggested edits are typically approved/rejected in less than 10 seconds. If you take your time to read the suggested edit, you will almost certainly have it approved or rejected out from under you.  Is this intentional?   It seems to be impacting the quality of the review process.  If this is not intentional, I'd like to request a fix:   Parcel the suggested edits out to fewer reviewers, or  Lock the ability to approve/reject to the first reviewer for a short time (~ a minute?) to give enough time to carefully review the suggested edit


What is the difference between "a lack of confidence" and "lack of confidence?"

Below are some example sentences:   Her only problem is a lack of confidence.  Lack of sleep had made him irritable.  If he fails it won't be for/through lack of effort (= he has certainly tried).  We won't be going away this year - lack of funds, I'm afraid.    What are the differences in those sentences?


Would birds be able to fly if the air had no viscosity?

There are already many answers to the general question of why birds or planes can fly. But my question is more specific: I would like to understand the relative importance of the viscosity. The air has a very low viscosity, so I am wondering whether it really makes a difference that the viscosity is non-zero. Or could a bird fly in a non-viscous fluid?


Getting cash in Israel (least expensive way)

What is the least expensive way for an American tourist in Israel to get cash?  The options seem to be:  Debit card - but there are withdrawal fees, often 5% or more.  Credit card - but interest starts immediately when taking out cash, yet one month fee may be less than the debit card fee  Carry cash - but there is a conversion fee when changing into local currency.  What are the options to minimize fees?  Note: This question was asked in more general terms in 2011 and some relevant information is available in that question . But even in 2011 the answer was too general, not naming specific banks or credit cards.  Also, I am specifically asking about Israel, not the world, and about 2016, not 2011.  So I am asking that the question be reopened.


Im trying to parse some data from text file each "textOp" is described as string array, and all "textOp"s of a specific "Field"is added to the "temp" list, and every "field" has its own list (like you can see in the code picture), the data is initialized as: List<List<string[]>> data = new List<List<string[]>>(); string[] HeaderFromText = new string[10]; Label[] labels = new Label[100]; int LabelCount =0; int FieldCount = 0; int PrevFieldCount = 0; int TextOpCount = 0; bool TextOpAccamulated = false; string[] tempStringForList = { "0", "0", "0", "0", "0", "0", "0", "0", "0" }; string[] PrevtempStringForList = { "0", "0", "0", "0", "0", "0", "0", "0", "0" }; List<string[]> temp = new List<string[]>();  The questions is: Im having trouble to make this work, as far as i understand lists are reference type , so when i iterate - no new list is created and hence all changes affect both the new list and the already added list, how can i fix that? private void Form1_Load(object sender, EventArgs e)         {             string path = @"c:\New folder\Sample.txt";             string[] textFile = File.ReadAllLines(path);             foreach (string line in textFile)             {                 int parseRTN = ParseTextFile(line);                  if ((PrevFieldCount < FieldCount-1) && (TextOpAccamulated))                     {                         PrevFieldCount = FieldCount;                         FieldCount = 0;                         data.Add(temp);                         temp = new List<string[]>();                         TextOpAccamulated = false;                     }                  if (parseRTN == 1)                  {                     temp.Add(tempStringForList);                     PrevtempStringForList = tempStringForList;                     tempStringForList = new string[] { "0", "0", "0", "0", "0", "0", "0", "0", "0" };                     tempStringForList = PrevtempStringForList; TextOpAccamulated = false                  }             }         }


IEnumerable , IEnumerator vs foreach, when to use what

I was going through  IEnumerable and IEnumerator , but could not get one point clearly..if we have foreach, then why do we need this two interfaces? Is there any scenario where we have to use interfaces.If yes, then can somebody explain with an example. Any suggestions and remarks are welcome. Thanks.


Why is the relationship between force and acceleration linear?

When discussing with my children Newton's laws (high school level), I told them (long story short) that one can imagine that since a body on which all forces balance move straight and at constant speed, one can imagine that not moving at constant speed implies (or is linked to) the fact that there is a net force.  And that this relationship is linear, and that the coefficient is the mass. And that this is magical.  I then started to wonder why   the relationship is linear the coefficient is the mass of the object   Are there fundamental reasons for the relationship to be exactly $F = m \times \dot v$, with $m$ being simply the mass?  What I am trying to say that this could have been $F = m^{1.346} \times \dot v^{0.6547} + 10^{-11}$ (obviously made up example for a non proportional relation, with a tiny loose end, and a less nice coefficient)


Bouncing ball stops bouncing after 250 seconds

I have this simple setup of a sphere and a plane. The sphere is animated the first 15 seconds and then the rigid body is turned to dynamic. When the sphere hits the plane it starts bouncing and continues to do that till frame 250 and then stops bouncing (although the animation ends at frame 1000). Why is stopping with bouncing ?


Showing dimension of each eigenspace is 1

$T$ is a linear map on an $n$-dimensional vector space. Given, for some vector $v$, the set {$v, T(v), ...T^{n-1}(v)$} is linearly independent, then every eigenvalue of $T$ has only one eigenvector upto scalar multiplication. Someone told me this might be easy using Jordan blocks but since I haven't learnt that yet, a solution without that would be appreciated. My approach: From the given condition it is easy to see degree of the minimal polynomial of $T$ is same as that of it's characteristic polynomial. This implies both of them are equal, since the former divides the latter. If I can somehow show one of them splits into distinct linear factors I am done. I think I have to take the restriction of $T$ in an eigenspace and consider dimensionality somehow. I'm not sure.


Random House has  inherent: existing in something as a permanent and inseparable element. intrinsic: belonging to the thing by its very nature.  Are these the same? Are they interchangeable? I was debating with myself as to the proper usage in:  They debated the inherent dangers of materialism.  Would this be better?  They debated the dangers intrinsic in materialism.


I made a mistake by setting root partition to only 10GB during 20.04 installation. I checked LVM so I gues Gparted is out.  Can you please tell me what is the easiest way to move 10GB from home to root partition?    Thx


What is a good thermodynamics book with problems and solutions?

I’m looking for a good book on thermodynamics with problems and solutions at an undergraduate level. Please let me know if you know any.


Personal research journal/notes - an electronic solution?

Is anyone perhaps aware of an application, or ideally a website (always accessible) to keep track of personal notes on ones research?  This would be similar to a physical personal research journal (e.g. a simple hardcover book with ones notes), but in electronic format. I'm looking for something a bit more structured and standardised than an MS Word or Excel document, although if there's no alternative, that will have to do.


How can I call controller/view helper methods from the console in Ruby on Rails?

When I load script/console, sometimes I want to play with the output of a controller or a view helper method.  Are there ways to:   simulate a request? call methods from a controller instance on said request? test helper methods, either via said controller instance or another way?


Reinstall applications on a new system in an easy way?

Say I want to migrate from Ubuntu to Debian, or the other way around, how can I reinstall all of my apps on my new system? For config it is super simple, just back up the home folder, but is there an easy way to reinstall all of your apps/software on the new system in an automated and simple manner?  Thanks


Have a python script always reference the same directory regardless of where it's run in the system

I have a python script that accepts file names as arguments and performs operation on those files. Currently the script is in the same directory as the files it operates on. But I want to be able to run my python script from anywhere in the operating system. When I give the file name as argument to the script, it should know exactly which directory to look for regardless of where the python script is running in the system. How can I achieve this in python?  Here is the relevant portion of the script. Can I just hard code the path?  The type_mapping_file will be the filename passed into the script as an argument.  data = None with open (type_mapping_file, "r") as myfile:     data=myfile.read()  if(data is not None):     request_params = {'type': type_name, 'index': index_name}      send_http_request("/index/type/create", request_params, base_url, post_body=data)   Thank you in advance.


Scratch on front element causes flare; how to minimize?

I bought a used Canon 28-135mm USM lens for cheap as a YOLO moment.  The lens is lovely in all respects except for a few slight scuffs on the front element I have indeed seen the lens rentals blog post with the smashed lens; mine isn't nearly as bad, but I'd like to use it for hiking in sunlight. The lens has a soft/flared spot outside in direct sunlight. I got a lens hood for it to minimize this; what else can I do that doesn't involve replacing the front element? See the soft/bright spot in the brown foliage of the palm tree:  It's still a decent lens; I'm going to keep it in my bag as a backup.


Why does a subpanel need separate ground and neutral?

Why does a power sub panel have to have separate neutral and ground bars other than code satisfaction?  Does a sub panel need a main breaker if there is one at the main?   Also, does the sub panel need a ground wire connected back to the main panel in the same building?


How to change LaTex paper left, right, top and botton margins?

I just want to change the paper left, right, top and botton margins in LaTex because I think the default margins isn't enough.


force:navigateToSObject call not working

I am going through the documentation found here SF Lightning Guide, and during the portion where they create the Contact List view on page 36 they cover the click event using the built in force namespace action: navigateToURL. No matter what I try - $A is null. I have debug enabled, and can see that the line immediately before that call is working fine, and receives the ID of the record for the component, but $A is always coming back null.  I have tried e.force, e.., e.c., etc and cant imagine that this is normal. Everything else has been pretty smooth - but then this came along and I have spent several hours looking for anyone experiencing the same thing. This is a last resort before I scrap both this component and the one above it and start again from scratch.  Error being thrown is:      Uncaught error in markup://ui:click : Cannot read property 'setParams'   of null   I am using the exact code from the document at this time. Any ideas to try appreciated.  The code below is being called when a user clicks on a ui:outputText.  The sObjectEvent variable is always null.   I am wondering why it is always null - I assume the force namespace is always available.   gotoRecord : function(component, event, helper) { // Fire the event to navigate to the contact record     var sObjectEvent = $A.get("e.force:navigateToSObject");     sObjectEvent.setParams({         "recordId": component.get("v.contact.Id"),         "slideDevName": 'related'     })     sObjectEvent.fire(); }   EDIT:   Not able to comment yet - Tried adding <aura:dependency resource="markup://force:navigateToSObject" type="EVENT"/> to the component and now the error is gone, but nothing happens when you click the text either.    Developer Console is showing that the Event is now being picked up, and that the Params are set properly - $fired$ is true, and the params contains recordId properly now.  I will play with moving some controls around and switching it from a ui:outputText to something else.  Thank you for the responses.


I have a little problem in Latex, which can be easily corrected, but nonetheless I'd like to understand what is going on. Briefly, the problem is that in any document, if I include the abstract, all the main text turns to small size.   Here it is the MWE (BTW, the problem is not because of changing the font family, but font sizes are better distinguished this way):  \documentclass[a4paper, 12pt, notitlepage]{article}  \usepackage[english]{babel}  \usepackage[utf8]{inputenc} \renewcommand*\rmdefault{ppl}  \begin{document}  \abstract{Donec vel lacinia tellus, vel feugiat massa. Proin orci nibh, eleifend vel velit quis, semper faucibus purus. Vivamus ultrices urna eget orci feugiat, vitae elementum mi sagittis. Praesent dignissim mauris lacus, in rhoncus quam posuere sit amet. In hac habitasse platea dictumst. Nullam et interdum ante. Proin accumsan erat quam. Nunc nunc eros, tempor quis ante id, pharetra porttitor dui. Sed at enim lobortis, sagittis odio nec, ullamcorper nunc. Aenean varius vel mi ac dictum.}  \newpage     \section{Introduction}  {\small Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis iaculis gravida. Suspendisse et dapibus justo. Mauris faucibus massa augue, non placerat nunc faucibus vel. Suspendisse imperdiet sed tortor sed elementum. Nullam at purus imperdiet, dapibus nunc nec, tincidunt diam. Curabitur placerat nulla eu purus volutpat, id porta ipsum gravida. Suspendisse mi odio, euismod nec nulla at, convallis eleifend metus. Curabitur ac cursus nisi.}  Donec vel lacinia tellus, vel feugiat massa. Proin orci nibh, eleifend vel velit quis, semper faucibus purus. Vivamus ultrices urna eget orci feugiat, vitae elementum mi sagittis. Praesent dignissim mauris lacus, in rhoncus quam posuere sit amet. In hac habitasse platea dictumst. Nullam et interdum ante. Proin accumsan erat quam. Nunc nunc eros, tempor quis ante id, pharetra porttitor dui. Sed at enim lobortis, sagittis odio nec, ullamcorper nunc. Aenean varius vel mi ac dictum.  {\normalsize Maecenas a est accumsan, tempor mi nec, lacinia nisi. Morbi eleifend odio et mauris facilisis ultricies. Praesent ipsum magna, malesuada vitae euismod non, finibus ac magna. Sed tempus est eu libero hendrerit malesuada. Sed facilisis quam tristique, dignissim enim non, finibus felis. Integer ultricies ligula sit amet nulla bibendum, eget cursus sem fermentum. Duis auctor libero sed arcu pharetra, a ultrices orci pulvinar. Sed varius vehicula dolor non tincidunt.}  \end{document}   If I compile the code as it is, the page would look like this:    But if I comment out or delete the line of the abstract, it looks like this:    Anyone knows why is this happening?  Thanks!


Ubuntu 13.04 64 bit install with Win 7-64 - no OS found

I attempted to install Ubuntu 13.04 with Windows 7 64 bit on an HP DV7t-7000 notebook. The Ubuntu installer was unable to identify the existing Windows installation. I have two hard drives installed and I think it did not even see the first one possibly because it is GUID and the notebook is using UEFI.


I encountered an error while trying to install Ubuntu Touch on my Nexus 4.   After the following command:  phablet-flash (cdimage-touch|cdimage-legacy|ubuntu-system|community) -b   I received an error saying: syntax error near unexpected token 'cdimage-touch'  Anyone know where I'm going wrong?  Thanks


I has windows and ubuntu in dual-boot. Once I logged in Windows and erased ubuntu partition. After that I've got a "no such partition" error with a blanking grub prompt.   Now the problem is that I'm on a bus right now with unrooted Samsung S7 with an SD card. Is there any way to use it as a live cd?


writing article instead of asking question

I recently saw this question  which answer is almost 7 pages long and the OP is saying he is still writing. My question is: is that appropriate to write an article on a FAQ form? Why not ask the OP to write it on his blog/website instead of writing his article at Stack Overflow?  Also in my view this is not merely useful.   Also should we flag for that kind of post?


Let $a,b,c>0$, prove that: $$\frac{1}{(2a+b)^2}+\frac{1}{(2b+c)^2}+\frac{1}{(2c+a)^2}\geq\frac{1}{ab+bc+ca}$$  I tried to use the inequality $\frac{a^2}{x}+\frac{b^2}{y}+\frac{c^2}{z}\geq\frac{(a+b+c)^2}{x+y+z} \forall x,y,z>0$ but that's all I can do. I think this inequality is too tight to use AM-GM or Cauchy Schwarz alone.


Given a minimal example:  #ifndef ARR_H_ #define ARR_H_  #include <iostream>  class Array {     public:         Array();         int operator[](int idx);     private:         int arr[10]; };  int Array::operator[](int idx) {     std::cout << "ok";     return arr[idx]; }  #endif   and I attempt to create an object  #include "test.h" #include <iostream>  int main() {     std::cout << "Create" << std::endl;     Array obj();     int i = obj[0];      return 0; }   Why do I get the error  main.cpp: In function ‘int main()’: main.cpp:7:18: warning: pointer to a function used in arithmetic [-Wpointer-arith]      int i = obj[0];                   ^ main.cpp:7:18: error: invalid conversion from ‘Array (*)()’ to ‘int’ [-fpermissive]   Why does it not use my operator[]?


Why infrared light waves is visible through camera?

For example We know that some television manufacturers have the limited IR-based remotes which cannot be seen by our eyes directly but while playing when I just put my camera in front of my TV remote I just saw light but I can't see it directly. So why is it visible through camera rather than our eyes directly ?  I just took one image to show what I saw!


Two-Dimention array keeps updating entire row instead of each cell, what's wrong with my code?

I'm using python to illustrate DP algorithm. During memoization which keeps updating the table, I found that the table was not updated correctly.  I've narrowed down to the line "dp[t_id][_p] = max(choice_1, choice_2)", and I don't see what's the problem there.  tasks = [1,2,2,3] dp = [[0]*(p+1)]*len(tasks) for t_id in range(len(dp)):     for _p in range(p+1):         choice_1 = 1         choice_2 = 2         print dp         dp[t_id][_p] = max(choice_1, choice_2)         print dp   I expect the dp table should be updated one cell at a time, whereas dp[0][0] = 2, then dp[0][1] = 2, etc. However, it's updating as dp[every_column][0] = 2. The two prints in code should showcase the issue.  screenshot


Why one should follow Snell's law for shortest time?

whenever two media and two velocities are involved, one must follow Snell's law if one wants to take the shortest time.   Why snells law must be followed to travel diffrent media in shortest time?  Does this mean that the path followed by light in travelling through different media will give a straight line if different media are transformed into like first media? I think so because one would get shortest time if one travel in a straight line.  So how does this apply to particles? Does this statement points wave particle duality?


I would like to extend and override the fields existing in the User model, which is found in "django.contrib.auth.models" (The model is already created). I first attempted to create a Foreign-Key and a One-to-One relationship between the User model, and a Client model (in which I added the extra fields), but I don't think it is good practice. How could I directly add and override fields within the User model and not have to create another class model to extend it. from django.contrib.auth.models import User  class Clients(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE) #client = models.OneToOneField(User, on_delete=models.CASCADE) cell = models.PositiveIntegerField (blank=False) address = models.CharField(default = "Sandton, JHB", blank = False, max_length=132)


I have a publish subscribe queue message listener method which fires an event when it reads a message in the queue & adds the message to a publisherPostListenerList  in the ApplicationListener class.   The messages added in the list are being pushed to multiple subscribers like real time notifications from the controller method.   After pushing the message to a respective logged in user I am removing the message from the list to avoid the push of redundant message to the user also it keeps in check the size of the list.   The problem is there is only single instance of publisherPostListenerList for all the logged in users. The list being an instance list there should be a separate copy for every logged in user but its not the case. Please correct me if I am wrong.  If I delete a message it deletes the message from the publisherPostListenerList  for all the subscribers.   Now my questions are   1. Shouldn't there be an individual copy of publisherPostListenerList list for every logged in user, the list being an instance list.  2. How do I create a separate copy of list for all the logged In users  P.S. I tried changing the bean scope to prototype but didn't work.   Below is the ApplicationEventListener class which holds the list & the controller code.   ApplicationListener.java  @Component public class ApplicationEventListener {      private List<Post> publisherPostListenerList = new CopyOnWriteArrayList<Post>();      private static final Logger logger = Logger.getLogger(ApplicationEventListener.class);      @EventListener     public void postSubmissionEventHandler(PostSubmissionEvent event) throws IOException {         Post post = event.getPost();         logger.debug("application published user post received " + post);         publisherPostListenerList.add(post);     }      public List<Post> getPublisherPostListenerList() {         return publisherPostListenerList;     }      public void setPublisherPostListenerList(List<Post> publisherPostListenerList) {         this.publisherPostListenerList = publisherPostListenerList;     } }   Controller method for pushing the message to the subscriber  @RequestMapping(value="/getRealTimeServerPushUserPosts")     public SseEmitter getRealTimeServerPushUserPosts(@RequestParam("userId") int userId){         SseEmitter sseEmitter = new SseEmitter();         CustomUserDetail myUserDetails = currentUserAccessor.getCurrentLoggedInUser();         User loggedInUser=myUserDetails.getUser();          List<Integer> userPublisherIDList = this.userService.loadUserPublisherIdListWhichLoggedInUserFollows(loggedInUser);         List<Post> postList =eventListener.getPublisherPostListenerList();           for(Integer userPublisherId : userPublisherIDList){             for(Post post:postList){                     if((userPublisherId.intValue()) == (post.getUser().getUserId().intValue())){                         try {                         sseEmitter.send(post);                         postList.remove(post); //removes the post for all the subscribers as the list acts as a global list.                     } catch (IOException e) {                         logger.error(e);                     }                 }              }          }         return sseEmitter;     }


How can I guarantee that my enums definition doesn't change in JavaScript?

Would the following make the objects fulfill all charasteristics that enums have in JavaScript? Something like: my.namespace.ColorEnum = {     RED : 0,     GREEN : 1,     BLUE : 2 }  // later on  if(currentColor == my.namespace.ColorEnum.RED) {    // whatever }  Or is there some other way I can do this?


How to use multiple LDR to trigger a led?

Whats the best way to use multiple LDRs to power up an LED? Currently I’m using one LDR which turns on an LED when it senses light. But now I want to use three LDRs (at different locations) to trigger the same LED. The LED should turn on when any of the three LDRs sense light.  Thanks in advance!


How do you find and use programs that have been installed on Ubuntu?

I recently installed a program using the terminal command sudo apt-get install, and I want to locate and use it, and delete it. (I only did it as a test and had no actual use for the file). Where can I locate the program now?


I need to match the pattern only if << or >> or ]] or [[ is not present in the string.  If any of these special characters are present the match should be zero else it should match.  For example, I have an expression Stackoverflow which should return as a match but if I have Stack]]over<<flow I should not get a trueful response. The following pattern unfortunately does not work:  /^(\[\[)|(\]\])|(\<\<)|(\>\>)   Thank you


G is a set of all non zero real numbers with binary relation * is defined on G as

For every $a, b$ belongs to $G$    $a*b=ab/2$ I have to find out whether $(G, *)$ is an abelian group or not I have gone up to identity but stuck at inverse please someone help


Why the start bit and the stop bit(s) are necessary?

I am learning about serial communication, and I just can't understand why the start bit and the stop bit(s) are necessary.  I mean say I have two devices connected via serial ports, and the bit 1 is represented by +15V and the bit 0 is represented by -15V.  So for device 1 to send the 4 bits 0110 to device 2, device 1 should send the following voltages: -15V +15V +15V -15V.  What am I missing here, because it seems like it can work without the start bit and the stop bit(s)!


After 3 reinstalls on my Dell Dimension 2400, I can only see the desktop background and the cursor. Nothing else appears. I have tried removing, redownloading and reinstalling ubuntu-desktop.  I have also tried: sudo apt-get remove compiz sudo apt-get remove compix-core exit  Thanks in advance for the assistance.


How can I encrypt data in cloud storage services like Dropbox?

I'd love to use Ubuntu One or Dropbox features, like file storage and so on, but I don't want anyone else to access my data, USA Patriot act etc.. I want things to be encrypted so that the only place where info is decrypted is only my devices. Is that possible with Ubuntu One or Dropbox?


Why does the I2C interface use the open-collector/open-drain?

The open-collector adds inconveniences like requiring an external pull-up resistor and slows down the throughput. Why did the I2C designers choose to use open-collector/open-drain?


How do I put the different data into one cell

This is the sample data that I've got     id program Community ID sdg     246 #NoWasteGiving2020 97 11   246 #NoWasteGiving2020 97 17   246 #NoWasteGiving2020 97 10     With the data on the table above, how do I get the data to just be shown in one row and the sdg shown in one row. so at the end of the day the data will look like this: 246   #NoWasteGiving2020  97  10,11,17  This is the query that I've wrote select Distinct a.id, a.title as program, b.community_id, c.goal_id as sdg from programs_program as a join associates_programcommunity as b on a.id = b.program_id join associates_communitygoal as c on b.community_id = c.community_id


An application of the Closed Graph Theorem

Let $T:L^2([0,1]) \to L^2([0,1])$ be a bounded linear map of Hilbert spaces such that if $f\in L^2([0,1])$ is continuous then so is $Tf$. Show that there is a positive constant C such that  $$sup_{x\in[0,1] }|Tf(x)|\leq C sup_{x\in[0,1] }|f(x)|$$