Why do my photos look different in Photoshop/Lightroom vs Canon EOS utility/in camera?

I've recently been shooting in raw with my new 100mm usm is macro but I'm getting strange results in out of focus areas with bright colours in. I've used Lightroom for ages and not had any issues with it but it's not giving me the results I'd expect, over saturated with what I'd describe as colour bleed. I gather that the camera and the eos utility might be showing me some sort of preview, but they look very different!  The first screenshot is what the canon eos utility v2.9 shows me (and the same in camera) and gives me the bokeh I'd expect from a lens like this.  The second is what lightroom 3.3 shows me without any developing done. I've reimported with settings reset, and copied over with adobe bridge and photoshop and had the same results. This is with lens corrections off.  Don't ask why the filenames appear to be different between the screenshots, I assure you they're the same photo.


How do I get an up/parent button in Nautilus, without using breadcrumbs?

Similar question here:   However, I want always-use-location-entry to be true. So I am not using breadcrumbs.  The shortkeys, both Backspace and AltUp, are quite helpful. However, since I'm mainly using my mouse in Nautilus, I'd much prefer to actually have a button present that I can click. Then I don't have to switch between keyboard and mouse all the time.  Is there a way to add this button/functionality, while keeping always-use-location-entry to be true?  Another workable solution would be to use both breadcrumbs and the location-entry; so a parent is clickable, but I can also type a path directly.


Multiple GTX 10xx No GPU devices in Cycles Compute Device

I have 4 Geforce GTX 1080.  Nvidia 378.66 driver Windows 10 64bit.  Blender v2.78b  Blender User Preferences -> System -> Cycles Compute Device -> None  Cycles render does not recognize my 4 Geforce GPU boards. I worked in previous Nvidia and Blender versions.  Therefore the GPU Compute under render settings is also grayed out.    I see that my original post has been marked as a duplicate but the solution to post  is not applicable to mine.  I have no CUDA option in User Preferences -> System -> Cycles Compute Device It says "None" there    Solutions?


How do I stop Google from providing me language localized search results?

For several webpages, Google provides me with language localized search results.  For example, I search for bread and I get as a result:  www.cooking.example/bread/de   which is the German localized version of what I was actually looking for:  www.cooking.example/bread   How do I teach Google that I'm capable of understanding English and actually prefer the English version of most websites?


Pauli exclusion principle in an electron beam

Do electrons in an electron beam (cathode ray) follow the ? Or in other words, does the Pauli exclusion principle apply for the beam of electrons?


Direct proof that the wedge product preserves integral cohomology classes?

Let $H^k(M,\mathbb R)$ be the De Rham cohomology of a manifold $M$.  There is a canonical map $H^k(M;\mathbb Z) \to H^k(M;\mathbb R)$ from the integral cohomology to the cohomology with coefficients in $\mathbb R$, which is isomorphic to the De Rham cohomology. As a  already revealed, the images of this map are precisely the classes of differential $k$-forms $[\omega]$ that yield integers when integrated over a $k$-cycle $\sigma$,  $$ \int_{\sigma} \omega \in \mathbb{Z}  \quad\text{ whenever } d\sigma = 0$$  Let us call them "integral forms".  Motivated by the cup product on cohomology, my question/request is the following:     Give a direct proof that the wedge product $[\omega\wedge\eta]\in H^{k+l}(M,\mathbb R)$ of two integral forms $\omega\in \Omega^k(M)$ and $\eta\in \Omega^l(M)$ is again an integral form.   This should be true because the cup product is mapped to the wedge product, but the point of the exercise is to prove this statement directly, without constructing the singular cohomology $H^k(M,\mathbb Z)$ or homology first.  Maybe I also have to make sure that the condition of being an integral form is something that can be "checked effectively" without singular homology; this might be subject to a new question.


What is the expression or saying "I've got butterflies" used for?

My girlfriend once had a friend pop round her house and he brought his friend with him (both male). I replied "txt me when they're gone and I will come round," as it was early days in our relationship and I am little jealous and we had a minor falling out over something.   She sent me a txt saying "they have gone" and a couple of unrelated things. At the end of the txt she said "I have butterflies."   I see the expression having butterflies to mean you fancy someone or have a crush on them. I wouldn't want her to have a crush on her other friends: is that what "having butterflies" means?


What is "meta" in the context of Guild Wars 2?

Due to the recent update to Guild Wars 2, which has changed the trait system, I've heard lots of people asking "What's the new meta?" and "Meta hasn't been outed yet"  In this context, what does "meta" mean? I assume they are talking about specific builds, or trait and skill combinations, so why is it called 'meta'?


Exploring $ \sum_{n=0}^\infty \frac{n^p}{n!} = B_pe$, particularly $p = 2$.

I was exploring the fact that $$ \sum_{n=0}^\infty \frac{n^p}{n!} = B_pe,$$ where $B_n$ is the $n$th Bell number.   I found this result by exploring the series on wolframalpha and looking up the sequence of numbers generated. I have no experience with Bell numbers other than knowing that they represent the number of ways of partitioning a set.   What I tried  Looking at the base case we can verify $$\sum_{n=0}^\infty \frac{n}{n!} = \sum_{n=1}^\infty \frac{1}{(n-1)!} = e. $$  But then I realize that $n^2$ is going to be difficult.  Specifically what I want  I am doing this for fun, so I just want to glean some sort of lesson out of this. Resources that let me learn for myself are just as good!   An accepted answer will have any one of the following:   A proof that $\sum_{n = 0}^{\infty} \frac{n^2}{n!} = 2e$ (this interests me a lot) A description of why this series is related to Bell numbers and the number of partitions of a set A link to some resource that introduces Bell numbers and/or their connection to this series.


After watching the movie Interstellar, the theory of time relativity / paradox really mind-boggles me. If it is true that gravity controls everything even to the extent of time, then it might as well means that the past, present and future are all connected like a circle altogether but does not have a center.. say for example the scene where the book got knocked down by the ghost later revealed to be the father in a fifth dimension trying to send message to his daughter. Wouldn't this mean that he wouldn't be able to get to the fifth dimension if he didn't go in Lazarus mission the first place? Granted that past must happen first before future. But at the same time, the moment where the coordinates were given to him by his 'future self', wouldn't that mean the future must have happened first before the past or present in order to trigger him to go or even know about the revived Lazarus mission? Meaning that every action that was about to be done or finished is already fixed. If this is true, then time as we know it does not stretches like a straight line that keeps going on forever, but instead stays at the same spot while at the same time keeps on moving.. Is that even possible? Can somebody please give me an explanation on this? (The movie I used is just as a reference, my real question is about time itself. )


Quantum mechanics allows us to describe a particle as a wave, and also a collection of particles, which a car happens to be. What separates a typical wave from a classical particle is that the position is not well defined for a wave.  I think that it is hard to tell exactly how big an atom is, because the electron of the atom may be anywhere, but the probability of finding the electron gets very small as you look far away from the nuclei. I think in some sense the atom is as large as we want, depending on the definition.  When a car drives past me, is the position of the car separate from my position in a quantum mechanical way, or is it correct to say that "part" of the car hit "part" of me? I understand that no matter the answer the force from the hit is so small that it is negligible in every way, but that is not the core of the question.  In addition, if I made any wrong claims, please correct me, thanks in advance.


How do I lock the screen from a terminal?

I am using Ubuntu 12.04. Is there any way to lock the screen or session from a terminal command or script?


How can I reassign the copy/paste keyboard shortcuts?

I've been using mac for years, but prefer to do software development on windows. I'm really used to is using the folowing shortcuts on windows very much:  <CTRL>  + INSERT: Copy <SHIFT> + INSERT: Paste <SHIFT> + DELETE: Cut   Of late, I've taken to doing even my development work on the Mac. However, as a matter of habit, I'm missing these shortcuts very much. Actually, I find these a lot more convenient than COMMAND + (C/V/X) combo.  Is there a way to reassign these three shortcuts at least?   I've look all over the internet and in the "Keyboards" system preferences but I did not find anything.  PS: If you're wondering where I find the INSERT keys on a mac book pro, I use a wireless keyboard.


Tapping energy from high voltage AC transmission lines

The details are hazy as I recollect this from my nipper days.Many, many years ago.  “Persons were charged with stealing electricity by placing a large coil, somehow, near high voltage AC transmission lines.”  Is this feasible or was it perhaps an April fool’s article that I swallowed hook line and sinker in my youthful naivety.  There is a modern reason for this question.   Due to country wide cable and transmission tower spar actual theft. We are looking at placing modules with a gyroscope and Wifi module to form a mesh that will report if a tower is being “attacked”. Of course I will still have to test if the electronic gyroscope is sensitive enough for this. But one of the problems is going to be, how to power the unit? Solar will require an extra solar panel and battery. If I could tap into the radiated energy from the actual transmission line, great. Many modern SOCs don’t require much power and can sleep most of the time.  To clarify our needs. We are looking at building a device to sense if parts of the metal tower are being removed by scrap metal thieves. If too many parts are removed from the tower. It will buckle and earth the line. This is still at the feasibility stage.


Complete list of Lollipop system icons shown in notification bar?

Is there a complete list of these? I've seen lots of Q&A about "What does x icon mean" but it would be really useful if there were a complete list for reference!


How to execute multiple statements in a MATLAB anonymous function?

I'd like to do something like this:  >> foo = @() functionCall1() functionCall2()   So that when I said:  >> foo()   It would execute functionCall1() and then execute functionCall2().  (I feel that I need something like the )  EDIT:  functionCall1 and functionCall2 are not necessarily functions that return values.


Is every subring of a principal ideal ring also a principal ideal ring?

For the normal definition of a PIR (every ideal is principal in the ring), is every subring also a PIR?  I can't seem to think of a counterexample.


What does this line "/dev/sda5: clean, 956436/30277632 files, 37421846/121093120 blocs" mean while booting?

After I upgraded my Ubuntu from 14.04 to 16.04, I am getting a weird line on my screen each time I power on my laptop:    /dev/sda5: clean, 956436/30277632 files, 37421826/123093120 blocks   What does this line mean?  I worry about the meaning of the numbers, because the first number says that some files were cleaned, and the second one says that some files were blocks...   Nothing special or complicated, just for general understanding.


Show convergence of a given series and find the limit.

Given the Series $$\sum_{k=1}^\infty \frac{1}{k(k+2)}$$  How exactly would I find out the limit is $\frac34$ as suggested by Wolframalpha? I already found out I can prove it actually converges by performing the comparison test and seeing that the underlying sequence isn't a null-sequence. But unfortunately I am absolutely clueless on how to prove that it converges to $\frac34$.  Regards,  Dennis


