How can a leaflet SVG overlay be placed outside of the leaflet-overlay-pane?

I have SVG on top of GeoJSON in my map. How can a leaflet SVG overlay be placed outside of the leaflet-overlay-pane while keeping GeoJSON in place in the leaflet-overlay-pane? (For example, how could I put just the SVG into the leaflet-shadow-pane and then turn pointer-events off on the leaflet-shadow-pane... thus making it possible to interact with the GeoJSON?)  My apprehension is this: Leaflet map layers are stored in panes:   However, it is not clear to me just exactly how these panes are ordered and what each of them contains.  according the Leaflet's css (), the order of these panes makes more sense:   .leaflet-map-pane    { z-index: <"?">; } //Pane that contains all other map panes. (presumably all the below map panes)   .leaflet-tile-pane    { z-index: 2; } //Pane for tile layers. .leaflet-objects-pane { z-index: 3; } //Pane that contains all the panes except tile pane. (presumably all the below panes)   .leaflet-overlay-pane { z-index: 4; } //Pane for overlays like polylines and polygons.   .leaflet-overlay-pane svg { z-index: <"?">; } .leaflet-overlay-pane <"?"> { z-index: <"?">; }  .leaflet-shadow-pane  { z-index: 5; } //Pane for overlay shadows (e.g. marker shadows). .leaflet-marker-pane  { z-index: 6; } //Pane for marker icons. .leaflet-popup-pane   { z-index: 7; } //Pane for popups.     I am specifically interested in .leaflet-overlay-pane svg  and any subsequent panes that reside inside .leaflet-overlay-pane (i.e. GeoJSON pane).  Thanks


What is the @ symbol in my terminal prompt? Where does this come from?

In my  on command prompts, the examples all seems to show the computer name and username as the only thing at the "prompt", ie MacBookPro:Documents user$ However when I open terminal, the prompt reads: codybugstein@TL-WA855RE ~ %  Where does this come from? How is it generated? What is the @ sign? And why is my router model in there? Thanks!


Reply to a question with "Yes, it is" or "No, it is"

What is the correct response to the following question: Ten divided by five is not two?  1) Yes, it is.  2) No, it is.  Intuitively I would say "Yes, it is", but then I thought about it in the following way:  If one asks "Ten divided by five is two?" I would say "Yes, it is", but if the person asks "Ten divided by five is not two?" then I would say "No, it is".  So I think my intuitive answer is wrong, but I am not sure.


Is using Software Updater the same thing as running apt-get update and apt-get upgrade?

It seems like this should be true but I wanted to make sure. Thanks!


What's the difference between "in back of" and "behind"?

Is there any difference between "She is sitting in back of me" and "She is sitting behind me"? Are they synonymous or are there any different shades of meaning? All the dictionaries that I've looked through only have something to say about the differences in the frequency of usage between American and British English, but not about any differences in meaning.


Being a German mastering the English language and having to read specialist literature in both languages for business reasons, it is likely ....   I am referring especially to the first part of the sentence...


Alternatives to aptoncd to move software from Ubuntu 13.04 to Lubuntu 13.04

I am planning on shifting from Ubuntu 13.04 to Lubuntu (13.04). I have a lot of softwares installed on Ubuntu and since I don't have a very good internet connection, I would like a way to install those softwares directly into my Lubuntu System. Is aptoncd the best/easiest way to do this? What are the alternatives?


Why I was able to review 40 suggested edits today?

Why was I able to review more than 20 suggested edits today?


I want to know how to correctly use me and I or you and I in a sentence

I would like to understand how to you the word me and I in a sentence using correct grammar.  The difference between you and me :  The difference between me and you The difference between you and I  :  The difference between me and I


Handling mouse events for tool called by button?

I have a dockable window with a 2 buttons that call 2 different tools (Draw Marker and Select Features), What i want to happen is when the user clicks on the relevant button on the dockable window and then clicks on the map, a onMouseUp event is called and it runs code i need to run.   Where does the onMouseUp event need to be placed so this can be done?


A LOT OF PEOPLE ASKING HOW TO FIX OR RESTORE THE WINDOWS STORE. This is a fix I made after a lot of stuffing around, should work for people on Windows 10.   Download the TakeOwnership file from MediaFire and unzip it:   Run the file named:  InstallTakeOwnership.reg Navigate to:  C:\Program Files\WindowsApps Right click on the  'WindowsApps'  folder and click on  'Take Ownership'  in the context menu (This will give you permission to access the WindowsApps folder) Now open the  'WindowsApps'  folder and find a folder named  'Microsoft.WindowsStore_11909.1001.7.0_x64__8wekyb3d8bbwe'  and open it (your folder name may be slighty different) Find the file named  'AppxManifest.xml'  and right click and copy this file Go to  'My Computer'  or  'This PC' and go to your Local Disk (C:) Paste the  'AppxManifest.xml'  file directly in your (C:) directory Open and run 'Command Prompt' as an 'Administrator'. Copy and paste the command:  PowerShell -ExecutionPolicy Unrestricted Copy and paste the command:  $manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest Close command prompt and open the Run command by pressing  'Windows Key + R'  and type in  WSReset.exe  and hit enter Wait for the WSReset command to close and restart your PC. Welcome back to the Windows Store!! :) Guide created by: Luke Jordan 30091990.. PLEASE LIKE AND SHARE IF IT HELPED YOU!!


»Missing number, treated as zero.« in graphics with invoice

