Possible to reset Keychain password without knowing the old password?

My girlfriend forgot the password for her MacBook (don't ask), so I reset it using the Utilities.  But as you may be aware, this doesn't reset the Keychain password. Her MacBook is now virtually unusable due to Keychain demands continuously provoking a request for the Keychain password.  There are lots of other people asking this around the web and they're usually pointed towards this , which doesn't apply in our situation because the support advice involves entering the old password.  We don't know the old password.  Is it possible to reset Keychain without knowing the old password? We're not bothered about what's in there and what will be lost, we just want the continuous password prompts to go away.


Convert DOS line endings to Linux line endings in Vim

If I open files I created in Windows, the lines all end with ^M. How do I delete these characters all at once?


How can I get read access to *all* files on my harddisk?

Recently I had a full harddisk and needed to delete some files. I used WinDirStat to see where the big files are.  Afterwards I remembered that I had a 5GB Microsoft SQL Server database backup restored in my local SQL Server instance. However, the data directory of SQL Server did not show up in WinDirStat, even though it used 6GB of disk space.  Is there some way to list all directory sizes, like in WinDirStat, but all of them? If there is some directory I don't have access to, I want to get a warning like     The size of directory XY could not be determined since you lack permission to access it.   If I get that warning, I can go to Windows Explorer and get those rights.  Is there some way to get access to all the folders and files on my harddisk?


Someone asked a question today on how to prevent windows from moving when monitors disconnect. I know I did this a few months ago with gsettings but can't remember the schema/key.  How can I list all gsettings changes I've made since installation?


Forgot encryption password, too many wrong password attempts = wipe: Can I image my phone to "get more password tries" by restoring an image?

Forgot my Android encryption password, only have 10 tries left before data wipe, how can I backup my phone to get 10 more tries if I don't manage to find the password within 10 tries? For context:  ROM: Lineage 14 official build Custom recovery: TWRP Bootloader: Unlocked The phone is not rooted. No SD card port.  *The phone is encrypted with a password (not a PIN) *I don't remember the exact encryption password, so I can't get past the password prompt after booting. But I am sure I can find it if I keep trying. It might take me more than 10 tries to enter all variations though. *I can't access or mount /data from TWRP (nor can I get past the password promt after booting) without the password. *After entering the wrong password multiple times, the password prompt says I only have 10 tries left before the data gets wiped, and I must avoid this at all costs. (Since Android 6 or 7, there is a limited number of tries before the phone gets wiped) My question is: How can I make a backup of the phone in it's current state, so that even if I don't manage to enter the right password after booting the phone 10 times, I can restore the phone in it's current state and still have 10 more tries (and eventually repeat this if I still don't manage to find the password after 20 tries)? I have found some tutorials that show how to backup /dev/block/mmcblk0, but they require root (I can't install anything in my phone since it's encrypted...). And I am not even sure if it will work to restore the phone in it's "10 tries left". I also don't have access to /data partition from TWRP without entering the password (it shows "0MB") so I can't backup the /data partition from TWRP. Thanks


In a research paper, is it acceptable to include expletives in the results of a text analysis?

Currently, I am doing a research paper and as a result from my text analysis, I found a record which contains a (*UCK) word. Is it ethical if I submit it as it is to a conference? Hereby in the image (in the third record)


Terrible font rendering in some applications but not others

I'm not sure what's changed, but all Windows updates are done, and all browsers are fully up to date.  Chrome 40, Firefox 35, Opera 27.  This is what my fonts look like at the moment:    I have ClearType turned on, and if I open up Word and write some large type in the same font faces everything looks fine.  I tried changing the website I'm working on to Calibri, and that was still blocky and horrible even though it's a local font that I definitely have, and which Word displays correctly.  I've tried turning it off and on again.  This is a recent problem (i.e., something has changed, it is not a problem associated with an initial installation).


How did I get a bonus on my answer directly?

I got a +50 on my answer to one of the questions on SE, and found that the answer was awarded bounty by somebody. I didn't find any explanation of this on the help topic for 'bounties'. All that's given is that a question is eligible for bounty, someone can award a bounty from their own reputation and some time is allowed to pass before it can be awarded. But nothing of this sort.  Can someone explain to me what's going on?  Link to the said answer:


after adding new element in html function of jquery is not working

I have written code to add table element and I am trying to console log the onclick function of that class that is not working            add

 something


Are all the youtube animations of EM waves wrong?

In the typical youtube animations/drawings of the electric and magnetic field fluctuations, the magnetic field peaks at the same time the electric field peaks. Since a magnetic field is created with a “changing” electric field, shouldnt the magnetic field peak when the electric field is changing most rapidly, namely, when the electric field is crossing from positive to negative? As the animations show, the magnetic field is peaked when the electric field is slowing to a stop then changing direction, and this doesnt seem correct to me. Are these animations just simplifying the actual dynamic?  Edit: so if dB/dt = dE/dt, a change in electric field causes a CHANGE in magnetic field? So when change of electric field is zero the change in magnetic field is zero?


I'm relatively new to latex, and I'm trying to get a test bibliography working. I'm just going through the sharelatex section on biblatex () and am just running their example code. However, instead of showing a few lines of text with citations within and then a list of references, I only get the text with citations. The list of references is not shown at all.  I'm using TexStudio, if that means anything.  The code in question is as follows:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel}  \usepackage{biblatex} \addbibresource{sample.bib}  \begin{document}     Let's cite! The Einstein's journal paper \cite{einstein} and the Dirac's      book \cite{dirac} are physics related items.       \printbibliography  \end{document}   and sample.bib contains:  @article{einstein, author =       "Albert Einstein", title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German}) [{On} the electrodynamics of moving bodies]", journal =      "Annalen der Physik", volume =       "322", number =       "10", pages =        "891--921", year =         "1905", DOI =          "http://dx.doi.org/10.1002/andp.19053221004", keywords =     "physics" }  @book{dirac, title={The Principles of Quantum Mechanics}, author={Paul Adrien Maurice Dirac}, isbn={9780198520115}, series={International series of monographs on physics}, year={1981}, publisher={Clarendon Press}, keywords = {physics} }  @online{knuthwebsite, author    = "Donald Knuth", title     = "Knuth: Computers and Typesetting", url       = "http://www-cs-faculty.stanford.edu/~uno/abcde.html", keywords  = "latex,knuth" }  @inbook{knuth-fa, author = "Donald E. Knuth", title = "Fundamental Algorithms", publisher = "Addison-Wesley", year = "1973", chapter = "1.2", keywords  = "knuth,programming" }   EDIT: Just to clarify, Actual Output  Expected Output   EDIT 2:  Adding biber as the default bibliography still gives the same output, but also gives the following messages:      Process started: biber.exe "test"  Use of uninitialized value $llabel in concatenation (.) or string at C:\Users\~\AppData\Local\Temp\par-5072696d617263682d4956\cache-6bef6bfac2f8155f13b160f6720d3dbe6a10b684\inc\lib/Biber.pm line 675.  Use of uninitialized value in string eq at C:\Users\~\AppData\Local\Temp\par-5072696d617263682d4956\cache-6bef6bfac2f8155f13b160f6720d3dbe6a10b684\inc\lib/Biber/SortLists.pm line 77.  INFO - This is Biber 1.8 INFO - Logfile is 'test.blg' INFO - Reading 'test.bcf' WARN - Warning: Found biblatex control file version 2.7, expected version 2.5 INFO - Found 2 citekeys in bib section 0 INFO - Processing section 0 INFO - Looking for bibtex format file 'sample.bib' for section 0 INFO - Decoding LaTeX character macros into UTF-8 INFO - Found BibTeX data source 'sample.bib'  Process exited with error(s)   With bibtex it gives the following:      Process started: bibtex.exe "test"  This is BibTeX, Version 0.99d (MiKTeX 2.9) The top-level auxiliary file: test.aux I found no \citation commands---while reading file test.aux I found no \bibdata command---while reading file test.aux I found no \bibstyle command---while reading file test.aux (There were 3 error messages)


I am not very familiar with Linux so please bear with me. I have tried to dual boot my Windows 10 machine with Ubuntu 18.04. After succesfully installing Ubuntu using the "install alongside windows" option, I can no longer boot into Windows. In Grub there is still a windows boot manager option, however, when I select that option, it takes me to the windows recovery. There it shows me error code 0xc0000001. As an additional note, Ubuntu works fine and I can still see my windows files in the file explorer in Ubuntu. I have tried the following thing without succces:  bootrec /fixmbr and bootrec /fixboot on windows installation media boot-repair in Ubuntu (summary: ) sudo update-grub  Any advice would be appreciated! SOLVED: I just reset windows in the recovery (did not lose any files)


Changing the maximum mail size in Postfix

When sending large email to a new CentOS6 server running Postfix as the MTA, the following message is returned:  tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 552 552 5.3.4 Error: message file too big (state 18)  I found the following , but am unclear as to where it needs to be added in the main.cf file:  This was caused by Postfix and it's limit on not only messages but mailbox sizes. I had to add this setting in /etc/postfix/main.cf: message_size_limit = 31457280  How can the maximum mail size (including attachments) be increased in Postfix?


How do I give dungeons sensible layouts that are still gameable?

When creating dungeons, I like to try to give them a history beyond "old place with traps and monsters and gold", since I like everything to feel real and have a purpose. However, whenever I try to map out one of these, they either end up with planning that doesn't make sense for what it is, or wouldn't be fun to play through.  How do I create a dungeon layout that has/had purpose and would still be fun and challenging to explore?


What oven temp and time is required to get medium rare


(gedit:5596): IBUS-WARNING **: The owner of /home/user/.config/ibus/bus is not root!. How to solve this error?

When I am trying to edit some files I am getting this warning. How can I resolve this error.  (gedit:5596): IBUS-WARNING **: The owner of /home/user/.config/ibus/bus is not root!


how to run command from terminal while keeping terminal free?

Whenever I want to run a program (usually GUI) from terminal, but I want to keep it free for further use, I run the program like this:  ./Programs/androidstudio 2>/dev/null >/dev/null &   This just works. I was wondering if this is the right way to do it, or if there's a shortcut way.  P.S: I don't need to keep the program running when I close the terminal. I use guake and I always keep it open.


3D donuts and the centre of a black hole

I have been trying to imagine ways to visualise the gravitational field of the earth... It's near zero at the outer edges of the atmosphere, strong at sea level, strongest at the quarter point, then drops off to zero again towards the middle as the masses cancel each other out... Something like a 3D donut?  This got me thinking about black holes. Would they also have an area of zero g right at the centre where all the surrounding mass cancels each other out?


"become a President" or "become President"

If he had not been a film star, he would not have become President.     In my opinion, "a President" is correct. Examples:     "My dream is to be a teacher"   "My dream is to be a President"   Which is correct usage? President or a President?


How Do I Use Armatures , I cannot get them to work with my meshes

Im Trying To Learn How To Animate Movement with Armatures but all i can seem to do is move the armatures and not the actual mesh.


