Multiclass Warlock/Wizard: Can I use Int as spellcasting ability for Pact Magic slots?

I would really love to play wizard/warlock multiclass with low charisma (just 13 for mutliclass). The handbook says that I can use Pact Magic slots to cast wizard spells, but doesn't specify which ability I use for spellcasting.     Pact Magic.   If you have both the Spellcasting class feature and the Pact Magic class feature from the warlock class, you can use the spell slots you gain from the Pact Magic feature to cast spells you know or have prepared from classes with the Spellcasting class feature, and [vice versa].   When I cast wizard spells using Pact Magic slots (or warlock spells using wizard's "Spellcasting" slots) do I use spellcasting ability of the slot, or do I get to choose?


Word that describes when someone repeats the same information, rambling on and beats around the bush

Having to sit through a 20 min video to get information which could be put a 5 min video.


Some background  I am developing a small DI Container based on Lambda expressions.  I have the interface representing the lambda:  @FunctionalInterface public interface LambdaOp<T> {     T resolve(); }   And this is the (very simplified) Container:  public class Container {     private final Map<Class<?>, LambdaOp<?>> bindings;      public <T> void bind(Class<T> clazz, LambdaOp<? extends T> lambda) {         bindingd.put(clazz, lambda);     }      public <T> T resolve (Class<T> clazz) {         LambdaOp<?> lambda = bindings.get(clazz);         return (T) lambda.resolve();      }   }   With this implementation I can do something like that:  container.bind(     FooInterface.class,     () -> {         FooImplementation foo = new FooImplementation();         foo.setParameterA(paramA);         //do whatever needed to configure it         return foo;       } );  FooInterface foo2 = container.resolve(FooInterface.class);   It is working ok and it is nice because the compiler won't let me do something like this:  container.bind(     FooInterface.class,     () -> new BarImplementation() //compiler error; Bar does not implement Foo );   The problem  The bindings Map itself does not guarantee that LambdaOp will have a generic type which extends the Class used as key.  private final Map<Class<?>, LambdaOp<?>> bindings;   As a result I receive an unchecked warning at the line:  return (T) lambda.resolve();   I suppose that the bind method signature is enough to guarantee the cohesion (is it?) but still feel some bad smell.  Is there any way to implement it on a more cohesive way?  EDIT:  The complete code is at . I have made a lot of changes recently and README.md is very a little bit outdated.


How does access to Overwatch get enabled?

I've clocked up over 500 hours on CS:GO, and recently I've had access to  to review cases of reported cheating and disruptive behavior. In game it shows as Overwatch Beta. Is this something new that is being rolled out to certain users or is it due to my playing time (500 hours) crossing a threshold to have access to it? The linked blog states:  How do I become an investigator? Currently, the best approach is to play lots of matches in our official Competitive Matchmaking. We are slowly adding players to the pool of investigators, and randomly pick them with consideration to their playtime and skill level. The goal is to invite as many skilled reviewers as possible.  From this I guess I've been randomly selected, but was curious about whether 500 hours was part of the selection criteria.


Cut shapefile to raster in Python using GDAL/OGR

I'm using a huge shapefile containing the coastlines of the world:    And want to cut out polygons from the shapefile to fit to my geotif like so (the blue polygons represents the cut out ones):     I want to do this in order to mask the land afterwards (and maybe extent the covered area if it doesn't properly cover land).  How does one do this in Python using GDAL/OGR libraries (performance do matter)?   The shapefile consists of many polygons and I'm not sure whether merging all of this to one feature will speed up performance?  One could get the bounding box of the raster, but how to go from there I'm not sure of:  # Raster image to clip InputImage = 'Geotif.tif'  # Polygon shapefile used to clip Shapefile = 'worldcoastlines.shp'  rasterFormat = 'GTiff' vectorFormat = 'ESRI Shapefile'  # Open datasets raster = gdal.Open(InputImage, gdal.GA_ReadOnly) wktproj = raster.GetProjectionRef() sref = osr.SpatialReference() sref.ImportFromWkt(wktproj)  ulx, xres, xskew, uly, yskew, yres  = raster.GetGeoTransform() lrx = ulx + (raster.RasterXSize * xres) lry = uly + (raster.RasterYSize * yres)


Looking for a book where an advanced race tries to prevent Earthmen from exploiting primitives

I am hoping someone may know this book based upon the plot:  An advanced race visits a planet that is technologically equivalent to the dark ages.  To interact with the inhabitants these visitors allow them to think they are magical.  In particular the daughter of one of the visitors has to pretend to be a magical sorceress. The planet is then also visited by an Earth ship that is not as advanced as the first set of visitors.  Their goal is to deal with the inhabitants for natural resources.  The advanced visitors try to prevent the Earth people from exploiting the planet while remaining unknown to the Earth people.    The story switches between 3 different points of views:   The daughter of the advanced visitors as she pretends to be the magical sorceress A peasant boy who interacts with the "sorceress" and becomes somewhat infatuated with her An earthman who is trying to obtain the deal for the natural resources of the planet.


How to scale or resize a long equation in LYX without using Latex Code?

I am completely new to Latex and I am using LYX editor. I am looking for a way to scale a long equation in LYX without using Latex code?? I have found similar questions but all the answers were given as Latex code snippet which I dont know how to use or insert in LYX editor.    Many thanks in advance.


Split a large GeoTIFF into smaller regions with Python and GDAL

I have quite a large GeoTIFF-file (compressed 50MB but unpacked 6GB) and want to split it into several smaller regional files.   I am using Python, and as I am a new GDAL user I do not really have an idea how to start. Is gdalwarp ChunkAndWarpImage the function I am looking for? And how do I apply it in Python? Can I or must I define the region size?


Modern Linux commands that parallel uuencode/uudecode functionality

I need to get binary files into text format.  Years ago, I used uuencode/uudecode, and it was easy:  uuencode file.xls > file.txt # Delete file.xls # Do whatever with file.txt # Now I need file.xls back uudecode file.txt > file.xls   But uuencode/uudecode is not on my system, and as I look around, the yum/rpm process is ugly--this gives me the clue that maybe no one uses it any more and instead there is something more modern to do this.  I looked at xxd and hexdump but couldn't get them to do it.  Could just be dumb user issues.  What can I use on Linux to do this?  Would like it to be something that tends to be in the native install so I don't need to yum/rpm it if possible.  Just for your own understanding, what I'm specifically trying to do now is source control an *.xls file but the corporate tool doesn't allow *.xls in.  I respect that constraint normally, but in my context, an *.xls is a configuration table for my code so It is logically like source code, but the corporate SVN trigger is physical--if it's *.xls, it gets rejected, so I'll encode it and source control the *.txt file.  Thanks!


Somewhat oddly, C treats character constants as type  int  rather than type  char. For example, on an ASCII system with a 32-bit  int  and an 8-bit  char, the code  char grade = 'B';   represents  'B'  as the numerical value 66 stored in a 32-bit unit, but  grade  winds up with 66 stored in an 8-bit unit.  Please explain this lines.


How to correctly mark up different versions of the same document which are non-canonical

The use case is a document which has multiple versions which are all simultaneously available. For example, documentation on a product for each version of that software:   /v1/install-guide /v2/install-guide /v3/install-guide   These are not the same content in the sense that it would be incorrect to specify in the v1 and v2 pages that the canonical URL is v3. If I searched in Google for 'product install guide v2' I'd expect to be able to find v2. Each version of the document would be slightly different but they'd have a lot in common with each other.  So the question is: can I mark up these pages in some way to signal to Google and friends that the latest version (v3) is preferred, so a simple search for 'product install guide' is more likely to show the v3 page instead of the v1 or v2 page?


How do I fix this error:     E: The package ubuntu-advantage-tools needs to be reinstalled, but I   can't find an archive for it.   I'm trying to reinstall ubuntu-advantage-tools and I used these commands:   i did      aptitude remove ubuntu-advantage-tools     sudo apt update     sudo apt install ubuntu-advantage-tools   But it didn't work   I found this website   then i download the pack for server but i dont know how to install there is no .sh to do it


Addition, I don't think that my question is a duplication because my log file is different from what is in other question,also in other question it says "I have installed OpenJDK 9 in Ubuntu" - i didn't install explicitly OpenJDK. But if you people think that it makes sense for me to run command sudo snap install eclipse --classic  i Would gladly do it, but keep in mind that i need it for C++, not Java development  I am absolutely new to Linux and ubuntu. But i am a seasoned windows C++ developer. I am trying to do a project in Linux.     I installed Ubuntu - no problems.  Installed build essentials (sudo apt-get install build-essentials) - no problem. Then i installed Eclipse - sudo apt-get install eclipse. Installation went thru without visible complains. But When i tried to start eclipse it says  An error has occurred.  See the log file /home/boris/.eclipse/org.eclipse.platform_3.8_155965261/configuration/1534345120581.log    Log file says:  !SESSION Wed Aug 15 10:58:40 EDT 2018 ------------------------------------------ !ENTRY org.eclipse.equinox.launcher 4 0 2018-08-15 10:58:40.688 !MESSAGE Exception launching the Eclipse Platform: !STACK java.lang.ClassNotFoundException:  org.eclipse.core.runtime.adaptor.EclipseStarter at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:626) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414)    People please help. What should i do to overcome this issue?  Best regards,  Boris Pitel


Compiling and linking static library with gfortran

