I'm using TexMaker to write my thesis with Classic Thesis template, I have just started, but the first cite is not showing up, is like this:  \begin{quote} Called \textbf{classification} or \textbf{inductive} learning in machine learning. This type of learning is analogues to human learning from past experience to gain new knowledge in order to improve our ability to perform real-world tasks. However, since computers do not have ``experiences", machine learning learns from data, which are collected in the past and represent past experiences in some real-world applications.  \end{quote}\cite{webDataMining}   I have the Biblography.bib created with bibDesk on OSX and it has the entry:  @book{webDataMining,     Address = {http://link.springer.com/10.1007/978-3-642-19460-3},     Author = {Liu, Bing},     Date-Added = {2015-01-05 07:57:47 +0000},     Date-Modified = {2015-01-05 08:00:22 +0000},     Edition = {2},     Keywords = {Datamining; Supervised Learning; Support Vector Machines; Web},     Number = {2},     Publisher = {Springer Berlin Heidelberg},     Series = {2},     Title = {Web Data Mining: Exploring Hyperlinks, Contents, and Usage Data},     Volume = {2},     Year = {2011},     Bdsk-File-1 = {YnBsaXN0MDDUAQIDBAUGJCVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3ASAAGGoKgHCBMUFRYaIVUkbnVsbNMJCgsMDxJXTlMua2V5c1pOUy5vYmplY3RzViRjbGFzc6INDoACgAOiEBGABIAFgAdccmVsYXRpdmVQYXRoWWFsaWFzRGF0YV8QHS4uLy4uLy4uLzk3ODM2NDIxOTQ1OTctYzMucGRm0hcLGBlXTlMuZGF0YU8RAbQAAAAAAbQAAgAADE1hY2ludG9zaCBIRAAAAAAAAAAAAAAAAAAAAMwYKNtIKwAAAQ18aRQ5NzgzNjQyMTk0NTk3LWMzLnBkZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG7ovAz9iF/AAAAAAAAAAAAAMAAQAACSAAAAAAAAAAAAAAAAAAAAAHTWFzdGVycwAAEAAIAADMF/6rAAAAEQAIAADP2FvMAAAAAQAQAQ18aQAFs6wABbOfAACR+QACAElNYWNpbnRvc2ggSEQ6VXNlcnM6AHBlZHJvYWxvbnNvOgBEb2N1bWVudHM6AE1hc3RlcnM6ADk3ODM2NDIxOTQ1OTctYzMucGRmAAAOACoAFAA5ADcAOAAzADYANAAyADEAOQA0ADUAOQA3AC0AYwAzAC4AcABkAGYADwAaAAwATQBhAGMAaQBuAHQAbwBzAGgAIABIAEQAEgA4VXNlcnMvcGVkcm9hbG9uc28vRG9jdW1lbnRzL01hc3RlcnMvOTc4MzY0MjE5NDU5Ny1jMy5wZGYAEwABLwAAFQACABL//wAAgAbSGxwdHlokY2xhc3NuYW1lWCRjbGFzc2VzXU5TTXV0YWJsZURhdGGjHR8gVk5TRGF0YVhOU09iamVjdNIbHCIjXE5TRGljdGlvbmFyeaIiIF8QD05TS2V5ZWRBcmNoaXZlctEmJ1Ryb290gAEACAARABoAIwAtADIANwBAAEYATQBVAGAAZwBqAGwAbgBxAHMAdQB3AIQAjgCuALMAuwJzAnUCegKFAo4CnAKgAqcCsAK1AsICxQLXAtoC3wAAAAAAAAIBAAAAAAAAACgAAAAAAAAAAAAAAAAAAALh}}   And finally it has the commands:  \usepackage[square, numbers, comma, sort&compress]{natbib}  % Use the "Natbib" style for the references in the Bibliography   Is not using the new file I created, is using the old one though I have changed the name to Bibliography-1.bib for the old one and mine as Bibliography.bib, any help? Thanks.


Is the Doctor Who episode 'Blink' the first use of the phrase "timey-wimey"?

Was the phrase "timey-wimey" (or time-y wimey) used in Doctor Who, or elsewhere,  before it appeared in the script of the 2007 episode "Blink"?


I am new to ArcGIS and trying a few things..   I'm trying to read shapefile (which is supplied as an input) using C# and I want to generate a PDF file which contains underlying metadata information (similar to the Identify tool) ?


VirtualBox 6.0 runs fine up to and including kernel versions 4.4.0-142 but versions 143 and 144 broke it. The vboxdrv kernel module does not get installed and I can't work around it by creating a "fake" /dev/vboxdrv.  How can I fix this. I'm still running kernel wersion 142.


Does hiding some content with CSS hurt SEO when "Read more" is used to show the rest?

I have content that is hidden by these css  height: 220px; overflow: hidden;   which content height is problably about 1000px, so no display: none is used on the page. I hide it because below that are users reviews and for users it is probably better solutions, but what for search engines like google ? Do they will rank my content normally as it would be visible ? thank you   PS: here is the link  if you will click on read more you will see content, I hope that it will be ok with indexing this content


In every machine learning discussion, the term "model" is used to describe how the prediction is made. Does this "model" refer to the learning algorithm used? What exactly is a model?


Still very new to complex variables and complex analysis so apologies for the probably very simple question.  What is the value(s) of this:  $$(1+i)^i$$ How to go about it?  Also I wanted to confirm that for $$\log(-i)$$ I got $$\ln1 + i\left(\frac{3\pi}{2}+2\pi k\right), k =....-1, 0, 1, 2.... $$.  Thanks again and any pointing in the right direction will also be greatly appreciated.


A line from William Golding's The Lord of the Flies:     All round him the long scar smashed into the jungle was a bath of heat.   Is it just me or does the sentence seem grammatically off?


String a ="abc"; return (a.substring(1)=="bc");   I tried to print the result of         a.substring(1)  which is also         "bc"  Why the result is false? I think it's true.


I am independently studying calculus using MIT's publicly available materials on OCW.  One of the Final Exam practice question is the following:  Suppose the series $\sum_{n=1}^{\infty}a_n$ converges absolutely.  Prove $\sum_{n=1}^{\infty}(e^{a_n} - 1)$ converges absolutely.  Since the rest of the practice problems have been more or less trivial, I suspect that I am missing something obvious, but I am not sure what.    A hint -- the lighter the better, please! -- would be most welcome...


I am using  \documentclass[a0,portrait]{a0poster}   and in the following part I would like to give name1 and name2 the same Affiliation and name3 another Affiliation.  \begin{minipage}[b]{0.75\linewidth} \veryHuge \color{NavyBlue} \textbf{title} \color{Black}\\[2cm] % Title \huge \textbf{name1\thanks{aa}, name2\thanks{aa}, name3\thanks{bb} }\\[0.1cm] % Author(s) \huge Department of xxx, University of xxx\\[0.4cm] % University/organization \end{minipage}   Unfortunately, there only appears the superscript numbers 1, 2 and 3, respectively, over the names but not what I wrote in the paratheses in the thanks-commands.  What can I do?


How do I split a forest tree into two trees with proper vertical alignment?

\documentclass[oneside,12pt]{article} \usepackage{geometry} \usepackage{microtype} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern}  \usepackage{enumitem} \setlist[enumerate,1]{label=\bfseries\Alph*,align=left,leftmargin=*,   labelsep=1.5em} \setlist[enumerate,2]{label=\arabic*.,labelindent=1em,labelsep=1.5em,   leftmargin=*}  \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsthm} \theoremstyle{definition} \newtheorem*{sol}{Solution}  \usepackage{forest} \forestset{   ass/.append style={     before computing xy={l=\baselineskip},     no edge   },   prooftree/.style={     for tree={       child anchor=north,       parent anchor=south     }   } }  \begin{document} \subsection*{Exercises 29} \begin{enumerate} \item Use QL trees to evaluate the entailment claims (1) to (10) in Exercises   28A.   \begin{enumerate}   \item $\forall x(Fx\supset Gx)\vDash\forall x(Gx\supset Fx)$      \begin{forest}       prooftree       [$\forall x(Fx\supset Gx)$       [$\neg\forall x(Gx\supset Fx)\checkmark$,ass       [$\exists x\neg(Gx\supset Fx)\checkmark$,ass       [$\neg(Ga\supset Fa)\checkmark$,ass       [$Ga$,ass       [$\neg Fa$,ass       [$(Fa\supset Ga)\checkmark$,ass       [$\neg Fa$] [$Ga$]]]]]]]]     \end{forest}      $\neg Fa$ and $Ga$ make the premisses and the negation of conclusion true.     Thus, the entailment is invalid.   \item $\forall x(Fx\supset Gx)\vDash\forall x(\neg Gx\supset\neg Fx)$      \begin{forest}       prooftree       [$\forall x(Fx\supset Gx)$       [$\neg\forall x(\neg Gx\supset\neg Fx)\checkmark$,ass       [$\exists x\neg(\neg Gx\supset\neg Fx)\checkmark$,ass       [$\neg(\neg Ga\supset\neg Fa)\checkmark$,ass       [$\neg Ga$,ass       [$\neg\neg Fa$,ass       [$(Fa\supset Ga)\checkmark$,ass       [$\neg Fa$ [*,ass]] [$Ga$ [*,ass]]]]]]]]]     \end{forest}      Since the tree closes, the entailment is valid.   \item $\forall x\exists yLxy\vDash\forall y\exists xLyx$      \begin{forest}       prooftree       [$\forall x\exists yLxy$       [$\neg\forall y\exists xLyx\checkmark$,ass       [$\exists y\neg\exists xLyx\checkmark$,ass       [$\neg\exists xLax\checkmark$,ass       [$\forall x\neg Lax$,ass       [$\exists yLay\checkmark$,ass       [$Lab$,ass]]]]]]]     \end{forest}      \begin{forest}       prooftree       [$\neg Lab$,ass [*,ass]]     \end{forest}   \item $\forall x((Fx\wedge Gx)\supset Hx)\vDash\forall     x(Fx\supset(Gx\supset Hx))$   \item $(\forall xFx\vee\forall xGx)\vDash\forall(Fx\vee Gx)$   \item $\forall x(Fx\supset Gx),\forall x(\neg Gx\supset Hx)\vDash     \forall x(Fx\supset\neg Hx)$   \item $\exists x(Fx\wedge Gx),\forall x(\neg Hx\supset\neg Gx)\vDash     \exists x(Fx\wedge Hx)$   \item $\forall x\exists y(Fy\supset Gx)\vDash\forall y\exists x(Gx\supset     Fy)$   \item $\forall x\forall y(Lxy\supset Lyx)\vDash\forall xLxx$   \item $\forall x(\exists yLxy\supset\forall zLzx)\vDash\forall x\forall y     (Lxy\supset Lyx)$   \end{enumerate} \end{enumerate} \end{document}   Usually, I have to manually split a forest tree into two to emulate page breaking in a forest tree. However, the second tree doesn't vertically align with the first as in the picture below. How can I vertically align them together? @cfr


