How to show $\frac{\sinθ +\tanθ}{2}>\theta$ using geometry?

I could show in calculus where $0<θ<\frac{\pi}{2}$ like this   $$\frac{d(θ)}{dθ}=1<\frac{1}{2}(\cosθ+\sec^2θ)$$  But I curioused about would it could prove by geometric way likewise trigonometric identities. I try to show with the area of circular sector but I failed...  So this is question:   How to show $$\frac{\sinθ +\tanθ}{2}>\theta$$ where $0<\theta<\frac{\pi}{2}$ in geometric way?


"Manipulate only center" when scaling in Blender 2.9? Where did it go?

I have looked everywhere and all the information is outdated to version 2.8. There used to be an option in the "options" drop down that said "Manipulate centers only" or "affect location only". Anybody know where this feature went? Because it is a pretty useful feature and I can't for the life of me figure out where it went off to. Edit: This got flagged as being a possible duplicate question of another question, but that other question was for 2.8 NOT 2.9. I am looking for the feature in 2.9  This image above is what I see when I click the options drop down menu


Coming from a "No Name" University outside the US, what are my chances for admission

Background Information            I would soon be graduating with an engineering degree from a "no name" university somewhere in Nigeria. My performance during my degree was above average. I am hoping to apply for a PhD program in US. The professors with whom I interact with regularly (with PhD's from schools in the US), have been giving me a resounding warning about applying to schools that clearly do not want and will never admit me because of the school's unpopularity and country of origin. One particular professor told me that Bachelor's degrees from this part of the world are not at all trusted and treated with disdain. I know lot's of schools encourage everybody to apply, but the exchange rates are not friendly, and I don't want to burn the scarce resources I have QUESTIONS 1. Does country of undergraduate study matter to the graduate admissions committee? 2. Do schools in the US give off hints that applicants from certain backgrounds need not apply? 3. With the difference in educational standards, do I stand a chance at all, even if i find a school willing to admit me?


How can I lock a file using java (if possible)

I have a Java process that opens a file using a FileReader. How can I prevent another (Java) process from opening this file, or at least notify that second process that the file is already opened? Does this automatically make the second process get an exception if the file is open (which solves my problem) or do I have to explicitly open it in the first process with some sort of flag or argument? To clarify: I have a Java app that lists a folder and opens each file in the listing for processing it. It processes each file after the other. The processing of each file consists of reading it and doing some calculations based on the contents and it takes about 2 minutes. I also have another Java app that does the same thing but instead writes on the file. What I want is to be able to run these apps at the same time so the scenario goes like this. ReadApp lists the folder and finds files A, B, C. It opens file A and starts the reading. WriteApp lists the folder and finds files A, B, C. It opens file A, sees that is is open (by an exception or whatever way) and goes to file B. ReadApp finishes file A and continues to B. It sees that it is open and continues to C. It is crucial that WriteApp doesn't write while ReadApp is reading the same file or vice versa. They are different processes.


Install Windows Defender on Windows Server 2012

I've been trying to install the Microsoft anti-virus but Microsoft Security Essentials does not work and I can't find Defender to install.  From what I know you CAN NOT use Microsoft Security Essentials with Windows 8/Server 2012. I've done some searching for Windows Defender Download but I can't fine a link anywhere. How can I get this installed?


How do I unock my LVM Partition so I can resize /boot?

So I have 2 partitions, one of which is /boot and the other is everything else in an LVM logical volume.  Problem is I'm getting warnings about how much space is on /boot. Warnings are increasingly frequent so I figured I better resize. I made a boot disk, specifically gparted live with tuxboot. It works fine but I can't get the volume to resize.  I can see the logical volume and I can deactivate it but this does not seem to allow any resizing.  I note the logical partition is yellow and the boot partition is only partly yellow. Does this mean it's full? ...because it's not. Clues??  Thanks


We have 25 stones in a bag. Some stones are black and the rest are white. We select 2 stones in a row, one after the other, without repositioning. If the probability of choosing two stones of the same color is equal to the probability of choosing two stones of different colors, find how many black stones are in the bag. I figured out this is a combinations problems with C(25,2) different pairs of stones but I face difficulty in expressing the total of different pairs of the same color stones. I would appreciate your guidance. Thank you very much in advance.


Prove Inverses not need be Unique if Associativity fails

Let $M=\{x, y, z\}$ be a set and let $\circ$ be a binary operation on $M$ such that the identity element is $x$ and $y \circ y = x = y \circ z$. Prove that inverses need not be unique if associativity fails given the multiplication table below.  $x \circ x = x, x \circ y = y, x \circ z = z$  $y \circ x = y, y \circ y = x, y \circ z = x$  $z \circ x = z, z \circ y = x, z \circ z = x$


List of migration sites should be dynamic, based on reputation at destination

The list of migration options when closing as off-topic should be dynamically generated, based upon how much reputation the user has on the destination site. If they have none, then the only option would be to the child meta.  Currently the migration list is a fixed set of Stack sites where the question can be moved. Migration to other sites is possible only by voting to close (or flagging into the review queues).  This is OK and it makes sense.  However, if the user wants to migrate a question to another site already and has some reputation level (e.g. 300) on the target site (e.g. unix.stackexchange.com), this site should an option on the list.  This will guarantee that user has knowledge of the target site's topic and/or scope.  The other current issue is that right now the list is static, even if the question wouldn't belong on any of the options.  Current situation  Anyone who reaches vote to close level can vote to move without any knowledge to a set of sites.    Proposed - Not enough reputation on any target sites  As you can see, user still may mark question as off-topic, but can not vote to move. Also important thing is .    And - reputation requirements reached on two sites  The per site meta should be always there, but if the question is technically specific, again, can end up in the wrong place.


I just encountered  and quality of the audit itself aside, the rep of the user more or less invalidated the audit before I even had to read the answer. I know audits are suppose to be a "gotcha" thing and is just meant to punish robo-reviewers but having the rep/badge count displayed is a dead giveaway. A reviewer can just take a look at the rep/badge count and if it does not look like a new account, >100 rep, silver or gold badges, then it is for sure an audit; not to mention audits with a deleted account. Since the up/downvote count is hidden for an audit, I hope it would not be a difficult change to hide the rep/badge count as well.


What is wrong with this proof that the power set of natural numbers is countable?

I came up with a proof that the power set of natural numbers is countable, which obviously must be a wrong proof.  Here is a procedure to create a one-on-one correspondence between the natural numbers and the elements of its power set.  Starting with the power-set-element-counter k = 1. Go through all the natural numbers x in order (x = 1, x=2, etc), and for each x do the following:   Denote P(x) to be the set of all subsets of the set of natural numbers up to x: P(x) = Power{1,...,x}. Denote P*(x) to be the the set of elements of P(x), excluding the elements in P(x-1).  P*(x) is finite, since the cardinality of a power set of a finite set is also finite. Denote the cardinality of P*(x) as "c". Hence we can pair the natural numbers, starting with k, to each of the elements in P*(x). After each pair that is paired, increment k = k+1. in the end, k will be incremented by c.  set x = x+1, and start the cycle over again.   This cycle should produce a bijection between the natural numbers and the elements of the power set of natural numbers. What is wrong with this proof?


Playing around in my system, I stumbled upon  ~$ echo $XDG_DATA_DIRS /usr/share/ubuntustudio:/usr/share/xfce4:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share   Asking myself why /usr/share is twice in the path I found out that the following snippet in /etc/alternatinves/x-session-manager which is a link to /usr/bin/startxfce4 is responsible:    #!/bin/sh . . . if test "x$XDG_DATA_DIRS" = "x" then   if test "x/usr/share" = "x/usr/local/share" -o "x/usr/share" = "x/usr/share"; then     XDG_DATA_DIRS="/usr/local/share:/usr/share"   else     XDG_DATA_DIRS="/usr/share:/usr/local/share:/usr/share"   fi else   XDG_DATA_DIRS="$XDG_DATA_DIRS:/usr/share" fi export XDG_DATA_DIRS . . .   When I look at the line  if test "x/usr/share" = "x/usr/local/share" -o "x/usr/share" = "x/usr/share"; then   I have difficulties to understand this if-statement, for me it looks like a comparison of strings where the first one is always false and the second one is always true.  Combined with a logical or the test always evaluates to true, so I could shorten the line to  if true; then or I could say I don't need an if-statement at all.  Where is my mistake? Or is it written like this to confuse beginners like me?


make the video on the center of the page

how can i make the video on my website on the center of the page ??      .wp-video-shortcode video, video.wp-video-shortcode {     max-width: 100%;     display: inline-block; } .mejs-mediaelement {     position: absolute;     top: 0;     left: 0;     width: 100%;     height: 100%; }


How to convert 2-dimensional double array from 2-dimensional Integer array in Java

I am trying to create a utility function to create a 2-dimensional array of doubles out of a 2-dimensional array of Integers (which is created from deeplearning4j's KerasTokenizer's textsToSequences(String[] texts) method). I created the method below but keep getting NullPointerExceptions at line 111 (doubles[i][j] = list.get(j);). How can I change my method or create a new one to fix this problem? public static double[][] integerToDoubleArray(Integer[][] integers) {         double[][] doubles = new double[integers.length][];         for (int i = 0; i < integers.length; i++) {             List<Integer> list = Arrays.asList(integers[i]);             for (int j = 0; j < list.size(); j++) {                 doubles[i][j] = list.get(j);             }         }         return doubles;     }  I call it using the following method with the following API:  private static double[][] encodeSequences(KerasTokenizer tokenizer, int length, ArrayList<String> sentences) {         return integerToDoubleArray(tokenizer.textsToSequences(arraylistToArray(sentences)));     }


Debian workaround 838871: dhcp network configuration without blocking boot process

Is there a workaround for ?  Problem: I want to have a network configuration on Debian with the following properties:   Automatically ifup network interface when a cable is plugged in boots without blocking for a long time when no cable is connected on boot not switching my init system   The standard way to do this would be the following snippet in /etc/network/interfaces:  allow-hotplug eth0 iface eth0 inet dhcp   However, this leads to the problem described in the linked bug report: The boot process blocks for >1min when no network cable is plugged in with the following message:  configuring network interfaces... ifup: waiting for lock on /run/network/ifstate.eth0   A workaround given in  seems to be changing allow-hotplug to auto:  auto eth0 iface eth0 inet dhcp   This effectively makes the boot blocking message disappear, however, the system now blocks right before a login prompt is shown at tty1. This time dhclient is blocking because it tries to get a dhcp reply on eth0, which is not connected, and waits for several attempts to timeout. The login prompt only appears after the dhclient timeouts.  For users with a graphical DE, this might not be a problem, as they don't need to log in on tty1, instead their DE boots and they never see the dhclient message.  Another workaround would probably be to use network-manager. Ideally, I would prefer to not use networkmanager, but as a last resort, I tried that. However, on Debian buster, network-manager's dependency chain conflicts with sysvinit-core, which is my init system.  The last alternative which comes to my mind is to not configure eth0 in interfaces(5). This makes all boot blocks go away, however, I need to manually ifup eth0 after plugging in an ethernet cable.  Any better ideas?  UPDATE: To address the quote from @sourcejedi, "allow-hotplug" is specified to "start interface  when the kernel detects a hotplug event from the interface" in the Debian docs under . Related questions:  and


I often find myself wishing SO supported drag and drop. For example I drag a tag to my favs and it would add it, or when searching by tag I would like to drag the tag to the search box and get [asp.net] added in the search box.   Does it make sense to add this feature or is it just too much work for so little use?


Why is it said that AES is unbreakable? Brute force attacks would take years to crack it, so is it possible to crack it if the computational speed of machines increase in the following decade?


TeXnicCenter Finnish Spelling, how to use a new language/spelling

I am using TeXnicCenter for writing LaTeX documents. Unfortunately, when I am writing in Finnish as I usually do, there is no spell checker in Finnish in TeXnicCenter. All the lines are underlined in red, and this is not nice. I know that there is Voikko for Finnish spell checking in LibreOffice, but is it possible to apply Voikko for TeXnicCenter? TeXnicCenter is using Hunspell; I downloaded the voikko-laaja.oxt file but I could not find in this package any files with .aff and .dic suffices.


Is it possible to run commands from spotlight?

I run commands in terminal a lot and i'm wondering if it is possible to run the commands from spotlight. For example in spotlight  would like to run the command(because i have a lot of network issues):   ping google.com   And then spotlight to load terminal and execute the command instead of having to load terminal because it takes so long to load. So is this possible?


Squeezing table of contents without hard coding the vertical space or the font

I have a table of contents that is 1 page+1 line long. I would like to squeeze it into one page only.  I know I could add a line to the page (although how?) or to reduce the font size or the space between lines but I would prefer a more general solution. Something I will be able to use also in the future if, say, I will have a situation of 1page+2lines.  Below is what I get now:      EDIT  The question was put on hold. I am not searching for any of the solutions in the suggested link, what I am searching for is a dynamical way of fixing ToC in one page. The accepted solution in the link reduces the vertical space between chapter ToC entries from 1.0em to 0.8em. And it works for one line. I am searching for a general way of adjusting ToC in one page, that will work without me hard coding the vertical space; that is, have TeX calculate the necessary space to shrink by so that the contents are flush with the top and bottom margins.


I have troubles with solving an equation $$z^3+z+1=0$$ in complex numbers. I know that in real numbers we can use Cardano's formula and it's clear to me. But what about the situation when $z \in \mathbb{C}$?


Force PC to use HTTP instead HTTPS on pages like Facebook or Google

Is this possible? I know plugin for Firefox "HTTPS Everywhere", but i need opposite of it.  Thank for answers.


gets error when in insert statement comes symbol like '

i have simple page which takes comment from user and add it to database. it even works good whenever there is plane comment of user. but when users comment contains symbol like ' this it shows error. plz help  code is:---  $title=$_POST['title'];  $message=$_POST['message'];  $message=htmlspecialchars($message); mysqli_query($conn,"insert into  diary(no,datetime,title,mydiary)values(null,now(),'$title','$message')");   and error when comment contains symbol '   Error description: You have an error in your SQL syntax; check the manual  that corresponds to your MySQL server version for the right syntax to use   near 'th')' at line 1