$f (f(x))=-x$ - there's no such function

Prove that there's no continuous function $f:\mathbb{R}\rightarrow\mathbb{R}$ such that $f(f(x))=-x $.   Any hints?


Transmission of information over long distances

I am reading that entangled particles can share information across long distances and the speed is usually faster than the speed of light...so am I right in assuming that future communications in the world will be without satellites and cell phone towers? Two entangled computers can talk instantaneously ...say between New York and Mumbai?  I sit in New York and feed in "A" in my computer, that information shows up in my friend's computer in Mumbai? Only thing is these two computers (processors/monitors) need to be entangled during manufacture?


Why force $F$ is $ma$ but not $md$ or $mv$? How can I observe and understand "force" in real life?

As a layman, i can calculate approx "displacement" just by observing the moving object. And accurately by using a simple "scale". Similarly, again, I can calculate angle from origin by using displacement in $x$ and $y$ dimensions. Similarly I can use a stopwatch and scale to understand velocity.  But when I read about , first of all it confuses with the english word "force", we use in real life. To some extent I am sure, it has nothing to do with that. So exactly what is it in the real sense. How can a layman, see force as, just like he can see displacement or angle? Or force is just a quantity defined by physicists to simplify the combinations of $ma$, they might be facing every time. And thus came up with term "force" ( which is similar in spelling to english word in oxford dictionary). And lastly, why not force has just been called as something proportional to mass and it's displacement or velocity. Why something at the level of change of velocity has been used to define it.


Problem filling a list and adding elements in python

i just want to create a list and append elements to it,but i am facing a problem this is what i have tried l=[[]]*4 l[3]+=["aaa"] print(l)  i am getting output of [['aaa'], ['aaa'], ['aaa'], ['aaa']]  but if i do this: l=[[] for i in range(4)] l[3]+=["aaa"] print(l)  i get: [[], [], [], ['aaa']]  can anyone explain me the difference between these two


What would happen if an object could fall straight through the Earth?

Let’s say, as a thought experiment, that we drilled a hole straight through the Earth and out the other side. Let’s ignore things like heat and what a massive undertaking this would be. We would have a hole with no bottom. If you could look through the hole and somehow see out the other side clearly, you would see the sky. We then drop an object into the hole. Does the object fall all the way to the center and out the other side at an extreme speed due to the acceleration of gravity? Or does it fall to the center, rise “up” the other way, only to fall back “down” again? (and if so, how long would that yo-yo action continue for?) Or would something else happen? How does gravity work in this situation?


How do I route traffic through specific interface for a specific process

I have a script that runs from cron every 15 minutes. The script is meant to ping my DNS server to update a dynamically changing IP. I want this script to ping through the wlan interface and not the eth0.  However, other processes should use eth0 as the primary interface to access the internet.   How do I do this for a specific process only without disturbing other processes? Is there a way to direct traffic through interface like directing stdout? like ls -al > /dev/tty2'. Can chroot help me in this by giving me a sandboxed environment?


Project world map to Esri EPSG in GeoServer

What I would like to do is to project world map from EPSG:4326 to other ones in GeoServer, special for the Esri EPSG world projection methods. GeoServer has so many EPSG codes in the demo/srslist, but seems most of them do not work. For example,from EPSG 4326 to 54052 PROJCRS["World_Goode_Homolosine_Land"], I put the gt-epsg-extension-23.2.jar which mainly support the Esri EPSGs to the GeoServer lib path，it should have done for it's projection, but nothing happens. So how to make GeoServer support the Esri world map projection, like "World_Goode_Homolosine_Land" 54052, "World_Bonne" 54024 or "World_Winkel" 54019? GeoTools maybe supported the Esri EPSGs, does some errors happen in the GeoServer inside?


How to declare an instance of a class that requires enum as template parameter

I'm having a problem with declaring an instance of class. The code:  //main.cpp #include "klass.hpp"  int main(int argc, char** argv) {        Klass<Type::Big>* klass = new Klass<Type::Big>(); }  //klass.hpp #pragma once  enum class Type { Big, Medium, Small, };  template<Type T> class Klass { private: public: Klass(/* args */); ~Klass(); };  //klass.cpp #include "klass.hpp"  #include <iostream>  template<Type T> Klass<T>::Klass(/* args */) {    std::cout << "Hello from Klass class"; }  template<Type T> Klass<T>::~Klass() {   }   I'm trying to compile with:  g++ -std=c++17 -o test.exe .\main.cpp .\klass.cpp   And I'm getting the error:     undefined reference to `Klass<(Type)0>::Klass()'   collect2.exe: error: ld returned 1 exit status


How does many worlds interpretation work for non-50/50 probabilities?

The many-worlds interpretation of quantum mechanics has always been explained to me at a high level using examples of binary events (e.g. atom either did or did not decay at any given moment in time), which leads to a conceptually clean idea of "branching" into two distinct universes. But how does branching work if you have, say, a 70% probability of something happening (e.g. measuring the spin of an electron having gone through an SG apparatus oriented at an arbitrary angle)?  Do you say that 7 universes got to spin up and 3 that got spin down (to account for the 70% probability)? Does that mean those 7 universes are in-every-way identical copies of each other? But then what if you had something with a 71.87154819...% chance of happening? You would need an uncountably infinite number of branches to be able to represent arbitrarily precise probability ratios, and then subsets of those branches would contain uncountably infinite universes that are 100% degenerate and identical to each other. Is this what the standard many worlds interpretation assumes?  If not this, then what? You can't say that there's a 70% chance of universe A happening and a 30% chance of universe B happening if you're saying both happen. How does the many-worlds interpretation put a "weighting function" on different branches or outcomes?


Enumerate paragraphs and subparagraphs like sections but with letters

I'm using pandoc and in my template.tex exists this code to make the paragraphs and subparagraphs to behave like sections.  % Redefines (sub)paragraphs to behave more like sections \ifx\paragraph\undefined\else \let\oldparagraph\paragraph \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}} \fi \ifx\subparagraph\undefined\else \let\oldsubparagraph\subparagraph \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}} \fi   This code generate number like this:  1. chapter  1.1 section  1.1.1 subsection  1.1.1.1 subsubsection  1.1.1.1.1 paragraph  1.1.1.1.1.1 subparagraph   How to change this code to enumerate with letter like this:  1. chapter  1.1 section  1.1.1 subsection  1.1.1.1 subsubsection  1.1.1.1.a paragraph  1.1.1.1.a.a subparagraph


How to install ubuntu and remove windows 10

How do I go about and remove the windows 10 os and install the Linux Ubuntu os. I need to know what to do and what not to do. I tried to install Ubuntu along side of my windows 10 os and deleted my MBR files for windows 10 when I tried to remove the Ubuntu installation from the computer. I tried to install linux ubuntu today but was halted by too many problems on the pc was that upon booting from the usb it came to the menu do you want to try Ubuntu install Ubuntu and a couple of others I need help installing this because when I go to install it just shows the language, and then I follow the steps up to the how do I want to install it, however I get do you want delete disk and all files or do I want to install it a long side the windows boot loader. What am I doing wrong. I know have to re-transform my usb flash drive back to one that can boot with Ubuntu. What version of Ubuntu should I download if I have a 1ghz cpu and a 2gb ram card and a hard drive of about 300 gigs


Serializing and deserializing ArrayList of objects

I have an arrayList of objects public ArrayList<Brick> bricks; defined later in the constructor bricks = new ArrayList<Brick>(); . And then used in paintComponent method:  public void paintComponent(Graphics g) {     Graphics2D g2d = (Graphics2D) g;     super.paintComponent(g);      for(Brick b: bricks){         b.draw(g2d, b.type);      }      Toolkit.getDefaultToolkit().sync(); }   After adding bunch of objects I'm using serialize method :      public void serialize(ArrayList<Brick> al){         try{             FileOutputStream fos= new FileOutputStream("levels/level1");             ObjectOutputStream oos= new ObjectOutputStream(fos);             oos.writeObject(al);             oos.close();             fos.close();           }catch(IOException ioe){                ioe.printStackTrace();           }     }   to save it to file (Although Eclipse throws some warnings the file is being created). However I'm having problem deserializing it (list is not being loaded):  public void deserialize(){     try     {         FileInputStream fis = new FileInputStream("levels/level1");         ObjectInputStream ois = new ObjectInputStream(fis);         ArrayList<Brick> readObject = (ArrayList<Brick>) ois.readObject();         bricks = readObject;         ois.close();         fis.close();      }catch(IOException ioe){          ioe.printStackTrace();          return;       }catch(ClassNotFoundException c){          System.out.println("Class not found");          c.printStackTrace();          return;       } }   Am I doing something wrong ?


What are the LaTeX codes for clockwise and counter-clockwise integrals (∱ and ⨑)?

If you do know, which package do I need to use? Thanks.


GRUB is corrupted, my HDD is encrypted, so nothing works