Two letters need to be delivered to each of $n$ houses. How many ways can a postman deliver two letters to each house such that each house receives at least one incorrect letter?  Right now I have the total number to deliver two letters to $n$ houses as $N = \frac{(2n)!}{2^n}$. I know derangement is equal to $N - N_1 + N_2 - N_3 + ... + (-1)^kN_k$. I have $N_1 =\displaystyle{n \choose 1}\bigg[\frac{(2n-2)!}{2^{(n-1)}}\bigg]$ but I can't seem to find a pattern or find a solution.


Shoud I use singular or plural for this sentence?

"I touched their forehead[s] with my fingertip."  I'm not certaint whether or not forehead in this example should be singular or plural. There's a group of people, so obviously, multiple foreheads are being touched. However each individual person only has one forehead.


For the community of inequalities.  If $z\leq x+y$  ,And  $x, y, z \neq -1$, prove :  $$ \frac{z}{1+z} \leq \frac{x}{1+x} + \frac{y}{1+y}.  $$  I have this proof, but I feel there should be other simpler (direct) proofs  My attempt:  $$ z(1-z+z^2-\dots)\leq (x+y)(1-z+z^2-\dots), $$  now the idea is that either $(1-z+z^2-\dots)\leq(1-x+x^2-\dots)$ and $(1-z+z^2-\dots)\leq(1-y+y^2-\dots)$ are true, and thus  $$ z(1-z+z^2-\dots)\leq x(1-x+x^2-\dots)+y(1-y+y^2-\dots), $$  which is exactly  $$ \frac{z}{1+z}\leq\frac{x}{1+x} + \frac{y}{1+y} $$.  Note: I have added the above condition for $x,y,z$ to  define The LHS and RHS of inequality


If you shine a light away from the center of a Schwarzchild black hole, will it stay still?