Why does this tabularx table ignore my width parameter?

I can't set my tabularx table \textwidth wide. I code this:  \begin{tabularx}{\textwidth}{l|X} \hline  \verb|bla bla bla | & fubar fubar fubar \\ \hline     \verb|bla bla bla| & fubar fubar fubar \\ \hline     \verb|bla bla bla| & fubar fubar fubar \\ \hline     \verb|bla bla bla| & fubar fubar fubar \\ \hline\\ end{tabularx}   and the output is:    I'm following the manual. What am I doing wrong?


The working of $\dim(\ker(X))$ in a square matrix

Does a square matrix $X \in\Bbb R^{n\times n}$ always follow that $\dim(\ker(X)) = \dim(\ker(X^T))$? I know it works for a sizable amount, but I am not sure if it works for all of them, is there a way to prove this either way?


How to set full disc encryption on ubuntu server after OS installation is complete?

I have a machine running ubuntu server with nextcloud. At first I installed ubuntu server just for learning purposes, but the server worked just perfectly. Now I want to encrypt my full disc and the only way I know how to do it is in the middle of the OS instalation process. Is there a way to encrypt my entire hard drive through terminal commands? If so, how?


Why is it that I cannot imagine a tesseract?

I try hard to "visualise" (say "imagine") a tesseract but I can't.  Why is it that I can't?    This may be a question for a scholar of some other discipline and not for a mathematician, e.g. psychology (topic: cognition?), anthropology, etc., but I am sure it is well defined and answerable as a question.   It could be answered with a definition of what I can imagine or the definition of what I can't imagine and why, for example.  There may be some fundamental property of our geometry that limits what we can represent so the question may be interpreted mathematically... anyway I think it is not a question to bounce without any thought.   Specifically: what is missing for me to be able to imagine a tesseract? Understanding? A different kind of brain, that processes information in a different way?  Can a top mathematician visualise a tesseract? I am not inviting a discussion, which would be off-topic. I am soliciting a thoughtful and articulate answer, if possible.  Note:  I already saw this question:    and this video:    already read this link:    and I have studied calculus-level maths, etc. and I found no difficulty in reasoning about imaginary numbers, infinite quantities and/or series, demonstrations ad absurdum, etc.    I would be really disappointed if this question were marked as "not constructive", or anything to that effect. I can accept it may be "off topic" because it may relate to how our brain visualises and not some mathematical property that prevents visualisation, but it really should not be considered as "not-constructive". It would actually help me so much to understand this conundrum...


I have the following problem. Prove by definition that the sequence  $r_{n}=\frac{1}{1}-\frac{1}{3}+\frac{1}{5}-\frac{1}{7}+...+\frac{(-1)^{n}}{2n+1}$  Is a Cauchy sequence.  I think I almost have it, but I have not been able to conclude anything of a series of inequalities that I obtained and I would like you to give me some advice or if I have an error or what I lack to conclude.  What I have is:  Sup. $n>m$  $|r_{n}-r_{m}|=|\sum_{k=m+1}^{n} \frac{(-1)^{k}}{2k+1}|\leq\sum_{k=m+1}^{n} \frac{1}{2k+1}<\sum_{k=m+1}^{n} \frac{1}{k}$   But from there I don't know what else to conclude


Use of \relax after \ifnum ... \fi construction

I'm reading Malcolm Clark's A Plain TeX Primer. On page 111 there's an exercise to define a macro that prints the current time. I've reproduced Clark's answer below:  \newcount\minleft \newcount\timehour \def\thetime{\timehour=\time   \divide\timehour by60 %gives 24 hour part of clock   \minleft=\timehour   \multiply\minleft by-60 %   \advance\minleft by\time    %minutes after hour   \ifnum\time>720\advance\timehour by-12\fi\relax   \number\timehour:\ifnum\minleft<10 %                    0\fi\relax\number\minleft   \ifnum\time>720~p.m.\else~a.m.\fi}   My problem is that I don't know what \relax is doing in lines 8 and 10 (after each \fi). When I use this macro, it prints the time as it's supposed to:  8:51 p.m.  If I delete the \relax in line 8, I get the time but with the hour missing:  :51 p.m.  If I delete the \relax in line 10 (and restore the \relax in line 8), the macro works again like it did the first time:  8:51 p.m.  I naively thought that the \fi that ends the \ifnum block ends the processing of whatever's going on in the \ifnum ... \fi, and that it wouldn't matter whether \relax is there or not, in either place. Clearly that's not the case, but I can't figure out what's happening in line 8, and also why the \relax doesn't seem to be necessary in line 10.  In a different context the author does explain that \relax is a "do nothing" command that (in this other context) prevents TeX from treating the expression before the \relax and after the \relax parts of the same expression. I get that. But concerning \relax after an \fi, he says:  "The \relax is probably not required, but it's always nice to have one in: perhaps an example of 'safe TeX'."  This might be good advice, but it is not enlightening.  I found the following questions about \relax on tex.se, but I don't think they answer my question (or at least I'm not smart enough to figure it out):          So, what is \relax actually doing in this macro?


I have an Android Version 4.04 ICS on my Samsung Galaxy S Duos phone, how do I upgrade to version 4.1 as I am aware it is possible, did try to Google, but in vain as I did not find satisfactory answers. Is it possible to use the Debugging Mode to upgrade the version. Thanks in advance


Wheel Diameter: 64cm/25 inch what does this mean? I'm thinking of buying a new bike. but Ive never heard of 25 in wheels. Or is the 64cm a 700c. I've only had 26 in up till now and my knowledge in the cm is next to none. can anyone help me please?


How to tell if a tire should be replaced?

I don’t know how old this tire is. There are small cracks along the sides. In the inside the rubber coating is stripping and peeling. Is this tire still usable? Air has been going out of my tube rapidly lately, in about a day, but I’m not sure it’s from a puncture, maybe a bad valve.


Where should I ask for opinions regarding different potential solutions to a programming problem?

I'm about to implement a complex feature with a bunch of things that can go wrong. Is there a Stack Exchange site where I can describe my problem and a couple of my ideas to solving it?


If $R$ is a Boolean ring which is in fact a field, then it must be isomorphic to $\mathbb Z / 2 \mathbb Z$

Suppose $R$ is a Boolean ring ($\forall r \in R, r^2 =r$) which is in fact a field.  Show it then must be isomorphic to $\mathbb Z / 2 \mathbb Z$.   I already managed to show that every Boolean ring is commutative and that it has characteristic two. $\forall r \in R$ we have $r+r=0$. By a theorem 6 chapters ahead, we can already  say that  $R \cong \mathbb Z / 2 \mathbb Z. $ ( classification of finite fields). I am however not really allowed to use this yet. I cannot really construct an isomorphism if I can't describe it. How would I construct this?  To construct an isomorphism I think I need to show that $|R|=2$. So far I am not really allowed to use any characterisation theorems yet.


What's the best practice for naming LaTeX files?  I know R, Matlab, and Java all differ in their use of ., _, -, camel case, capitalization, etc. What do people generally use for naming LaTeX files? Is this easily portable across systems?  I remember having a HUGE problem interpreting a Matlab program of mine. Turned out that I had named the file in a way that Matlab couldn't handle. To avoid such issues in the future, I'd just like to start naming my LaTeX files using best practices.


Find out date and or number of error logs xp_readerrorlog