Ubuntu 17.04 (kubuntu)  today i woke up to   error: file '/grub/i386-pc/normal.mod' not found  grub rescue>  so, naturally, nothing i tried worked (i expected this) when i did {ls} it showed me three partitions, i navigated into one of them and into /grub/i386-pc/, and lo and behold, there was... no normal.mod. so it isn't there. okay.  i loaded boot-repair. i tried to repair my boot. it finished and i rebooted. and i just got the same message.  so i plugged in a live Ubuntu image and tried a few things. i thought that maybe it's the boot-repair on the USB that doesn't work so i tried to install it from the live "CD". apparently i can't install it for some reason and i'm not even sure it would fix the problem.  i then tried to mount my sda5, which is the encrypted partition, in order to recover my files. it didn't even ask me for a password and i could open it, only to find out that my files weren't there (basically everything else was, but in /home/user/, there only was .kde, .local, Access-Your-Private-Data.desktop, README.txt, .ecryptfs and .Private. i couldn't open README.txt, nor Access-Your-Private-Data.desktop (for the latter, it told me "there was an error creating the child process for this terminal" and "failed to execute child process "/usr/bin/ecryptfs-mount-private (input/output error)"  so my sda5 appeared to be mounted but the files weren't there. that sucked. i can't modify the GRUB for some reason. and i also can't simply reinstall Ubuntu (which i would have promptly done) because i'm afraid it would delete my files. it never gives me the opportunity to put in my sda5 password which i have always had to do during boot.  here's what i would want to see happen, from greatest to less great :   simply fix GRUB in some way and boot like that, then finally backup my files (i never do that...) before they slip away again backup my files right now and reinstall the whole thing (i don't know how to do that) somehow reinstall Ubuntu without wiping my files   and, lastly, what i don't want to happen but what i will have to do if nothing works :   wipe everything and start anew.   so, recap, GRUB is fuarked, and i can't get my files because they're behind encryption. how do i get my files and fix everything ? you're up.


I'd like to develop a setting/control for Customizer that allows dynamically to add fields. The typical example would be the possibility to add an unlimited number of slides to an slider in a Theme. There would be a button in the Customizer setting called "Add new slide" that allows to add a new slide field.  For the sake of the responses, let's make it easy: Just a text field per row. So each time we click on a "Add new row" button, a new text field is generated.  I've tried different approaches and my latest one was an attempt to use script templates (Mustache) like this example:   The problem is how to handle dynamically those settings? How to use the WP_Customize_Control to_json function and how to get that Mustache template and duplicate it every time we click on the "Add new" button? I have a very good background on PHP and a medium level on JS so I can understand advanced topics.


A question about uncountable, dense sets in R

If you have an uncountable subset of $\mathbb{R}$, which is dense in $\mathbb{R}$, is its complement countable?   I'm trying to see if you can take the set of irrationals, remove a countable amount, and still have a dense subset in $\mathbb{R}$.If this is the case, this sets complement would still be countable.  My goal is to determine if you can have an uncountable subset of $\mathbb{R}$, which is dense in $\mathbb{R}$, yet its complement is uncountable.  If somebody could just let me know if this is possible or not I would appreciate it. Thanks.


The audio clips  do not vocalise any sound resembling a 't', and the IPA contains no 't':     BrE /ˈkrɪsn/ ;   NAmE /ˈkrɪsn/   The 't' in 'christen' and 'hasten' (mooted by  in a deleted question), was it ever pronounced?     What formal linguistic concepts or terms describe this phenomenon? I read this () and this ().


How do you accept case-insensitive and allow embedded blanks in a user input? So the user can enter “hong konG” and get a correct match to the input.  I only have the input[0] = toupper(input[0]); which only accepts if the case sensitive is at the beginning of the word.  while(true){ cout << "Enter a city by name: "<< " ";  std::getline (std::cin,input); if (input == "quit")     {         break;     } input[0] = toupper (input[0]);      //....how do I loop to find all letter's in the input string variable?     }


I've been looking around the web about placement and proper net routing of decoupling capacitors for ICs. In this example I have a pic micro-controller using internal clock at 80MHZ, with the decoupling caps placed closed to it on the same layer (top). The only difference between them is the way the nets are routed.  This is a four layer PCB:   ------Top Signal------- ------Return Plane----- ------Power Plane------ ------Bot Signal-------   What I've found from my searches is that everyone agrees on placing the decoupling cap close to the IC and on the same layer when possible, also if going to planes vias should be as close as possible to cap pads and use as small a cap size as possible. but then when it's about making the connection with the IC pads there are different versions. Of course on my design I have the room to move the caps around and place them wherever I want.  I've read things like the following:   Sequencing the caps, so that power comes in first through the cap and then a trace to the IC pad. (Example 1) No vias in between IC pins and cap to join with a trace, vias must be on outsides. (Example 1 and 3) If more that one decoupling capacitor, the smaller cap should be closer to the IC pin. (Examples 1-4) No traces between cap and IC pads when possible, always preferred method is to use vias when power planes are used. (example 4)   I hope that someone can shine some light on this topic. If I where to pick one, it would be Example 4. Caps are reversed, opposing vias are close which should minimize inductance loop.


What word/phrase captures this ‘reverberation’ effect?

Consider the following scenario if you were at a music concert:   A singer sings into a microphone The sound comes out from the speakers The sound from the speaker is picked up by the microphone The sound comes out from the speakers The sound from the speaker is picked up by the microphone ...   This kind of loop can manifest itself in other ways. E.g. happiness breeds success, success breeds happiness which breeds success, and so on.  What’s the best word/phrase that captures this phenomenon?


How to prove $\lim\limits_{n\to\infty}\int_{0}^{\frac{\pi}{2}}\sin{(x^n)}dx=0$?

$$\lim\limits_{n\to\infty}\int_{0}^{\frac{\pi}{2}}\sin{(x^n)}dx=0$$   How to prove it? It seems that the integral cannot be evaluated.


Ubuntu 14.04: what is default system font name?    EDIT: This font is not Ubuntu. Ubuntu font look different:    See the difference?


Show the following isomorphism of algebras

Show that $\mathbb{C}$ and $\mathbb{R[x]}/\langle x^2+1\rangle$ as $\mathbb{R}$-Algebras are isomorphic.  This is the first time that we are dealing with polynomial rings and algebras so i am a bit confused. The first problem is that I can't wrap my head around what elements of $\mathbb{R[x]}/\langle x^2+1\rangle$ are. I kinda understand theoretically but can't practically. The second problem is to find the isomorphism. Now if $\langle x^2+1\rangle$ is an Ideal of $\mathbb{R[x]}$ then I guess there is a theorem which implies that they are isomorphic. Si it remains only to show that it is an ideal? Thanks in advance


Does differentiability imply absolute continuity?

Suppose $f:[a,b] \rightarrow \mathbb{R}$ is a function which is (i) differentiable at all $x \in (a,b)$ (ii) the right-derivative at $x=a$ exists and the left-derivative at $x=b$ exists.   Does it follow that $f$ is absolutely continuous?


creating a tar archive without including parent directory

I am trying to create a graphical program for my script.  Inside the script I use tar to create a tar archive.  From the graphical program I get the full name of file that I want to create a tar archive.  tar -cvf temp.tar /home/username/dir1/dir2/selecteddir    My tar archive includes home, username, dir1, dir2 and selecteddir while i want tar to create archive only including selecteddir.


Drawing a Complicated Function Graph With Pgfplots

I am trying to draw 2 somewhat complicated graphs with pgfplots but having a hard time. The first graph I am trying to draw is this graph:  Desmos version of it is available  Issue with this is when I do \addplot[thick, black, samples=200, domain=0:2]{6 x + 2 y <= 19}; (for example) pgfplots does not like the fact that I have y in my equation. I have no idea how can I circumvent this or fix this as I really couldn't find any posts about this. \begin{axis}[axis lines=center,   xlabel=$x_{1}$,   ylabel=$x_{2}$,   xmin=-1,   xmax=4.5,   ymin=-1,   ymax=5.5,   xtick distance=1,   ytick distance=1,   clip=false,]   \addplot[name path=A, thick, black, samples=200, domain=0:4]{6 x + 2 y <= 19};   \addplot[name path=B, thick, black, samples=200, domain=0:4]{2 x + 3 y <= 13}; \end{axis} \end{tikzpicture}  The other graph I've been attempting to draw is this:  Issue here is that I am unsure how to draw such a graph where the x and y axis deal with fractions like \frac{13}{3} or \frac{13}{4} etc. I'd really appreciate any guidance I can get regarding these 2 graphs. Thanks in advance.


Why don't vote buttons move for locked or your own posts?

There is currently  causing vote buttons to move as you scroll up or down.   I have also noticed, () that the voting buttons won't work if the post is your own, or if the post is locked. However, on these posts, the feature causing vote buttons to move isn't enabled.   I understand that I can't vote on those kind of posts, but:   The buttons are there to have a consistent look and feel, so the buttons should also be moved to have a consistent behavior. Even one can't vote,  could want to see vote counts in the middle of the post, with the benefit of the new feature. I guess that probably it will be easier to maintain the code, since there wouldn't be any logic to apply or not the new feature.   Is there a clear reason to disable that feature that I'm missing here? Otherwise, why does the new feature of moving voting buttons not work for our own or locked posts?


How to launch a GUI application in another user's graphical session?

I'm trying to figure out how to launch a GUI application as another user that's logged in interactively, in that user's graphical session.  For example, say I have two users, foo and bar. Both are logged in, but the current interactive user is foo. I'd like to launch Calculator.app as user "bar", so that when I fast user switch to bar, I find the Calculator window is open in bar's session.  Here's what I've tried that doesn't work:  sudo -u bar /Applications/Calculator.app/Contents/MacOS/Calculator   This launches Calculator.app as bar, but the window opens in foo's graphical session.  sudo -u bar osascript -e "tell application \"Calculator\" to activate"   Same effect.  sudo -u bar open "/Applications/Calculator.app"   Launches Calculator as foo, not bar.  launchctl asuser [uid of bar] [any of the above commands]   Same effect.  Is there any way to accomplish this? I'm willing to entertain all manner of possible solutions, including bash scripting, AppleScript, writing a Core Foundation or Cocoa program, and so on. In my situation, any program or script could execute as any user, including root.  Note: I'm aware that it's possible using remote Apple Events, but I can't use that since in the situation I'm trying to do this I have no guarantee that "Remote Apple Events" will be enabled in Sharing preferences.  Any help would be greatly appreciated!


Was The Empire in Star Wars inspired by Nazi Germany?

A friend of mine told me how similar the Star Wars Empire and Nazi Germany are. Example: "Stormtrooper" was a type of Nazi soldier. Did George Lucas "steal" that from them?


New to Blender, trying to load an image texture into the Diffuse channel instead of a colour to learn to UV unwrap. Quite simply I do not have the button needed to the right of the colour bar in materials to open the drop down menu with the image texture option in it, why is that? Using 2.79  thanks


It would be nice to  for .  As it is, SE kind of stands out (in a not cool way):


What is the best lens to shoot the Milky-Way on a crop camera?

I own a Canon 100d and i like to photograph the stars, I'd like to have a wide angle lens to capture the most of the milky way i can. Possibly as cheap as possible and have really good quality.  Thank You Zoe.


How many graphs have $n$ vertices and $m$ edges?

I tried many ways to solve this but failed.  Any tips or way to solve?


How do I remove a closed Gmail account from the Google sign in box

Closed one of my emails and I can no longer get into it but it still keeps showing up on the sign in box.  I tried the remove account button but it doesn't show the account there.  Is there a way to get rid of this?


What is the distance between, say, a cup of coffee and the table it rests on? What is the distance between two touching hands?


Why does "calculate" button remain gray in Group Stats Plugin?

I'm trying to use the Group Stats Plugin.   Unfortunately I can not use the plugin: after I enter all the required values, press "calculate" is not active and is always gray.  My problem is that I have a shape of point that are points for animal sightings.  This shape is formed by a text field containing the types of areas (beech, poplar, etc.) and another containing the areas value. I need to calculate the number of records that contains a precise type of vegetation and the sum of the relative areas.  Is this possible with Group Stats Plugin?


Is there a site synopsis page offering a little more detail than the one with bubbles?

Given that the SE community is so fragmented (specific sites for specific topics or collections thereof), it can be a bit of a pain  to visit each of a number of specific sites' about/help page(s) to see if the question in mind is a good fit for that site. Is there one page (or collection thereof) on stackexchange.com that has a list of sites that is an aggregate of that information? (Id est, is there a page that has something similar to a site title as a toggleable drop down that gives the "about" and on-topic/off-topic information, rather than ?)  If not, would it be feasible to create it or update the current page to provide a popup/modal via a "see more" link? Is that a "herding cats" type of endeavor to keep track of all the sites (changes to their help pages, etc) not possible to perform by some sort of aggregating algorithm/bot?  Update: I think my question is actually a duplicate of  in terms of the difficulty (inconvenience, really) and workable method to use in finding the right site for the question.


Change URL on private site collection Office 365

My task is to change URL of internal site collection in SharePoint Online.  The situation is such: it was configured with one domain (DomainA), and now all site collections are:  http://domainA.sharepoint.com http://domainA.sharepoint.com/search http://domainA-my.sharepoint.com   But now the client desided to use different domain. New domain is added and configured in Office365 - DomainB.  Now it is not possible to simple change the url of created site collection. But client wants to have addresses like http://domainB.sharepoint.com .  The site collections are empty for now and never used. Is it possible to delete all site collections starts with domainA and create a new ones with domainB?   Any suggestions? Thanks a lot!


Why do some methods in Java have a return type of an Abstract Class/Interface?

Firstly, disclaimer: I have been learning Java for a year now (in uni) and doing some Android development with it. This is my first question on Stackoverflow, so apologies in advance if this question is not asked in the best way. Now on to the question; I do not understand why one would use an abstract class or interface as a return type of a Java method. I've seen some methods like so: public List<String> foo {     // some code here }  Since List is an interface, what advantage does this approach have instead of having a concrete object as a return type (e.g., LinkedList or an ArrayList)?


Is it possible to search self-answers using the advanced search?

Is there a way to find self-answers with the advanced search? Preferably, not using the  and including results of all time and not just the recent ones with the new share your knowledge, Q&A-style


android studio Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView.setHasFixedSize(boolean)' on a null object reference

When I try to run my code, it gives me an error saying that i'm trying to attempt RecyclerView on a null object reference. The problem that android studio detect is in this line recyclerView.setHasFixedSize(true);. Anybody know the problemm ?  Here is the Activity:   public class SalesHistoryActivity extends AppCompatActivity {      @BindView(R.id.sales_recycler)     RecyclerView recyclerView;      SalesAdapter adapter;     List<Sales> salesList;     Sales sales;      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_sales_history);           salesList = new ArrayList<>();         recyclerView.setHasFixedSize(true);         recyclerView.setLayoutManager(new LinearLayoutManager(this));         adapter = new SalesAdapter(this, salesList);         recyclerView.setAdapter(adapter);          loadItem();      }   Here is the adapter  public class SalesAdapter extends RecyclerView.Adapter<SalesAdapter.ItemViewHolder> {      private Context mCtx;     private List<Sales> salesList;      public SalesAdapter(Context mCtx, List<Sales> salesList){         this.mCtx = mCtx;         this.salesList = salesList;     }      @NonNull     @Override     public ItemViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {         View rootView = LayoutInflater.from(mCtx).inflate(R.layout.list_sales, null, false);          RecyclerView.LayoutParams layoutParams = new RecyclerView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);         rootView.setLayoutParams(layoutParams);         return new ItemViewHolder(rootView);     }      @Override     public void onBindViewHolder(@NonNull ItemViewHolder holder, int position) {          final Sales sales =salesList.get(position);          holder.tvDate.setText(sales.getDate());         holder.tvType.setText(sales.getType());         holder.tvQty.setText(sales.getQty());         holder.tvPrice.setText(mCtx.getString(R.string.price, sales.getPrice()));      }      @Override     public int getItemCount() {         return salesList.size();     }      public class ItemViewHolder extends RecyclerView.ViewHolder {          TextView tvDate, tvType, tvQty, tvPrice;         public ItemViewHolder(@NonNull View itemView) {             super(itemView);         }     } }


What are the good ways to migrate a RAID array to bigger disks?

I'm looking to replace my hard-drives with bigger-ones and I would like to know what are the best practices in doing this. I have a HP ProLiant with its 256MB version of RAID controller:  03:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01)   I also have a pair of 10.000 rpm 146GB SAS drives in RAID 1. The OS is Ubuntu 10.04, 64-bit. I'm not using LVM.  zduric@pbksrv002:~$ df -h Filesystem            Size  Used Avail Use% Mounted on /dev/cciss/c0d0p1     130G  119G  9.7G  93% / none                  3.0G  192K  3.0G   1% /dev none                  3.0G     0  3.0G   0% /dev/shm none                  3.0G   64K  3.0G   1% /var/run none                  3.0G     0  3.0G   0% /var/lock none                  3.0G     0  3.0G   0% /lib/init/rw zduric@pbksrv002:~$ mount /dev/cciss/c0d0p1 on / type ext4 (rw,errors=remount-ro)   We experienced a huge growth in content stored there and now I need to replace this array with another pair, 300GB disks. Ubuntu 10.04 is up there with a tomcat and a document management application (which is filling up most of the drive).  I'm looking for the best way to do it.  I was thinking that I could do one of the following:  Option I: replacing a drive at a time. Basically, I'd do something like this:   Replace drive 1 with the new drive. Rebuild the array to put the data on the new drive. Replace drive 2 with the new drive. Rebuild the array.   I don't like the two-times rebuilding part about it. I also don't know, if that would work at all and even worse, how much downtime is that. (around 115GB data, OS included.)  Option II: Create a new array. The idea here is that I would add the new disks and create a second array. I could then migrate my tomcat application to the new array - this would mean a simple cp operation.  I like this option much better, because it would also leave me the first array to use solely for the OS and I could do OS upgrades more easily in the future.  Is the option II doable at all? Where could I find some good resources on doing this whole procedure?  Are there other, better, smarter options I should try?  Thanks in advance.


How do I add custom validations to Webform?

I have created the country and state fields with the Webform module, and I want to add a field validation for the state field when user select US as country.   How can I achieve this?


Is there a way to utilize emissions in VFX?

I have a piece of footage that I motion-tracked fairly successfully, solved the camera motion, and made it into a 3D scene with that little button on the left of the motion-tracking layout. I then modelled a basic spaceship-thingy and animated it landing, with flames (specifically the ) emitting light onto the ground plane (which is on the mask layer).   I would like to add the light from the flames into the footage, but it does not show up. I do see that there is no DiffuseIndirect pass in the compositing setup but I do not know how to mix that pass in and, if I can, whether the light from the HDRI will mess it up.   Is there a way to add in emission so that the render will look more realistic?


How can $~(z+1)^6 = z^6~$ , where $~z~$ is a complex number?

I don't understand what it is about complex numbers that allows this to be true.  I mean, if I root both sides I end up with Z=Z+1. Why is this a bad first step when dealing with complex numbers?


Finding the following definite and indefinite integrals

I want to calculate the integral  $$\int_0^{\frac{\pi}{2}} e ^{ \sin t}\, dt.$$ Can we find a primitive function for $f(t) = e ^{\sin t}$?


Show that the area of a triangle is given by this determinant

I'm not sure how to solve this problem. Can you guys provide some input/hints?      Let $A=(x_1,y_1)$, $B=(x_2,y_2)$ and $C=(x_3,y_3)$ be three points in $\mathbb{R}^{2}$.      Show that the area of $\Delta ABC$ is given by   $\frac{1}{2}\left| \det(M) \right|$, where   $$M = \begin{pmatrix} 1 & 1  & 1\\  x_1 & x_2 & x_3\\  y_1 & y_2 & y_3 \end{pmatrix}$$


I have seen at least one other question where a user has had issues with using Decimals as map keys (his issue was interchangeably using ints vs decimals), but it isn't the same issue I'm having, where Decimal keys appear to be treated as Strings for comparison:  Map<Decimal,String> m = new Map<Decimal,String>(); m.put(3.10,'Decimal key with trailing zero'); List<Decimal> keys = new List<Decimal>(m.keySet()); Decimal d = keys.get(0);  //Both of these statements should be true. If not, at the very least, //      they should both be false System.debug(d+' = 3.1? '+(d == 3.1));//3.10 = 3.1? true System.debug('CONTAINS KEY 3.1? '+m.containsKey(3.1));//CONTAINS KEY 3.1? false  //I can successfully add a Decimal key equivalent to one already in the Collection m.put(3.1,'Equivalent Decimal key without trailing zero'); System.debug('SIZE = '+m.keySet().size());//SIZE = 2  //Again, the Decimal objects are equal Decimal d1 = 3.1; Decimal d2 = 3.10; System.debug('Values are equal? '+(d1 == d2));//Values are equal? true  //But even if I remove the shorter value.... String removeValue = m.remove(3.1); System.debug('removeValue = '+removeValue);//removeValue = Equivalent Decimal key without trailing zero  //...It will not match in the get statement either String res = m.get(d1); System.debug('Res == null? '+(res == null));//Res == null? true   Am I missing something?


What is the best project structure for a Python application?

Imagine that you want to develop a non-trivial end-user desktop (not web) application in Python. What is the best way to structure the project's folder hierarchy?  Desirable features are ease of maintenance, IDE-friendliness, suitability for source control branching/merging, and easy generation of install packages.  In particular:   Where do you put the source? Where do you put application startup scripts? Where do you put the IDE project cruft? Where do you put the unit/acceptance tests? Where do you put non-Python data such as config files? Where do you put non-Python sources such as C++ for pyd/so binary extension modules?


How to connect nodes to node group inputs and outputs in python?

How can I connect nodes in a node group to the input or output sockets?  This connection here:    I can't figure out how to access the group node_tree, and the Group node as well as the Group input/output nodes seem to be different than normal nodes.  My script so far:  import bpy  for area in bpy.context.screen.areas:     if area.type == "NODE_EDITOR":         override = {'screen': bpy.context.screen, 'area': area} bpy.ops.node.select_all(override, action='DESELECT')  tree = bpy.context.object.active_material.node_tree nodes = tree.nodes links = tree.links   node = nodes.new(type='ShaderNodeMath') node.operation = "ADD" node.location = (100,0) node_add = node  node = nodes.new(type='ShaderNodeMath') node.operation = "GREATER_THAN" node.name = "greater" node.location = (-100,100) links.new(node.outputs["Value"], node_add.inputs[0])  node = nodes.new(type='ShaderNodeMath') node.operation = "LESS_THAN" node.name = "less" node.location = (-100,-100) links.new(node.outputs["Value"], node_add.inputs[1])  bpy.ops.node.group_make(override) bpy.ops.node.tree_socket_add(override, in_out='IN') bpy.ops.node.tree_socket_add(override, in_out='IN') bpy.ops.node.tree_socket_add(override, in_out='OUT')


I am interested to change my OS from android to your OS

im using Alcatel Onetouch T10, i am interested in changing my OS to ubuntu. i find it so interesting, i just dont knnow how. hope you can help me.  my tab specs as folows:  Operating System: Android 4.0.3 Ice Cream Sandwich Application Processor: Rockchip RK2918 CPU: 1GHz Cortex A8 System Memory: 1 GB DDR3 Storage Capacity: 4 GB NAND Flash Wi-Fi: 802.11 b/g/n Audio & Video Play: Built-in audio chip, 1080P HD playback External Interface: Micro USB, Micro SD Battery: 3000 mAh, 3.7V Lithium Camera: Front camera 0.3Mpixel


I got myself a new 8 gig USB key and I'm looking for a decent solution to have a portable RoR environment to learn on. I did the google on it and found a few possibilities, but I'm curious to hear some real life experiences and opinions. Thanks!


Contour Integration where Contour contains singularity

There are many theorems in complex analysis which tell us about integration $\int_{\gamma} f$ where $f$ is continuous (or even differentiable) in the interior of $\gamma$ except finitely many points.   I would like to see how should we solve $\int_{\gamma}f(z)dz$ where $\gamma$ contains a singular point of $f$.   For example, in solving $\int_{|z|=1} \frac{1}{z-1}dz$, I slightly pulled the curve $|z|=1$ near $1$ towards left, so that $\gamma$ will not contain $1$; then the singularity of $\frac{1}{z-1}$ will not be inside this deformed curve, so integration over deformed curve is zero, so taking limit, I concluded that $\int_{|z|=1} \frac{1}{z-1}dz=0$.   However, if I pull the curve near $1$ on the right side, then the singularity of $\frac{1}{z-1}$ will be inside this deformed curve, and integration is then non-zero.   I confused between these two processes; can you help me what is the correct way to proceed for finding integration along curves, in which singularity of the function is on the curve?


voltage sources in parallel without any resistors

![two dc voltage sources are in parllel & they are grounded.so what reading voltmeter will show? ][two dc voltage sources of different voltage are in parllel & they are grounded.so what reading voltmeter will show?]


What formats supporting animation are suitable for the web?

What formats supporting animation are suitable for the web and what are the pros and cons of each.


What exactly is the stuff in the middle of the Stargate?

The Stargate in Stargate, Stargate: SG-1, and it's derivatives, creates a wormhole between two Stargates, which most of the time has an unstable vortex kawoosh that tends to destroy anything that's sufficiently away from it's surface, before falling back in and leaving a mostly flat water or pool like surface. But what is the surface made of? It tends to ripple like water, but it's obviously not water. And in the season 2 episode "A Matter of Time", a large gravitational force of a black hole on the other side was enough to make it spin down/inwards like an eddy or .    In-Universe answer please.


I have code that i have included into my document using the texcode below  \begin{minipage}{.48\textwidth} \centering \lstinputlisting[numbers=left,xleftmargin=2em,frame=single,framexleftmargin=2em, breaklines]{codesamples/example2.py} \caption{Modified \soc\ for R, R' \label{R'}} \end{minipage}   I would like to highlight some of the lines in the output. Is this possible?


What is the difference between old style and new style classes in Python?  When should I use one or the other?


How is $3\pi-10$ element of $[-\pi/2,\pi/2]$? According to me this means that $530$ is an element of $[-90,90]$. i.e. Range of $\arcsin$ function.  (Note:- I was trying to find the value of $\arcsin(\sin 10))$)