$$ A $$  Light is travelling away from the absolute center of the Schwarzchild black hole (i.e. none of that spinning/stretching field) at $\ C $, and so shouldn't $\ \Delta C$ need to be greater than $\ C $ in order for the light to collapse into the black hole, therefore violating the relativistic limit of $\ C $?    It seems like light would just 'hover' right in the center of a black hole then. Because if it goes away from it, the event horizon pulls it back, and if it goes into it, the velocity change must be greater than $\ C $ which violates general relativity; so technically there's no way for the light to move away, and so it would just be still.  The thing is that the light must move at the speed of light or general relativity doesn't work. It's massless... But in the center of a black hole, if the above is true (it can't move or escape), then it is not travelling at the speed of light. So it cannot be still.  It cannot be spinning in a constant orbit either, because that would require velocity in an outward angle. And it cannot move in an outwardly fashion, only in an inwardly one.  Is it spinning in an infinitely decaying spiral towards the center?  If so what happens to it if and when it reaches the direct and complete center, i.e. The case of it being 'shot' from the center.    $$ B $$  If you shot light at an angle towards a black hole, but not directly to the center of it  then that light from the outside will eventually become the same as the light that I said was shot from the center to the outside; because in both cases, they end up in an infinitely decaying spiral.    If so it would end up exactly like the light in the above paragraph, so then we need to figure out what happens to that light to figure this one out, or vice versa.    $$ C $$  If you shot light directly towards the center of a black hole it would have no spiral to decay into, so therefore it must stop at some point in the center of a black hole. If it stops though, it loses it's momentum and violates general relativity again because it's energy "disappears".    If so then it violates conservation laws. So I'm assuming this simply is not true.    Is the light travelling into a black hole somehow still travelling at the speed of light, in every direction possible where that direction keeps it facing towards the center?  If so, why is there not a point at which the only thing left for the light to do is stay still, since all other paths would increase the distance between it and the black hole's center, and therefore become Case A. And if there isn't, what would happen if there was?  Also, if it's a time and observation answer where it supposedly takes and infinite amount of time for C to hit the center, wouldn't it be the case that the black hole is 'eating' all of the available light in the universe and keeping it in stasis?  Also, what happens in a Kerr black hole then? Does it just rip the field of time/gravity at an angle such that the light would never get closer than the center?


What word is used to signify "change/transform letters from uppercase to lowercase?" Uncapitalize? Decapitalize? The grammar check on my laptop suggests these words are not commonly used, or they do not exist.  Thanks


Create a bash alias for several commands, some requiring sudo

I know there is lots of information on this around, but I still find it confusing. Please help me with this quick one liner.  What do I need to write and where to make this a permanent feature of my system?  This is the command:  sudo apt update &&\ sudo apt upgrade -y &&\ sudo flatpak update &&\ conda upgrade --all -y   Maybe call it with sudo updateall  Slight digression: I asked a question about upgrade appimage and snap a while ago. There exists appimagehub but it pooly supported at the current time and snap by design updates without user involvement and there is no way to change this I believe. The others here can be manually updated.


I'm reading an article about two pets rescuing their owners. After the cat managed to wake up the mother, she tried to wake up other members but they wouldn't wake up.     Cathy tried to tell her husband and son to leave the house, but they wouldn't wake up.   Why wouldn't and not didn't?   (I checked possible duplicates but they weren't convincing at all. Besides, none of the answers were confirmed. One said would is used for permission and another said it's for emphasis!)


Let $\Bbb{Z}^+$be the set of all non-negative integers where $n$ and $k$ are given natural numbers. We consider the following non-decreasing function,  $$f:\Bbb{Z}^+ \to \Bbb{Z}^+$$ such that   \begin{align} f\left(\sum_{i=1}^n a_i^n\right)  =\frac 1 k \sum_{i=1}^n \left(f(a_i)\right)^n \end{align}  1.Find all functions for $n=2014$ and $k=2014^{2013}$  2.Find, how many functions and which satisfy the condition of the problem depending on the values of parameters $n$ and $k$.  I have some ideas for this problem . I know how to found $f(0)$ (just take $a_1=a_2=\cdots=a_n=0$) . I also can found $f(1)$ (take $a_1=1$ and $a_2=\cdots=a_n=0$) Then if $f(0)=0$ I've get that $f(a_n)+f(b_n)=f(a_n+b_n)$. I also think thas all functions will be as $f(x)=kx$ but I can't prove it . Can you help me with some partical solution or some ideas which can help to find it.  And can someone tell me how in first example ($n=2014$ and $k=2014^{2013}$) found f(2015) or  $f(2016)$ using that $f(i^n)=i\cdot f(1)$ ( for $2015>i>1$)and $f(1)=0$ or $f(1)=2014$


Can we upgrade android version of any device?

I have a Sony Xperia M device with Android 4.3 the official support for the device was stopped in 2015-16. Now is that possible to update the android version to 5 or 6?  If yes, how? I tried many sites but it is very tricky to understand for a beginner like me.  My main question is will the Android 5 app work on my device after upgrading?  EDIT: I will be great if you reopen the question I have something to share with people who came across this same issue or question in future.


Regarding accelerated charges produce electromagnetic waves

I know that accelerating charges produce electromagnetic waves. I do not however understand the main reasoning behind this. Most of my knowledge of this topic is from internet sources and stack exchange answers. Based on my limited exposure to the theory and knowledge of Maxwell equations, I have a doubt.  If electromagnetic waves are produced by accelerating charges, then will I observe EM waves if I accelerate with respect to stationary charge? For eg.- if I am doing SHM at a distance from a charged particle in a direction perpendicular to the distance vector or something like that.  P.S.- I am a Grade 12 student and do not know much about Relativity or Quantum theory.


While building a regression model in R (lm), I am frequently getting this message  "there are aliased coefficients in the model"   What exactly does it mean?  Also, due to this predict() is also giving a warning.  Though it's just a warning, I want to know how can we detect/remove aliased coefficients before building a model.  Also, what are the probable consequences of neglecting this warning?


I am having trouble with implementing HashMaps with ArrayListsin my java class. The thing is it keeps adding objects to the ArrayList is the HashMap even though I am not updating my HashMap.  This is the code that I can not understand how works:  HashMap<String, ArrayList<String>> map = new HashMap<>();  ArrayList<String> array = new ArrayList<String>(); array.add("One"); array.add("Two");  map.put("Key", array);  array.add("Three"); //2. Why does this get added to the HashMap?  System.out.println(map1.get("Key")); //1. This print out [One, Two, Three].. When it should be [One, Two]!


I have tires that are fitted to my bike and are 2.1, because of this my rim is quite thin. Will I be able to change to 2.4 tires or will my rim be too thin. If so can you suggest a good rim size?


jquery detect change in display or visibility

Is there a way for me to detect if the style attribute of a class changes, for example, a change in display or visibility?  The situation I have is that I have a Podio webform embedded on my site via iframe and that has a hidden thank you message in .webforms__success-message > p and I want to scroll to the success message when it appears on the page.


Is there a Paint.net Equivalent on Ubuntu 12.04

I have tried GIMP and the tool I am looking for is not in it. I have looked into paint.mono but have no clue on how to install it. I just need an art program with a simple Curve tool, where draws a curve through specified multiple points.


How to create trapezoid tabs in WPF tab control? I'd like to create non rectangular tabs that look like tabs in Google Chrome or like tabs in code editor of VS 2008.  Can it be done with WPF styles or it must be drawn in code?  Is there any example of code available on internet?  Edit:  There is lots of examples that show how to round corners or change colors of tabs, but I could not find any that changes geometry of tab like this two examples: VS 2008 Code Editor Tabs   Google Chrome tabs   Tabs in this two examples are not rectangles, but trapezes.


I commonly use a technique when caramelizing onions, in which I add the sliced onions to a pan with salt, oil, and water. The water softens the onions and helps cook them evenly such that by the time it all boils away, they caramelize quickly and evenly.  I decided to use this technique on garlic the other day, when making a garlic and oil sauce for pasta, and was surprised to find that the garlic turned a fairly vivid shade of purple!  What happened? Was it some reaction the garlic had to the boiling? Or could it have been a reaction with the cast iron pan I was using?


I'm on (an upgraded) 64bit Ubuntu 15.04 and am using Skype 4.3.0.37. It had been working fine, but today I couldn't seem to login any more. The load circle keeps going round and round. Internet connection seems fine, username/login combination is correct, yet it just won't connect. Nor does it give a "no connection" error or something similar. So not sure what is causing the delay.  I tried fully removing and reinstalling skype and its folder, but that did not do any good either.  Anyone got a solution for this problem?


In what cases does "Community ♦" perform actions?

I've learned that there's an automated program named "Community ♦", but I'm note sure when, how and why it performs certain actions, like voting down, deleting posts, poking up old posts and editing posts.    Is there a complete list about exactly in what cases does the "Community ♦" perform each action? And in what cases will an action be considered as "performed by Community"?


Undefined control sequence in basic pstricks work

I am new to PStricks. My miktek library has pstricks package installed.  As I ran this code    \documentclass{article}   \usepackage{graphicx} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{pstricks}  \begin{document} \begin{pspicture}(5,5) \psline(1,1)(5,1)(1,4)(1,1) \pscircle[linestyle=dotted](3,2.5){2.5} \pscircle[fillstyle=solid,fillcolor=lightgray](2,2){1} \end{pspicture}  \end{document}   it is giving me an error saying undefined control sequence.  Here is full version of error:  ! Undefined control sequence. <recently read> \c@lor@to@ps l.9 \psline( 1,1)(5,1)(1,4)(1,1) The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Undefined control sequence. \XC@usec@lor ...string \color@ #1#2\endcsname \@@ \fi \space l.9 \psline( 1,1)(5,1)(1,4)(1,1) The control sequence at the end of the top line of your error message was never \def'ed.


How can I use inverse or negative wildcards when pattern matching in a unix/linux shell?

Say I want to copy the contents of a directory excluding files and folders whose names contain the word 'Music'.  cp [exclude-matches] *Music* /target_directory   What should go in place of [exclude-matches] to accomplish this?


Novel-like writing style often sacrifices clarity and accessibility, is it ok to use it in scientific texts?

In writing, there are many things one can do to make the text better. Some basic rules of thumb include avoiding repetitions, avoiding passive voice, breaking down long and complicated sentences, or letting the reader think for themselves.  Do such rules also apply to scientific texts, and if not, why?  I can think of a few reasons why they may not. For example, avoiding repetition may create confusion — it might not be immediately clear if the alternative term is just a synonym, or if it is different and in what way. Moreover, using more advanced devices (or,  for that matter, sophisticated vocabulary) could be problematic even for native speakers.  Surely we need to make the text as accessible and clear as possible, but it would be great if it were also enjoyable to read. Where lies the right balance?


Does the extra d6 damage apply to all attacks against the hexed creature (for example, Scorching Ray or Magic Missile) or just one?


I'm trying to add an alias to my .bashrc alias oops='sudo !!' when i execute it however I get:   sudo: !!: command not found  eliminating the alias from the .bashrc and im able to manually use sudo !!, why does this happen?


If I assign the output of a command substitution to a local variable, how do I get the exit status of the command?  This is the behaviour of ZSH 5.8:  false; echo $? # output is 1 as expected  foo=$(false); echo $? # output is 1 as expected  local foo=$(false); echo $? # output is 0


Hard disk file system converted to Raw file system

How to access Raw file system?  My Portable harddisk was working fine. But once I accessed it from linux terminal. And Later when try to use it in window it says You need to format it before you can access  In Ubuntu also when I plug it, it does not appear.  Tried to access through chkdisk but says Raw file system could not be processed.  Is there any way I can get back data inside it?  recovery software does not preserve folder when it recovers data. Also When I tried it it says "1 days remaining to process" nearly 350GB data.


Empty Strings: Why or when is '' equal to ' '?

Who can explain why   select case when '' = ' ' then 1 else 0 end, LEN(''), LEN(' '), DATALENGTH(''), DATALENGTH(' ');   yields  ----------- ----------- ----------- ----------- ----------- 1           0           0           0           1   The funny consequence of this is that in   create table test ( val varchar(10) ); insert into test values( '' ); update test set val = ' ' where val = '';   the update will indeed replace the empty string by a blank, but the where clause keeps to be true and repeated executions of the update statement tell  (1 row(s) affected)


What is the relationship name of my wife's father's sister's son to me?

Actually i'm filling leave form, which has field reasons for leave.


ifconfig missing after Ubuntu 18.04 install

I've just installed Ubuntu 18.04 and selected "minimal install". I then tried to run ifconfig in the terminal and got the following message  -bash: ifconfig: command not found   How come the  is not installed by default any more?


Windows 7 - Windows Update Hangs On "Checking For Updates"

Today I installed a fresh copy of Windows 7 Home Premium x64 SP1. For some reason, it will just not update. I try to run Windows Update but all it does is hangs at "Checking for updates". I even let it sit there for 4 hours and it didn't do anything.  I looked for multiple solutions and none of them worked. I've reset windows update, I've done sfc /scannow, I've done the dism.exe command, I installed "Windows6.1-KB947821-v34-x64", but nothing seems to fix it.  I downloaded a windows diagnostic tool for windows update, and it did come up with an error that which it failed to fix: "0x800f08".  I don't know what to do at this point. Any help would be greatly appreciated. Thanks


Where does the majority of the mass of the usual matter come from?

I apologize in advance to experts for the naivety of the question. It should be a duplicate but I didn't find any satifying question or answer about that.    The proton is composed by two up quarks and one down quark.    mass(proton) $\sim 940 \  MeV/c^2 $ mass(up) $\sim 2.3 \ MeV/c^2 $ mass(down) $\sim 4.8 \  MeV/c^2 $    It follows that: $2$mass(up) $+$ mass(down) $\sim  9.4 \sim \frac{1}{100}$ mass(proton).  Question:  Where does $99\%$ of the remaining mass of the proton come from?


Does entanglement mean that information travels faster than light?

Every time in physics (in popsci) I hear that it is not possible to travel faster than light, as this would cause many problems that I do not understand. On the other side, in Quantum Computing (in advanced university classes) we have been told that the entanglement between two qubits means that if a measurement is made on one of them, the other one is decided instantaneously. How is this? Does that information travel faster than light? Since my background is computer science and I don't have much knowledge of physics, I would appreciate an explanation as simple as possible, or some references.


I have been researching several different techniques to deliver web content fast, like nginx and node.js.  When it comes down to performance optimization http expires headers and gzip come to mind. After that come common techniques like sprites and CDNs etc.  But I am wondering.  What would be the very fastest technique to load a website?  Is static html the very fastest that can be? Or is there something else even faster?


Prevent quote expansion in user-made function

I have the following bash function :  tg() {   git add -A && git commit -m $1 && git push }   But it seems not to work :  $ tg "create index for users" error: pathspec 'index' did not match any file(s) known to git. error: pathspec 'for' did not match any file(s) known to git. error: pathspec 'users' did not match any file(s) known to git.   Obviously, the problem is that the quote was expanded and my middle command was read as git commit -m create index for users rather than git commit -m "create index for users"  What did I do wrong ? How can I fix this ?


I've recently understood de Broglie's hypothesis, and I understand that a necessity for electrons to show diffraction is that the size of the aperture they pass through must be of the order of their de Broglie wavelength. So exactly what would happen if (if) I were to walk through a door of a size of the order of my de Broglie wavelength? If a number of people of the same order of masses did so?


Is it possible to extend my Schengen visa?

I am a Zimbabwean on holiday in UK on a 6 month family visitor. I got a 30-day Schengen visa so I can visit Europe as well. I just want to find out if it is possible to extend the Schengen holiday visa from UK or Europe without having to go back to Zimbabwe first?


How do I convert my values to only 2 decimal places

I have this so far but I'm needing to get my values at the most to 2 decimal places but for some reason I'm drawing a blank on how to do it right now.  { public static double celciusToFahrenheit(double celcius)  {   double fahrenheit = (9.0 / 5) * celcius + 32;   return fahrenheit; }  public static double fahrenheitToCelcius(double fahrenheit)  {   double celcius = (5.0 / 9) * (fahrenheit - 32);   return celcius; }       public static void main(String[] args)    {       System.out.println("Celcius\tFahrenheit\t|\tFahrenheit\tCelcius");       for (int i = 0; i < 10; i++ )       {          double celcius = 40 - i;         double convertedCelcius = celciusToFahrenheit(celcius);         double fahrenheit = 120 - (i * 10);         double convertedFahrenheit = fahrenheitToCelcius(fahrenheit);          System.out.print(celcius + "\t" + convertedCelcius + "\t|\t" + fahrenheit + "\t" + convertedFahrenheit + "\n");   }    } }   and my result looks like this  Celcius Fahrenheit  |   Fahrenheit  Celcius 40.0    104.0   |   120.0   48.88888888888889 39.0    102.2   |   110.0   43.333333333333336 38.0    100.4   |   100.0   37.77777777777778 37.0    98.60000000000001   |   90.0    32.22222222222222 36.0    96.8    |   80.0    26.666666666666668 35.0    95.0    |   70.0    21.11111111111111 34.0    93.2    |   60.0    15.555555555555557 33.0    91.4    |   50.0    10.0 32.0    89.6    |   40.0    4.444444444444445 31.0    87.80000000000001   |   30.0    -1.1111111111111112


Should words be capitalized for being religious terms?

While googling about whether "atheist" should be capitalized, and skimming past posts by people blogging about atheism rather than about English grammar, I came across    It says     [Capitalize] Religions and religious terms       Examples:      Catholicism, Hinduism, Buddha, the Bible, Christian, the Ten   Commandments, Baptist church, Mt. Zion Methodist Church      NOTE: Do not capitalize the following:       Examples:      church, communion, atheist, agnostic, spirituality   but I don't recall hearing of such a prescription before. Wouldn't most of the examples listed be capitalized because they're proper nouns? Are there good examples of words being capitalized solely because they're religious terms?  I'm mainly interested in modern English, rather than days of past where a lot more words were capitalized than they are nowadays.  Somewhat related:  - use "God" when referring to the name of the god of Judaism and Christianity (a proper noun), but "god" when referring to the general concept of a deity (common noun).


Showing that $X^2$ and $X^3$ are irreducible but not prime in $K[X^2,X^3]$

Show that $X^2$ and $X^3$ are irreducible but not prime in $K[X^2,X^3]$.   My reasoning is as follows:  Since the only ways $X^2$ and $X^3$ can be factored in $K[X^2,X^3]$ are $X^2 = X^2 * 1$ and $X^3=X^3*1$ it follows that $X^2$ and $X^3$ are irreducible.  To show that they are not prime in $K[X^2,X^3]$ I argue that $X^2\mid X^3*X^3$ but $X^2\nmid X^3$ and $X^3\mid X^4*X^2$ but $X^3\nmid X^4$ or $X^3\nmid X^2$.  Is that correct?


What are point releases in LTS versions?

There are so called "point releases" for LTS versions of Ubuntu. 10.04.3 for instance.  What are those "point releases" releases?


"She was supposed to phone ...", What is the active voice?

Is the following sentence in the passive voice?      She was supposed to phone Jack last night.   If yes, What is the active voice version of it?


So I'm writing a report and have included a glossary. I have internal link colours set to blue for referring to sections within the report but this carries over to the words in a glossary too which means my report is littered with lots of blue hyperlinked words... Is there a way to change the colour of these glossary links and not the section/chapter links. Apologies if my terminology is off. % What I have tried so far \usepackage{hyperref} \hypersetup{   colorlinks   = true,    % Colours links instead of ugly boxes   urlcolor     = blue,    % Colour for external hyperlinks   linkcolor    = blue,    % Colour of internal links   citecolor    = red      % Colour of citations }  NOTE: Reference made is from an external .bib file. \documentclass{article} \usepackage[utf8]{inputenc}  %Hyperlinks \usepackage{hyperref} \hypersetup{   colorlinks   = true,    % Colours links instead of ugly boxes   urlcolor     = blue,    % Colour for external hyperlinks   linkcolor    = blue,    % Colour of internal links   citecolor    = red      % Colour of citations }  % Glossary stuff \usepackage{glossaries} \makeglossaries \input{glossaries}  % Reference stuff \usepackage{biblatex} \addbibresource{references.bib}   \title{test} \author{Example} \date{March 2021}  \begin{document}  \maketitle  \section{Introduction} This is a test sentence to say \gls{pt}. I want to cite this sentence\cite{tutorial:eoline} with a random reference from the bib file. Would I use "gls\{pruningtable\}" every time I want to say \gls{pt}. Or would I just say pruning table from then on?  \printglossaries \end{document}   Is it conventional to replace every word with a "gls{term}" entry for every word I have?


Returning percentage of area of polygon intersecting another polygon using shapely

Using the shapely library, suppose I have a shp file V and another shp file Z. For each polygon v in V, and for each polygon z in Z, I would like to know what percentage of the area of z falls within (intersects) v.


Show that any constant function between topological spaces is   continuous.   I am not sure how to begin this, I know that a function between topological spaces is continuous if the preimage of any open set is open.


Sum of predictors in a Linear Regression of Indicator Matrix

Probably a very basic question, but could someone please provide a proof of how the sum of predictors for the indicator matrix linear regression always becomes 1 when the model has an intercept? Seems intuitive, but having problems to derive this mathematically.


Q. A fair coin is tossed untill head appears for the first time. What is probability that the number of tosses required is odd?  My work: suppose that head comes in first toss so probability of getting head in the first toss $=\dfrac{1}{2}$ suppose that first & second tosses show tails & third toss shows head so  probability of getting head in the third toss  $=(1-\dfrac12)(1-\dfrac12)\dfrac{1}{2}$ $=\dfrac1{2^3}$ suppose that first 4 tosses show tails & fifth toss shows head so  probability of getting head in the fifth toss  $=(1-\dfrac12)^4\dfrac{1}{2}$ $=\dfrac1{2^5}$ suppose that first 6 tosses show tails & seventh toss shows head so  probability of getting head in the fifth toss  $=(1-\dfrac12)^6\dfrac{1}{2}$ $=\dfrac1{2^7}$ ……………. and so on But I am not able to find the final probability of getting head first time so that the number of tosses required is odd.  what should do I next to it? please help me.


Bash - how to run a command after the previous finished?

Currently I have a script.sh file with the following content:  #!/bin/bash wget -q http://exemple.com/page1.php; wget -q http://exemple.com/page2.php; wget -q http://exemple.com/page3.php;   I want to execute the commands one by one, when the previous finishes. Am I doing it in the right way? I've never worked with Linux before and tried to search for it but found no solutions.


Ubuntu 13.04 is unable to mount a disk drive from ex-windows system

I just installed Ubuntu 13.04 as a single OS on a system previously installed with windows 8. Almost everything is working fine except 1- I cannot control my brightness (Hotkeys are able to move slider) System: Vaio VGN-CS26G 2- I cannot open any other disk partition execpt the one with Ubuntu. There are two of them. I remember changing 1st partition's type to 'Swap' during installation (This one is now invisible). And i am completely sure i have not anything with the other partition, if i try to open it, it gives error: Unable to access DriveName,    Error mounting /dev/sda3 at /media/kashan/zombie check:  Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,  dmask=0077,fmask=0177" "/dev/sda3"  "/media/kashan/zombie check"' exited with non-zero exit status 14:  The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda3': Operation not permitted The NTFS partition is in an unsafe state.  Please resume and shutdownWindows fully (no hibernation or fast restarting),  or mount the volumeread-only with the 'ro' mount option.       Thanx in advance. P.S. I am a beginner so please donot use complicated terms


How can I link those two separate objects by joining the mesh points? I tried F and Merge at Center but didn't work.


I am trying to show multiple images without a gap like this. \begin{frame} \begin{figure} \centering \begin{subfigure}{.5\linewidth}   \centering   \includegraphics[width=\linewidth]{burst_sapiro/REG_001.png}   \caption{A subfigure}   \label{fig:sub1} \end{subfigure}% \begin{subfigure}{.5\linewidth}   \centering   \includegraphics[width=\linewidth]{burst_sapiro/REG_002.png}   \caption{A subfigure}   \label{fig:sub2} \end{subfigure} \caption{A figure with two subfigures} \label{fig:test} \end{figure}  I have tried the above code, it gives me a satisfactory result, there is no gap between images.  But when I go to more images, thing goes wrong: \begin{figure}     % \captionsetup[subfigure]{labelformat=empty}   \centering   \begin{subfigure}{.25\linewidth}     \centering     \includegraphics[width=\linewidth]{burst_sapiro/REG_001.png}     % \caption{Coffee.}   \end{subfigure}   \begin{subfigure}{.25\linewidth}     \centering     \includegraphics[width=\linewidth]{burst_sapiro/REG_002.png}     % \caption{More coffee.}   \end{subfigure}   \begin{subfigure}{.25\linewidth}     \centering     \includegraphics[width=\linewidth]{burst_sapiro/REG_003.png}   \end{subfigure}    \begin{subfigure}{.25\linewidth}      \centering     \includegraphics[width=\linewidth]{burst_sapiro/REG_004.png}   \end{subfigure}   \end{figure}   As you can see, I do not understand why the four images are broken into two lines, and there are gaps between images. May anyone kindly give me some instruction on how to arrange images in one line without gap.


How to update spatial point locations in ArcGIS

In ArcGIS, is there a way to quickly reflect changes made to XY coordinate values in my table?  In edit mode I can change the values in my X and Y columns but I'm not able to refresh the map. Currently I export the table, make changes in an editor (e.g. Excel) and re-"create a feature class from XY table" using my new source file.


Trying to install windows 8.1 on an MSI gs73vr 6rf. Fresh install goes well as do drivers and such. Problems begin when using windows update and trying to install .net 3.5 or any updates at all. I can use an offline updater but windows update will not work nor can I install the aforementioned .net framework. I have installed the recommended updates, ran the update repair, DISM and sfc all to no avail. Is it a BIOS thing? At a loss.


SELECT DISTINCT on multiple columns along with other columns

I want to run query like below  select distinct (columnA, columnB, columnC), columnD from MY_TABLE where columnA IS NOT NULL AND columnB IS NOT NULL AND columnC is NOT NULL;   I only want distinct of columnA, columnB and columnC and NOT ON columnD. But SQL developer is pointing an error right after columnA,  How can I fix this?  I tried to fix my query using GROUP BY  select columnA, columnB, columnC, (select count(*) from TABLE2 WHERE table2columnA = myTable.columnA) from MY_TABLE myTable where columnA IS NOT NULL AND columnB IS NOT NULL AND columnC is NOT NULL GROUP BY columnA, columnB, columnC;   Notice that my columnD is actually another select statement? But this is giving me error   ORA-00979: not a GROUP BY expression 00979. 00000 -  "not a GROUP BY expression"   This is not a duplicate of that another question


Topological manifolds that admit no smooth structure

Can anyone offer an intuitive description of a   that admits no ? I know they exist, but am unsure if there is any path to some level of understanding aside from total immersion in the original papers.


Is there an equivalent of 'which' on the Windows command line?

As I sometimes have path problems, where one of my own cmd scripts is hidden (shadowed) by another program (earlier on the path), I would like to be able to find the full path to a program on the Windows command line, given just its name.  Is there an equivalent to the UNIX command 'which'?  On UNIX, which command prints the full path of the given command to easily find and repair these shadowing problems.


I will travel from India to Canada via Zurich, I have a layover of 3 hr 45 minute in Zurich, I have valid Canada immigrant visa, I am an Indian citizen, I hold valid Indian passport.  Do I need transit visa for changing plane in Zurich? I will not go out from Zurich airport.


When should unions be used? Why do we need them?


Touchpad not detected on Lenovo Ideapad 320 with Kubuntu 17.04

I just installed Kubuntu 17.04 on a Lenovo Ideapad 320, and the Touchpad is not detected. The touchpad works fine from the Windows 10 installation already on the laptop, but is not detected at all from Kubuntu, so it seems like a driver error.  Here is the xinput output. The Logitech mouse is a USB mouse I am using in the meantime, which works fine.  $ xinput --list ⎡ Virtual core pointer                          id=2    [master pointer  (3)] ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)] ⎜   ↳ Logitech M315/M235                        id=9    [slave  pointer  (2)] ⎣ Virtual core keyboard                         id=3    [master keyboard (2)]     ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]     ↳ Power Button                              id=6    [slave  keyboard (3)]     ↳ Video Bus                                 id=7    [slave  keyboard (3)]     ↳ Power Button                              id=8    [slave  keyboard (3)]     ↳ EasyCamera                                id=10   [slave  keyboard (3)]     ↳ Ideapad extra buttons                     id=11   [slave  keyboard (3)]     ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]   And:  $ cat /proc/bus/input/devices | grep TouchPad   Has no output. I have also tried the psmouse-related stuff suggested  to no avail   It seems like I'm not the only one, this is posted a few other places with no answer,  and , and maybe   Edit:  dpkg output:  $ dpkg -i elantech... Selecting previously unselected package  elantech-0608-dkms. (Reading database ... 267979 files and directories currently installed.) Preparing to unpack elantech-0608-dkms_0.1_all.deb ... Unpacking elantech-0608-dkms (0.1) ... Setting up elantech-0608-dkms (0.1) ... Loading new elantech-0608-0.1 DKMS files... Building for 4.10.0-32-generic Building for architecture x86_64 Building initial module for 4.10.0-32-generic Done.  psmouse: Running module version sanity check. Error! Module version 69C24E88441CC55A8AC9337 for psmouse.ko is not newer than what is already found in kernel 4.10.0-32-generic  (69C24E88441CC55A8AC9337). You may override by specifying --force.  depmod...  Backing up initrd.img-4.10.0-32-generic to /boot/initrd.img-4.10.0-32- generic.old-dkms Making new initrd.img-4.10.0-32-generic                                                        (If next boot fails, revert to initrd.img-4.10.0-32-generic.old-dkms image)                   update-initramfs........                                                                        DKMS: install completed.                                                                       Processing triggers for shim-signed (1.32~17.04.1+0.9+1474479173.6c180c6-1ubuntu1) ...      Installing version 0.2:  $ sudo dkms install --force elantech-0608/0.2 Error! Could not find module source directory. Directory: /usr/src/elantech-0608-0.2 does not exist.   And it is installed:  $ apt search elantech Sorting... Full Text Search... elantech-0608-dkms/now 0.2 all [installed,local]   elantech-0608 driver in DKMS format.


