I just got into learning Blender 3d modeling in order to try to develop a videogame. Since I want a solid foundation in my project, I’ve been searching info on how to keep my meshes optimized for Unity. But I found a lot of disperse and diffuse information and I would like to know if I got the thing right. Keep in mind that I pretend to do semi open world scenarios (two streets, a square, a station interior…), just for PC or consoles (by the time I would end my hypothetic game, next gen consoles for sure). So: 1.- I should not use subdivision modifier since when I’ll import the model in Unity, the modifier will be applied and a lot more of quads (now triangles) will be on the mesh, generating performance problems. 2.- Instead I should use bevels or curves. Latter I should apply Blender’s Shade Smooth to get rid of that low poly look in the corners and this function is also supported by Unity. 3.- I can use auto smooth or the Edge Split modifier to keep plain faces and using the shade smooth function at the same time. 4.- I should have as less as possible vertices in my mesh, and I can apply Merge by Distance and Limited Dissolve to fusion faces that have unnecessary vertices or cuts. But my biggest question, that I couldn’t get an answer, is how much vertices should I use, for example, when creating a bevel or a cylinder. I got a scenery asset pack in Unity Store in order to check how its meshes were made, and there were applied like 12 vertical edges by cylinder, for example. Taking that into account, I made a model with several bevels, but I just set 3 or 4 bevel cuts for each them. It’s looking ok when smoothing, but I would like more modeling definition. Should I keep going like this or I can go with more definition when it comes to do cylinders or bevels?

Recently, I am trying to create 3D models for my own game project. However, when I do some researches on game models, I come up with the term - game-ready models and I could not find any clear definition online. Could anyone tell me about what exactly is game-ready models and how to know if my 3D models (created by Blender mainly) is suitable for games.  From what I know by far, quad topology is preferred in Blender. However, for most of the game engine, triangle topology is preferred (Please correct me if I am wrong). Does it mean I have to manually change the models in Blender from quad topology to triangle topology before importing to the game engine?  Thanks for any helps.


I installed a new OS in VirtualBox running on Ubuntu. It just gives me this message. I do not know why.  Failed to open a session for the virtual machine Kalilinux.  VT-x is disabled in the BIOS. (VERR_VMX_MSR_VMXON_DISABLED).  Result Code: NS_ERROR_FAILURE (0x80004005) Component: Console Interface: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}

So I am trying to run Ubuntu in a virtualbox but on installing 12.10 from the .iso I was greeted by a warning telling me that audio wouldn't work then I pressed next and this popped up:  Failed to open a session for the virtual machine Tux 3 VT-x features locked or unavailable in MSR (VERR_VMX_MSR_LOCKED_OR_DISABLED) Details  Result Code:  E_FAIL (0x80004005) Component:  Console Interface:  IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}   And then it doesn't work.  I assigned 4GB of my 8GB to Ubuntu, 100 dynamically allocated GB of space, and 12MB of graphics memory. I'm running an Asus p8z77 V LX mobo with an Intel i5 3550 processor.   Downloaded 12.04.2 on my PC and tried again. Still getting the same message.


I am just starting python.  I want to get the input from user and calculate it.  Example: I want to get the time flight of projectile motion by t =(v sin(theta))/g  import math print "this program will find time flight of projectile motion" g = 9.8 ##get the velocity and angle ##calculate it ##print time with some text

How do I have a Python script that a) can accept user input and how do I make it b) read in arguments if run from the command line?


Someone prepared me a .po and a .mo file for a commercial theme we are using.  How can I install them in such a way that future updates won't destroy them?  Putting them into the languages folder was a bad idea. Putting them into the theme folder will make theme updates problematic. I'm thinking of creating a custom plugin that contains the translations. Better ideas?

I usually store language files in /languages folder that is located in theme folder and it's also recommended location by WordPress as well. However, it still doesn't look like the best solution because files will be overwritten after theme updates.  load_theme_textdomain function allows to specify a different location and I've been thinking to put languages folder inside of /uploads folder in order to prevent overwriting after theme updates. That folder will be created right after theme activation and language files will be copied there.  My question is, do you think this is a good solution or there is a better way that I'm missing?  I appreciate your insight about this matter.


I just bought macbook pro 16 and I get mild shock when charging and when I touch surface. Is this to be expected or do I need to have it serviced?

The aluminum Macbook Pro gives a mild shock when connected to a wall socket and charging. It only happens when I'm, for example, not wearing shoes or slippers and my feet are resting on the ground (i.e. by body is acting as a conductor). I contacted apple and I was told to perform the following steps:  Shutdown  hold ⇧+ctrl+⌥+power for 10 seconds  wait 30 seconds then hold ⇧+ctrl+⌥+R+power (Let the Mac reboot three times with that apple tone, then let go. The Mac reboots again.)   This did not fix the problem and I was not told what these steps were supposed to do. They have asked me to purchase a three pin version of the adapter and see if that fixes my problem. My last MacBook Pro was giving pretty severe jolts towards end of life. Hence a bit concerned. Question  Has anyone here experienced such a problem?  Is anyone aware of what the above sequence of steps supposed to do?  Also, will this damage the Macbook in some way?


Let $x_0=0$. Define $x_{n+1}=\cos x_n$ for every $n\ge0$. Then  A) $\{x_n\}$ is increasing and convergent  B) $\{x_n\}$ is decreasing and convergent  C) $\{x_n\}$ is convergent and $x_{2n}\lt\lim_{m\to\infty} x_m\lt x_{2n+1} $ for every $n\in\Bbb N$  D) $\{x_n\}$ is not convergent  Attempt: $x_0=0,x_1=1$, and $0\le x_n\le1$ for $n\gt 1$   So this sequence is non constant and bounded, Hence convergent  But, I am unable to pick the right option.

I have a sequence defined as follow:  $a_0 = 1, a_n=\cos\left(a_{n-1}\right)$.  I want to count $\lim_{n\rightarrow\infty} a_n$ - it definitely does have limit by looking at the graph, the first few numbers of the limit are 0.7390851, but I have no idea, if that number is related to some other real number ($\pi$ or something like that).  The sequence is from , but they don't provide actual result for their own sequence.


I cannot install ubuntu, and there is no way for me to submit a bug report, because I don't have ubuntu, because I can't install ubuntu.  I've followed all the instructions several times, and it just doesn't work on my system.  I know people are going to tell me to try a bunch of different stuff, but it just doesn't work. I've tried everything.  There is something wrong with ubuntu.  It does the same thing with Mint.  I guess there's not real way for me to report it though, so I don't know what to do.  It's weird though, because it works on a partition.  However, when I try to install it (I create a bootable USB drive (Yes, I've tried unebootin, I've tried dd, turning it into an img and leaving it as an ISO)), I can boot, it gives me the option to try or install ubuntu. I click install, and it says it cannot find a medium containing a live file system, whatever that means.  I'm using a Mid 2010 MacBook with an i5 Processor and an after market crucial 250 GB solid state drive.  Also, wanted to point out I've tried all this stuff in every usb slot.

Error message:  (initramfs) unable to find a live medium containing a live file system   I got this error while trying to install Ubuntu 10.10 from a bootable USB stick on to Asus X64J series laptop. After getting this error the installation fails to start.  I have used the same USB stick on some other laptops and the installation started as usual. Any help will be appreciated.


How could I go about proving the following limit:  $$ \lim_{n\to\infty} \left( \frac{n}{n^2+1^2} + \frac{n}{n^2+2^2} + \cdots + \frac{n}{n^2+n^2} \right) = \frac{\pi}{4} $$

How to compute this limit:  $$\lim_{n\to\infty}\left(\frac{n}{n^2+1^2}+\frac{n}{n^2+2^2}+\cdots+\frac{n}{n^2+n^2}\right)$$  Please give me some hint.


I haven't made Thread myself. I have one timeline that runs from the beginning to the end of the program which is as follows:   Timeline timeline = new Timeline(         new KeyFrame(Duration.millis(TIMELINE_DELAY), event -> {             intrudersList.forEach(Intruder::action);             towersList.forEach(Tower::action);             otherActivesList.forEach(Active::action);         })); timeline.setCycleCount(Timeline.INDEFINITE); timeline.play();   And when the die method of the Intruder class is called, i get this Concurrent Modification Exception.  First, I don't actually understand how timeline works! Does it create new Threads itself or what? and what will happen if for example we have a timeline that does a task every 10 seconds and that task takes 15 seconds to be done! And second indeed: How can i get this fixed!?  public void die() {     this.getCell().getContent().remove(this);     TimeLine.getInstance().removeIntruder(this);     System.out.println("death of intruder at: " + cell); }

We all know you can't do the following because of ConcurrentModificationException:  for (Object i : l) {     if (condition(i)) {         l.remove(i);     } }   But this apparently works sometimes, but not always. Here's some specific code:  public static void main(String[] args) {     Collection<Integer> l = new ArrayList<>();      for (int i = 0; i < 10; ++i) {         l.add(4);         l.add(5);         l.add(6);     }      for (int i : l) {         if (i == 5) {             l.remove(i);         }     }      System.out.println(l); }   This, of course, results in:  Exception in thread "main" java.util.ConcurrentModificationException   Even though multiple threads aren't doing it. Anyway.  What's the best solution to this problem? How can I remove an item from the collection in a loop without throwing this exception?  I'm also using an arbitrary Collection here, not necessarily an ArrayList, so you can't rely on get.


Let $\{0, 1, 2, 3, 4, 5, 6, 7, 8, 9\}$ be the $10$ digits of the base $10$ system. The set of all finite sequences of those digits that don't start with a leading zero, together with the single one-element sequence $(0)$, can be bijectively mapped onto the natural numbers starting with 0, in the usual base $10$ way. Through this mapping, one can associate a function defined on one set with a function defined on another. For example, from the function of addition, $2+8 = 10$, so that means $(2) + (8) = (1, 0)$. The number of digits function is defined on the sequences, and it is simply the length of the sequence, and it can be associated, or "lifted", to the set of natural numbers themselves. So, does this mean the number of digits in $0$ is $1$, or $0$? I ask this question because I got contradictory answers in my previous question.

Should zero be classified as having no digits, or 1 digit?


Had to re-ask the question since I only had a temp account, and  couldn't respond

Ok, so basically I made a 3d model using blender, and I imported it into unity by right clicking -> import asset -> 3dModel.blend. It looks fine and all, but if I try to move the object, the object is far away from the thing that moves it. Here is a screenshot of what I mean:  As a result, the asset would rotate in a BIG circle. So... How do I revert this to a normal state? (Like this one)  Any help is appreciated. Thanks