I have some code to help automate checking the error logs daily on our SQL Server.  This code calls xp_readerrorlog 0 to check the error log, and xp_readerrorlog 0,1 to check the SQL Server log.  Sometimes, however, there is more than one error log I need to scan.    I would like to be able to see, by T-SQL, the date of the log or, barring that, find the number of logs that exist.  I read that we can have up to 99 archive logs, but the server throws the following error message when trying to display an error log that doesn't exist.  "xp_readerrorlog() returned error 2, 'The system cannot find the file specified."  I know the date information and number exists since SSMS displays it( see the image below.)


Harddrive used up in gparted, after fresh install of 13.10  I have just installed Ubuntu 13.10 on an old HP computer which ran on Xp. On installing Ubuntu first through memory pen and later reinstalled by disk, by computer is really slow. You can se the process of a window closing in 10 secounds before its finished.  I did top in terminal and saw that Compiz was taking all resources and I tried to mend that, but now think that the graphic card driver is a dead end.   I saw later that there is something wrong in the partition and disk use.  In Gparted the whole disk is used, but not in real life(se picture)  I am no able to resize the partitions and have no clue what to do.  Can anybody point me in the right direction.  the image below shows the disk situation


I would like to do this (1) in big size ? is it possible?

I would like to do this (1) in big size using latex (a one surrounded by a circle)      is it possible without including the picture ?


How can I find Python structured faces and vertices of a blender object?

I am new to Blender and would like som help to extract Blender mesh information, such as faces and vertices so I can use it in my Python project. I have found a video () showing how to create objects in blender from Python code, and this is also the mesh structure I would like to use, e.g.  verts = [(0,0,0), (0,5,0), (5,5,0), (5,0,0), (0,0,5), (0,5,5), (5,5,5), (5,0,5)] faces = [(0,1,2,3), (7,6,5,4), (0,4,5,1), (1,5,6,2), (2,6,7,3), (3,7,4,0)]   However, I would like to do it the other way around. First create a 3D object in blender, and then extract the mesh information to Python.  Can you help me?


Can't install virtual interpreter in PyCharm in Linux

When I try to add virtualenv as an interpreter in PyCharm Community 2018.1.2 in Kubuntu 18.04 I get the following error:  ModuleNotFoundError: No module named 'distutils.core'    How can I solve this?


Does somebody know if there is something like/similar to the typical Windows chkdsk or scandisk utilities (to check NTFS drives, of course) into Linux (Ubuntu)?  Which? Where? How?


I'm going to do my best to outline our current setup and our plan and hopefully you guy can assist in the best possible setup.  We have two offices (A and B).  Each office has about 10-15 systems.  3 systems in each office are attached directly (usb) to a printer.    Each office has a decent line with more than capable bandwidth.  Maybe I should be using VPN routers?  We have a powerful server (2012 r2) in a seperate NYC data-center with a full gigabit connection.  Due to having multiple locations needing to access the same software, we have setup a remote desktop services / domain controller on that system.  It also serves as a VPN server.  The office systems are all connected individually to the VPN server and assigned a static IP address (192.168.50.2-254).  The systems with printers attached in each office have the printer shared over the VPN.  The printers are then deployed using gpedit to all the users.    The printing however is extremely slow.  Test pages tend to freeze for a good 30 seconds before spooling.  Then it takes another 30-40 seconds to finish spooling and send it off to the printer.  We have another similar setup where we used server 2008 and it does not have this same problem.  Does anyone have any idea what could be getting in it's way?  Is there an alternate setup I should consider?


Ubuntu 14.04 in lenovo g700 can't detect any wireless networks?

I have a new Lenovo g700 notebook, and just installed Ubuntu 14.04 , but it seems not to be able to configure or list the wireless networks, How can i solve this problem :\  Any advice will greatly appreciated, regards  trying lspci -nn| grep 0280  gives back:  02:00.0 Network controller [0280]:broadcom Corporation BCM43142 802.11b/g/n [14e4:4365](rev 01)


How do I write this symbol (showed in picture, upright angle in math mode, not 180 rotated "A")


Data from the Stack Exchange Data Explorer is obsolete

I was querying data from  using a LINQ query in LINQPAD and found that the data I got back is quite obsolete. I searched for Shekhar-Pro (me) by using a where clause on ID 399722 and the data returned was for 8 Jan 2011. Why was the data so old? Isn't the data updated in real time, or at least frequently? If not, where can I get realtime data?


French string not stored proper in mysql database

I am trying to store french string in mysql DB but it not get proper stored and changed some characters and not get display proper in my webpage  Original string: Bonjour Mr/Mme « Nom de famille du prospect », je suis « votre prénom » d’Europ Assistance La Téléassistance…   Stored string : Bonjour Mr/Mme Â« Nom de famille du prospect Â», je suis Â« votre prÃ©nom Â» dâ€™Europ Assistance La TÃ©lÃ©assistanceâ€¦   I have tried with many solutions   header('Content-Type: text/html; charset=UTF-8');,  Collation is utf8_unicode_ci,  Used SET NAMES UTF8,  tried mysqli_set_charset($conn,"utf8") when select from DB,  Also tried with ISO-8859-1   Also tried many HTML functions but did not work character_set_name is utf-8  character_set_name is utf-8


If supervisor has no expertise in your research work, is it possible to do a PhD under that supervisor?

In my PhD, I am assigned mathematical modeling topics and my supervisor's work is related to mathematical biology. But I don't want to work in mathematical biology. Because actually there is not so much real application of that and I don't like biology. Instead, I want to work in fluid dynamics. But my supervisor's research area is totally different. Is it possible  to do independent research work without supervision of supervisor?


Quick question to anyone who has used this LaTeX template:    Any ideas on how to change the left margin to get more words onto one page?


I am looking into using TikZ to represent pitch patterns over a phrase or sentence (intonation).  I've got it to produce some useful results, already, as in the attached MWE (although in 1.1 the baselines don't seem to level up).  %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode \documentclass[a4paper,12pt, oneside]{article}  \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase} \setmainfont{Charis SIL}  \usepackage{tikz}  \begin{document}  \section{Marking intonation using TikZ}  \subsection{Setting words on different levels}  \begin{table}[hbtp] \begin{tabular}{ll} \cline{1-1} \noalign{\smallskip} \tikz[x=1mm,y=1mm,baseline=12] \draw (0,10) node {\underline{Where}} (10,2) node {are} (20,2) node {you} (30,6) node {\underline{go}} (40,0) node{ing?}; & \textit{neutral/default - stress represented by underlining}\\ \cline{1-1} \noalign{\smallskip} \tikz[x=1mm,y=1mm,baseline=12] \draw (0,0) node {Where} (10,10) node {\underline{are}} (20,5) node {you} (30,2) node {go} (40,0) node{ing?}; & \textit{ e.g. in response to ``I'm not going to the shops after all.''}\\ \cline{1-1} \end{tabular} \end{table}  Why do ``are'' and ``you'' in the first example appear on slightly different levels, even though they are both set to 1mm on the y axis?  Likewise for ``where'' and ``ing'' in the second example.  I'm not sure I'm using ``baseline'' properly here!  \subsection{As above, but boxed}  \begin{tikzpicture} \node[draw] at (0,1) {\underline{Where}}; \node[draw] at (1,0.1) {are}; \node[draw] at (2,0.1) {you}; \node[draw] at (3,0.6) {\underline{go}}; \node[draw] at (4,0) {ing?}; \end{tikzpicture}\ Still have to figure out the difference between ``\textbackslash draw node'' and ``\textbackslash node[draw]''!  \subsection{Graphical contour}  \begin{table}[hbtp] \begin{tabular}{l} \tikz[x=1mm,y=1mm,rounded corners=2mm] \draw[very thick, gray](0,10)--(10,2)--(20,2){[red]--(30,6)--(40,0)}; \\ Where are you~~~going? \end{tabular} \end{table}  \begin{table}[hbtp] \begin{tabular}{l} \tikz[x=1mm,y=1mm,rounded corners=2mm] \draw[very thick, gray](0,10)--(12,2)--(23,2){[red]--(26,6)--(35,0)}; \\ Where are you going? \end{tabular} \end{table}  This is preferable to setting the individual words on different levels, but requires trial and error in (i) matching the length of the whole contour to the utterance, and (ii) spreading the parts of the contour to match the words of the utterance, either by spacing the words (first example) or adjusting the contour points (second example).  \end{document}   However, my main query is whether anyone has a method for dealing with the issue in 1.3.  This involves trial-and-error in fitting the contour to the words, and I was wondering if there is any way to somehow anchor particular contour coordinates to particular syllables.  I know that lines can be attached to nodes, but I haven't been able to find a way of getting the lines to "float" above the nodes.  Any suggestions for allowing a line of text to be marked with anchor points as it is typed, with the contour then being drawn between these?


I am looking for some common questions used to ask about a person's birth order in their family (to ask if he/she is first, second, third, etc. child). Do the following questions sound natural? Where do you come in your family? How-manyth child are you in your family?  Are there any other alternatives?


I have heard people say that you can't (or shouldn't) use the L'Hopital's rule to calculate $\lim\limits_{x\to 0}\frac{\sin x}x=\lim\limits_{x\to 0}\cos x=1$, because the result $\frac d{dx}\sin x=\cos x$ is derived by using that limit.  But is that opinion justified? Why should I be vary of applying L'Hopital's rule to that limit?  I don't see any problem with it. The sine function fulfills the conditions of the L'Hopital's  rule.  Also, it is a fact that the derivative of sine is cosine, no matter how we proved it. Certainly there is a way to prove $\frac d{dx}\sin x=\cos x$ without using the said limit (if someone knows how, they can post it) so we don't even have any circular logic. Even if there isn't,  $\frac d{dx}\sin x=\cos x$ was proven sometime without referencing the L'Hopital's rule so we know it is true. Why wouldn't we then freely apply the L'Hopital's rule to $\frac {\sin x}x$?  PS I'm not saying that this is the best method to derive the limit or anything, but that I don't understand why it is so frowned upon and often considered invalid.


How to concatenate and transverse query in SQL Server?

I would like to change the output of this query, into the second snippet with less rows:  id   row_id   element_id    container_id   text              answer -------------------------------------------------------------------- 1      1        10          100            Question1:         Yes 1      1        10          100            Did you check...   Yes 1      2        10          100            Question2:         Yes 1      2        10          100            Did you verify...  Yes   Desired output:  id  row_id element_id container_id   Question                         answer ---------------------------------------------------------------------------- 1   1       10          100          Question1: Did you check..        Yes 1   2       10          100          Question2: Did you verify...      Yes   Therefore making the table shorter. I know this can be done in MySQL with a group_concat function, but I was not able to apply it correctly to my need.   Any help would be great.  Thank you


If the universe is infinite, should there be a duplicate of me with probability 1?

I was just wondering: if the universe is really infinite, and there is a certain probability to find a life form just like me on another planet (for example $1.0 \cdot 10^{-150}$), is it therefore certain that a life form exists which exactly looks like me at this moment?  You could think: $\text{very-small-number} \cdot \infty >1$  Just interested on your thoughts on this.  Any help is appreciated.