Is there significance behind the spider visions in Enemy?

There are a lot of weird visions about spiders in  and I was wondering if that signified something about the character?


Easiest way to share a music track on Facebook

I have some MP3 music tracks (written, performed, and recorded by me and some friends a few years ago, so no copyright issues) that I'd like to post onto facebook and share with my friends (and ideally not too easy for the web in general to get at them).  What is the easiest way to do this? I know with pictures and videos, you can just upload them to your account and share to friends/groups but I don't think I've seen a similar feature for music?


Is there any way to block websites without Root access

I am searching for a way to block websites without having root access. Is there any way to do it? Any help will be appreciated.


I just started to learn some oop and design patterns so I have this example:    function Img(imgId, imgSrc, imgClass) {       this.imgId = imgId || '';       this.imgSrc = imgSrc || '';       this.imgClass = imgClass;              let elm = document.createElement('img');       elm.setAttribute('id', this.imgId);       elm.setAttribute('src', this.imgSrc);       elm.classList.add(this.imgClass);        var xyz = document.getElementById('xyz');        this.createImage = function() {         xyz.appendChild(elm);       }     }      var flowerImg = new Img('flower', 'http://via.placeholder.com/350x150', 'img').createImage();      var airplane = new Img('airplane', 'http://via.placeholder.com/350x150', 'img img-wide').createImage(); <div action="" id="xyz">          </div>     So if I try to use more than one class as function parameter, I get error.  I am trying to understand what and how to overcome it.