I am using Ubuntu 14.04 alongside Windows 10. Other family members of my family also use my pc. And they are not comfortable with Ubuntu as they are used to with Windows. Sometimes they face difficulties while selecting boot option from grub. Now my question is, can I edit grub2 and change the default boot option? If it is possible, how to do it?

I have both Windows 7 and Ubuntu installed on a shared machine. Because a lot of the non-developers use Windows, I'd like to change the boot order to make it easier for them.  Currently the boot order looks like the following:   Ubuntu 11.10 kernelgeneric *86 Ubuntu 11.10 kernelgeneric *86 (safe boot)  Memory test Memory test Windows 7 on /dev/sda6   How do I change the default order so that Windows 7 is at the top of the list?   Windows 7 on /dev/sda6 Ubuntu 11.10 kernelgeneric *86 Ubuntu 11.10 kernelgeneric *86 (safe boot)  Memory test Memory test


I am using a logistic regression estimator with scikit-learn. The estimator I had trained predicts the same class all the time. (This is a 2 class identification problem.)  The data set is built of 2 classes which are a bit skewed (70% output 1 and 30 output 0). It has about 2000 samples and is built of 8 features for each sample. when I am  fitting for logistic regression I get only 1's on the output so the confusion matrix looks like that:   Confusion Matrix: [[  0  53]  [  0 155]]    I tried to play with the the regularization parameter (from 1e-6 to 1e8) and nothing changes. The data base do not look linearly separable. I would expect that the worst logistic regression estimator would at least yield P(y=1)=0.7 P(y=0)=0.3.  Let me note that when using SVM with rbf kernel I get much better results. Below is the confusion matrix of the SVM:    Confusion Matrix: [[ 48   5]  [ 15 140]]  Any idea why my logistic regression estimator is always predicting the same result?

I am running an analysis on the probability of loan default using logistic regression and random forests.    When I use logistic regression, the prediction is always all '1' (which means good loan).  I have never seen this before, and do not know where to start in terms of trying to sort out the issue.  There are 22 columns with 600K rows.  When I decrease the # of columns I get the same result with logistic regression.   Why could the logistic regression be so wrong?  **Actual from the data**  0 :   41932  1 :   573426  **Logistic regression output**   prediction for 1 when actually 0: 41932 prediction for 1 when actually 1:573426  A**s you can see, it always predicts a 1**   **Random forests does better:**  actual 0, pred 0 : 38800  actual 1, pred 0 : 27  actual 0, pred 1 : 3132 actual 1, pred 1 : 573399


I am trying to prove by induction the following proposition of the fibonacci sequence: The fibonacci sequence is defined recursively as: $f_1 = 1$, $f_2 = 1$, and that for all integers $k>=1$, $f_{k+1} = f_{k+1} +f_k $ Propostion I am trying to prove: $\sum_{i=1}^{k} F_{2i}=F_{2k+1}-1$ for all $k∈N$ So far I have this: Base case: For $F_1$: $\sum_{i=1}^{k} F_{2i}$ = $F_{2(1)}$ = $F_{2}$  This is true. Induction Hypothesis: $\sum_{i=1}^{n+1} F_{2i}$ = $F_{2(n+1)}$ I am not sure if what I have so far is correct. I have brainstormed this also: That $f_2 = f_3 - 1$. And that $f_2\:+\:f_4\:+\ldots+f_{2n}=f_{2n+1}-1$. By adding $f_{2n+2}$ to both sides, you get $f_2\:+\:f_4\:+...+f_{2n} + f_{2n+2}= f_{2n+2}+f_{2n+1}-1$. And $f_{2n+2}+f_{2n+1} = f_{2n+3}$. I am not sure how to prove the proposition by induction properly. I have a general understanding of how induction works and why the proposition is true, but I am having trouble proving it with induction steps. I think I need to somehow get to $f_{2n} = f_{2(n+1)+1}-1$, but I am struggling with that. I haven't practiced much strong induction yet, so I am only looking for a simple proof. To provide context as to why I am doing this exercise: I am planning to use this proof as a base for me to refer back to when doing more complex proofs that also involve the fibonacci sequence. Thank you for all the help or any proofs provided.

Let $F_n$ be the Fibonacci sequence where  $F_0$ = 0  , $F_1$ = 1 and  $F_n$ = $F_{n-1}$ + $F_{n-2}$.                   I want to prove the following by induction. $$\sum_{k=1}^{n}F_k = F_{n+2}-1$$ Here is what I have so far.  Can anybody tell me if I am right?  Base case = n=1  $F_k$ = 1 = LHS  $F_{1+2}$ - 1 = 2 - 1 = 1 = RHS  Statement is true for n=1.  Assume statement is true for n=i.  $$\sum_{k=1}^{i}F_k = F_{i+2}-1$$  Prove statement is true for n=i+1.  $$\sum_{k=1}^{i+1}F_{k} = F_{((i+1)+2)}-1$$  $F_1$ + $F_2$ +...+ $F_i$ + $F_{i+1}$ = $F_{((i+1)+2)}-1$  $F_{i+2}$ - 1 + $F_{i+1}$ = $F_{((i+1)+2)}-1$  $F_{((i+1)+2)}-1$ = $F_{((i+1)+2)}-1$  Statement holds for n=i+1


I have appended the following HTML to a Div called videoList but when I click the link it isn't firing the ajax call but it's going to the url defined in href. I have tried javascript void in href but still it's not firing the ajax on click. No error is present in console!   var newHtml = '
';                         newHtml +=    '';                         newHtml +=    'See more';                         newHtml +=    '';                         newHtml +=    '
';                         $('#videoList').append(newHtml);   Ajax:  $('.ajax-cate-mobile').click(function(e){             console.log('hi');             e.preventDefault();             var $this = $(this);             var start = $this.parents('.blog-groups').find('.ajax-cate-mobile').data('start');             params.start = start;             var newStart = start + 10;             $this.parents('.blog-groups').find('.ajax-cate-mobile').data('start', newStart);              $(this).style="border-bottom:1px solid #197B81";             var _loader = '

';             //$('#videoList').empty().html(_loader);             var cate_slug = $(this).attr('data-slug');             params.cate_slug = cate_slug;             ajaxLoadVideoInMobile(params, $this);             $('.submenu').fadeOut();             $('.ajax-loader').fadeOut();         });

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


A few years ago I downloaded Civilization but for the life of me I couldn't understand how to play it. And I had played and mastered games like Cezar and Starcraft before.  Anyway I can learn and get some background about the game before and/or while playing it?

I am pretty new to Civilization 5, played no more than maybe 4 or 5 games. What is a solid strategy I can use against the AI that does not only help me to win the game but also teaches the mechanics a little? By that definition I want to avoid a strategy that says boost X to a ridiculous amount and you can overrun a single opponent before middle ages kick in. Even if it works, I guess it will not teach me anything really and misses the goal of this question.  The strategy must not be fine grained enough so that it could beat the game at highest difficulty. If it can win the game on "Prince" difficulty level I am already satisfied. If a certain setup (number of opponents, maps size, race, etc.) has proven to be especially beginners friendly, please mention that setup as well.  Edit: To clarify the question a little more I will describe my current play style. I choose a race in the beginning and say to myself - hey, I have a bonus in the area X, I should focus on X. The longer the game runs the more I realize that I have no idea how to focus on X and what areas I should ignore because they are not important. I end up clicking the options that are the most shiny, although they have no synergies with my other actions so far. This leaves me much weaker than I could be with proper planing.  That's why I am looking for a strategy that is clearly focused on a specific goal and shows which areas I should invest in to utilize this strategy.


Let $m,n\in\mathbb N$. How can I solve this limit without using l'Hopital's rule, please?  $$\lim_{x\to1}\left(\frac{m}{1-x^m}-\frac{n}{1-x^n}\right)$$

How does one evaluate the following limit? $$\lim_{x \to 1} \left(\frac{23}{1-x^{23}}-\frac{11}{1-x^{11}} \right)$$ The answer is $6$.  How does one justify this answer?  Edit: So it really was just combine the fraction and use L'hopital's rule twice (because function and its first derivative are of indeterminate form at $x=1$). This problem is more straightforward than it seems at first.


Can solar furnace achieve higher temperature than sun surface?  I guess not, but I'm not sure about that. Can you check my reasoning:  -------- My reasoning -----------  Consider Sun as a black body and (almost) Lambertian radiator. If there would be an optical system which can focus all radiation from one black body to an other body in such way, that you achieve higher temperature, it would be possible to make a Maxwell daemon, because you can than produce useful work by using one body as heater and the second body as cooler in an heat engine.  I think there is some theorem in optics which say that you cannot increase radiance by any focusing without loss of power.   However, I'm not quite sure how this theorem is called, and what is a background. As well I'm not able to make rigorous reasoning, how this limit the temperature of solar furnace.  Only what I can say that two black bodies of different size in elliptical cavity does not create Maxwell daemon, because of this radiance limit (You actually does not focus all the light from the bigger body to the smaller one ).  But what if I don't have to use all the light power from sun? For example you can limit the aperture by diaphragm. In this case you can increase radiance without braking second law of thermodynamics nor the radiance invariant. I'm not sure if in this case (if you sacrifice some power) you can get higher temperature?  If so, is it possible to formulate equation which connect power efficiency and temperature difference for this "optical heat pump"

A  is a device that concentrates the sun's light on a small point to heat it up to high temperature. One can imagine that in the limit of being completely surrounded by mirrors, your entire $4\pi$ solid angle will look like the surface of the sun, at about 6000K. The target will then heat up to 6000K and start to radiate as a blackbody, reaching thermal equilibrium with the sun.   The question is: is there any way to surpass this temperature, perhaps by filtering the light to make it look like a BB spectrum at higher temp, then concentrating it back on the target?


I know that Carbon molecules can form different structures depending on how they bond with each other: graphite, diamond, graphene and fullerene.  As far as I understand, graphene is just a "sheet" of carbon atoms, 1-atom thick.  Can't all atoms (not only Carbon) be arranged in such a way?  What is it that dictates the shapes of the possible structures of atoms/molecules? I.e. why are those four carbon structures famous but no one ever hears about, say, Aluminium or Oxygen?

According to Peierls and Landau, 2D crystals were thermodynamically unstable. They can't exist! Of course, this theory was disapproved in 2004 (example: graphene).  What is the general definition of stability of a general system?  What is the thermodynamics' stability?