Should I ask a recommendation letter from a supervisor with whom I had sometimes difficult time working with?

I will be applying for PhD positions in the UK. I have three years of previous research experience, and I worked with four professors who could write me recommendation letters.  I will be applying to many schools, so I would like to ask a recommendation letter from all of the professors.  My other primary advisor came from a different culture, and it was occasionally very difficult to work with him. He was sometimes very upset, and so was I, but things never escalated into anything horrible. He moved away about 1.5 years ago; we departed in good spirit. I have been contact with him after that. It is difficult to guess how he sees things at the moment. I appreciate him in many ways but I don't know if he knows that. I think he is a good person.  Should I ask a recommendation letter from him? Most schools ask for 2-3 recommendation letters, so I would not send it to every place I apply to.  (Academically, my performance is very good. I have received big prizes, have a good publication record, etc.)


To make beef stew, I start by simmering a chopped onion, add cut up top round beef, add water, and bring to a boil. In about 15 minutes, millions of bits of horrible looking gunk appear in the water.  Picture below.  What am I doing wrong?


Unable to install nvidia driver - kernel error

I have a toshiba tecra M2 laptop. It has the nvidia geforce FX go5200 graphics in it.  To install its driver I went here to download the correct display driver for my device:   Then followed this guide step by step to install my driver:   But I am given the error:      error: unable to build the nvidia kernel module.   I would appreciate some help. I want to install this legacy driver as I am getting problems while streaming videos and think maybe this driver fixes it.  edit:  the possible duplicate question is for installing the latest nvidia driver, I want to install this specific legacy driver as my card is no longer supported


User profile 'Reputation' section answer's colour is wrong

^^On , the box for this specific question is coloured green, which means my answer is accepted... but it isn't.  Is this a bug? If it is, I guess the system makes bounties (which I just received) act as being accepted?


How to safely remove Windows from EFI (and GRUB)

I can find a lot of information on the opposite (removing Ubuntu from a dual boot) but not how to remove Windows from a dual boot. I did this once before and then I just deleted the whole EFI partition, however, that was a bad decision (also couldn't boot Ubuntu because it was installed in UEFI mode) and in the end I had to do a clean install.  So what I did now is removing the NTFS partition and keep the EFI partition intact. However the Windows Boot Manager still shows up in GRUB, but of course gives an error when selected.  So I thought an update-grub might solve it, but it says:  Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.4.0-24-generic Found initrd image: /boot/initrd.img-4.4.0-24-generic Found linux image: /boot/vmlinuz-4.4.0-22-generic Found initrd image: /boot/initrd.img-4.4.0-22-generic Found linux image: /boot/vmlinuz-4.4.0-21-generic Found initrd image: /boot/initrd.img-4.4.0-21-generic Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi Adding boot menu entry for EFI firmware configuration done   So how do I get rid of this Windows Boot Manager entry in EFI? I tried to use efibootmgr as suggested by  but update-grub keeps picking it up and when I reboot and run efibootmgr again the entry is back...


I need some help in relation to this exercise    "Prove that if a normal subgroup $H$ of $ G$ has index $n$, then $g^n \in H$ for all $g \in G$."  I'm not allowed to use quotient groups in the proof, because the exercise is in the chapter before.   I tried by induction on $n$. The case $n=1,n=2$ are obvious, but even  the case $n=3$ is giving me trouble so I give up studying the general case of the inductive step.  My other approach was studying left or right coset of $G$. But I only proved that if $g \in aH$ then $g^2 \notin aH$ if $a \notin H$, and I can't find a way to demonstrate that $g^n \in H$. (my starting idea was to prove that every power of $g$ is in a different coset but then I realize that in this way I don't handle several case, for example $g$ has period strictly lesser than $n$ and in conclusion it doesn't prove the exercise)  Maybe I'm missing something about indexes, and this is why I asked here for some help,  (I can't use quotient groups because they are introduced later than this exercise, forgot to add this info in the beginning) Thanks in advance :)


There is already a question and good answer in place about dropping quests:   But Hearthstone has added new  and I'm not certain whether to drop them.  If I were to drop a 50 gold quests is it more likely that I would get a quest worth less gold, or more gold/a pack?


Which has better performance?Accesing global variable directly from a function or assigning it to another variable?

Here I have two examples of accessing global variables; basic example of my global variable   globalVar:any={  a:5,  b:3,  c:4 }   Ex.1  function accesVar(){  return this.globalVar.a*=2 }   Ex.2   function accesVar(){     let _var=this.globalVar.a;     return _var*=2     }   In this example global variable doesnt seem a good practise and I dont use them when I dont need to share  variables with more than one function.Considering in general and real world(much bigger data),which would be best approach and has better performance?


I somehow managed to lose the materials tab in Blender. It now looks like this. It's my first time using it, so maybe I'm just being stupid. Also the other bars have somehow duplicated and I don't know how to fix it


I have to prove that $$A-A(A+B)^{-1}A=B-B(A+B)^{-1}B$$ and I don't know how to start. The only thing that is known is $A+B$ is nonsingular. Can someone help me to prove this?


Is this a scratch or dust in my Nikon D3200 Viewfinder?

I recently bought a refurbished Nikon D3200 DSLR and saw this speck in the viewfinder.  My question: is it just dust or a scratch?  (This does not effect my photos- just the viewfinder.)


When is "z" pronounced "zee" and when "zed"?  From what I found out "zee" is AmE and "zed" is BrE. And in abbreviations the letter is always pronounced "zee" like in LZ (landing zone).


An art gallery has the shape of a simple $n$-gon. Find the minimum number of watchmen needed to survey the building, no matter how complicated its shape be.  I failed to solve the problem. Please help in details.


Creating a Bridged Network Connection in Terminal

Okay, I'm struggling a bit here. I'm not all that good with Terminal and sorting out network issues using it but I've managed to scrape by so far.  Without using Internet Sharing (because controlling that via Terminal as per  doesn't actually seem to work in Yosemite) how can I share my internet connection from one interface (lets say en0) to another (again, lets say en1)?  I kind of understand that Internet Sharing creates a bridge (usually called bridge100) and then uses bootpd (I think) to establish a DHCP server and NAT to route all traffic from 192.168.2.xxx (which is the bridged network) through to your primary network.  How can I get the same result without using the Sharing pref pane?


Proving 2 sets have the same cardinality

I need to prove that these two sets have the same cardinality: $$\mathbb{R}^\mathbb{N}$$ and:  $$\mathcal{P}( \mathbb{N})$$    I thought about using these known facts: If $A,B,C$ sets then:  1. $A^{B^ {~C}} \sim A^{B \times C}$  2. If $B$ and $C$ are disjoint then $A^B \times A^C \sim A^{B~ \cup ~C}$    But I am stuck on that proof.. I tried to set: $A = \mathbb{R}$ , $B = \mathbb{N}$ , and $C = \{0\}$  and to use the known facts above while using $|A^B| = |A|^{|B|}$  I would appreciate your help, thank you!


I create a document in overleaf and i need to have PDF, DVI and PS formats of thet document. PDF got, for DVI I had to change compiler to LaTeX, but I do not see PS file there. How can I get that format? All my graphics are in .eps format.


What language is the Ubuntu Software Center written in?

Just been wondering, since elementary AppCenter is written with Vala and Gtk+3.  Also, what GUI wrapper does it use?


Why does draggable not work for dynamically created elements?

My draggable elements are created dynamically. every time I add an item, I call draggable() again. They get draggable classes, but don't drag.  When writing draggable to the debug console, it successfully works with non-dynamic elements.  $(window).on('load', function () {     var item = '

';     $field.append(item);     dragItems();  });  function dragItems() {     var $items = $('.item');      $items.draggable();  }   In the inspector, I see that the drag classes are created, but the movement does not occur.


Preventing misuse of question self-deletion

Users have the ability to self-delete their questions, as long as no upvoted answer exists. There are two major patterns of misuse of the ability to delete your own questions:   Deleting a question immediately after it was answered, the answer has not enough time to receive an upvote and prevent deletion. Deleting closed or heavily downvoted questions and reasking them mostly unchanged.   These patterns are harmful to the community as they can delete useful content or hide that a user is reasking a bad question multiple times. The only mechanisms against these currently are the automatic question ban and manual intervention of users that observe these patterns.  I'm proposing some new methods or adjustments of existing ones to prevent these harmful self-deletion patterns:  To prevent the immediate deletion of questions after they are answered, there are two possible solutions:   Only allow deletion after a specific delay from the creation time of the answer, so that the answer has enough time to receive some votes and the associated protection from deletion. Prohibit deletion of questions with answers of a non-negative score. This would immediately protect questions that were just answered and still allow deletion if the answer is downvoted. Could be gamed by the asker downvoting themselves, if they have the privilege.   To prevent the misuse of self-deletion to reask the same bad question I propose a new automatic community flag "Consecutive self-deleted posts", similar to the consecutive closed questions. I don't have any hard data, but I would suspect that benign self-deletion of two questions in a row is very rare, and there wouldn't be too much noise caused by this flag.


Dependency error after attempting to install realtech audio drivers

I tried to get drivers from realtech but this was not working, so I went to the ALSA project page  and attempted to install alsa-lib-1.2.4 and alsa-utils-1.2.4 as instructed by the README. Now when ever i try to use apt i get a broken pip error. $ sudo apt --fix-broken install  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... Done The following additional packages will be installed:   linux-libc-dev:i386 The following NEW packages will be installed:   linux-libc-dev:i386 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 24 not fully installed or removed. Need to get 0 B/1,138 kB of archives. After this operation, 5,965 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 233231 files and directories currently installed.) Preparing to unpack .../linux-libc-dev_5.4.0-52.57_i386.deb ... Unpacking linux-libc-dev:i386 (5.4.0-52.57) ... dpkg: error processing archive /var/cache/apt/archives/linux-libc-dev_5.4.0-52.57_i386.deb (--unpack):  trying to overwrite shared '/usr/include/sound/asequencer.h', which is different from other instances of package linux-libc-dev:i386 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing:  /var/cache/apt/archives/linux-libc-dev_5.4.0-52.57_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)


How do I adjust the format of GNOME's digital clock to an advanced custom format?

The digital clock of GNOME I am referring to is indicated in this screenshot:  (The image shows the date/time as “Sat 12:49 PM”.)  This is the advanced custom format I would like GNOME's digital clock to have:  %l:%M:%S %p %A, %e %B %Y   At the moment, this format would result in:  1:05:10 pm Saturday, 26 December 2015   If I would need to install an extra extension to get this custom format, I am willing to.  Please just tell me the name of the extension I would need and how to install it.


Help finding the limit of $\lim_{n \to \infty}\prod_{k=1}^{n}\left(1+\frac{1}{n}f\left(\frac{k}{n}\right)\right)$.