I understand that for resistors in series we need to add R for each resistor to get the equivalent resistance, where R is resistance. I also understand the mathematical manipulations that show that for resistors in parallel we need to add the 1/R for each resistor to get the equivalent resistance. However I have a couple of questions that have to do with the physical interpretation of the mathematical manipulations involved.   First, I am trying to understand why in the case of parallel resistors we have to add 1/R's instead of adding R's as in the case of resistors in series i.e. could it be thought that the current in the wire is like a sort of water flow in the pipe that has two horizontal parallel pipes positioned one on top of the other and in between connected by a number of vertical pipes that have a tap each that could be adjusted to represent different resistances. Then at the top of each vertical pipe the water pressure P exists and at the bottom the pressure will be reduced by P*R.   For example, suppose we have three vertical pipes, so then the pressure at the bottom of each (after the tap) is P*R for the total of 3*P*R so why is the equivalent resistance not 3*R*P but 1/R = (1/R1 + 1/R2 + 1/R3) and how can I be able to visualize this relation?


I recently came across a protected question on Android Enthusiasts()    and came to know that assosiated bonus reputations are not considered as actual reps to answer a protected question from .   But I have already earned more than 10 points. I had 130+ reps few days back. I had 5 upvotes on a question, placed a bounty of 50 reps and I had 80+reps and got 10 points from one upvote of 5 answer, and edited 8 posts(16reps). But it just recognizes me as if I just scored 2 reps(100bonus + 2). So my total reps including the bonus is 152 and my current rep is 102(50 for bounty). But actually I already got more than 10 reps from doing all the above things. Is it that if once a bonus is rewarded it's not considered as reputation as trusted user. I'm confused with the concept, could anyone explain how this works?  So why can't I answer the protected question if I had already scored more than 10 reps?


Find Stored procedure which are using temp tables

We have got nearly 700 plus stored procedures with nearly 50% uses #tmp tables in their queries.   Need to write query to search through all procedures, and list procedures which uses tmp tables.  Can this be done by querying some system tables where procedure information is stored.


I have trouble seeing that $C/c \cong (c/(C^{op}))^{op}$. This is what I have managed so far:    What am I doing wrong here? It seems to me that to get to $(c/(C^{op}))^{op}$, would have to reverse the $h$, and then it no longer looks like $C/c$    (Edit)  This is just to sum up what my mistake was, in case others fall in the same trap: What I missed was the fact, that (see diagram) in $c/C^{op}$, not only $f$ and $g$ get reversed (ie. $f \rightarrow f^{op}$ etc), but $h$ too becomes $h^{op}$. Why did I not see that? Well, my thinking was along the lines "$C = \cdot \xrightarrow{f} \cdot$", so "$C^{op} = \cdot \xrightarrow{f^{op}} \cdot$", and to contruct the slice category, you create morphisms, let's call them $h$ ..., - but of course, those morphisms are between objects in the categories that are getting sliced (if that's the right term), so the same relationship applies here: $h \rightarrow h^{op}$.  Thanks for kindly helping me see this!


I sent my manuscript to a journal which they accepted for publication without peer review. They asked for a 1000 euro service fee. I requested a withdrawal instead,  to which they replied asking whether I was interested in free publication to their other journal as part of their 'social responsibility policy'. My question is: does this sound like a predatory journal? Will they be able to snatch my work? (First time researcher here).


How to resize an ext4 encrypted home partition?

Which is the best way in order to resize an encrypted (ecryptfs) ext4 home partition ?  Pros nad Cons of each method are greatly appreciated.  $ fdisk -l Disk /dev/sda: 256.1 GB, 256060514304 bytes 255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *          63    41945714    20972826    7  HPFS/NTFS/exFAT /dev/sda2       207007744   211206554     2099405+  82  Linux swap / Solaris /dev/sda3        42946560    82008063    19530752   83  Linux /dev/sda4        82008064   207007743    62499840   83  Linux


Particle effect showing only on one side of mirrored object

I'm trying to create a fur particle effect on sonic the hedgehog, and I'm using weight paints to keep it in the areas I want.   Problem: I can only get the hair effect to show up on certain random areas on model, and only on one side.  I'm using a mirror effect to keep model symmetrical, but hair only shows on one side of the mirror.  I'm new used Blender, so I don't know what all the settings for the particle effects do.  Whats going on and how do I fix it?


I'm trying to make a script that adds motion trackers every n frames and tracks them but I can't get the detect_features and track_markers operators to run on a specified frame. My approach is to jump the time cursor to the next "step" of n frames using any way I know to update the frame, namely: bpy.context.scene.frame_current bpy.context.scene.frame_set bpy.ops.clip.change_frame  But for some reason, the tracking operators ignore all of these commands and always operate on the current frame instead (the one you're on when you press the Run button). Here's a script that shows the problem. You can paste it in Blender’s text editor and run it, provided you have a Movie Clip Editor area with a clip open in it: import bpy C = bpy.context ctx = C.copy() for area in C.screen.areas:     if area.type == 'CLIP_EDITOR':         ctx['area'] = area  for step in range(3) :     currFrame = (step*20)+1     C.scene.frame_current = currFrame     C.scene.frame_set(currFrame)     bpy.ops.clip.change_frame (ctx, frame = currFrame)     bpy.ops.clip.detect_features(ctx)     bpy.ops.clip.track_markers(ctx, backwards = False, sequence = False)  Notice how after running it, all markers are tracked at the same frame and if you grab the currently selected markers with G, it will reveal the previously added markers underneath, at the same positions. EDIT: I added a . EDIT 2: I also  with an interface for easier automated tracking (under development). Feel free to ask me anything about it.


A client of mine purchased a GoDaddy "dedicated" server, which is bad enough on it's own. But they are providing a malfunctioning product, and refuse to fix it.   When CentOS 7 is running under a Virtuozzo or OpenVZ virtual container, without netfilter full, iptables refuses to boot up. Journalctl -xe states iptables: Applying firewall rules: iptables-restore: line 14 failed Which if you dig further indicates that the ebtables module is not running, stating The kernel doesn't support the ebtables 'nat' table.  So in short, iptables doesn't work, cannot be made operable, and the hosting environment cannot be changed to support it.   My question is, are there any alternative non iptables based firewall software that can be used as a replacement? Right now the ports cannot be blocked, and services cannot be restricted to an ip whitelist for safety. It's wide open.   Ref:  See also(godaddy "vds"):


Software for drawing LaTeX flowcharts and control system diagrams

Tell me the full program software for drawing LaTeX diagrams and control systems schemes. For example:  I know TeXample and Overleaf, but I own it badly, because writing these schemes in the programming language for a long time and is enjoyable, but I want something in the type of Visio, naturally with the possibilities of LaTeX on editing and formatting formulas and plots. I would be grateful for the advice and help.


Problem setting up SMB share on Lubuntu 16.10

I'm running Lubuntu 16.10 on a machine which will mainly act as a file server. I want to create some SMB shares, which I was led to believe would be simple (!)....so having not found anything in the GUI I launched shares-admin from the command line. I got:  Sharing services are not installed - Install Unix networks support (NFS) - Install Windows networks support (SMB)  I clicked the option to install both, then got: Could not install package GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any service files   Any ideas?   I REALLY, REALLY want to use Linux for this server, but every time I come back to it I find myself losing hours trying to do things that are 2 minute jobs on Windows :0(


When trying to publish questions on Stack Exchange sites I am seeing the follow behavior after entering the question tags and pressing Enter. The Post Question button is disabled and not clickable. If I press Enter one more time, the question is published. But the behavior is buggy and inconsistent . Sometimes it shows a popup asking if I want to discard the draft, and since I was used to pressing enter twice, I lose the content that I entered.     As per   Hitting Enter on the tag box should take you to the Review Question step instead of submitting the post. Thanks for the report!  But currently the button is disabled or the discard draft appears and content is lost.


I have developed a portal and we have integrated with Oracle E-Business Suite. In this project we have complex form requirements so I developed custom aspx forms mainly master-detail forms and lots of complex code behind code due to its nature which seemed not possible in OOTB as we have standard edition and don't have INFOPATH.  we have developed visual webparts (custom aspx forms) and deployed as farm solution. Now I need to learn Sandbox thingy. Keeping my requirement in mind should I go for Sandbox from now on and ive heard in sandbox you cannot use code behind. So based on my requirement of code behind what should I do.


I am not completely proficient when it comes to Ubuntu...yet.  When installing Ubuntu 12, when it comes to drive partition it offers to run it alongside Windows, in 13.0.4, it offers to delete all other OS's, or Encrypt the new Ubuntu installation for security, or Use LVM with the new Ubuntu installation, and lastly, Something Else.  Something else  just confuses me.  Any tutorials or ideas?  thanks.


Sebastian (arrive) ... at Susan's house a little before 9:00 PM, but she (be, not) ... there. She (study, at the library) ... for her final examination in French.   Could you explain, please, what and why verb tenses should be used in the above sentences? If it possible tell me please what 'use' from the following site determines verb tense:


The map $\phi: \mathbb{Z} \to \mathbb{Z}$ defined by $\phi (n) = n + 1$ for $n \in \mathbb{Z}$ is one to one and onto $\mathbb{Z}$. Give the definition of a binary operation $*$ on $\mathbb{Z}$ such that $\phi$ is an isomorphism mapping   a) $\langle\mathbb{Z},+\rangle$ onto $\langle\mathbb{Z}, *\rangle$    I absolutely do not understand this. What is the solution doing? Why are we starting out with $m*n$? And why do we have $\phi(m-1) * \phi(n-1)$?


Set mouse or keyboard button to simulate left click and hold or rapid left click repeating in Windows?

Does anyone know a way to configure Windows 7 or use third party software to do this? I would like to click my middle mouse button and have it tell Windows to left click and hold until I click the middle mouse button again. A keyboard key would be fine as well.   Some games and apps have me holding down the left mouse button for a long time and I would like to reduce the stress on my mouse hand. Also, I would like to do a similar thing but have it repeatedly click the left mouse button automatically if possible.  If none of that is possible, how about temporalily setting a keyboard key to achieve a left mouse button emulation?


Exclude root drive selection from JFileChooser in Swing

I have a requirement where a user browse through JFileChooser and selects a folder.  But while doing this selection the user should not be allowed to select root drive. By "Root Drive" I mean C: or D: etc. in Windows and / in UNIX/Linux.  I think here I can not use filters for JFileChooser as its job is to browse through the files and hence it does not make any sense to filter the drive itself.  Please suggest a proper solution which may work on all Windows/Linux file System.


Taylor series for unitary operator in Weinberg

On page 54 of Weinberg's QFT I, he says that an element $T(\theta)$ of a connected Lie group can be represented by a unitary operator $U(T(\theta))$ acting on the physical Hilbert space.  Near the identity, he says that  $$U(T(\theta)) = 1 + i\theta^a t_a + \frac{1}{2}\theta^a\theta^bt_{ab} + \ldots. \tag{2.2.17}$$  Weinberg then states that $t_a$, $t_{ab}$, ... are Hermitian.  I can see why $t_a$ must be by expanding to order $\mathcal{O}(\theta)$ and invoking unitarity.  However, expanding to $\mathcal{O}(\theta^2)$ gives  $$t_at_b = \frac{1}{2}(t_{ab} + t^\dagger_{ab})\tag{2},$$  so it seems the same reasoning cannot be used to show that $t_{ab}$ is Hermitian.  Why, then, is it?