Is there any rule or discussion where I can read the information - how to review the suggested edit with only one tag added or removed?  For example some question that has already C# tag, become also C# 4.0 one.  Is it minor one?  Sure I dont mean the situation where the C# code question has not C# tag at all.  One more example - question has Entity Framework 4.0 tag and become also Entity Framework. Minor?

Say, there's a Java (C#, Javascript, etc) question involving array and tagged only 'java'. Two months ago nobody would lift a finger to add 'arrays' tag: the benefit is tiny, if it exists at all.  Yet, last few days I've been noticing a lot of such edits and not sure what to do. Some users even go on retagging rampage, updating every question they can lay their hands on (you can see them repeatedly in the list of pending edits).  I don't mind those guys getting their lousy 1000 reputation this way (well, only a little), but somehow I feel that the system was intended for slightly more substantial changes.    What would you do in this case? Approve or reject?  PS Some examples from the last few minutes


A form of the hypergeometric distribution is $$P(X=x)=\frac{\binom{Np}{x}\binom{Nq}{n-x}}{\binom{N}{n}}$$  where    $N\equiv$ total number of elements of the sample space $p\equiv$ probability of choosing a particular type of element $q=1-p$ $x\equiv$ the number of success $n\equiv$ the number of trials   It says in the text that as $N\to\infty$, this formula reduces to  $$P(X=x)=\binom{n}{x}p^xq^{n-x}$$  How is this reduction performed?  I'm asking here rather than in the statistics forum because I'm getting a vibe that it could be more of a mathematical question than a statistical one. (Albeit I'm ready to be shown mistaken)

I have this problem on a textbook that doesn't have a solution. It is:  Let $$f(x)=\frac{\binom{r}{x} \binom{N-r}{n-x}}{\binom{N}{n}}\;,$$ and keep $p=\dfrac{r}{N}$ fixed. Prove that $$\lim_{N \rightarrow \infty} f(x)=\binom{n}{x} p^x (1-p)^{n-x}\;.$$  Although I can find lots of examples using the binomial to approximate the hypergeometric for very large values of $N$, I couldn't find a full proof of this online.


I just bought a new gaming laptop, the ASUS Republic of Gamers series, built to be all beefy for my gaming needs.    I am trying to add mods for Minecraft but when I try to download Minecraft Forge, it doesn't open up like it should. I've done it on other computers and it works fine but I believe it's because I have Windows 8.1 and I have no idea what I am doing.    What should I do and how do I get Forge and mods for Minecraft?

I'm having a really, really hard time figuring out how to install mods on Minecraft. I've looked everywhere I can think of for help but the information is almost always outdated or unhelpful.  I've seen on several sites about the use of something called Forge. The Mod I want to use requires 1.6.4 Forge and I have both Forge and the Mod folders sitting in my downloads folder.  I haven't installed any kind of mods for any game prior to this and I have little clue to the technical side of Minecraft, so please keep this in mind when you give me an answer please!  Things that might help you figure out how to help me:   I want to play this mod  and am using the 1.6.4 Forge given on a link that website gives


Hello I am  wondering what  is the most up to date Study Materials for the latest version of the 401 Exam. i have been to all usual Sources like the trailhead or workbooks but i am curious if anyone knows anything that is extremely helpful and easy to understand.  I have only been studying for about a month and half  and don't have have much development or programming experience.  I am looking to change my career.

I am fairly new to Force.com development (less than a year). I did not learn it from the ground up. So I think it will be good to study for the developer exam to strengthen my basics and improve my overall knowledge of Force.com + it will be great to have this certification.  Now it's surprising that there is not a lot of great information on the web about how to go about obtaining this certification. Most other major certifications have dedicated study guide books available but there are few for Force.com and I don't think any of them are official.   The official page has little information. The Study guide gives a broad description of the topics in the test.   I see a lot of the esteemed members are here certified developers. I think if you guys could give us a little information, hints/tips and some advice on how to prepare for this exam, it will really be of great help. Also is DEV401 required/helpful?  Also if we could get recommendations for great resources(books, online training etc) and practice tests it will be awesome.


Let $\langle G; \star, \hat, e\rangle$ be a group. Show that if for all $a\in G$, we have $a\star a=e$, then G is abelian.  What I did:  Assume G is abelian, then we have $a\star b = b\star a \quad \forall a,b\in G$  We also know that $ a = \hat a$, so:  $a\star b = b \star a$  $\Leftrightarrow a\star a \star b = a \star b \star a$  $\Leftrightarrow b = a \star b \star a$  $\Leftrightarrow b \star b = (b \star a ) \star (b \star a)$  $\Leftrightarrow e = e$  and since $e\in G$ we are finished.  I'm very unsure about this proof. I know that there's a way better proof using $\widehat{a\star b} = \hat b \star \hat a$  Does what I did actually work?

Let $G$ be a group in which $a^2=e$ for all elements of $a$ of $G$.   Show that $G$ is Abelian.  I need help on this problem.  Appreciated!


Sorry for the horribly worded title.  Per the PHB: Wizards can prepare a number of spells equal to their Int Modifier + their wizard level.  I have a necromancer who just hit 4th level and used the ability score increase to push her Int to 20 (+4). So she would have 8 spells she could prepare.  However in the spell slots per level chart she has four 1st level slots and three 2nd level slots.  So what could she level could she use that spare slot for?  Thanks!

In 3.X wizards had spellbooks, while clerics had their entire spell list, but they both memorized/prepared spells every day from those lists, and had a certain number of slots for preparing spells in.  Now in 5e preparing spells and spell slots aren't the same thing. What's going on here? How does their spellcasting work now?


This is a problem which baffled me for years. Many possibly know the solution. See the figure below. $ABCD $ is some arbitrary  quadrilateral. Each side is divided evenly into three parts. It is asserted that the quadrilateral shaded has an area 1/9 of that of the $ABCD$.   My first idea was using affine or projective geometry. But the affine transform cannot transform $ABCD$ into a square. The projective transform can, but it does not preserve the ratio (no longer evenly divided).   So, could you provide the solution for me?

Trisect sides of a quadrilateral and connect the points to have nine quadrilaterals, as can be seen in the figure. Prove that the middle quadrilateral area is one ninth of the whole area.


The matrix-variate normal distribution can be . However, if one or both of the covariance matrices are positive semi-definite and not positive definite (for example a block structure due to several pairs of perfectly correlated features and samples) the Cholesky decomposition fails, e.g.   $\Sigma_{A} =  \begin{bmatrix}  1 & 1 & 0 & 0\\ 1 & 1 & 0 & 0\\ 0 & 0 & 1 & 1\\ 0 & 0 & 1 & 1 \end{bmatrix}  \quad $or another example:$ \quad \Sigma_{B} =  \begin{bmatrix}  4 & 14 & 0 & 0\\ 14 & 49 & 0 & 0\\ 0 & 0 & 25 & 20\\ 0 & 0 & 20 & 16 \end{bmatrix}$  Where $\Sigma_{B}$ is generated from $R$ (correlation matrix this time) = $\Sigma_{A} $   and $D$ (standard deviations) = $\begin{bmatrix}  2 & 0 & 0 & 0\\ 0 & 7 & 0 & 0\\ 0 & 0 & 5 & 0\\ 0 & 0 & 0 & 4 \end{bmatrix}$ via $RDR$.  Is it possible to adapt the  that overcomes this difficulty to the matrix-variate case?     This question is different from this  in that it is not clear if the lower diagonal produced by the SVD based sampling technique will suffice, since it is  that might be performed in this case by . Also, the mentioned  is not concerned with positive semi-definite matrices.

I estimated the sample covariance matrix $C$ of a sample and get a symmetric matrix. With $C$, I would like to create $n$-variate normal distributed r.n. but therefore I need the Cholesky decomposition of $C$. What should I do if $C$ is not positive definite?


Apologies if this comes as a naive question.   From design point of view basically a textbox control (or any control) in a grid container, does it makes sense to have a textbox in fullwidth of the screen.  For e.g. if we have a form with one textbox. On full destkop screen it would look weird to have a textbox to the full length of the screen. The same textbox would look good (or ok) on mobile devices.   Any thoughts or suggestions?  Using flex instead grid would help in this?  Thanks

Topic of discussion.  Is it a usability problem to have an input field be too wide?  For example:  I am creating an internal management system where users come to view orders in the system. When viewing the orders users can enter in comments. To make data entry easier I have made the decision to have the input fields already appear at the top of the page so the user just has to start typing and enter data at a faster speed.  With this being an internal app we are utilizing the full width of the screen so the "notes" input field spans the full width.  Should this be a usability concern?


Can I filter stackoverflow.com dashboard ?  I mean, can I see questions related to 'python' or 'ruby' only on dashboard (when I am logged in) ?   Also, I am not sure if this is the right place to ask the question.

What are watched tags and ignored tags? How do they work? What are tag subscriptions? What are interesting tags? On Stack Overflow, the content of the main page question list appears to be influenced by watched and ignored tags. How does that work?   For more information, see "" in the .


The Apache httpd 2.4 server is bundled with Yosemite. It seems to me that the directories /etc/apache2 and /private/etc/apache are the same. However I don't see any symlink. Did I missed something ?

Why is /tmp a symlink to /private/tmp on Mac OS X? In other words, why isn't /tmp just a regular directory, like on Linux or BSD? I understand how it works and I don't mind it, I'm just interested in the (historical?) reasoning behind it.


Suppose we have two bodies A and B, they are connected to each other with an ideal string of length $L$. Then is this system a rigid body? This system has 5 degrees of freedom ( 6-1 constraint). But a rigid body in 3D has 6 degrees of freedom. What am I missing here?

I'm confused here. I have a three particle (rigid) system. What would be the degree of freedom? I found out five. 3 coordinates for center of mass and 2 for describing orientation. But we have only three constraints, i.e. three equations that reduce 9 coordinates by 3, 9 - 3 = 6, which gives 6 degrees of freedom?? Did I miss something above?


This is a method in an interface. It gives me an error that I can't make my string nullable (string?), but why? My method will return an IEnumerable no matter what.  IEnumerable<Cars> GetAvailableCars(Vendor carVendor, string? someAdditionalInfo);

private string? typeOfContract {   get { return (string?)ViewState["typeOfContract"]; }   set { ViewState["typeOfContract"] = value; } }   Later in the code I use it like this:  typeOfContract = Request.QueryString["type"];   I am getting the following error at the declaration of typeOfContract line stating:     The type 'string' must be a non-nullable value type in order to use   it as parameter 'T' in the generic type or method   'System.Nullable<T>'   Any ideas? Basically, I want to make sure that "type" exists in the QueryString before performing an action.


Prove that the set of Rational numbers cannot be written as $\mathbb{Q} = \cap U_{n}$ when $ n = 0,1,2...$ and ${U_n}$ is a sequence of open subsets in $\mathbb {R}$. Hint: Use the Baire category theorem.  What i know so far is that $\mathbb {Q}$ is dense but nowhere dense, and the set $\mathbb {Q}$ is countable.   Any idea or hint about how to prove this statement will be appreciated thanks

I am reading chapter 4 of  and trying to solve question 4.14, in which we are asked to show that:  $\mathbb{Q}$ is not the intersection of a countable collection of open sets. The clue is to use Baire's Category Theorem.  I can't see how to do that, and can't see the connection to Baire's category theorem. Intuitively, I agree that this seems reasonable, since any intersection of open sets is a set with non empty interior (am I right about that?). So, if $\mathbb{Q}$ were an intersection like that it would contain an open interval (again, hope I am right would like to know if not.). But, I guess this is not a proof, and, can't see the connection to Baire's theorem.  Thank you!! Shir


My question is about what is necessary and/or best practice.  Suppose, for example I need some text from an input into my controller, and that text isn't to be blank.  <form action="BaHumBug/Index" method="post" id="xmasTextForm">     <input name="xmasText" type="text" id="xmasTextInput" /> </form>   Do I enforce the rule about no empty text on the client side  $('#xmasTextForm').submit(function(ev) { {     if ($('#xmasTextForm').val().isWhiteSpace())     {         alert("Fill the input with something, dude!");         return false;      } }   or the server side  [HttpPost]     public ActionResult Index (string xmasText)     {         if (xmasText.IsWhiteSpace())         {              // ....     }   or do I do both for 2 layers of protection? Or does the choice depend on other factors?

Which is better to do client side or server side validation?  In our situation we are using    jQuery and MVC.   JSON data to pass between our View and Controller.     A lot of the validation I do is validating data as users enter it. For example I use the the keypress event to prevent letters in a text box, set a max number of characters and that a number is with in a range.   I guess the better question would be, Are there any benefits to doing server side validation over client side?    Awesome answers everyone. The website that we have is password protected and for a small user base(<50). If they are not running JavaScript we will send ninjas. But if we were designing a site for everyone one I'd agree to do validation on both sides.


May I know which one is grammatical?  We use a LTS (labelled transition system) to describe the semantics of the system. We use an LTS (labelled transition system) to describe the semantics of the system.

I was reading a comic book and I noticed that the author used "an A" and "an N" in a particular phrase (screenshot below). While I understand the usage of "An A" here (A being a vowel and what not) and "N" having a pronunciation which has a sound similar to "A".  Since most of English alphabets have pronunciations which start with a syllable similar to one of the vowels or semi-vowels; is it OK to prefix the letters using "An"?  For eg. An X, or An Y.        Zenescope's Grimm Fairy Tales - Werewolves: The Hunger, page #8 (Click to enlarge)


Prove/Disprove that if $\sum a_n$ and $\sum b_n$ are some series and $\underset{n\to \infty }{\mathop{\lim }}\,{{a}_{n}/b_n } = 1$ then the series converge together or not converge together.  This doesn't seem to be correct to me so maybe there is some counter example. i know this is true if both series are strictly nonnegative (from the first series comparison test) - how does it change if both are negative (or alternate?)

$$\mathop {\lim }\limits_{n \to \infty } {{{a_n}} \over {{b_n}}} = 1$$ Prove the statement implies $\sum {{a_n},\sum {{b_n}} } $ converge or diverge together. My guess the statement is true.    if $\sum{{a_n}}$ diverges, then $\mathop {\lim }\limits_{n \to \infty } {a_n} \ne 0$    So,  $$\eqalign{   & \mathop {\lim }\limits_{n \to \infty } {a_n} = L \ne 0  \cr    & {{\mathop {\lim }\limits_{n \to \infty } {a_n}} \over {\mathop {\lim }\limits_{n \to \infty } {b_n}}} = 1 \Rightarrow {L \over {\mathop {\lim }\limits_{n \to \infty } {b_n}}} = 1 \Rightarrow L = \mathop {\lim }\limits_{n \to \infty } {b_n} \ne 0 \cr} $$  therefore,  $\sum {b_n}$ also diverges.    What I was not managed to do is proving that the two series converges together. Or maybe the statement is not always true?


In C++ the memory is created only when we declare the object(s) for the respective class(s).  So when we make any member function as static inside the class, we are able to access that member function directly by the class name, without creating any object of the class. Then how the memory is allocated in this condition without any object. Example program: #include<iostream> using namespace std;  class sample {     static int a,b;     public:     static void read()     {         cout<<"Enter integers:- ";         cin>>a>>b;          cout<<"a= "<<a<<endl;         cout<<"b= "<<b<<endl;     } };  int sample::a; int sample::b;  int main() {     sample::read(); //Accessing read() with the class name     return 0; }

What is the best way to initialize a private, static data member in C++?  I tried this in my header file, but it gives me weird linker errors:  class foo {     private:         static int i; };  int foo::i = 0;   I'm guessing this is because I can't initialize a private member from outside the class.  So what's the best way to do this?


I am playing Pokemon Go; However, I am going to stop using the phone that I use for the app and buy a new one. If I start playing Pokemon Go with a new phone using the same account, will the data and/or Pokemon that I have caught be saved in my same account with a new phone? I feel really worried for losing everything.

I was having trouble playing the game on my android so I downloaded it to my wife's phone (Galaxy S6). I read some posts on how to get it running on my android and it worked but, my level 7 account is on my wife's phone.  How do I get it back to my android? When I sign out and back in it doesn't ask for any sign in info. I've tried deleting the app's data and even uninstalling and re-installing, but it still doesn't ask for sign-in info.


Why is Squeeze theorem with $≤ or ≥$, rather than $< or >$?  It does work with < or > right? Since ≤ and ≥ include < and > correspondingly.  Additionally, surely one can use $$g(x) < f(x) ≤ h(x)$$  $$or$$ $$g(x) ≤ f(x) < h(x)$$   as well?    I think this is more clearly formulated question than:

If you have the inequalities not equal to, but the function is just strictly between two other functions, can you use the squeeze theorem?


In an , Dungeon Dudes state that the Polymorph spell can be used to polymorph a party member into a Giant Eagle which could carry the entire party if the number of party members was low - but they didn't mention how low.  A party might want to evacuate an area using this technique.  How many total party members can a Giant Eagle carry? (i.e. mounted and carried)

Are there any rules or clarifications that say anything about limitations or mechanical implications of having multiple characters on a single mount?


I would like to force users to use https to connect to my server, however I have a certain group of users who for historical reasons cannot use https. Luckily these users will all come from the same IP address.  Is it possible to force https, except if they come from a certain IP or IP range?

This is a  about Apache's mod_rewrite.   Changing a request URL or redirecting users to a different URL than the one they originally requested is done using mod_rewrite. This includes such things as:   Changing HTTP to HTTPS (or the other way around) Changing a request to a page which no longer exist to a new replacement. Modifying a URL format (such as ?id=3433 to /id/3433 ) Presenting a different page based on the browser, based on the referrer, based on anything possible under the moon and sun. Anything you want to mess around with URL   Everything You Ever Wanted to Know about Mod_Rewrite Rules but Were Afraid to Ask!  How can I become an expert at writing mod_rewrite rules?   What is the fundamental format and structure of mod_rewrite rules? What form/flavor of regular expressions do I need to have a solid grasp of? What are the most common mistakes/pitfalls when writing rewrite rules? What is a good method for testing and verifying mod_rewrite rules? Are there SEO or performance implications of mod_rewrite rules I should be aware of? Are there common situations where mod_rewrite might seem like the right tool for the job but isn't? What are some common examples?   A place to test your rules  The  web site is a great place to play around with your rules and test them. It even shows the debug output so you can see what matched and what did not.


Hey so I'm making a winchester rifle and on the butt theres this random triangle stick out of the side. I deleted the butt and it's still there. How do I get rid of this? Also it's only visible when your at the top angle however if you go under the model the problem disapears.  The question I am saying is how do i get rid of that triangle    Google Drive for the blend model:

Why does it do that when being in object mode?


I have exactly the same problem as it was described there:  The texture is distorted (kind of "skewed" or broken) on a trapeze-shaped face. But the solution provided there does not satisfy me. I need Blender to better interpolate a texture stretched over a single trapeze-shaped face. I can achieve this by subdividing my object, using "simple" method, but I would prefer to avoid that. I want to keep my model low-poly.

I’m running into a UV map error (or at least it’s not behaving as I expected it would). I have a simple plane with 4 points and I’ve set up the uv to a sqaure texture (images below). I would expect the texture to be applied evenly, following the trapezoid shape of the plane, and instead it’s sort of bending along the middle. I’ve tried applying visual and object transforms, but that hasn’t changed anything. I've also tried subdividing and triangulating the faces, only for it to continue to bend the texture in a way I wouldn't expect. Does anyone know if this is how it’s supposed to be behaving or maybe I have a setting wrong? Thanks!  ^ UV map for the plane, snapped to pixels  ^ how the plane is appearing


I've been using elementary os for the last half a year and now I have installed the latest Ubuntu on my system. On elementary os, I was using this command to change the desktop background:   gsettings set org.gnome.desktop.background picture-uri file:///path_to_image   However, this command does not seem to do anything in Ubuntu. I can change the background by choosing a different image in the Appearance menu but I need to change the background from a script and hence the need for a working command.   When running the above command in a terminal no error is produced. If I run the gsetting get command, it returns the background image it always had, as if nothing happened. It totally ignores my set command. The images I tried this command on are the same images in the /usr/share/backgrounds images that are provided by default. Also, I changed the permissions of the entire background folder (and its contents) to be readable and writable to everyone to no avail.   I tried logging out and back in to see if it produces any changes to the background but nothing happens and even if it did, I wouldn't like to re-login every time the background changes...  Doing an online search yielded no results.  Thank you for your time!

I have a script that updates my desktop background every day with the NASA APOD. Since upgrading to 11.10, that script stopped working, presumably because I'm using gconftool-2 to actually update the desktop background. Is there a new way to do this under Unity?


OS: Ubuntu 20.04.  root@la425:~# apt-get update Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Ign:2 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu focal InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease                                                        Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease                                                      Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease                           Hit:8 http://archive.ubuntu.com/ubuntu focal-security InRelease                                 Err:9 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu focal Release                        404  Not Found [IP: 91.189.95.83 80] Hit:3 https://downloads.mariadb.com/MariaDB/mariadb-10.4/repo/ubuntu focal InRelease Ign:7 https://downloads.mariadb.com/MaxScale/2.4/ubuntu focal InRelease Hit:10 https://downloads.mariadb.com/Tools/ubuntu focal InRelease Err:11 https://downloads.mariadb.com/MaxScale/2.4/ubuntu focal Release   404  Not Found [IP: 104.20.67.208 443] Reading package lists... Done N: Ignoring file 'mariadb.list.old_1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'mariadb.list.old_2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension E: The repository 'http://ppa.launchpad.net/chris-lea/redis-server/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'http://downloads.mariadb.com/MaxScale/2.4/ubuntu focal Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

When updating, I get the following error message:   W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file.   Here, I find another statement on this error:   This recommends removing certain PPAs; and, I'm not sure if I should do that since it might mean not getting the updates that I need.    Is this what I should do?


I am going to India (Delhi) from USA (California) for the first time. When talking about how many items (electronics, jewelry, perfumes, watches etc) we can take in luggage bags and/or cabin bags there is always confusion. Some people say you can't take more than two phones or at most four electronic items. Some other mention different numbers. I was never terrified with numbers until I came to this situation.   Can anybody provide me with an official link stating the amount of items I can bring to India? Or any authentic resource where I can find the exact answer?

I am planning to travel to India (COK airport, Kerala) from United States. I want to take my laptop as well as my tablet (iPad). Am I allowed to take both in my backpack with my documents related my work. I think I am allowed to take only one computer as per the rule. Will the customs consider my iPad as a computer?  What all I can take?   One of my friends took 2 laptops (1 work and 1 personal) and had trouble at the airport.  Also I am planning to take some wristwatches (7 of them, each avg price is 45 $). I read in a website that I can take stuff up to max 35000 INR. Is that true? In that case, how will I manage my stuff?


I will be travelling to MUC from India on a German national visa type D via Paris. My visa says that it is valid for Deutschland (not Schengen states, unlike for Schengen Visa). Will I be allowed to travel through Paris as my first port of entry?   I am concerned since I will have to do immigration at Paris.

I’m going to Germany for a semester exchange and I have a long-stay visa from Germany. Can I travel to the other Schengen states during this period with this visa or do I have to apply for a separate short stay Schengen visa?  My visa is German national visa type D. It is for a duration of 4 months, i.e., longer than 90 days. It says on the visa that the long stay visa is valid in Deutschland, which is different from my earlier visa, which I had when I visited Germany earlier; that one was a short stay visa and said it was valid in Schengen Staten.  Perhaps my current visa means that I can stay in Germany for a period of longer that 90 days can visit the other Schengen states if I don’t exceed the 90 day period.


I have a problem with images not showing up. The latex recognises them (see screenshot) but doesn't generate them to pdf document. They are in the same folder. I tried including image extensions and with the part that is commented. The images are .png.  Here is the code:  \documentclass[12pt,a4paper,draft,pdftex]{article}     \usepackage[pdftex]{graphicx}   \usepackage{mathtools}   \usepackage{amsthm}   \usepackage{amsfonts}     %\graphicspath{name/Dropbox/projectProgramming/graphs/}  \begin{figure}[p] \centering \includegraphics[width=\textwidth]{avgP} \caption{Average} \end{figure}

When I pdflatex the text below it doesn't insert the picture, but writes the name of the file instead (pic).  And the geometry line gives the error  ! LaTeX Error: Missing \begin{document}.   The picture I am using is at  and the floatrow package .  Question  Can anyone see what is wrong?  Text  \documentclass[a4paper]{article} \pdfpagewidth=\paperwidth \pdfpageheight=\paperheight \usepackage{aeguill} \pdfcompresslevel=9 \usepackage[pdftex,colorlinks]{hyperref}  \usepackage{a4} \usepackage{fixltx2e} \usepackage[danish]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc}  \usepackage[draft]{graphicx} \usepackage{floatrow}  \usepackage{geometry}  \geometry{margin=10pt,paperwidth=\textwidth+20pt,paperheight=\textheight+20pt}  \begin{document}  The first paragraph.  \begin{figure}   \includegraphics{pic} \end{figure}  And the second.  \end{document}


I have a 5 year old that is very very very sociable.  I am being a generous here.  I have tried to explain to him in simple terms that not everyone is good and that he can't go up to everyone he sees and start a conversation like he is a little adult, but it confuses him.  He think that everyone is good and no one is bad or can do bad things.  So when I explain to him about strangers, he usually doesn't listen to me, but if he does, he does a complete 360 and now everyone is a stranger and I don't want him to feel that he either has to say talk to trust/talk to everyone or trust in no one.  How can I better explain to him about strangers and how to be more careful.  As a parent, I have my eagle eyes on him all the time because I know how he is, but I also want him to be aware of these things even if it is start.

Conventional parenting wisdom tells us to drive the fear of talking to strangers into our kids. Is this at all harmful though? Is there any adverse impact to a child's social development by doing this? How can you balance safety against fear?


I have extruded a plane many times, and I want to grab and move one point to change the shape of a paticular plane, but when I attempt to do this, It affects all planes in the figure. How can I fix this?  Unexpected Result: ()

I am learning to make an alarm clock but the problem is my scaling is not happening like the one in the youtube video am learning from. My scaling was supposed to be like this  , but it's coming out like this, all selected lines r scaling together it seems


When I ask you a question I am the inquisitor or or the inquirer. But what are you, the one to whom I'm asking the question? Here's the example I'm working with: the children's book "Are you My Mother?"...the hatchling asks that question to many things (animals, objects); I'd love to have one word to describe those animals and things he's posing the question to...the object of the inquirer.

Possible Duplicate:             What's a proper but simple one-word description of a person to whom a question is being asked?


Which of these is correct and why?  I work at Microsoft I work in Microsoft  I've seen 'at' everywhere but nobody uses 'in'. Why?

I usually use "at a company" but I have encountered some articles using "in a company", "in XYZ firm" or "in an organization".  Which one is right?


I'm close to give up  for MnSymbol in unicode-math. I realized I already replaced so many missing and faulty characters, that there is barely something left of MnSymol. So probably I will just go the other way around in the future, use a different math font and replace the symbols I don't like with MnSymbol.  However, please allow one last question before I carry MnSymbol to his grave: Obviously the full stop is missing in MnSymbol: $\Bigg[\bigg(\big[ 42 \big]\bigg)\Bigg].$   When I replace the full stop with a different font, all brackets get followed by a \cdot: \setmathfont[range={"002E} ]{XITS Math}    which won't happen if I replace the whole math font: \setmathfont{XITS Math}    Besides looking for a solution, I actually would like to know Why? I'm replacing a certain unicode character and others are affected as well, that does not make any sense?  Full MWE: \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{fontspec} \usepackage{unicode-math}  \setmathfont{MnSymbol} \setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{Minion Pro} \setmathfont[range={"005B,"005D,"0028,"0029,"007B,"007D} ]{XITS Math} % brackets  \begin{document}  $\Bigg[\bigg(\big[ 42 \big]\bigg)\Bigg].$ \setmathfont[range={"002E} ]{XITS Math} $\Bigg[\bigg(\big[ 42 \big]\bigg)\Bigg].$ \setmathfont{XITS Math} $\Bigg[\bigg(\big[ 42 \big]\bigg)\Bigg].$  \end{document}   For future reference: A full solution can be found , but \Udelcodenum`.=1073741824   needs to be changed to \Udelcodenum`.=0

I also posts this here: . The problem is that I want to have the \period symbol (also range="002E does not work) from the mainfont, but when I run this:  %!TEX TS-program = lualatex \documentclass{standalone} % \usepackage[math-style=ISO]{unicode-math} % \setmainfont{MinionPro-Regular} % \setmathfont{LatinModernMath-Regular} \setmathfont[range=\period]{MinionPro-Regular} \setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{MinionPro-Regular} \setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{MinionPro-Bold} \setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{MinionPro-It} \setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{MinionPro-BoldIt}  \begin{document}     $\bigl(x^2+5\bigr).$ \end{document}   I get the following result:    Are there any ideas to solve this problem? Thanks for help.  I may think the problem lies in the \right.- and \left.-delimiters, because you won't get the incorrect result if you use \left and \right instead of \bigl( and \bigr). It seems as if range=\period makes them visible.  Is there a possibility to fix this?


There is a programmer for the ESP8266 that allows you to snap the ESP module in and out of the board to program without soldering? I never seen this type of connector before, does anyone have a part name for it?  Here's a YouTube video demonstration of it:     I figure if I can find a part name that would be all I need to incorporate this into my own boards.

Here's a module with castellated pads attached to an eval board:  (source: ) Looking closely at the wires interfacing with the castellated pads, they're clearly soldered to the eval board. However, they don't look like they're soldered to the module, but rather they're being pressed against the pads with the tension in the wire. It also looks like the free end of the loops are protruding down into a channel cut in the PCB. Do these kind of connectors/metal loops have a name?


By using command blocks, is there a way to /say without it outputting  [CommandBlocks Name]/Say Command   Basically Is there a way to get command blocks to not have a name?  So instead of  [CommandBlocks Name]/Say Command   It would just be  /Say Command

As most Minecraft command blocks makers know, if we use the /say command to output text, this will happen:     [@]Lorem ipsum   The [@] is actually very annoying, how can I remove it?


I am trying to install the "Springer SV Mult" document class for use in Lyx V2.2.2. The OS is Linux Mint 18 with Texlive. I downloaded  but can't figure out where to create the "springer" folder that contains these files so that Lyx will see it and allow me to use this document class. Any suggestions?

Background  There is a .cls file that pdflatex should use. I have read the following         Using TeX Live 2012, installed into /usr/local/texlive/.  I would like to install the .cls file into $HOME/.texmf (or some other non-standard directory), rather than $HOME/texmf. I thought this would be:  mkdir $HOME/.texmf initexmf --register-root=$HOME/.texmf sudo /usr/local/texlive/2012/bin/x86_64-linux/tlmgr conf texmf TEXMFHOME $HOME/.texmf mv amazingbook.cls $HOME/.texmf latex amazing-stories-1.tex   Problem  The initexmf program does not exist (in TeX Live 2012). I have read that the mktexlsr command is equivalent to initexmf.  Update  Ran:  mktexlsr $HOME/.texmf mv amazingbook.cls $HOME/.texmf mktexlsr $HOME/.texmf   The .cls file cannot be found when running:  pdflatex amazing-stories-1.tex   Question  What are the exact steps necessary to install a custom .cls file into a given directory and configure the environment so that the .cls file is visible from LaTeX using TeX Live 2012?


board = [['a']*3]*2 board[0][0] = 'b'   ...then board becomes [['b','a','a'],['b','a','a']]  Is there a way to mutate it such that it becomes... ?  [['b','a','a'],['a','a','a']]?   Thanks.

I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3  The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]    Then I changed one of the innermost values: my_list[0][0] = 5  Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]]    which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?