Why doesn't grep remove lines of terminal output from find command by default?

I am constantly frustrated by this simple command:  find / | fgrep somestuff.ext   When I don't use sudo, I get line after line of permission denied - which is fair enough, but why isn't this output ignored when grep reads it from pipe?  Why is this form of output sent straight to the terminal window and not passed into the pipe (what I suspect must be happening) and subsequently ignored by grep, while the same lines produced by cat (say I had permission denied messages stored in a text file) would correctly go into the pipe and be ignored by my grep pattern?  I feel like there is something about the STDIN/STDOUT process I'm not understanding here


What is a command to compile and run C++ programs?

I am  new to Linux. I am using Ubuntu 11.04 and do not know how to compile and execute C++ program in it. I need to know the commands to Compile and Execute a C++ program in Linux.


Prove that $\int\limits_0^{\pi}xf(\sin x)dx =\frac{\pi}{2}\int\limits_0^{\pi}f(\sin x)dx$

I tried solving it. By substituting $\sin x$ with $t$ then $dt=\cos xdx$ but I am stuck after that. Where to go next?


Does $\sum\frac{(-1)^{\lfloor \sqrt n\rfloor}}{ n}$ converge?

Does $\sum\frac{(-1)^{\lfloor \sqrt n\rfloor}}{n}$ converge ?  I know there is a technical method that uses an adapted Abel's rule  $(*)$ ; I would like to know if you see another method (which is understable with basic knowledge) to prove it converges. Thank you.  Remark: Actually, it can be proved that for all $z \in \mathbb C$ such that $|z| = 1$, $\sum\frac{(-1)^{\lfloor \sqrt n\rfloor}}{ n}z^n$ converges.  $(*)$ Consider two series $\sum a_n$ and $\sum b_n$. Define $B_m = \sum_{n=0}^mb_n$   If the sequence $(a_n)$ tends to $0$ and the sequence $(B_n)$ is bonded, and if the series $\sum (a_{n+1} - a_n)$ converges absolutely, then $\sum a_nb_n$ converges.  You have to adapt this theorem to use it here.