A valid two-electron wavefunction that is antisymmetric but not entangled. Is it possible?

Is there a valid antisymmetrized two-electron wavefunction which is not an entangled state i.e. writable as a product of a state of the first particle and a state of the second particle? If the answer is YES, an example will be sufficient.


I've been studying encryption on a hobby basis, and wanted to know if I got this basic cypher construction right (this is another experiment, see the AES ECB experiment thread earlier).  Encryption:   XOR plain text block, initialization vector and counter together. AES resulting block. Increment counter. Goto 1 until all plain text blocks are done.   Authentication tag:   Sha256 cipher text. AES resulting hash using authentication key.


Center a both vertical and horizontal scalable div in the middle of any browser dimension

I'm trying to put a rounded div in the centre of any size page and make it responsive both vertically and horizontally when resizing the browser.  So far, I've managed to put the div in the middle of a page but it is only horizontally responsive. I need to make it also vertically responsive if possible.  Could you please suggest something?  Here is the code and fiddle

           Login
         <form class="login-box__form-usr-details" action="/somesearchaction" name="search" method="get">           Enter your email            <input title="Enter user email" placeholder="Enter your email" name="email" id="user-email" type="text"></input>            Enter your password            <input title="Enter user password" placeholder="Enter your password" name="password" id="user-password" type="text"></input>            Forgot password?           Login         </form>

    #login{     background: red;      .login-box{         background: green;         width: 60%;         height: 60%;         overflow: auto;         margin: auto;         position: fixed;         top: 0;         left: 0;         bottom: 0;         right: 0;         z-index: 9999;         border-radius: 50%;          &__header{                 font-size: 20px         }          &__form-usr-details{                 font-size:25px;         }     } }


hard voting, soft voting in ensemble based methods

I'm reading . Then I'm not able to figure out the difference between hard voting and soft voting in context to ensemble based methods.  I quote descriptions of them from the book. The first two images from the top are description for hard voting, and last one is for soft voting.        In my view hard voting is majority decision, but I don't understand soft voting and the reason why soft voting is better than hard voting. Would anyone teach me these?


I've recently installed IntelliJ on my Ubuntu system and realized that the font I want to normally use Monaco doesn't render properly in IntelliJ. So, the problem was slightly fixed from  post however the editor would still not render properly with Monaco;  This is currently the state of my IDE:


Meaning of HTML  element with href="javascript:;"

I occasionally see an HTML  element whose href attribute is a URI that has just javascript for the scheme, and an empty statement ; for the path.   What is the purpose of this? Is it the same as href="javascript:void(0);"? Is it the same as having no href attribute at all? Is it the same as having no  element at all?   Update  The precise content that I am seeing is . So is this just a way of controlling the cursor graphic?


Why don't English nouns have grammatical gender?

English nouns — other than those with natural gender, e.g. people or animals — do not generally have , and so are referred to as 'it' rather than 'he' or 'she'.  However, modern English has its roots in  and , both of which used grammatical gender for their nouns. In addition, other modern languages related to these continue to use grammatical gender today.  So, how come English doesn't?


What exactly is "base ISO" and how do I find what is base ISO on my camera?

If I understood correctly, base ISO is in full stop steps from the lowest possible ISO setting on my camera. For example if the lowest setting on my camera is ISO 100, than the following table would be base ISO:    100, 200, 400, 800, 1600, 3200, 6400   While steps in between like   125, 160, 250, 320, 500, 640, 1000, 1300, 2000, 2500, 4000, 5000   would be third-stop "pulled" values, which result more noise than perhaps higher base ISO values (for example 2500 is worse than 3200).   Did I get this right or missed by a mile, what did I miss? Do non-base ISO values generate more noise than next higher base-value ISO stop? How do I find what are my base-value ISO stops (is it the lowest ISO value multiplied by 2n)?


Is time travel possible? Is it possible to go back in time?

I read somewhere that according to relativity, it is possible - involving black holes and other stuff - to jump into the past. Is it possible for anything to go back in time either continuously or by jumping?


I made a light beam, very similar to this: , but for some reason I can't render it. If I switch to rendered view mode, I see everything in place, but when I render it, there's nothing in place of the beam, except for some lighter and yellower rain drops. on the top half, you can see 3d rendered view mode, on the bottom half, you can see actual rendered image. I have checked in outliner, that everything should render (which is also visible from the image). Here is my nodesetup:  I am using cycles render.


filling a list from objects in another list

iam trying to fill a list from type attendance with a list of students but i keep getting null pointer exception even though the students list is not empty but the attendance is empty ad the attendance has a property of student as following


Can regular people make personal protection devices which are effective?

Every hospital I know of has a serious shortage of masks, not just N95 masks, but even just OR masks. The CDC just recommended a bandana if you don't have a mask.  I was wondering if people can make facemasks which are better at filtering air than OR masks.  My kids (health care providers) are not being given N95 masks unless there is a dire need (e.g. to intubate patients). Even OR mask usage is being unreasonably restricted.  I do some sewing, and I was wondering  what I can use to make launderable facemasks. I was thinking of a fabric sandwich, better face fitting than OR masks, in which some filter could be inserted into a clean envelope. The metal nose "mold" could be removed, cleaned, and reinserted into a slot for that purpose.  The problem is the filter.   Would a high MERV home VAC filter be better than an OR mask? The filter could be taken apart and the fabric cut to size to slip into the fabric sandwich.  I did read that in the Pacific Northwest, a hospital asked for community volunteers to  but the products they provided were medical grade material that is not available commercially.  I was going to use cotton for the envelope, but would that retain too much moisture? I also have a polyester/spandex knit (used in leggings, athletic sportswear, etc.) in abundance.   Ideas?


git-svn: what's the equivalent to `svn switch --relocate`?

An svn repository I'm mirroring through git-svn has changed URL.  In vanilla svn you'd just do svn switch --relocate old_url_base new_url_base.  How can I do this using git-svn?   Simply changing the svn url in the config file fails.


I have a usb soundcard Edirol UA-1EX and a computer with dual boot (windows 10 and Ubuntu 16.10) and I can't make the Ubuntu recognize the usb soundcard.  aplay -l      **** Lista de Dispositivos PLAYBACK Hardware **** placa 0: SB [HDA ATI SB], dispositivo 0: ALC892 Analog [ALC892 Analog]   Dispositivo secundário: 1/1   Dispositivo secundário #0: subdevice #0 placa 0: SB [HDA ATI SB], dispositivo 1: ALC892 Digital [ALC892 Digital]   Dispositivo secundário: 1/1   Dispositivo secundário #0: subdevice #0 placa 1: NVidia [HDA NVidia], dispositivo 3: HDMI 0 [HDMI 0]   Dispositivo secundário: 1/1   Dispositivo secundário #0: subdevice #0 placa 1: NVidia [HDA NVidia], dispositivo 7: HDMI 1 [HDMI 1]   Dispositivo secundário: 1/1   Dispositivo secundário #0: subdevice #0 placa 1: NVidia [HDA NVidia], dispositivo 8: HDMI 2 [HDMI 2]   Dispositivo secundário: 1/1   Dispositivo secundário #0: subdevice #0 placa 1: NVidia [HDA NVidia], dispositivo 9: HDMI 3 [HDMI 3]   Dispositivo secundário: 1/1   Dispositivo secundário #0: subdevice #0   lspci -v | grep -A7 -i "audio"  00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)     Subsystem: Gigabyte Technology Co., Ltd SBx00 Azalia (Intel HDA)     Flags: bus master, slow devsel, latency 32, IRQ 16     Memory at fe300000 (64-bit, non-prefetchable) [size=16K]     Capabilities: <access denied>     Kernel driver in use: snd_hda_intel     Kernel modules: snd_hda_intel  -- 01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)     Subsystem: Gigabyte Technology Co., Ltd Device 36d1     Flags: bus master, fast devsel, latency 0, IRQ 32     Memory at fe080000 (32-bit, non-prefetchable) [size=16K]     Capabilities: <access denied>     Kernel driver in use: snd_hda_intel     Kernel modules: snd_hda_intel   My USB is not listed at all! Someone knows what is wrong?  EDIT: I have found the solution here:  I move the soundcard from USB 3 to USB 2 and now it works!


Evaluate the integral $\int_0^{\infty} \lfloor x \rfloor e^{-x}\mathrm dx$

I'd like some help with the following integral:  $$\int_0^\infty \lfloor x \rfloor e^{-x}\mathrm dx .$$  Thanks.


Minimum amount of data storage required for keeping track of variance?

Let's say I have n elements to begin with, and over time more elements are added in.  What's the minimum amount of data I have to store in order to be able to continuously update the variance, and how would I do it (assuming I can get away with purely aggregate data such as number of elements, current mean, and current variance)?  Aggregate data would be preferable to individual element data, although if the latter is unavoidable then I guess I will not have a choice!


How to make open programs in Unity launcher appear at the top of the list