I haven't used the shell in years. I went in to do a clean. When I tried to enter my password, I got no sign that it had been entered -- no asterisks, dots, anything. Then it rejected the log-on. What's up with that?

When I'm about to install a program in the terminal it wants the password:  [sudo] password for xxx:   But when I start to type my password nothing happens. What should I do?


I don’t understand why this is the formula for variance for binomial distribution. The 1-p especially confuses me. The variance in the square of the standard deviation which I don’t get how this gives us a deviation.

Binomial problems: Mean and standard deviation  Suppose that the New England Colonials baseball team is equally likely to win any particular game as not to win it. Suppose also that we choose a random sample of Colonials games. Estimate the number of games in the sample that the Colonials win by giving the mean of the relevant distribution (that is, the expectation of the relevant random variable). Do not round your response. Quantify the uncertainty of your estimate by giving the standard deviation of the distribution. Round your response to at least three decimal places.  I've calculated the mean to be $10 (np=20*0.5)$. The short cut for calculating the variance of a binomial distribution is $np(1-p)$, but can you show me how to use the standard discrete distribution formula for variance ($Var(X) = E(X^2) - \mu^2$)to calculate variance in this case?


For $T\in\wedge^{k} V^{\ast}$ the annihilator is set $$an(T)= \{\phi\in V^{\ast}\mid \phi\wedge T=0\}$$  Then I need to prove that $dim(an(T))\leq k$ and is equal iff $T$ is decomposable ($i.e.$, $T=\phi_1\wedge\cdots \wedge \phi_k$ for $\phi_j \in V^{\ast}$).  I do not know how to attack this problem, suppose that has dimension greater that $k$ but I get no contradiction or at least do not know how to find it.