I'm trying to pass an array of char * defined with braces and with static strings, and I want to pass it as an argument to a function.  The array is the next:  char * phrase[] = {"my", "name", "is", "John"};   and the function which is going to receive the argument is implemented as follows:  void composeList(char * phrase[]){   //I'm getting the size of the list   int phrase_list_size = sizeof(*phrase)/sizeof(phrase[0]);   printf("%d\n",phrase_list_size); }   I call that function in this way:  composeList(phrase);   But when I print the size the value is 1 instead of 4. Could you help me?


Find all pairs (x, y) of real numbers such that $16^{x^2+y} + 16^{x+y^2}=1$

Find all pairs (x, y) of real numbers such that  $$16^{x^2+y} + 16^{x+y^2}=1$$


Is posting someone's comment as an answer okay?

I came across  and at the time there were no suggested answers. After reading Mark Hubbart's comment (at the time with four upvotes), which was the correct answer, and seeing that it had been over 30 minutes since his comment, I figured I would provide that answer in my own words, which I did. My answer is longer, and I think more rounded and more useful, but the core of the answer came from the comment. I have no idea if I'd have thought up the answer on my own--a definite maybe to that.  Now had I tried to be "honorable" or something, such as instead of answering, suggesting to the commenter that he make his comment an answer, I would only have accomplished giving away easy rep to some other user not as into gratuitous self-denial.  The commenter had merely to enter his comment into an answer box instead of a comment box! It was his choice! Whether he was too lazy or didn't think his answer worthwhile or some other reason is not my responsibility. Must I bend over backward to help him earn points that he so carelessly left lying around for another person to take? It just took a tiny bit of non-laziness on my part to get my text typed into the box that would reward me instead of the box that wouldn't.  If my perspective is incorrect and the community would rather see such answers-as-comments rewarded and supported, I will gladly accept that. In the meantime, I just want to shake off the tiny bit of guilt my overly-nice and overly-concerned-with-propriety self is feeling. :)


I am a 2nd year undergraduate student. What should I do now to prepare for my PhD?

I am a 2nd year undergraduate student in Aerospace Engineering, in India. I am really willing to go into Academia as a researcher. I am specifically interested in Aerospace Controls. Some points to consider :  1) I love the fast internet access in university, so that I can research and learn all I want.  2) I have read up a few research papers regarding error reduction in GPS measurements, when I was doing a Supervised Project under a professor. Reading research papers are gruelling, but after 2-3 days of bending your mind over them and finally understanding what the author intended to say, I feel elated. In this specific case, I read up a few algorithms and got excited on the prospect of developing my own algorithms for error reductions.  3) I have a fair academic standing with a cumulative grade point of greater than 9 out of 10  So I would like a few pointers on what I can do now, as an undergraduate student to prepare for my PhD.


How do married gay couples address each other?

I know that non-married lovers address each other by saying “This is my girlfriend/boyfriend.” I know that married couples address each other by calling “my wife/husband”.  I also know that gay lovers who are not married (yet?) address each other by saying "my boyfriend" (for gays) and "my girlfriend" (for lesbians).  But if they are married, how do they address each other?  And how do we describe them? I mean if they are gays, are they “husband and husband” or “husband and wife” (one of them acts like the wife)? And if they are lesbians, are they “wife and wife” or “husband and wife” (one of them acts as the husband)?  I know they can be referred to as a gay couple or gay lovers from , but I couldn't find the answer to address each of the two.


How is dividend of my owned stocks calculated?

Say I bought a stock on Jan 5 and sold it on Sept 3 in the same year, how do the company pay the dividend?  What if I sold it on Jan 6?


Difference between differentiation and derivatives

What is the difference between differentiation  and derivatives of a function ?


How exactly does a "random effects model" in econometrics relate to mixed models outside of econometrics?