I have lots of program launchers in Unity, using the whole height of the screen on the left side (as by default). If I open a program, which is NOT in the launcher, its icon will be located at the bottom side of the launcher list, next to the rubbish bin. So, some programs with open windows (that I'm actually using) will be a bit hidden downside. But I would like to have the running applications on the top, for better reach. That is because sometimes I work on ten documents at the same time, for which it is not very comfortable to use the switcher (what I do, so this not the solution).  Is there a way to customize the location where starting programs appear in the launcher?  I DON'T mean to just drag and drop that icons to a new location, as I want them to appear only during the time that I am using that program (if I drag them to a new location, they will stay there afterwards).    Still no answer to this question, but as I think it would be a very important feature for the Unity launcher, to have all the open programs on the top of the launcher (next to the dash), I will add some information.  There is a new unity-teak-tool in the repositories. I installed and studied it, but couldn't find a way to specify, where open programs should appear in the launcher list.


On the number of countable models of complete theories of models of ZFC

Fix the language of set theory $\mathcal{L}=\{\in\}$. Let $\langle M,\in\rangle$ be a set or proper class model of ZFC (e.g. $M$ could be $L$, $HOD$, $V_{\kappa}$ for some inaccessible cardinal $\kappa$, etc.) consider the complete theory of this model in the language $\mathcal{L}$ that is $T_{M}:=Th(\langle M,\in\rangle)=\{\sigma\in\mathcal{L}~|~\langle M,\in\rangle\models \sigma\}$. My questions are about the possible number of countable models of this complete theory up to isomorphism $I(T_{M},\aleph_0)$ when $M$ varies over different models of $ZFC$.  Question 1: What are $I(T_{L},\aleph_0)$ and $I(T_{HOD},\aleph_0)$, $I(T_{V_{\kappa}},\aleph_0)$ (for $\kappa$ inaccessible)?  Question 2: Is there a set or proper class model $M$ of ZFC such that $I(T_{M},\aleph_0)=\lambda$ for each cardinal $\lambda\in\{1,3,4,\cdots,\aleph_{0},\aleph_1,2^{\aleph_{0}}\}$?


What exactly is fire, why isn't it defined by the three states of matter, and does it have mass, weight?


What do I do if I don't know my previous visa number for the Indian e-Tourist visa application?

I visited India with my family three years ago. Since then, four of the five of us have received new passports, and we don't have all of the old ones. The Indian e-Tourist visa application asks whether you have ever been to India, and if so, what your previous visa number was. How can I fill out this form, since I don't have the previous visa numbers for all of my family?  Edit: This is not a unique situation by any stretch, but India is its own country, and the electronic tourist visa application presents its own problems, since it's an online form (and not the most user-friendly online form). So I think a more specific question is warranted. When I was trying to figure this out, the various “Just explain the situation” answers available elsewhere online did not set my mind at ease.


Found a lot of SSH login attempts in auth.log

I'm running my own DigitalOcean Droplet on Ubuntu. Today, I found that my SFTP connection to said Droplet was a little laggy when doing work on it, so I checked /var/log/auth.log files to see what was happening.  I saw that for the past 7 days or so, I've had a huge number failed SSH logins from a variety of IP addresses (like once per minute). They look like dictionary attacks mostly, since there are a lot of random usernames used.  I had a basic IPTABLES configuration that blocks consecutive SSH connections beforehand, and I've augmented my security since by disallowing root logins and changing my SSH port from 22. I've also changed my login passwords to my privileged accounts.    I don't know how long I've been under this dictionary attack, and my logs don't show any suspicious successful logins. My question is, should I be concerned with potential successful login attempts by this dictionary attack? I'm worried these are bots who might've installed malware on a successful login attempt via root.


Voltage drop along an idealized resistance-free wire in a circuit?

If you connected the positive terminal of a battery to the negative terminal to a battery with a wire with (hypothetically) no resistance, and are asked to give the voltage drop of a segment of wire in the circuit, how would you determine this?


What does "awaiting EIC decision" mean when it occurs immediately after "awaiting reviewer selection"?

I submitted a paper to a top journal last week. At first, the status showed "awaiting AE recommendation". A few days ago, it was changed to "awaiting reviewer selection". So I thought it passed the associate editor's evaluation and now they were looking for reviewers. Even yesterday the status was still "awaiting reviewer selection", but today it was changed to "awaiting EIC decision". What does this mean? Does this mean that the AE changed his/her mind and recommended to desk reject my paper and put forth his/her recommendation to the editor?


bash: execute command inside bash parameter expansion

Is it possible, to turn this into a one-liner with a nested expression? simpler put: stuffing the first line into the second. scriptPath="$(readlink -f ${BASH_SOURCE[0]})" containerDir=${scriptPath%/*}  If it had to be , that's fine, too. Although I would prefer without.


$x^{13}+x+90$ is divisible by $x^2-x+a$ $(a\in\mathbb N)$. Find $a$


I'm trying to download Heroku for the first time onto my Ubuntu 16.04 and I'm following the Heroku website's instructions exactly by the following:   sudo add-apt-repository "deb https://cli-assets.heroku.com/branches/stable/apt ./" curl -L https://cli-assets.heroku.com/apt/release.key | sudo apt-key add - sudo apt-get update sudo apt-get install heroku   But every time I get to sudo apt-get update I receive the following errors:  W: the repository 'http:''cli-assets.heroku.com/branches/stable/apt ./ Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.  N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://cli-assets.heroku.com/branches/stable/apt/./Packages 403 Forbidden [IP: 52.84.3.182 80] E: Some index files failed to download. They have been ignore, or old ones used instead. W: Duplicate sources.list entry https://cli-assets.heroku.com/branches/stable/apt ./Release   Suggestions?


i have not created the array name then why this C program is working.`  #include<stdio.h> int main() {   printf("%c",7["sundaram"]);   return 0; }


Why are there unwanted white lines appearing in a PDF print proof?

I designed a christmas card and I normally print it on vista print.  When I ask for a print proof the outlines show. They don’t show when I print it at home.  Why are there unwanted white lines appearing in this PDF print proof and how can I solve this problem?


I'm in the US visiting family (from Ireland). My 90 days comes to an end in about a week. Can I cross the border (Tijuana), have lunch and return - getting my passport stamped, letting me stay for another 90 days?


Why does negative energy imply that a system is bounded?

I wanted to know why "negative energy" of a two particle system implies  that it is bounded. That is what happens in the case of a hydrogen atom; my textbooks say so, but they do not give any reason for that and simply state it. I tried looking on Wikipedia but it offers the "principle of minimum potential energy" as a reason. Is there any other reason for this?


Easiest way to create vintage grane/corners/angles in Ai

I am looking for an easy way to create in Illustrator vintage style corners like on the picture provided.  I have some technical ideas, but they are time consuming, there should be an easier way I believe.


Is this a gamma distribution. What are the parameters

Suppose that $T_1,…,T_{10}$ are iid $Exp(λ)$ and that $S=\sum_{i=1}^{10}Ti$. In this case, S is a gamma distribution right? How would you write the parameters for this Gamma?


What are these special names, and how do they work?

On Windows 10, if I create a folder called whatever.{ED7BA470-8E54-465E-825C-99712043E01C} it opens a folder with every Control Panel command.  If I enter the location shell:::{ED7BA470-8E54-465E-825C-99712043E01C} in the Windows Explorer address bar, I enter the same place. What exactly is this? Are there any other "shortcuts" like this?  I have also found out {4234d49b-0245-4df3-B780-3893943456e1} opens an "Applications" folder.  Note: I don't mean to create a custom Control Panel, I just want further information about these type of shell "links".


public class Test {     public static void main (String [] args) {         TestMathRandom x = new Test();          StringBuffer a = new StringBuffer ("A");          StringBuffer b = new StringBuffer ("B");          x.operate (a,b);          System.out.println(a + "," +b);     }      void operate (StringBuffer x, StringBuffer y) {          x.append(y);          y = x;      } }   Ans is AB,B Please tell me why value of b is unchanged.


Removing white border of polygons using QGIS?

I use the graduated color style for the polygons. But there are white borders between polygons. I tried to set Border: transparant, Border stype: No pen, Border width: 0. It did not work.  I found a similar question  It is about plotting the graduated points.  My current solution is setting the same border color with the polygon manually. But it needs a lot of time. Does anyone know a better solution?


If I can't use an array for generics or declare a new object of generic type, how do I handle generics elements?

I have this assignment where I'm supposed to use a custom array list. I am quite confused about lists and generics. In the template for our code we're given "private myObj[] objects;", which is from the class myObj.java which only contains attribute of type T called "data". "private myObj[] objects;" looks a lot like an array to me. I thought generics didn't get along with arrays.  I tried casting to be able to create enough "space" for 10 elements of type T(generic), but I couldn't do this without compiler errors which only go away when I comment out the casting of an array of type myObj of size 10 as "myObj[]". Help me please. My TA's have not answered my questions.


How can I make my login page susceptible to SQL injections?

I'm trying to understand how SQL injections fully work in order to feed this information back to some of my students. I have created a simple webpage with a small SQL database attached and would like my students to attempt to "break into" the site and get the token on the welcome page.   However, the resource I used (w3schools) to create the login page only showed me a secure webpage, and I'm not sure how to unravel it to make the login page susceptible to an SQL injection.  So far, the code I have for the webpage is below (stripped to only the essential part of the HTML!)   <?php    include("conf.php");    session_start();        if($_SERVER["REQUEST_METHOD"] == "POST") {             $myusername = mysqli_real_escape_string($db,$_POST['username']);  //get username and password from form       $mypassword = mysqli_real_escape_string($db,$_POST['password']);               $sql = "SELECT * FROM admin WHERE username = '$myusername' and password = '$mypassword'";  //sql query - IF username AND password match what is in the database        $result = mysqli_query($db,$sql);       $row = mysqli_fetch_array($result,MYSQLI_ASSOC);       $active = $row['active'];              $count = mysqli_num_rows($result); //return the number of results - there should only be one!               if($count == 1) {  //if there was 1 result, load the welcome page          $_SESSION['username'] = $myusername;                    header("location: welcome.php");       }else {  //otherwise show an error          $error = "Your Login Name or Password is invalid";       }    } ?>                                   <form action = "" method = "post">                   UserName  :<input type = "text" name = "username" class = "box"/>

                   Password  :<input type = "password" name = "password" class = "box" />

                   <input type = "submit" value = " Submit "/>
                </form>                              I've attempted to change the line:   $myusername = mysqli_real_escape_string($db,$_POST['username']);  to  $myusername = $_POST['username'];  as I assumed that it was being escaped (mysqli_real_escape_string) and preventing any extra characters from being entered into the text box - is that correct?  But that didn't do anything. Any help would be appreciated.


Where to get a list of all ActiveRecord Relations?

I'm debugging and testing some models in a complex Rails application. This is using , so with all the Decorating and required gems, the model is dirtied and monkeypatched by everyone and their dog.  In the tests, I want to see if a certain has-and-belongs-to relation is there, and configured properly.  Where, or how, can I get a list of all the relations that were made available to this model?  Edit. Duplicate of


I am currently working to design a flash virtual tour, but I know little about how the photographs are taken.  Ideally I'd like to be able to take a set of 6 shots from a single focal point, and be able to align them seamlessly into a cube form. The other solution is to take a special fisheye image, and stretch it dynamically in flash.  I've seen examples of both as virtual tours, and ones formatted as a rotating cube are more responsive and have a higher image quality. The airbus and Cruden Homes are definitely in the cube format, I'm not entirely certain which format the New York VT uses:        I have a set of questions, the first is the most important, the others may become separate questions if I don't get an answer here:   How are those photos taken? Is there a specific mount that can be used? How long does it take to set up? How much post-processing is necessary on the images?


Finding descendants of British great grand uncle who emigrated to Australia?

From  I have received the information of the person with the possibility of great-grandfather.   However, I have a bigger problem from here which is whether he really is my great-grandfather because there was a brother to him in the information.   If I can find his brother's descendants, then I may be able to learn the kinship with DNA testing.   How can I find the living descendants of this great grand uncle?  I was born and grew up in Japan where research is easy for me but I do not know the best way in Britain and Australia.  C.Z.Ede is the name of the candidate for my great-grandfather and his information can be found at   There is also a Mr Peter Zohrab site () which mentions "Sydney Cuthbert Ede, Eagleville Station, Talbotville, Victoria, Australia".  Mr Peter Zohrab from that site suggested that I look for descendants of Sydney Cuthbert Ede in Australia or New Zealand. However, I have not yet found any. I am also inquiring at the church in which he was baptized.


I am trying to show:  $\text{erf}(x) \leq \sqrt{1-\exp{(-\frac{4}{\pi}x^2})}$  I tried applying a chernoff bound, but that doesnt give me a bound in terms of the squareroot.


What's the command to pull up a package's manual?

I am running MacTex (on my Mac, obviously) and I remember I used to use a command a lot in the Terminal to simply open up the manual for a specified package. Something like this, for example:  manual pgfplots   That isn't the command, though. I can't remember what it is. Does anyone know?


I'm a Dungeon Master, and I can't figure out how passive wisdom works. In the Player's Handbook it says:      A passive check is a special type of check that dose not use any dice rolls.   That is good to know, but it does not say how you determine if something is a failure or a success!


php arrays combining multi dimensional array


Unable to zoom beyond scale of 1:2,256 in QGIS?

In QGIS, whatever might be the source, I couldn't zoom beyond the scale of 1:2256.   Whether it's a raster or vector, result is the same.   Does anyone know how to fix this ?    On @Chris' advice I've uninstalled "Tile Map Scale Plugin" which fixed the problem (at least for me).


Period goes before number when a number ends a sentence while using polyglossia hebrew

I am using XeLaTeX, Windows, polyglossia. When I define \otherlanguage{} with a right to left language it causes sentences that end in a number to be displayed with the period before the number!  \documentclass{article} \usepackage{cite} \usepackage{polyglossia} \setmainlanguage{american} \setotherlanguage{hebrew} \begin{document} This is an example where a number ends a sentence because the number of words in this sentence is 20. \end{document}     Is this a known issue? Obviously I could just not end a sentence with a number but that is besides the point.  I look forward to your answer!


How often can you visit on a multiple-entry pass to Singapore?

I have multiple entry visit pass of Singapore valid for 2 year and normally they allow to stay for 30 days in a single visit. How many times I can do this if go out to my home country and come back again after 7 days? Is there any limitation on this ? Because it seems holder of the visit pass can stay in Singapore for more than 1.5 year if he/she use visit pass in this way.If we go by words it is multiple entry visa but, is it legal to do this or is it considered illegal?


I'm reviewing a paper. In it the authors use a genetic distance metric to created a distance matrix between subjects, then they run classic MDS on this distance matrix.  Throughout the MS they call this a principal components analysis (PCA).  I was trained to call this principal coordinates analysis (PCoA) or classic Torgerson's multidimensional scaling.  Can anyone clarify which terms are correct, and if more than one, which is preferred?


Let $a_j$ be a sequence of real numbers.  Define $$m_j=\frac{a_1+a_2+\dots +a_j}{j}$$.  Prove that, if $\lim_{j\rightarrow\infty}a_j= \ell$, then $\lim_{j\rightarrow\infty}m_j= \ell$.  Give an example to show that the converse is not true.  I have been thinking about this question a lot. I know I could rewrite this as  $$m_j=\frac{\sum_{j=1}^\infty a_j}{j}$$ But I am having a really hard time after that. Thanks for any help you can give.


Wordpress OpenID: Redirects on POST requests that are to untrusted servers is not supported

I'm trying to login to stackoverflow using my wordpress openID. When I'm redirected back, I see the message  Redirects on POST requests that are to untrusted servers is not supported.   Is it by design or it's a bug?


What is the average time does it take from the time you submit your paper to the time is it published in Physical Review Letters?


in my map i try to show hight quality markers, so i use xml markers from an svg files instead of using low png pictures, so to do that i convert the xml to bitmap with:  public BitmapDescriptor vectorToBitmap(Context context, @DrawableRes int id)  {     Drawable vectorDrawable = ContextCompat.getDrawable(context, id);     int h = Objects.requireNonNull(vectorDrawable).getIntrinsicHeight();     int w = Objects.requireNonNull(vectorDrawable).getIntrinsicWidth();     vectorDrawable.setBounds(0, 0, w, h);     Bitmap bm = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);     Canvas canvas = new Canvas(bm);     vectorDrawable.draw(canvas);     BitmapDescriptor bitmapDescriptor = BitmapDescriptorFactory.fromBitmap(bm);     return bitmapDescriptor; }   then i call this methode by:  BitmapDescriptor marker = vectorToBitmap(getActivity(),R.drawable.pin_work);   everything work fine in many devices, but sometimes i get this error  Context.getDrawable(int) on a null object reference   how can i fix this specially with LG smartphones? thank you


Is there any difference - Delphi Uses Unit After Interface or Implementation?

If a unit can be placed after interface section or implementation, is there a difference in terms of code-performance? which one is preferred?  For example,  unit Example;  interface   uses   UnitA;  // preferred here?  implementation  uses   UnitA;  // or here?  end.


I want my crontab to be every 4 hours but from a certain time 1 pm:  I chose this config:  0 1/4 * * *   but if I save I get the error:  bad hour errors in crontab file, can't install.   This following works perfectly, but then I cannot decide the starting time.  0 */4 * * *


I have diamond helmet/chest piece/legs with protection 2 or 3 on each one. I'm wondering if there's any point to wearing all at the same time or would I be better off just wearing one piece with the highest enchant and the rest regular, unenchanted, diamond?


Number of solution of exponential equation modulo p (prime)

I have to find the number of solution of this congruential equation $x^k\equiv 1 (mod\space p)$. Surely I know that $x^{p-1}\equiv 1 (mod\space p)$ so, $x^d \equiv 1$ where $d$ is the MCD between $(p-1,k)$. Now I have to count how many divisor of $d$ there are, but I don't know how.


Why does JavaScript interprets numbers with 16 decimal places as "integer"?

Calculating if the modulus of a number is 0 to find if the number is whole works up until 15 decimal places is exceeded. What makes 0.9999999999999999 diferent from 0.99999999999999999 function isInteger(n) {     return n % 1 === 0; }  isInteger(0.9); //false isInteger(0.99999999999999999); //true?  Here's a  example Why is this?


I'm looking for a simple way to configure an external Access Point (IP address, SSID, WPA key, turn WiFi on/off, etc.) via Linux command line instead of the standard web interface that APs offer.  This could be either an off-the-shelf AP that offers this feature, or a procedure to accomplish this with any standard APs.  I realize the question might seem too broad; I'd like to find the simplest solution for this.


Is it possible for other half-elves (besides Earendil, Elwing and their descendants) to be presented with the choice of immortality?

I know that through Earendil's line that exception was granted to him and his family. However, I wonder if it is possible for some of the other half-elves to be presented with that similar option.   Whilst through Imrazor and Mithrellas, their son Galador died as a mortal, nothing is known of Gilimith, their daughter.  Surely there must have been other examples or a slight possibility for other cases.


Self-accepted answer vs non-accepted answers with same vote count: not ordered randomly on some browsers

[EDIT2]  Something is wrong with answer ordering: different versions of Chrome (under different environnments) show different behaviour.  Noticed here:    WinXP(VM) and Win7, Chrome Version 33.0.1750.154 m: constant order Linux, Chrome Version 23.0.1271.95: random order   Might extends to other browsers?  [EDIT1]  In the end it looks like a browser specific issue, in the very particular case of:   a self-accepted answer with N votes, other non-accepted answers which with N votes too, sorting answers by vote, the browser is an old version Chrome, Firefox (which version?), maybe others too.   In this case, the order of the answers with N votes varies randomly at each refresh, including the accepted one. This doesn't happen on more recent versions of Chrome, accepted answer is always first and the order remains the same between refreshes.  [ORIGINAL]  I understand the choice of using random for ordering equally voted answers: a simple way of giving the same visibility without the hassle of taking rep or time into account, etc.  However I had the case where I needed to refer to an accepted answer which had the same number of votes than other, less acurate answers, and was surprised to have to search it each time I reopened the page (there can be many answers with 1 vote).  See this question for example: , where the accepted answer is not ordered at the beginning.  Do accepted answers deserve more visibility than others when votes are equal?


recordViewForm not displaying when attribute set in helper

When trying to display a record's field via lightning:recordViewForm, I am successful when I set the recordId attribute (ProjId) directly by defining a default value.  However, when I assign ProjId in a helper class, it doesn't display.  I am verifying that I am successfully setting ProjId in the helper class because I display it above the recordViewForm.  I don't understand why recordViewForm isn't working when ProjId is set in the helper class and it is working when I hardcode the record id when I define the ProjId attribute. /* when I set the recordId as the default value, the recordViewForm works. */ <aura:attribute name="ProjId" type="String" default="" access="global" />                      {!v.ProjId}                    <lightning:recordViewForm recordId="{!v.ProjId}"                           objectApiName="Project2__c">                           <lightning:outputField variant="label-hidden" fieldName="Abstract__c" />                    </lightning:recordViewForm>  Here is what I am doing in the helper when the recordViewForm doesn't work. component.set('v.ProjId','a003u00000bEWNRAA4');


Move an app to applications when it's installed itself elsewhere

I installed SmartGit on my iMac, and it put itself in the Eric's iMac folder, adjacent to Macintosh HD.     When I open the SmartGit 18.1.2 folder, it has the following contents:    It would be nice if I could have SmartGit in the applications folder. What's a good way of doing this without screwing up the operation of the application? I could just dry moving/copying the .app file to the applications folder...  If it's easiest just to leave it there, I really don't mind.


Can moment of inertia give us information about shape of the body?

We all know the "Inertia" of a particle is actually related to its "Mass". But when we talk about "Moment of inertia" of a body, we actually are talking about its "Mass distribution" about some point/axis. So depending on how the mass is distributed in the body (what shape a body has), its moment of inertia could be determined.  So my question is can we do it vice-versa? I mean if we had the moment of inertia of a body about some axis, can we construct its shape?


At QGIS startup I get the message: "QGIS couldn't find your GRASS installation. Would you like to specify path (GISBASE) to your GRASS installation?" (Windows 7) No amount of rooting around the directory structure in the GRASS directories solves it.  Tried uninstalling/reinstalling, no joy, but I also noticed that my plugins were still there, so the uninstall does not appear to have been fully clean.  I have a perfectly working installation on another Windows 7 machine that I installed just last week, so no clue why there's a problem on this machine.  Ideas?


How do I disable the sleep button on my keyboard?

I have a "power button" on my keyboard that enables standby or hibernate. I can't find the mapping of this key anywhere in "sytem settings>Keyboard", "system>power management", "compiz config> or similar (where I could find it before unity). How can I disable (not remap) this button?  I do not want to disable hibernate/sleep altogether, it's simply this key that gets pressed a lot by accident and it's getting quite annoying.


Filtering generic lists in C#: Are static delegates (predicates) faster?

Let's say I have a class like:  public static class ListFilters {     public static ulong FilesLargerThanValue { get; set; }     public static bool FilesLargerThan(FileData data)     {         return (data.Size >= ListFilters.FilesLargerThanValue);     } }   and I want to call  ListFilters.FilesLargerThanValue = 1000000; List<FileData> filteredList = pathScanner.AllFilesList.FindAll(ListFilters.FilesLargerThan);   My question is:  In .Net 2.0, would the code run faster if my ListFilters class is defined as static (and the predicate that goes to List.FindAll is static)?


My husband is Italian and I'm an African living in Italy with permanent stay. Can I travel to UK without visa?

I'm married to an Italian, I'm an African living in Italy with permanent stay. Can I travel to UK without a visa?


Creating a planet using grid and warp; texture is distorted?

I was following  about creating a planet by warping a grid or plane. It works great, but I'm having one problem: the polar ends of the planet (top and bottom) are sort of coming together in a point. It's really distorted. Here's a picture.  Here's one of my nodes and UV map.  I'm not sure if it's the texture, because everyone else was using Earth textures and I made my own in Gimp. Is there a way to fix this?


Bug    User 's profile picture isn't displayed.  My Observations  Profile picture's image location:   Opening this URL, one is prompted to download a JPEG file.   Saketh Malyala's profile picture downloaded from the above link.  My attempts for searching similar questions   : I'm using Firefox 66.0.2 (64-bit) on Xubuntu 18.04 LTS.  I've tried clearing browser cache, but the profile picture is still broken. : The accepted answer suggests the possibility of image URL corruption.  However, the above downloaded JPEG file shows that the URL can deliver the image content. : The linked question is also about profile picture display error for images from Facebook.  However, this problem is different since this is a missing content error, whereas the linked post is about a content layout problem.


How can I show that circles in the complex plane correspond to circles on the Riemann sphere? How about lines?

Suppose $ T \subset \mathbb{C} $. Show that the corresponding set $ S \subset \Sigma $ is  a. a circle if $ T $ is a circle. b. a circle minus (0, 0, 1) if $ T $ is a line.  Here we are defining $ \Sigma $ to be the Riemann sphere, given by the set: $$ \Sigma = \left \{(\xi, \eta, \zeta) : \xi^{2} + \eta^{2} + (\zeta - \frac{1}{2})^{2} = \frac{1}{4} \right \} $$  To take a point from $ \mathbb{C} $ to $ \Sigma $ we can use the following:  $$ \xi = \frac{x}{x^{2} + y^{2} + 1}; \eta = \frac{y}{x^{2} + y^{2} + 1}; \zeta = \frac{x^{2} + y^{2}}{x^{2} + y^{2} + 1} $$  We define a circle on $ \Sigma $ to be the intersection of a plane of the form $ A\xi + B\eta + C\zeta = D $ with $ \Sigma $. We also know the converse of this problem is true, that the intersection above yeilds a set in $ \mathbb{C} $ with the following property:  $ (C - D)(x^{2} + y^{2}) + Ax + By = D $. As you can see, when C = D, then an equation for a line is yeilded, otherwise it is a circle.   I really am at a  loss about how to solve this problem. The only thing I can think to do is to pick 3 points on a circle or radius $ r $ with center $ z_{0} $, use these points to find two vectors in $ \Sigma $, take their cross product to get a normal vector, use this normal vector to get a plane. Once I have the plane in form $ A\xi + B\eta + C\zeta = D $ then I could prove that the circle I had chosen corresponds exactly with $ (C - D)(x^{2} + y^{2}) + Ax + By = D $. Is there not an easier, less computation way to do this?


Unable to scroll through search results in App Store on iOS

I’m using an iPhone 5s running iOS 12.2. I can't scroll in the App Store after entering a search term. The Search results load, but it just won't scroll down the list of results.  However, tapping on Featured, Categories, Top Charts or Updates, the scrolling works just fine. But tapping back on Search it just refuses to scroll.  What could be causing this? How do I resolve?


In the context of binary classification how do you interpret ROC curve: more precisely:   1) Why the diagonal stand for a random classifier?   [Edit] Let's imagine a random classifier: each time he see an observation he labels this observation to 1 with a probability of 0.5.   So with a lot of observations,    among the observation with true label 1 half of them will be correctly classified. In the same way there is a 0.5 false positive rate (among the true label 0 half of them will be classified 1).   So on ROC curve this classifier will be on the diagonal on the point (0.5,0.5). But I can only see this case unless i don't understand well the meaning of random classifier in this context...  2) Why ROC curve is insensitive to Class skew ? Why ROC curve is insensitive to  class distributions or error costs.  Let's imagine we have a sample of observation and we draw the ROC curve. Now let's add a lot of observation wich are labelled 0, does the ROC curve stay the same ? what does it mean and how to explain this ?  Her I saw an explanation: ; the answers seems good if we assume that when we increase the number of negative sample they should be distributed with the same score distribution that the previous neagative samples.    PS: A mathematical paper (with proof) could help me to well understand the previous assertion since it will be formally defined. I found this one (in my language) but i am not sur it is correct since there seem to have a mistake since the begining with the RECALL definition: .  So if you have any reference please share it. I