I have a conjecture. I have a problem proving or disproving it.      Let $w \in \Lambda^k(V)$ be a $k$-vector. Then $W_w=\{v\in V: v\wedge w = 0 \}$ is a $k$-dimensional vector space if and only if $w$ is decomposable.   For example, for $u=e_1\wedge e_2 + e_3 \wedge e_4$ we have $W_u = 0$.


My question is simple: If all integers can be represented by $2k$ or $(2k+1)$ where all odd numbers have the form $(2k+1)$ the square of any odd number should be in the form of $(4k^2 + 4k +1) = 4q+1$ then why we have to further represent $q$ (in the last equation) as $2k$ and $2k+1$ to make a conclusion that odd number squared is always is in the form of $8q+1$ ? didn't we already assumed that any odd number is in the form $2k+1$ where $k$ can be any integer.  if that isn't the case then why should not we further replace $q$ as $2k$ and $2k+1$ and further and this wont stop. so what is logic here? The proof makes sense if we start with odd integer as $4k+1$ or $4k+3$ but again how we decide which form should we start with, because both (2k and 4k version) represent the odd numbers.

I am trying to show that if $n$ is an odd natural number, then $8$ divides $n^{2}-1.$ I was able to prove that because I know that if $n$ is an odd natural number, then $n^{2}$ can be written as $8k+1$ for some $k\in \mathbb{N}.$ I would like to show this question by using the Euclidian division. Then I wrote $n^{2}-1=8k+r$, where $0\leq r  < 8.$ When $r=2$ we get $n^{2}-1=8k+2.$ Since $n$ is odd, then $n^{2}-1$ is even and I got stuck. Is there way to fix that?