Pros and cons of kerning, spacing, and tracking in microtype

As noted in , kerning, spacing, and tracking are turned off by default in microtype. Why is that? Are there good arguments against using it? What would be the pros and cons of activating it?  Now that we're at it, what are the pros and cons of the other options (protrusion, expansion, =auto)?


Newton's first law can be derived from his second law. Then why did he put forth the first law, when it's already contained in second law?  My teacher was saying that first law is valid for an inertial reference frame, while second law is also valid for non-inertial reference frame. Is that correct? (I don't think so, as I knew Newton's laws are invalid in non-inertial reference frame.)


Example of subset of $\mathbb{R}²$ such that $A\neq A'\neq A''\neq A'''$?

I am looking for a subset of $\mathbb{R}²$ such that $A\neq A'\neq A''\neq A'''$ (where $A'$ is the set of limit points of $A$).  I read it's possible but I don't even see how it could be ... I've tried a subset that has an isolated point (or several) and is open otherwise.  The furthest I could go was picking $\lbrace(\frac{1}{n},0):n\in\mathbb{Z}\rbrace \cup B((2,0),1)$ because then $A'$ has an isolated point.  I'm sure I'm missing a point here, could you help me?  Thank you very much


Can anybody help me in creating subdoain through webmin. I want to create subdomain like test.xxxxx.com for this I tried with several reference site but no luck. exp.      My current httpd.conf look like:   <VirtualHost *:80> SSLEngine off  DocumentRoot /var/www/html/******/web DirectoryIndex index.php <Directory "/var/www/html/*****/web"> AllowOverride All Allow from All </Directory> ServerName www.******/.com ServerAlias ftp.*****.com SSLEngine off  SSLVerifyClient optional </VirtualHost>   Please help me to solve this issue.


Why do I need sudo to reboot from the command line?

When I enter reboot on the command line, I get:  reboot: Need to be root   and asked the root / sudo password. When I reboot via the gui I can do that without my sudo password. Why is that? What's happening internally of the ubuntu system there?


Travelling To The US under the Muslim ban

About the Muslim ban (executive order 13769) I've searched about it and what I could understand is that people from Iran, Libya, North Korea, Somali, Syria, Yemen and Venezuela are banned from entering the US or getting a US Visa.   My question is until when will the people from these countries will stay banned, and can those people now in May 2019, get a Visa for the US or enter it normally?


Is it me or IPv6 is still a niche thing?

Some hosting providers don’t support IPv6 at all, others such as DigitalOcean only support IPv6 on non-custom Droplets and don’t support it at all for load balancers and other shenanigans. I’ve read that IPv6 requires ICMP to work properly, but can’t find good documentation on what to allow in iptables. So, what’s the deal here... my quest to adopt IPv6 has been very frustrating so far. Am I missing something? Should I just drop the project?


Credit Score down after being approved by a credit card

First time asking a questions here, apologies for any mistakes in advance.  I applied for my first ever credit card online and I was approved for it within seconds. But when I checked my credit score I saw that my score had gone down by 16 points.  Is this usual after being approved for credit card. Will the score go up?  These might be very basic questions but it's my first time and don't want to mess up my score.


Book involving a supernatural adolescent boy, maybe ages quickly, possibly dies

In 1991/2 I read this book that involved a supernatural boy who emerged somehow, or arrived in a space craft, who was befriended.  The being was an adolescent boy, and physically superior to the one who befriended him, but was possibly dying?  Maybe he did die?  I think I remember a foot race, maybe a heart issue?  The book could have been from the 80s or 50s, who knows?  I didn't want to read it, but the teacher had it in her loaner collection.


How do I do mv original.filename new.original.filename without retyping the original filename?  I would imagine being able to do something like mv -p=new. original.filename or perhaps mv original.filename new.~ or whatever - but I can't see anything like this after looking at man mv / info mv pages.  Of course, I could write a shell script to do this, but isn't there an existing command/flag for it?


I'm having Swap partition of 8 GB , how can i create a swap file from it ? Currently having three partitions root , home , swap . So if i create a swap file how do i create it and where do it get saved ? My RAM is about 4 GB.


No Wi-Fi adapter found on Lenovo Yoga L13, Ubuntu 18.04 LTS

I don't have an ethernet adapter.   If I go to Settings > Wifi there is "No Wi-Fi adapter Found".  lspci | grep Network Network controller: Intel Corporation Device 02f0   lspci -knn | grep Net -A3; rfkill list Network controller[0280]: Intel Corporation Device [8086:02f0] Subsystem: Intel Corporation Device [8086:0030] Kernel driver in use: iwlwifi Kernel modules: iwlwifi 0: hci0: Bluetooth   Soft blocked: no   Hard blocked: no   Can anyone help me, please?


What exactly is "the unit interval with two origins"?

says the following:     The converse need not be true: Take $X=I\cup\{0'\}$, a unit interval with two origins, where the neighborhood base of $0'$ is formed by intervals $[0',\epsilon):=\{0'\}\cup(0,\epsilon)$.   Where exactly is $0'$ on the line? From the rest of the answer, it seems like we require $0' \in \mathbb{R}\setminus I$, but I'm honestly not sure why it deserves to


Run simple bash script to start applications at login

I want to run a simple bash script automatically when I log in. For example  #!/bin/bash echo "start spotify" gnome-terminal -e spotify --title spotify   When I run this command, one gnome-terminal shows up and spotify show up. I also want the gnome-terminal to popup "hidden" in a different virtual desktop. (one of the other four virtual desktops you can choose from taskbar)   I tried to add this to /home/me/.bash_login or something, but that didn't work..


Eliminate duplicates from arrays in Java

Write a method that returns a new array by eliminating the duplicate values in the array using this header:   public static int[] eliminateDuplicates (int[] list)   all I have so far is my main, but what I wanted to do for the other method was use a for loop to check values at each space in my array and print them if they did not equal any of the other entries.  Working on it as we speak!  My output is this: The distinct numbers are: [I@4554617c  first of all this is 11 characters and at max I should be printing 10.  import java.util.Scanner;  public class EliminateDuplicates    {       public static void main(String [] Args)      {         Scanner input = new Scanner(System.in);          System.out.println("Please enter ten whole numbers: ");         int[] tenNumbers = new int[10];         for (int i=0; i<10; i++)         {            tenNumbers[i] = input.nextInt();         }                      System.out.println("The distinct numbers are: " + eliminateDuplicates(tenNumbers));       }    public static int[] eliminateDuplicates (int[] list)      {         int count = 0;          for (int i = 0; i > list.length; i++)            {             for (int j = i + 1; j < list.length; j++)               {                   if(list[i] == list[j])                     {                        list[j] = -1;                     }                                      }                  }           for (int i = 0; i < list.length; i++)            {               if(list[i] != -1)                  {                     count++;                  }             }         int[] array2 = new int[count];          int newCount = 0;         for (int i = 0; i < list.length; i++)            {               if(list[i] != -1)                  {                     array2[newCount] = list[i];                  }                              }                return array2;      }        }


First of all, I'm using elementary OS (based on Ubuntu 12.04).  I have a cron job set up to run a script every day at 23:30:  30 23 * * * /path_to_script/   Is there a way to add it to cron via a single terminal command? All examples I've seen involve invoking cron first via crontab -e and then adding the job there.  I'd like a single command for doing this, something like:  cron add-job '30 23 * * * /path_to_script/'


Is there a way to access blender file's material from command line?

I was wondering if there is anyway that i can increase or decrease strength of emission material via command line.. Scenario is I am using google colab for rendering which do not have GUI. So, process is first install blender in VM via command line then link the google drive and run the command wich will read file from google drive and will render in blender installed in VM. So, for just to change emission strength from 2 to 5 I have to upload 300 mb file to gdrive and It is costing too much data. SO, If there is any way that I can access the material strength and  resolution, from command line will be a good option to change some values rather than uploading whole file.


I was watching a UV wrapping tutorial and got stuck as the version of blender they use is different to mine.  I looked in the comments and people said that the way to fix it was to turn on cycles render. However, they do not specify where to find this. So I'm stuck.  Any ideas?


Incorrect File association for .exe files in Windows

I accidentally chose 'open with this program this kind of file' for .exe files. Now, all the files with a .exe extension open with a particular program. My computer does not have an earlier restore point so I can't restore to an earlier time. How to revert my .exe extensions with appropriate applications?


What do the arrows on this Feynman diagram represent?

The picture follows the convention of the time axis being on the vertical direction.   I think this Feynman diagram represents Coulomb repulsion between two electrons with a virtual photon being absorbed and emitted by each electron.   What are the arrows on the electron lines for? I'm not sure what information this tells us.


If I have a two variable linear problem, and I convert it to standard form (adding slack and surplus variables, etc), then any solution to the constraints equation system is a vertex of the convex set of feasible solutions.  And the same holds true for a linear problem of three variables. Converting it to standard form, any solution to the equation system is a polyhedron vertex.  Is this true?  (I'm only asking for a true or false, not more articles about maths where I'd actually have to read and take the time to understand, which would take more 10000x more time than reading a "true" or a "false", thanks. I'm not a mathematician)


Say a security has been trading at under $20.10, and there are limit orders selling at $20.10 and $20.21. Then Simon issues a limit order to buy at $20.21. According to , Simon would end up buying shares at $20.10.  Why does the exchange favor the buyer here?  I.e., why does the transaction execute at the seller's limit of $20.10 instead of the buyer's limit of $20.21?  (I.e., why don't Inara/River get to sell at $20.21 / above their limit, but Simon gets to buy at $20.10 / below his limit?)  Is the example flawed?  If it makes a difference, I'm mainly curious about NASDAQ and NYSE.  I tried Googling for specs (e.g. ), but couldn't find anything.  Only found that some  implementation executes the average of the buy/ask.  Just curious how the system works.


How can I verify the authenticity of an APK file I downloaded?

The latest update of Google Maps is unavailable in my country, so I downloaded a version by googling for "Google Maps 5.4.0 apk".  I did in fact find it, but now I wonder how I can tell if this is in fact the same version as in the market.  How can I be sure that it hasn't been tampered with? Are apps signed in any way? Is there any way of checking the signatures?


How specific does "beast you have seen" have to be for Wild Shape?

Starting at 2nd level, you can use your action to magically assume the   shape of a beast that you have seen before.   This doesn't say anything about the gender or age of the beast, so can a druid change into a female bear if he has only seen male bears? Can he change into a bear cub if he has only seen adult bears? What about hens/roosters/chickens, which look quite a bit different? Or does the gender of the animal shape just match the gender of druid?


Securing and authenticating messages is easy thanks to computers. Lately I've been thinking about something like Vigenère cipher with a OTP, how secure it is, and how easy it is to implement without the aid of computers. However, one thing it doesn't provide is any authentication. Decrypting a Vigenère cipher with pen and paper is trivial, but hand calculating HMAC-SHA256 is not something I'd like to attempt. Are there any authentication schemes which are simple; easy to compute without the aid of a computer? Any chance any of those schemes actually provide decent security?


i have a problem reading an yml file  This is the code:  private void jbtaskUsuarioActionPerformed(ActionEvent evt) {   click.play();   try {     File file = new File("/net/luisalvacelis/sv/archives/config.yml");     YamlConfiguration fileyaml = YamlConfiguration.loadConfiguration(file);     if (fileyaml.getString("Categoria").contains("Selecc")) {       JOptionPane.showMessageDialog(null, "Error: No hay elecciones programadas.", "Error", 0, new ImageIcon(getClass().getResource("/net/luisalvacelis/sv/image/error24x24.png")));     } else {       dispose();     }   } catch (Exception e) {     JOptionPane.showMessageDialog(null, e);   } }   This is what the yml contains:  Categoria: "-- Selecc --"  MySQL:   enabled: false   host: localHost   port: 3306   dataBase: dataBase   userName: name   password: 123  Twitter:   oAuthConsumerKey: "oAuthConsumerKey"   oAuthConsumerSecret: "oAuthConsumerSecret"   oAuthAccessToken: "oAuthAccessToken"   oAuthAccessTokenSecret: "oAuthAccessTokenSecret"   The YamlConfiguration method is from this library:  org.bukkit.configuration.file.YamlConfiguration;   This is the error:  java.lang.NullPointerException at net.luisalvacelis.sv.jframes.Principal.jbtaskUsuarioActionPerformed(Principal.java: 182) at net.luisalvacelis.sv.jframes.Principal.access$1(Principal.java: 177) at net.luisalvacelis.sv.jframes.Principal$3.actionPerformed(Principal.java: 89)   If the file path is correct and the data is correct, why do I get null ?  Better error image:   Basically I use the same code


Coordinate descent soft-thresholding update operator for LASSO

I was reading this paper () describing the coordinate descent algorithm for LASSO, and I can't quite figure out how the soft-thresholding update for each $\beta_j$ is derived for the linear regression case. Specifically, how does one go from equation (4) to equation (5) in the paper? Can anyone show me a detailed derivation of the update? Thanks!  Edit: actually this paper deals with the elastic net penalizing term, which reduces to LASSO when $\alpha=1$. I am mostly interested in LASSO, but I guess the derivation should be principally the same for elastic net.


What is the source of the electric charge on the electron?

An individual electron possesses an electric charge.  Can the existence of this charge be explained further, or is this simply a current "fundamental" of physics?


Best practices: XML attribute vs XML element - When should I use elements and when should I use attributes?

Which would be the correct format for this XML data, are they equivalent or are there trade offs between the two?  1.  <sitemap>   <category name="Animals">
       <page url="/pics/greatdane.jpg" title="Great Dane"/>
   </category> </sitemap>   2.  <sitemap>   <page>     <category>Animals</category>
Dogs
     <title>Great Dane</title>     <url>/pics/greatdane.jpg</url>       </page> </sitemap>   I've implemented the first example with my style sheet and it seems to work fine, but I'm unsure what the correct form should be.


Number of ways to partition a rectangle into n sub-rectangles

How many ways can a rectangle be partitioned by either vertical or horizontal lines into n sub-rectangles? At first I thought it would be:        f(n) = 4f(n-1) - 2f(n-2)   where f(0) = 1     and f(1) = 1    but the recurrence relation only counts the cases in which at least one side (either top, bottom, left or right of the original rectangle) is not split into sub-rectangles. There are many other partitions that don't belong to those simple cases like  [EDIT ImageShack has removed the picture. One of the cases is the sixth partition when n = 4 in the picture in the accepted answer below.]  Any other related problem suggestions are welcome. Also it is nice to know how to traverse this partition efficiently.


Where do electrons in electricity come from?

Where do the electrons come from when an electric generator is making electricity?  Is from the air?  Would a generator work in a vacuum?  Electrons have mass so where would they be pulled from if there is nothing?


"Unable to locate package ubuntu-restricted-extras"

After I did a clean installation of Ubuntu today, not a single package instalation is working. when I type;  sudo apt-get install ubuntu-restricted-extras   It says;  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package ubuntu-restricted-extras   Same goes for vlc and every package I try to install.


Javascript method for parsing specific fields from JSON

What is the best method utilizing javascript to parse this JSON response:    {     "records":[{          "id":"recV4gf3nPUzO980w",          "fields":{             "truck name":"Darla's dumpling cart",             "address":"150 W 57th St, New York, NY"          },          "createdTime":"2018-04-27T22:48:13.000Z"     }] }    So that only the "fields" data is returned, This is a representation of only one record in records and I need to create obj.records.fields where all fields are presented as an array.


Login by phone or email along with Username

There is a requirement to provide login option with all the following: username, email and phone. I understand  provides the capability to login with email or username. I am looking to incorporate the phone number as well, is there a module which would let the user do this?  I did see some posts in Drupal answers too but all of them discuss only about email login.  Edit: The forum suggests me to edit my question with more details about the  post. Registering the user's phone number is definitely something which has to be considered, however, the prerequisite for me is to check whether phone login is possible in first case which will work seamlessly with email login and username login. A multiple provision would not be bad especially for people like me with poor memory ;)


A problem related to an interesting  Casimir configuration.   I have the following configuration , related to a modified Casimir experiment.  We have two parallel metal plates and an  orthogonal  metal plate connecting the two parallel plates. Note that this is very close to the experimental setup of the original Casimir experiment,  except for the orthogonal plate (connecting the two parallel plates at one end).   I would like to know all the Casimir  forces that exist in this configuration.  For clarification you can see the following   My naive intuition could be incorrect, but my impression is that the asymmetric radiation  pressure due to quantum fluctuations would lead to the emergence of a certain force (parallel to the parallel plates), but I don't know if the QFT / QED calculations justify my intuition (where in fact  these virtual particles are just an intuitive representation of links in Feynman diagrams, linked to terms in infinite perturbation series).       Closely following the arguments in these two papers, that force mentioned above does indeed exist (for the three plate system mentioned above).  I hope somebody here can quickly settle this problem, so I don't spend a long time digging for an answer. Thanks.


Who is the Mysterious Stranger and how to find him?

I had an obiective saying that I needed to find the Mysterious Stranger several times (4, if I remember right), in exchange for a Pet Cage. But, how can I find him?


This is about a step in a derivation of the expression for the relativistic Doppler effect.  Consider a source receding from an observer at a velocity $v$ along the line joining the two. Light is emitted at frequency $f_s$ and wavelength $\lambda_s$. The frequency $f_0$ and wavelength $\lambda_0$ received by the observer will be different.  Some textbooks now argue that the wavelength received by the observer is given by $\lambda_0=(c+u)T_0$, where $T_0$ is the time period of the wave in the observers frame. The argument given is that the successive "crests" will be an extra distance $uT_0$ apart due to movement of the source. Upon relativistically transforming the time period in the source frame to the observer frame, the correct result $f_0=f_s\sqrt{\frac{c-u}{c+u}}$ is obtained.  But the argument for the wavelength seems reminiscent of the classical Doppler effect for sound. Is it really applicable here through this argument? And is there a way to show the same result for $\lambda_0$ mathematically?


Is there any way to create a simple txt file without opening the terminal?

Is there any way to create a text file without using the terminal at all?


I am trying to slowly fill a power-up bar which is a single big white rectangle slowly being overlapped by a yellow rectangle. I initially created a white and yellow rectangle with the x of the yellow one constantly changing. I am subtracting my game score to add 1 to the rectangle each time my score goes up by 1. Unfortunately I am getting an NullPointerException error when I run the program. This is occurring at the yellowRectangle.setSize line.  public void powerUp(Graphics2D win) {     win.setColor(Color.white);     Rectangle whiteRectangle = new Rectangle(685, 500, 100, 25);        Rectangle yellowRectangle = new Rectangle(685, 500, myX, 25);      win.fill(whiteRectangle); } public void draw(Graphics2D win) {      if (gameState == 1) {         scoreBoard(win, score);          if(myX <= 100 && myRocket.score > 1) {             myX += myRocket.score - (myRocket.score - 1);             yellowRectangle.setSize(myX, 25);             win.setColor(Color.yellow);             win.fill(yellowRectangle);         }         powerUp(win);      } }


alphabetical order in bibtex with accented words

I have two entries in my bibliography file that are ordered incorrectly and I think the accent has everyting to do with it. Among other stuff I have two entries in the bibliography file:   @Article{ku,   Title                    = {Comprensión del concepto de base de un espacio vectorial desde el punto de vista de la teoría {APOE}},   Author                   = {Darly Kú and María Trigueros and Asuman Oktaç},   Year                     = {2008}, } @PhdThesis{karrer,   Title                    = {Articulação entre Álgebra Linear e Geometria - Um Estudo sobre as Transformações Lineares na Perspectiva dos Registros de Representação Semiótica},   Author                   = {Monica Karrer},   Year                     = {2006}, }   The right alphabetical order would be Karrer first and then Kú, but I get it the other way around. How can I make bibtex to treat ú like u when ordering the bibliography?


What happens if I use Sudden Disappearance?

I just saw this card: . Suppose I use it in my first main step. I attack while my opponent has his cards exiled. At the end step he gets them back.  My question: Will those cards have summoning sickness when his turn comes? (for creatures)


Bibtex bibliography without numbers, sorted and with indents

[I am actually reposting a modified version of my older question because I wasn't able to solve it myself]  I am trying to generate a german bibliography using Bibtex. Here are some three examples of my items:  @book{Kirchgässner-Wolters-2007,   AUTHOR        = "Kirchgässner, Gebhard and Wolters, Jürgen",   EDITOR        = "",   TITLE         = "Introduction to Modern Time Series Analysis",   language      = "",   edition       = "1",   series        = "",   address       = "",   PUBLISHER     = "Springer",   month         = "",   YEAR          = "2007",   volume        = "",   number        = "",   note          = "",   url           = "" }   @unpublished{Chun-Lin-2010,   AUTHOR        = "Chun-Lin, Liu",   TITLE         = "A Tutorial of the Wavelet Transform",   language      = "",   month         = "February",   year          = "2010",   NOTE          = "unpublished",   url           = "" }   @misc{Hyndman-Athamasopoulos-2012,    author = "Hyndman, Rob J. and Athanasopoulos, George",    title = "Forecasting: principles and practice",    year = "2012",    url = "https://www.otexts.org/book/fpp",    note = "[Online; accessed 21-February-2014]"  }   The code I used is this:  \documentclass[a4paper,twoside,10pt]{report} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[ansinew]{inputenc} \usepackage[german]{babelbib}   \begin{document} \nocite{*} \bibliography{bibtemplate}  \bibliographystyle{babunsrt}   \end{document}   This results in the following bibliography:    I would like to have it without numbers but instead sorted according to the first authors name and with indents for the following lines of the same item. I would like to solve it without biblatex.   I find some solutions for one problem, but the others remain unsolved or it rusuls in new problems.  I would be grateful for any help!


Create a bridged interface on separate NIC but same subnet as host gateway

Note: I couldn't find a straight-forward answer in any of the duplicates flagged for this question. The problem is the "right answer" seems to depend very heavily on which release you are running and whether you have a desktop or server profile. I have a bit of both because I installed lubuntu-core to provide some basic remote X functionality and it seems NetworkManager was installed as well but we prefer to edit our network config by hand not use the GUI tools.  Situation is I have a remote Ubuntu 14.04 server I need to reconfigure networking on. I need to safely add a bridged interface eth1 to the remote system without breaking remote connectivity. I have a new /etc/network/interfaces file I want to load but because I don't have an equivalent machine to test it on or physical access to the server I have some questions about my new configuration:   Is the gateway configuration and metric in the file below valid for what I'm trying to do and, Will network manager override or interfere with what I'm doing here? Currently when I ifup eth1 network manager just brings it down automatically. I'm afraid to disable NM in case it kills the remote connection, and If I reboot the system with the updated file and my current configuration should it be able to receive a remote SSH connection when it comes back up?   The server has NetworkManager currently running however I don't need it. I only care that the configuration in /etc/network/interfaces is used and that the machine remains accessible for remote SSH login at all stages of reconfiguration (ie, I do not want to get locked out by a misconfiguration or by taking both interfaces down without a script or reboot automatically and correctly bring them back on).  eth0 is the default interface for host traffic. eth1 is going to be a bridge for a KVM virtual machine with it's own external IP address. Both interfaces connect to the same physical switch and share the X.X.X.0/24 subnet. My understanding is I need a bridge for this to work BUT I also need to be careful about my gateways and metrics because I have 2 interfaces on the same network.  The host currently has the following NetworkManager status:  # nmcli d status DEVICE     TYPE              STATE eth1       802-3-ethernet    unavailable eth0       802-3-ethernet    unmanaged   And configuration in NetworkManager.conf:  [ifupdown] managed=false   I've created the new config below:  # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback  # The primary network interface auto eth0 iface eth0 inet static         address X.X.X.4         netmask 255.255.255.0         network X.X.X.0         broadcast X.X.X.255         gateway X.X.X.1         # dns-* options are implemented by the resolvconf package, if installed         dns-nameservers X.X.X.2         dns-search example.com         # Interfaces with lower values get used first         metric 10  ### NEW BRIDGED INTERFACE ON ETH1 ### auto eth1 iface eth1 inet static         address X.X.X.7         netmask 255.255.255.0         network X.X.X.0         broadcast X.X.X.255         # do I need gateway here or will it conflict with eth0 ?         # gateway X.X.X.1         metric 20  auto br0 iface br0 inet static         address X.X.X.200         netmask 255.255.255.0         network X.X.X.0         broadcast X.X.X.255         gateway X.X.X.1         bridge_ports eth1         bridge_stp off         bridge_maxwait 5         # dns-* options are implemented by the resolvconf package, if installed         dns-nameservers X.X.X.2         dns-search example.com         metric 30   As I said though, with this new config just added to the server an ifup eth1 only works until NM decides to remove it. That's making testing anything problematic but I'm worried simply disabling NM could be much worse.


How to allow both backspace and digits on a textbox in C#

How can I allow only backspace and digits on a textbox ?  I've tried several solutions but none worked or they half-worked:  My code so far:  private void textBox1_TextChanged(object sender, EventArgs e) {     try     {         if (textBox1.Text != String.Empty)             textBox1.Clear();         else             value = Convert.ToInt32(textBox1.Text);//store the value from the textbox in variable "value"     }     catch (Exception e1)     {         MessageBox.Show(e1.Message);     } }   I would like a solution which is limitted only to private void textBox1_TextChanged()


Did Dumbledore plan to have Harry possess all 3 Hallows?


Removing indentation *after* certain objects have been used

Is there any way to automatically remove any indentation of text right after \includegraphics or a \begin{center} environment is used ? Consider the following MWE pertaining to the use of \begin{center}:  \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \begin{document} Some text... \includegraphics{some_graphic.png} Moar text...  \begin{center} Some centered text... \par\end{center}  Moar text...  \end{document}   I don't want any of the "moar text" to be automatically indented. Using each time a \noindent is not an option.  ( answered question of mine might be of relevance, since there it is explained how to remove indentation of those lines start star with a specific object - in contrast here indentation has to be removed from those lines which are after some specific objects.)  Thanks a lot for any help!


Mysterious missing half the RAM, although windows reports it's usable

My Windows 10 64bit PC has 16GB of physical RAM:  C:\>wmic MEMORYCHIP get BankLabel, DeviceLocator, Capacity BankLabel  Capacity     DeviceLocator BANK 0     17179869184  ChannelA-DIMM0   Also under About your PC it says:  Installed RAM 16.0 GB (15.7 GB usable)   But in Task Manager my memory shows as 83% full. Once in a while some applications get automatically closed because of out of memory issues. So I digged in to check what uses so much RAM. The biggest offender was Firefox with about 800MB of RAM. But that's just not that much. Then I did a tasklist /FO CSV > tasks.csv to sum up all the memory usage, and the result was 6.4GB, which is about 83% out of 7.7GB (assuming that 0.3GB are always reserved for video stuff).  This suggests that even though Windows sees the full 16GB, it only uses 8GB. Or, it uses 8GB for some secret stuff it doesn't want to show in task manager.  Any suggestions on how to investigate this further?


Impossible to activate a conda environment by shell script

I would like to activate a conda environment by a shell script, as suggested , I have tried: #!/bin/bash -i source $(conda info --base)/etc/profile.d/conda.sh conda activate myenv  but it doesn't change the actual environment, why? Update: I am using Xubuntu-20.04.01. I don't get any error messages, but the environment remains the same (base). I have tried to add eval $(conda shell.bash hook) in the script, but it doesn't work.


Required Power Supply Driver for Peltier Module TEC12715?

I am making a Mini-Air conditioner based on Peltier TEC12715. I'm going to use 10 peltier elements for better cooling. 1 peltier module requires: Umax(V):15.4 Imax(A):15 Max power consumption (watt):231 Watt . How much power supply is required to run all 10 Peltier Module. Which Power supply driver(AC to DC) should i pick?


Confusion about why sine/cos is used to represent SHM

When I learnt about shm 2 weeks ago I was confused why SHM $x$-$t$ relation) is represented by sine or cosine function. It is hard to imagine the motion of pendulum as a sine or cosine motion (quite impossible). As of now I learnt the whole chapter.  I answered my confusion by guessing that: - As SHM is periodic, it is represented by a sine or cosine function. Is this guess correct?  But at the end I still have a small doubt that whether it is sine/cos because it is periodic or the motion of pendulum is LITERALLY sine or cosine motion.


Does new panel needs to be up to new code?

I'm adding a 40A breaker to the existing panel in my condo to charge an EV (Electric vehicle). I called the city and they said that as long as I have space for the breaker that would be ok. I do have the space but I have to move a 15A breaker to the other side of the panel (Panel is challenger SL12(8-16)CGN) where the connection tab is is the opposite side. Then get the 40A and a 15A breaker. These old breakers are very expensive, $25 for the 15A and $50 for the 40A, maybe because they have the connection in the corners and not the center. The place was built in 1986 (Southern California). I can buy newer breakers and a new panel for about $100 (Square D homeline panel and breakers).   Would I need to use AFCI breaker (new NEC code) if I change the panel? That would change the price too much to do it.   Thanks


I have a map that I needed to use a boolean modifier on to cut out the water systems from a textured plane. It's messy with lots of verts and now I have problems with the face rendering. How would you suggest fixing something like this? Thanks for any ideas]


Transit visa obtainable at Zurich Airport

We are 2 South Africans going on a cruise in Croatia and have an 14 hour layover at Zurich.  I have been advised that we can apply for a transit visa at the airport in Zurich.  Is this easy to obtain?


How to implement Certified Random in LaTeX

What is the best way of implementing  coauthors in LaTeX. There is one potential  from the comp.text.tex usenet group that uses perltex and can be modified as follows:  \usepackage{perltex}  \perlnewcommand{\shuffleauthors}[1]{ @authlist = split /\\.*?\{c\}/, $_[0]; foreach (1 .. 3) { foreach $i (0 .. $#authlist) { $r = int(rand(@authlist)); ($authlist[$i], $authlist[$r]) = ($authlist[$r], $authlist[$i]); } } return join(" \\textcircled{r} ", @authlist); }  \title{Test of Random Authors} \author{\shuffleauthors{Arthur Won \and Ardur Tu \and Auzer Trea}}  \begin{document} \maketitle  \end{document}   Unfortunately \thanks footnotes do not work in this implementation and I'm not enough of a latex coder to get it to work.  Moreover, the ideal implementation would not require perltex.


I am just wondering if there is any talk about adding notifications to the tab (like gmail) on stack overflow. It would come in handy as at the moment comments, notifications etc only appear if the page is reloaded.


Exercise on infinite series: pointwise product between convergent serie and unbounded sequence

I am not able to solve this exercise. I've tried everything.     Exercise Let be $a_n > 0$ a sequence and suppose that $\sum a_n$ converges. Prove that exists a sequence $c_n > 0$ such that $\lim c_n = \infty$ and $\sum c_na_n < \infty$   I don't even know if I have to find an "always-valid" closed form for $c_n$ (maybe in function of $a_n$?) or prove its existence in another way.  Thanks in advance.


Russian emperors are usually referred to as "Tsars" or "Czars". However, while the first spelling (Tsar) utilises the  of the Cyrillic ц as ts, the second transliteration does not.   None of the Slavic languages that use the Latin script render their ц phoneme equivalent as "cz". ,  render the phoneme as c instead. cz renders as a completely different phoneme in Polish, and does not exist in Czech or Slovak.   Where then, did the "cz" spelling originate from?


How to know when my password will expire?

How can I get to know when my password will expire? I'm running IBM AIX.


Does Lorentz Invariance depend on the continuity of spacetime?

We may also ask: Is the assumption of continuity of spacetime required by Lorentz Invariance?


How to visualize Reverse Triangle Inequality $||\mathbf{a}| − |\mathbf{b}|| ≤ |\mathbf{a} − \mathbf{b}|$?

pp  and ,   illustrates Triangle Inequality. But without referring to Triangle Inequality at all, how to picture  Reverse Triangle Inequality for all $\mathbf{a,b} \in C^n$? I don't want proofs or rigour.


How to create a generic function that returns the generic type in C#

Trying to create a generic lerp function in C#. My function currently looks like the one below.  public T Lerp<T>(T lhs, T rhs, float t) {     return (1.0f - t) * lhs + t * rhs; }   The question referenced as a duplicate constrains they type to built in types. I don't want to return a constraint I want to return an object of type T(Generic Object?) in C#.


Multiple Alpha Meshes Stacked Turning Black

So uh, I'm rather new to the Cycles Engine, and while I've been able to find a lot of it out, I'm struggling with one specific thing. The center of this model I'm working on, (Not my model by the way) has a kind of ball of lightning in the center, comprised of multiple plane meshes kind of randomly rotated within the model. However, attempting to recreate this in cycles is giving... odd results.  As you can see, the alpha is getting applied properly, but as multiple of the meshes layer up, the meshes kind of, create a blackness again, as if they were created without the alpha layer. But as you can see, the edges of the lightning, where there isn't another mesh behind it, is still transparent.    You can observe it more here with this tower of planes, after five or so, they suddenly turn black.


Man wakes up too soon and scene isn't set

I'm looking for a story published between 1955-62.  A man wakes up too soon and finds that he has been "living in a play" and the scene hasn't been set for that day.  Would probably have appeared in Fantasy and Science Fiction.


How to get the date from 7 days from now

I want to get the date 7 days from what the current date is. I am not to sure what code would be needed.    The code I have to find the current date is:  DateFormat dateFormat = new SimpleDateFormat("MM/dd/yyyy"); Calendar cal = Calendar.getInstance(); String date = dateFormat.format(cal.getTime());


There is a formula for cubic equations and quadratic equations. Is there a formula for the equations in the form $ax^4+bx^3+cx^2+dx+f=0$ I also skipped $e$ because of Euler's constant.


Is there a way to block a list of specific apps on macOS?  I have looked up solutions such as Cisdem, but there are some holes in the way it works that I don't like.   Unless you also block Activity Monitor, Terminal, and System Preferences, you can simply quit the Cisdem process or create a new user to get around it. You have to block Activity Monitor, Terminal, and System Preferences to make it work well.   I want to block an app from running or even being installed on my Mac. The app can be installed via the App Store and the web. Not sure how to go about this. Enabling Parental Controls won't work as Administrator privileges are needed.   The specific app I want to block is Apple Configurator.  Any ideas?


Why were the people of Rhun and Harad allied with Sauron?  Did they join him out of fear, or did Sauron say he would give them something if they joined him?  I know the men of Dunland were angry at Rohan; did Rhun and Harad have something against Gondor?


Proving inequality $\sqrt{\frac{2a}{b+c}}+\sqrt{\frac{2b}{c+a}}+\sqrt{\frac{2c}{a+b}} \leq \sqrt{3 \left(\frac{a}{b}+\frac{b}{c}+\frac{c}{a}\right)}$

In the pdf which you can download  I found the following inequality which I can't solve it.     Exercise 2.1.11 Let $a,b,c  \gt 0$. Prove that    $$\sqrt{\frac{2a}{b+c}}+\sqrt{\frac{2b}{c+a}}+\sqrt{\frac{2c}{a+b}} \leq \sqrt{3 \left(\frac{a}{b}+\frac{b}{c}+\frac{c}{a}\right)}.$$   Thanks :)


$x^2+3y^2=p$ for p prime , has a solution $(x,y) \in \mathbb{Z^2}$ iff $ p \equiv 1$ (mod 3) .

It is clear for $p=3$ ($x=0$, $y=1$ and $x=0$, $y=-1$) .  Let  $x_0^2+3y_0^2=p$  , $\qquad $ $(x_0,y_0) \in \mathbb{Z^2}$ .   Reduction modulo 3 gives $$x_0^2 \equiv p  \pmod 3$$  it follows that $p \equiv 1\pmod 3$ .   Now I can use the fact that the class number of $\mathbb{Q[\sqrt-3}]$ is 1 , but I do not know how to make use of it .


How to use access callback and access arguments to restrict access by role?

I'm creating website for a hostel, in this there are two roles (guest and property owner).   if i give 'access callback' => TRUE the page can be accessed by both of the property owner and guest, but i don't need it, the page should be accessed by only property owners.


I'm looking for a way to change my public IP address. You know, the one that other websites see.   I know what I'm looking for is basically a proxy server, but I don't want to use a proxy for 2 reasons:  1) It slows me down. 2) See reason #1.  I'm using Ubuntu 9.10, I'm connecting to a public WiFi network (the ISP is Time Warner Cable). I'm getting my IP through DHCP.  Thanks for any help!


I created a custom button Send Email in Lightning Experience. The problem is that button in visible in feed section layout, but I want to put it in the upper right corner of page layouts near Edit, Clone, Delete ecc....  How Can I do that? Thanks  I add an image that explain the situation.    EDIT: I would like to explain you better my problem.  I have created three custom quick action:   I have added them to the case page Layout as you can see    I would like to understand the reason why I don’t see these three custom action in the Page Layout in the section in the top right


Would a domestic airline send a delayed luggage abroad?

I will be flying tomorrow with Southwest, and the day after back to Europe with a different airline.  I am wondering whether Southwest, should my checked-in luggage be delayed (because of them), would send this luggage to Europe?   I know from experience that this would be the case with international airlines but I am not sure how it works for a company serving domestic flights only (or at least no flights to Europe).   is below, but I am not sure how it works in practice for international customers.     How will my baggage get to me if it is delayed?      We will make every effort to quickly recover and return your baggage   to you to minimize the inconvenience caused by the delay.  In most   cases, we will deliver your delayed baggage to the location of your   choice.  You may also be advised of additional options by the   Employees helping you locally, depending on the situation that caused   your delay or the intended delivery location.


$\Sigma_{\alpha \in A}x_{\alpha}\lt \infty$, show that $x_{\alpha}=0$ for all but at most countably many $\alpha \in A$

If ($x_\alpha)_{\alpha \in A}$ is a collection of numbers $x_{\alpha}\in [0, \infty)$ such that $\Sigma_{\alpha \in A}x_{\alpha}\lt \infty$, show that $x_{\alpha}= 0$ for all but at most countably many $\alpha \in A$, even if $A$ itself is uncountable.  This is exercise 0.0.1 in Terrence Tao's "An Introduction to Measure Theory", haha.   Can somebody give me some insight here? Haven't been in the analysis mindset for awhile. I think proceeding by contradiction might be a good strategy.


The queation is : Show that the sum of the squares of the intersecting axes of the tangent plane at any point ($x_0$, $y_0$, $z_0$) of the surface $x^{2/3}$ +$y^{2/3}$ + $z^{2/3}$ = $a^{2/3}$ is constant. My attemp with two variables using parametric subsitiution: $x=a{cos}^{3}\theta$ , and  $y=a{sin}^{3}\theta$ and then find the tangent $\frac{dy}{dx} = - \frac{sin\theta}{cos\theta}$.  The tangent equation then yields a constant as shown in the attached picture.  However, I could not prove it for three varialbles, Any idea,


Installling fails with no error messages

I installed Drupal 7 on linuxMint 17.1 localhost using the install wizard. Submitting the database configuration page leads to a white screen and nothing else happens.  Looking at the database I could see some data though.  Can anyone help me to fix it?


Where to apply for MSc depending on GPA?

I am an engineering undergrad in my third year. The question that I am asking might sound like a duplicate but I seek some rough statistics. What classification might be roughly correct for institutions offering MSc degree for their average acceptation GPAs?  To visualize, I do not expect a 2.8/4 average student to be accepted to MIT except extreme cases. Would it be "roughly" correct to make a tabulation as follows:  top-20:   3.7/4  top-50:   3.5/4  top-100:   3.3/4  top-200:  3.0/4  I am aware of that it lacks real statistical information and there are many external factors shaping this kind of generalization, however, it would be helpful for making "realistic" degree applications. Any improvement would be appreciated.


A question regarding $\lim_{x\to0}\frac{\sin\frac{1}{x}}{\sin\frac{1}{x}}$

I can not solve this question   $$ \lim_{x\to0}\frac{\sin\frac{1}{x}}{\sin\frac{1}{x}} $$  Because I am getting two different answers for different situation.   Situation - 1 ) If $\sin(1/x) = 0$ then the answer will be indeterminate. Situation - 2 ) If $\sin(1/x) \neq 0$ then the answer will be "one".   Which one is correct and why?


Labelling with empty cells of attribute table in QGIS?

I'd like to label points in a vector layer. In my attribute table I have a .csv with a list of material for each position (it's the planning of marathon race). Some of the cells are empty, though there is no need for a road barrier ("Gitter") or a fireman ("Feuerwehr") in every position.  If I insert too many labels (ID + others), they aren't visible anymore in the map.  Do you know what could be the problem?   Is it because empty cells do not work?


Why have my email notifications stopped?

Until about a week ago I was getting daily email from stackexchange.com (for every day on which I had any activity) notifying me of comments, answers to my questions, and chat pings across the network.  I haven't received any of these notices for since June 9, though I continue to see the corresponding activity on profile pages and in the global notifications area in the top left corner of every page.  These messages haven't started going to my spam trap; it appears that they aren't arriving.  Why might that be?