I'm 16 and I've learned to develop iOS apps recently.  I've finished my first app yesterday and I want to upload it to the App Store.  I've tried to register with my name and my father's credit card and I got the verification code from Apple. But when I'm trying to sign in to my account I get this error message:     We are unable to activate your Apple Developer Program membership.   We have received your purchase information and will email you shortly to verify additional details.   Additionally, I'm trying to reach Apple Developer Support for over an hour but they don't answer the phone.  Any idea what can I do with that?


How does one create a coloured footnote environment?

Is there any way to create coloured footnote environments? Or to edit the footnote environment so it creates coloured footnotes?


Select default terminal for Files > Open in Terminal

I am using Ubuntu 18.04 Bionic Beaver and have changed the default Terminal program which seems to have worked for all other instances where I need to open a Terminal but not when selecting Files > Open in Terminal - here it still opens the OLD style terminal.   Is there a way to make it use Terminator which is what I have selected for my default?


TeXstudio: How to associate tex syntax color scheme to non tex file?

In TeXstudio I want to associate different files with tex coloring scheme. For example, I open .stex file and the syntax is not colored. This .stex file is the same tex file, I just renamed it for some reason.  I've putted .stex extension in my ini file:    Files\Default%20File%20Filter=TeX files (*.tex *.bib *.sty *.cls *.mp  ***.stex**)   But it does nothing.