I am trying to understand the shift operators and couldn't get much. When I tried to execute the below code  System.out.println(Integer.toBinaryString(2 << 11)); System.out.println(Integer.toBinaryString(2 << 22)); System.out.println(Integer.toBinaryString(2 << 33)); System.out.println(Integer.toBinaryString(2 << 44)); System.out.println(Integer.toBinaryString(2 << 55));   I get the below  1000000000000     100000000000000000000000     100     10000000000000     1000000000000000000000000       Could somebody please explain?

I've been attempting to learn C in my spare time, and other languages (C#, Java, etc.) have the same concept (and often the same operators) ...   What I'm wondering is, at a core level, what does bit-shifting (<<, >>, >>>) do, what problems can it help solve, and what gotchas lurk around the bend? In other words, an absolute beginner's guide to bit shifting in all its goodness.


I noticed that I'm loosing colour information in the highlights after exporting and importing pngs from Blender. I know that the compositor works with linear space but something gets lost when saving to png. Here is what I do:  Render my image and look at it in compositor, all highlights preserved Save the image as png and look at the png with an image viewer, all highlights preserved Use an Image node in compositor and look at png, highlights lost Safe the image from the node to png, highlights still lost  So there is something going on while importing/reading the file. I have checked "View as Render" in the image nodes properties. I use Blender 2.90.0 Any ideas?

I already searched the internet but could not find a solution to this. Maybe it is the same question as  but there was no answer.  I want to render a video with tracking, but the output "loses" color information and gets kind of greyish. I first thought that it is related to the renderer, but it happens in Cycles and Eevee. Therefore i made a sample image, added it to the image sequence editor and rendered it as 1 frame. Resulting in the same problem.  I placed the original image beside blenders output so that you can see the difference. The only idea I came up with is that something with the lighting is not correct but I can't find a setting for that.  I am using Blender 2.80 with the default settings. Only set the output resolution to match the input resolution.


My Steam inventory starts getting cluttered with coupons that will remain valid for way too long time and I'm absolutely not interested in using them or finding someone else to give them to. How can I get rid of them?

I have a number of items in my Steam inventory that are never going to get used; for example, some AirMech 2 "gifts" that are marked as NO LONGER VALID.  Is there some way to get rid of them so I don't have them cluttering up my inventory?  Obviously I could do a one-sided trade with a friend, but then they'd have to deal with it instead, and I don't have any alt accounts.


Is there a specific word for someone who dies, not at birth, but years later, ON their birthday? An historical person who comes to mind would be inventor John Harrison, who was born  March 24, 1693, and died on his birthday,  March 24, 1774.  What would you call this event or person, other than deceased? Is there a special name for dying on one's birthday?   The reason my question may be different is because the answers given to the 1st question seemed to not be answering the question asked because of a misunderstanding of the nature of the question.  People kept answering about babies miscarried or stillborn on their date of birth, not birthday. I am attempting to clarify the responses given by rephrasing the question into something clearer that will bring about the answer asked originally asked for.

I have found references to birthdays and "deathdays," many words that reference either death or birth (natalis, obitus, quietus) but not both sharing the same day and month (even sharing the same year in the case of some children).


So I am just starting to learn Python by watching some tutorials. In that tutorial he said to solve this question by using if else statements. But there is an issue that is the text "harry" can be in any order like upper case lower case  for ex: "Harry", "HaRrY" "Harry". So I can't figure this out how to solve this. I just came this far. Below is the code I did so far. post = input("Enter a post: ") if ("HARRY" in post):     print("Yes! the post contains the name Harry.") elif ("harry" in post):     print("Yes! the post contains the name Harry.") else:      print("No! the post does not contain the name Harry")

How can I do case insensitive string comparison in Python?  I would like to encapsulate comparison of a regular strings to a repository string using in a very simple and Pythonic way. I also would like to have ability to look up values in a dict hashed by strings using regular python strings.


I am teaching my girlfriend, we are exchanging knowledge. She read my previous questions and upvoted some of them. Today all the reputation from that is deleted. Why? Is this a scam as she really liked them? Also... I am a teacher and I can discuss some of the topics with my students. So now I wont stimulate them to make profiles in stackoverflow and upvoted the questions/answer they like (because as I see this is considered a scam, but its not)

I just noticed that I lost a bunch of points from my reputation score, and I used the "reputation" tab on my user profile page to try and track down the cause.  During my investigation, I noticed there was an unusual event of type "reversal". In the normal place of a question title, it says "voting corrected".     What does this mean, and what caused it?  Did I do something wrong? Why did I lose all of that reputation? Is the system punishing me for leaving too many good answers?  Is there any way to earn it back?


I have two virtual machines with Windows Server 2003 running in VMware Workstation 11.0.0 on Ubuntu 14.04.1.  Unfortunately several days or weeks ago both the machines started to render all four fonts (font styles by MS terminology) in the Courier New OpenType typeface in a corrupted way (first example - ClearType ON, second - ClearType OFF):     It looks like some horizontal lines of pixels are completely missing in the ClearType rendering. As a result small fonts are unreadable. Other typefaces seem to render normally.  The corresponding font file according to googling of the MD5 looks normally:  File:     C:\WINDOWS\Fonts\COUR.TTF Size:     303,296 bytes MD5:      72c75860d89e91a517dfb1e7d308c180 Created:  Sunday, 18 February, 2007, 13:00:00 Modified: Sunday, 18 February, 2007, 13:00:00   Here is the same problem in the Font Viewer (ClearType ON):    I suspect that the problem was caused by one of two recent batches of Microsoft Updates. Could you please recommend how to troubleshoot the problem?

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


If the same sensitive spring balance weighs (in air) a balloon when empty (W1) and when filled with air (W2), which reading will be greater and why?

Consider the experiment in .  The experiment includes using a ruler as a lever, with an inflated balloon on one side and a balloon which is not inflated on the other.  The aim of the experiment is to show that air has mass.  I have seen many kids performing similar experiments.  But, if the air pressure inside the balloon is equal to that outside, then the buoyant force will cancel out the weight of the air inside the balloon, won't it?


So me and my friend want to message each other in the Minecraft enchantment table lettering and it would be great if someone had an idea on how to do it.

The Standard Galactic Alphabet is what appears in the Enchanting Table. Is there a way to give a name to an Armor Stand using these character.  I know there is a LingoJam Translator that give ASCII characters that look like the SGA, but that is not what I'm looking for. Can I use the same characters as the Enchanting Table?