I want to compile some of my often-used Fortran code into a static library (assuming I would have access to both *.mod and *.a files). This worked. However, I have encountered the problem with linking.  Here is an example. Let's say I have mylib.f90 file:  MODULE MYLIB    IMPLICIT NONE  CONTAINS    INTEGER FUNCTION FOO(N)     INTEGER, INTENT(IN) :: N     FOO = N + 2   END FUNCTION FOO  END MODULE MYLIB   Which is compiled as  gfortran -c mylib.f90 ar rcs libmylib.a mylib.o   Now, I have a program that uses FOO function:  PROGRAM MYPROG   USE MYLIB   IMPLICIT NONE    INTEGER M    M = FOO(3)   WRITE (*,*) M  END PROGRAM MYPROG   For simplicity I put it in the same directory as mylib.mod and libmylib.a. Compilation:  gfortran -c myprog.f90   no issues. Linking, however results in error:  gfortran -L./ -lmylib myprog.o myprog.o: In function `MAIN__': myprog.f90:(.text+0x11): undefined reference to `__mylib_MOD_foo' collect2: error: ld returned 1 exit status   However, symbol __mylib_MOD_foo is in libmylib.a:  nm libmylib.a   mylib.o: 0000000000000000 T __mylib_MOD_foo   and it compiles without a problem if I give it mylib.o. What am I doing wrong?  PS. I've seen somewhere, but can't find where now the way to link as follows:  gfortran -Wl,--whole-archive libmylib.a -Wl,--no-whole-archive myprog.o   It works. But it should solve the problem with weak symbols, whereas the output of nm didn't mark __mylib_MOD_foo as weak.


Regex to convert a number to brazilian money with javascript

I need to convert values like 100000 to the Brazilian currency format (Real) 1.000,00 and I am using javascript. That would be in this pattern. 0,00 1,00 10,00 100,00 1.000,00  I managed to create the decimals using this expression. if (v.indexOf('.') === -1) {     v = v.replace(/([\d]+)/, '$1,00');   }  Now I'm having trouble separating when I have values above 1000,00 which would be 1.000,00. I'm using the keyup that calls the function and writes the value in another field (Total) and this function that does all the work of converting the number to "Reais" I did this function String.prototype.formatMoney = function () {   let v = this;       if (v.indexOf('.') === -1) {     v = v.replace(/([\d]+)/, '$1,00');   }    v = v.replace(/([\d]+)\.([\d]{1})$/, '$1,$20');   v = v.replace(/([\d]+)\.([\d]{2})$/, '$1,$2');   console.log(v);    return v; };  My regex knowledge is weak, can somebody help me please?


Let $H$ is a subgroup of $G$ and the index of $G\backslash H$ is 2. Prove that $H$ is a normal subgroup of $G$.

Let $H$ a subgroup of $G$ and the index of $G\backslash H$ is $2$. Prove that   $H$ is a normal subgroup of $G$.   I have already know that $1_G *H $ is an element of $G\backslash H$. I miss the little flash to continue the problem. Will someone be able to give me advice?


Let $G$ be a group, and let $H$ be a subgroup of finite index in $G$, and let $N \colon = \cap_{x \in G} \ xHx^{-1}$. Then $N$ is clearly a subgroup of $G$ which is contained in $H$ and such that $aNa^{-1} = N$ for all $a$ in $G$.   Is $N$ of finite index in $G$? And If so, what can we say about an upper bound for the index of $N$? If not, then can we find a subgroup $N^\prime$ of finite index in  $G$, contained in $H$, and such that $aN^\prime a^{-1} = N^\prime$ for all $a$ in $G$? And what can we say about the index of $N^\prime$ in $G$?


Fast leveling and easy experience farming

What is the sweet spot for experience gain? Is it more effective to fight the highest level enemies I can find, or am I penalized for being out of my depth? Are certain areas of the game better/best for experience gain/leveling? Are bosses better than areas with infinite minions? Would I get exp faster in a higher-level co-op game? What are the most time-effective techniques for rushing/boosting a character (either solo or co-op)?


Let $f:\mathbb{R}^n\rightarrow ]-\infty,+\infty]$ be proper and strictly convex. Show that $f$ has at most one minimizer.  I am hoping someone can give me some feedback on the proof for this. I feel that it may not be rigorous enough.  proof: Let $\mu=\inf_{x\in\mathbb{R}^n} f(x)$ (i.e. $\mu$ is a global infimum) and choose a sequence $(x_n)_{n=1}^{\infty}$ in $\mathbb{R}^n$ such that $f(x_n)\rightarrow\mu.$ Then $(x_n)$ is a bounded sequence   [otherwise $(x_n)\rightarrow+\infty$, so $f(x_n)\rightarrow+\infty$. Therefore, $\mu\rightarrow+\infty$, which means that $dom(f)=\emptyset$, which negates our assumption that $f$ is proper.]  Moreover, by the Bolzano-Wierstrass theorem there exists a convergent subsequence $(x_{n_{k}})_{k=1}^{\infty}$, which means $(x_{n_{k}})\rightarrow x\in\mathbb{R}^{n}$. Thus, we see that \begin{align} \mu&\leq f(x)\;\;\;\;\;\;\;\;\;\;\;\;\;\qquad\text{as $f$ is lsc}\\ &\leq\liminf_{k \to \infty} \;(f(x_{n_k}))\\ &=\mu. \end{align}  Thus, $\mu=f(x)$ is our minimizer, and since $f$ is strictly convex we get that $\mu$ is unique.$\qquad\;\;\;\;\Box$


Does anyone have a good solution for integrating some C# code into a java application?   The code is small, so I could re-write in java, but I would rather reuse the code if possible. Don't repeat yourself, etc.   Also, I know I can expose the C# as a web service or whatever, but it has some security/encryption stuff in there, so I would rather keep it tightly integrated if possible.    Edit: It's going to be on a server-based app, so "downloading" another runtime is irrelevant.


Where can I get Debian Jessie 8.4 install media?

I was just doing an apt upgrade on an old Debian Jessie system (that is normally not internet connected), and I was presented with:  Media change: please insert the disc labeled  'Debian GNU/Linux 8.4.0 Jessie - Official i386 DVD Binary-1 20160402-13:26' in the drive '/media/cdrom/' and press enter  After may google searches I can't find a suitable place to down load this.  So either it is no longer available online (doubtful) or I can't find it (more likely). So where can I find the image?  And is it critical to have exactly that version?


Could planets survive their star becoming a black hole?

Would the supernova responsible for its formation destroy them. The question becomes one of how destructive the supernova event is to its own solar system - does it completely evaporate all planets up to and including Jupiter size?  The duplicate deals with "safe distance". I want to know whether any planets in a solar system like ours would survive. In other words, would something like Jupiter be completely evaporated or blown out of orbit


Please check if there's something wrong with my code

I am only starting to learn coding. I need to be able to use my custom controller I created for use in a visualforce page in production. I can't get past code coverage failure when I try to deploy from sandbox. I tried all the existing test classes available in production, because I don't know how to create a test class. Below is the code for my controller, please check if there's something wrong with it: public class MyController {  public ApexPages.StandardController sc;  public MyController(ApexPages.StandardController sc) {     this.sc = sc; }  public void quicksave() {     AVTRRT__Job_Applicant__c j = (AVTRRT__Job_Applicant__c) sc.getRecord();     update j.AVTRRT__Contact_Candidate__r; } }


Struggling to rotate in the correct axis It seems simple but gets strange when I keyframe

I bought a model and I have separated the blade and now I wish to animate it! Problem is when I set it to median point it's sky high. I played around with a few different settings and eventually settled on using the 3D cursor as the point of rotation. When I grab the Gizmo on the Y and rotate it it looks like it's doing exactly what I ned to do however when I Add key frames to this rotation the whole set of blades rotates up into the sky. Very new to blender so go easy on me if it's obvious! Appreciate any help! Thank you


Can I apply for a US visit visa from Singapore while my immigration visa form i-130 is still pending?

I am a Singaporean married to my husband who is from hongkong. He is a US PR working in US now. We have submitted our visa application in July 2017 under form i-130.   Currently i visit him via visa waiver once a year staying for 2 weeks.   May i know how long can i wait to return to US if i use visa waiver to stay till the maximum 90days?


I no longer have a profile photo outside of Stack Overflow

On Stack Overflow I have a , but on all other Stack Exchange sites, my photo has been replaced with an automatically generated avatar. I tried going to  and clicking "save and copy changes to all public communities", but it doesn't seem to have any effect. I have no idea when this happened as I don't visit this site very often and it's not something I would necessarily notice, but I am pretty sure it didn't always used to be this way.


I have Ubuntu 16.04,how to install Windows,dual boot

This is my current configuration   Should I make new partition for Windows?I wouldn't like to destroy my current Ubuntu installation.


SSL certificate for a public IP address?

I just tried buying a Comodo Positive SSL but it was rejected due to not supporting a public IP address, but instead they only support a domain name.  Does anyone know any SSL certificate provider that supports public IP address instead of a domain name?  My company has a dedicated server hosted with a web hosting company, which is used for running a bugtracker for multiple projects (for multiple clients). Since it's only used for a bugtracker, we don't need a domain name (our clients access it by typing the public IP in their browser).


Why do american people use the word "Tube" instead of "TeleVision"?

Do the following sentences make sense in modern English if I replace the word "Television" with "Tube"?   Any ball games on the tube tonight? I was watching a horror movie on the tube.


Which would be correct in the following context?     They had done this, though, while neglecting one of the most important aspects of our Father’s love, which is freedom.      They had done this, however, while neglecting one of the most important aspects of our Father’s love, which is freedom.   Thanks!


Finding a general way to sum $ \sum_{i=1}^{i=n} i^k$ for a given 'k' using elementary highschool calculus

Today morning I had thought of a wonderful way to calculate the general sum of $$ \sum_{i=0}^{i=n} i^n$$ Using just things taught in elementary high school calculus. So, my method is as follows, First consider the geometric series: $$ S = \sum_{i=0}^{i=n} x^i$$ from the formula for geometric series, $$ \frac{x^{n+1} - 1}{x-1} = \sum_{i=0}^{i=n} x^i$$ Rewriting this into the form in which leibniz product rule is more applicable, $$ \sum_{i=0}^{i=n} x^i = (x^{n+1} - 1) (x-1)^{-1}$$ take a derivative on both sides, $$ \sum_{i=0}^{i=n} i x^{i-1} = \frac{d}{dx} [ (x^{n+1} - 1) (x-1)^{-1}]$$ If I take limit as x goes to one on both sides I get formula for sum of first n integers, now suppose I multiply both sides by x and take derivative, $$  \sum_{i=0}^{i=n} i^2 x^{i-1} = \frac{d}{dx} [x\frac{d}{dx} [ (x^{n+1} - 1) (x-1)^{-1}]]$$ Taking limit as $ x \to 1$ gives me formula for first n squares, now do same procedure again, $$  \sum_{i=0}^{i=n} i^3 x^{i-1} = \frac{d}{dx} \left[x\frac{d}{dx} \left[x\frac{d}{dx} [ (x^{n+1} - 1) (x-1)^{-1}]\right]\right]$$ To generalize, let, $$ P = x \frac{d}{dx}$$ And, $$ P \cdot P =P^2 = x \frac{d}{dx} [ x \frac{d}{dx} ]$$ Then, $$  \sum_{i=0}^{i=n} i^k  = \lim_{x \to 1} P^k [ (x^{n+1} - 1) (x-1)^{-1}]$$ Is there a way to generally evaluate the limit? Thank you.


Book where girl can travel to alternate world through colored rings

Can anyone tell me the title and author of a book where a girl can see rings of differing colors and by stepping through those rings she is transported to other worlds?  Not every one can see the rings and only those who can are able to travel through them.    She is also transformed to a creature suitable to live in what ever alternate reality she travels to.


Physics of donut magnets levitating vertically on a pencil?

When you put identical donut magnets on a pencil horizontally, the magnets all repel from each other in a way that creates equal spacing between each magnet. However, spacing is not equal when the pencil is held vertically and spacing increases from the bottom up so it looks like this:     I think that the weight of each magnet has something to do with this, but I cannot figure out exactly why. Help?


As a fairly new DBA, I have a question for the experts out there.  We have a database transaction log file that grew to a whopping 425 GB because no transaction log backups were taking place (the db backup plan is set to full recovery mode.)  I have since remedied the problem, and the t-logs are being backed up regularly now.  The backups are all coming in at around 6.5 GB, but the original log file is still 425 GB.  Obviously, we need to shrink the size of the original file.  I have read a lot of comments about how shrinking the file could cause performance problems, so before I shrink it, I wanted to ask if there are any hidden repercussions I need to be aware of.  Any advice would be greatly appreciated.


How do I find the server name I'm runing?

I'm building a web page with visual studio 2010. I want to used pass word recovery control. I need to find out what server Name is,  so I can use SMTP setting to send emails to the user who forgets his pass word. I don't know how to get it. Does anybody know. I appreciate it very much.


Complex analysis (sketch the curve in $z$-plane and its image on $w=z^2$-plane)

$|z-1|=1$ is obviously a circle centered at $x=1$ and $y=0$ on z-plane. However, I am having a hard time visualizing it in the $w=z^2$. Is there an analytic way of getting the equation for $z$ in $w$-plane?   How should I do it?  Work done so far:   Nothing, i am not sure how to begin!  Thanks in advance!


Is there a relativistic generalization of the Maxwell-Boltzmann velocity distribution?

The Maxwell-Boltzmann velocity distribution in 3D space is $$ f(v)dv = 4\pi \left(\frac{m}{2\pi k_B T}\right)^{3/2} v^2 \exp\left(-\frac{m v^2}{2k_B T}\right)dv$$ It gives the probability for a single particle to have a speed in the intervall $[v,v+dv]$. But this probability is not zero for speeds $v > c $ in conflict with special relativity.  Is there a generalization of the Maxwell-Boltzmann velocity distribution which is valid also in the relativistic regime so that $f(v) = 0$ for $v>c$ ? And how can it be derived? Or can a single particle distribution simply not exist for relativistic speeds, because for high energies, we always have pair-production meaning the particle number is not conserved and a single particle distribution can not be defined in a consistent way?


I have a 3 pin 12 V Fan, rated at 2000 RPM max. Its nominal voltage is 12 V which will make it spin at full throttle. That's what is happening when I plug it in the motherboard. However I don't like that, because the fan is making a lot of noise. I would like to lower its speed to about half. I have figured out I should supply it with 7 V instead. There are methods online ,  and even a famous video on YouTube  demonstrating the procedure.   I've read a lot about this and I'm unsure about whether this is safe. I use a modern and pretty good and reliable 80 Plus PSU. So I'm skeptical now and I want to ask here to understand better. What we have to do is pretty much shown on the picture below.    Instead of supplying the fan with 12 V, using the yellow 12 V pin and the black ground pin from the Molex cable, we instead supply it with 12 V for VCC and 5 V for "ground". So the fan sees voltage difference of 12-5=7 V, but shouldn't there be a path to 0 V ground? This is the part where I'm confused.  Is this secure, is this possible?


I want to put windows and Ubuntu together in one pc (seems possible xD).  I reduce my hard drive to 150GB and install Ubuntu 14.04 on that. All easily. He installed all well and I restart it. Then immediately suggests a update, which I installed also. Another reboot and then it happens. The boot manager grub works and it also starts, but will not display, but it shows an black screen or there is the following error message:  [4.498559] sd 0: 0: 0: 0: [sdg] No caching mode page found [4.498600] sd 0: 0: 0: 0: [sdg] Assuming drive cache: write through [12.205496] init: Error while reading from descriptor: Broken pipe   I installed then Ubuntu ,  and  with the same problem: Either black screen or remains stuck at the points of loading. I have checked my hard disk to the cluster error and also defragmented. It is not on the hard disk and the CD-ROM drive that burns the CD it is also not, because I have also used other CD burner with the same problem.  How can I solve it?


In a professional kitchen, can the use by date on raw boneless meat be ignored because it has been vacuum-packed, and if so, for how long?

I threw it away but was told later that someone else (a professional cook/chef) had said that, as it was (supposedly) vacuum-packed, it was safe to use a few days later than the use by date.


Complex conjugated representation and its Young tableaux

This post is an exact copy of one that I posted in Math's site. I do this copy because people there suggested me to do it since, apparentely, in Mathematics and Physics we use different conventions for this kind of topics and none there could understand mine. (You can see first post here: )  Imagine you have the Young tableu and the Dynkin numbers, $(q_1, q_2, ..., q_r)$, of the Lie algebra of $SU(n)$ which has $r$ simple roots. The way I assign Dynkin numbers is increasing its value from left to right so the $k$-th Dynkin number is the number of columns with $k$ boxes: $q_k$ columns made of $k$ boxes.  The Young tableau is the 'usual' one with columns that decreases in boxes from left to right. The calculation of the dimension gives you some number $d$ that is given by  $$d = \frac{N}{H}$$  Where $N$ is the product of the following numbers: in the highest left box for $SU(n)$ write an $n$ and going to the right, increase this number in one unit box per box. Going down, decrease the number in the same amount box per box. $N$ is the product of all those numbers. $H$ is the product of the hook numbers: in each box write the number of boxes that you cut going from right (out of tableaux) to left till you reach that box and then keep cutting boxes going down from that box. Do this for each box and the product of these numbers (hook numbers) is $H$.  Now, my question is: how can I know if this Young tableau corresponds to the representation $d$ or to the complex conjugated $\bar{d}$ since both of them have the same dimension?    My source is:  sections 6.6.1 and 6.11


I am trying to prove that $$\sum_{k=1}^{2n} \frac{(-1)^{k-1}}{k} = \sum_{k=1}^n \frac{1}{n+k}$$ for $n \in \mathbb{N}$.  My approach is to prove this by induction and this is what I got so far:  $$\sum_{k=1}^{2(n+1)} \frac{(-1)^{k-1}}{k} = (\sum_{k=1}^{2n} \frac{(-1)^{k-1}}{k}) + \frac{(-1)^{(2n+1)-1}}{2n+1} + \frac{(-1)^{(2n+2)-1}}{2n+2} = (\sum_{k=1}^n \frac{1}{n+k}) + \frac{(-1)^{(2n+1)-1}}{2n+1} + \frac{(-1)^{(2n+2)-1}}{2n+2}$$  However, I am not aware how to proceed from here to get to: $$\sum_{k=1}^{n+1} \frac{1}{(n+1)+k}?$$  I would greatly appreciate any advice/solutions!


Hi everyone I am trying to model a gun in blender and I am getting these wierd edge as you can see on the right hand side of the second image. There are some triangles or I don't know what that is. Does anyone know how to fix it?


Please guide me:  $y' + ay +b = 0$ ($a$ not zero) is supposed to be separable and has solution  $y = ce^{-ax} - \frac ba$  Here is my start to this problem:  $\frac{dy}{dx} + ay = -b$ is as far as I can go with this. How should I go about separating $x$ and


I get only a GRUB terminal after installing Ubuntu alongside Windows 8. How do I fix this?

I attempted to load Windows 8 and Ubuntu alongside each other and it was working well until my Ubuntu installation completed and I restarted the computer. Now I can't get past this error:  Minimal bash-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. Grub>   How do I fix this? I'm not a computer person. Talk me through it. I'm using GNU GRUB version 2.02 beta 2-9.


How to focus on multiple object of interest

I have a Nikon D5300.   Mode: Manual  ISO: 100 (Bright Daylight)  Aperture: f/5.3  Shutter:1/80 Lens: 70-300mm   I am trying to find a way to focus on multiple objects, in my case, a bouquet of flowers. I just want the focus on, lets say 3 roses, and rest is out of focus. I am in manual mode. I tried setting the focus point to 9, 21 and even 39 points. Focus mode is set to AF-A or AF-C. Still I could get only that one rose in focus with rest blurred out.   Is it even possible? Thanks for any advice!


If gravitons are particles, how do they escape BH gravity if nothing can? So are the gravitons really particles or is there really just/only curvature of space-time?


How to avoid overflow using \IEEEpubid on the first column?

I am trying to write a journal paper using the IEEEtran.cls template.  My problem is that the Publication ID Mark overflows into my thanks section.  This is the bottom of the title page:    From the documentation of IEEEtran.cls we see that:    I included the command \IEEEpubidadjcol into the second column. This prevents the overflow in the second column as you can see in my previous image, but lets the first column run freely.  I tried including \IEEEpubidadjcol into the first column aswell, but that causes compilation errors.  Please, could you give me some hint on how to solve this problem without doing something illegal with respect to the IEEE modus operandi?  EDIT:  As the answer suggests, the problem can be solved using the \IEEEpubidadjcol command twice. When I tried this, I got an error:  Infinite glue shrinkage found in box being split   In spite of this error a correct pdf is produced. The error goes away when I do not include packages fixltx2e and dblfloatfix.


List Errors After Update SharePoint 2013 (15.0.4569.1506)

We did maintenance on our SharePoint server which included 40 updates (6 product updates and 34 security updates) to our SharePoint Enterprise Server 2013.  Now when the users go to any list on any browser (Chrome, FireFox, IE) instead of the list displaying, they get the following error:  TypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefined TypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property 'replace' of undefinedTypeError: Cannot read property '_events' of null   If they browse with a mobile device, it displays fine.


How do I make a WinForms app go Full Screen

I have a WinForms app that I am trying to make full screen (somewhat like what VS does in full screen mode).  Currently I am setting FormBorderStyle to None and WindowState to Maximized which gives me a little more space, but it doesn't cover over the taskbar if it is visible.  What do I need to do to use that space as well?  For bonus points, is there something I can do to make my MenuStrip autohide to give up that space as well?


Why are my kitties merchants, engineers and managers?

My kittens have those names of professions to their right. What do they mean? Do they confer bonus to certain areas?


Characterize finite dimensional algebras without nilpotent elements

Characterize all finite dimensional algebras (may not be commutative) over a field $K$ without nilpotent elements.   My condition: Let $A$ be any algebra (may not be finite dimensional), then it's easy to prove that $A$ has no nilpotent elements iff the equation $x^2=0$ has a unique solution (the trivial solution).  But is there a more explicit characterization of these finite dimensional algebras?


How can I downgrade the iOS on my Ipad 2nd Gen when iTunes says I am "not eligible?

My ipad 2nd generation is super sluggish and crashing a lot. It was suggested that I downgrade from the current release - which it runs on now - to iOS 7. I tried doing this through itunes and picking my own OS file to restore but I was told the ipad was not eligible for that back up. What is the best way to do that? Thx.


18.04 low disk space - using 640GB and more in /var/log/syslog.1

I've noticed several posts about this same topic, but found no reasonable solution.  post suggests deleting the files, but I want to avoid that since I'm using  and that same post says that it will break apache. I ran  sudo du -h --max-depth=1   this is the result I get  du: cannot access './run/user/1000/gvfs': Permission denied du: cannot access './run/user/121/gvfs': Permission denied 2.3M    ./run du: cannot access './tmp/.mount_jetbraP4UBzE': Permission denied 104K    ./tmp 6.5M    ./libx32 16K ./lost+found 15M ./sbin 5.7G    ./usr 4.0K    ./cdrom 16M ./etc 0   ./sys 0   ./dev 618G    ./var 13M ./bin 4.0K    ./lib64 195G    ./home 4.0K    ./srv 5.8M    ./lib32 936K    ./root 277M    ./boot 1.2G    ./lib du: cannot read directory './proc/2824/task/2824/net': Invalid argument du: cannot read directory './proc/2824/net': Invalid argument du: cannot read directory './proc/2825/task/2825/net': Invalid argument du: cannot read directory './proc/2825/net': Invalid argument du: cannot access './proc/5070/task/5070/fd/4': No such file or directory du: cannot access './proc/5070/task/5070/fdinfo/4': No such file or directory du: cannot access './proc/5070/fd/3': No such file or directory du: cannot access './proc/5070/fdinfo/3': No such file or directory 0   ./proc 7.3G    ./snap 14G ./opt 7.1T    ./media 4.0K    ./mnt 7.9T    .   so then I went to /var and  /var$ sudo du -h --max-depth=1 142M    ./cache 60K ./tmp 2.3G    ./www 92K ./spool 6.4M    ./backups 4.0K    ./crash 4.0K    ./mail 4.0K    ./metrics 612G    ./log 3.2G    ./lib 4.0K    ./local 228K    ./snap 4.0K    ./opt 617G    .   so than I tried /var/log  /var/log$ sudo du -h --max-depth=1 208K    ./apt 68K ./cups 24K ./samba 4.0G    ./journal 40K ./mysql 8.0K    ./hp 4.0K    ./gdm3 506M    ./nordvpn 4.0K    ./dist-upgrade 20K ./libvirt 92K ./apache2 28K ./unattended-upgrades 2.7M    ./installer 4.0K    ./speech-dispatcher 612G    .   edit: by request here it is  /var/log$ sudo du -xh -d 3 /var/ | sort -h -r | egrep -v '*K|*M' 617G    /var/ 612G    /var/log 4.0G    /var/log/journal/1e5573225229470a9199ad4e005b6533 4.0G    /var/log/journal 3.2G    /var/lib 2.5G    /var/lib/snapd 2.3G    /var/www 2.2G    /var/www/pixel 1.3G    /var/lib/snapd/snaps   Now I'm stuck. I have the same problem when I open Disk Usage Analyzer.     How can I free up space on the system? Is this a false positive? In other words it seems like it's reading the free space as used space. Is this a bug?


The Problem:  I'm pretty new to leaflet and I'm trying to add a outline of the states over my OSM layer via WMS. I've found several tutorials online, some directly from the leaflet website but haven't had any success.   My code:  var map; var feature;  function load_map() {     map = new L.Map('map', {zoomControl: true});      var osmUrl = 'http://<my_server>/osm_tiles/{z}/{x}/{y}.png',             osmAttribution = 'Map data &copy; 2012 OpenStreetMap contributors',             osm = new L.TileLayer(osmUrl, {maxZoom: 18, attribution: osmAttribution});      map.setView(new L.LatLng(0, 0), 3).addLayer(osm);       var states = L.tileLayer.wms('http://<my_server>:8080/geoserver/States/wms', {     format: 'img/png',     transparent: true,     layers: "null"     });      states.addTo(map); }  window.onload = load_map;   When I open the console in google chrome there are no reported errors with my java script or connecting to the server. When the map is displayed it has no problem displaying the OSM layer, but the WMS layer is missing.


How to include guidelines from an organisation in your research paper?

I am including several guidelines from different organizations such as WHO in my research paper. The guidelines will be copied and pasted into my paper under the heading of their organisation. For example:  WHO guidline: [Guideline Text]  Will this be considered plagiarism? Do I have to include the whole text in quotation marks or is the title "WHO guideline" adequate to show it is not my work. The other option is to just put down a link rather than copy and paste the guidelines but I need them to be in the paper for compare and contrast purposes.


Round corners in connections between nodes

When connecting nodes in tikz, for example with   \draw (one-out) -- (two-in); \draw (two-out) -| (three-in-down);   the connections usually have right-angle-corners with a sharp corner. Is there a way to make them more round? Or do I have to place arcs at those corners to get rounded corners in node connections?


Is there a Stack Exchange community in which one can ask subjective and possibly open-ended programming questions?

I am working on a Web application, and I was looking for a reasonable implementation for one of its backend services. I wanted to ask the community if they have done something similar and if so how does their implementation work?  This is a subjective and possibly open-ended question, hence Stack Overflow is not the right place to ask this question.  Is there a Stack Exchange community in which one can ask suchlike questions?


How can set two images in one line without using a table, but having a caption and a label for each image? Besides image one should be labeled Figure 1 and the second figure with Figure 2. Therefore I want the following construction:  **************     ******************* *            *     *                 * *            *     *                 * **************     ******************* Figure 1: Caption  Figure 2: Caption   I tried already subfigure:  \begin{figure}[!ht] \subfigure[caption]{\includegraphics[width=0.4\linewidth]{Screenshots/step1.png}} \subfigure[caption]{\includegraphics[width=0.41\linewidth]{boundingbox.eps}} \end{figure}   But this made (a) and (b) and one number for both figures.  Furthermore I tried:  \begin{table}[!ht] \begin{tabular}{p{7cm} p{7cm}} \begin{center} \includegraphics[width=0.7\linewidth]{Screenshots/step1.png} \label{fig:stepone} \caption{caption one} \end{center} & \begin{center} \includegraphics[width=0.7\linewidth]{boundingbox.eps} \label{fig:steptwo} \caption{caption two} \end{center} \\  \end{tabular}  \end{table}   But here the the columns are labeld with Table 1 and Table 2.


PDO -> bindParam() does not bind variable to PDO -> prepare() statement

i am trying to build a small search tool for a single table of a mySQL Database. Sadly i can't bind my function parameter to my sql statement and i can't figure out why.  This is how i think it works.(maybe you can spot a mistake in my general approach)   At first the parameter ($field) get passed to the function by referencing it inside the function call at the bottom of the file. I am referencing the paramter key of $field (:field) inside the $dbh->prepare() statement. The variable $field is bound as a Parameter with $query->bindParam() The query is being executed $field is used to extract the title from the modified query.   I already figured out that the problem only occurs when i try to bind the parameter to the statement. So somewhere between step 2-4.  Whenever i insert the $field as a pure string (as "title" into step 2+5) everythings works fine. But thats not very dynamic and therefore i can't use the functions parameter.  Is there someone out there who could give me a hint :) ? I am thankfull for any help.   <?php // establish connection to database $dbh = new PDO($server, $user, $pass);  /* function takes PDO object and a string that defines the column of our table that is supposed to be returned */ function searchField($dbh,$field){      if(isset($_POST['searchbar'])){          $searchInput = $_POST['searchbar'];         $searchInput = "%" . $searchInput . "%";         // (2)         $query = $dbh->prepare('SELECT * FROM docs WHERE :field LIKE :searchInput');         // (3)         $query->bindParam(':field',$field);         $query->bindParam(':searchInput',$searchInput);         // (4)                     $query->execute();          foreach ($query as $doc){             // (5)             return $doc[$field];          }         }  }   ?>  <form action="index.php" method="post" class="search-form">
        <input class="searchbar" name="searchbar" placeholder="Enter a filename..."></input>        <button class="btn btn-default search-button " type="submit"></button>
 </form>
     <?php          // (1) ==== The function call ====           echo "
" . searchField($dbh,"title") . "
";     ?>


Suppose $f$ is positive and increasing on $[0, +\infty)$. Suppose that $F(x)=$$\int_0^x f(t)dt$. Prove that $$\int_0^{+\infty} \frac {1}{f(x)} dx$$ converges if and only if $$\int_0^{+\infty} \frac {x}{F(x)} dx$$ converges.   My thoughts, and attempt at solution -  Since $f$ is increasing, $F(x)=\int_0^xf(t)\,dt\le\int_0^xf(x)\,dt=xf(x).$ We can rearrange that to $\frac1{f(x)}\le\frac{x}{F(x)}.$ Hence if the integral of $\frac{x}{F(x)}$ converges, then so does the integral of $\frac1{f(x)}.$  However, the above working seems incomplete as it bounds the integral from the upper side only. In fact, it shows that if the second integral converges, then the first one may converge, but not vice versa. How do I place a lower bound on the integral, and go about the rest of the solution?   Haven't been able to proceed from here, please help.


What's need of infinite divisibility in our mathematical calculations, if Planck length/time is smallest value?

Let's assume if in reality, Planck's length is the smallest possible length and Planck's time is smallest possible time. Do we still need infinite divisibility of length or any quantity in our mathematics for any type of calculation, knowing fully well that nature does not follow infinite divisibility?


Traveling with a Dog from the USA to the UK

This dog came from the UK to the USA with me five years ago, now I want to take her back with me. I have the carrier etc all good, but I have quesitons about entering the UK that nobody seems to have a straight answer to (I just spoke to the vets "travel agent" person and that left me even more confused.)  She seemed to think that on entry to UK we will have to have an agent take the dog through tests and that will cost over $1300. She suggested we fly to Europe and then drive to the UK in order to get around this.   We are flying in November, so I have time to get the blood tests etc if that needs to be done, however I am not sure about the other stuff and if I can just get the bloodwork, rabies booster and microchip and go or if there is more to it than that. I would love it if anyone has a definite answer regarding what it is I need to do and the expected total cost.   Thanks for reading!


Streaming jquery(JS files) from a CDN (Google)

This one is a case of not doing your homework.:-)    Apart from dynamic loading advantage, does it make sense to include a JavaScript library(jQuery in my case ) from a Google server when I can load it from my server as a single file comprised of the 19kb jQuery zip file + the additional JavaScript code I have written – all compressed with a JS compressor and served HTTP deflated.    With Google server I’ll have 2(parallel) HTTP round trips. One to get the jquery file and the other to get the site JavaScript code. One 19kb and the other say 20-25kb.  Under normal circumstances it would be a single 30-35kb download from my site.


What's ssh port forwarding and what's the difference between ssh local and remote port forwarding

I feel confused about ssh port forwarding and the difference between ssh local and remote port forwarding. Could you please explain them in detail and with examples? Thanks!


Stack Overflow Careers reminder email: days left until invitation expires do not agree

I got an email this morning reminding me I still have not yet joined Stack Overflow Careers.  At the outset, the email said I have only three days remaining until this invitation expires, but later on says there are 14 days remaining.  My guess is the latter number is baked into the text.


I bought some chestnuts in the fall for Christmas but haven't used them all yet. How long do they keep? How would I tell if they 'went bad'? They look just like they did when I bought them (no blemishes) but may weigh less (they seem light) and seem harder to the touch (but I may be misremembering).


Simple "C" program using "0.12" gets a weird result with GCC on cygwin

When I was making a ftoa function by myself for my IoT product, I've got a weird problem with GCC on cygwin.  The program below should get zero. But the result is 1.000000!?  gcctest.c  #include <stdio.h>  void main() {     double f = 0.12;     int d;     f *= 10;    // f = 1.2     d = (int)f; // d = 1     f -= d;     // f = 0.2     f *= 10;    // f = 2.0     d = (int)f; // d should be 2     f -= d;     // f should be 0.0     printf("%lf\n", f); }   if you try f = 0.11 or 0.13, you'll get zero correctly.  Since I doubt the "cast" operation at "d = (int)f", I tried a test program below.  gcctest2.c  #include <stdio.h>  int main() {     double f = 2.0;     int d;     d = (int)f;  // d = 2     f -= d;      // f = 0.0     printf("%lf\n", f); }   With this case, the result is zero. It seems the procedure of "gcctest.c" holds some problem.   Is this known problem? Do you know how to avoid this case to get the correct result? I would appreciate it if I could get any helps.  The versions of gcc and cygwin are below.  $ gcc --version gcc (GCC) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  $ cygcheck -c cygwin Cygwin Package Information Package              Version        Status cygwin               1.7.28-2       OK   Thanks, taro


Proving metric( the triangle inequality)

In complex plane $\mathbb{C}$, how to prove that $$d(z_1,z_2)=\frac{|z_2-z_1|}{\sqrt{1+|z_1|^2}\sqrt{1+|z_2|^2}}$$ is a metric?  I got stuck in the triangle inequality, and have no idea of proving it, any hint or solutions?  Thanks for replying!


Bruce Banner needs to eat, but does the Hulk?

Does the Hulk actually need to consume food, or is Bruce Banner's normal dietary intake enough? I'm asking because it seems transforming from the Hulk back to Bruce Banner with a half a cow in his stomach could be rough on the poor Doctor.


I want a scatterplot of a particular $f(n)$, $n=0,1,\dots, 20,000$. The labels along the x-axis add nothing to the reader's understanding, so they shouldn't appear. The snippet below does eliminate the labels on the individual ticks (0.5, 1, 1.5, 2), but it does not eliminate the scale factor. What you end up with is a plain x-axis, as desired, but with an incongruous $\cdot 10^4$ on the lower-right. \begin{figure}[h] \centering \begin{tikzpicture}[scale = 1.20]   \begin{axis}[enlargelimits=false,       scale only axis = true,       width=0.35\textwidth,       height=0.4\textwidth,       xticklabels=\empty]   \addplot+[only marks,mark size = 0.020mm] table {data1.out};   \end{axis} \end{tikzpicture} \caption{Plot of 20,000 points of $f(n)$.} \end{figure}  To be clear, data1.out consists of two columns. The values in the first column are simply 0, 1, 2, all the way to 20,000. The values in the second column are in the range from 0 to 0.50.


I understood that opening a modal popup on top of another is not a good practice and a good ux, but my project has the same requirement. I have a modal popup which contains the list of stores with a link to the map and upon clicking on the map link, another modal need to be appear and the previous modal popup with list of stores should still remain open and blurred. Upon closing the second modal, the first should be active again. Below is the page which exactly depicts my requirement, but I am not sure what is the best way to achieve this. Can someone please help ??    Thank you, Prakash.


How do I install MS Office 2016 on PlayOnLinux

How can I get playonlinux to install Microsoft Office 2016. The options from the install menu only go up to 2013.   Is there a more recent version of PlayOnLinux (or indeed Wine) I can download to enable installation of MS Office 2016?  The steps I take are:   open PlayOnLinux  click Install Click Office returns a list of several software packages including MS Office 2007, 2010 and 2013 (but alas not 2016)


How will C+ and many B+ during online school affect PhD admissions?

I'm finishing my second year at a top research university in mathematics, and my major gpa is still a 3.99, however my grades in other subjects have suffered tremendously due to the pandemic stress and online learning (B+ in a physics class, C+ and B+ in CS classes etc.) I have been completely burned out by zoom classes. My overall GPA is currently at a 3.7 but it used to be a 3.9 and it is only decent because I still have high grades in math, including rigorous honors courses. Before covid, I didn't know I wanted to pursue a PhD in mathematics but I started doing mathematical research a few months ago and found out that it is what I want to do with my life. But I have become increasingly worried about my declining performance during covid. I know that many PhD applicants have 4.0s overall and many more stellar qualifications from undergrad, so I am worried that I am nowhere near good enough at the moment. I guess I would like to know how lenient or strict PhD admissions are with online school grades.


Inulin reduction in Jerusalem Artichokes

Last year we first planted Jerusalem Artichokes (Topinambour) in our vegetable garden. The plants did very well and we had quite a huge harvest. We found however that eating the tubers causes digestive problems.  I looked into why this is and found that the effect is caused by the presence of a carbohydrate called Inulin, which our digestive system can not process, but sadly the bacteria in our colons CAN (hence the nickname Fartichoke for this otherwise quite delicious produce).  I have found literature references saying that storing the tubers cold and dark for 6+ weeks will transform the Inulin into other forms of carb that can be digested. Since the harvests are quite huge and our cold storage room is limited, I was wondering if anyone here knows of a different method of Inulin reduction.  Any tips welcome, be they of a storage, preparation or preservation nature.


How do I make an unbreaking Diamond Pickaxe that can only break Obsidian in MCPE?

I am trying to create a diamond pickaxe with two effects. I would like it to be Unbreaking, and that it can only break Obsidian. The problem is, I'm not sure how to go about it. Can someone help me with this?


proof that the sum of digits of natural number are divisible by 3 iff the number is

Im trying to prove that every natural number is divisble by three if and only if the sum of its digits are divisible by three.  First i proved by induction that $10^n-1$ is divisible by 9 (and therefore 3) so i could use this in the next step, would this be valid...  ANy natural number can be given a decimal representation  Let $s\in N$  Let $k_0,k_1...k_n\in ${${0,...10}$}  $S=k_0 +10k_1+100k_2+...k_n10^n$  $= 9k_1 + 99k_2 + ... + k_n(10^n-1) + (k_0+k_1+...k_n)$  All terms are divisible by 3 but the sum of the digits in S. Therefore Dividing S by 3 will leave the same remainder as dividing the digits bys 3.  Is this a valid proof of the claim? Thank you for your time


How can I run a Minecraft LAN server with the server.jar file?

I'm trying to set up a LAN server for my family to use at home, where anyone can hop on and play anytime. Because of this, I don't want to use the "Open to LAN" feature on the pause menu since the server would close as soon as I exit that world. I'd like to use the server.jar found  so that I can always have it running in the background without having to be on the server myself. How can I run the server in a way that makes it accessible to any players on my local network?


If verification is quality control, what is a validation?

I know that verification is QC (focused on products) but what about validation? I would say its QC too, as it does aim on the product workings, yet no source mentiones that. I am trying to understand, in QA/QC, where these activities belong to.


Google has deindexed portions of our page after content copied

This year our website featured in a number of top design articles and has been subsequently copied extensively. Now, Google appears to have deindexed portions of our home page (and maybe other content) which is causing concern for our SEO rankings and CTR.  Furthermore, it no longer reads key portions of the page to present in SERP, instead converting our navigation to text. The results, as you can imagine, are very poor (refer image).    We're a Christian organisation and are not interested in pursuing copyright infringements.  What can be done about this?


So, I installed 16.04 a few days ago and had to reinstall some apps. One of them was avidemux. After I installed it from the software center I couldn't get it to work properly. It wouldn't even load a video clip before giving me an error message and closing. After trying many command prompts to purge the avidemux files, I still can't get it to reinstall from the software center... Any tips?  I posted the question a few days ago and didn't get a response.


I am traveling to Uji Kyoto Japan and I’m very interested in having a retreat involving Buddhism and teas, especially Matcha Green Tea. I want to get away maybe in a Temple and get the whole Zen experience.


I am currently studying this type of Jacobi matrix for all n  Example of the type of matrix $n=4$ $$\mathbf{X}=\left[\begin{array}{*{20}{c}} {0}&{1}&{0}&{0}\\ {1}&{0}&{1}&{0}\\ {0}&{1}& {0} &{1}\\ {0}&{0}&{1}&{0} \end{array}\right]$$  I am struggling to prove that all eigenvalues for all n will be; $ \lambda \leq |2|$


Identify the reason why a user has access to a record

UserRecordAccess tells you which records user has access to. But it doesn't inform why a user has access to that record.  I'd understand that this can be complicated but this is one source of questions and we go chasing all the reasons why a user has access.  Is there a list of rules or steps one can follow to highlight reasons behind a record access?


Different statements of the Heisenberg uncertainty principle

I know that from the Heisenberg uncertainty principle, ∆x∆p=ℏ/2 . And I know that this equation can be rewritten as ∆t∆E=ℏ/2.   From QED I also know that the equation ∆t∆E=ℏ/2 claims that some energy E can exist for some short time t then disappear. Is that true that the equation ∆x∆p=ℏ/2 also claims that some momentum p can exist for some short distance x and then disappear?  I wonder if momentum can be not conserved for some short displacement as energy can do so for some short time.


I am getting the error:     SQLSTATE[42000]: Syntax error or access violation: 1064 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 "mytable"  at   line 1   When I call the below function using  $fields = Table::getFieldsForTable('mytable');   If I hard-code :t to my table name, then the code executes fine.   public static function getFieldsForTable ($table ) {             $sql = 'DESCRIBE :t';              try {                 /**                  * @var $db \PDO                  */                 $db = static::getDB();                 $stmt = $db->prepare($sql);                  $stmt->bindValue(':t', $table, PDO::PARAM_STR);                  $stmt->execute();                  return $stmt->fetchAll(PDO::FETCH_ASSOC);             } catch (\PDOException $e){                 echo "PDO ERROR" . $e->getMessage();             }         }   I have used the same code snippet over and over in other parts of the project, but I am failing to see what I have done wrong here.  Any help?


How can I use the shift property of the Fourier transform to calculate the Fourier transform of an impulse train?

As we all know: $$\mathcal F\{\delta(t)\} = 1$$ and: $$\mathcal F\{x(t-k)\}=X(f)e^{-i2\pi fk}$$  However when I try to use these properties to calculate the Fourier transform (FT) of an impulse train, $x(t) = \sum_{n=-\infty}^{\infty}\delta(t-nT)$, I get: $$\mathcal F\{x(t)\}=\mathcal F\{\sum_{n=-\infty}^{\infty}\delta(t-nT)\} = \sum_{n=-\infty}^{\infty}e^{-i2\pi nTf}$$ As far as I know, the FT of an impulse train should be another impulse train, but the RHS in the expression above doesn't look like it. What am I doing wrong?  Thanks for your time!


A mathematical description of Partial Least Squares (PLS)?

I have read many articles about PLS, but I could not understand the mathematical description yet. I know that it is quite similar to principal component regression (PCR), except that it takes into account the direction of the response variable.  Could you please provide for me a simple mathematical explanation e.g the formula and coefficient estimates form?


How to use multiple whatsapp, paytm, hike and more accounts in an Android phone? Or any other android app which uses authenticated single user login apps.


How do I Configure Search To Remove Student Results?

Hello I would like to know how I can remove student onedrive Results appearing in search . I am using SharePoint 2013 Online with O365. Staff and Student share same tenancy. Is there way to block students one drive appearing in SharePoint search.


I have a matrix shown below. I would like to have the whole row green rather than only the cells.   How can I do that?  \begin{equation}\label{eq:appendrow} \newcommand\x{\times} \newcommand\y{\colorbox{mygreen}{$1$}}   \left(\begin{array}{cccc}     \x  & \x  & \x & \x \\     0   & \x  & \x & \x \\     0   & 0   & \x & \x \\     0   & 0   & 0  & \x \\     \y  & \y  & \y & \y \\   \end{array}\right) \end{equation}   The output is:


Gold tag-badge holders and moderators can now edit duplicate links

As of a few minutes ago, if you have a gold tag-badge for a tag associated with a question that's been closed as a duplicate, you can edit the duplicate links to replace, add, remove or re-arrange them:    These changes are tracked in PostHistory to allow anyone to detect abuse, while the results update the PostLinks table so that existing logic continues to work (I mention this because some of you may wish to lean on  for observing how this works out, once it gets updated). Rationale This has been requested for... . In February of 2013, Jarrod replaced the venerable but messy method of marking duplicates by editing links into the top of the post with a system that records the question IDs in a separate table and renders them as needed. This was a huge improvement... Not only did it make tracking the usage of duplicates much easier and more reliable, it also prevented editors from inadvertently (or intentionally...) editing out the duplicate links without reopening the question. But it also , which was useful in cases where more than one duplicate was appropriate (for instance, "too broad" questions that consist of multiple questions, each already answered) or situations where the asker clarified their problem and a different duplicate link became appropriate. This was clearly not ideal; some folks resorted to reopening and re-closing, while others  to work around the deficiency. Today, that changes. Oded stepped up to implement an elegant solution: allow  to also modify the list at will. This stops short of fully restoring the previous capabilities - after all, there were serious downsides to that. But it should suffice to allow those most familiar with a given topic to better curate it. Please report any bugs you find, tagging them  . Enjoy!


Uncarved Pumpkin - is it still okay to cook with?

Is there a way to tell if the insides of my pumpkins are still okay to cook with?  Assuming the innards smell okay, is it fine to eat?  Is it possible for the pumpkin to smell fine but not actually be fine?


Extracting Data Between two Characters in Excel

I have the following format in Excel and I am trying to extract the data between the characters:  First Last <flastname@xxxx.com>   I need to extract the email address between < and > into its own cell  Thanks!


I'm working through Royden & Fitzpatrick's Real Analysis, and one of the questions in the introductory chapters of $L^p$ spaces reads:  Show that if $f$ is a bounded function on $E$ and $f\in L^{p_1}$ then $f\in L^{p_2}$ for any $p_2>p_1$.  There is a theorem in the section that reads:  If $E$ is a measurable set, $m(E)<\infty$ and $1\leq p_1<p_2\leq \infty$, then $L^{p_2}\subseteq L^{p_1}$  Naturally, I would use a similar approach as the one they use to prove this theorem, with Holder's inequality, but the confusing thing is that what I'm after is the opposite. $f\in L^{p_1} => f\in L^{p_2}$ means that $L^{p_1}\subseteq L^{p_2}$, instead of the other way around. So I'm at a loss, either I misunderstand the statement of the theorem against the question, or I have to use something other than Holder's inequality, and this section isn't giving me all that many tools. Any help is appreciated!


What would happen if a black hole swallowed a white hole?

I’m just curious on this, if you can tell me then please do. Also don’t shame me for my bad question I’m just a curious little fella!


Would running along Earth's Surface at escape velocity cause you to get out of the Earth's gravitational pull?

If one were to run/drive/fly along the earth's surface (by this I mean tangential to the Earth) at escape velocity (about 7 miles per second), would that person escape the gravitational pull? If not, at what speed would this happen?


c# register any MouseClick event on the Form

I want to make an event that runs every time the mouse clicks anywhere on the form.  Currently i got it set this:   this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Form_MouseClick);   But this only works when not clicking on any other element like a panel Is there any way i can override this?


Multiple vertical-align properties same line CSS

Was looking at the vertical-align  property of CSS. I have used it quite a bit and normally you can use it like this:    div {   background-color: green;   overflow: hidden;   height: 100px; }  #text {   background-color: powderblue;   padding: 5px;   vertical-align: 30px; }
   Texttext TexttextTexttext
     However, what I don't understand is that if  the vertical-align is changed this can influence the position of the other inline elements (other text in this case)  For example if we change the vertical-align from 30px to -30px:    div {   background-color: green;   overflow: hidden;   height: 100px; }  #text {   background-color: powderblue;   padding: 5px;   vertical-align: -30px; }
   Texttext TexttextTexttext
     The results is that text outside the span (with no vertical-align property) is completely changed from position.   Questions   Why does vertical align also affects other elements besides the element where the property is put on? Is this anyhow related to line-height? Can line-height change the behaviour of the vertical-align property?


Prove that, if $\{u,v,w\}$ is a basis for a vector space $V$, then so is $\{u+v, v+w, u+v+w\}$.

I'm trying to prove the following statement:     In a vector space $V$ over a field $\mathbb{F}$, if $\{u,v,w\}$ is a basis for $V$, then $\{u+v, u+v+w, v+w\}$ is also a basis.   $$\underline{\text{My proof}}$$  Suppose that $\{u,v,w\}$ is a basis for $V$. We need to show that $\{u+v, u+v+w, v+w\}$ is linearly independent and spans $V$.  Now since $\{u,v,w\}$ is a basis, it is linearly independent, so the only solution to $\alpha u+\beta v+\gamma w=0$  is the trivial solution $\alpha=\beta=\gamma=0.$ In addition, $\{u,v,w\}$ spans $V$, so, for all $v_i \in V,$ we have $$v_i=au+bv+cw$$ for some $a,b,c \in \mathbb{F}.$  Proof that $\{u+v, u+v+w, v+w\}$ is linearly independent: Suppose that $\delta(u+v)+\varepsilon(u+v+w)+\zeta(v+w)=0.$ Then we have $$(\delta+\varepsilon)u+(\delta+\varepsilon+\zeta)v+(\varepsilon+\zeta)w=0.$$  But we've just proved that $\alpha u+\beta v+\gamma w=0 \implies \alpha=\beta=\gamma=0$, therefore, if we take $$\alpha=\delta+\varepsilon, \beta=\delta+\varepsilon+\zeta, \gamma=\varepsilon+\zeta,$$ then we have $$\begin{cases} \delta+\varepsilon=0 \\ \delta+\varepsilon+\zeta=0 \\ \varepsilon+\zeta=0\end{cases} \quad ,$$ the only solution to which is $\delta=\varepsilon=\zeta=0,$ hence $\{u+v, u+v+w, v+w\}$ is linearly independent.   Now we need to show that any $v_i$ can be written as some linear combination of $u+w, u+v+w, v+w.$  Let $a,b,c \in \mathbb{F}.$ If we can show that $$x_1(u+v)+x_2(u+v+w)+x_3(v+w)=au+bv+cw$$ has a solution (for $x_1, x_2, x_3 \in \mathbb{F}$, then it follows immediately that $\{u+v, u+v+w, v+w\}$ spans $V$.  Proof that $\{u+v, u+v+w, v+w\}$ spans $V$: Now, $$x_1(u+v)+x_2(u+v+w)+x_3(v+w)=au+bv+cw \\ \ \\\iff (x_1+x_2)u+(x_1+x_2+x_3)v+(x_2+x_3)w=au+bv+cw \\ \ \\ \iff \begin{cases} x_1+x_2=a \\ x_1+x_2+x_3=b \\ x_2+x_3=c\end{cases}$$  By substitution (a trivial exercise, whose steps I have left out), we get $$\begin{bmatrix} x_1 \\ x_2 \\ x_3\end{bmatrix}=\begin{bmatrix} b-c \\ a-b+c \\ b-a\end{bmatrix} \quad ,$$ hence every $v_i \in V$ can be written in the form $x_1(u+v)+x_2(u+v+w)+ x_3(v+w)$, hence $\{u+v, u+v+w, v+w\}$ spans $V$.  Since $\{u+v, u+v+w, v+w\}$ is both linearly independent and spans $V$, it is a basis for $V$. $\square$ Note: you may be wondering: why are $b-c, \quad a-b+c, \quad b-a \in \mathbb{F}$? Answer: Since $\mathbb{F}$ is a field, it is closed under addition and subtraction, and $a,b,c$ were chosen to be in $\mathbb{F}.$  Question:     Is this proof correct? Can it be shortened?   Thanks!


I have a PSD of a website design. I like the layout but I would like to experiment with the color palette. Is there a way to swap colors? I was think something like variablizing the colors and then quickly swapping them or importing a color palette from Kuler.   This is what I'm looking at:


If the positive series $\sum a_n$ diverges and $s_n=\sum\limits_{k\leqslant n}a_k$ then $\sum \frac{a_n}{s_n}$ diverges as well

So I've been trying to figure out how to prove the following.     Let $(a_n)$ be a sequence of positive numbers such that $\sum\limits_{n=1}^\infty a_n =\infty$, and define $s_n=\sum\limits_{i=1}^n a_i$. Then $\sum\limits_{n=1}^\infty\frac{a_n}{s_n} =\infty$ as well.   I can prove it by comparing it to $\int_1^\infty \frac{1}{x} \, dx $ if the sequence $a_n$ is bounded by some $M$, but that's as far as I've been able to get.


Asked to open a BOA account and then transfer to other accounts via cash withdrawal. Is this some kind of scam?

I set up a chase account in my name, $19,500 was deposited. Which I took out in cash and deposited in other accounts for her. This account was then closed. Before that though, I got a phone call from chase saying the funds deposited ha been recalled. Now the same thing is going on with a BOA account.   My personal account has not been touched but I am wondering if I am being scammed or used for an illegal purpose.   I have also done three MoneyGram s for her to Africa, Florida and California.  Please help


There are 5 tourists going to London. There are 7 places to visit in London. What is the probability that two attend one (same) location and 3 attend another (same) location.   So this is asking what is the probability that the 2 groups of people attend different places, but everyone from the groups is there. ex. $AB | C D E$ for the groups.  There are $\binom{5}{2}$ ways to choose 2 groups. There are $7^5$ total choices considering each person has seven choices.   There are $\binom{7}{2}$ ways to pick 2 locations from the 7.   Thus, $P = \frac{\binom{5}{2} \binom{7}{2}}{7^5}$  But the answer the book has is      $$P = \frac{7*6 \binom{5}{2}}{7^5}$$   Why are the locations suddenly distinguishable?


Is "further" really used as synonym of "farther"?

The OALD, for the meaning of further says:     (comparative of far) (especially BrE) at or to a greater distance SYN farther   Is further really used as synonym of farther? As far as I recall, there is a slightly different meaning between those words. I don't recall  that exactly, but I think I was taught that further is used figuratively, such as in "I cannot go any further into this discussion."


Why does the following generate an error?  \documentclass{article}  \usepackage{enumitem} \begin{document}  \begin{description}[label=\emph{\alph*})]  \item [aaa] bbbb  \item [eee] əəəə   \end{description} \end{document}


I want to play games from mini clip website, tried it in Firefox. Even though it has flash player installed through software center, the games are not working. I tried chromium, but was unable to install flash. Tried to follow the methods already explained in forums.  sudo apt-get update replies with a lot of errors like this:     W: Failed to fetch    Unable to connect to pk.archive.ubuntu.com:http:   Please help me to install Google Chrome with Flash Player.


How do I find out the path of the currently executing script?

Duplicate of:   I would like to find out the path to the currently executing script. I have tried os.getcwd() but that only returns the directory I ran the script from not the actual directory the script is stored.


When you let a tap run at a small flow (e.g. 5ml/s), and block the straight flow with your finger, beads form, almost like conjoined drops.  Is there a good explanation for this?   P.S. It may seem like a very noob question,  but I haven't done anything like this before.


Custom equation command produces not wanted indentation

I wrote this custom environment to save time when typing:  \newenvironment{equations}     {\begin{equation}\begin{aligned}}     {\end{aligned}\end{equation}}   However, it produces a strange indentation in the text that follows.  Directly writing  \begin{equation}     \begin{aligned}      things     \end{aligned} \end{equation}   does not give any problem.  What is the problem?


Xubuntu/Lubuntu/Ubuntu 12.10 cannot load XFC/LXDE/Unity on netbook running Intel N2600

I just tried doing a fresh install of the 3 flavors of Ubuntu 12.10 and every time I try to boot into the GUI interface, I face an error saying "Fatal Error: No screens detected" and then just thrown into the terminal prompt screen.  Did ubuntu discontinue support for the Intel N2600 (GMA 3600) cpu/gpu? I'm trying to install linux on a Asus EEE PC 1025C netbook.


If a creature enters as a copy, does it have summoning sickness?

If I play the Phantasmal Image as a copy of any other creature (that has no summoning sickness), will it have the summoning sickness or not?  Phantasmal Image     You may have Phantasmal Image enter the battlefield as a copy of any creature on the battlefield, except it's an Illusion in addition to its other types and it gains "When this creature becomes the target of a spell or ability, sacrifice it."   I know that copies does not copy the "summoning sickness" status, but what if it enters the battlefield and is not being copies inside it?


In my MWE below, I included an \mbox in my \align environment.  I wanted the text line to be flush left, but when I inclued the text line as a separate line, all the equations got shifted to the right.  How can I bascially include the \mbox in one line, then continue with the rest of the formula in the align environment?  Here is my code:  \documentclass{article} \usepackage{amsmath,fourier,physics}  \begin{document} \begin{align} \mbox{Now ~} \dfrac{1}{z!}  = & (z!)^{-1} \\ \ln p(z)  = & z\ln\lambda - \lambda - \ln z! \nonumber \\ \mbox{Differentiating with respect to $\lambda$, we have}\nonumber \\ \pdv{\ln p(z)}{\lambda} = & \dfrac{z}{\lambda} - 1 \end{align}  \end{document}


Using a subset of monitors for remote desktop

I tried to find an answer to this a few years ago, but it seemed it wasn't possible then (I suspect it isn't now either! - but what the hell!)   I have a three monitor system, that I mostly use for remote desktop. However occasionally it would be useful to have remote desktop on two monitors and use the other monitor for the local machine.   I know it is possible to have a single monitor full screen, or to stretch an RDP session across monitors, but this loses things like snapping etc.   P.S. this is a duplicate of  thread, but that was a couple of years ago, I'm hoping things have changed.


Get numeric value of all characters in a string

I want to get the decimal ASCII value of a string in C#, for instance:  "abc123s" would be: 97 98 99 49 50 51 115  (979899495051115) 'f1c3s1"would be:102 49 99 51 115 49or1024999511549`  I tried Convert.ToInt32 or Int.Parse but they do not result in  the desired effect.  What method can I use for this?