I used to think that "random effects model" in econometrics corresponds to a "mixed model with random intercept" outside of econometrics, but now I am not sure. Does it?  Econometrics uses terms like "fixed effects" and "random effects" somewhat differently from the literature on mixed models, and this causes a notorious confusion. Let us consider a simple situation where $y$ linearly depends on $x$ but with a different intercept in different groups of measurements:  $$y_{it} = \beta x_{it} + u_i + \epsilon_{it}.$$  Here each unit/group $i$ is observed at different timepoints $t$. Econometricians call it "panel data".    In mixed models terminology, we can treat $u_i$ as  a fixed effect or as a random effect (in this case, it's random intercept). Treating it as fixed means fitting $\hat \beta$ and $\hat u_i$ to minimize squared error (i.e. running OLS regression with dummy group variables). Treating it as random means that we additionally assume that $u_i\sim\mathcal N(u_0,\sigma^2_u)$ and use maximum likelihood to fit $u_0$ and $\sigma^2_u$ instead of fitting each $u_i$ on its own. This leads to the "partial pooling" effect, where the estimates $\hat u_i$ get shrunk toward their mean $\hat u_0$.  R formula when treating group as fixed:    y ~ x + group R formula when treating group as random:   y ~ x + (1|group)  In econometrics terminology, we can treat this whole model as a fixed effects model or as a random effects model. The first option is equivalent to the fixed effect above (but econometrics has its own way of estimating $\beta$ in this case, called "within" estimator). I used to think that the second option is equivalent to the random effect above; e.g. @JiebiaoWang in his highly upvoted answer to  says that      In econometrics, the random-effects model may only refer to random intercept model as in biostatistics    Okay --- let us test if this understanding is correct. Here is some random data generated by @ChristophHanck in his answer to  (I put  for those who do not use R):    @Christoph does two fits using econometrics approaches:    fe <- plm(stackY~stackX, data = paneldata, model = "within") re <- plm(stackY~stackX, data = paneldata, model = "random")   The first one yields the estimate of beta equal to -1.0451, the second one 0.77031 (yes, positive!). I tried to reproduce it with lm and lmer:  l1 = lm(stackY ~ stackX + as.factor(unit), data = paneldata) l2 = lmer(stackY ~ stackX + (1|as.factor(unit)), data = paneldata)   The first one yields -1.045 in perfect agreement with the within estimator above. Cool. But the second yields -1.026, which is miles away from the random effects estimator. Heh? What is going on? In fact, what is  plm even doing, when called with model = "random"?  Whatever it is doing, can one somehow understand it via the mixed models perspective?  And what is the intuition behind whatever it is doing? I read in a couple of econometrics places that random effects estimator is a weighted average between the fixed effects estimator and the "between" estimator which is more or less regression slope if we do not include group identity in the model at all (this estimate is strongly positive in this case, around 4.) E.g. @Andy :     The random effects estimator then uses a matrix weighted average of the within and between variation of your data. [...] This makes random effects more efficient[.]   Why? Why would we want this weighted average? And in particular, why would we want it instead of running a mixed model?


I'm trying to download Ubuntu 12.04, I'm a newbie to Ubuntu, on a MS Windows XP machine using Opera (have also tried IE) but the download simply stops, with various %ages complete. I don't believe this is a problem with my machine as I've downloaded other things successfully both before and after failed attempts to download Ubuntu.  Any suggestions or are there mirror sites i might use?


I suspect there might be bad sector on a disk. I used ext3 filesystem.  What tool is the best equivalent of the error checking tool of Windows?


I would like to know if when we take a second partial derivative of a function do we always get:  $$\frac{\partial^2{u}}{\partial{x} \, \partial{y}} = \frac{\partial{^2u}}{\partial{y} \, \partial x}$$  if not, what does it mean about the function if the condition happens or not?


What is the best way to remove duplicate rows from a fairly large SQL Server table (i.e. 300,000+ rows)?  The rows, of course, will not be perfect duplicates because of the existence of the RowID identity field.  MyTable  RowID int not null identity(1,1) primary key, Col1 varchar(20) not null, Col2 varchar(2048) not null, Col3 tinyint not null


I have a friend that I'm helping out with some web design. Basically, the guy owns a few businesses that are all complementary of each other and he wants to combine them all into a single site. There's service A and B, based on the west side of our state; and service A and B based on the east side. Each has their own website (eg, eastservicea.com, westservicea.com).  The previous web designer maintained completely separate and unique content, and unique designs, for all four sites. He is now wanting to merge all that together into a single site (statewideservica.com) with a new design.  Right now all four sites are at the top of the searches for his niche market. The last thing we want to do is hurt that SEO. So the debate how do we merge these sites without hurting the SEO.   Keep the existing URL's and just make the content of all the same. Redirect all the sites to the new URL. Set a static page on all the existing URLs with content, but all links point to the new URL.   Any thoughts?


Word for someone seeming deep and intelligent, but not really being that

What is the word for someone trying to seem/be deep and intelligent, but really they are shallow, and not at all being insightful.  Pedant is about rules, so that is disqualified, the closest I could find is pseudointellectual, but that feels like cheating and clumsy as it is a simple compound word.


How to solve this error while installing kubuntu repository in ubuntu 16.04? screenshot link below

I executed the command:  sudo add-apt-repository ppa:kubuntu-ppa/backports   but the terminal shows  N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension


Notepad++ not launching HTML files in web browser

I have installed Notepad++ first time in Ubuntu, I am trying to launch an HTML file in browser, but it shows shell error


I added two planes in Cycles with Image Texture in png with some transparency. I covered one by the other but transparency doesn't work, I mean it is impossible to see the one which is under despite transparency in the one which is above. What could be the problem?


What steps do I take to upgrade from LTS 12.04 to LTS 14.04 with the least amount of trouble and loosing the fewest amount of data.


What are the common solutions of $x^2+y=31$ and $y^2+x=41$?

A friend asked me if I have a certain algorithm to solve $x^2+y = 31$ and $y^2+x=41$ simultanously. We found the solutions but we didn't find a way to solve both equations.  Any ideas?


I regularly come across this term "Dual Pixel CMOS AF" or "APS HD CMOS" when reading about cameras. So what is this CMOS term? What does it describe about the camera? Is it telling something that it is cropped sensor or full frame?  I have read some articles but none explains clearly these beginner points.


Cannot install Adobe or Skype due to ia32-libs error

I don't usually post on such forums, but I finally gave up on figuring out what's going on here and I need some help.  I need to install Adobe Reader. I am running Ubuntu 12.04 Precise x64 on Intel Core 2 Duo:   $ uname -a Linux Edison 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux   I get the following error by attempting to "sudo apt-get install acroread":   The following packages have unmet dependencies:  acroread : Depends: ia32-libs (>= 20080808) but it is not going to be installed             Depends: nspluginwrapper but it is not going to be installed E: Unable to correct problems, you have held broken packages.   If I try to install "sudo apt-get install ia32-libs", I get:   The following packages have unmet dependencies:  ia32-libs : Depends: ia32-libs-multiarch E: Unable to correct problems, you have held broken packages.   Finally, if I try to install "sudo apt-get install ia32-libs-multiarch", I get:   ia32-libs-multiarch:i386 : Depends: bluez-alsa:i386 but it is not going to be installed                             Depends: libgettextpo0:i386 but it is not going to be installed                             Depends: gstreamer0.10-plugins-base:i386 but it is not going to be installed                             Depends: gstreamer0.10-plugins-good:i386 but it is not going to be installed                             Depends: gtk2-engines:i386 but it is not going to be installed . . .   Does anyone have any idea what's going on?


When is the number $11111\cdots1$ a prime number?

For which $n$ is the sum: $$\sum_{k=0}^{n}10^k$$ a prime number? Are they finite?


i've looked around for it but I cant find it. Is it in the main menu or a specific location in the game? Thank you.


Can 'I believe' and 'I think' have different connotations?

Can 'believe' have a different meaning/connotation than 'think'?   I think you would use 'believe' if you want to stress that the thing that you believe will happen means very much to you and you are convinced it will definitely happen. Think, however, is less emotional and you don't stress whether you are convinced or not sure if something will happen - it is neutral.   For example:     I think he will win.          -> neutral position, based on what someone sees     I believe he will win.   -> Convinced he will win, emotional  Would you say that is the case?


How do I tell if this function is a probability density function?

If I have   $$f(x)=\sin(x\pi/10)\qquad\text{for}\;0\leq x\leq10.$$  How do I tell if it is a probability density function? And if it isn't how do I normalize it?


Alright, we all know polls are . And yet...  ...it seems to be working pretty darn well over at . Brief summary for the click-through impaired: a single CW question, where the polls are answers and the responses are comments.  The way I see it, this could be a good thing. No, it wouldn't stop people from asking "What is the best {thing}" questions on Stack Overflow, but it would provide an outlet for those questions and might at least be marginally interesting. Additionally, it would mean that when people inevitably come here to ask "Why was my question closed, where can I ask it?" we could say something other than "Somewhere else, now go away."  So what do you guy and gals think? Is this something that might work on MSO, or are polls still verboten?


Should the F-Pattern be considered in all designs?

The F-Shaped pattern is a pattern found in an eye-tracking study as the primary areas people glance over when reading a website.     Is this something we as graphic designers should consider not only in web but in all mediums? If so do we give priority placement to our content for maximum benefit to our end-users or to advertisers/sponsors for maximum revenue?


How can I get re.search to recognize parenthesis in a text?

For instance, I'm trying to check if the following substring Mr x ("CEO") is in Mr X ("CEO") went to Washington using re.search('Mr. X ("CEO")','Mr. X ("CEO") went to Washington')  Unfortunately, re.search returns none


Generally we use the gradient descent to compute the minimum of cost function. My question is why can't we use the maxima minima approach to calculate the cost function. If I am not wrong double derivative of the graph will give us the minima. And we would be able to avoid those gradient steps which are slow to execute. Please feel free If my understanding of the concept is wrong.


Can someone explain this trigonometric limit?

I have $$\lim \limits_{x\to 0}  \frac {\tan(2x)}{\sin(x)}$$ and in my case the result is $\frac{2}{1}$ =2 not whether it is right.  This is my procedure.  $$\lim \limits_{x\to 0}  \frac{\frac {\sin(2x)}{\cos(2x)}}{\frac{\sin(x)}{1}}= \lim \limits_{x\to 0}  {\dfrac {\sin(2x)}{(\cos(2x))(\sin(x))}}=\dfrac{2x\frac {\sin(2x)}{2x}}{\cos(2x)\frac{x\sin(x)}{x}}$$  I separate the limit.  $$\frac{\left(\lim \limits_{x\to 0}2x\right) \cdot \left(\lim \limits_{x\to 0}\frac {\sin(2x)}{2x}\right)}{\lim \limits_{x\to 0}\left(\cos(2x)\right)\cdot\left(\lim \limits_{x\to 0}\frac{x\sin(x)}{x}\right)} = \lim \limits_{x\to 0} \dfrac{2x}{x}=\frac{2}{1} =2$$


Norms Induced by Inner Products and the Parallelogram Law

Let $ V $ be a normed vector space (over $\mathbb{R}$, say, for simplicity) with norm $ \lVert\cdot\rVert$.  It's not hard to show that if $\lVert \cdot \rVert = \sqrt{\langle \cdot, \cdot \rangle}$ for some (real) inner product $\langle \cdot, \cdot \rangle$, then the parallelogram equality $$ 2\lVert u\rVert^2 + 2\lVert v\rVert^2 = \lVert u + v\rVert^2 + \lVert u - v\rVert^2 $$ holds for all pairs $u, v \in V$.  I'm having difficulty with the converse.  Assuming the parallelogram identity, I'm able to convince myself that the inner product should be $$ \langle u, v \rangle = \frac{\lVert u\rVert^2 + \lVert v\rVert^2 - \lVert u - v\rVert^2}{2} = \frac{\lVert u + v\rVert^2 - \lVert u\rVert^2 - \lVert v\rVert^2}{2} = \frac{\lVert u + v\rVert^2 - \lVert u - v\rVert^2}{4} $$  I cannot seem to get that $\langle \lambda u,v \rangle = \lambda \langle u,v \rangle$ for $\lambda \in \mathbb{R}$.  How would one go about proving this?


Currently I have something like this set up: B-R-R-R-C-R-R-R-C-R-R-R-C (etc...)  B stands for a redstone block, R stands for a repeater, and C stands for a command block.  I have a line like this (curling back once in a while, but not a loop) up to a minute -- but this method uses 120 repeaters at full delay. What circuit could I use to create something that behaves AS CLOSE AS POSSIBLE to what I have now, but taking up less space? Specifically:  1) Removing the redstone block power source won't stop the already-sent signal 2) Must have room for gradual command blocks (so at 20 seconds I could have a command block, at 30, at 35, etc...)  For specifics, this is my Deathmatch system in a vanilla Survival Games map. When the minute is over, it reaches command blocks which teleport everyone to one location. The admin in the match uses a command button in a /tellraw command to start the countdown for Deathmatch when (s)he deems it appropriate - this command sets a redstone block as the input. After it is placed, it remains placed for the rest of the game -- but I want to be able to destroy it while not stopping the minute countdown for debugging purposes. And, as it's a countdown, it needs to be able to send out a signal every second to command blocks for stuff like "15 more seconds until Deathmatch!"  Summary: I am looking for a delay as opposed to a timer. I do not want a signal that loops and am not looking for a necessarily long delay, I just want an accurate delay that is more efficient than using repeaters AND can support gradual output (IE at half delay an output, at three quarters, etc...) Hooking a timer up to an AND gate with the input won't work as far as I know (if you know a way please tell) because if the timer was half-passed when the input was given, then the "delay" would be half the intended time. And removing the input signal should NOT stop the delay from continuing. It also needs to be silent, as it is close to the surface, and non-laggy (no super-quick repeater loops).  I am asking for a very specific redstone circuit, I know.