While trying to compile my latex document, I get the following error:  "Unicode char \u8:‒ not set up for use with LaTeX."   The line number associated to the error seems meaningless. It points to a line where there is definitly not the erroneous charachter. Even if I remove the line the error points to, the error still appears (at the same line number, even though the line content has changed due to the deletion).  So my question is: How can I find the erroneous character in my file? The file is huge, so I can't look manually through all lines.

This is with ref to my previous question .  \documentclass[11pt,table,a4paper]{article} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  \usepackage{CJKutf8} \usepackage[english,russian]{babel}  \newenvironment{SChinese}{%  \CJKfamily{gbsn}%  \CJKtilde  \CJKnospace}{}   \begin{document}  \selectlanguage{russian}   Это мой первый многоязычный докладе.   Инфантильный гипертрофический стеноз привратника - это серьёзное   \selectlanguage{english}   This is my first multilingual report.   \begin{CJK}{UTF8}{}   \begin{SChinese}     这是我的第一个多语种的报告。   \end{SChinese}   \end{CJK}    \end{document}   when I try to compile it, I get following error message.  LaTeX Warning: Unused global option(s):     [table].  (./data.aux (/usr/local/texlive/2011/texmf-dist/tex/latex/cyrillic/t2acmr.fd)) (/usr/local/texlive/2011/texmf-dist/tex/latex/lm/t1lmr.fd)  LaTeX Font Warning: Font shape `T2A/lmr/m/n' undefined (Font)          using `T2A/cmr/m/n' instead on input line 15.   ! Package inputenc Error: Unicode char \u8:  not set up for use with LaTeX.  See the inputenc package documentation for explanation. Type  H <return>  for immediate help.  ...                                      l.18 ...�ный гипертрофический стеноз привра...   How can I avoid such error message.


I just had this idea of "preSecure" all userinput data from $_post and $_get. But I was wondering if this is good practice and would like some input on this. Here is what I came up with:  function clean_str($str){     return preg_replace('#[^a-z_ 0-9@.-]#i', '', $str); }  if ($_POST){     foreach ($_POST AS $key => $val){         $_POST[$key] = clean_str($val);     } }  if ($_GET){     foreach ($_GET AS $key => $val){         $_GET[$key] = clean_str($val);     } }   This snippet would simply be run at the beginning of each http request. The clean_str function can be developed to allow other chars and replace characters etc (this is just an example). But I think the first goal are to simply prevent sql injection. The only bad thing I can see with this approach right now is if your "plugin" need to send sql commands from user input. The appraoch above could we wrapped in a function of course and be called if needed. Post and Get are global vars so that would not be a problem.  I'm actually writing my own framework (still a lot of work) that I will release if I ever be able to finish it. The thing is that I often see novice developers add $_POST['userinput'] inside database queries. The code above should make even that okay. Well that was some background of what I'm up to and why I bring this up.  I would be very happy to hear your thoughts. This might not be the best question for Stack Overflow, I suppose I want to open more like a discussion to this approach to share thoughts and inputs. But to formulate my question(s) to this, it would be something in line with: Are there any other approaches that would be faster or more scalable than this, or is equal to this, or can another function complement this approach? Is this approach good practice? Is it okay to overwrite the global vars of post and get data like above?  I know the code above is not object oriented, but it's about the approach of cleaning the users' input datas automatically before running checks on them. I think this will save a lot of code and headaches.  Please share your thoughts with me. As comments are limited here on Stack Overflow, I would appreciate if you reply as answers if you bring new thoughts to this table. Comments are to comment on specific thoughts/answers in this case.

If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?


I recently heard of the disinvestment in Unity 8 by Canonical and that they are looking at Gnome Project. Does it means that Unity will be phased out Ubuntu totally or is a indication of yet another GNOME fork??

The default desktop environment in Ubuntu 18.04 is going to be gnome-shell instead of Unity 8.  Does this mean development of Unity is stopped? or just that we can expect it to be beta a bit longer?  source on  post by Mark Shuttleworth. phoronix also posted about it  and here about the


I've written the following line of code:  XRegExp.exec(data,     XRegExp('<!-- @\[(?<component>[\w+])[\(*(?<classes>[\w+])*\)]*\] -->', 'g'))   As you can see it is using the  library so I can use named groups other PCRE features.  I'm getting the error:   syntaxError: Invalid regular expression: /<!-- @[(?<component>[w+])[(*(?<classes>[w+])*)]*] -->/: Unmatched ')'  However, I don't understand where the unmatched ) is. As far as I can tell, all brackets that need to be escaped should be and all the ones that shouldn't are not.  Here is the string I am trying to match:  <!-- @[NoteBlock(warning)] -->  these should also match:  <!-- @[NoteBlock(warning, high-level)] -->  <!-- @[NoteBlock] -->  This should not match:  <!-- @[(warning, high-level)] -->  UDPATE: Using  I've managed to get the regex to pass: I've updated the regex to '<!-- @\[(?<component>[\w+]+)\(*(?<classes>[\w+]+)*\)*\] -->' however I'm still getting the same error.

I am tired of always trying to guess, if I should escape special characters like '()[]{}|' etc. when using many implementations of regexps.  It is different with, for example, Python, sed, grep, awk, Perl, rename, Apache, find and so on. Is there any rule set which tells when I should, and when I should not, escape special characters? Does it depend on the regexp type, like PCRE, POSIX or extended regexps?


They ask me the following question:     Let $A$ and $B$ be two symmetric matrices of the same order, show that if   $AB = BA$ is not verified, then $AB$ is not symmetric.   I have tried the following but I do not know if it is correct:  if $AB \neq BA \Rightarrow (AB)^t = B^tA^t = BA \neq AB$

Question  if we have matrices $A$ and $B$ which are symmetric. Both of these satisfy: $$  A=A^T$$ Is $AB=BA$ true ?  Attempt to solve  Now if $A$ and $B$ are symmetric then $AB$ most be symmetric too.  $$ AB=(AB)^T=B^TA^T=BA $$  problem is how do you proof that if $A$ and $B$ are symmetric also $AB$ is symmetric ?  If somone could provide some insight on this that would ge highly appreciated.  Thanks,  Tuki


When I review close votes of questions, I am curious to see the answers that some of these questions got. The reason for that is that sometimes I can get a better understanding of how to judge a question I'm reviewing when I also see an answer to that question. Can the whole question thread just be added after the question part?

Many times when going through the Close queue I see that people are using the too localized reason.  Sometimes the reason for this is in the comments (like the syntax error being pointed out), but a lot of times it's in the answer, so then I have to click on the question and look at the answers to see if it is really too localized.  Could we please get the answers shown underneath the question in the Close review queue?


Getting following error from firebase authentication using     com.google.firebase:firebase-auth:11.8.0 for firebase authentication library. error caused after updating from 10.2.4  Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.android.gms.tasks.e com.google.android.gms.common.api.c.a(com.google.android.gms.common.api.internal.bz)' on a null object reference        at com.google.android.gms.internal.zzdvv.zza(Unknown Source)        at com.google.android.gms.internal.zzdwc.zza(Unknown Source)        at com.google.firebase.auth.FirebaseAuth.getCurrentUser(Unknown Source)        at com.google.firebase.auth.FirebaseAuth.getCurrentUser(Unknown Source)        at com.google.firebase.auth.internal.zzl.run(Unknown Source)        at android.os.Handler.handleCallback(Handler.java:739)        at android.os.Handler.dispatchMessage(Handler.java:95)        at android.os.Looper.loop(Looper.java:148)        at android.os.HandlerThread.run(HandlerThread.java:61)

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I was asked this $$\int_0^\infty \frac{\sin(x^2)}{x^2}\ \,dx$$  I have a solution by letting $$I(b) = \int_0^\infty \frac{\sin(x^2)}{x^2}e^{-bx} \,dx$$  However, I was told that the question can also be solved via contour integration. Can anyone demonstrate that? You can take a picture of the steps if you are too lazy to deal with mathjax symbols.  Thanks!

Does anyone have  a proof for $$\int_0^{\infty}\frac{\sin(x^2)}{x^2}\,dx=\sqrt{\frac{\pi}{2}}.$$ I tried to get it from contour integrating $$\frac{e^{iz^2}-1}{z^2},$$ but failed. Thanks.


Once you've picked a subclass option at level 3, could you later take a different subclass option, or do you lock into a specialty at level 3 and then run with it for the rest of that class' progression?  For example, as a rogue, if you took the "Thief" archetype at level 3, giving you access to Fast Hands and Second Story Work, could you then take the "Assassin" archetype to give you the specific benefits that archetype gives instead of the "Thief" ones?  The  seems to imply that you couldn't:     At 3rd level, you choose an archetype that you emulate in the exercise of your rogue abilities: Thief, detailed at the end of the class description, or one from another source. Your archetype choice grants you features at 3rd level and then again at 9th, 13th, and 17th level.   but I'd like a more certain answer, especially one that refers to archetypes in general. Also I'm not ashamed to admit I'd prefer a source with some authority that tells me you can mix and match, but I am looking for the truth of the rules when all is said and done...   Different to  because the no on that demonstrates that you can't re-take a level of the same class. Taking different features for different levels is not the same thing, and would work differently. Similar to  but that one was specific to monks - which is why it didn't show up on any searches I did, and why it wouldn't on the searches of others. This question is specific enough to be clear and precise, but broad enough to be useful to others who aren't in the exact same situation/using the same class.

I'm wanting to mix archetypes (traditions) for my monk. I'm wanting specifically the 3rd and 17th level feats from Way of the Open Fist and the 6th and 11th level feats from the Way of the Shadows. I know we can't multiclass into the same class to gain both but in the PHB page 79 2nd column "Monastic Traditions" reads "Three traditions of monastic pursuit are in common in the monasteries scattered across the multiverse." I'm fine with that but where I question is "Most monasteries practice one tradition exclusively, but a few honor the three traditions and instruct each monk according to his or her aptitude and interest."   So my question would be can I build a monk that is split like that without homebrewing to much?


I am looking forward a way to watch a file to get following information   Which process does open, read, write it? When? Result. (e.g. can they write on it, or can they read it, etc.)   Strace helps us to watch which files a process opens, but how can I watch a file when multiple processes access it? What is your recommendation?

I'm trying to find a reliable way of finding which process on my machine is changing a configuration file (/etc/hosts to be specific).  I know I can use lsof /etc/hosts to find out what processes currently have the file open, but this doesn't help because the process is obviously opening the file, writing to it, and then closing it again.  I also looked at lsof's repeat option (-r), but it seems to only go as fast as once a second, which probably won't ever capture the write in progress.  I know of a couple tools for monitoring changes to the filesystem, but in this case I want to know which process is responsible, which means catching it in the act.