Beamer group navigation dots per section

Similar to the question (and MWE) asked in the link below, I would like to organise my navigation bullets horizontally per section. However, in addition, I would like to group the bullet points by subsection.   hence, instead of:  Section 1  ooooooooooo  I would like to have  Section 1  ooo ooo ooo oo  Where the dots are grouped by subsection. I am using the Singapore theme.


I seem to have a problem with Wireframe and Shading making the model see through

I find the issue very hard to explain  and  i also have no clue where it came from, but it is making me anxious on the progress of my model. New meshes added to the scene don't seem to have the same problem. Below is a picture  of before and after activaing wireframe and also a picture of how it looks in shading


Does android Support RAW image capturing?

I'd like to capture RAW images from my Droid Camera rather than those compressed jpg's, is there anyway to achieve this?  EDIT: I saw that it's not possible due to kernel limitation, but, what kind of limitation? Do i need to load a kernel module? or the kernel must be modified and re-built from scratch? Is there ANY way to achieve this? i can chroot Ubuntu, i can load Kernel Modules, i will do everything just to achieve this


If I remember correctly from English class, then one should put a comma after "i.e.", i.e., the Latin abbreviation for id est.  But lately I've seen the comma after "i.e." dropped in books. So what is the rule or consensus here if any?


debian - using apache virtual host as proxy

I have a server with debian 7.4 and apache2 installed. I have setup virtual hosts and all works well. Now instead of pointing the virtual host to a documentroot I need it to point to a port on the same server. "Java app running a jetty server"   --- EDIT --- Down votes... I have been an iis user for years and only this week started using linux  My current virtualhost file is as follows  <VirtualHost *:80>      ServerAdmin ******@****.**      ServerName ****.***      ServerAlias ***.*******.***       ProxyPass / http://localhost:8080/  </VirtualHost>   proxy.conf  <IfModule mod_proxy.c>     ProxyRequests On     <Proxy *>         AddDefaultCharset off         Order deny,allow         Deny from all         Allow from 127.0.0.1     </Proxy>     ProxyVia On </IfModule>   ---Another EDIT--- Getting internal server error with the following conf I did see those post mentioned in the comment yet still cnt get this going.....  <VirtualHost *:80>     ProxyPreserveHost Off     ProxyRequests On     ServerAdmin webmaster@+++.***     ServerName ***.***     ServerAlias www.***.***     ProxyPass / http://localhost:6666/     ProxyPassReverse / http://localhost:6666/ </VirtualHost>   ---AND THE FIX---- I fixed the problem by enabling proxy_http aswel... a2enmod proxy_http service apache2 restart