I’m on Debian’s texlive 2013.20130530-1.  My minimal test document is as follows:  \documentclass{article}  \usepackage{fontspec} \usepackage{invoice}  \begin{document} \end{document}   I get the following error, using xelatex:  (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty ! Missing number, treated as zero. <to be read again>  \char  l.32 \catcode            `\*=11   The  to something similar that I found is from 2001. I guess the analysis applies to this case, too. I also tried replacing invoice with all packages it uses (graphics, fp, etc), but the error did not appear. I didn’t find anything special happening to ` in invoice.


siunitx uses math mode for symbols - workaround needed when using different fonts for math and text

This is a follow up question from . The original problem has been solved using siunitx instead of dcolumn. However, the problem is that I am using mathpazo with osf as my main body font and eulervm as my math font. With siunitx used to decimal align tables this results in []() symbols being drawn in the math font, but the digits being drawn in the text font, as the following MWE example illustrates.  Is it possible to draw the symbols in the normal text font or redefine the mathfont for S columns completely?  \documentclass{scrartcl} \usepackage{booktabs} \usepackage[osf]{mathpazo} \usepackage[euler-digits]{eulervm}  % For Tables created by estout \newcommand{\sym}[1]{\ensuremath{^{#1}}} % for symbols in Table \usepackage{siunitx} \sisetup{ detect-mode,            group-digits            = false ,           input-signs             = ,           input-symbols           = ()[]-+ ,           input-open-uncertainty  = ,           input-close-uncertainty = ,           table-align-text-post   = false          } \begin{document} \begin{tabular*}{\textwidth}{     l @{\extracolsep\fill} *{2}{S[table-format=4.4]} @{}} \toprule \multicolumn{1}{@{}l}{\emph{Age}}  \\[0.5ex] 18--24 &   [-1360.228]\sym{*}  &  -1371.941\sym{*}  \\        &       (6.915)         &    (-7.953)        \\ 25--34 &     -219.216          &   -240.271         \\        &     (514.894)         &   (515.348)        \\ 35--44 &     -310.715          &   -311.438         \\        &     (485.780)         &   (486.013)        \\ 55$+$  &       -5.135          &     [2.656]        \\        &      (53.267)         &   (533.875)        \\ \bottomrule \end{tabular*} \end{document}   Edit: Thanks to David the problem has been solved including a fix for amsmath and extending to XeTeX. On a side note, the command for * generated by estoutshould now be simply plain text:  \newcommand{\sym}{#1} % for symbols in Table  \newcommand{\sym}[1]{\rlap{$#1$}} % Thanks to David Carlise again.


Code immediately following a list does not format properly

Formatting breaks if code follows a list:   List item List item  This is in a code block  This does not work as expected   However, it works if between the list and the code   List item List item   There is a line of normal text.  This is in a code block # This does work as expected   Edit  To make this clear: This is not about nesting code in a list but about code following a (finished) list not working as expected (by me). To put it differently: Why is a list not considered finished despite of following empty lines? What do I have to do?


How can I derefence symbolic links in bash?

How can I take any given path in bash and convert it to it's canonical form, dereferencing any symbolic links that may be contained within the path?  For example:  ~$ mkdir /tmp/symtest ~$ cd /tmp/symtest/ /tmp/symtest$ mkdir -p foo/bar cat/dog /tmp/symtest$ cd foo/bar/ /tmp/symtest/foo/bar$ ln -s ../../cat cat /tmp/symtest/foo/bat$ cd ../../ /tmp/symtest$ tree . |-- cat |   `-- dog `-- foo     `-- bar        `-- cat -> ../../cat  6 directories, 0 files   How can I get the full canonical path of /tmp/symtest/foo/bar/cat (i.e: /tmp/symtest/cat)?


Can you explain the crawling ritual in Breaking Bad season 3 episode 1

What is the meaning of the crawling ritual in Breaking Bad season 3 episode 1. It takes place right at the beginning of episode 1. Several farmers in a Mexican village are crawling towards some kind of shrine, decorated with flowers. The twin killers arrive in the Mercedes and join the crawling.  Presumably this is a religious ritual, but what is their religion?


Which prime numbers in $\mathbb Z$ are precisely the prime elements of $\mathbb Z[i]$?

Which prime numbers in $\mathbb Z$ are precisely the prime elements of $\mathbb Z[i]$ and why?  In my book it has been left as an exercise to show that a prime number in $\mathbb Z$ is a prime element of $\mathbb Z[i]$ if and only if it is of the form $4k + 3$.  How can I proceed?Please help me.  Thank you in advance.


Why weren't the other agents concerned when Smith met Cypher alone?

During the scene where Morpheus is being interrogated, Agent Smith tells his colleagues to leave him with Morpheus.  The other Agents seem very shocked by this move, and they almost reluctantly leave.   When Cypher is having dinner and the meeting up with Agent Smith, Agent Smith is totally by himself here for who knows how long. Why is it that it seems to be alright for him to be alone with Cypher in the restaurant, but when he's in what seems to be their own headquarters it's questionable?


Why does `find` sometimes find my file, sometimes not

Here is my directory tree (not showing all dirs, files, just the essential):  a_root_dir/ (directory) a_root_dir/dynamo/local/run.sh a_root_dir/dynamo/local/run_local.sh   Now when I do  > cd a_root_dir > find . -name *.sh ./dynamo/local/run.sh ########### IT DOESN'T SHOW run_local.sh !!!! > cd dynamo > pwd ...../a_root_dir/dynamo > find . -name *.sh ./local/run.sh ./local/run_local.sh ######## NOW IT FOUND IT   How come this happens?  Files and directories and scripts are "usual", there is no symlink. Many thanks


When I was a kid, there was this animation that I really really liked. There was an Earth like planet, with human like people. The threat was a super advanced alien race that was unstoppable. They could not fight those aliens, just run. The interesting part of the show was that the planets and some moons had some kind of super huge propulsion system capable of moving said planets and moons and that is how they were able to avoid the aliens.  I tried googling this a lot, but had no success. Thanks.


How do I use jpnevulator to capture and log the serial traffic between an application and hardware serial port?

OK, I've been googling for hours so I obviously have not been able to understand the answers to the various questions that have already been asked about this subject.  I am hoping that, by asking the question again in a more specific way, I will be able to get an answer I can understand.  I have some application running in linux that communicates with an external device attached to a serial port.  I want be able to capture and log the data sent in both directions between the application and the device, with timestamps at the beginning of each line in the file.  As a test case, I am using minicom as the application I want to monitor, connected via a null modem cable to another computer also running minicom.  I have already confirmed that, if I type characters on either of the computers, characters appear in the other computer's terminal.  So far, so good.  I then found this question:    In the answer to this question, the program jpnevulator is suggested.  However, when reviewing the man page, I could not figure out the right way to use jpnevulator to get what I want.  Here is what I tried to do:  First, I opened a terminal window and typed the following command:  $jpnevulator --tty=/dev/ttyS0 --pty --pass --read --ascii --timing-print --file=serial.log   I saw the output:     jpnevulator: slave pts device is /dev/pts/18  I then opened another terminal window and typed the following command:  minicom -D/dev/pts/18 -b115200   Minicom opened without complaint.  However, when I typed characters in either terminal (local and remote), nothing appeared in either terminal.  jpnevulator only logged the data written to /dev/pts/18.  My expectation is that jpnevulator :   reads data from /dev/pts/18 and "passes" this data on to /dev/ttyS0 while also writing this data to the specified file. reads data from /dev/ttyS0 and "passes" this data on to /dev/pts/18 while also writing this data to the specified file.   I am aware of the remark in the faq that says "Jpnevulator was never built to sit in between the kernel and your application. I'm sorry."  However the very same faq states in the second paragraph down: "Now with a little bit of luck some good news: A little while ago Eric Shattow suggested to use pseudo-terminal devices to sit in between the kernel and your application."  That is the approach I am trying to take but I am having no success.  What am I missing?  Thanks to all in advance.  Cheers, Allan  p.s. I was successfully able to capture the back and forth traffic using the socat method mentioned in the existing question I referenced but this method did not offer any way of timestamping the traffic.  I was hoping that jpnevulator would have provided this for me.


I'm studying machine learning and one of the key points I make sure is to understand the origin and the reasoning why such a name or term is used. It could be a rich and insightful dive into the concept it is trying to convey.   So, about bias-variance trade-off. Why use the word 'bias'?   In the usual, everyday parlance, 'bias' means leaning towards one side. If in the case of explaining pros and cons of a certain ideology, to be 'biased' means to give an unbalanced view and lean towards something.   Can we say the same for machine learning?   Thanks


Protect against SQL Injection - PHP Procedural

How do i protect against SQL Injection if i wrote the site in PHP procedural? Can i use prepared statements? Or exists other ways?   example:   $query ="INSERT INTO users (name,username,password,email,gender) VALUES ('$name','$username','$password','$email','$gender')";  $result = mysqli_query($connect,$query) or die ( "Error : ". mysqli_error($connect) );


Is it possible to get a free domain and hosting with email in 2021? Self hosting?

I am starting a small company and wanted to have an email address that isn't g*mail etc. In the past I have been able to achieve my own custom email by using a domain of co.cc (there have been others also but it was many years ago). I've been trying to look around at free webhosts (I already see Dot TK for the free domain as example). Of course, once I've set it up fully, purchasing a .com domain will not be much of a problem. However, all the webhosts I found don't give a free email. And I really cannot afford a monthly fee right now. Again, many years ago I ran my own website using something called 'WAMPServer'. Thing is I am really busy and sadly not earning enough to even pay for hosting service. I don't have much time to waste hence I am asking here for advice. If WAMPserver or similar is capable of doing the job, I only really need that confirmed. I can then go and learn the steps to set it up by myself. The thing I am trying to avoid is going down a long rabbit-hole with something like WAMPserver only to find I cannot do what I need. What is the best way in this day and age to set this up? Thanks for your help.


compilation error with `legend entries={...}` and `y filter/.code={...}`


Is it possible to make BibTeX sort bibliography entries by date? The best I have found to date is to add a \nocite command at the top of my document listing all citations in the order I want them. This works when the bibliography is small, but becomes tedious very fast. Is there a better way of doing this? \documentclass{article} \begin{document}  \nocite{li_2020}\nocite{schmidt_2018}\nocite{ribeiro_2017}  Ratione dolores totam magnam fugit commodi \cite{ribeiro_2017}.  Aliquam commodi voluptatibus culpa voluptatem sed odio.  Ut ipsum et ipsam non \cite{li_2020}.  Deserunt laudantium non nihil fuga possimus suscipit \cite{schmidt_2018}.  Omnis similique et tempora quaerat occaecati sint mollitia.  \bibliographystyle{unsrt} \bibliography{biblio} \end{document}


I would like to change the desktop from what it is to the old look. I don't like the new look. Hope it can it be done on the usb?


What/when could possibly break if I don't include \[\] around the color code in bash script?

I was messing around with the color codes trying to understand how color code is used in bash script and I found that it works fine without including \[\] around it as in here:  This..   red="\033[38;5;203m" export PS1="$red\u$green\$(__git_ps1)$blue \W"   ..gives the same result as that:  red="\[\033[38;5;203m\]" export PS1="$red\u$green\$(__git_ps1)$blue \W"   So is the second form necessary?


I have down-voted an  and left a  asking the user to add more details to his answer. I always tend to leave a comment when I down-vote a question/answer to explain the reason of my action.    This happened many times and it started to be annoying. It's not about reputation, it's about down-voting an accepted correct answer without a reason. I also left a comment notifying the user that revenge isn't a good behavior, but I got no response from him.  I flagged the answer and explained to moderator asking for intervention. I got an answer after eight days and it was disappointing unfortunately.  All I'm asking is such users should be warned for behaving in a such way.    Down-voting:


How can I reset the Windows Subsystem for Linux (WSL) back to defaults?

Having played with WSL over several releases, I find that I'm getting various strange errors and inconsistencies.  I would like to reset the WSL environment back to defaults - what is the best way?


Is there a significant difference between "rock" and "stone"?

I found this pretty good small research, but I am still concerned about "regular usage" in life, say, when I am talking in the office, especially because of this comment:     To me: Stone is something you can pick up with one hand (for   throwing). A rock takes two hands.


I have a project in which I need to perform orthogonal regression in a multiple regression case.  For the non-multiple case, I've found Teetor's R Cookbook suggests using principle components:  reg_orth = prcomp( ~ y + x, data=ds[train,]) reg_orth_slope = reg_orth$rotation[2,1]/reg_orth$rotation[1,1] reg_orth_int = reg_orth$center[2]- reg_orth_slope * reg_orth$center[1] reg_orth_pred = ds[test,'y'] * reg_orth_slope + reg_orth_int   This is fine and seems to work great, but I actually have 5 independent variables that I want to use to predict my dependent variable.  I tried to consider what is done to compute the slope and intercept, above, but with 5 independent variables, I'm not sure what to do.  I would have thought orthogonal regression would be quite common, but I'm not finding any information on it in the multiple regression case.


BGE: How to Change Active Camera with Python?

While in the blender game engine, I am trying to write a code that makes it so that the player changes the active camera every time the space-bar key is pressed. This is my first time making a game with blender so I apologize if this question is "annoying for advanced users" or how "noobs shouldn't be allowed to use blender". I'm sorry I'm still learning in advance, though thank you to whoever takes the time to help me. Here's my code:  #Code to switch between 2 camera: cam1 = Camera and cam2 = Camera.003 import bpy import bge  bge = bge.logic() cont = bge.logic.getCurrentController()  own = cont.getOwner()   context = bpy.context scene = bge.logic.getCurrentScene()       if evt.type == 'SPACE': #if space is pressed          if scene.camera == bpy.data.objects["Camera"]: #and the scene camera is cam1             print("on camera")             scene.active_camera = bpy.data.objects["Camera.003"] #then switch to cam2           elif scene.camera == bpy.data.objects["Camera.003"]: #or if current scene camera is cam2 and space key is pressed             print("new scene camera")             scene.active_camera = bpy.data.objects["Camera"] #switch to cam1   I keep getting the error 'module' object is not callable in the console. Here are my logic nodes:


Upgraded office to Logitech K235 kbd/mice. How can I help my users who are complaining that there is no caps lock light?

The question is in the title.    I just upgraded an office from older keyboards which were starting to fail from overuse.    The new K235 units have a nice feel and am hearing no complaints about the decision to go with this less-expensive model.  But I am getting some grumbling from some people that the new ones do not have a caps lock light.    (They don't appreciate my telling them that I merely removed that keycap from mine).    Almost every day I hear about someone who was touch-typing only to discover they had bumped the caps lock key and then had to go back and retype what they had just finished.  So is there a way I can help these hard workers?


How can I convert monsters from D&D 3 or 3.5 to 2ed monsters?

I would like to know if I can convert monsters from 3.x editions  (I already figured out how to convert monsters from the 1ed) into 2ed monsters.


WebDriverException: Message: 'chromedriver' executable needs to be in PATH

IT IS IN PATH  echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/bin/google-chrome-stable:/usr/lib/chromium-browser/chromedriver:/usr/lib/chromium-browser/   Edit   I had an error in my path. /usr/lib/chromium-browser/chromedriver should have been /usr/lib/chromium-browser


If I have 12 boxes, in order of #1 to #12, and I close my eyes and stick a known label (A to L) on a random box, what is the probability that I get zero correct labels on the corresponding boxes?  In other words, after sticking all the labels on the boxes, not a single box has the correct label on it.


if (c.getQuery().contains("update") || c.getQuery().contains("delete") || c.getQuery().contains("truncate")             || c.getQuery().contains("drop")) {         throw new MensagemException(Mensagens.getMensagem("Only select is allowed"));   I have this simple code, that checks the string query. But it only checks lower case, what can I do to make it also verify any upper case without writing this over and over?


Show that $|{\sqrt{a^2+b^2}-\sqrt{a^2+c^2}}|\le|b-c|$ where $a,b,c\in\mathbb{R}$  I'd like to get an hint on how to get started. What I thought to do so far is dividing to cases to get rid of the absolute value. $(++, +-, -+, --)$ but it looks messy. I'm wondering if there is any nicer way to solve it.  Would love to hear some ideas.  Thanks in advance!


Cardinalities of the intervals $(-1,1)$ and $[-1,1]$

Suppose we have the set $A=(-1,1)$ and the set $B=[-1,1]$. Prove or disprove that $|A|=|B|$.   Can anyone help give a formal proof to this? I've been stuck on it for a while.


Bookmark always to toolbar by default in Firefox 16

The question sounds easy but I could not find a solution using google search. Maybe you have an idea:   I am searching for the Firefox setting to bookmark always to the toolbar.  If I press Ctrl+D the default "Folder" is "Bookmarks Menu". I'd like to have it always "Bookmarks Toolbar", without the need of changing it every time.    PS: I know that you can use the mouse and drag the icon from the URL to the toolbar. But using the keyboard more and more as it is just faster, this is not an option.


How do I numerically solve a nonlinear ODE with boundary conditions at infinity?

I have a nonlinear ODE with the only boundary conditions being that the limit of the function as $x\rightarrow \pm \infty$ is $0$. Specifically, I'm looking for soliton solutions to the equation $u'' + k^2(\epsilon\left(x\right) - q^2)u + k^2\gamma(x)u^3 = 0$, where $\epsilon$ and $\gamma$ are known periodic functions of $x$ with the same fundamental period, and $q$ is a known function of $k$.


How do I script a bunch of Gnome appearance changes?

On installing Ubuntu 18.04 one of the first things I do is install gnome-tweaks and change these settings:   Appearance > Themes > Applications Appearance > Background > Image Appearance > Lock Screen > Image Desktop > Home > off Desktop > Network Servers > off Keyboard & Mouse > Mouse > Acceleration Profile > Flat Workspaces > Static Workspaces   Supposing I wanted the setup of a new machine to be fully scripted. How would I make the same changes in a script? In which files are all these things stored?


Genetic linkage greater than 50 centimorgans

Classically, the linkage between two loci can be measured in centimorgans (cM), which represents the percent chance that these two loci will recombine an odd number of times (generating a recombinant genotype).  Due to independent assortment, markers on different chromosomes are expected to recombine 50% of the time. As I understand, if one conducts a classic experiment and counts various progeny, then deduces the apparent linkage, values of 50 cM or more are interpreted as "impossible to determine whether on separate chromosomes or just recombines very often". See (), with grammar corrected:     The final point that we need to make regards the maximum distance that we can measure. Because of the way in which the calculations are performed, we can never have more (than) 50% recombinant gametes. Therefore the (maximum) distance that two genes can be apart and still measure that distance is just less (than) 50 cM. If two genes are greater than 50 cM apart, then we can not determine if they reside on the same chromosome or are on different chromosomes.   Wikipedia gives an  and also remarks that (d is physical distance):     The probability of recombination is approximately d/100 for small values of d and approaches 50% as d goes to infinity.   However, what happens if the linkage is greater than 50 cM? It seems like classical experiments aside, such a situation is possible in reality.  For instance, , and . Let's take two genes on Chr.IV:    is at about +631 kb.  is at about +1370 kb.   The physical distance between these is about 734 kb. According to the cM/kbp value, the centimorgan distance is $734\text{ kb} \cdot 0.31\text{ cM}/\text{kb} = 228 \text{ cM}$ . How to interpret this 228?  If I mate a haploid yeast which is DNF2 TOM1 with another which is dnf2 tom1 (lowercase indicating minor allele rather than deletion), then sporulate them, what is the chance of getting spores with DNF2 tom1 or dnf2 TOM1 genotypes?  I realize that the cM/kbp value is only a simplification and that in practice linkage is a more complex phenomenon. Nevertheless, it seems plausible that several crossover events can happen on Chr.IV since it is so big. This includes the possibility of 1, 3, 5 and more crossovers which would create a hybrid (assuming they all happen between these two loci), as well as the possibility of 2, 4, etc crossovers which would create a non-hybrid spore (at least as far as our chosen markers are concerned).


Collection of clopen sets form a base for a countable completely regular space

I have $X$ as a countable, Tychonoff space, and I want to show that the collection of clopen subset of $X$ form a base for the topology on $X$.  Can I first just define a base $\mathscr{B}$ of X, let $x\in X$ and $E \subset X$ is closed such that $x\notin E$. So $x\in X-E$, which is open.   I also noticed that the interval $[0,1]$ is uncountable. Can I define a function $f: X\to [0,1]$, then f is onto. Do I need to show that $f$ continuous next?


I have the following problem which I do not know how to solve. I found the statement to be a bit confusing. Here's the problem:   If $B=((b_{ij})) \in M_{n\times n}$ where $b_{ij}=1 \, \forall i,j$ and $A=(a-b)i_n+bB$  Prove that $|A|=(a-b)^{n-1}[a+(n-1)b]$  I found the $i_n$ notation to be a bit cofusing, so I do not really understand how matrix A was declared. Can anybody help me?


Number of ways of selecting cells from a grid

The following figure shows a $3^2\times 3^2$ grid divided into $3^2$ subgrids of size $3\times 3$. This grid has $81$ cells, $9$ in each subgrid.    Now, consider an $n^2\times n^2$ grid divided into $n^2$ subgrids of size $n\times n$.     Find the number of ways in which we can select $n^2$ cells from this grid such that there are exactly one cell coming from each subgrid, one from each row and one from each column.   I could not advanced notably, so I am not posting this. Please give me the idea to solve this.


Does anybody know where I can find a database containing all (or a large percentage of) building addresses in the U.S.? I'm particularly interested in commercial properties.   Perhaps there's a google api I could query for this information?   I was able to find  but it's about finding a database full of building footprints whereas here all I'm concerned about is finding a database full of addresses. It is also five years old.


If there is a surjection $A\to B $ and another $B\to A$ then $A $ and $B$ are in bijection

I am trying to prove this (it looks true to me) :  Let $A,B $ be two sets. If there is a surjection $A\to B $ and a surjection $B\to A$ then $A $ and $B $ are in bijection.  I showed that is it equivalent to the following statement :  If there is an injection $A\to B $ and an injection $B\to A$ then $A $ and $B $ are in bijection.  But I am stuck, I don't see how to prove either.


Measuring/Quantifying Usability & User Experience

This morning i was looking online for articles that could lead me to a method that can be used to measure/quantify usability & user experience. The method i was interested in finding more information about, is about whether it is possible to have a set of good practices that can help in grading an overall system, both in it's prototype stage and even when creating mockups.   Obviously heuristic evaluation and user testing are key elements in developing a good user experience, but i was wondering if before these stages begin and testing is conducted there might possibly be a method for grading your mockups/prototypes internally before going forward to stakeholders and begin testing?   All answers and feedback are welcome as of yet i have been unable to find something that is similar to what i'm describing, i've read up about:  SUM (Single Usability Metric) -   System Usability Scale -


How to show $\frac{2x}{2+x}<\log(x+1)$ for $x>0$   Without differentiating, more elementary (it looks then more complicated but OK)  $\log(x+1)=\int\limits_1^{x+1}\frac 1udu$ and $\frac{2x}{2+x}=x\frac{1}{ 1+\frac x2}$ hence   $\log(x+1)-\frac{2x}{2+x}=\int\limits_1^{x+1}\frac 1u-\frac{1}{ 1+\frac x2}du=\int\limits_1^{x+1}\frac{1+\frac x2-u}{u\left(1+\frac x2\right)}du=\int\limits_1^{\frac x2+1}\frac{1+\frac x2-u}{u\left(1+\frac x2\right)}du-\int\limits_{\frac x2+1}^{x+1}\frac{u-\left(1+\frac x2\right)}{u\left(1+\frac x2\right)}du$  The numerator of the integrand in the first integral is positive and negative in the $2$nd. But for the first one the denominatior is smaller, so the fraction is always bigger than its corresponding fraction in the second one, and so the difference is always positive  is this correct, do you have an alternative proof


How to download windows 10 ISO from a windows machine

On my mac if I go to  I get:  On windows I get:  Is there any way to download the ISO without being required of downloading the update first? The reason is that my windows experience never really get's better after windows updates, and I kind of don't care about them anymore. They fail half the time and apart from security, they add nothing of value as far as I can tell.


I am doing the following in order to initialise my singelton:  ChatDataController *box = [ChatDataController sharedInstance];   The problem is that i use *box in different places, for example in these methods:  - (void) viewDidAppear:(BOOL)animated - (NSInteger) tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section   Is there a way to only have to initialise once? so that *box can be used in any method within a given class?


How to call static template-function of a template class?

This is a replication of the problem:  #include <stdio.h> #include <stdint.h> #include <unistd.h>  template <typename T> struct a_class {     // build an a_class instance     template <typename U>     static a_class a_builder() {         return a_class(sizeof(U));     }      // print out size     void print() {         printf("%zd\n", size_);     }  private:     a_class(ssize_t size) : size_(size) {}     ssize_t size_; };   template <typename T> void some_func() {     a_class<T> a = a_class<T>::a_builder<uint32_t>();     a.print(); }   int main() {     some_func(); }   Under g++ 7.3.0 I get this error:   ╰─▸ g++ test.cc -o test test.cc: In function ‘void some_func()’: test.cc:26:50: error: expected primary-expression before ‘>’ token      a_class<T> a = a_class<T>::a_builder<uint32_t>();                                                   ^ test.cc:26:52: error: expected primary-expression before ‘)’ token      a_class<T> a = a_class<T>::a_builder<uint32_t>();                                                     ^ test.cc: In function ‘int main()’: test.cc:32:15: error: no matching function for call to ‘some_func()’      some_func();                ^ test.cc:25:6: note: candidate: template<class T> void some_func()  void some_func() {       ^~~~~~~~~ test.cc:25:6: note:   template argument deduction/substitution failed: test.cc:32:15: note:   couldn't deduce template parameter ‘T’      some_func();                ^   Interestingly, if T is a concrete type:  void some_func() {     a_class<int> a = a_class<int>::a_builder<uint32_t>();     a.print(); }   Everything's fine.  Is there special syntax for this since it's a template context?


I have several DVD I want to transfer to my Hard drive. I want to have the DVD menu and such. Not only the movie. I was sure that ripping the movie will do the trick but it didn't work. What can I do then?  I tried dvd::rip and acidrip. Both aren't that clear to operate.


First, let me start off by saying that I have read the answers to  question (which is the same as mine), but the answers basically explain the different ways voltage is created or compare it to water in a pipe or altitude above the Earth's surface, so I was still a bit curious after reading those answers.   So, when I learned about voltage, it was often compared to height of a waterfall, pressure in a water pump, etc. The cartoon below helped me remember Ohm's law easily.    But, I want to to know exactly what voltage IS, not really what it's LIKE. As the top answerer of  question said, "If someone really wants to understand electricity, they need to dispense with the fluid analogies and just learn how electrical fields and charges work." So, I guess my question is: in terms of electric fields and charges, what exactly is voltage, what is happening in the circuit to make one point at a higher potential than at another, and why does increasing that difference increase how much charge passes between those two points, assuming constant resistance?


Create startup disk for windows 8.1 inside Ubuntu 14.01

I've installed Ubuntu on my laptop but didn't know that my windows OS would be removed (even tho it says so while doing this process!!!) <--Had to say this, sorry :/   ...Just a Drone after all...  Now I've been trying to reinstall windows with Ubuntu already installed.  I've tried a lot of way's but I couldn't fix it. (Go figure)  (Blame the other guy) That's it :) My problem is the same as this person (Check the link)   Again when I try this step /etc/apt/sources.list.d I can not see the file colingille-freshlight-.. as u can see on the photo


currently, I'm passing in a options array to the options attribute of a lightning-checkbox-group. I need to mimic the behavior of that tag, but I need to do it in html because I don't think I can get the checkboxes to display horizontally. I've tried <template for:each and have not had any luck. My goal would be to pass in the same name/value pair array, loop through it and call the same change handler that is called when using lightning-checkbox-group. A simple code snippet would be awesome. This is what I've tried so far: {lineItemObjectInfo.data.fields.Reason__c.label}  <template for:each={reasonOptions} for:item="option" for:index="index">
          <lightning-input onchange={handleChange}                            name={lineItemObjectInfo.data.fields.Reason__c.apiName}                            type="checkbox" label={option.label}                            value={recordInput.fields.Reason__c}></lightning-input>
  </template>  That actually gets me pretty close. When changed it fires the change handler and fails when I'm trying to do a .join on the recordInput for the field: handleChange(event) {     const {target: {name, value}} = event;        switch (name ) {         case "Reason__c":             this.recordInput.fields[name] = value.join(";");             break;         default:             this.recordInput.fields[name] = value;             break;     } }  I've also tried using a form tag with input and label tags but that didn't get me much further. The switch has been reduced for purpose of making it more clear. This is my original use of lightning-checkbox-group which functionally worked but styling is inflexible:
     <lightning-checkbox-group     onchange={handleChange}     name={lineItemObjectInfo.data.fields.Reason__c.apiName}     label={lineItemObjectInfo.data.fields.Reason__c.label}     options={reasonOptions}     value={recordInput.fields.Reason__c}></lightning-checkbox-group>


Why are the number of available RAM slots reported different with different tools? Who is right, the manufacturer or the tools?

I have a Lenovo Y700-15ISK laptop that came with 16GB (2x8GB) RAM. On the seller's website it indicated that there were 2 of 4 RAM slots used, which sounded great to me - meaning that I can expand the RAM further.   I've used different tools to determine the actual number of RAM slots, such as Task Manager(Win 10), CPU-Z, Speccy and wmic, as suggested here [. The problem is that they report different things. See below:  (1). Task Manager:    (2). Speccy    (3). CPU-Z    (4). Wmic    The manufacturer's manual I found online indicates that there are only 2 x SODIMM slots. It also reports that the motherboard can take a max capacity of 16 GB (2x8GB, 2133Mhz), while other sources say that it can actually take upto 32GB (2x16GB) and has been tested. See  and  ... so i have reason to believe the manufacturer can make mistakes. Seems no one is certain. Who should I believe?  In the end, I've opened up the machine from the under side (following a guide like ), and I seem to only find 2 slots (so far), but because of the differing results from the tool reports, I feel there are 2 more RAM slots. Could there be a possibility that there are another 2 RAM slots hidden on the other side of the motherboard (or in some place that i can't easily find), or is it simply that there are only 2 slots and the tools are reporting wrong results? Anyone with experience with disassembling this entire machine who might know the motherboard (Lenovo Allsparks 5A) inside out?  NB: I know this question is pretty similar to this one [  ] ... but the machines are different.


Pittsburgh English - dropping the "to be" before a verb

This is a region dialect issue, while discussing local idiosyncrasies the question came up is the following sentence grammatically correct with or without the "to be"  "The clothes on the line need to be dried"  In Pittsburgh, the regional dialect causes the "to be" to be dropped from speech.  "The clothes on the line need dried"  Although understood by the community and speaker, is this valid english?


Good morning, What I need to do is, when the client click on a checkbox I need to revert that action in some scenarios but doing this.   $("#foo").attr('checked');  or  $("#foo").attr('checked', 'checked');  or  $("#foo").attr('checked', true);   And looking with the firebug indeed the checked is marked, but still visually does not change, and there´s no check on the component.  Any idea how to make it works


Can I change my bike from a 3x7 to a 1x7?

I have a 2020 trek marlin. I'd like to change my rear cassette in the future but for now I'd like to know if I can change it to a 1x using only stock parts. Is this possible to do? Or would I have to buy a completely new crankset? Or just a chainring?


I'm trying to work out the following theorem.     The limit of the Heron's sequence is $\sqrt{2}$, with   $x_{0}=1$, and   $x_{n}= \frac{x_{n-1}}{2}+\frac{1}{x_{n-1}}$.   I'm guessing I'll need the axiom of real numbers and thereby I need to show that the sequence is non-increasing, which is easily done, but also that there exists a lower bound. I can use $L=0$ for this, since the elements will never be negative. Thus I now know there must exist a largest lower bound.  But how to go from there? That means there exists $L \in \mathbb{R}$ such that  $$|x_{n}-L| < \epsilon$$ for all $\epsilon>0$ and $n \geq N$ for some $N \in \mathbb{N}$.   Any suggestions on how to continue working on this proof?


I would like to list all files in the order of big to small in size and the files could be present anywhere in a certain folder.


What is the rule for spacing between words and the character &? For example, do I have to space Espresso&Tonic - Espresso & Tonic, although I am talking about one drink made with an espresso and tonic? Thanks


Could I use a 1/2TB USB 2/3 external HDD with an XBox 360?

I'm considering getting an XBox 360 (plus Kinect). I need storage for other devices as well (movies, PC games, whatever an Ouya might need), so I'm considering getting a big external HDD. Can I store downloaded games (e.g. Fez) on such a device?


UEFI boot fails when cloning image to new machine

I have ten identical machines, and want to deploy the same Ubuntu 12.04 image on all of them. I've done a complete install on one of the machines, and cloned the disk using dd. The issue is that if I use dd to write this image to the disk of another machine, it will no longer boot. That is, the machine reports "no bootable devices found" on all machines except the one where I created the iamge.  I suspect that this may be due to something device- or machine-specific about the way the UEFI boot is set up, but I can't say for sure. I don't do anything out of the ordinary as far as I'm aware.  For what it's worth, running  on one of the clones does fix the problem and let the machine boot, but I'd rather not have to run that manually on every new machine I want to clone the image to. Also, this seems to tie the drive to that machine, so inserting a "fixed" drive into a machine other than the one Boot-Repair was run on will yield the "no bootable devices found" message again.  Clearly it must be possible to construct an image in such a way that the UEFI boot entries will work on any machines, as this is what the Ubuntu install image does, but I have no idea how it achieves that?  If it's of any help,  is the boot info file generated by Boot-Repair when it fixed the disk on a new machine.


Is it possible to get the name of an author from a citation? I do not want to change my bibliography style and only want to do this sometimes.  Example:   @article{doe2014lorem,   title={Lorem Ipsum},   author={John Doe},   journal={The Journal} }   And then I would like a command to print "John Doe", for instance printauthor{doe2014lorem}, which would then print "John Doe".


For every $n$ there exists $m$ such that $m/n$ is an upper bound but $(m-1)/n$ is not

This is a problem discussed in Analysis 1 by Terence Tao.  $E$ is a non-empty set of Real numbers. $ n\geq 1$, $L,K$ are two integers such that $L<K$. Let $\frac{L}{n}$ is not an upper bound of $E$ but $\frac{K}{n}$ is an upper bound. It is required to prove that: There exists an integer $m$ where $L<m \leq K$ such that $\frac{m}{n}$ is an upper bound for $E$ but  $\frac{m-1}{n}$ is not.  Suppose $E=(0,1)$ and $n=2$. Let $L=1 ,K=3$ then $L,K$ satisfies the required properties and we can find $m$ as 2. Then we can verify the result. It is given as a hint to prove by contradiction. So we can assume that There exist integers $ L,M$ satisfying the conditions but for every integer $m$ with $L<m \leq K$, $ \frac{m}{n}$ cannot be an upper bound for $E$ .That means  there exists $  x \in E $ such that $x >\frac{m}{n}$ . I can't proceed from this step. It is also given that we have to use induction.


Divergence of $\sum_{n=1}^{\infty} \frac{1}{2+i^n}$?

I notice that,  $i^n = i, \quad if \text{ } n \equiv \text{ } 1 \text{ } mod \text{ } 4$  $i^n = -1, \quad if \text{ }n \equiv \text{ } 2 \text{ } mod \text{ } 4$  $i^n = -i, \quad if \text{ }n \equiv \text{ } 3 \text{ } mod \text{ } 4$  $i^n = 1, \quad if \text{ } n \equiv \text{ } 0 \text{ } mod \text{ } 4$  so the series $\sum_{n=1}^{\infty} \frac{1}{2+i^n}$ seems to be an alternating series that does not converge to any point in the complex plane. Is there a rigorous way to prove this divergence? How would you write a proof to this divergence or convergence (if I am wrong)?  Thanks!


What is inverse CDF Normal Distribution Formula

Does anyone know what the Inverse Cumulative Distribution Function of Normal Distribution is? Does it have a closed form expression? I did not find any good answer using Google.


Netflix not working on Firefox 60.0.1 64-bit on Ubuntu 18.04 LTS

Brand new Ubuntu 18.04 install. Opened included Firefox 60.0.1 64-bit and logged into Netflix. Error F7355. Not F7355-1203, F7355-1204 or F7355-anything else. Just F7355.  DRM-controlled content is enabled.   OpenH264 is installed and enabled.   Widevine is installed and enabled.   Any suggestions?


Count the size of the header without a calc?

I have an app with many

   like here :   I can't manage to achieve what I want without having to add calc(100% - headerSize). Since my header can change size, a calculation set in hard would break it when I resize it.  Also I would like my 2 header to be always visible.  something like this  but with a scrollbar of the content.


Why is it not possible to alter a view with a "CREATE OR REPLACE"?

The Postgresql documentation is clear on this point: you can not change the columns of an existing view.     The new query must generate the same columns that were generated by the existing view query (that is, the same column names in the same order and with the same data types) (...)   Reference:   Why on earth do I have to either DROP the view or ALTER it for modifying it ?


Can a familiar use a Help action to grant advantage on an attack to a near by ally?

Can a familiar use a Help action to grant advantage on an Attack to a near by ally?  As I understand it, a familiar can aid in any action it can take itself.  But by the spell Find Familiar, a normal familiar cannot attack.  Is it correct that by extent a familiar thus cannot Help an Attack action?  Superior Warlock familiars (Pact of the Chain) can attack if the Warlock gives up her attack action to grant the familiar an attack.       Additionally, when you take the Attack action, you can forgo one of your own attacks to allow your familiar to make one attack of its own with its reaction.  (SRD p. 46)     Can a superior familiar Help in an Attack action?  If so, would the Warlock be required to use an action to allow the familiar to Help?  Are their any official errata or posts related to the above?  It is commonly explained that the familiar is aiding by distracting an opponent rather than attacking themselves.  But I didn't find an explicit answer to this question, so I'm posting it here.  Similar questions listed are:


How do I install the VirtualBox version from Oracle to install an Extension Pack?

I downloaded VirtualBox OSE from the Ubuntu Software Center but it seems that that version is limited. I prefer to have the complete version and don't really care if it's closed source or not.  Can I install it via a terminal or do I have to download something from a website?  I don't know how to install software I download from the web. So far I've only used the Software Center.


Generate data from a t-distribution with specified mean and standard deviation

How does one randomly sample from a T-distribution in R. From what I've found, the function rt in R doesn't let you specify the mean and standard deviation. For a normal distribution it is simply rnorm(x,mu,sd).  EDIT:  For the t-distribution there is a central and a non-central version. I want to know the difference between the two.  In addition, if I want to specify the mean and standard deviation, does that automatically mean I am dealing with the non-central version of the t-distribution?  I chose to use the t-distribution because the data I am using are rather fat tailed and a t-distribution with a low degrees of freedom seems like a good idea. What other distributions are there for handling fat tailed data? Also it would be great if you can specify the function in R too.


Ada V Hagerty is my great-grandmother. She was confined to the Eastern Indiana Hospital for the Insane in July, 1925. She was a resident there until her death on April 2, 1952. I am seeking medical records, information as to her diagnosis and treatment. Also, I believe she was taken from the facilty by family members in the 1940s only to be returned there by her husband Commodore. I am trying to confirm that.


I am writing books. The references are put in the footnote. When I wrote papers I use Mendeley to generate the reference in a consistent way. But how do I cite them into footnote? Anyone has suggestion?


When did the main meaning of the word 'gay' shift from happy to homosexual? How did the meaning evolve, if there is a relation between the two?


Using Geoserver and PostgreSQL to build a web mapping tool?

I've been an ESRI user and a Carto user and like both tools but I am now hoping to build my own web-mapping platform. The issue is, I have no web-development experience other than the little I've taught myself. I want my mapping platform to be able to run SQL queries and to store data safely (some datasets I only want to make available via a link, and not make the data shareable/scrapeable).   Am I even looking in the right direction?   Can this GeoServer + PostgreSQL mix get me what I want?


visual studio removes backslash from path, generated by cmake

Sorry for my English. I try to generate local Visual Studio project from shared (Samba) sources and libs. I have linker error: "cannot open file \samba_path\somelib.lib". Real path is "\\samba_path\somelib.lib". It's valid path, that I see in linker settings in Visual Studio and in Cmake variables. Why linker don't understand this path?


Why the behavior of while loop and for loop is different?

I am trying to read user and server details from file tempo.txt and then check the disk space usage of the file system on that unix account using another script server_disk_space.sh.But I am not able to figure out why while loop is only working for first line and for loop is working fine.Please help me understand this.  Using while loop  #!/usr/bin/ksh while read line do r1=`echo $line | cut -d"#" -f1`; r2=`echo $line | cut -d"#" -f2`; apx_server_disk_space.sh $r2 $r1 done<tempo.txt   Output  8     Using for loop  #!/usr/bin/ksh for line in $(cat tempo.txt) do r1=`echo $line | cut -d"#" -f1`; r2=`echo $line | cut -d"#" -f2`; apx_server_disk_space.sh $r2 $r1 done   Output  8 23 54 89 12     Contents of server_disk_space.sh  #!/usr/bin/ksh user=$1 server=$2 count=`ssh ${user}@${server} "df -h ."` echo ${count} | awk '{print $12}' | tr -d %   Above script outputs the value of Use percentage of Disk Usage on any server .    Contents of tempo.txt  abclin542#abcwrk47# abclin540#abcwrk1# abclin541#abcwrk2# abclin543#abcwrk3# abclin544#abcwrk33#


This might be more of a philosophical question, But I have to put this out there. Photons as we know it have no mass but carry energy, yet gravity is able to affect light. Here is my whole dilemma. What if gravity doesn't directly effect the mass of the object, but gravity acts on the energy of an object. We don't really see this though because almost all equations dealing with energy whether it be .5(m)v^2 mgh E=mc^2 all have mass in them. So again this is just a crazy out there idea of mine.


What is a good regular expression to match a URL?

Currently I have an input box which will detect the URL and parse the data.  So right now, I am using:  var urlR = /^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)            (?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/; var url= content.match(urlR);   The problem is, when I enter a URL like www.google.com, its not working. when I entered http://www.google.com, it is working.  I am not very fluent in regular expressions. Can anyone help me?


Calculate $\int_0^\pi\log\sin\theta \,d\theta$ using contour integration only

Calculate $$\int_0^\pi\log\sin\theta\, d\theta$$ using contour integration only. I know the problem can be solved in multiple ways. But now I am interested in only the solution using contour integration. I have tried the usual techniques like setting $\sin\theta=\frac{e^{i\theta}-e^{i\theta}}{2i}$ but with no luck. And it doesn't really seem like other integrals that can be solved using contour integration. Any suggestions?


I've got an Asp.net Core app which is meant to be run on both Linux and Windows. There are some sensitive data hardcoded in the app's code (e.g. license decrypt key). I can use a resharper (dotPeek for exapmle) to decompile the dll and get the date. How can I prevent my app secrets from being accessed by decompilation?


Given mod3, mod5 and mod7 of a number `x`, how to find the number?

My Problem:  x mod(3) = 2 x mod(5) = 4 x mod(7) = 1 Solve for x   I was given a formula x = (x mod(3) * 70 + x mod(5) * 21 + x mod(7) * 15) mod(105) to solve for x.  I want to know how to derive this formula. I can see a relation between the numbers 35, 21, 15 as part of the 3*5*7 = 105 equation. But how to use this to get the formula, I have no idea.  I was manually able to get the answer by finding the intersecting value of 3 sets.  set 1: All numbers < 105 which will give an remainder of 2 when divided by 3  set 2: All numbers < 105 which will give an remainder of 4 when divided by 5  set 3: All numbers < 105 which will give an remainder of 1 when divided by 7  The only intersection happened with the number 29 which is the answer I got when the formula is applied.


Is there a name for "extra" words used in common expressions?

I've noticed that he word "up" seems to be one of the most common "extra words" used in short English phrases. Some examples are:   Look up Shut up Finish up   Another one is "over" as in:   turn over look over come over   Is there a part of speech name for these types of "extra" words? I call them "extra" because they don't seem to change the meaning of the word that precedes it. "Turn over" seems to be redundant as when you turn something, you see the "over" or other side. Are these words nouns, prepositions, or what?


What is the course of actions when elected moderators lock and close questions with unjustified reasons?

What should be my course of actions when elected moderators (specifically "Stack Overflow in Russian") unjustifiably lock and close questions on the Meta? I realize, that deciding what is justified and what is not might be my personal opinion, but this is why I'm in need for a higher authority here. I have checked through the "Contact us" but could not find a relevant topic. I'm also not eager to use the ruSO "Contact Us" form, since it is likely leading to the same moderators who mistreated the rules in the first place.  For anyone interested, here's the ruSO topic on the matter, from which I'm trying to escalate the issue: . TLDR in Eng: Question #1 () goes like "Why does ruSO supports these offtopic competition-like questions which do not have a clear rules set and are largely violating SO policy on questions guidelines" - was closed as "Offtopic" itself (ironically). Not looking at the issue presented - it is clearly a wrong moderator action, to lock the question on Meta that is aimed at discussing the rules and finding a right solution - that's one of the Meta goals after all. Question #2 () goes like "Why is ontopic question was locked as offtopic?" - was closed as "Duplicate of the above question". Now this is wrong once again - these are different questions, but the moderators acted nonetheless. I have casted my "re-open" vote, of course. P.S. Let me know if I have missed something or need more details to add.


Is there an issue with sed and new line character? I have a file test.txt with the following contents    aaaaa   bbbbb   ccccc   ddddd     The following does not work: sed -r -i 's/\n/,/g' test.txt    I know that I can use tr for this but my question is why it seems not possible with sed.     If this is a side effect of processing the file line by line I would be interested in why this happens. I think grep removes new lines. Does sed do the same?


Function inside function is not getting executed

I need a function that returns an array of objects but currently, I'm getting an empty array as the return value.  I've got this code:  componentWillMount() {     const data = {         invoice: {             documentID: '_e4564',             displayName: '2019-02-03',             url: 'https://www.urltoinvoice.com'         },          conditions: {             documentID: '_e9365',             displayName: 'Conditions company x',             url: 'https://www.urltoconditions.com'         },          reminders: [             {                 documentID: '_e4364',                 displayName: 'First reminder',                 url: 'https://www.urltofirstreminder.com'             },             {                 documentID: '_e0254',                 displayName: 'Second reminder',                 url: 'https://www.urltosecondreminder.com'             },         ]     }      this.setState({          documents: this.getDocuments(data)     }) }  getDocuments = documents => {     const arr = [];      function addDocument(documents, labelKey) {         Object.entries(documents).forEach(([key, val]) => {             if (Array.isArray(val)) {                 addDocument(val, key);             } else {                 arr.push({ documentID: val.documentID, displayName: `${labelKey || key}: ${val.displayName}` });             }         });     };      return arr; }   At this point, the code is not executing the addDocument function.  Someone can tell me what I'm doing wrong?


How to reduce sugar in chocolate chip cookies without losing the texture

I have my chocolate chip cookie recipe which uses a 1 to 1 sugar to flour ratio. The texture is chewy because I under-cook them on purpose. When cooked golden brown they are snappy like the supermarket chocolate chip cookies. (like pepperidge farm)  I'm trying to reduce the sugar in this recipe for taste and health reason. (I know that chocolate chip cookies are not celery and carrots :D )  I reduced the sugar to reach a ratio of 75% sugar to flour ratio. The cookies need more cooking time, and come out bready/cakey.  Here is the final low-sugar recipe for reference (my original recipe is based on the one on the back of the Tollhouse chocolate chip packages):   250g butter 110g granulated sugar 100g brown sugar 1 pack vanilla sugar 2 eggs 1 pack of baking soda 1 pinch of salt 270g flour 300g chocolate chips Bake 12 minutes at 190°C   My understanding is that the sugar contributes to some kind of caramelization of the cookie, making it chewy/snappy.  Is there a way to substitute the sugar? Change the ingredients ratio so that we still have a not-too-sweet and not-too-unhealthy cookie?


How to delete all .class and .csv.gz files in the folder and all the subdirectories in SVN

I'm trying to delete all .class and .csv.gz files from my svn directory and all subdirectories. Can anyone tell me  how to do it automatically with a command ? I have RabbitSVN installed on my Ubuntu.  The svn command for removing a file is: svn delete fileName


I'm having a general question about header files:  In my project, which is not a library or plugin, but a standalone program, I don't use any header files - I am just using cpp files that I include in my main file.  Should I dismiss this coding style for some obscure reasons? I mean, I get that using header files can be helpful when navigating among classes or functions, so you can get a quick lookaround, but I generally think just declaring the classes "as they are" feels better for me - for navigation I'm using comments and the find function of gedit (I am not using an IDE either, for the same reason)^^. But will I at some time maybe run into problems if I continue with this? My Project is expanding, but as I mentioned, I don't see a problem regarding header files about it.


Question is :  Suppose $A\subset \mathbb{R}$ with more than one element and $A/ \{a\}$ is compact for a fixed $a\in A$ then    $A$ is compact Every subset of $A$ must be compact $A$ must be finite $A$ is disconnected   Only compact subsets of $\mathbb{R}$ I can think of are finite union of closed intervals and finite sets.  Take a  finite union of closed intervals, If i remove one element for that I would end up with something which contains $[a,b)$  and this would be not compact so should be the whole set.  So, First option is wrong i.e., $A$ is not compact.  I can not say anything about second and fourth option but third option is possible I guess.  Please help me to see this in detail..


Beamer miniframes: horizontal space between dots when using the compress option

I'm using the beamer miniframes theme (with subsection=false) and the compress option. Currently the navigation shows the dots for each subsection side-by-side. I would prefer if there would be a horizontal space (e.g. with the width of a dot) between the dots of each subsection. Is this possible? Right now it looks like:  Section 1 oooooo  And I would prefer it to look like:  Section 1 ooo ooo  MWE: \documentclass[compress]{beamer}   \useoutertheme[subsection=false]{miniframes}   \begin{document}   \section{Sec 1}   \subsection{}   \begin{frame}[t]     hi   \end{frame} \subsection{}   \begin{frame}[t]     hi   \end{frame} \end{document}`


So, listening to this , I've already completed a basic Tetris game. Moving on, I started a small breakout. But suddenly : a nightmare came. Collisions.  Since I've been struggling with this a lot, I read a bunch of article of the web. Being a beginner, I thought that, in the first approach, I would only use Rectangle to detect collisions.  Right.  Now I still have some problems.  First of all, all the articles I stumbled upon on the Internet told me how to detect collisions, e.g. checking if objects A and B collided with each other. But it is not what I really need. In order to respond properly, I need to tell my objects if the collision happened on the X or Y axis and then setting the new velocity according to . The problem is that there are so many possibilities when making the distinction between types of collisions that I don't think I've taken the right path.  The second point (which, I believe, is really tied with the first) is the pattern in which the detection and the resolution of a collision happen. Right now, I have a CollidableObject classes and a CollisionDetector classes which knows about these objects. Each frame, the detector is looking for collision (or at least for me, is trying) and when he finds one, it alerts each collided object, saying "Hey you ! You've have collided with Z on the X axis, change that velocity now." and the object abides.  The main issue right now is that I can detect the collision axis and therefore, when saying "Hey you ! You collided !", I cannot respond properly. In which direction should my velocity change ?  I've been thinking a lot about this lately, trying to figure it out on my own, but I haven't find something that I liked so I am asking here now.  Thank you for your answers !  (Note : I don't know if this is relevant, but I'm coding in C++ using SDL)


Creating a myenumerate-environment with a counter

I want to have the counter use roman numbers, so it should be something like:  (i) ...  (ii) ...  (iii) ...  I tried defining a macro \myitem, but it´s not really working. Does any have any ideas?


Earlier I asked a question about  and got the answer that while it is only necessary for anonymous types, that it is used nonetheless to make writing code 'quicker'/easier and 'just because'.  Following  I saw that var gets compiled down to the correct type in the IL (you will see it about midway down article).  My question is how much more, if any, IL code does using the var keyword take, and would it be even close to having a measurable level on the performance of the code if it was used everywhere?


'Failed to Fetch update' whenever trying to install new applicaiton. Something to do with bluetooth.bluez

Whenever I try to download an app, this pop up appears, and even though the app is installed and works fine, I don't know what this pop up is about? Will it hinder any updates? Here's the error message: E: The repository 'http://ppa.launchpad.net/bluetooth/bluez/ubuntu focal Release' does not have a Release file.  W: Updating from such a repository can't be done securely, and is therefore disabled by default.  W: See apt-secure(8) manpage for repository creation and user configuration details  I suspect it has something to do with bluez or something bluetooth related, because recently I tried to fix the issue of connecting my bluetooth headphones to linux and followed this , specifically the instructions under section Bluetooth won’t be available after the system has gone to sleep Btw, I'm very new to Linux (if it isn't already obvious). Attachment:


I was trying to recreate a so-called CMY cube, which is a translucid cube where opposite sides are coloured cyan, magenta, and yellow. When looked at from an angle, these colours mix, e.g.  (More pictures ). The naive approach (namely, a cube with different shaders on each face) does not work:  Is this something Cycles can handle? (I mean, in a natural/physically realistic way; although if this is not possible, a "fake" solution would be interesting too.)


How do I fix an error about unclean file system NTFS when mounting?

I have install Ubuntu 13.04 along side with Window8 the first time I can use it very well but after few time I restart my machine and I try to use the file from another HDD(I have 2 HDD 1 is 160GB which I install the OS on it.2 is 1000GB what I have in it just the photo file,video,movie and song).now when I start up my machine and I try to view file in my 2 HDD what I have is this message... I want to show a picture but I can not the picture of my error is here..


what's the difference in the meaning "I am assuming and I assume"

There’s a Funky Frankenstein tape so I’m assuming anything else that was in that package is here.   why the progressive here, first reason is that it is happening right now but does the progressive imply that it is only a strong possibility not 100 per cent sure instead of "I assume" which is stronger more as a fact  my question is different because only one person is invoved, the writer and he is not starting  doing  something


Dog.setName("Kutta"); // this is how you call a setter method String Naam = Dog.getName(); System.println(Naam);  //Kutta Naam = "Kutte ki Ma"; System.println(Dog.getName()); // Is this *Kutte ki Ma* or is it *Kutta*?   And Why? If Java passes references by value, shouldn't Naam point to Dog.getName()? If that is the case, shouldn't the Name variable of Dog object (which may be private to the class used here) be directly modified if Naam is modified? Isn't that a flaw?


Why does Ubuntu create a file ending in ~ for every file I create with a text editor like GNU Emacs?

Why does Ubuntu create a file ending in ~ for every file I create with a text editor ?   Creating a file with a text editor like GNU Emacs, say myfile, another file called myfile~ is also created. Why is this superfluous file created ? Using cat on it displays nothing.  Thanks,


I Have Downloaded Ubuntu. Now Want to Install Directly From HDD

Well my question is unique. Because I want to know how can I install Ubuntu from HDD or a USB while the answer provided within the link someone said is duplicate is actually on how one can install Ubuntu from a DVD. I don't have any blank DVD to burn. So I want to install Ubuntu DIRECTLY from HDD mainly. But if it is not possible then I can install from USB too.  I am completely new in Linux world. Just want to taste Ubuntu as I listened lots of sweet words about it. However I just downloaded  ubuntu-14.04.2-desktop-i386.iso   My machine is processor Intel 2.50GH core i5, Intel main board, 2GB RAM, 500GB HDD. I am using windows 7 on C:\ drive. I want dual booting. Existing windows 7 with Ubuntu ubuntu-14.04.2. Can anyone tell me....  1- How can I install Ubuntu on Drive J:\ so that I will get dual booting.   Ubuntu with Windows 7?  2- Alternatively I can install from a USB too. Can you tell how to install from USB?


What are the main differences between performing principal component analysis (PCA) on the correlation matrix and on the covariance matrix? Do they give the same results?


database connection through Windows authentication

I have a sql server in my remote computer and I want to connect the sql server using windows Authentication or integrated security in java program from another computer the system is connected with same wifi.


How can I take the last line from a log file and extract just the filename?

I've been trying to write code in batch (powershell is also fine) to take the last line from a log file and remove some text from it, here's the logfile I'm trying to do it from:  Opening track for playback: "D:\Music\Mellow Vibe ● lofi study mix.m4a" Opening track for playback: "D:\Music\Logic - Overnight.m4a"   It's a log from a music player program that will output whatever song is playing like this, each of the songs have various titles and I'm trying to remove the string     Opening track for playback: "D:\Music   at the beginning of the text and the string     .m4a"   at the end of the text. All of the files have different names but they all are in the same locations and will always begin and end the same, the only difference being the actual song/file name.  Here's the code I have, it's fairly basic code that will only fetch the last line from the log file, I'm not sure how to go about removing the text from the beginning/end of it, I would also like it to auto-update when a new song (string) is appended to the [log] file, if possible:  @echo off for /F "delims=" %%a in (file.log) do (set "lastLine=%%a") echo %lastLine%>test.txt pause


What's the best way to display dates for international users?

Date formatting in the U.S.A. is usually shown as Month / Day / Year, while international users expect dates to be shown as Day / Month / Year.   What is the best way to avoid confusion for a date like 04/05/2016 being interpreted as April 5th or May 4th?   This is being used on a form collecting dates along with a calendar picker UI to help avoid confusion, but wasn't sure that was enough.   I have suggested using three letter abbreviations for the month:   Apr 5, 2016 or May 4, 2016


Proving zeros inside a disk using Maximum Principle?

Let $f$ be non-constant analytic in a neighborhood of the closed unit disk such that $|f|=1$ on the unit circle. Show that $f$ has a zero inside the unit disk. It has been suggested to argue this by contradiction and using the maximum principle. However, is it possible to argue this question using properties of conformal maps since doesn't $f$ map the unit circle to itself? Regardless, I don't understand what information the Maximum Principle would give me to argue by contradiction. Why couldn't $0<|f|<1$ inside the disk?


How do I figure out which font file is chosen for a system generic font alias?

In Fedora 22, in KDE (plasma) System Settings -> Font -> Fonts, the setting for "General" is "Sans Serif 10", for "Fixed width" is "Monospace 10", for "small" is "Sans Serif 8", for "Toolbar" is "Sans Serif 9", for "Menu" is "Sans Serif 10", and for "Window title" is "OxygenSans 10".  How can I figure out which font file is being used for the generic "Monospace" alias?  (I'm sure I can follow the same procedure to figure out Sans Serif.)  fc-list shows 30 files, but fc-list | grep -I monospace shows nothing.  ("Monospace" must be an alias, and isn't the name of an actual font.)  fc-match --all shows 30 files, but likewise, fc-match | grep -I monospace shows nothing.  ls -la ~/.config | grep font shows nothing.  (No ~/.config/fontconfig)  /etc/fonts/fonts.conf lists font directories, accepts deprecated aliases, and points to /etc/fonts/conf.d.  /etc/fonts/conf.d/60-latin.conf is an XML file with element alias, with child family ("monospace") and prefer families ("Bitstream Vera Sans Mono", "DejaVu Sans Mono", "Incolsolata", "Andale Mono", "Courier New", "Cumberland AMT", "Luxi Mono", "Nimbus Mono L", Nimbus Mono", and "Courier").  /etc/fonts/conf.d/61-oxygen-mono.conf has child family ("monospace") and prefer family ("Oxygen Mono").  /etc/fonts/conf.d/69-gnu-free-mono has child family ("monospace") and prefer family ("FreeMono").  /etc/fonts/conf.d/69-unifont.conf has child family ("monospace") and prefer family ("FreeMono").  Now, in this case, the only prefer family quoted above that is installed is "Oxygen Mono" (in OxygenMono-Regular.ttf), so the system must be using that font.  But, what if some of the other prefer families were installed?  Isn't there a simple command that lets you see what a generic system alias like "Monospace" is mapped to?  I only see fc-{cache, cat, list, match, pattern, query, scan, and validate} on my system, and the only two that looks like they might perform this (list, match) don't seem to have this feature.


Newton's third law of motion states that every action has an equal and opposite reaction. But, on punching a wall, I feel much greater force than on punching an inflated balloon. So, what does it mean? Is the balloon not applying an equal and opposite force. Or, what else is going on here?


What type of grease to use as general purpose bearing lubricant?

Lithium grease, white litium grease, graphite grease, carbon grease, SRAM`s Liquid O-ring. And those are only the types of greases I have heard about.   What type of grease would be suitable for bearings like headsets, BBs, Shimano hubs?


How to say someone's home was something plural?

My true home were the streets of the suburb of XYZ.   Not sure how to say that the streets (plural) were the home of a specific person.  Using the word homeless would be against the intended meaning. This specific person had a family and a house but mostly wandered and slept in  streets or alleyways, because he felt that's where he belonged.


I have a fairly simple question for you, regarding a getText().toString() method I'm using in an if statement.   Essentially, I'm asking the user a question. If they input the correct answer in the appropriate EditText, they move on to the next question. If not, they lose life. If their life is reduced to 0, they are sent back to the beginning of the game. If not, they must repeat the question. The problem I'm having while testing this is that after entering the correct answer, in this case "Atlantic", the method is executing as though the answer is wrong. Can anyone help with this?  PS I am aware that the Else If is redundant, it's just there for clarification purposes.  The code:      answerButton.setOnClickListener(new View.OnClickListener() {         public void onClick(View v) {             if (answerText.getText().toString() == "Atlantic") {                 KrakonQ2();             }             else if (answerText.getText().toString() != "Atlantic")             {                 thePlayer.setPlayerHP(thePlayer.getPlayerHP() - 20);                  if (thePlayer.getPlayerHP() <= 0)                 {                     thePlayer.setPlayerPos(0);                     setupControls();                     RoomText.setText(thedungeon[thePlayer.getPlayerPos()].getName());                     setupDirectionButtons();                     thePlayer.setPlayerHP(100);                  }                 else                 {                     KrakonQ1();                 }               }          }     });


Does upvoting a duplicate comment do anything?

When a question is initially flagged as a duplicate, there is a comment. If the duplicate flag gets enough votes, the question is closed as a duplicate, and the comment is deleted.  Does upvoting the duplicate comment count as a close vote? Does it do anything at all?


Let $x$ be a positive real number. Inequality problem with $\pi$ and $x$ terms.

Let $x$ be a positive real number. Then  (A) $ x^{2} + \pi^{2} + x^{2\pi}> x\pi+ (\pi+x)x^{\pi} $  (B) $ x^{\pi} + \pi^{x}> x^{2\pi}+ \pi^{2x} $  (C) $ \pi x +(\pi+x)x^{\pi}>x^2 + \pi^2 + x^{2\pi} $  (D) none of the above.  I've tried using AM GM inequality. But not been able to solve. It became more cumbersome. And I know it can be solved using substitution (x=1). But I want to know the process, intuition to such problems Help??


Why is a polynomial $f(x)$ sum of squares if $f(x)>0 $ for all real values of $x$?

If a polynomial $f(x)>0 $ for all real values of $x$, then $f(x)$ is sum of squares. Why is this true ? I understand that the roots of this $f(x)$ will be complex and hence will exist as   conjugate pairs ( It is to be assumed that the $f(x) $ has real coefficients).


how to get start with C, C++ coding in unix, and what is the basic packeges needed to install at first?

I am a beginner to use linux os.  What is the basic packges needed to install to compile a C,C++ code in terminal box ? and, please give the command to install it .  :(


Why is enumerating installed MSI packages so slow?

This is a follow up from this .  I'm using this slightly modified script to enumerate all installed MSI packages:  strComputer = "."  Set objWMIService = GetObject("winmgmts:" & _     "{impersonationLevel=impersonate}!\\" & _     strComputer & _     "\root\cimv2")  Set colSoftware = objWMIService.ExecQuery _     ("SELECT * FROM Win32_Product")     If colSoftware.Count > 0 Then     For Each objSoftware in colSoftware         WScript.Echo objSoftware.Caption & vbtab & _         objSoftware.Version     Next Else     WScript.Echo "Cannot retrieve software from this computer." End If   What is surprising however, is its abysmal performance. Enumerating the 34 installed MSI packages on my XP box takes between 3 and 5 minutes !  By comparison, the Linux box that sits besides is taking 7s to enumerate 1400+ RPMs... sigh  Any clues on this ?


Objects are not counted in the header and will not export

I have a scene full of objects that won't export properly (I need either FBX or Obj, it's for Unity but that's irrelevant). After a lot of work I've been able to narrow down the problem to the fact that those objects are not being properly counted.. (see picture, objects counts 0..) The objects that are being counted export fine. :(    Any idea what is wrong with those objects?...  I have a work-around: joining a problematic object to a working  object, and then separating them again, but there are dozens of objects in that scene, it would take me days to fix all this like that.  Any help would be very welcome. :(


How do I evaluate $\lim_{x\to 0}\left( \frac{1^x+2^x+3^x+\cdots+ n^x}{n}\right)^{a/x} $?


How do I invert BooleanToVisibilityConverter?

I'm using a BooleanToVisibilityConverter in WPF to bind the Visibility property of a control to a Boolean. This works fine, but I'd like one of the controls to hide if the boolean is true, and show if it's false.


How to put some commands written by a software's codes into Latex beamer?

I prepared a program written in GAP's envirounment. I'd like to put them all in one of my beamer pages exactly as follows:  gap> z:=CyclicGroup(IsPermGroup,10);; n:=CyclicGroup(IsPermGroup,15);;      s:=DirectProduct( z, n );;      e:=Elements(s);;      r:=Filtered(e,t->Order(t)=10);;      Size(r);;   What can I do? I used \text{} to get the result as it is shown above but it's useless. Thanks for any help.


How to terminate in multiple loop in Java?

Does the keyword 'break' only jump out of one layer of loop? In this piece of code, there are 3 layers loops, which I want to jump out completely. Is there an easy to do that?   while(){     while(){         for(){          if(a==b){            // I want to jump out of the outer while() loop.           }          }     } } // and the logic continues from this line.


I always have a red circle in the upper part of my Ubuntu 16.04 screen, and whenever I click it, it says the following:     I can tell that Mono is a cause of this problem; I tried to uninstall it but it didn't seem to work! I can't even reach synaptic!


I'm using four batteries with a total of 6 volts, but the lightstrip only needs five. How would resistance work?

The strip uses .5-2A and 5 volts. I'm using four AA batteries, so the voltage becomes 6. What do I do to reduce the voltage, and get the right current? Will the strip itself just draw the current in it's own way since it's remote controlled? I read online something that said something like the equation for the extra volts is you take the original volts, and subtract it by the end voltage you want. Then you take the difference and put it in a ratio to the end voltage. Like 6-5=1. 1:5, meaning you use two resistors, the second of which being 5 times the first resistor. Is that correct? And if so, what about the current?  Edit: What if I used 4 rechargeable AA batteries. Each is like 1.2 volts, 4 of them would make 4.8 volts. Online it says that the internal resistance is about 30mΩ-100mΩ. That means .03Ω-.1Ω right? Using ohms law to find the current, V/R=I, and the max resistance, that should be 1.2/.1=12. So a single rechargeable AA battery can pump out 12 amps? Correct me if I'm wrong


Universal login throughout all Stack Exchange sites

I have started using more Stack Exchange sites. Whenever I go to a new site I have to login and create an account. I think it would be more convenient if when you create a  Stack Exchange account, it creates an inactive account on all of the sites. Then when you go and click on one you are already logged in. A sort of universal login idea.


Class property derived from (abstract) class properties

On an abstract class, in Python 3.6+, I'm trying to define a class property that is derived from other (abstract) class properties. What I've tried: from abc import abstractmethod  class AbstractAnimal:          @classmethod     @property     @abstractmethod     def front_limbs(cls):         raise NotImplementedError          @classmethod     @property     @abstractmethod     def back_limbs(cls):         raise NotImplementedError          @classmethod     @property     def limbs(cls):         return [cls.front_limbs, cls.back_limbs]      class Monkey(AbstractAnimal):     front_limbs = 'arms'     back_limbs = 'legs'  print(Monkey.front_limbs) print(Monkey.back_limbs) print(Monkey.limbs)  I expect/desire: arms legs [arms, legs]  I get: arms legs <bound method ? of <class '__main__.Monkey'>>  I tried looking at previous questions, as this feels pretty basic, but none of them discussed derived class properties (, for example, helped me with abstract properties to begin with).


My Minecraft forge isn't showing up in a new profile

My Minecraft forge isn't showing up as a new profile when I launch the game. I have searched and searched but I could not find a solution. Can anyone help?


From observer point of view an object, which falls into black hole never crosses its horizon. Then how does black hole appears and grows its mass?  Or does any black hole looks (and feels by all other information sources) for us like a void sphere with all mass around its horizon?


Do South Africans need either a UK or Irish visa to travel to Ireland via the UK

South Africans are visa exempt for Ireland for 3 months.  However, if connecting in the UK on the way there, they have to clear UK immigration as Ireland is in the CTA.  The  states the following regarding South Africans going to Ireland via the UK:     You’ll usually need to apply for a UK standard visitor visa;   ;     You might be eligible for ‘transit without visa’ if [...] [you] have the right documents for your destination (for example a visa for that country)   and     You must also have an Irish biometric visa (marked ‘BC’ or ‘BC BIVS’ in the ‘Remarks’ section) and an onward flight ticket to the Republic of Ireland.   The second and third statements overlap but differ: the second statement implies you just need to have the right papers to enter Ireland (for a South African, a passport), while the third statement specifically says you need an Irish visa to connect the UK visa-free.  Judging by the first and third statements combined, it would appear that a South African, despite being visa exempt for Ireland, would need either a UK Standard visitor visa or an Irish visa if connecting in the UK.  Is this the case?


Sounds strange because and indeed it is. I came here to ask for this because I am lost for words, in a negative way. The company I work for, created a new brand name. Let's call the company Foo and the brand name Bar for the example. So I searched for Bar in Google and obviously, the results were related to Bar and Foo. So far so good.  What made me scratch my head, was that there were weird results. My company sells cosmetics. We got some results for Bar that were related to:  leather waller snickers how to find a specific cemetery (??) cell phone screen covers some kinky stuff  Most of the results are like randomurl.tk Some of them didn't exist at that moment. Some others, when I entered, I faced a site that was a bunch of links, with really irrelevant stuff. Some of these came as result showing Foo, others Bar, others Foo Bar. Title, Meta description keywords are totally unrelated. It really looks like a bot that gathers random data along with spam links.  The weirdest part is that some of the urls are the website along with a path that was the exact permalink of the product in our webpage, with a wishlist in the end if I recall right.  So here comes the question: What on earth is this? I suspect that this is a sabbotage attempt since it is really targetted and also follows the exact opposite rules of good SEO. I might be paranoid eventually, but hey, I have to ask.  If someone wants to sabbotage the SEO a webpage, or a brand name, relating the keyword with spam, does Google fall for it? I mean, there is a legit page, with great content, SEO optimized, seen results for some stuff, but when it comes to the cosmetics, it's like we do not exist. Does google relate the website as spam due to other websites that use maliciously the keywords of the company name and brand?  If so, what do you suggest us to do?


how would you recreate the distorted/noise effect that google uses in their new material design illustrations?

I've been trying with brushes but it just doesn't get close to this. Has anybody been able to accomplish this effect? how did you do it?  I'm using photoshop cs6


Consider this code:  \documentclass{article} %\usepackage[latvian]{babel}                                                                                \usepackage{tikz} \usetikzlibrary{angles, quotes} \begin{document} \begin{tikzpicture}   \coordinate(A) at (0, 0);   \coordinate(B) at (1, 1);   \coordinate(C) at (1, 0);   \draw   pic [draw, "$\theta_{p}$" font=\tiny] {angle=A--B--C}; \end{tikzpicture} \end{document}   If I uncomment the line   %\usepackage[latvian]{babel}      I get an error:  (/usr/local/texlive/2018/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg)) ! Missing \endcsname inserted. <to be read again>                     \theta  l.12     "$\theta_{p}$" font=\tiny]                                     {angle=A--B--C};   What is the problem and how to fix it?     The solution proposed by @marmot works in an article. Now, consider the same example in beamer:  \documentclass{beamer} \usepackage[latvian]{babel} \usepackage{tikz} \usetikzlibrary{angles, quotes, babel} \begin{document} \begin{frame}   \begin{tikzpicture}     \coordinate(A) at (0, 0);     \coordinate(B) at (1, 1);     \coordinate(C) at (1, 0);     \draw   pic [draw, "$\theta_{p}$" font=\tiny] {angle=A--B--C};   \end{tikzpicture} \end{frame} \end{document}   We get a similar problem even when using tikz library babel:  (/usr/local/texlive/2018/texmf-dist/tex/latex/translator/translator-theorem-dic tionary-English.dict) (./latvianpres.nav) ! Missing \endcsname inserted. <to be read again>                     \theta  l.13 \end{frame}


Does Ubuntu Automatically Perform Maintenance in the Background?

I know with windows, it likes to go nuts when you're idling, and I was just wondering if there was any sort of similar maintenance tasks that I should be concerned about with Ubuntu.  I know you don't have to worry about fragmentation with Linux (due to ext2/3), and I was just wondering if there was anything other common maintenance tasks that would be pointless for Ubuntu or Linux in general.


Can a British/Mauritius Dual National use a Mauritius passport to go to Paris and Back

I am a British citizen. I was born in Britain, but I have Mauritius passport. I would like to do a return trip to Paris on the Eurostar. Can I use my Mauritius passport?


What determines the number when excluding in Inclusion Exclusion problems

My question might be a bit poorly articulated as I am not sure what I'm asking is actually called.   I am faced with an Exclusion/Inclusion problem that goes like this:   You have $25$ identical cakes that are distrubuted to $10$ children, every child must have atleast $1$ cake but no more than $4$.   After a bit of calculating you wind up with something like this:   $x_1 + x_2 +x_3 + x_4... + x_{10} = 15$ (removing the first argument of 1 cake each).  You wind up with your first number which in this case would be $(24,15)$. After that it seems that you remove 4 from this number $((20,11), (16,7)$ and finally $(12,3))$.   What I don't get is how you determine the number of which do exclude from here. My thought process would be that if each child gets 1 cake each, we then exclude the posibilites of children getting 3 more cakes, which would correspond with the argument of a lower bound of 1 and a highest bound of 4 cakes.   I hope this question makes sense and that someone out there can help me.   Thanks!


Suggest Alternative Exchange Site or Other if Question Not Suitable

Having myself just been through this, it is very frustrating when a questions is closed when the OP has tried to find an alternative exchange site or other site to answer the question.  Instead of moderators jumping straight on the 'hold' button seconds after a question is answered, is there anyway they can maybe suggest an alternative option that might help get the question answered?  After all, lets remember that these sites were not created to satisfy some moderators ego of how many questions they can patrol, instead moderators should help people who are struggling to find the correct forum for their question.


Evaluate $\int_0^\infty\frac {\sin^4(x)} {x^4} \operatorname dx$

How to evaluate the definite integral:  $$ \int \limits_0^\infty\frac {\sin^4(x)} {x^4} \operatorname dx $$  Also provide the reference to various theorems to be to used to evaluate it! Thank you.


I've tried avoiding riding during the rain for years because I didn't want to hurt my bike.  But, tomorrow I really want to ride, rain (most likely) or shine.  What should I do after the ride to ensure my bike remains in good shape?


How do I remove the IOS 7 update on my phone?

How do I remove the Ios 7 update on my phone? I've been having problems with my 4S since it was installed such as not being able to connect to Wifi and unable to send emails.


Existence of holomorphic functions with given conditions

Let $\mathbb{D}= \{ z \in \mathbb{C} : |z| <1\}$.   Which of the following are correct?      1) There exists a holomorphic function $f: \mathbb{D} \to \mathbb{D}$ s.t $f(0)=0$ and $f'(0)=2$.      2) There exists a holomorphic function $f: \mathbb{D} \to \mathbb{D}$ s.t $f(\frac{3}{4})=\frac{3}{4}$ and $f'(\frac{2}{3})=\frac{3}{4}$.      3) There exists a holomorphic function $f: \mathbb{D} \to \mathbb{D}$ s.t $f(\frac{3}{4})=\frac{-3}{4}$ and $f'(\frac{3}{4})=\frac{-3}{4}$.      4) There exists a holomorphic function $f: \mathbb{D} \to \mathbb{D}$ s.t $f(\frac{1}{2})=\frac{-1}{2}$ and $f'(\frac{1}{4})=1$.   1) is not true by Schwarz lemma. How to comment on 2),3) and 4)?  I think 3) is also true as $|f'(\frac{3}{4})| \leq \dfrac{1-|f(\frac{3}{4})|^2}{1-|\frac{3}{4}|^2}$ holds.


I'm working on a video game project with a friend. I use blender and he uses Unity, but we have a problem trying to make a very simple object, a stone. We made a first stone elongated on the x-axis that seems to work, then another elongated on the z-axis. This one doesn't work well and arrives lying on unity. I tried to apply a -90° rotation on the X axis and it didn't work. What can I do?


How can I disable these advertisements in the launcher in 14.10?

This looks like a great launcher (although I can't tell what the name of it is. Please edit this question and title to reflect its real name if you like).  I wanted to run Sublime Text.  How can I remove these advertisements from my launcher search results?  Please Canonical, don't enable this stuff by default. It's awful and unexpected. I was curious and clicked through, and regretted it. Feels gross.    Great answers from 3 years ago over at


So I recently went to the Bannered Mare in Whiterun after learning that not only can you cook with the ingredients given, but there was a cooking pot there. There I met Saadia. No matter what I do, she won't accept my Amulet of Mara, even after I finished her quest and let her live. Is she a marriable character in Skyrim?


I'm looking for a good, consistent and easy way to do a report of sudoers permissions for every user and group on the system. For users, I want the report to include permissions granted via group membership.


Let $\ a_n=\sqrt{n+1}-\sqrt{n}$. I have to show that $\lim_{n\to \infty}a_{n}=0$.     How should I start? Do I have to use any theorem?


How can I activate a Desktop Environment?

Sorry if this is an incredibly stupid question, but I'm new to Linux on a whole & I'm trying hard to get into the flow with it. I recently installed LXDE which as you know is a DE, but I can't find any info on the net on how to activate it. Could anyone please help me?  Thanks in advance guys.


How to pass a dynamic test instance in document classification in java using weka

I am new to weka. Currently I am working on text classification using weka and java. My training data-set has one String attribute and one class attribute.   @RELATION test  @ATTRIBUTE tweet string @ATTRIBUTE class {positive,negative}   I want to create a test instant dynamically and get it classified using Naive-Bayes classifier.      public static void main(String[] args) throws FileNotFoundException, IOException, Exception {      StringToWordVector filter = new StringToWordVector();      //training set     BufferedReader reader = null;     reader = new BufferedReader(new FileReader("D:/suicideTest.arff"));      Instances train = new Instances(reader);     train.setClassIndex(train.numAttributes() -1);     filter.setInputFormat(train);     train = Filter.useFilter(train, filter);      reader.close();        Attribute tweet = new Attribute("tweet");     FastVector classVal = new FastVector(2);     classVal.addElement("positive");     classVal.addElement("negative");       FastVector testAttributes = new FastVector(2);     testAttributes.addElement(tweet);     testAttributes.addElement(classVal);      Instance testcase;     testcase = null;      testcase.setValue(tweet,"Hello my world");     testcase.setValue((Attribute)testAttributes.elementAt(1),"?");      Instances test = null;      test.add(testcase);      test = Filter.useFilter(test, filter);      NaiveBayes nb = new NaiveBayes();     nb.buildClassifier(train);      Evaluation eval = new Evaluation(train);     eval.crossValidateModel(nb, train, 10,new Random(1));       double pred = nb.classifyInstance(test.instance(0));      System.out.println("the result is   "+ pred);  }   I have followed this previous question .  But still I am getting and java.lang.NullPointerException when I tried to set values to test instance,  testcase.setValue(tweet,"Hello my world");


Show that $9+9x+3x^3+6x^4+3x^5+x^6$ is irreducible given one of its roots

Given a polynomial $f(x)=9+9x+3x^3+6x^4+3x^5+x^6$ and one of its roots $\alpha=2^{1/3}+e^{2\pi i/3}$. Show that $f(x)$ is irreducible in $\mathbb Q[x]$.  Eisenstein's criterion fails, it also didn't use the fact that $\alpha$ is a root of $f(x)$. How should I approach? Thanks