Given that $f:[0,1]\to \Bbb{R}$ is a continuous function, I need to show that $$\lim_{n \to \infty}\prod_{k=1}^{n}\left(1+\frac{1}{n}f\left(\frac{k}{n}\right)\right)=e^{\int_0^1f(x)dx}$$  Writing $$y=\lim_{n \to \infty}\prod_{k=1}^{n}\left(1+\frac{1}{n}f\left(\frac{k}{n}\right)\right)$$ and taking the logarithm of both sides and interchanging limit and logarithm(since $f$ is continuous), I get $$\log y = \lim_{n\to \infty}\sum_{k=1}^{n}\log\left(1+\frac{1}{n}f\left(\frac{k}{n}\right)\right)$$ Now I know that the limit of the Riemann sum $\lim_{n\to \infty}\sum_{k=1}^{n}\frac{b-a}{n}f\left(a+\frac{(b-a)}{n}k\right)=\int_a^bf(x)dx$. However if I want it to read $\int_0^1f(x)dx$ in the given problem, I would need the term inside the summation to read $\frac{1}{n}f\left(\frac{k}{n}\right)$. The way to do this it would seem is to take the series expansion of $\log(1+x)$ and ignoring the $x^2$ and higher order terms. Is it justifiable to do so?


Do charges affect each other instantaneously?

A point charge q appears at the origin at time 0, in an infinite vacuum. What's the electric field a billion miles away at time 0?  I suspect the real answer is 0. But it seems to me that Maxwell's first equation gradient(E) = (charge density) give us the answer q/(a billion miles) * (unit vector pointing away from the origin). Did I go wrong somewhere, or is this an example of Maxwell's equations not modelling nature perfectly?


Difference between generic constraint and superclass/interface

Maybe it's so easy that I can't get but... what is the difference between:    public void MyMethod<T>(T item) where T : SomeType { ... }   and  public void MyMethod(SomeType item) { ... }   ?


How do you fix an app icon that got associated with a file type in spotlight?

When I try and search for something using spotlight, all application results show the .c file extension icon instead of the actual app icon you would expect to see for FireFox, Safari, Mail etc.  Very annoying.  I have tried Cmd + I to change the file association there, but it does not address the problem correctly.  Any ideas?


The electric field generated by a point charge becomes infinite when distance tends to zero. What physical meaning does this have?

What follows is from Professor Barton Zwiebach of MIT:     The only problem with such a large field is an infinite self-energy   of the point particle limit. This problem is not really there in QED, as   any infinite self energy is renormalized away. There is actually an effective version of Maxwell’s equations, called nonlinear electrodynamics in which point charges have finite self energy, and electric fields cannot exceed a limit (just like the speed of objects is $< c$). This is also true in   classical string theory.  It is explained in Chapter 20 of my book on string theory."   What does it mean that the energy is renormalized?


Two homologous but not homotopic loops on a closed surface of genus greater than one

Suppose $S$ is a closed surface with genus greater than $1$. Give an example of two loops on $S$ which are not homotopic, but are homologous to each other.   I need help solving this question. I have read the Wikipedia page on it and I realize that it does not contain the necessary knowledge to visualize this problem.  And I was also wondering the relation between the fundamental group $\pi_1(S)$ and the first homology group $H_1(S)$? Some restrictions is that $S$ is a closed surface and the genus is greater than $1$.


How to sum 2 vectors in spherical coordinate system

I have 2 vectors, and each defined by 3 coordinates: radius, azimuth and zenith How i can sum it? Help me pls guys. What i have done: I found azimuth and zenith of resultant vector, by decomposition to 2 polar vectors And it gave me 2 radiuses: radius of resultant vector for azimuth polar sum and radius of resultant vector of zenith polar sum. What can i do with them?


Is it possible to test for finiteness (or existence) of the variance of a random variable given a sample? As a null, either {the variance exists and is finite} or {the variance does not exist/is infinite} would be acceptable. Philosophically (and computationally), this seems very strange because there should be no difference between a population without finite variance, and one with a very very large variance (say > $10^{400}$), so I am not hopeful this problem can be solved.  One approach that had been suggested to me was via the Central Limit Theorem: assuming the samples are i.i.d., and the population has finite mean, one could check, somehow, whether the sample mean has the right standard error with increasing sample size. I'm not sure I believe this method would work, though. (In particular, I don't see how to make it into a proper test.)


How to install on computer running windows XP

Good morning I would like to know the easiest way to install Ubuntu alongside Windows XP on my desktop computer.  I have a disc that I received with magazine. But I can't make it download properly.  Thanks Greg


Wikipedia has a "" link on the front page that makes it easy for people to start exploring. It would be interesting to have something similar for Stack Overflow, perhaps with an additional (optional) constraint for "unanswered" questions. This might help eventually provide some attention to long-forgotten questions that weren't lucky enough to get an answer when they were new.


Why this mutual fund (VTTHX) is not traded today ?

As you may know the market is in panic today. However if you look for VTTHX, you will see it frozen since Aug 21. Did this fund magically escaped the panic ? what is going on ?


there is this code I'm working with, and the log shows that there is an error that terminates the app like   Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference                   at com.example.amuna.project1.addWord.confirmBtnClicked(addWord.java:25)   and the code is  import android.content.SharedPreferences; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast;  public class addWord extends AppCompatActivity { EditText wordEdit, defEdit; Button confirmButton; @Override public void onCreate(Bundle savedInstanceState) {     wordEdit=(EditText)findViewById(R.id.wordAdd);     defEdit=(EditText)findViewById(R.id.defAdd);     confirmButton=findViewById(R.id.confirmBtn);     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_add_word); } public void confirmBtnClicked(View v){     SharedPreferences pref = getSharedPreferences("pref", MODE_PRIVATE);     SharedPreferences.Editor editor = pref.edit();     String newWord = wordEdit.getText().toString();     String newDef = defEdit.getText().toString();     editor.putString("word", newWord);     editor.putString("def", newDef);     editor.commit();  } }   please help! It's String newWord = wordEdit.getText().toString(); that has an error, and please notice me if I have anything more wrong. Thanks!


Does such localization of integral extension preserve inclusion?

Let $R\subset T$ be two commutative rings, and $T$ is integral over $R$. Let $\mathfrak m\in \operatorname{Max} R,\mathfrak n\in\operatorname{Max}T$ such that $\mathfrak m=\mathfrak n\cap R$. Show that $R_\mathfrak m\subset T_\mathfrak n$, i.e. the canonical map $\{\frac ru\mid r\in R,u\in R\setminus\mathfrak m\}\to\{\frac tv\mid t\in T,v\in T\setminus\mathfrak n\}$ must be an injection.   I feel confused because the exercise 4 from Chapter 5 in the book of Atiyah and Macdonald just assume that the localization is a ring extension. And I don't know if the condition "integral over" is necessary.


Does the Dispel Magic spell work on magical weapons?

Does casting dispel magic on a plain +1 sword make it no longer +1?   Also does dispel magic work on a dragon slayer longsword such that it is no longer +1 and no longer does extra damage against dragons?


What does Martial arcanist mean for gaining spells?

I was a bit confused by the wording for Martial Arcanist.     Martial Arcanist (Ex): At 5th level, you master the art of combining your militant and mystical training. From this point on, your caster level in a chosen arcane spellcast- ing class is equal to your base attack bonus (unless it would otherwise be higher). For example, a 7th-level fighter/1st-level wizard/5th-level abjurant champion has a base attack bonus of +12 (and thus a caster level of 12th). You can apply this benefit to only one arcane class to which you have added spellcasting levels by your advancement as an abjurant champion.   Does this mean, if I were a sorcerer 1 fighter 5 abj champ 5 that I'd have the spells of an 11th level sorcerer? Or does it mean I just get bonuses relating to caster level (like having more magic missiles)


How to add existing user to an existing group?

I want to add the Apache user (www-data) to the audio group. I've read the man page for useradd, but I'm not having any luck. I'm running xubuntu 11.10. Here's what I'm doing:  $ sudo useradd -G audio www-data useradd: user 'www-data' already exists   If I leave out the -G option, bash, prints the help info for useradd:  $ sudo useradd  audio www-data Usage: useradd [options] LOGIN Options: -b, --base-dir BASE_DIR       base directory for the home directory...   It's not clear to me from the man page what options I should use to make this work.


Useful formats for the results of a database "audit"?