Does C++ support 'finally' blocks? (And what's this 'RAII' I keep hearing about?)

Does C++ support '' blocks?  What is the ?  What is the difference between C++'s RAII idiom and ?


I need to cut html tags in JSP view on client side.   I have something like this:   <c:forEach items="${myitemsList}" var="temp">    ...
       ${temp}
    ... </c:forEach>   Inside every ${temp} there is some html code like
Some text example
. I need to cut this html tags to have pure text: Some text example.   Of course I could just add model object without html tags but I need to do cut this on client side. Is there any way to do this?  Thanks


Here's a URL:    On my screen (Chrome browser, Mac OS X, up to date), it reads this way, both in the live preview and once actually posted:  .htm">  If you look at the source of what I've posted, each line above which contains a link is the same except that the second prepends the following: .htm"> - that is, I have literally added this "garbage" to the front on the second example, but on my screen both lines look the same once previewed or posted--apart from the fact that only the second one (which is written "stupidly" to demonstrate the problem) is actually clickable--the first link is not clickable.  If I have to include a question here, it would be: does this reproduce for others?  How can we fix it?


Can a fighter use their shield as an improvised weapon in addition to a regular attack?

Can a level 3 fighter use their shield as an improvised weapon and attack using their bonus action on top of their regular attack?


I want to start my own journal; the area would be in the applications of novel psychoactive substances.  Does anyone have any experience in this eg web based or paper etc?


Why does ubuntu create a W95 FAT32 volume during installation?

I just installed ubuntu 20.04 and I noticed that the installation process created a W95 FAT32 partition (mounted at /boot/efi). Why is that? Is that normal? Previously I had a double boot (windows + linux) so I thought it might be related to that. I therefore formatted the whole thing and reinstalled again but the FAT32 partition is still there. Thanks


iMessage and FaceTime from complete stranger

I have had the same problem as the previous complainant. I received an iMessage from a @yahoo.com address saying "hi". I then asked who this was and the reason for the message and also how he obtained my number and email. He claimed that he has me stored in his directory as "Abba". I'm certainly no Abba!   I asked him to remove me from his contacts, to which he agreed. Today the idiot messages me again saying hi. I mentioned that I would have him reported, he then called on FaceTime and hung up???? Also sent me a pic of himself!! How do I block him from contacting me, this is rather annoying?


The only reason I ever boot into Windows (7) is to use the popular video chat software ooVoo (). It's useless under Wine and there seems to be no way to run it in Ubuntu except for some proprietary tools. Does anyone have any information on some alternatives to running it with Wine?


Given an $n$-sided polygon, how many ways can you color the vertices using $k$ colors so that no two adjacent vertices have the same color?  (Inspired by 2011 AMC 12 A #16 – I'm able to do this for small cases but not in general.)


Isn't 2^(0.5) rational?  Method for proving: Contradiction. So show not P:2^(0.5) is rational.


Question titles showing up as "undefined"

Recently, the titles to some questions have been displaying as "undefined":    "undefined" is replaced with the question's true title upon refreshing the page. Is this a bug?


I have a problem with rendering. Textures are spoiled or underlying textures are spoiling the top layer textures. I have tried to play with settings but I could not find the reason. It looks good in render mode if it is looked without camera, but when it is looked under camera texture looks spoiled or overlying each other.


Don't remember PGP passphrase until end of session

To use my PGP key I always have to enter my passphrase. But as it happens, I have to unlock the key only once for every session. The desired behaviour would be, that I have to unlock the key each time I want to use it so the passphrase is not remembered for the whole session.  The dialog for entering the passphrase provides a checkbox "Automatically unlock this key, whenever I'm logged in" but that is also not what I want. I recall this dialog in older versions of Ubuntu providing more options, like this:    But these options are never provided to me. So how can I configure Seahorse/GPG/Ubuntu to always locking the key after usage?


algorithmicx and TikZ to mark indentation

Is it possible to use the algorithmicx package and modify the command blocks somehow that I get vertical lines for the indentation? Should this be probably done with TikZ? (The package algorithm2e can do this but I do not use it!)  A simple example I came up with is this one here:  How is it possible to remove the end tags and still have the vertical lines As soon as I add \algnotext{EndIf} the TikZ is obviously no more drawn and there is no end tag as required?  \documentclass{article}  \usepackage{algpseudocode}% http://ctan.org/pkg/algorithmicx \usepackage{algorithm}% http://ctan.org/pkg/algorithm  \usepackage{tikz}  \begin{document}  \newcommand{\keyword}[1]{\textbf{\textsf{#1}}} \newcounter{scopeCounter} \newcommand{\decScopeCounter}{\addtocounter{scopeCounter}{-1}} \newcommand{\incScopeCounter}{\addtocounter{scopeCounter}{1}}  % if blocks \algblockdefx{If}{EndIf}%   [1]{%   \incScopeCounter%   \tikz[remember picture,baseline=-0.5ex] \coordinate (b\thescopeCounter);%   \keyword{if} #1\hspace{0.5mm}\keyword{:}%   }%   {%   \tikz[remember picture,baseline=-0.5ex] \coordinate (e\thescopeCounter);%   \begin{tikzpicture}[remember picture,overlay]%     \draw[-,very thick]  (b\thescopeCounter) -- (e\thescopeCounter);%   \end{tikzpicture}%   \algorithmicend%   }  \algcblockdefx{If}{Else}{EndIf}%   {%   \tikz[remember picture,baseline=-0.5ex] \coordinate (e\thescopeCounter);%   \begin{tikzpicture}[remember picture,overlay]%     \draw[-,very thick]  (b\thescopeCounter) -- (e\thescopeCounter);%   \end{tikzpicture}%   \tikz[remember picture,baseline=-0.5ex] \coordinate (b\thescopeCounter);%   \keyword{else:}%   }%   {%   \tikz[remember picture,baseline=-0.5ex] \coordinate (e\thescopeCounter);%   \begin{tikzpicture}[remember picture,overlay]%     \draw[-,very thick]  (b\thescopeCounter) -- (e\thescopeCounter);%   \end{tikzpicture}%   \algorithmicend%   \decScopeCounter   }%  \algcblockdefx{If}{Elif}{EndIf}%   [1]{%   \tikz[remember picture,baseline=-0.5ex] \coordinate (e\thescopeCounter);%   \begin{tikzpicture}[remember picture,overlay]%     \draw[-,very thick]  (b\thescopeCounter) -- (e\thescopeCounter);%   \end{tikzpicture}%   \tikz[remember picture,baseline=-0.5ex] \coordinate (b\thescopeCounter);%   \keyword{elif} #1\hspace{0.5mm}\keyword{:}   }%   {%   \tikz[remember picture,baseline=-0.5ex] \coordinate (e\thescopeCounter);%   \begin{tikzpicture}[remember picture,overlay]%     \draw[-,very thick]  (b\thescopeCounter) -- (e\thescopeCounter);%   \end{tikzpicture}%   \algorithmicend%   \decScopeCounter   }%   %\algnotext{EndIf}  %%% UNCOMMENT THIS LINE TO REMOVE end TAGS  \begin{algorithm} \caption{Euclid’s algorithm}\label{euclid} \begin{algorithmic}[1] \If{$i\geq maxval$}     \State $i\gets 0$ \Else     \If{$i+k\leq maxval$}         \State $i\gets i+k$     \EndIf \EndIf \end{algorithmic} \end{algorithm}    \end{document}     Thanks a lot for the help!


LOST.DIR folder appears all the time in my tablet

I have Silver-Line tablet SL-1066 model.  When I connect USB stick or SD card the tablet always create a folder  under the name "LOST.DIR" and the folder is empty. this folder is also appear in my computer when I connect USB or SD card, this is also appear in my computer after the tablet created it.  I tried always to delete it, but if I connect the device to the tablet again, it is will recreate the folder.   Someone know how to make it never to create this folder again?  Thank you!


I have previously saved a copy of /var/lib/mysql/ddms directory ("ddms" is the schema name). Now I installed a new MySQL on a freshly installed Ubuntu 10.04.3 LTS by running apt-get install mysql-server, I believe version 5.1 was installed. After I copy the ddms directory under /var/lib/mysql, some of its tables work fine, these are the tables with an associated set of three files: a .frm file, a .MYD file and a .MYI file.  However, there are two tables with a different set of files: a .frm file and a .ibd file. These two tables didn't show up in the table list in phpMyAdmin. When I look at the error log, it says:  [ERROR] Cannot find or open table ddms/dictionary_item from the internal data dictionary of InnoDB though the .frm file for the table exists. Maybe you have deleted and recreated InnoDB data files but have forgotten to delete the corresponding .frm files of InnoDB tables, or you have moved .frm files to another database? or, the table contains indexes that this version of the engine doesn't support.   Please help with restoring these two tables. Thanks.


I am connected to a linux system with SSH in my college. I found that  is a console alternative of bitorrent. I have downloaded the tar.gz source but to compile/install it needs sudo access  Is there a way to install the program without sudo access?  I don't know a lot about linux and cannot make  work with ctorrent.


I just built a site that I split up as follows:  www.MAINDOMAIN.com         --> a landing page the redirects you to one of the following pages blog.MAINDOMAIN.com        --> a blog restaurants.MAINDOMAIN.com --> a page that lists restaurants shops.MAINDOMAIN.com       --> a page that lists shops   Problem is, won't google see his as 4 seperate domains? i.e Would I not have been better off with something like this:  www.MAINDOMAIN.com www.MAINDOMAIN.com/blog www.MAINDOMAIN.com/restaurants www.MAINDOMAIN.com/shop


Cannot Ubuntu desktop edition perform as Ubuntu Server Edition?

I found two separate OS Ubuntu Desktop Edition (like Ubuntu 14.04 LTS which I am using )  and Ubuntu Server Edition OS available. Server Edition is used to do the performance for hosting a Ubuntu server and other web stuffs. But is it necessary to shift to the server edition from the desktop edition? or can we do our job of server related tasks with the Desktop edition? If possible where do I begin from?


In any type of file edited with VIM, I am seeing an unwanted pattern highlighted everywhere and I don't know how to turn just that pattern off. Or perhaps I corrupted a file accidentally. It seems like this happened recently after my thrashing around, experimenting with multiple windows (red herring?).  The pattern seems to be: the letter e plus one character of any kind ("eg", "el", "e.", etc)


how understand my variable is vacuum in use of \ifx?

I want use \ifx and do some thing if my variable\myvariableis vacuum . how do it?


Tried including user-manual reading but...  \glsdisp[format=textbf]{arts:FourHorsemen}{Four Horsemen}   using   \usepackage[xindy={language=german,codepage=duden-utf8}, nonumberlist, toc, nopostdot, style=altlist, nogroupskip ]{glossaries} \GlsSetXdyCodePage{duden-utf8}  \newglossary*{arts}{Kunst?} ... \glsdisp[format=textbf]{arts:FourHorsemen}{Four Horsemen} ... \printglossary[type=arts, nonumberlist=false, style=index]   Does remove the hyperlink from the page number at the glossary back into the text (the other, not formated bold entries still have their hyperlinks). Guess I am missing something trivial so after two hourse reading, searching and trying... please!  no MWE because because I guess that makes little sense with xindy and custom glossaries?


Why is it dangerous for human being to touch one of contacts in AC wall outlet?

Let say we have some DC voltage source which produce some voltage which I will label as V. Let also say that we have some real bulb which is supposed to work when voltage V is applied across its terminals. That bulb has some internal resistance R_internal. I will model real bulb as ideal bulb in series with its internal resistance R_internal. We know that for current to flow we need closed path between source and load so if we connect our voltage source and our bulb like on picture below, we will see light from bulb because current will flow:  I draw two equivalent schematics for this situation.  Let us now see another situation. We know that in AC wall outlet there are two "holes". Mathematical expression for voltage waveform between these two "holes" is shown on picture below:    If we represent voltage between these two "holes" as voltage generator like on picture below and if we connect to it some real bulb which is supposed to work with this AC voltage we will see light from bulb because we have completed circuit and alternating current can flow:    Why is it dangerous for human being to touch one of contacts in "holes" in AC wall outlet? I mean, according to previously discussed situations, there should be no closed path for current to flow If I stand on earth and touch one of contacts in AC wall outlet. I should touch both contacts in wall outlet for current to flow through me and that will be very dangerous. Thanks in advance.


errors of running an interface with java swing

when I run my Interface created with  java swing netbeans the Jbuttons move from their original location and many errors appear. I didn't find what those errors mean.  while running the interface, it always stops working and it stuck.  Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException     at com.sun.java.swing.plaf.windows.WindowsTabbedPaneUI.paintContentBorder(WindowsTabbedPaneUI.java:145)     at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(BasicTabbedPaneUI.java:791)     at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)     at javax.swing.JComponent.paintComponent(JComponent.java:779)     at javax.swing.JComponent.paint(JComponent.java:1055)     at javax.swing.JComponent.paintChildren(JComponent.java:888)     at javax.swing.JComponent.paint(JComponent.java:1064)     at javax.swing.JViewport.paint(JViewport.java:731)     at javax.swing.JComponent.paintChildren(JComponent.java:888)     at javax.swing.JComponent.paint(JComponent.java:1064)     at javax.swing.JComponent.paintToOffscreen(JComponent.java:5232)     at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295)     at javax.swing.RepaintManager.paint(RepaintManager.java:1249)     at javax.swing.JComponent._paintImmediately(JComponent.java:5180)     at javax.swing.JComponent.paintImmediately(JComponent.java:4991)     at javax.swing.RepaintManager$3.run(RepaintManager.java:808)     at javax.swing.RepaintManager$3.run(RepaintManager.java:796)     at java.security.AccessController.doPrivileged(Native Method)     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)     at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)     at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)     at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)     at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)     at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)     at java.awt.EventQueue.access$300(EventQueue.java:103)     at java.awt.EventQueue$3.run(EventQueue.java:706)     at java.awt.EventQueue$3.run(EventQueue.java:704)     at java.security.AccessController.doPrivileged(Native Method)     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)     at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)     at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)


Patch 2.0.1 introduced a lot of significant changes to the loot system in the game. One of the significant ones was the revamp to the , which now has a new effect:      Summon a treasure goblin who picks up normal-quality items for you. After picking up 12–16 items, he drops a rare item with a chance for a legendary.    What is the cooldown on the goblin item drop? Does the effect stack if you have one on your character and another on your follower (i.e. two goblins)? Is the drop chance for the rare/legendary affected by increased Magic Find? If so, approximately how much? Is there a cap on them max item level of the dropped item? (While < lvl 60, at lvl 60, and when the level cap is raised in the expansion.) Does the item counter reset when you leave the game, change acts, or die?


Are any Marvel Universe superheroes or supervillains professional athletes?

Just out of curiosity, are there any superheroes or super-villains in the Marvel Universe who are excellent in sports?  By “excellent in sports”, I mean they must be playing a sport at a professional or recognized amateur level (i.e. as part of a national or international team, like an Olympic team).  For example, Ghostrider's alter ego is a professional stunt biker of national fame (I suppose).  All canons inclusive.


How to Convert underscore separated string to Capitalized String

I have a string   var str = "edit_country"   I want to split words based on underscore and  make one string "Edit Country" Here first letter after space should be capital.


Why is predicate "all" as in all(SET) true if the SET is empty?

Can anyone explain why the predicate all is true for an empty set? If the set is empty, there are no elements in it, so there is not really any elements to apply the predicate on? So it feels to me it should be false rather than true.


How is this possible that the user with  question only has that little reputation? I've checked his site and he doesn't have a lot of downvotes or bounties.


VirtualBox 4.3.20 stops working after Windows Update

I have a current version of VirtualBox 4.3.20, but after the latest Windows 7 update on Dec. 11th, 2014, it cannot open any virtual machine. First, it would not open the program at all. After a reboot, it would say:   STATUS_OBJECT_NAME_NOT_FOUND Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help. (rc=-101)  The log file says: b28.146c: supR3HardenedVmProcessInit: Opening vboxdrv stub... b28.146c: Error opening VBoxDrvStub:  STATUS_OBJECT_NAME_NOT_FOUND b28.146c: supR3HardenedWinReadErrorInfoDevice: NtCreateFile -> 0xc0000034 b28.146c: Error -101 in supR3HardenedWinReSpawn! (enmWhat=3) b28.146c: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries)  I've tried installing an older version (4.3.18) as well, reinstalling the current version several times, rebooting, uninstalling antivirus software, but nothing helped.


So I'm new to Ubuntu but not inexperienced with customizing open source software, and I recently learned about an application called KDE Connect --  -- which I would love to install onto my vanilla 14.04LTS box... but I immediately know this won't be as simple as a little apt-get install action because I understand there is some difference between KDE and Gnome (which I understand is what vanilla is using).  It seems like, from a little poking around, that it is possible to run KDE apps under Gnome/Unity in vanilla Ubuntu, so I'm cautiously optimistic that I won't have to switch to Kubuntu just to use this one app... but when I decided to just give it a shot and install it from the Ubuntu Software Center, it appeared to install without errors but ultimately resulted in no new software showing up anywhere that I could see at a glance.  So I went ahead and uninstalled from Ubuntu Desktop and my Android phone...  I suppose I need to either takes some extra steps to allow KDE apps to run on my system, or maybe I need to do a custom build of the KDE Connect source?    Has anyone successfully got this app working under Gnome/Unity without heavy customization?  Or would I need to port the code from KDE to Gnome?   Any generic guides out there on how I would modify a KDE app to work in Gnome?


How to increase label size of OpenLayers plugin basemap layers?

For QGIS 2.2.0-Valmiera, how does one increase the label size of OpenStreetMap layer or any other basemap layer?  Presently the labels are way too small to read.  For example, I find that for the same zoom level of a map in www.openstreetmap.com vs the same map in QGIS2.2, the map in QGIS2.2 has labels much smaller than the one from www.openstreetmap.com.  For illustration, click here:


Why isn't a loop on $S^1$ nullhomotopic?

I'm having a bit of trouble understanding why I'm wrong. Given a loop that starts on the point $(1,0)$ and does 1 loop in the clockwise direction in $S^1$ cant I construct a homotopy in the following manner: H(x,0) = the original loop H(x,1) = the point $(1,0)$. H(x,y) = a loop that starts at $(1,0)$ and then goes $(1-y)\cdot2\pi$ clockwise.  I know this isn't the most formal explanation but why is this wrong? It seems to uphold the definition of a homotopy, but it has to be wrong.  Any help would be appreciated.


Sometimes in OLS model we have constant for example -2345 significant and doesn't have a mean. Why we must keep it in the model? Why when we drop it the results change? What does it mean?  And sometimes it is insignificant. Why?


How to detect if players alter game files and stop them from entering the game server

as the question says.  how can i check if a player modifies a file such as maps or spells in my rpg games that will be located as "/cache/spells", "/cache/maps" or "/cache/entities" and you get the point.  all the files are going to be written in .xml if that matters and the game will be an online game made in java. not a browser game btw


Qualcomm Atheros Device 003e (rev 32) not working

There is no wireless device available in my network manager. After doing as suggested in another thread regarding this issue, following these steps didn't work  sudo apt-get install linux-generic-lts-wily wget https://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.156_all.deb sudo dpkg -i linux-firmware_1.156_all.deb  Linux sunny 4.2.0-30-generic #36~14.04.1-Ubuntu SMP Fri Feb 26 18:49:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux   .  Linux sunny 4.2.0-30-generic #36~14.04.1-Ubuntu SMP Fri Feb 26 18:49:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux  00:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:15b8] (rev 31)     Subsystem: ASUSTeK Computer Inc. Device [1043:8672]     Kernel driver in use: e1000e 02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:003e] (rev 32)     Subsystem: ASUSTeK Computer Inc. Device [1043:86e0] 0: hci0: Bluetooth     Soft blocked: no     Hard blocked: no   This isn't a dupe. The dupe link does not fix the problem I am having.  I also looked over here  and I'm still at square one


Reference frame for the Cosmic Neutrino Background

It is well known that there exists a reference frame where the total momentum of the Cosmic Microwave Background is zero (a basic fact of special relativity applied to a collection of massless particles) and the radiation is homogeneous and isotropic. This can be observed in the dipole anisotropy.  Neutrinos also decoupled from matter shortly after the Big Bang, and therefore relic neutrinos must form a Cosmic Neutrino Background ($\mathrm{C}\nu\mathrm{B}$). These neutrinos are extremely hard, if not impossible, to detect with current technology.   The $\mathrm{C}\nu\mathrm{B}$ also defines a reference frame of zero total momentum. Is it expected that this reference frame is coincident with that of CMB?


Adjusting word space with letterspace in small caps

I'm trying to set up a nice letterspacing for the small caps of my main font. The problem arises because, by letterspacing, inter word spacing are somewhat less distinguishable from the inter-letter space. I'm posting an exaggerate MWE but mind that usually I use small caps in headers (it's a philosophy book I'm typesetting), and so titles are common to have 2-3 words.  \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage{english} \setmainfont{EB Garamond}[ %Contextuals={WordFinal}, %BoldFont={GaramondPremrPro-Smbd}, %UprightFont={GaramondPremrPro}, %ItalicFont={GaramondPremrPro-It}, Ligatures=TeX, SmallCapsFeatures={% LetterSpace=6, Letters=SmallCaps }, Numbers=OldStyle%, %Kerning=Uppercase% ] \usepackage{microtype} \usepackage{lipsum} \begin{document} \textsc{this is enhanced text}. \lipsum[1] \end{document}     I tried using the WordSpace fontspec feature, but that is not good for me since it's global, and not limited to the small caps.  Here is an example:  \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage{english} \setmainfont{EB Garamond}[ %Contextuals={WordFinal}, %BoldFont={GaramondPremrPro-Smbd}, %UprightFont={GaramondPremrPro}, %ItalicFont={GaramondPremrPro-It}, Ligatures=TeX, SmallCapsFeatures={% LetterSpace=6, Letters=SmallCaps, WordSpace=2 }, Numbers=OldStyle%, %Kerning=Uppercase% ] \usepackage{microtype} \usepackage{lipsum} \begin{document} \textsc{this is enhanced text}. \lipsum[1] \end{document}     What I'd like to have is a somewhat proportional adjusting of the wordspace to the letterspace, either manual or automatic, but limited to the small caps, possibly without defining a specific font and redefining textsc.  IMPORTANT NOTE: please mind that I use and have to use LuaLaTeX, thus XeLaTeX-specific solutions won't be much of help, while general ones and LuaLaTeX-specific ones are most welcome.


Raw Frogs Legs pink liquid - Still safe to eat?

I have some raw, commercially packed and frozen frogs legs that I thawed overnight in the fridge about 4-5 days ago. I noticed a lot of pinkish liquid inside the packaging. Is it still safe to eat these? They seem to smell fine. I've looked online but couldn't find much information.  and   Thanks.


Multiple generic bounds including type parameter

I want to define a function which uses a type with multiple bounds, where one of the bounds is another type parameter. For example:  <A, R extends A & SomeInterface> R doSomething(...);   It seems (according to Intellij IDEA) this is not allowed, nor is any type with multiple bounds, where any of those bounds is a type parameter. So these are illegal:  <A, R extends A & SomeInterface> R doSomething(...); <A, B, R extends A & B> R doSomething(...);   But these are legal:  <R extends SomeType & SomeInterface> R doSomething(...); <A, R extends A> R doSomething(...);   The case of extending a type parameter and an interface is prohibited, but replacing the type parameter with a literal type (class, enum, or interface) is allowed. I would understand if it was not allowed to have a type parameter as bounds at all, but this is not the case. Is there something I'm missing?    In case this is an xy problem, the precise issue I am trying to solve is this:  public interface Functor<A, Self extends Functor<?, Self>> {   <B, SelfB extends Self & Functor<B, Self>> SelfB map(Function<A, B> f); }   The above declaration, if it were legal, seems to provide sufficient constraints to solve ; ensuring that the return type is a functor of the same type, with B as its data parameter. This is a case of extending an interface and some other type determined by a type parameter.


Identifying security vulnerabilities in answers

I read this  and have the following questions and feature request. Please help.  Most of the times, the answers are approved by users who might just want "a" solution to the problem. They might not be knowledgeable enough to know the performance/security threats in those answers.   Is commenting on such answers the best way to notify the future readers? If there are many comments, it might just get drowned in it Or is downvoting a better option? I don't think it is Would SO consider adding a tags section into the answer? This is probably a feature request, but I don't know whether there is something in the works already.