Find three integers $n_1, n_2, n_3$ such that $n_1^3 + n_2^3 + n_3^3 = 42$

I tried to find a solution to $n_1^3 + n_2^3 + n_3^3 = 42$ using a computer program, but so far I haven't found a solution.


What if visit visa refused twice once in 2012 and latest on 12/5/17? Though i was granted visa in 2007 and i stayed more than intended days but within visa  limit .Is there any  chance they would allow me third time if I kill the queries.  How can I assure ECO that I am in Government sector job since 1998 with good position  , a home and a family with 3 children. I provided all relevant docus each time and they raised new question like they don't want me enter uk though sponsor is my brother who is British citizen with excellent job position in one of the reknow institution Refusal letter attached for kind advice


Trying to install the CATS plugin () I extracted it and it was a bunch of confusing files, no .exe files in sight. I downloaded this as a zip. What do I do?


How to test if $\sum_{n=1}^{\infty }\frac{1}{n^{1+\frac{1}{n}}}$ converges?

How to test whether $\sum_{n=1}^{\infty }\frac{1}{n^{1+\frac{1}{n}}}$ diverges or converges? Can I apply ratio test? Thanks in advance.


claim  Let $\aleph_0 = card(\Bbb N)$ and $\mathfrak c = card(\Bbb R)$ then  $2^{\aleph_0}=\mathfrak c$  proof  $2^{\aleph_0}=\mathfrak c \iff \exists \text{ bijection } f: \Bbb N  \times \{0,1\}\rightarrow \Bbb R$   How to show the existence of bijection for the given sets? What is the most widely used approach?


Below is a complete copy of a demo I'm using to to figure out to get the sed command to get rid of the spaces in a persons name, and compress it down to not have spaces.  Once this is done, I want to assign it to the variable comp then I can re-use it later on in the script. Here I am just trying to echo it to the stdout so I can see it worked.  If I run the script and enter my name as Ronald McDonald the result I get returned is RonaldMcDonald} with that curly brace on the end of his name, or whatever I type in.  How do I get it to work, so that the result doesn't append the } to the back of the assigned text.  #!/bin/bash  function readName {     echo "Enter your full name:"     read fullName     clear }    # end readName  function cmprsName {     comp={ echo "$fullName" } | sed 's/ //g' }    # end cmprsName  function sayItNow {     echo $comp }    # end sayItNow  function allTogether {     readName     cmprsName     sayItNow }    #end allTogether  case $1 in         -h | --help )           allTogether                                 exit                                 ;;         * )                     echo "$0 -h"                                 exit 1 esac


How to have a underline in a Chapter page?

I want to have a black color underline as shown below:  My MWE seemed a bit long: \documentclass[12pt,oneside]{book}  % Remove draft option to show figures (for final draft), otherwise keep for faster production  \usepackage{uorthesis}  % Loads the LaTeX style package \usepackage[backend=biber, style=authoryear, dashed=false]{biblatex} \addbibresource{references.bib} \usepackage{uorbib}  \usepackage{titlesec} \titleformat{\chapter}[block]   {\normalfont\sffamily\LARGE\bfseries\filcenter}   {\filcenter\chaptertitlename\ \thechapter\filcenter\\}{20pt}{\huge}      % Put custom packages to be loaded here % \usepackage{linguex}  % For linguistic examples % \usepackage{tikz}     % For drawing  \begin{document}  % Title page \include{structure/title}  % All subsequent pages must be numbered, title page is considered page i, % front matter is numbered in lowercase Roman numerals \pagestyle{fancy} \pagenumbering{roman} \setcounter{page}{2} \doublespacing  % Dedication (optional) \include{structure/dedication}  % Acknowledgments \include{structure/acknowledgements}  % Abstract \include{structure/abstract}  % Table of Contents, List of Tables, List of Figures \tableofcontents  %List of Tables & Figures \include{structure/tablesfigures}   %%%%%%%%%%%%%%%%%%%% DISSERTATION CONTENT %%%%%%%%%%%%%%%%%%%%  % Regular numbering starts now, first page of first chapter is page 1 \clearpage \setcounter{page}{0} \pagenumbering{arabic}  % Body   \include{chapters/01-introduction}  \include{chapters/02-background}  \include{chapters/03-chapter}  \include{chapters/04-chapter}  % References \clearpage \addcontentsline{toc}{chapter}{Bibliography} \markboth{\MakeUppercase{Bibliography}}{} \singlespacing \printbibliography  \appendix \include{chapters/99-appendix}  \end{document}  However, I think the main code is: \usepackage{titlesec} \titleformat{\chapter}[block]   {\normalfont\sffamily\LARGE\bfseries\filcenter}   {\filcenter\chaptertitlename\ \thechapter\filcenter\\}{20pt}{\huge}


Parsing what is supposed to be a tab-delimited file in C#


It's not hugely important because this answer will be gone soon enough...  I just  on the SO low quality review queue. Either something has a spasm (and is buggy) or this user really really really meant what he said:


Show that orthogonal matrices are diagonalizable

I want to prove that all orthogonal matrices are diagonalizable over $C$. I know that a matrix is orthogonal if $Q^TQ = QQ^T = I$ and $Q^T = Q^{-1}$, and that a matrix $A$ is diagonalizable if $A = PDP^{-1}$ where $D$ is a diagonal matrix. How can I start this proof?


How can my iPhone Objective-C code get notified of Javascript errors in a UIWebView?

I need to have my iPhone Objective-C code catch Javascript errors in a UIWebView.  That includes uncaught exceptions, syntax errors when loading files, undefined variable references, etc.  This is for a development environment, so it doesn't need to be SDK-kosher.  In fact, it only really needs to work on the simulator.  I've already found used some of the hidden WebKit tricks to e.g. expose Obj-C objects to JS and to intercept alert popups, but this one is still eluding me.  [NOTE: after posting this I did find one way using a debugging delegate.  Is there a way with lower overhead, using the error console / web inspector?]


Let's say I have the following export in my ~/.bashrc export MODE=vanilla export PATH=/opt/bin/:/usr/bin/  And two scripts in my home cat ~/setup_foo.sh export MODE=foo export PI_NUMBER=4 export PATH=/opt/bin/tool_foo/:$PATH  cat ~/setup_boo.sh export MODE=boo export PI_NUMBER=3 export PATH=/opt/bin/tool_boo:$PATH  The functionality I want to have: $ echo $MODE vanilla echo $PATH /opt/bin/:/usr/bin/  $ <<activate_foo>> echo $MODE foo echo $PATH /opt/bin/tool_foo/:/opt/bin/:/usr/bin/  $ <<activate_boo>> echo $MODE boo echo $PATH /opt/bin/tool_boo:/opt/bin/:/usr/bin/        --- NOTE, NO FOO HERE PRESERVED!  $ <<back_to_normal>> echo $MODE vanialla echo $PATH /opt/bin/:/usr/bin/    --- NO FOO AND BOO HERE!  What sort of tools, packages, bash should I use intsead of << pseudo commands >> ? If I just call ~/.setup_foo.sh it will overwrite variable, but do not clean up PATH


I had installed ubuntu 11.10 from windows 7, the same was mistakenly uninstalled during 14.04 installation.  Is there any way to get the files from uninstalled ubuntu 11.10 (kept the files in Desktop, Downloads)  please help.


Find the radius of convergence for the series $\sum_{k=0}^{\infty}\frac{k!}{k^k}x^k$.   For other similar problems, I could apply the Ratio Test or the Root Test to find the radius of convergence. For this problem, these tests are not seem to be working. The book says I should take reference to the power series of $e^x$ to determine the endpoints but I can't even find the endpoints of the radius of convergence.


Should bad feelings of a child not be mirrored?

Considering:  and   I do not agree with the current trend of validating every single feeling a child might have. I think it leads to entitled adults who think that their feelings are above everything else, adults who think they have the right not to be hurt or offended, ever. There's a difference between acknowledging a child's feelings ("I understand how you feel and why you feel like that"), and telling them it is OK to feel like that when it isn't. It is OK to feel hurt when someone insulted you. It is OK to feel sad when your friend moves to another town. It is OK to feel anger when you see someone abusing somebody else. It is not OK to feel envy of your friends toys. It is not OK to feel rage because you didn't get cake for dessert. And it is not OK to feel apathy because you had to write your name 5 times back at school. Sure, it's not easy for a child to discern when it is OK to feel some way, and when it isn't. That's why we parents are here: to help them learn.  What about the "bad" feelings of the child? Should they be mirrored or not? What do studies say in this regard?


Someone who remains calm during panic or disaster

I'm looking for a word that describes someone that remains calm when others panic, specifically in a calamity or accident.  Example 1: Someone that is in an auto accident and they remain level-headed when others around them freak out.  Example 2: Someone that hold it together in a natural disaster while people around them break down into hysteria.  Possible sentence 1: "John is a ________. He kept it together when the hurricane hit."  Possible sentence 2: "Devin is a real ________. He was still calm after hitting that vulture with his Jeep."  (Before you ask, yes, I hit a vulture with my Jeep today.)


What do you call this style of illustration I've been seeing quite a lot?

There is often organic shape, very minimalist illustration of a person(s).    I know these are flat vectors, I want to know name of artistic style.


Is there any advantage of using a travel agent in this day and age?

Now that you can get great offers and deals on hotels or flight/train tickets on multiple websites and apps, is there any added advantage of going through a travel agent. Do they have any cheaper fares or promotions or any hidden benefits that is not commonly known?


I got into a debate with one of my colleagues - we are both not native English speakers. She asked me a question "so we are currently not sending any data to him?" I replied "No".   I understand that this answer is a bit ambiguous, probably this was the reason she misunderstood it (my intention was to say no, we are not sending anything). To make it clear, I wrote "No, as in no we aren't"  After this she lectured me that a.) for the first question I should have answered 'yes' if I want to confirm and b.) No we aren't is not proper English because it's double negation.  Can anyone please clarify/explain a.) and b.)?


trying to install Node js, but it seems like in the source files or package there in an extra space so error are there.  $ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/trusty-pgdg/main/binary-amd64/Packages  404  Not Found [IP: 204.145.124.244 80] W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/trusty-pgdg/main/binary-i386/Packages  404  Not Found [IP: 204.145.124.244 80] E: Some index files failed to download. They have been ignored, or old ones used instead.   Error executing command, exiting  see, what seemed to me is, this links have extra space in the error urls  http://apt.postgresql.org/pub/repos/apt/dists/trusty- pgdg/main/binary-amd64/Packages   see trusty- pgdg the space before pgdg when I copy-pasted the url without the space, I was able to download the packages.  What should I do to solve this?  When I copy pasted it here, the space were gone, but I have attached the screen-shot.