My company has tons of disparate databases - Oracle, SQL Server, and (shudder) MS Access - lying around, and the CIO wants to bring in a third party to track them all down and document them. But, rather than having them just give us a big ole ERD, my manager (who is writing the project's requirements) wants to specify that the findings be given to us in some useful format. We were thinking Visio, but that's just a big ERD that's zoom-able. Any suggestions?


Acro package provides "! Missing number, treated as zero." after update to acro-v2.7b

I ran an update on texlive 2017 (via tlmgr) and I got an error for the acro package that I have not experienced before.   I have provided a MWE:  \documentclass{article}  \usepackage{acro} \DeclareAcronym{RES}{     short = RES ,     long = Renewable Energy Sources , } \listfiles \begin{document}     \ac{RES} \end{document}   This is my output for \listfiles  *File List*  article.cls    2014/09/29 v1.4h Standard LaTeX document class   size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option)     acro.sty    2017/06/21 v2.7b Typeset Acronyms    expl3.sty    2017/07/19 L3 programming layer (loader)  expl3-code.tex    2017/07/19 L3 programming layer  l3pdfmode.def    2017/03/18 v L3 Experimental driver: PDF mode   xparse.sty    2017/07/19 L3 Experimental document command parser l3keys2e.sty    2017/07/19 LaTeX2e option processing using LaTeX3 keys xtemplate.sty    2017/07/19 L3 Experimental prototype document functions etoolbox.sty    2017/01/02 v2.4 e-TeX tools for LaTeX (JAW) zref-abspage.sty    2016/05/21 v2.26 Module abspage for zref (HO) zref-base.sty    2016/05/21 v2.26 Module base for zref (HO)  ltxcmds.sty    2016/05/16 v1.23 LaTeX kernel commands for general use (HO) infwarerr.sty    2016/05/16 v1.4 Providing info/warning/error messages (HO) kvsetkeys.sty    2016/05/16 v1.17 Key value parser (HO) etexcmds.sty    2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO) ifluatex.sty    2016/05/16 v1.4 Provides the ifluatex switch (HO) kvdefinekeys.sty    2016/05/16 v1.4 Define keys (HO) pdftexcmds.sty    2017/03/19 v0.25 Utility functions of pdfTeX for LuaTeX (HO)    ifpdf.sty    2017/03/15 v3.2 Provides the ifpdf switch  auxhook.sty    2016/05/16 v1.4 Hooks for auxiliary files (HO) atbegshi.sty    2016/06/09 v1.18 At begin shipout hook (HO) translations.sty    2017/05/16 v1.6 internationalization of LaTeX2e packages (C N) scrlfile.sty    2017/04/13 v3.23 KOMA-Script package (loading files) translations-basic-dictionary-english.trsl    (english translation file `transl ations-basic-dictionary')  ***********   and this is the error in the log-file:  ! Missing number, treated as zero. <to be read again>                     \l__acro_RES_long-plural_set_bool  l.7 }  A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.)   Could it be linked to the packages acro requires? They seem to be updated.


Will i ever be able to see pokemon in AR mode on pokemon go?

What I really want to know is can this be something they can fix in the future with an update? Will I be able to see Pokemon in the future on my phone even if it doesn't have a gyroscope or will I just have to get a new phone? And does anyone know when the next update will come?


Normalizing difference between two real values to [0,1] interval

If I have two positive real numbers that can take on any value between 0 and some finite real number, how do I normalized the difference between these two numbers to [0,1] interval where 0 indicates no similarity and 1 indicates that these two numbers are the same?  Thank you in advance.


Allow more specific positioning of hats?

The hats seem to be designed for passport-photo-like avatars. Perhaps it would be better if you could choose where exactly it fits?


Word to describe someone who publishes many works?

What word describes an author who publishes many works?  "Profuse" comes to mind, but this word has a broader meaning.


Let $f\in\mathbb{F}[x]$ be a monic, irreducible polynomial of degree $d$.   We define $\mathbb{K}=\{g\in\mathbb{F}[x] \ | \ deg(g)<deg(f)\}$.  Let $g\in\mathbb{K}$, assume that $g\neq 0_\mathbb{F}$, prove that there exist a polynomial $q\in\mathbb{K}$ such that $g\cdot q=s\cdot f+1_\mathbb{F}$ for some polynomial $s\in\mathbb{F}[x]$.


What's the difference between different method declarations in JavaScript?

I have seen developers using different ways to declare/define functions in js,  like:  // 1 createview:function() {  }  // 2. var createview=function() { }  // 3. function createview() { }   While 2nd and 3rd are function expression and declaration respectively, what's with the 1st usage?


I remember an  of  where they were busting myths to do with a head on collision between two cars.  They said that instead of crashing two cars into each other at 50mph they would crash a car into a stationary object at 100mph because the energy involved in the crash would be the same.  Later on they corrected themselves to say that the energy is not the same. But I can't figure out why this would be the case?  Can someone explain if these two scenarios are the same or not. And why?


I reboot my system and got the attached screen

I am working on downloading the essential libraries to run dnn experiments   Everything was fine until I reboot   I ran Ubuntu-driver devices  And it is up to date   Any ideas how to get the GUI back ??  Thanks


How to avoid answering "No problem" when receiving thanks?

I mostly say "no problem" when I do something and people thank me. I read somewhere that this is not always correct as it shows like I spent no effort which is not always the case and sometimes it's very the opposite. I was advised I should be saying "always welcome" and "glad to help". But it still not appropriate in some cases (for example, when it's the boss who thanks me I don't think I should be saying that). What could be other possible answers in such situation? The more variants the better because I feel like I am reusing the same sentences over and over.


footer do not go at the bottom of the page

On my website, I am struggling to get the footer always at the bottom of the page but I mean at the bottom of the page below the content. It seems that in my case the footer stay always position at the height of the screen instead of being below the content and adjust its position.  This what it looks like:    below is the code of the App.js who handle the layout-ing   import React from 'react'; import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';  import Header from './components/Header'; import Footer from './components/Footer';   import Home from './pages/Home'; import NoPages from './pages/NoPages'; import Discover from './pages/Discover'; import HowItWorks from './pages/HowItWork'; import CreateClassAndHost from './pages/CreateClassAndHost'; import Profile from './pages/Profile'; import Messages from './pages/Messages'; import Settings from './pages/Settings'; import Logout from './pages/Logout'; import CreateClass from './pages/CreateClass'; import CreateHost from './pages/CreateHost'; import HereIsTheMission from './pages/HereIsTheMission'; import SuccessfullSubmission from './pages/SuccessfullSubmission';  import './App.css';  function App()  {     return (

         <Router>
           <Switch>           <Route path="/" exact component={ Home } />           <Route path="/discover" component={ Discover } />           <Route path="/howitworks" component={ HowItWorks } />           <Route path="/create" component={ CreateClassAndHost } />           <Route path="/profile" component={ Profile } />           <Route path="/messages" component={ Messages } />           <Route path="/settings" component={ Settings } />           <Route path="/logout" component={ Logout } />           <Route path="/hereisthemission" component={ HereIsTheMission } />           <Route path="/createaclass" component={ CreateClass } />           <Route path="/createahost" component={ CreateHost } />           <Route path="/successfull" component={ SuccessfullSubmission } />           <Route path="*" component={ NoPages } />           </Switch>
         </Router>

     );   }  export default App;     and the associated css:  body,html{     height :100%; }  .app-container{     display :flex;     flex-direction:column;     justify-content:space-between;     height:100%; }  .app-header{     background-color:white;     padding:10px;   }  .app-header-menu{     background-color:white;     padding:10px;     width:100vw; }  .app-footer{     position:absolute;     bottom:0;     text-align:center;     }  .app-footer-menu{     padding:10px;     background-color:white;     width:100vw; }   Any idea to always make sure the footer in at the bottom below the content. Thanks


Confusion of the decidability of $(N,s)$

In some context the PA has only the successor operator $'s'$, but in logic we always refer the structure of PA is $(\mathbb{N},0,1,s,+,\times)$. I believed the theory of the two sturctures are equivalent because I believed that $ '+'$and $  '\times'$ are definable in $(\mathbb{N},s)$. Then I concluded that the theory of $(\mathbb{N},s)$ is not decidable.   But now I'm not quite sure about this, in addition, what is the decidability of the theory of $(\mathbb{N},+)$? Thanks for your help.


What is the word that is used to refer to a group of words used in specific vocations or specialized fields?

An example would be words only used in a specialized field but not in daily life.  Or a word that has both a double meaning in daily use and in specialization.


Should the volume be ON by default? ( for OUR type of Site )

I remember this debate 10-years ago on flash sites..  but I'm not sure if it has still stood the test of time.  The target audience is 17-28yrs old.  thoughts?


I have a JSON feed (people.json) which spits out the following:  [      {         "id":0,       "firstName":"Alison",    },    {         "id":1,       "firstName":"Fred",    } ]   etc.  EDIT for clarity**  I have a var called searchTerm. In JavaScript how can I find all records in this array where firstName matches searchTerm?


Having a UITextField in a UITableViewCell

I'm trying to do that for a couple of days now, and after reading tons of messages of people trying to do that too, I'm still unable to have a fully working UITextField in some of my UITableViewCells, just like in this example:     Either I have the form working but the text is not visible (although I set its color to blue), the keyboard goes on the field when I click on it and I haven't been able to correctly implement the keyboard events. I tried with a bunch of examples from Apple (mainly UICatalog, where there is a kinda similar control) but it's still not working correctly.  Can somebody help me (and all the people trying to realize this control) and post a simple implementation of a UITextField in a UITableViewCell, that works fine?


Gduated symbology not taking attribute into account using QGIS

I m working on a project on QGIS. I have a point shapefile vector that represents my store. In the attribute table, i have bunch of data such as size, unit per transaction and most importantly store turnover. When I want to graduate the symbology, the turnover isn't present in the list I can choose from. Does someone know why, and how to fix it?


Shapefiles won't overlap due to projection problems

I have a two shapefiles. One of neighborhoods and one of points. The point file was originally a spreadsheet of X,Y coordinates. but have been exported to shapefile. They display but not over the neighborhood shapefile like they should. I've tried reprojecting,  project tool and define projection. It still will not overlap. Everything is displaying in US (Feet). What is wrong? Using arcmap 10.4   Here are the projection data in the Layer source:  Point file:  Projected Coordinate System:   NAD_1983_StatePlane_Pennsylvania_South_FIPS_3702_Feet Projection: Lambert_Conformal_Conic False_Easting:  1968500.00000000 False_Northing: 0.00000000 Central_Meridian:   -77.75000000 Standard_Parallel_1:    39.93333333 Standard_Parallel_2:    40.96666667 Latitude_Of_Origin: 39.33333333 Linear Unit:    Foot_US  Geographic Coordinate System:  GCS_North_American_1983 Datum:  D_North_American_1983 Prime Meridian:     Greenwich Angular Unit:   Degree  Neighborhood file:  Projected Coordinate System:   NAD_1983_StatePlane_Pennsylvania_South_FIPS_3702_Feet Projection: Lambert_Conformal_Conic False_Easting:  1968500.00000000 False_Northing: 0.00000000 Central_Meridian:   -77.75000000 Standard_Parallel_1:    39.93333333 Standard_Parallel_2:    40.96666667 Latitude_Of_Origin: 39.33333333 Linear Unit:    Foot_US  Geographic Coordinate System:  GCS_North_American_1983 Datum:  D_North_American_1983 Prime Meridian:     Greenwich Angular Unit:   Degree  Here's a sample of the Lat Long Coordinates:  Lat1        Long1 39.93128729   -75.14691545 39.93130836   -75.14711798 39.93143481   -75.14845446 39.93144498   -75.14853968 39.93117173   -75.14714819 39.93099668   -75.14705857 39.9310071    -75.14715449 39.93101477   -75.14725051 39.93119391   -75.14848865


When I try to access my hpv236w 64gb USB, it gives me this error:'F:\ is not accessible. The request could not be performed because of an I/O device error.' I can't format it too. I tried many steps to fix this but they were useless.  How can I fix this?  This information maybe of some use: I am able to access and recover files on the drive when i turn on write-protect.  Any help is appreciated.


I have recently installed Ubuntu on my HP Pavilion dv6, dual boot with Windows 7. It had been working fine till today morning when the Ubuntu software wouldn't open and I looked online for solutions. I tried reinstalling the gnome-software/snap-software application and now I have Ubuntu Software and Software application. Out of the two only the Software one opens and I can navigate to find the various applications. As for the second one, the issue is still not resolved. I open it and the activities show Ubuntu Software with a loading sign but then it goes away and app isn't opened. How can I remove Ubuntu Software application or merge them into one of possible??


Proving $6^n - 1$ is always divisible by $5$ by induction

I'm trying to prove the following, but can't seem to understand it. Can somebody help?     Prove $6^n - 1$ is always divisible by $5$ for $n \geq 1$.   What I've done:  Base Case: $n = 1$: $6^1 - 1 = 5$, which is divisible by $5$ so TRUE.  Assume true for $n = k$, where $k \geq 1$: $6^k - 1 = 5P$.  Should be true for $n = k + 1$  $6^{k + 1} - 1 = 5Q$  $= 6 \cdot 6^k - 1$  However, I am unsure on where to go from here.


Compare classifiers based on AUROC or accuracy?

I have a binary classification problem and I experiment different classifiers on it: I want to compare the classifiers. which one is a better measure AUC or accuracy? And why?  Raondom Forest: AUC: 0.828  Accuracy: 79.6667 %            SVM: AUC: 0.542  Accuracy: 85.6667 %


How to find a starting point for root finding in complex plane?

The function $f(x) = x^2 +1$ has zeros in the complex plane at $x = +i$ and $x = -i$. Is there a real starting point for complex Newton's method such that the iterates converge to either of these zeros? Is there a complex starting point too?  I know that Newton's method for finding roots is $x_{n+1} = x_n - \frac {f(x)}{f'(x)}$. But I don't know how to find the proper starting point.


Can I get the label name from api reference name of picklist?

I know that you can get all label names of picklist with the following code.  Schema.DescribeFieldResult fieldResult = Account.PicklistField__c.getDescribe(); List<Schema.PicklistEntry> values = fieldResult.getPicklistValues();  for( Schema.PicklistEntry v : values) {       System.debug('Picklist Value Label:' + v.getLabel());       System.debug('Picklist API Name:' + v.getValue()); }   Is there a way to get just the label of the specified API reference name? In addition to the following  Schema.DescribeFieldResult fieldResult = Account.Ownership.getDescribe(); List<Schema.PicklistEntry> values = fieldResult.getPicklistValues();  String result; for( Schema.PicklistEntry v : values) { //    System.debug('Picklist Value Label:' + v.getLabel());     System.debug('Picklist API Name:' + v.getValue());     if (v.getValue() == 'public') {         result = v.getLabel();     } }


I'm trying to understand the main differences (if there are) between analytic and holomorphic functions.  I know that a function is holomorphic in a connected open set if it is differentiable in each point.  Also I know that a function is analytic if it can be written in terms of Taylor expansion in each neighborhood of $x_0$.  So which are the differences between these two classes of functions? Or which topic should I use to show they are the same thing?  Thank you!


How to find nearest line from point using PostGIS?

I have a table of Roads in PostGIS which geometry is "geometry(MultiLineString,4326)".  Its attribute are      gid   osm_id  name    ref type    oneway  bridge  maxspeed    geom   Now i want to know the closest Road from latitude and longitude.  Also I want to set some distance from that Line/Road like 20m both side and if the point is within that distance then it should give the name of that line else not.


Is this a correct way of poving the average of a convergent sequence converges?

Suppos $a_n$ is a real sequence and $a_n \to a$. Define $s_n = \dfrac {a_1 + \cdots + a_n}{n}$. Show that $s_n$ converges to $a$.   I know that this problem has been solved on this website many times, but I wanted to come up with a proof of my own and ask if my proof is correct. If yes, how could it be improved?  My proof:   Fix $\epsilon>0$. There exists some $N$ such that $n \ge N \implies |a_n-a| < \epsilon$. Take any $n \ge N$. We have $$|s_n-a| = \left| \dfrac {a_1 + \cdots + a_n}{n} - a \right| = \dfrac {1}{n} \left|\sum_{k=1}^n (a_k-a) \right| \le \dfrac {1}{n} \sum_{k=1}^n |a_k-a|$$  Now let $A = \sum_{k=1}^{N-1} |a_k-a|$. Then the above is equal to  $$\dfrac {1}{n} \left( A + \sum_{k=N}^n |a_k-a| \right) \le \dfrac An + \dfrac {n-N}{n} \cdot \epsilon  \le  \dfrac An + \dfrac {n}{n} \cdot \epsilon \le \dfrac An + \epsilon$$ Now there exists an $M \ge N$ such that $n \ge M \implies \dfrac An < \epsilon$. Therefore for $n \ge M$, we have $|s_n-a|< 2 \epsilon$ and we are done.


I know this has been asked before () and it seems it is still not possible to get better than district level data as a shapefile, but are there paid services (I am thinking mapmyindia and such) that provide such data?   Has anyone tried this and how accurate will be their data?


RSA trap door permutation does not hold for all text Xs?

The RSA trapdoor permutation as I understand goes like this,  choose $N$ such that $N= p*q$ where $p$ and $q$ are large random primes.  Therefore $N$ is NOT prime  choose integers $e, d$ such that $e \cdot d =1 \bmod \phi(N)$  $F(pk, x) = y = x^e \in \mathbb{Z}_N$  $F^{-1}(sk, y) = y^d$   The proof that $y^d = x$ involves Euler's theorem whih states that $x^{\phi(N)} =  1$ only for $x \in \mathbb{Z}_N^*$. But this means that there are $x \not\in \mathbb{Z}_N$ for which the proof does not hold. The user of RSA, however, decides $x$, what if user chooses an $X$ not in $\mathbb{Z}_N^*$?  Would RSA break down in such cases?


Moving a RAID array from one machine to another

I'm not too familiar with RAID arrays, but I plan on making a RAID 5 array for a fileserver. However, once I get the RAID running for a while, I have plans to move it to another machine (with completely different hardware). Is it possible to move an array from machine to machine without having to break the array and place the data on it again?


Multinomial logistic regression vs one-vs-rest binary logistic regression

Lets say we have a dependent variable $Y$ with few categories and set of independent variables.    What are the advantages of multinomial logistic regression over set of binary logistic regressions (i.e. )? By set of binary logistic regression I mean that for each category $y_{i} \in Y$ we build separate binary logistic regression model with target=1 when $Y=y_{i}$ and 0 otherwise.


Find all accumulation points of the set whose elements in form $2^{-n}+5^{-m}, m,n\in\mathbb N^+$

Attempt:  I thought that by fixing one of the index and doing it conversely I can find accumulation points as follows:  For every fix $n_0\in \mathbb N$ $2^{-n_0}+5^{-m}$ converges to $2^{-n_0}$  and For every fix $m_0\in \mathbb N$ $2^{-n}+5^{-m_0}$ converges to $5^{-m_0}$  and letting free both indices we have a accumulation point $0$  So all accumulation points are $  {2^{-n},n\in\mathbb N^+ } \cup {5^{-n},m\in\mathbb N^+} \cup 0 $$ is it my reasoning right?


Why didn't Obi Wan tell Luke that this character is his father?

Is there a reason for this? Wouldn't that have been a helpful thing to say?


Convergence of recursive sequence involving cosine

Let x ∈ R.  Consider  the sequence ${a_n}$, where $a_1$ = x and $ a_{n+1 }= cos(a_n)$.  From picture I can observe that ${a_n}$ converges. But how to prove it analytically. I tried to show it is Cauchy. But that doesn't work.   Because $| a_n-a_m| \leq  |a_n- cos a_{n+1}|+....+|a_{m-1}- a_m|$.  But I don't know how to prove $  |a_n- cos a_{n+1}|$ approaches zero.  Any help (other methods too) will be appreciated.    Edit: There is a question which deals exactly with the same sequence. But That question  doesn't have the proof for the convergence of the sequence. The answers for that question just state that the sequence is convergent. But I want to know how it's convergent. That question actually deals with the denseness and not with convergence


I have MATLAB 2016a installed on Ubuntu 16.4. I can launch MATLAB from the command line but I am unable to successfully launch it from the icon in 'Search' or if I try to create a shortcut. Does anyone have a solution that will allow me to create a working shortcut?


Problem in working out a question related to group theory.

The question is :  Let $G$ be a finite group whose order is not divisible by $3$.Suppose that $(ab)^{3} = a^{3} b^{3}$ for all $a,\ b \in G$. Prove that $G$ must be abelian.  By the given condition it can be deduced that $(ba)^{2} = a^{2} b^{2}$ for all $a,\ b \in G$.But now how can proceed? Actually I think I have failed to do it because I have failed to use the condition that order of $G$ is not divisible by $3$. Please help me.  Thank you in advance.


Recent news articles have suggested that the NSA may be involved in trying to influence the cryptography in public standards or commercially deployed software, to enable the NSA to decrypt the encrypted traffic.  For example, .  The New York Times article specifically mentions a 2006 NIST standard, where two Microsoft engineers later discovered a serious problem in the scheme.  The New York Times article explains how the standard was written by the NSA, who pushed the scheme hard:     Simultaneously, the N.S.A. has been deliberately weakening the international encryption standards adopted by developers. One goal in the agency’s 2013 budget request was to “influence policies, standards and specifications for commercial public key technologies,” the most common encryption method.      Cryptographers have long suspected that the agency planted vulnerabilities in a standard adopted in 2006 by the National Institute of Standards and Technology, the United States’ encryption standards body, and later by the International Organization for Standardization, which has 163 countries as members.      Classified N.S.A. memos appear to confirm that the fatal weakness, discovered by two Microsoft cryptographers in 2007, was engineered by the agency. The N.S.A. wrote the standard and aggressively pushed it on the international group, privately calling the effort “a challenge in finesse.”    After some sleuthing, I'm pretty certain this is a reference to the  pseudorandom number generator scheme described in NIST SP 800-90.  The weakness is that Dual_EC_DRBG appears to contain a backdoor, and anyone who knows the backdoor can totally break the PRNG.  The weakness was first described in  and was subsequently .  As a consequence, there are now good reasons to suspect that Dual_EC_DRBG contains a NSA backdoor, and the NSA might be able to spy on anyone who is using Dual_EC_DRBG.  My questions:   Who uses Dual_EC_DRBG? Do any commercial products use Dual_EC_DRBG? Does anyone use it?


Question on conditional variance in the book Introduction to Probability 2nd edition

I read the book of Introduction to Probability SECOND EDITION by John N. Tsitsiklis et al. and in Sec. 4.3 Conditional Expectation and Variance Revisited, I think the $var(X|Y)$ is not $nY(1-Y)$ but $nY(1-nY)$.    My understanding is that since $var(X|Y)=E(X^2|Y)-[E[X|Y]]^2$ and $E[X|Y]=nY$ and $E(X^2|Y)=nY$, so $var(X|Y)=nY(1-nY)$ rather than $nY(1-Y)$.  How do you think about it?


Science-fiction book where the protagonist has a hidden blade inside his body

I'm searching for a book I read 10 years ago, from which I remember only a few details:     In the distant future, the central planets of the galaxy are ruled by a king. The main protagonist is an acquaintance of or becomes friends by the end of the book with the ruling prince.   At some point the main protagonist gets imprisoned/enslaved on an amusement park planet. He has a blade/knife which can cut through anything that wasmade from a strange meteor. In order to hide the blade he has a sheath inside his body's skin (he can get the blade out by contracting muscles in a special way).    By using the concealed blade he escapes from the amusement park planet (together with a woman he had met there) and, later, meets the prince, who travels in disguise.    The book had a short name, similar to "Orion", "Andromeda" or some other celestial body.


Can't see my 'other Locations' option in Ubuntu 18.04 desktop

I have 3 partitions on my Ubuntu 18.04 desktop. It was good until yesterday. But don't know what happened. I Can't see 'Other Options' in the file manager when I open it. Looks weird. the file manager looks different than it usually used to look.. It doesn't have a left-side panel which it usually contains all the list which is in the middle. Please Help me.


Finite signed measures and their boundedness

Folland in his book "Real Analysis" says      The real and imaginary parts $\nu_r, \nu_i$  of complex measures $\nu$ are signed measures which do not assume the values $+\infty$ or $-\infty$; hence they are bounded     But, I don't understand why the finiteness of $\nu_r,\nu_i$ means their boundedness. Why is this the case?  For example, the function $1/x$ on $(0,3)$ is finite valued, though it is unbounded.


What can you surmise about coffee beans that have oil on them at the time of purchase?

I find myself favoring the purchase of coffee beans that have visible oil on them.  My inference was that this bean had some extra flavor or awesomeness.  Am I right, are beans 'better' if they are oily, or more simply, what does that mean about the flavor profile of the bean?


A person who cannot understand that there may be other perspectives

I'm searching for a word to describe a person who cannot understand that there may be different perspectives. I initially thought of single-minded, but that pertains to determination.  One example of several perspectives could be the difference between a process and an action. Please assume that a process is composed of several actions. A process may be composed of other processes, but these processes would be actions in this greater process.  If you accept my definitions, then depending on the holistic or granularity level, we may consider something a process or an action, depending on whether we are considering its parts or how it's part of a greater thing.  A person may have trouble understanding that it's not true or false that something is a process or an action, it depends on how it relates with everything else from the perspective that we take. From one perspective it's a process, from another it's an action. For some people, things seem to be in one and only one absolute way, which is wrong, IMHO.   Is there a word to describe this kind of problem that some people seem to have?  PD: It's like . But I don't think most people know the word monist.  Here are some other, superficially similar terms that actually mean something quite different. A racist is (approximately) someone who considers other races inferior. A narrow-minded person considers other perspectives wrong or irrelevant, or may not consider them, but is aware that they exist. A monist would not even understand that there is more than one race or multiple perspectives; there is simply one reality, and that's it.


How many research interests should be included in a statement of purpose/objective

I am wondering how many research interest should be included in a statement of purpose. Is it better to include just one core interest or to include up to three as in my case?


How to Store Design Data in Unity including Formulas?

My team is switching to Unity 3D for an upcoming project. I'm tasked with converting our game data system into Unity.  Our existing games use spreadsheet documents (Google Docs) for designers to set values and formulas. This is then exported into an XML doc (and obfuscated) and read in by our game client. I'm trying to figure out a way to accomplish this same thing but solely through Unity. Storing, exposing, and reading data through Unity is pretty straightforward but I'm not sure on supporting formulas.  I realize I can write a custom parser and interpreter which can handle formulas but I'm wondering if there is already a way to do this in Unity.  For example, let's say I have a unit with various stats: Level, Max HP, HP, Damage, Victory Reward, etc. That unit may receive a reward after combat which is based on its Level and remaining HP. A designer would be able to enter into the Victory Reward field either a flat value, like 3, or a formula such as "Floor({Level} * ({HP} / {Max HP}))", something like that.  My question is basically, is there an existing solution for handling data with formulas in Unity, via a downloadable asset or something in Unity itself, or is there a simple framework or technology which already can do something like this which can be easily integrated (example: some kind of JSON extension which supports self-referencing other values and basic mathematical/logical operations)?


how to view installation information for package to be installed by apt

For ubuntu or debian, for installed package, I can use dpkg -L package to view where files were installed by the package. For a package is going to be installed but yet installed, how can I foresee these information?


Given the positive "public opinion" on explaining downvotes, why is it disallowed?

See this question:    considering the opinions expressed in there, I don't understand why downvote-explaining comments are disallowed:    Not every downvote can be converted into a suggestion for improvement - and it seems popular opinion on meta has it (or rather, had it, a decade ago...) that it's better to explain a downvote rather than not leave any comment.


Cycles + Glass + Light, Preview different than render

Anyone knows why the preview (left bottom) looks different than the render (bottom right)?  What i tried to achieve is something like   i dont know what is going on?!


How to change "New Folder" default name for folders in explorer to current date and time?

Every time I create new folder in windows explorer I don't need it to be named New Folder. I need current date and time as folder name. For example 13:41 16.12.2012.   And, lets say, I'm too lazy to watch at the time and change folder name manually every time I create folder.   Is there any addon/extension/widget/alternative for windows7 explorer which handle some folder_created_event or something else and change it's name when folder is created?


How can I get Java reflection to find a callable function?

I have an interface ZipCodeServer which the class ZipCodeServerImpl implements.  I also have an interface ZipCodeList which the class ZipCodeListImpl implements.  One of the functions that the ZipCodeServer interface requires is   public void initialise(ZipCodeList newlist) throws RemoteException;   Now as you can imagine, this works fine when I try to pass in a ZipCodeListImpl to the initialise function.  But when I try to do it via reflection (syntax is not correct, but basically I am passing in an array of only the class ZipCodeListImpl):  aZipCodeServer.getClass().getMethod("initialise", [aZipCodeListImpl.getClass()]);   I get the error:  java.lang.NoSuchMethodException: ZipCodeServerImpl.initialise(ZipCodeListImpl)   of course because the function expects a ZipCodeList parameter.  Thing is, this code has to be generic, so I have the list of parameters and the function name, but I have to find the function itself via reflection.


Spacings between discrete uniform random variables

Let $U_1, \ldots, U_n$ be $n$ i.i.d discrete uniform random variables on (0,1) and their order statistics be $U_{(1)}, \ldots, U_{(n)}$.  Define $D_i=U_{(i)}-U_{(i-1)}$ for $i=1, \ldots, n$ with $U_0=0$.   I am trying to figure out the joint distribution of $U_i$'s and their marginal distribution and possibly their first few moments. Can anyone give some hint on this. Also can  you please recommend a book on order statistics?


Why are files in 16 hive referred through _layouts/15 on a SharePoint 2016 Server?

I'm converting a SharePoint 2013 solution to 2016. Back when 2013 was introduced I recall all the _layouts/ -> _layouts/15 issues, and immediately looked out for this.  In my SharePoint 2016 solution there is an icon image on this location:  C:\Program Files\Common Files\microsoft shared\Web Server Extensions\16\TEMPLATE\IMAGES\FGIMG.PNG   I would expect the mapped url to be:  _layouts/16/images/fgimg.png   However that is NOT the case. The image is found here:  _layouts/15/images/fgimg.png   This confuses me.   Why is this so?  I can't seem to find any official documentation about this...  (It is a clean 2016 RTM install and that file is a part of SharePoint itself)


Python math function does not find all answers in range given

I am quite new to learning python and was playing around with the math functions. I tried to create a function that would allow you to find certain powers e.g. squares, cubes. Why is it when I run the code below it lists most of the powers required but manages to miss some.    def more_powers():     print "For which power do you wish to find: "     power = int(raw_input("> "))      print "Choose the upperbound: "     n = int(raw_input("> "))      for num in range(2, n):         for base in range(2, num):             if log(num, base) / power == 1:                 print "%d is a power of %d." % (num, base)             else:                  base += 1   For which power do you wish to find: > 3 Choose the upperbound: > 5000 8 is a power of 2. 27 is a power of 3. 64 is a power of 4. 343 is a power of 7. 512 is a power of 8. 729 is a power of 9. 1331 is a power of 11. 1728 is a power of 12. 2197 is a power of 13. 2744 is a power of 14. 3375 is a power of 15. 4096 is a power of 16.   As you can see it misses out the equivalent power for 5, 6, 10 and 17.


I came across "$$" expression in shell script, something like this       TFILE=$$  Can anyone tell me its meaning?


Dear friends: there is a problem with appendix and ápendice.  I have a scrbook document and I use appendix package,   \usepackage[title, titletoc]{appendix}    because I like the word "Apéndice" in the toc  \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}   However, when I compile with latex there is an error in file.toc (maybe in file.aux before). The reason is that in the file.aux there is a line like this:  \@writefile{toc}{\contentsline {chapter}{Ap\IeC {\'e}ndice \numberline {A}Sobre el \LaTeX  }{27}{ApÈndice.1.Alph1}}   and in the second compilation the character "È" produces and error. If I compile with lualatex I have not any error.  I have tried to modify \indexname, \@chapapp but I can not find any solution.    Yes, that is a solution. I am going to clarify the problem with a MWE. In my opinion the problem is motivated by UTF-8 codify and inputenc package, as it is possible to see with this code:  \documentclass[paper=a4,10pt, twoside]{scrbook}%  \usepackage{etoolbox}  \usepackage{tgheros}    % (Una versión libre de Helvetica) \renewcommand{\sfdefault}{qhv} %qhv  %:Fuente para todo lo demás (Una versión libre de Times) \renewcommand{\rmdefault}{qtm} \usepackage{textcomp} \normalfont  \usepackage[T1]{fontenc}         \usepackage[utf8]{inputenc} %para LaTex   %:Paquetes relacionados con el idioma y codificación \usepackage[english, spanish, es-nosectiondot, es-noindentfirst, es-nolists, activeacute]{babel}  \spanishdecimal{.}  %:Para poner las referencias y los nombres de figuras y tablas en castellano \addto\captionsspanish {% \def\figurename{Figura}% \def\tablename{Tabla}% \def\listfigurename{Índice de Figuras} \def\listtablename{Índice de Tablas} \def\contentsname{Índice}% \def\chaptername{Capítulo} \def\Agradecimientos{Agradecimientos} \def\Prefacename{Prefacio}% \def\refname{Referencias}% \def\abstractname{Resumen}% \def\bibname{{Bibliografía}} \def\appendixname{Apéndice} \def\miapendice{\appendixname} \def\glossaryname{Glosario}% \def\indexname{{Índice Alfabético}} }  %:Para definir APÉNDICES \usepackage[title, titletoc]{appendix}  \usepackage{hyperref}   \begin{document}  \cleardoublepage \phantomsection \tableofcontents  %:Empieza el contenido del libro \mainmatter  \chapter{Primer capítulo} \section{Primera sección, primer capítulo}  \chapter{Segundo capítulo} \section{Primera sección, segundo capítulo}  \begin{appendices}  \chapter{Primer apéndice} \section{Primera sección, primer apéndice}  \chapter{Segundo apéndice} \section{Primera sección, segundo apéndice}  \end{appendices}  \end{document}   If you compile, you obtain this error message:     Package inputenc Error: Unicode char \u8:énd not set up for use with La- TeXSee the inputenc package documentation for explanation.Your command was ignored.Type I   to replace it with another command,or  to continue without it.ice.alph1.Alph11ice.alph1.Alph20P   But the solution proposed it is perfect. Thank you