Good night guys,  I wanted to ask, why it's not possible, to print out the content of an enumeration without a for loop.  For example this:  public class NurTests {      enum optionen{        Option1, Option2, Option3;     }    public static void main(String[] args) {      for (optionen d: optionen.values()){         System.out.println(d);     }   } }   Why can't I write this? Or why can't I write System.out.println(optionen) either?  System.out.println(optionen.values());   Thanks in advance.

In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]


For these:     It happened that he did not attend the party.   As it happened, he did not attend the party.     Do "it happened that" and "as it happened" mean different things?

Is there a difference here:        It happened that he did not go to work today.   As it happened, he did not go to work today.      Do "it happened that" and "as it happened" have different meanings?


Does there exist a sequence $x_n$ such that $|x_n - x_{n+1}| \rightarrow 0$ but $x_n$ isn't convergent?  I was looking for such a sequence, but I can't find one. Maybe if $|x_n - x_{n+1}| \rightarrow 0$, then $x_n$ is Cauchy sequence?

I have a question that says "Show that there is a bounded sequence $x_n$ which is not convergent but has the property that $x_n - x_{n+1} \to 0$ as $n \to 0$.  What does this mean? Do I need to come up with an example or does the problem actually want me to prove such proposition?  By the way, I see that this sequence looks like Cauchy because of $x_n - x_{n+1} \to 0$ as $n \to 0$, but it is obviously not.


I'm running an OLS and was wondering if the 'Estimate' in my SPSS output is the same as the beta coefficient in a linear regression?  Are there specific assumptions required to run an OLS? I have age, gender and income as my predictor variables and quality perception as dependent variable (measured on a Likert scale). Is OLS appropriate here?  Thank for your help, I really appreciate it!!

What are the usual assumptions for linear regression?   Do they include:   a linear relationship between the independent and dependent variable independent errors normal distribution of errors homoscedasticity   Are there any others?


I vaguely remember seeing this theorem somewhere but am having trouble finding a proof. It is difficult to search for a proof because it is difficult in general for symbolic identities and terms like "inverse", "multiplication", "ring", and "distributive" are quite general in ring theory.  I have gotten this far:  $1=\left(ab\right)^{-1}\left(ab\right)\quad1=bb^{-1}a^{-1}a$  $\left(ab\right)^{-1}\left(ab\right)=bb^{-1}a^{-1}a$  $\left(ab\right)^{-1}\left(ab\right)a^{-1}=bb^{-1}a^{-1}aa^{-1}$  $\left(ab\right)^{-1}\left(ab\right)a^{-1}=bb^{-1}a^{-1}$  $b^{-1}\left(ab\right)^{-1}\left(ab\right)a^{-1}=b^{-1}bb^{-1}a^{-1}$  $b^{-1}\left(ab\right)^{-1}\left(ab\right)a^{-1}=b^{-1}a^{-1}$  Without commutativity, I cannot simply rearrange the $\mathrm{LHS}$ to an expression where I can eliminate $(ab)$.  I may be taking the wrong approach, so any help (including starting over from the beginning) is welcome.

The following question is problem Pinter's Abstract Algebra. And to put things in context: $G$ is a group and $a, b$ are elements of $G$.  I want to show $(ab)^{-1}$ = $b^{-1}a^{-1}$.   I originally thought of proving the fact in the following manner: \begin{align*} (ab)^{-1}(ab) &= e \newline (ab)^{-1}(ab)(b^{-1}) &= (e)(b^{-1}) \newline (ab)^{-1}(a)(bb^{-1}) &= (b^{-1}) \newline (ab)^{-1}(a)(e) &= (b^{-1}) \newline (ab)^{-1}(a) &= (b^{-1}) \newline (ab)^{-1}(a)(a^{-1}) &= (b^{-1})(a^{-1}) \newline (ab)^{-1}(e) &= (b^{-1})(a^{-1}) \newline (ab)^{-1} &= (b^{-1})(a^{-1}) \newline \end{align*}  I know this may seem extremely inefficient to most, and I know there is a shorter way. But would this be considered a legitimate proof?  Thanks in advance!


I would like to adjust column width in algorithm below:    \usepackage{amsmath,amssymb} \usepackage[norelsize, linesnumbered, ruled, lined, commentsnumbered]{algorithm2e} \begin{document} %\begin{minipage}[t]{0.5\linewidth}  \begin{algorithm*}     \DontPrintSemicolon     \KwIn{This is a input lines.}     \KwOut{$n$ shadow images $S_1,S_2,\dots, S_n$. }      \For{$(i=0;i< M;i++)$}{         \For{$(j=0;j<\frac{N}{d};j++)$}{             Assign  $a_0,a_1,\dots,a_{k-1}$ as follows:\;         }     }     \caption{This is a long caption of the algorithm. So I need to break this long line into small multiple lines.} \label{Alg:1} \end{algorithm*} %\end{minipage}  \end{document}   Unfortunately whenever I am going to use minipage, occurs error. I can I fix this?

I have the following algorithm. Could any one please let me know how I can put it in a minipage?   \begin{algorithm}\small  {Start}\;   \eIf{A is bigger than B}{   \eIf{if A is bigger than C}{  A;  }{ C;  } }{ \eIf{B is bigger than C}{ B;   }{ C; } }  \caption{A B C comparison}  \end{algorithm}


Can the 1801-1831 censuses in England be viewed online?  If so, where and how?

The first national Census in Britain was in 1841, but there are several local enumerations of populations of particular parishes and towns, for example:       In the answers to that earlier question, two books/monographs were mentioned       Neither of these is available online in complete form, though there is a preview of the latter that provides some interesting methodological information about the 1841 Census and its precursors.   But is there a comprehensive source of these records available online, which researchers outside the UK can use? It is worth noting that even though these earlier censuses did not always name everyone in a household, they can still be useful for genealogical purposes, allowing one to establish, for example:   How many households or households of a particular name there were in a particular location, and therefore how likely there are to be multiple people of the same name in that location at that time. (Is that Mary Thing daughter of John Thing the same Mary Thing that is my ancestor? Or was Thing a common name in Whatsitham?) Number of people per household can help establish of there are any children in that household that you've missed.


I created a property:  public string fixed { get; set; }   It appears "fixed" has an inbuilt definition. So it doesnt allow me to, says invalid token. But I need to create it with the same name. Is there a way, please help.

Using asp.net MVC I'd like to do this inside a view:  <%= Html.TextBox("textbox1", null, new { class="class1" }) %>   This statement does not compile because class is keyword in C#. I'd like to know how I can escape the property names such that this compiles.  It is possible to get this to compile if I change the "class" property to "Class" (uppercase C). But this is not suitable because strict xhtml says that all attributes (and element) names must be lowercase.


I am trying to achieve the effect bellow (source: Twitter official blog header image).  I have a background color and a few colorful flat objects that I want to bend into the background color like bellow.

I would like to use the overlay effect used on the screenshot(s) below.    I've tried experimenting with several Blending modes but keep missing the mark. I'm sure this has a very easy answer but I'm having trouble recreating the effect on my own.  Here are a few more images for further context:        Thanks in advance for your help.


Or "How can I RegEx in reverse?"  specifically I want to take a regex such as wks[0-9][0-9][0-9]  and create a list such as wks001,wks002,wks003, etc  I know the easiest way in this example would be to simply increment the number through addition, but say I want it to be even more sophisticated later on such as [0-9abc] I'd like to use a more sophisticated tool.    preferable would be some windows capable scripting tech, such as vbscript/powershell but I'm open to other alternatives.  I guess I kind of thought this might be something that is done all the time by random number generators and such and would be a programming staple, but I lack the understanding to phrase it correctly I think.

I am writing a Java utility which helps me to generate loads of data for performance testing.  It would be really cool to be able to specify a regex for Strings so that my generator spits out things which match this.  Is there something out there already baked which I can use to do this?  Or is there a library which gets me most of the way there?  Thanks


How can we prove that group of order 80 is solvable without using Burnside's theorem () ?

Let G be a group of order 80  a) Show that G has a normal Sylow 5-subgroup or a normal Sylow 2-subgroup b) Show that G is solvable  Approach: $80=5*2^4$  $Syl_5(G) \equiv  1mod \text{ } 5$ and $Syl_5(G) | 16$, so the only possibilities are 1 and 16    $Syl_2(G) \equiv 1 mod \text{ }2$ and $Syl_2(G)|5$, so the only possibilities are 1 and 5  How do we discard one of the possibilities to imply there exists a normal sylow p subgroup in G?


How to solve $\lim_{x \rightarrow 2} \frac{1}{x-2}$?  I tried to solve it by dividing the both sides on $x$ but it doesn't work and I tried to get the dam $-2$ out but also didnt work so how to solve it I know that there is no limit for this but how to Remove the  indeterminacy

$$\lim_{x\to4} \frac{1}{x-4}$$ Would it be correct to say that the limit is undefined because the denominator would be $0$?


I have found the claim that given that $n\geq2$, we have that the sequence of $n-1$ numbers $n!+2,n!+3,...,n!$ is made up of only composite numbers. Is there a proof of this? I found this pretty fascinating but I am not sure how to go around it. It seems to hold for the first few examples  $n=2$:  $S=\{4\}$  $n=3$: $S=\{8,9\}$  $n=4$: $S=\{26,27,28\}$

If $n = 51! +1$, Then find no of primes among $n+1,n+2,\ldots, n+50$  Really speaking, I don't have any clue ...


With a new bare Machine how do I install Windows 10 from a USB stick and install it with secure boot and EFI turned on?

I bought a laptop with windows 8.1 pre-installed, and got an OEM flash drive with windows 8.1 installation. Now I've successfully upgraded to Windows 10. How could I install windows 10 on my laptop even after, other words - how to become Windows 10 owner (not 8.1) ?


For programming in C, it is quite common to switch between creating debug- and release-versions by passing a command line argument to the compiler.  I would like to have something similar for pdflatex. Optimally, there would be conditional parts within the source LaTeX file depending on some variable, and then the switching between the versions can be done by somehow setting this variable at the command-line invocation of pdflatex.  Is it possible to achieve something like this? What's the easiest / cleanest way?

I compile most of my documents via Makefiles which take care of the bibliography, indexes, etc. Often I'd like to compile different versions from the same TeX file changing only small things (e.g. a beamer presentation plus a version with the handout option).  Is there any standard mechanism for passing parameters to the TeX file so that I can just type make handout to get the handout version in the above example?