I’m trying to execute a binary file created by PyInstaller from a python code from crontab. I have tried to insert many lines by using “crontab -e” but the binary file was not executed.  Example of the crontab commands I have tried:  * */12 * * * Path/dist/BinaryFile > LogFile.txt * */12 * * * open Path/dist/BinaryFile > LogFile.txt * */12 * * * root Path/dist/BinaryFile > LogFile.txt * */12 * * * root open Path/dist/BinaryFile > LogFile.txt   Do you have any idea on how to execute this binary file? I’m trying to execute those command on Ubuntu 16.04 VPS server.  Thank you in advance for your help and sorry for my English.


Windows 10 Home: How to get rid of file path length restriction?

I got that "The file name(s) would be too long for the destination folder. You can shorten the file name and try again, or try a location that has a shorter path" error when I was moving documents across folders. I know there are ways to disable that file path length restriction, but those ways just did not work on my laptop.   offers two solutions to get rid of the restriction, the second of which resorts to the use of Group Policy (dpedit.msc). As I am using a Windows 10 Home Edition, the second solution does not work. I tried to install dpedit.msc as instructed here (), but for some reason it did not work as demonstrated -- I downloaded that zipped folder and ran the extracted setup.exe file. Following the execution, however, I tried to access gpedit.msc command via RUN as well as START Menu search box, but my laptop failed to locate gpedit.msc.  So I tried the first solution. I looked up regedit and followed everything and changed the value date from 0 to 1. It still did not work, even after I logged off, restarted the computer, and logged back in.  This is giving me so much headache, so I appreciate it if someone can shed some light as to what led to the foregoing issues and how to get rid of the file path restriction.  P.S. I am a tech amateur, so any walk-through or explanation in layman terms would best help, thanks!


Will heating up an object increase its mass?

According to the $E=mc^2$ equation, will an object whose thermal energy (temperature) rises also weigh more? And by the same token, will the mass of an object decrease as its temperature approaches the absolute zero?


Cartoon/anime with astronauts battling a bird creature in space

A very long time ago I saw an anime or cartoon, this was at least 20 years ago, but most likely less then 30. In the story there were some astronauts battling a bird creature in space. One of the female astronauts got hit by an space-bird-egg, and because she had space-bird-egg-yolk in her hair, she then worked for the bird. Later, the other astronauts confronted her in the lair of the space-bird, and they were confused as to why she switched sides, but as they saw the space-bird-egg-yolk, they were like "of course, the egg caused this!", as if mind-controlling-space-bird-egg-yolk was common knowledge. I don't remember anything else about it, but I think that the art style was similar to the Daft Punk music videos.


the following Example does not work:  \documentclass{article} \usepackage{pst-all}  \begin{document}  \def\FF{x 3 exp 4 mul 3 div x sub 1 add} \def\AbFF{x 2 exp 4 mul 1 sub} \begin{pspicture}(-2.5,-2)(2.5,4) \psaxes[Dx=1,Dy=1]{->}(0,0)(-2,-1.5)(2.2,3.7)[$x$,0][$y$,90] \psplot[plotstyle=curve,linewidth=1.5pt]{-1.3}{1.2}{\FF}% postscript function \def\xs{-1} \multido{\r=-1+0.5}{5}{ \psplotTangent{\r}{1.3}{\FF} \psdot[dotscale=1.2](! \r /x \r def \AbFF) } \end{pspicture} \end{document}   The problem ist the second \r in the line:  \psdot[dotscale=1.2](! \r /x \r def \AbFF)   If I replace it with a number, then everything works fine.


I'm making a blender addon located on the N panel with some custom error messages. On the first button, I get the error message working properly, but in the second button is not working although it seems the structure is the same. On the second button (the non-working one) if there is nothing selected then my error message should popup but is not working. What could be causing it? import bpy  structures_in_window = [     {         'name': 'WINDOWS',         'items': [             "frame-bnd-[!A-Z]*",             "glass[!A-Z]*",         ],     }, ]  class SelectByNameOperator_window(bpy.types.Operator):     """Select objects by name"""     bl_idname = "object.selected_by_name_operator_window"     bl_label = "Select by Name"     bl_options = {'REGISTER', 'UNDO'}      def execute(self, context):         try:             bpy.ops.object.select_all(action='DESELECT')             for structure in structures_in_window:                  selection_pattern = bpy.ops.object.select_pattern                                  for item in structure['items']:                     selection_pattern(pattern = item)                  all_in_list = bpy.context.selected_objects.copy()               bpy.context.view_layer.objects.active = bpy.context.selected_objects[0]                                       objects = bpy.context.scene.objects.keys()             if not 'WINDOW' in objects:                 print('There is no parent yet!!')              elif 'WINDOW' in objects:                    ob = bpy.context.scene.objects["WINDOW"]                 bpy.context.view_layer.objects.active = ob                    ob.select_set(True)                                                    except IndexError:                 self.report({'ERROR'}, "Windows not found")          return {'FINISHED'}   class MYADDON_OT_my_op_move_to_existing_collection(bpy.types.Operator):     """Move Selected to Existing Collection"""     bl_label = "Move Selected to Existing Collection"     bl_idname = "addonname.myop_operator_move_to_existing_collection"     bl_options = {'REGISTER', 'UNDO'}      def execute(self, context):         try:             bpy.ops.object.move_to_collection('INVOKE_DEFAULT')                      except IndexError:             if selection is None:                 self.report({'ERROR'}, "Why is not working")          return {'FINISHED'}   class MYADDON_PT_main_panel(bpy.types.Panel):     bl_label = "Main Panel"     bl_idname = "MYADDON_PT_main_panel"     bl_space_type = 'VIEW_3D'     bl_region_type = 'UI'     bl_category = "New Tab"       def draw(self, context):         layout = self.layout         scene = context.scene                  row=layout.row()         scale_row = row.row()                  scale_row.scale_x = 0.7         scale_row.label(text="Window", icon="OBJECT_DATA")           scale_row.scale_x = 2.1         scale_row.operator('object.selected_by_name_operator_window', text='', icon="RESTRICT_SELECT_OFF")          row = layout.row()         row.operator("addonname.myop_operator_move_to_existing_collection", icon="NLA_PUSHDOWN")   classes = [             SelectByNameOperator_window,             MYADDON_PT_main_panel,             MYADDON_OT_my_op_move_to_existing_collection, ]   def register():     for cls in classes:         bpy.utils.register_class(cls)             def unregister():     for cls in classes:         bpy.utils.unregister_class(cls)         del bpy.types.Scene.my_tool  if __name__ == "__main__":     register()


What is a good adage for saying one thing matches another in quality? For example, I want to say someone rude deserves to be treated accordingly and just as rudely and without respect.


Uninformative (and Confusing) Error Message for Suggested Edit Conflict

I was testing some behavior with a low rep account, and when I was trying to suggest a few edits, I was greeted with the following message when trying to submit an edit:    Huh?!?!?!  It was a suggested edit, so why are you telling me it needs to be a suggested edit?  Turns out it was a suggested edit conflict.  The post in question had an existing suggested edit by the time I tried to submit mine.  For brand new users, this is certainly not ideal behavior as it is only confusing to them.  Can this message be changed to something more descriptive?  Or at least less confusing?  I would suggest     This edit cannot be submitted as there is a pending suggested edit on this post.     Note there is a question that looks similar, but is essentially different:  This is a feature request asking that the language be changed, while the other is a support question asking, basically, what it means.


All the $m$th powers commute with each other and all the $n$th powers commute with each other, $m$ and $n$ relative prime, is abelian.

Show that a group in which all the $m$th powers commute with each other and all the $n$th powers commute with each other ,$m$ and $n$ relatively prime, is abelian.  How to do this ? we know $1=mx+yn$ for $x,y \in \mathbb{Z}$  $ab=a^{mx}a^{ny}b^{yn}b^{mx}=a^{mx}b^{yn}a^{ny}b^{mx}$  but now how to switch $b^{yn}$ and $a^{mx}$ ??


Ask question - Tags - partial placeholder text truncated

On the  page, in the Tags textbox, the placeholder width is set to 19px, so a part of the placeholder text is truncated.


Number to keep on adding in a while loop (C++)

#include <iostream> using namespace std;  int main () {  int n = 100;  while (n > 50) {  cout << n << ", "; --n;  }  cout << "DONE!";  system("PAUSE");  }   Basically, this program will put the integer in a while loop and keep on subtracting one until it reaches 50, but I want it to do the opposite. Instead of --n (which keeps on subtraction one from the value), I want it to add one.   Okay, so how would you do this with multiplication? Because **n isn't working...?


How do I allow non-root access to /ttyUSB0?

Since I updated from Ubuntu 10.04 (Lucid Lynx) to Ubuntu 12.04 (Precise Pangolin), I am unable to access the device connected in /ttyUSB0 if I don't have root access.  To be more specific, I use a USB-to-serial com port converter to access and configure Cisco equipment with software called . It happens that, since I upgraded to 12.04, PuTTY only sees the connected device when I run it as gksudo putty. If not, it says "unable to connect to port /ttyUSB0".  I have managed to change the permissions via chmod 666, and it works, but if I disconnect the USB device and reconnect, it goes back to root only. How do I permanently allow non-root access? I have a clue it might be via  rules, but I have no idea how to do it.  Obs.: Manufacturer and drivers are "PROLIFIC"


After formatting from windows7 I installed ubuntu 15.10 from a usb drive. Although everything seems to be installed correctly after booting all I see is my wallpaper. Unity, no launcher, no dash appears. I have tried to Install compizconfig-settings-manager but when I switch back to the graphical server I see nothing. Any ideas oh what I am doing wrong?


How do I color individual ybars in a pgfplot?

I made a plot but it's not at all what I want. There are two things I'm having trouble with: 1.) The bars should be at the bottom, but there's a space between them and the x-axis. 2.) E1/E4, E2/E5 and E3/E6 should have the same color.  Here's a picture of how it is and how I want it below:   And here's my code:  \documentclass{standalone} \usepackage{pgfplots,pgfplotstable} \begin{document} \begin{tikzpicture} \begin{axis}[ symbolic x coords={E1, E4 (dyn.), E2, E5 (dyn.), E3, E6 (dyn.)}, xtick=data, width=\linewidth, height=6cm ] \addplot[ybar,fill=blue, bar width = 1cm] coordinates {     (E1,   8)     (E2,  15)     (E3,   50)     (E4 (dyn.), 4)     (E5 (dyn.), 17)     (E6 (dyn.), 40)  }; \end{axis} \end{tikzpicture} \end{document}   I hope you can help me. Thanks.