How is it possible to set a specific text in the footline of the slides in beamer? In my case, author names and the title are shown. Instead I'd like to show the conference name and country.  \documentclass{beamer} \usetheme{CambridgeUS}  \author{Elena Piper, Amina Shahid, April Fiorese} \title{Evaluating the Change of Performance Metrics for Key ABS}  \begin{document} \maketitle  \end{document}


Calculate the limit $\lim_{n \to \infty }{\frac{{[n(n+1)(n+2)...(2n-1)]}^\frac1n}n}$ using Riemann sum

I want to calculate   $  \lim_{n \to \infty }{\frac{{[n(n+1)(n+2)...(2n-1)]}^\frac1n}n} $  using   $$\int_0^1 f(x)\,dx=\lim_{n\to\infty}\frac1n \sum_{k=1}^n f\left(\frac{k}n\right)$$  I know I have to convert $\frac nk$ to $x$, but I am confused since all the factors are multiplied together. Should I use $\log$?


Display Both next previous and number in single page

In a single page, I split long post by nextpage  and shows pagination number or next/previous option.But I want to display both number and next-previous option. Here is my single page screenshot one is next-previous and another is number option.And My code is that:  function custom_nextpage_links($defaults) {                  $args = array(         'before'     => '

' . __( 'Section:', 'textdomain' ),     'after'            => '

',     'link_before'      => '',     'link_after'       => '',     'separator'        => ' ',     'nextpagelink'     => __('Next &raquo', 'textdomain'),     'next_or_number'   => '',     'previouspagelink' => __( '&laquo Previous', 'textdomain' ),     'pagelink'         => '%',     'echo'             => 1 );      $r = wp_parse_args($args, $defaults);  return $r; } add_filter('wp_link_pages_args','custom_nextpage_links');


How to find the sizeof  an  array, by  a function which receives only  a pointer to  the array?        int find(int *p) {   // I want  to find  the  sizeof   //   the array in this function         return 1;   }      int main()  {      int a[]={12,2,9,6,5,11,15};     find(a);      return  0; }


Assigning presenters the role of a session chair without prior notice

I am going to present my research on a conference in the near future. This conference is in the field of engineering and CS. It has several sessions in parallel and a total of more than 100 papers.  When I had a look at the program, I noticed that I (and another person) have been assigned the role of the session chair of the session where I am also presenting. However, nobody has informed me of this, yet, neither have I been asked if a want to take this over. I had a look at the other sessions, it's similar there: Two presenters in each session have been selected to be session chairs.  So far, I have never experienced something like that. All in all I am not complaining at all (to be honest, I am looking forward to taking over this task!), however, I am still a bit surprised. Is it common in other fields or other conferences that presenters are managing their own sessions and are not asked whether they are willing to do so?    UPDATE: I was at the conference and some other chairs and attendees told me that this is indeed common there: They just assign the session chair role to people and sometimes miss to tell them beforehand. Nevertheless, everything went well and as expected this was an interesting experience.


How to add custom validation ("daterangerequired") of date range picker input controls to method $.validator.addMethod().
   <input class="form-control input-sm from_date" name="Experience2" placeholder="Select First Date" aria-invalid="false">   to   <input class="form-control input-sm to_date" name="Experience2" placeholder="Select Secound Date" aria-invalid="false">


How to prove $\lim_{x\to\infty}\frac{x^{99}}{e^x}=\infty$?

How to prove $\lim_{x\to\infty}\frac{x^{99}}{e^x}=0$?   I wasn't sure how to do this because both the top and the bottom limits independently turns out to be infinity!


Analytic function defined on unit disc with co-domain except negative real axis.

I am trying to solve the following problem. Let $f$ be an analytic function defined on $\mathbb{D}=\{z:|z| <1 \}$ such that range of $f$ is contained in $\mathbb{C}$ \ $(-\infty,0]$.Then there exist an analytic function $g$ such that $Re g(z) \ge 0$ and $g$ is a square root of $f$ on $\mathbb{D}$ and there exist an analytic function $g$ such that $Re g(z) \le0$ and $g$ is a square root of $f$ on $\mathbb{D}$.  Clearly fuction $Log(f(z))$ and function $f(z)^{1/n} $are well defined according to given co-domain of $f$ . But these functions are not required function according to me. Then how to find required function $g$. Since $f$ is non zero so $f^{'}/f$ is also analytic and there is a function $g$ such that $g=Log(f(z))$. Now i am stuck please some one help.


find latest date between created date and updated date in sql stored procedure

I have two column in my table as created date and updated date.I want to find latest date from that.which ever is latest I want to considered that and filter it from input values.  My current query is :-  Select *  from Emp E  WHERE (E.USERID=@UserID) and (E.CDATE >= @FromDate AND E.CDATE <= @ToDate) order by qdate desc


Book for Statistical and Probability Theory

I have taken one introductory statistics class and I am finishing up an econometrics class, but these classes are more about applications and just applying formulas without any explanations as to how these formulas came about.  I am looking for a good and thorough textbook or book on statistical and probability theory where the author explains the beginnings, the theory, the intuition behind these formulas. Not just proofs but exactly how were these formulas born.  i.e: How did the formula to calculate variance come about? How was this formula derived?  What exactly and intuitively are degrees of freedom and how did the concept come about? Where did probability distributions arise? How were all these statistical formulas thought up in the first place? These are just a few of many questions.  My mathematics background includes: multivariable calc, linear algebra, intro stats, discrete mathematics.


I have a php file for frontend. In this file there are few forms.   <form name="add3" method="post" id="add3" name="add3" action="add_exec.php" role="form"> </form>   now you can see in action add_exec.php. I want this file not to be execute directly.  I don't want to use .htaccess to achieve this.   Is there anything else we can do to prevent direct execution of add_exec.php file.  Thanks  Edit:  I am not looking for htaccess answer. If my file is in form action attribute then it will consider as include or not? If no then how can i prevent the execution.


I died in one of my worlds in my house and I respawned in a lava lake. I'm on survival. I'm using Minecraft PC v0.10.2


This may be the wrong topic since I'm working on Windows 7 with VirtualBox and my VM is an Ubuntu 17.  I'm trying to share a directory between my Windows and my Ubuntu.   This works fine with these steps :   In VirtualBox > Devices > Shared Folders : I add a share   Folder path : my directory on Windows (ie : C:\dev\windows-shared) Folder name : vbox_shared And I check "Auto-mount" and "Make Permanent"  Now, in a terminal in Ubuntu, I run :  sudo mount -t vboxsf vbox_shared /home/osboxes/ubuntu-shared   And it works : I can add a file in Windows and see it in Ubuntu and vice versa.  The problem is if my "ubuntu-shared" directory already contains files : after the mount command, the directory is "empty" (and the directory is now under root:root).  If I umount, files in the directory are back (of course).  So : 1) is there a way to mount on an existing (not empty) directory without "losing" its content ? or 2) less ubuntu relative : is there a better way to share a folder on VirtualBox ?  Thanks !    EDIT - SOLVED :  As found in , the correct command to run in the terminal should be:   sudo mount -t vboxsf -o uid=1000,gid=1000 vbox_shared /home/osboxes/ubuntu-shared       where the option -o makes sure that you will have access to the mount (that will otherwise be owned by root)."


How do I put c++ class template member functions in a cpp file if they don't use template arguments?

I'm trying to implement a templated reader class in g++ --std=c++17 that doesn't pull in all the various system headers for whatever stream-type I'm reading.  I can use the pimpl pattern to separate the template parameters from a base implementation, but I feel like I should be able avoid that by somehow specifying that the compilation unit's definition for that function won't change depending on the template parameter.  I can also use explicit specialization but defining every specialization is too onerous.  In the header:  template<typename Parser> class FileStream {         Parser& parser;         int fd;         FileStream::FileStream(const char* filename, Parser& parser)         : parser(parser)         {             init(filename);         }          void init(const char* filename);  // Preferably, implementation would go into .cpp file since this function does not use any template parameters          void step(char* buf, size_t len)         {             // This function needs to be in the header because it uses parser             parser.processMessage(buf, len);         } };   In the .cpp file:  // Let's try to not include these headers in the template definition header #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h>  template< /* ??? */ > void FileStream::init(const char* filename) {     // Note: No template parameters are used in this function     fd = open(filename, O_RDONLY); }


Give an example of cochain map which is bijective?

I am looking for a injective cochain map $\psi: C^*\rightarrow D^*$ such that the map $\Psi^i$ from $C^i$ to $D^i$ is injective, but the map $\psi^*$ from  $H^i(C^*)$ to $H^i(D^*)$ is not injective for any $i\geq0$.


I keep getting a pop up saying, congratulations iPad user' saying I have won something. I have tried hard reboot, I have factory reset my iPad and still I get the pop up.


How do I cast my Android screen to my Ubuntu HTPC?

I have an Android phone running 5.0 (CM12) that has "cast screen" on the quick settings page, but no devices are listed. I don't own a Chromecast, but I have an Ubuntu HTPC running 14.04 and Kodi.  What can I do to make the HTPC a receiver and show up on the network?


How to create bootable ISO from an installed OS?

Say I have two systems A and B.  I have installed Ubuntu 12.04 on system A and need same set of settings in system B, for which I am thinking to make a bootable iso from System A(creating as a backup). so that I can make Live USB from the generated iso and boot the System B which will be now the replica of System A.  Could you please tell is there any method or tool in doing this process?


NULLPointerException when trying to call another class

Any idea why am I keep getting NULL Pointer Exception even I start my project from scratch already. Where did I made a mistake?


Access to the path is denied when trying to delete a certain directory

The code  Here's a grossly simplified pseudo-code version of some C# code that I'm debugging.  // 1) Lots of files and directories are copied  // 2) Some unnecessary files are deleted  // 3) Try to delete an unnecessary directory string stubbornFolder = @"C:\...\Stubborn"; // This folder was created during step 1 above. Directory.Delete(stubbornFolder);   The problem  When it hits Directory.Delete, the following exception is thrown.  System.IO.IOException: Access to the path 'C:\...\Stubborn' is denied.   Notes   Deleting the directory "C:...\test" also works as expected. test and Stubborn both appear to have the same security settings. Both directories are completely empty. If I manually delete then re-create Stubborn using Windows Explorer (and skip over the copying code using a debugger), the deletion works as expected.   Manual deletion works even when done while the application is running.  Peeking at the access control types like suggested in  seemed to indicate that all rules were set to Allow. The unnecessary file deletion works as expected. Running the executable as an admin vs. not as an admin doesn't make any difference. There doesn't appear to be any applications that are using Stubborn as their working directory.   Help!  Any ideas on what might be causing this?


Take the unknown contents of variable as literal in sed

I have two files: a.patterns contains patterns in a one per line way  "`" "^" "<" "<(" "<)" "<[" "=" ">" "_;|^+*+?@"   and b.data contains comma separated values.  1,1,0,"*",1 2,1,1,"*",1 3,0,0,"<)",0   The purpose is to substitute take each pattern matched in the csv file with that pattern's index (i.e., its line number).   The problem is that I load each pattern into a variable, and use sed to evaluate/replace it but frequently the patterns contain special characters.   ... while read line; do   counter=`expr $counter + 1`   temp=`echo "$temp" | sed "s/$line/$counter/"` done < a.patterns ...   My question: is there a way to tell sed to count the contents of the variable as literals? Ideally I would like to avoid inserting escape character for all special characters in the pattern file or alternative ways to achieve the same?  Thank you.


If you have the ability to cast a spell without a spell slot, can you cast that spell using a spell slot?

A 10th level Drow warlock (for instance) has the following Drow Magic racial trait (PHB p. 24), in addition to its warlock spellcasting abilities:  You know the dancing lights cantrip. When you reach 3rd level, you can cast the faerie fire spell once per day. When you reach 5th level, you can also cast the darkness spell once per day. Charisma is your spellcasting ability for these spells.  Can the Drow warlock cast faerie fire (which is not on the warlock spell list) using a warlock spell slot? Can it cast darkness (which is on the warlock spell list) using a warlock spell slot?  The  says this about the Magic Initiate feat:  If you’re a spellcaster, can you pick your own class when you gain the Magic Initiate feat? Yes, the feat doesn’t say you can’t. For example, if you’re a wizard and gain the Magic Initiate feat, you can choose wizard and thereby learn two more wizard cantrips and another 1st-level wizard spell. If you have spell slots, can you use them to cast the 1st-level spell you learn with the Magic Initiate feat? Yes, but only if the class you pick for the feat is one of your classes. For example, if you pick sorcerer and you are a sorcerer, the Spellcasting feature for that class tells you that you can use your spell slots to cast the sorcerer spells you know, so you can use your spell slots to cast the 1st-level sorcerer spell you learn from Magic Initiate. Similarly, if you are a wizard and pick that class for the feat, you learn a 1st-level wizard spell, which you could add to your spellbook and subsequently prepare.  But this specifically requires you to pick the feat for one of your classes to be able to cast the spell learnt using your class spell slots, and does not seem directly applicable. A Warlock can use warlock Pact Magic spell slots to cast spells learnt from levels of another spellcasting class, per the multiclass spellcasting rules (PHB p. 164):  If you have both the Spellcasting class feature and the Pact Magic class feature from the warlock class, you can use the spell slots you gain from the Pact Magic feature to cast spells you know or have prepared from classes with the Spellcasting class feature, and you can use the spell slots you gain from the Spellcasting class feature to cast warlock spells you know.  Similarly, if the warlock has learnt the invocation Mask of Many Faces (PHB p. 112)...  You can cast disguise self at will, without expending a spell slot.  ...Can the warlock cast disguise self using a spell slot, e.g. to decrease the chance it can be dispelled?


Frattini subgroups and nilpotent groups: bijection?

I have been proved that the Frattini subgroup of a finite group is nilpotent. Now I am wondering: is the converse true? I mean, if $G$ is a finite nilpotent group, is there always a finite group $H:\operatorname{Frat}(H)\cong G$?


Why not free electrons in atom doesn't radiates em waves\photons?

Why not free electrons in atom doesn't radiates em waves\photons, although they move with acceleration? Like 1s electron of Titan, it doesn't emits em waves, yes? Why?


What are the practical differences between 256-bit, 192-bit, and 128-bit AES encryption?

AES has several different variants:   AES-128 AES-192 AES-256   But why would someone prefer use one over another?


I am tasked with writing an authentication component for an open source JAVA app.  We have an in-house authentication widget that uses https.  I have some example php code that accesses the widget which uses cURL to handle the transfer.    My question is whether or not there is a port of cURL to JAVA, or better yet, what base package will get me close enough to handle the task?   Update:  This is in a nutshell, the code I would like to replicate in JAVA:  $cp = curl_init(); $my_url = "https://" . AUTH_SERVER . "/auth/authenticate.asp?pt1=$uname&pt2=$pass&pt4=full"; curl_setopt($cp, CURLOPT_URL, $my_url); curl_setopt($cp, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($cp); curl_close($cp);   , I think you're on the right track, I think I'm going to end up using HttpsURLConnection and then picking out what I need from the response.


With regards to OOP, how would you describe an interface?  What I mean is, sub-classing can be described as "Has-A", and inheritance could be "Is-A". A member method could be "Can-Do".  Is there any way this could be extended (no pun intended) to describe what an interface does?


How to split a multi-delimited string using regex for creating hive table?

I'm trying to create hive table with multi-delimiter (I can't use multi delimiter serde in hive as we need to update the jar file),for example I want to split the following string with a two-character delimiter #$: 1234#$CSI#$MAN # NO#$MANN#$1212#$N  The desired result is: 1234 | CSI | MAN # NO | MANN |1212 | N  When I have tried #$ the result is 1234 | CSI | MAN | NO | MANN |1212 | N  How could I split the string with a two-character delimiter #$?


Make future posts visible to the public—not just within WP_Query

I know I can publicly show future posts in a loop using 'post_status' => 'future' in WP_Query. But clicking on a future post's permalink will result in a 404 if you are not a logged-in user.  Suppose I have a post called Apocalypse in the post_type 'event', scheduled for 12-12-2099.  The permalink is mysite.com/event/apocalypse.  Is it possible to make mysite.com/event/apocalypse and other future 'event' posts visitable now by the public?  Ideally I'd be able to restrict future post availability to the 'event' post type, but I would settle for a solution that makes all future posts available regardless of post_type.


Getting from Denver Amtrak to Fort Collins

The eastbound Amtrak arrives Denver 6:38 PM (18:38).  How can I get to Fort Collins from there?   The  runs  from Denver International Airport to Fort Collins, but the airport is 40 km from the Amtrak station, so that's a major detour, that would mean taking bus FX from Market Street Station 7:18 PM, arriving at the airport at 8:27 PM, then the super shuttle 9:05 PM, arriving Fort Collins CSU at 10:55 PM; almost 4 hours after departing from Denver. Greyhound Lines appears to have a bus departing 12:45 AM, arriving 02:00 AM — although probably as quick as it gets, this is not exactly a comfortable time. RTD Denver has transportation to Longmont and  from Longmont to Fort Collins, but  appears to depart 7:05 PM — so I won't make it there when arriving by Amtrak.  A taxi would cost an estimated .   Is there any other way to get to Fort Collins when arriving by the eastbound Amtrak, any way that I've missed?