When you login to a StackExchange site (in this case, SO) and make a mistake with your login details, an error message appears.   However, it looks like the proper styling has not been applied to the font, and it instead uses the browser default font (in this case, Times New Roman):

Some popups like the dupehammer explanation popup or the validation error ones on the  do not have the right fonts - the browser has to fall back to a default and quite ugly font instead.  Interestingly, this does not happen for validation popups on posting a question - those remain fine.  Tested with both Firefox and Microsoft Edge.


What would be the right Stack Exchange community to ask questions related to Windows operating system, and Windows software? Particularly in my case, I wanted to ask questions related to oracle's virtual box.  Example of the question is as:     Why can't a con folder be named in windows?

Where do I ask questions about the Windows operating systems? Be it Win 8, 7 or XP.  The questions that I want to ask may not be strictly related to a problem I am facing, but related to files and features of the OS itself or asking just because of my curiosity. For example, I want to know the purpose of the file "Bootvid.dll" in a Win 8 OS.  Or, for example, I want to what "hal.dll" is.  Are these questions appropriate for Stack Overflow or Super User? If not, please recommend some SE sites in which I can post such questions, because I am interested in getting into the guts of the Windows OS. Open to all suggestions.


I was hoping there was some astronomy or astrology symbol for the Milky Way, but no luck so far. Anyone have a clever way I could make such a symbol, perhaps one that resembles a spiral galaxy?  Some people have taken this question to be about printing a simple spiral in LaTeX. But most spiral galaxies do not resemble spirals. The Milky Way, for example, has quite a few arms.  One might argue that it resembles an asterisk whose pixels undergo a rotation about the asterisk center, where the angle of rotation is proportional to the pixel radius. But I'm not sure how one would accomplish that kind of rotation in LaTeX — it's just the best thought I've had so far.  I've also looked through the comprehensive list of LaTeX symbols, and I do not see one which resembles a spiral galaxy.

How can I get a spiral like    There seems to be a spiral-like unicode codepoint:   I tried  \documentclass[varwidth=true, border=2pt]{standalone} \usepackage[ngerman]{babel}  \usepackage[utf8]{inputenc} % Color \usepackage{color} \definecolor{lightgray}{gray}{0.95}  \DeclareUnicodeCharacter{43612}{\spiral}  %document \begin{document}{\textcolor{lightgray}{a}}\spiral{\textcolor{lightgray}{b}} \end{document}   but I got  ! Undefined control sequence. l.13 ...document}{\textcolor{lightgray}{a}}\spiral                                               {\textcolor{lightgray}{b}}   edit: I know . None of the answers gave me a spiral symbol.


I am looking for a possibility to make a one-to-many table-join in QGIS. I have a shapefile with postal codes and would like to join them with survey results (more than one). In other words, there is a specific postal code (shapefile) on one side and there are many survey participants on the other side. postal **code1** ----- survey participant **1** postal **code1** ----- survey participant **2** postal **code1** ----- survey participant **3** postal **code2** ----- survey participant **1** postal **code2** ----- survey participant **2** and so on ...  If I do a normal join (right click on Layer --> Properties --> Join) , I just get the first entry of the table with the postal codes. I found out a way to do it ArcGIS with the tool "Make Query Table", but I´m looking for a possibility to do it in QGIS.

I'm trying to create a join/relate in QGIS where I have a shapefile of buildings and to that I would like to join a non-spatial table (.csv-file) containing people who work in each building. So I have multiple records in my table that I would like to be able to join to my single features in my shapefile. I can only run a join in QGIS where the first record is joined to the shapefile feature (ie building) but subsequent records get removed. Could someone let me know how to complete this join/relate in QGIS?


How do I validate if a variable is a valid class or type? I want to validate it before passing it into isinstance() Is there a way other than try catch? I'm using python2

I was wondering how to check whether a variable is a class (not an instance!) or not.  I've tried to use the function isinstance(object, class_or_type_or_tuple) to do this, but I don't know what type would a class will have.  For example, in the following code  class Foo: pass   isinstance(Foo, **???**) # i want to make this return True.   I tried to substitute  "class" with ???, but I realized that class is a keyword in python.


Config: MacBook Pro (13-inch,2017, Two Thunderbolt 3 ports) Processor 2.3GHz Dual-Core Intel Core i5 Memory 8GB 2133 Mhz LPDDR3

I know that the new rMBPs have no "user-serviceable" RAM. But is it possible to solder a new RAM chip onto a 2015 rMBP? Given that the technician doing this is able to install the new chip without damaging anything, would it work?


Was doing some development using a Java library and started getting a buffer overflow error that I thought was being caused by an Nvidia driver update so I started fooling around with those a bit and now I've got an odd error that shows up.  Basically if I put my computer into suspended mode (running Ubuntu 16.04 LTS), I have the following odd pixel stuff showing up:    As you can see, this could prove rather annoying.  The problem doesn't appear if I have the windows in full screen mode, only in windowed mode.  I've tried running a purge on the nvidia stuff and reinstalling the nvidia-375 package as well as going into the addition drivers option and trying different items listed there.  However, nothing appears to be working.  There's also a problem where opening anything new freezes the monitor where it opens.  I'm at a loss of what else to do about this so any suggestions would be greatly appreciated.

After some gorgeous updates I witness this:


I have 4 metrics, three of them measured on the scale 0 to 1, and one measured on the scale 0 to 6. When I stored my data, I converted the fourth one by dividing it by 10, so that I can  get values between 0 and 0.6.  Now I am using Principal Component  Analysis (PCA) to analyze my data with OriginLab software.  Should I use correlation matrix or covariance matrix with PCA?   I used correlation Matrix, but I am not sure if what I am doing is correct. The fourth metric makes me confused ..

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


I need help with finding the area of the largest rectangle in an ellipse from $y^2 + (x^2)/4 = 1$.  I got it to y = $\sqrt{ 1 - (x^2)/4}$ but then I don't really know what to do, please help.

The actual problem reads:      Find the area of the largest rectangle that can be inscribed in the ellipse    $$\frac{x^2}{a^2} + \frac{y^2}{b^2} = 1.$$   I got as far as coming up with the equation for the area to be $A=4xy$ but then when trying to find the derivative I don't think I'm doing it right.


I try intval(6.02 * 100),the result is 602。but why the result of intval(5.02 * 100) is 501?

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


I have what I believe are an interesting QQ plot of the residuals of some sports data fitted using Poisson regression. My model is actually a live model to predict the number of remaining events in the game (basketball, soccer etc) from a set of explanatory variables. It looks also very much like the data is Poisson distributed, with equal mean and variance.  Residuals are as we know $r_i=Y_i-\mu_i$, where $Y_i$ are the observations, and $\mu_i$ the fitted mean of $Y_i$ ($Y_n$ may have different explanatory variables than, for example, $Y_{n-1}$).  Here is the first residual QQ plot of fitting my model to soccer match data (whole 90 minutes):   Interpreting QQ plots if I want to check for normality of some data is not too hard. It is easy to see that the residuals have too thick tails. But assuming the data is without a doubt Poisson distributed, something must therefore be wrong with $\mu_i$. Looking at the lower tail, I cannot reach any other conclusion than that the values of $\mu_i$ generally are too big - such that $r_i$ becomes too small. But also, looking at the upper tail, I cannot reach any other conclusion than that $\mu_i$ is too small - such that $r_i$ becomes too big. Is this a contradiction, or merely just a reflection that $\mu_i$ is not fitted good enough for extreme cases?

uses generalised linear models (both binomial and negative binomial error distributions) to analyse data. But then in the statistical analysis section of the methods, there is this statement:     ...and second by modelling the presence data using Logistic Regression   Models, and the foraging time data using a Generalized Linear Model   (GLM). A negative binomial distribution with a log link function was   used to model the foraging time data (Welsh et al. 1996) and model   adequacy was verified by examination of resi- duals (McCullagh &   Nelder 1989). Shapiro–Wilk or Kolmogorov–Smirnov tests were used to   test for normality depending on sample size; data were log-transformed   before analyses to adhere to normality.   If they assume binomial and negative binomial error distributions, then surely they shouldn't be checking for normality of residuals?


Let $T:\Bbb R^n\longrightarrow\Bbb R^n$ be a linear transformation, where $n\geq 2$. For $k\leq n$,  let $E=\{v_1,v_2,\dots,v_k\}$ contained in, equal to $R^n$ and $F=\{Tv_1,Tv_2,\dots,Tv_k\}$. Then  a). If $E$ is linearly independent, then $F$ is linearly independent.  b). If $F$ is linearly independent, then $E$ is linearly independent.  c). If $E$ is linearly independent, then $F$ is linearly dependent.  d). If $F$ is linearly independent, then $E$ is linearly dependent.  a) part can be correct if $T$ is one-one. And since our transformation is finite dimensional $n$-to-$n$. Therefore, it is one-one, which implies that $F$ is linearly independent if $E$ is linearly independent.  I thought of part c) as follows: supposingly I take $E=\{(1,0,0),(0,1,0)\}$ contained in $\Bbb R^3$ and $F=\{T(1,0,0),T(0,1,0)\}$. Now $E$ is linearly independent, if I define $T(x_1,x_2,x_3)=((x_1+x_2),0,x_3)$ then $T(1,0,0)=(1,0,0)$ and $T(0,1,0)=(1,0,0)$ , this shows that $T(v_1)$ and $T(v_2)$ are linearly dependent.   This implies that both part a) and c) are correct? can someone please give the explaination for part b) and d)?

Let $T:\mathbb{R}^n\to \mathbb{R}^n$ be a linear transformation, where $n\ge2$. For $k\le n$, let $E=\{v_1,v_2,\dots,v_k\}\subset \mathbb{R}^n$ and let $F=\{Tv_1,Tv_2,\dots,Tv_k\}$, then which of the following is true.  $A.$ If $E$ is linearly independent, then $F$ is linearly independent  $B.$ If $F$ is linearly independent, then $E$ is linearly independent.   $C.$ If $E$ is linearly independent, then $F$ is linearly dependent  $D.$ If $F$ is linearly independent, then $E$ is linearly dependent.   Please help me out with this problem. And if some theorem is responsible for it's solution please mention that.


Let $X_1, X_2, ... , X_n$ be a sequence of Random Variables:  Each has Mean Zero : $\mathbb{E}[X_i] = 0$ for all $1 \leq i \leq n$. All are independent. All have finite variance uniformly bounded: $\text{Var}(X_i) \leq \rho_{\max}$. They are all discrete. Each of their support set is a subset of $[-\rho_{\max}, + \rho_{\max}]$.  The last two points might be irrelevant. In any case, I want to analyze \begin{align} \mathbb{P}\left (\sum_{i=1}^n X_i \in [-\epsilon, 0] \right )   \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, (1) \end{align} where $0 < \epsilon < \rho_{\max}$. Here's some intuition about what the answer should be: The larger the $n$, the more spread out the variance of the sum. Therefore, $(1)$ should decay with $n$. Specifically, I am looking for $\frac{1}{\sqrt{n}}$ decay. Also, I want the answer to uniformly hold for all sequences of random variables fitting the description. In other words, if the answer is $\frac{c}{\sqrt{n}}$, I should be able to say that for sufficiently large $n$, \begin{align} \mathbb{P}\left (\sum_{i=1}^n X_i \in [-\epsilon, 0] \right )  = \frac{c}{\sqrt{n}} \end{align} holds for all $X_1, X_2, ..., X_n$ sequences of zero mean, independent and finite variance RVs. Are there any existing theorems to analyze such a sum? Edit: the random variables are not identically distributed.

I want to lower bound \begin{align}  \mathbb{P} \left( -\epsilon \leq  \sum_{i=1}^n X_i \leq 0 \right) &= \mathbb{P} \left( - \frac{\epsilon}{\sqrt{\sum_{i=1}^n \sigma_i^2}} \leq  \frac{\sum_{i=1}^n X_i}{\sum_{i=1}^n \sigma_i^2} \leq 0 \right) \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,(1) \end{align} where $\{X_i\}$ are mean zero, independent random variables with $\mathbb{E}[X_i^2] = \sigma_i^2 \leq H^2$ and $\mathbb{E}[|X_i|^3] = \lambda_i^3 \leq H^3$. From Equation $3$ in , I have that \begin{align} \sup_{x \in \mathbb{R}} |F_n(x) - \Phi(x)| \leq C_0 \left( \sum_{i=1}^n \sigma_i^2 \right)^{-3/2} \sum_{i=1}^n \lambda_i^3 \end{align} Loosening the bound above gives \begin{align} \sup_{x \in \mathbb{R}} |F_n(x) - \Phi(x)| \leq \frac{C_0}{\sqrt{n}} \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,(2) \end{align} Now I can write $(1)$ as \begin{align} F_n(0) - F_n \left(-  \frac{\epsilon}{\sqrt{\sum_{i=1}^n \sigma_i^2}} \right) \end{align} which by $(2)$ can be lower bounded as \begin{align} \Phi(0) - \frac{2C_0}{\sqrt{n}} - \Phi\left ( -  \frac{\epsilon}{\sqrt{\sum_{i=1}^n \sigma_i^2}} \right ) &\geq \frac{1}{2} - \frac{2C_0}{\sqrt{n}} - \Phi\left ( -  \frac{\epsilon}{H \sqrt{n}} \right ) \end{align} Can the last expression be improved to something like $K/\sqrt{n}$ for some constant $K$ for large $n$? I feel like I need some approximations to normal CDF $\Phi(x)$ for small $x$.


I am trying to install a theme in Ubuntu 16.10 and I am getting error on sudo apt-get update it shows:  awahab@awahab:~$ sudo apt-get update [sudo] password for awahab:  E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

I get this error when trying to use apt-get:  E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?     How can I fix this?


How do I calculate the radius of the power sum of: $$\sum_{n=1}^\infty 2^n x^{n^2}$$  having a little trouble with the second power(of $x$)  thank you

What is the radius of convergence of this power series here?   $$\sum_{n=1}^{\infty}2^n x^{n^2}$$


I am getting this error at runtime.     java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference           at com.example.smartagriculture.User.PlanActivity$2$1.onResponse(PlanActivity.java:113)           at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:70)           at android.os.Handler.handleCallback(Handler.java:891)   this is the code   private void DialogForm() {     dialog = new AlertDialog.Builder(PlanActivity.this);     inflater = getLayoutInflater();     dialogView = inflater.inflate(R.layout.insert_serial,null);     dialog.setView(dialogView);     dialog.setCancelable(true);     dialog.setTitle("Insert Serial Number");      final EditText etSN = dialogView.findViewById(R.id.etSN);      dialog.setPositiveButton("Submit", new DialogInterface.OnClickListener() {         @Override         public void onClick(DialogInterface dialog, int which) {             dialog.dismiss();             String SN = etSN.getText().toString();              Retrofit retrofit = new Retrofit.Builder()                     .baseUrl(URL)                     .addConverterFactory(GsonConverterFactory.create())                     .build();             ApiService api = retrofit.create(ApiService.class);             Call<Value> call = api.InsertSerial(SN,sharedPrefManager.getUsername());             call.enqueue(new Callback<Value>() {                 @Override                 public void onResponse(Call<Value> call, Response<Value> response) {                     String value = response.body().getValue();                     String message = response.body().getMessage();                     if (value.equals("1")) {                         Toast.makeText(PlanActivity.this, message, Toast.LENGTH_SHORT).show();                     } else {                         Toast.makeText(PlanActivity.this, message, Toast.LENGTH_SHORT).show();                     }                 }                  @Override                 public void onFailure(Call<Value> call, Throwable t) {                     Toast.makeText(PlanActivity.this, "Jaringan Error!", Toast.LENGTH_SHORT).show();                 }             });          }     });       dialog.show(); }   how to solve it?

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?


The Prophecy of the Chosen One says that it will lead to "ultimate balance in the Force be restored". What does this actually mean? Is the goal to wipe out the Sith? If so, how is that balance? Wouldn't true balance be one Jedi and one Sith (or, I suppose, any n:n ratio thereof)?  Regardless of the above, does the Jedi Order want balance in the force? Or do they want dominance over it?

During the Prequel trilogy, the Jedi wanted to bring balance to the Force, in accordance with a prophecy.  There seemed to be a general agreement that this was a 'good thing', but a disagreement with the assertion that Anakin was the one to do it.  Why did the Jedi Council believe it was good to bring balance to the Force?  The Republic was mighty (in theory), the Council was established as THE source of Force users, the Sith were thought extinct, and the number of Dark Jedi was apparently very, very low.  It seemed, for all intents and purposes, as if the Force was strongly imbalanced in favor of the Light side...so why did the Council want to 'balance' it?


I'm using NSNumberFormatter to get the object value of a string currency.   No matter what combination of settings I try, I always get weird precision errors.   NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init]; [numberFormatter setNumberStyle: NSNumberFormatterCurrencyStyle]; [numberFormatter setGeneratesDecimalNumbers:YES]; [numberFormatter setMaximumFractionDigits:2]; [numberFormatter setMinimumFractionDigits:2]; [numberFormatter setRoundingIncrement:@(0.01)]; NSDecimalNumber *value; [numberFormatter getObjectValue:&value forString:@"$9.95" errorDescription:nil]; NSLog(@"value is %@ class %@", value,[value class]);   Produces:  2014-08-03 19:25:17.640 Test[50776:60b] value is 9.949999999999999 class NSDecimalNumber   It appears that minFractionDigits, maxFractionDigits and roundingIncrement are only relevent in the context of formatting a value to a string, not converting a string to a number.   What's even more baffling to me is that NSNumberFormatter is using NSDecimalNumber which is supposed to avoid these types of precision issues.  Am I missing something completely obvious here?

I have some string s that is locale specific (eg, 0.01 or 0,01).  I want to convert this string to a NSDecimalNumber.  From the , this is accomplished by using an NSNumberFormatter a la:  NSString *s = @"0.07";  NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init]; [formatter setFormatterBehavior:NSNumberFormatterBehavior10_4]; [formatter setGeneratesDecimalNumbers:YES]; NSDecimalNumber *decimalNumber = [formatter numberFromString:s];  NSLog([decimalNumber stringValue]); // prints 0.07000000000000001   I'm using 10.4 mode (in addition to being recommended per the documentation, it is also the only mode available on the iPhone) but indicating to the formatter that I want to generate decimal numbers.  Note that I've simplified my example (I'm actually dealing with currency strings).  However, I'm obviously doing something wrong for it to return a value that illustrates the imprecision of floating point numbers.  What is the correct method to convert a locale specific number string to an NSDecimalNumber?  Edit: Note that my example is for simplicity.  The question I'm asking also should relate to when you need to take a locale specific currency string and convert it to an NSDecimalNumber.  Additionally, this can be expanded to a locale specific percentage string and convert it to a NSDecimalNumber.


I having a the Word Bahnhofstraße But in html the word look like 'BahnhofstraÃe'  So How to Support the word in HTML.

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


I have the same question as this . I use windows 10 and  USB 3.0. I have seen a lot of angry reviews about well known GPS device brands so I was wondering if anyone has been using GPS tool in QGIS and is willing to share info about type of device being used.

Is there a list or any other recommendation of certain GPS hardware (esp. GPS USB sticks) working with QGIS? I have been off this topic for far over a decade, and i remember that in former days not all GPS devices worked well with QGIS.  Additional information: Preferred OS at this time is Windows 10.


According to Hubble's law, the universe expands exponentially ever since the big bang.    If the space-time expands, what effects does it have upon us, (1.Earth, 2.solar system and 3. Milky Way).  What would be the fate of Gravitational force and other forces of nature if the expansion continues.  What happens to the dark energy and dark matter then?  Won't all the dark energy be used up in the acceleration process?

I have looked at other questions on this site (e.g. "why does space expansion affect matter") but can't find the answer I am looking for.  So here is my question: One often hears talk of space expanding when we talk about the speed of galaxies relative to ours. Why, if space is expanding, does matter not also expand? If a circle is drawn on balloon (2d plane), and the balloon expands, then the circle also expands. If matter is an object with 3 spatial dimensions, then when those 3 dimensions expand, so should the object.  If that was the case, we wouldn't see the universe as expanding at all, because we would be expanding (spatially) with it.  I have a few potential answers for this, which raise their own problems:   Fundamental particles are 'point sized' objects. They cannot expand because they do not have spatial dimension to begin with. The problem with this is that while the particles would not expand, the space between them would, leading to a point where the 3 non-gravity forces would no longer hold matter together due to distance Fundamental particles are curled up in additional dimensions a la string theory. These dimensions are not expanding. Same problems as 1, with the added problem of being a bit unsatisfying. The answer seems to be (from Marek in the previous question) that the gravitational force is so much weaker than the other forces that large (macro) objects move apart, but small (micro) objects stay together. However, this simple explanation seems to imply that expansion of space is a 'force' that can be overcome by a greater one. That doesn't sound right to me.


I cannot see AV-Sync, No Sync and Follow Playhead

I just installed Blender 2.8 and for the life of me I can not find AV Sync anywhere and video editing has become impossible. Is there some new setting I am unaware of?


I have been trying to get Ubuntu to work on my laptop for the last few days. I have been extremely unsuccessful in doing so.  All I want to do at this point is to get Windows back.  I have an exact copy of all the files that were on my Windows partition before I tried to remove everything and install Ubuntu using the installer (which failed).  I have tried using my other Windows computer to create a recovery USB and using it to reset my laptop, but it gives me an error saying a required partition is missing.  I can no longer even use an Ubuntu USB as it will not boot from it.  One thing that I think is key is that at one point when I used the Ubuntu USB to check disc for errors, it said 2 files had errors. I used GParted to try to get rid of what Ubuntu partitions were installed and came across three left. One was a long name that started with "/dev/" (about the size of my ssd, 128GB), and the other two were "/dev/sda/" and "/dev/sdb/", which were about 45 GB each. I removed all partitions from the large one and the two small ones had errors saying that GParted did not recognize the name or something. Somehow, through me messing things up, the big one disappeared.  When I boot my computer in Legacy mode, it shows a quick menu saying press ctrl+i to edit and it shows 2 things that I think are what the "/dev/sda" and "/dev/sdb" are. Pressing ctrl+i takes you to an intel RAID system editor. You can create a RAID system or delete one, but only the option to create one is available for me.  How can I recover Windows?

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


Overlapping text on right side box:  To repro, follow  and scroll down about half way.

Over at , there is overlapping text in the Database Schema under Close-As-Off-Topic-Reason-Types:  that makes it really hard to read.  This is also happening underneath "Pending Flags", and seemingly with every long line in the schema.  This would be fine if you could increase the width of the list as you can with the height, which would in theory separate the lines, but you can't.  Can we fix this, please?  UPDATE: I have found that  post is almost exactly the same as mine, but steady on with duplicate votes.   comment says that it will be fixed, but that question was asked more than five years ago, and in that time the problem has not been resolved.  UPDATE 2: It seems that  would help.  I changed a little CSS/HTML, and came up with this:  Although mine is a little cruder than it could be.  This is just an example.


I am preparing Html table on Dom ready and trying to click the button in particular row. Below is my code.   $.ajax({     url:            Url + token,     method:         "POST",     async:          true,     data:           JSON.stringify(data),     contentType:    "application/json; charset=utf-8",     success: function (Result) {         var editButton = '<input type="button" class="EditRole" value="Edit">';         $.each(Roles, function( key, Role ) {             var Action = PrepareTd(editButton);             var tr = '
' + Action + "
";             tbody.append(tr);                    });     },     error: function (jqXHR) {         ErrorCallback(jqXHR);     } });  $(document).ready(function() {     $('.EditRole').on("click", function() {         debugger;         console.log($(this).parent());     }); });   This never hit debugger. Am I missing something?

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.


I am trying to download QGIS 1.8 on my windows operating system. When I tried to launch QGIS 1.8 a dialog box appears, preventing me from launching the software. This is the error that is generated:    I don’t know what this error message mean or how to fix it.

I note that the installation of qgis completed successfully. However, the log procedure returns this message:     "...... Estrazione: wvhpgn.gsb Estrazione: wyhpgn.gsb Cartella di   destinazione: C:\Programmi\Quantum GIS Lisboa Creato il programma di   disinstallazione: C:\Programmi\Quantum GIS Lisboa\Uninstall-QGIS.exe   Crea cartella: C:\Documents and Settings\All Users\Menu   Avvio\Programmi\Quantum GIS Lisboa   Impossibile accedere al file. Il file Š utilizzato da un altro processo. Running postinstall grass64.bat... Running postinstall   msvcrt.bat... ......"      System parameters: Quantum GIS Lisboa 1.8.0  Microsoft Windows   Professional, Versione 2002, Service Pack 3   The message:      Impossibile accedere al file. Il file Š utilizzato da un altro   processo   translates as      Unable to access the file. The file used by another process   I then get the following error:     "Impossibile trovare il punto di ingresso locale_charset della   procedura nella libreria di collegamento dinamico iconv.dll"   which translates as:     Can not find the entry point of locale_charset procedure in the   dynamic link library iconv.dll


If a cyclic group has an element of infinite order , how many elements of finite order does it have ?

If a cyclic group has an element of infinite order, how many elements of finite order does it have?  I know that the order of the entire group must be infinite, for an element of the group must have an order less than the group order. My first thought was that there are no elements with finite order in this group, however now I'm believing that there are infinitely many elements of finite order, since the group should have infinitely many elements. Can someone explain the solution?


I have a numpy structured array that looks like this:  >>> arr array([(b'00:59:59.785634', 60.87), (b'01:00:00.187634', 60.88),     (b'01:00:00.188634', 60.88), ...,     (b'23:59:58.668559', 60.93), (b'23:59:58.668559', 60.92),     (b'23:59:58.668559', 60.93)],     dtype=[('Date', 'S15'), ('Value', '<f4')])   When I convert it to a pandas dataframe, The values of Value column change their form.  >>> df = pd.DataFrame( arr )                     Date      Value   0       b'00:59:59.785634'  60.869999      1       b'01:00:00.187634'  60.880001     2       b'01:00:00.188634'  60.880001      3       b'01:00:00.189634'  60.860001     4       b'01:00:00.190634'  60.860001    >>> df.Value Name: Value, Length: 176195, dtype: float32       It's still OK, because it prints out the same value as the array.  >>> str( df['Value'][0] ) '60.87'   But a problem occurs when I have done modifying the dataframe and try to convert the dataframe to an array again.  >>> new_arr = df.values array([[b'00:59:59.785634', 60.869998931884766],     [b'01:00:00.187634', 60.880001068115234],     [b'01:00:00.188634', 60.880001068115234],     ...,     [b'23:59:58.668559', 60.93000030517578],     [b'23:59:58.668559', 60.91999816894531],     [b'23:59:58.668559', 60.93000030517578]], dtype=object)  >>> str( new_arr[0][1] ) '60.869998931884766'        # != '60.87'   I think the original dtype(float32) is lost during the last conversion. How can I still get '60.87' even after converting the dataframe to an array with .values attribute?  My question is why it prints out different results('60.87' and '60.869998931884766') and how to keep the type. I think if the values can be the same when converting an array to a dataframe, there should be some ways to preserve the values when converting them the other way around.

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


When I use SSH to connect to a Linux server, I see a message informing me about the origin of my last login. For instance:  Last login: Mon Jul  7 14:37:09 2014 from host.example.net   I would like to know if it's possible to discover the IP/hostname from my current session (that is, the machine that I'm logging from right now).

As part of our deployment script for one of our apps I'm trying to log the date, time, and other relevant information for the deployment.  The way we have it set up, developers use a generic "app" account to perform deployments, so logging the user wouldn't be particularly helpful.  Would it be possible to get the hostname of the machine that connected to the SSH session?


I want my citations to appear in both the footnote and the endnote.For that I use the biblatex package.I am getting the citation at footnote properly but I am getting a weird bullet point while using /printbibliography.How can I get rid of that? Attached is my latex code. \documentclass[11pt]{beamer} \usetheme{Antibes} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{csquotes} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage[style=ieee]{biblatex} \renewcommand{\footnotesize}{\tiny} \beamertemplatenavigationsymbolsempty \author{Sambeet Panigrahi \& Goutham Naga Srivatsav Varanasi} \title{Quadratic Converters} \addbibresource{References.bib} %\setbeamercovered{transparent}  %\setbeamertemplate{navigation symbols}{}  %\logo{}  %\institute{}  \date{19th August,2020}  %\subject{}  \begin{document}  \begin{frame} \titlepage \end{frame}  \begin{frame}{Roadmap} \tableofcontents \end{frame}  \begin{frame}{Flux Balance Principle} Flux Balance Principle \footfullcite{nag2019theory} \end{frame}  \begin{frame} \textbf{\bibname} \printbibliography[title={References}] \end{frame}  \end{document}

I'm preparing a Beamer presentation that includes (on the final slide) a short bibliography in the Harvard style (agsm).  This works fine, but I find the article icons accompanying each reference annoying, especially as they are appearing behind the author name (rather than beside it).  Is there a simple way to remove the icons?  \begin{frame}{References} \bibliographystyle{agsm} \bibliography{bibliography}{} \end{frame}


Occasionally, there are questions for which one of the close voters is the Community ♦ user. When does this happen, and why? What is the difference between this and a deleted user?  For instance, one of the close-voters  is .     was closed by "Mik" but his profile wasn't linked, which implies the user was deleted.    From  it is clear that Mik's profile is now deleted and hence his name is not linked to his profile.


I have class which has void methods.   My question is, how does these methods executing. As my stringBuilderAppend() is a void method but when i call this method its returning the values which is been appended inside that method  and I m doing the same check with other two method (i.e, stringAppend() and addNumbers() ) which are not returning anything.    public class VoidMethodChecker {     public static void main(String... a){         StringBuilder stringBuilder = new StringBuilder("first StringBuilder ");         stringBuilderAppend(stringBuilder);          String string = "first String ";         stringAppend(string);          int number = 0;         addNumber(number);           /* stringBuilderAppend method prints "first StringBuilder second StringBuilder"         *  why does stringBuilder() returning the appended value. (my stringBuilder() is void method)          *  as other two method does not appending*/          System.out.println(stringBuilder);     // it prints "first StringBuilder second StringBuilder"          System.out.println(string);            // it prints "first String"         System.out.println(number);            // it prints "0"     }      private static void stringBuilderAppend(StringBuilder stringBuilder) {         stringBuilder.append("second StringBuilder");     }      private static void addNumber(int number){         number = 120;     }      private static void stringAppend(String string){         string += "second String";     } }   Thanks

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


I'm trying to go over the problem of the rail to rail limitations of my op amp to get a full reading range over a current sensor and I thought offsetting the negative supply just of the op amp IC around 200mV is enough to solve the rail limitation problem.. Would love to hear any suggestions as to how it's being done in a standard way.  BTW here are specs of the AD4522-2 output rail offset to those who still believe everything in their lives needs to cost *1000 than actually is to function normally.

I would like to discuss a design idea around the supply of OpAmps that drive a ADC cannels of a microcontroller or DSP. Let the ADC be supplied by 3.3V and 0V ("analog" supplies separated from similar "digital" supplies), with an internal or external reference of 3.0V, that defines the full-scale input.     – Schematic created using  If the OpAmp is supplied by the same 3.3V - 0V, even if it is a rail-to-rail model, there is always a "footroom" limit of at least some tents of milliVolts. Therefore, my idea is to use a "Single Supply OpAmp" where its negative supply is connected to a slightly negative voltage, in order to use its complete voltage swing compensating for its rail-to-output difference both on the positive and the negative side of the amplifier. What do you think about?


For some reason I have an unsorted table of data (just regarding to the first two columns) as following:  1 2 0.9 2 2 0.4 3 3 0.3 1 3 0.4 1 1 0.5 2 3 0.9 2 1 0.9 3 1 0.8 3 2 0.9   To plot this properly in python (with imshow at matplotlib) I need to sort the content as following:  1 1 ? 1 2 ? 1 3 ? 2 1 ? 2 2 ? 2 3 ? 3 1 ? 3 2 ? 3 3 ?   question mark is the related values for the third column.  In another hand, if somebody knows about how to use imshow to plot unsorted data tables that would be helpful too. Think about the following data table as a 3x3 table coordinated by the first two columns and the content of each components is indicated by the value of in the 3ed column by a color.

I have a dictionary of values read from two fields in a database: a string field and a numeric field. The string field is unique, so that is the key of the dictionary.  I can sort on the keys, but how can I sort based on the values?  Note: I have read Stack Overflow question here  and probably could change my code to have a list of dictionaries, but since I do not really need a list of dictionaries I wanted to know if there is a simpler solution to sort either in ascending or descending order.


I've puzzled by the appeareance and manipulation of a Square root of a Dirac Delta function.  The article is     and the relevant equation is not-numbered, but it is between eq (15) and (16) of the article.  So, what's the square root of a Dirac delta function and how do you even take derivatives of it?

What is the square root of the Dirac Delta Function? Is it defined for functional integrals? Can it be used to describe quantum wave functions?  \begin{align} \int_{-\infty}^{\infty} f(x)\sqrt{\delta(x-a)}dx \end{align}


I think the title says it all. Can I run two 4k (3840x2160) displays, both at 60hz on a Macbook Pro 13' 2015? I understand they might need to be SST and each connected to a Thunderbolt 2 port. But I cannot get a confirmation whether that setup would work.    says:     Simultaneously supports full native resolution on the built-in display and up to 3840 by 2160 pixels on up to two external displays, both at millions of colors.   …   Support for up to 5120-by-2880 resolution at 60Hz on a single external display (model with AMD Radeon R9 M370X only)   Unfortunately, it does not state at what frequency the two displays can be run.    says:     With OS X Yosemite v10.10.3 and later, most single-stream 4K (3840x2160) > displays are supported at 60Hz operation on the following Mac computers: … MacBook Pro (Retina, 13-inch, Early 2015) and later. MacBook Pro (Retina, 15-inch, Mid 2014) and later   Unfortunately it does not state whether two displays can be run at 3840 by 2160 at 60hz

How do I find out the number, type, resolution & refresh rate of additional monitors I can attach to my MacBook or MacBook Pro?  This is an attempt at a canonical QA, as per the Meta QA -   to try prevent the myriad "same but different" questions we get on every possible combination of computers, cable & monitors There are perfectly good resources out there that Ask Different should not have to duplicate the efforts of.


An inertial reference frame is one in which a particle has constant velocity if and only if has a zero net force acting on it.  How can one determine if a given reference frame is inertial? For example, consider an elevator falling on earth, uniformly accelerating towards the ground. There is a man inside and can see only the interior of the elevator. If he throws a ball horizontaly w.r.t to the floor of the elevator, he will observe the ball moving in a straight line, as the ball has the same vertical acceleration w.r.t to the Earth as the elevator.   If we now place this elevator in the far reaches of the solar system sufficiently far from any planets and we repeat the experiment, the man again observes the ball moving in a straight line.  The problem is, in the first situation, the frame of reference of the man is accelerating with respect to the earth, and there is a real force acting on the ball. In the second situation there is no force acting on ball, but the behavior is the same.  The man has no way of knowing if there is a real force acting on the ball, so he can't determine whether his frame of reference is inertial, right?

I understand that you can (in principle) measure whether "free particles" (no forces) experience accelerations in order to tell whether a frame is inertial. But fundamentally, what determines which frames are inertial (i.e. what principle selects in which frames free particles will not appear to accelerate)? I've been told that the cosmic microwaves determine the ultimate rest frame of the universe, but that doesn't make sense to me, since one can still ask why that frame is an inertial frame.  Also, I understand that there are no real inertial frames in general relativity, but it seems like there certainly exists approximate inertial frames and we can ask why those frames are approximately inertial and not others. For example, in the frame of a person riding a merry go round, free particles appear to greatly accelerate; while in the frame of someone standing next to the merry go round there are no such great accelerations. Why does the guy (or gal) on the merry go round see free particles accelerating while the other guy doesn't.   And if you're gonna tell me that it's "the rest of the stuff in the universe" that determines whether the person on the merry go round sees free particles accelerate, I'll ask how you know that all that stuff is not spinning.  I hope this question sort of makes sense, it's been bothering me for a while and my study of relativity (most of special relativity and just the outline of general relativity) hasn't really clarified it for me much.


I'm new to the TeX community. I want to know where I can get the complete source code of a typical book for learning.

Is there a list of open source LaTeX books? I've only found  (the link points to a web archive), but I want to know if there is a list with more diversity as this has only mathematical books. I want to find open source books about physics, chemistry, electronics...  My aim is to use these as a source of inspiration.  For example if I wanted to do a digital circuit I would like to take a look at a book written with LaTeX about electronics just to see how other people do it. Here for example is a physics book with the source available  .  In this book I've seen that putting images in the chapter entry looks nice.


I was working on a complex analysis problem in "Berkeley Problems in Mathematics", which was asking me to prove that some product is equal to $n$. I had reduced the problem to proving a trigonometric identity, but I couldn't prove it although I spent much time on it. Then, I checked the solution, and it solves the problem with a quite different approach that doesn't even enter to trigonometric expressions at all. But, still, this nice identity that I hadn't encountered before must be true then! I was wondering if people can think of a direct proof for that?  Yes, here is the identity: For $n\geq 2$ integer, we have  $$2^{n-1} \sin \left(\frac{\pi}{n}\right)\sin \left(\frac{2\pi}{n}\right)\cdots \sin \left((n-1)\frac{\pi}{n}\right)=n$$  Thanks!

How to prove $$ \prod_{k=1}^{n-1} \sin\left(\frac{k\pi}{n}\right) = \frac{n}{2^{n-1}}$$ and $$ \prod_{k=1}^{n-1} \cos\left(\frac{k\pi}{n}\right) = \frac{\sin(\pi n/2)}{2^{n-1}}$$


I want to build a model based on a json, but I encountered a null object error.  image of Json and models made in android studio

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 want to prove that -  (Axiom of Choice) Let $I$ be a set and for each $\alpha\in I$ let $X_\alpha$ be a non-empty set. Suppose that $X_\alpha \cap X_\beta=\emptyset$ for all $\alpha\ne\beta$. Then there is a set $Y$ such that $|Y\cap X_\alpha|=1\ \forall \alpha\in I$. Here I take $A=\bigcup_{\alpha\in I} X_\alpha$ and $B=I$ and define $g:A\to B$ be $g(x)=\alpha$ if $x_\alpha\in X_\alpha$. This map $g$ is well defined from the fact that $X_\alpha\cap X_\beta=\emptyset$. Again $g$ is onto because $X_\alpha\ne \emptyset \ \forall \alpha\in I$. So by our given hypothesis $\exists$ an injective map $f:I\to\bigcup_{\alpha\in I}X_\alpha$. But it doesn't imply that $f(\alpha)\in X_\alpha\ \forall \alpha\in I$. Can anyone help me to complete the proof?

Theorem. Let $X$ and $Y$ be sets with $X$ nonempty. Then (P) there exists an injection $f:X\rightarrow Y$ if and only if (Q) there exists a surjection $g:Y\rightarrow X$.  For the P $\implies$ Q part, I know you can get a surjection $Y\to X$ by mapping $y$ to $x$ if $y=f(x)$ for some $x\in X$ and mapping $y$ to some arbitrary $\alpha\in X$ if $y\in Y\setminus f(X)$. But I don't know about the Q $\implies$ P part.  Could someone give an elementary proof of the theorem?


I know that most of the defaults settings for macOS components are probably hidden or undocumented, but I'm curious if there is someone who has compiled a complete list or if there is a way to discover what options are available?  In particular, I've become annoyed by how quickly the dock seems to follow my mouse to my 2nd monitor (but seems to delay coming back to primary), so I'm looking to see if there are any settings which could influence the behavior of this.

I want to know all keys (property list) which available on certain domain application, as example I could list available key for com.apple.dock by entering this command:  $ defaults read com.apple.dock   but somehow the output of this command only showed the active property list key, and yet not all available key for com.apple.dock listed there.  Anyone can help me on this?


Suppose $1<p<\infty$ and $q$ is the conjugate exponent to $p$. Suppose $f_n\to f$ a.e. and $\sup_n||f_n||_p<\infty$. Prove that if $g \in L^q$, then $\lim_{n\to\infty}\int f_ng=\int fg$.  My attempt: Using Holder's inequality, I got $|\int f_ng|\le \int|f_ng| \le ||f_n||_p ||g||_q \le M||g||_q$ for some $M>0$.  However, I stuck here and I have no idea how to proceed. Does the boundedness of integral implies $\lim_{n\to\infty}\int f_ng=\int fg$? If not, what should I do?

Stuck with this problem from Zgymund's book.   Suppose that $f_{n} \rightarrow f$ almost everywhere and that $f_{n}, f \in L^{p}$ where $1<p<\infty$. Assume that $\|f_{n}\|_{p} \leq M < \infty$. Prove that:  $\int f_{n}g \rightarrow \int fg$ as $n \rightarrow \infty$ for all $g \in L^{q}$ such that $\dfrac{1}{p} + \dfrac{1}{q} = 1$.  Right, so I estimate the difference of the integrals and using Hölder end up with:  $$\left|\int f_{n} g - \int fg\right| \leq \|g\|_{q} \|f_{n} - f\|_{p}$$  From here I'm stuck because we are not assuming convergence in the seminorm but just pointwise convergence almost everywhere. How to proceed?


We_________(had been planning /were planning) to felicitate John at   our annual cultural fest when the news of his death______(had arrived   /arrived).   Can someone tell me which one to use and why, and why not?

Non-native speakers often get confused about what the various tenses  and aspects mean in English. With input from some of the folk here I've put together a diagram that I hope will provide some clarity on the matter.  I offer it as the first answer to this question. Consider it a living document. Input is welcome, and good suggestions will be  incorporated into the diagram.    Nota bene: What this is not is a discussion of whether there are  more than two tenses in English. , to which this question is not intended to supply arguments one way or the other.  Here, the aim is to provide an overview of what constructions English-speaking people use for conveying information about actions referring to past, present, and future, and to provide it first and foremost to precisely the people who are likely to use "tense" as a catch-all term in their search, rather than to linguists who know better.  Breaking News There is now an excellent ELU blog article titled  . It is highly recommended reading.


His father won't be able to leave for Delhi until they have arrived. His father won't be able to leave for Delhi until they arrive.   Which one is correct?

1.I will study hard until I get a high score on this exam. 2.I will study hard until I've gotten a high score on this exam.  I think these sentences are grammatically correct. but if I add a specific time, I think these sentences have to be only this one:  3.I will study hard until I get a high score on this exam on July 25th.  And how about these?  a. I'd like to watch all of the holocaust movies present in the world until I've become an expert on it. b. I'd like to watch all of the holocaust movies present in the world until I become an expert on it.  Since there's no a word representing a specific time, both of them are okay, right? And what I'd like to know is the difference between "have gotten" and "get". What I know about them is we can use "future perfect" to refer to unspecific future event that might happen before some accident. but "get" refers to future event that could be either a specific scheduled event or unspecific future event. that's why if I add a specific time mentioning, I have to use "get".


(Accidentally lost previous account after crashing my computer without saving keepass information. Continuing thread here).  I'm currently attempting to follow  guide  in order to install the 4.5.7 kernel with Grsecurity on my Kali Linux desktop. I am following that list of instructions verbatim, except for the fact that I'm trying to use Grsecurity's test patch for the 4.5.7 kernel and I'm running Kali Linux instead of straight Debian. Every time I attempt to compile the kernel, however, I get this error following the line "CC certs/system_keyring.o":    CC      certs/system_keyring.o make[2]: *** No rule to make target 'debian/certs/benh@debian.org.cert.pem', needed by 'certs/x509_certificate_list'.  Stop. Makefile:951: recipe for target 'certs' failed make[1]: *** [certs] Error 2 make[1]: Leaving directory '/home/jc/Downloads/linux-4.5.7' debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed make: *** [debian/stamp/build/kernel] Error 2   I get this error, as I found out, for any kernel even if I apply no patches or modifications, so it has something to do with the tools I'm using to compile the kernel (apparently a system keychain of some sort). This is my first custom kernel, I'm not the most proficient at Linux, and I'm not sure what to make of the error. Can someone out there tell me how to fix my OS and compile my kernel? Bonus points if you can help someone really nooby understand what the problem was.  Thanks, John.  P.S., if it helps, here is the output of cat /proc/version:  Linux version 4.6.0-kali1-amd64 (devel@kali.org) (gcc version 5.4.0 20160609 (Debian 5.4.0-4) ) #1 SMP Debian 4.6.2-2kali2 (2016-06-28)   UPDATE 1: Suggested method  of adding --uc and --us to the make-kpkg command gave me the same error.

I'm currently attempting to follow  guide in order to install the 4.5.7 kernel with Grsecurity on my Kali Linux desktop.   I am following that list of instructions verbatim, except for the fact that I'm trying to use Grsecurity's test patch for the 4.5.7 kernel and I'm running Kali Linux instead of straight Debian.  Every time I attempt to compile the kernel, however, I get this error following the line "CC certs/system_keyring.o":    CC      certs/system_keyring.o make[2]: *** No rule to make target 'debian/certs/benh@debian.org.cert.pem', needed by 'certs/x509_certificate_list'.  Stop. Makefile:951: recipe for target 'certs' failed make[1]: *** [certs] Error 2 make[1]: Leaving directory '/home/jc/Downloads/linux-4.5.7' debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed make: *** [debian/stamp/build/kernel] Error 2   I get this error, as I found out, for any kernel even if I apply no patches or modifications, so it has something to do with the tools I'm using to compile the kernel (apparently a system keychain of some sort). Can someone out there tell me how to fix my OS and compile my kernel?   P.S. Here is the output of cat /proc/version:  Linux version 4.6.0-kali1-amd64 (devel@kali.org) (gcc version 5.4.0 20160609 (Debian 5.4.0-4) ) #1 SMP Debian 4.6.2-2kali2 (2016-06-28)


In the context of feature selection it is common to recode categorical variables with more than 2 categories into dummies. Selection methods such as elastic nets or lasso regression select the best predictors, whereby it is possible that only some dummies of each categorical variable are selected. I am wondering, if there can appear some problems due to this procedure. I found some comments about the topic on  and a , stating that the procedure should be used carefully, but that there are no general problems. However, I was not able to find any detailed literature or any educated guidelines, which could be followed.  Question: Can there appear any problems, if not all dummies of a categorical variable are selected for a model?  For example, I could imagine that the automatic selection relies on the order of the categories and the resulting reference category. Let's say there is a variable with categories A, B, and C. A dummy recoding into dummyB and dummyC would probably result in different variable selections compared to a dummy recoding into dummyA and dummyB.  Any advice or literature is highly appreciated!  UPDATE:  Based on Ben's comment I found some literature about a comparison of the lasso and the group lasso, which addresses my question:      However, based on this literature 2 further questions appeared:  1) It seems like the normal lasso is still used regularly, whereby the group lasso doesn't appear that often in current literature. Is there a specific reason for that?  2) When I have categorical variables with many categories, isn't it a problem, if I select the whole categorical variable? Or in other words, is it sometimes advantageous to use the lasso instead of the group lasso?

I want to use LASSO to construct a model and then run a logistic regression on the variables LASSO selects. However, LASSO selects only parts of some categorical variables that I put into it.  Does that mean I should dichotomize the categorical variables and only use those that LASSO selected or should I include the entire categorical variable in my regression model?


i have written the following code with some help from google for exporting jtable to excel but i am not able to export it to excel and i am also getting null pointer .  cell.setCellValue(model.getValueAt(i, j).toString());   the whole code is   try {         HSSFWorkbook fWorkbook = new HSSFWorkbook();         HSSFSheet fSheet;         fSheet = fWorkbook.createSheet("new Sheet");         HSSFFont sheetTitleFont = fWorkbook.createFont();         File file = new File("D:\\MOHIT\\bill report\\report.xls");                   HSSFCellStyle cellStyle = fWorkbook.createCellStyle();         sheetTitleFont.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);         //sheetTitleFont.setColor();         TableModel model = report_table.getModel();          TableColumnModel model1 = report_table.getTableHeader().getColumnModel();         HSSFRow fRow1 = fSheet.createRow((short) 0);         for (int i = 0; i < model1.getColumnCount(); i++){             HSSFCell cell = fRow1.createCell((short) i);             cell.setCellValue(model1.getColumn(i).getHeaderValue().toString());             }         for (int i = 1; i < model.getRowCount(); i++) {             HSSFRow fRow = fSheet.createRow((short) i);             for (int j = 1; j < model.getColumnCount(); j++) {                 HSSFCell cell = fRow.createCell((short) j);                 cell.setCellValue(model.getValueAt(i, j).toString());                 cell.setCellStyle(cellStyle);             }         }         FileOutputStream fileOutputStream;         fileOutputStream = new FileOutputStream(file);         try (BufferedOutputStream bos = new BufferedOutputStream(fileOutputStream)) {             fWorkbook.write(bos);         }         fileOutputStream.close();     } catch (Exception e) {         e.printStackTrace();     }   can somebody tell me why am i getting null pointer exception how to correct it.


I'm trying to solve this problem from Hungerford V.5.9.  I have to show $x^{2^n}+x+1$ is irreducible over $\mathbb{Z}_2$ if n>2.  I would appreciate some hint cause I don't know how to start with it.Thanks!  EDITED: This question is completely different to   The reason is obvious, i m asking if this polynomial is irreducible. In the other question, we assume it is reducible without showing it.

Prove that each irreducible factor of $f(x)=x^{2^n}+x+1$ in $\mathbb Z_2[x]$ has degree $k$, where $k\mid 2n$.   Edit. I know I should somehow relate the question to an extension of $\mathbb Z_2$ of degree $2n$, say $GF(2^{2n})$. By this way I will be able to correspond each irreducible factor of $f(x)$ to a subfield of $GF(2^{2n})$ that obviously has degree $k$, where $k\mid 2n$.


Where this question came from: I was researching about the graphical languages for monoidal categories involving the category $\textbf{PROP}$ and wanted to see if I could create a graphical language for $\textbf{Vect}_k$ because of $\textbf{Mat}_k$. (probably not the exact reason however this is what I remember)  Let $\textbf{Vect}_k$ be the category of vector spaces for some field $k$ and $\textbf{Mat}_k$ be the category of matrices under the same field $k$.   I know that we can define an equivalence between categories between $\textbf{Vect}_k$ and $\textbf{Mat}_k$ because given vector spaces $V=k^n$ consisting of all $n$-tuples over $k$, and $U=k^m$ consisting of all $m$-tuples over $k$ where $U,V\in\text{Obj}(\textbf{Vect}_k)$, then $\text{Hom}_k(V,U)$ creates the vector space $k^{m\times n}$ representing the set of all $m\times n$ matrices over $k$. Thus showing that $k^{m\times n}\in\text{Obj}(\textbf{Mat}_k)$. If $X=k^{m\times n}$ and $Y=k^{n\times q}$ (set of all $n\times q$ matrices over $k$), then $\text{Hom}(X,Y)=X\otimes Y$ where the tensor product, $\otimes$, is the cross product between the set of matrices $X$ and $Y$. The cross product rules still apply where $\text{Hom}(Y,X)=\emptyset$.  Now lets define the functor $F:\textbf{Vect}_k\to\textbf{Mat}_k$. We have a morphism $f:V\to U$ and the image of $f$ in $\textbf{Mat}_k$, $Ff$, will connect the image of $V$ to the image of $U$. Now I am pretty sure I might be thinking about this wrongly and I hope you could help me with this but I think that $Ff:FV\to FU$ is a morphism from the set of all $m\times1$ matrices to the set if all $1\times n$ matrices. Thus makes $\text{Hom}_{Ff}(FV\to FU)=FV\otimes FU$ which means the cross product between matrices $FV=k^{m\times1}$ and $FU=k^{1\times n}$.   I know this connection however I do not know how to form a formal equivalence proof for $\textbf{Vect}_k\cong\textbf{Mat}_k$. If I could get some help I would greatly appreciate it.  Sources:

There several questions about linear transformations and its respective matrices in some basis, but I'm particularly interested in the explicit definition of this relation in the category $Vect$ (of vector spaces and linear transformations.) Of course, a inevitable question is if there is always an matrix (or tensor, perhaps) representation (representable Functor?) for every morphism in an arbitrary category. Sorry if it is a silly question, but I'm learning CT by myself and it is difficult for me to understand this relation in categorical terms.


My Down Arrow Key in the keyboard is not working. Is there any way to map its functionality into another key in Ubuntu. How can I solve this problem without replacing my Keyboard?

I'm searching for a way to remap certain keys in ubuntu.  i.e.   I'd like to change PgUp to Home or PgDown to End.  Does a built-in command or a tool exist reassign keys in Ubuntu/GNOME?


I am trying to evaluate $$\int_{-2}^0 \frac{x}{\sqrt{e^x+(x+2)^2}}dx$$ So far I had no succes using trig substitution or integration by parts, also some random substitution like $x=2t$ and moved the exponential to the numerator, but I am stuck. Could you perhaps give me an idea? (this is a college admission problem)

$ \int_{-2}^{0} \frac{x}{\sqrt{e^x+(x+2)^2}} dx $ = -$  2.887270... $  The function has no antiderivate and there's no symmetry here to help, if you solve this I would be thankful if you would for a highschooler ^^


The C++ code is:  DLL_API DWORD WINAPI ExecuteCommand( LPCSTR, CONST COMMAND, CONST DWORD, LPREPLY);  typedef struct {     REPLY_TYPE      replyType;      union     {         POSITIVE_REPLY  positiveReply;         NEGATIVE_REPLY  negativeReply;     }     message;  } REPLY;   And my C# code is:  public struct Reply {     public ReplyType ReplyType;      public PositiveReply PositiveReply;     public NegativeReply NegativeReply; }  [DllImport(@"my.dll")] public static extern int ExecuteCommand(string port, Command command, int timeout, ref Reply reply);   How can I properly transfer union to C# code? When I call ExecuteCommand I receive reply which should contain either Positive or Negative Reply (such does C++ method).

I'm translating a library written in C++ to C#, and the keyword 'union' exists once. In a struct.  What's the correct way of translating it into C#? And what does it do? It looks something like this;  struct Foo {     float bar;      union {         int killroy;         float fubar;     } as; }


If I have a horizontal (x) and a vertical (Y) element (axis, perhaps more in the geometrical sense) what would be a proper name for the other axis (Z)? Is there already something like horizontal, vertical adjectives in English for that third dimension?

When working in a 2D coordinate system you could say that X is the horizontal axis and Y is the vertical axis.  Extending this to 3D, is there a similar word for the Z axis?  (I'm aware of Width, Height and Depth, but obviously horizontal and vertical aren't synonymous to width and height, which is why I don't want to call the Z axis the depth axis.)


I have two modems and two different phone/ internet lines coming into my home. Each line has 6mbps. Can I connect these two modems into one PC to combine the speed to 12 Mbps? Or is there a way to combine these two lines hardwired into one speed?

The small flat in which I live is designed for two students. I manage to pay the entirety of the rent myself, so I'm living by myself, but I have 2 LAN outlets in the flat. I wish to configure a local network of my own with several computers and a router. How can I connect the two outlets to one network? What hardware is required?


We have deployment scripts that we need to run on databases that are spread across multiple servers. One script only runs on one database, but the scripts depend on each other. We are looking for a way to run all of the scripts as one big transaction so that all scripts either commit or rollback as a whole.  How do I do this?  I would prefer a way to do this from ADO.NET, but SSMS is cool, too.  My current solution (that does not work) is that I begin transaction in every database, run all my scripts, and then commit/rollback once everything is good. However, I can't run all my scripts since cross-database dependencies are blocking indefinitely.

I have some doubts related to transactions in SQL. I perform below steps.   Connection 1 open for DB1 database Begin transaction for Connection 1 Run the commands on Connection 1 Connection 2 open for DB2 database Begin transaction for Connection 2 Run the commands on Connection 2 Commit transaction for Connection 2 Commit transaction for Connection 1   If  commit transaction on Connection 1 fails(rollback) then transaction on connection 2 should rollback. Is it possible? How it can be done?


I know there are two system calls that can be used for this, but which one is preferred for portable code?

I was about to add an extra signal handler to an app we have here and I noticed that the author had used sigaction() to set up the other signal handlers. I was going to use signal(). To follow convention I should use sigaction() but if I was writing from scratch, which should I choose?


Sometimes (or may be all the time) an Alias and Function for a command works the same way. For example, following Alias and Function of Ping Command:  alias Pingoogle='ping -c 3 google.com && echo "internet working..."' Pingoogle() {ping -c 3 google.com && echo "internet working...";}   works the same way by producing same output. But, My question is that in this situation which is more proper (or professional)? Setting Alias for such commands or Using Functions?

It's taken me almost 10 years of Linux usage to ask this question. It was all trial and error and random late-night internet surfing.  But people shouldn't need 10 years for this. If I were just starting out with Linux, I'd want to know: When to alias, when to script, and when to write a function?  Where aliases are concerned, I use aliases for very simple operations that don't take arguments.   alias houston='cd /home/username/.scripts/'   That seems obvious. But some people do this:  alias command="bash bashscriptname"   (and add it to the .bashrc file)   Is there a good reason to do that? I'm trying really hard, but I genuinely can't think of any circumstances in which I'd want to do that. So, if there is an edge case where that would make a difference, please answer below.  Because that's where I would just put something in my PATH and chmod +x it, which is another thing that came after years of Linux trial-and-error.  Which brings me to the next topic. For instance, I added a hidden folder (.scripts/) in the home directory to my PATH by just adding a line to my .bashrc (PATH=$PATH:/home/username/.scripts/), so anything executable in there automagically autocompletes.  If I needed to.  I don't really need that, though, do I? I would only use that for languages that are not the shell, like Python.  If it's the shell, I can just write a function inside the very same .bashrc:  funcname () {   somecommand -someARGS "$@" }   As I stated, I found a lot of this out through trial and error. And I only truly saw the beauty of functions when my computer died and I was forced to use the computers of the people around me when they weren't using them.   Instead of moving a whole directory of scripts from computer to computer, I ended up just replacing everyone else's .bashrc with my own, since they had never even made a single modification.  But did I miss anything?   So, what would you tell a beginning Linux user about when to alias, when to script, and when to write a function?   If it's not obvious, I'm assuming the people who answer this will make use of all three options. If you only use aliases, or only use scripts, or only use functions—or if you only use aliases and scripts or aliases and functions or scripts and functions—this question isn't really aimed at you.


Let $A,B,C,D\in \mathbb{F}^{n×n}$ and let $M=\begin{bmatrix}A&B\\C&D\end{bmatrix}$ have rank $n$. If $A$ is nonsingular, show that $M$ is equivalent to $\begin{bmatrix}A&B\\0&D-CA^{-1}B\end{bmatrix}$, and justify why $D-CA^{-1}B=0$.  Show that $det\left( \begin{bmatrix}|A|&|B|\\|C|&|D|\end{bmatrix}\right)=0$ using the above statement.  I have already shown the equivalence part. As well as what happens if $B,C,D$ are nonsingular. I haven't yet proven the $D-CA^{-1}B=0$ and I have to use all of these to prove that the determinant is zero.  Can you help me with this please? Thanks.

Let $A,\ B,\ C,\ D \in \mathcal{M}_n(\mathbb{C})$. If $\operatorname{rank}\left( \begin{bmatrix} A &B \\ C &D \end{bmatrix}\right)=n$, prove that $\det(AD)=\det(BC)$.


I had experience that mt blender gone crashed, I try to open autosave file, but both original file and autosave file has gone corrupted, so I can’t open any of them, it happened sometimes when huge blender file got crash, autosave didn’t save it’s backup property. I notice that autosave only provide one back up file.  My point is is there any option I can save number of autosave version like zbrush?? or maybe script for it?

How do I get auto saves version saves / recovery to work?  Blender 2.71 just lost 15-40 minutes of work when the whole PC crashed. I have auto save set to 1-2min.   I check the 2 other versions saved and they're both from the 25th.... I was working on the file for 40min to an hour not steady today 27th I try to recover but there's no auto saves for that whole hour?  All 3 versions of the file I had (Recover auto save and blend1 blend2) were from 2 days ago not when I was working on it today.  Here's a screenshot of settings mostly default:


I have bitdefender whining about my PC being portscanned. The logs show that it is coming from my android phone (which has static address).    Is that normal? How can i figure out the app that is doing this?     Edit:I just thought, should this be posted to the Android cousin of superuser?

I have bitdefender whining about my PC being portscanned. The logs show that it is coming from my android phone (which has static address).    Is that normal? How can i figure out the app that is doing this?     Asked over at the superuser forums but it was suggested that here i could get more detailed information.


I am looking for a way to create custom field from Apex.  Use case: we are using a specific field (E.g.: Own_Id_Field__c, TEXT(255), ExternalID: TRUE).  User should be able to select which (Custom) Object they want to use in the app and this should create custom field (for good functioning).  I would like to do someting like:  public static Schema.DescribeFieldResult createOwnIdField(String sObject) {   // Test if sObject exists   // Create field   return field; }   I heard about using Metadata API but did not really understood.

Anybody knows how to create custom text fields on salesforce.com objects using apex?


Did Padme follow the Earthling Human gestation cycle? Were they born prematurely?

So, some minor spoilers below to Star Wars episodes 3 and 5, though I really don't think anyone should not know about this.   Anyway, I got to reading  about why Anakin thought he could save Padme when she was so close to giving birth, and the (currently) top-voted answer raised even more questions about how long Padme had actually been pregnant when she died. Either Lucas didn't give her enough of a belly or her newborns were much too old when they came out. From this, I began wondering why Padme hadn't been visibly pregnant at the start of Episode III, since as far as I could tell the movie took place over at most a few weeks.   So that got me wondering, is there anything in the EU (either still canon or canon until Disney took over) about when Anakin and Padme 'did the deed'? And, from this event, could it be estimated how far along Padme was in her pregnancy when she gave birth?


I have a large collection of photos in separate folders for each event e.g. holiday in Italy, holiday in France for example.  Within each folder e.g. P:\Italy there are multiple file types: JPEG, CR2, MOV.  How could I separate thes files so I end up with the following  P:\Italy\JPEG P:\Italy\CR2 P:\Italy\MOV  I have multiple sets of photos in my P:\ drive so any script will have to recurively go through each folder and create the subfolders also.

Can anyone help on this.   I have mp3 files all over the shop and therefore a lot of duplicates.   What i need is a command line function that will move all files of type mp3 to a new folder. I'm not worried if the files structure on the new folder is retained or not.   I could easily copy using copy c:*.mp3 /s c:\mp3 for example, but due to the amount of files i have i would run out of disk space copying them, hence the need to move.  Thanks


Given a list of strings ['2.13', '4.67', '-6.1']  is there a way to convert this list into a list of floats?

In Python, how can I parse a numeric string like "545.2222" to its corresponding float value, 545.2222? Or parse the string "31" to an integer, 31?  I just want to know how to parse a float str to a float, and (separately) an int str to an int.


I have a keyword Person. I have a list that has elements inside such as Person A,Apple, Person B,Pear , Person C ,Banana  I am trying to get the elements in the list that contains the keyword .  for(int i =0; i < list.items.count; i++){    if (keyword == list[i])       Console.WriteLine("Person") }   Im trying the code above and it does not seem to work. Can anyone help?

Is there a way to make the following return true?  string title = "ASTRINGTOTEST"; title.Contains("string");   There doesn't seem to be an overload that allows me to set the case sensitivity.. Currently I UPPERCASE them both, but that's just silly (by which I am referring to the  issues that come with up- and down casing).  UPDATE This question is ancient and since then I have realized I asked for a simple answer for a really vast and difficult topic if you care to investigate it fully. For most cases, in mono-lingual, English code bases  answer will suffice. I'm suspecting because most people coming here fall in this category this is the most popular answer.  answer however brings up the inherent problem that we can't compare text case insensitive until we know both texts are the same culture and we know  what that culture is. This is maybe a less popular answer, but I think it is more correct and that's why I marked it as such.


Just trying to keep the reading as simple as possible. However, the while loop seems to return after 1 loop.  try {    final int SIZE = 512;     byte[] buffer = new byte[SIZE];    int bytesRead = 0;     while(inputStream.read(buffer) != -1) {        bytesRead++;    }     jsonString = buffer.toString();    System.out.println("bytesRead: " + bytesRead + " [ " + jsonString + " ]"); }   It should return something like this:  {"errCode":"7500","errDesc":"unknown"}   But when I get printed out is this:  bytesRead: 1 [ [B@5361bf4c ]   Seems it prints out an memory address or just rubbish.  If I use the following:  inputStream.read(buffer, 0, SIZE);   I get the following:  bytesRead: 0 [ [B@53623578 ]   Many thanks for any advice,

If you have a java.io.InputStream object, how should you process that object and produce a String?    Suppose I have an InputStream that contains text data, and I want to convert it to a String, so for example I can write that to a log file.  What is the easiest way to take the InputStream and convert it to a String?  public String convertStreamToString(InputStream is) {     // ??? }


I'm looking to install Ubuntu on my desktop. I currently have it on my laptop and really enjoy it. I am running 15.04 on there. I started out with 14.04, but it updated to 15.04 a while ago.  I was curious, what is the difference between the LTS download and the 15.04. I understand that there is only support for 15.04 until January 2016, but what does that mean? Wouldn't there be an Ubuntu 16.* before then?  Isn't it just a matter of downloading the update to the next version and waiting? No reformatting? I don't remember having to backup data or anything when I did the update on my laptop. It just took a while and eat my internet data up.  I'm in school to become a computer network technician, so I love to use all of the latest software and would prefer to have 15.04, but not if it means that I will have to reformat after January 2016, as I have read in other online threads.

What are the differences between an Ubuntu Long Term Support release (LTS) and a normal release?


Recently I had a full harddisk and needed to delete some files. I used WinDirStat to see where the big files are.  Afterwards I remembered that I had a 5GB Microsoft SQL Server database backup restored in my local SQL Server instance. However, the data directory of SQL Server did not show up in WinDirStat, even though it used 6GB of disk space.  Is there some way to list all directory sizes, like in WinDirStat, but all of them? If there is some directory I don't have access to, I want to get a warning like     The size of directory XY could not be determined since you lack permission to access it.   If I get that warning, I can go to Windows Explorer and get those rights.  Is there some way to get access to all the folders and files on my harddisk?

I have a hard drive which I need to recover specific files from but all the folders in the K:\ drive are denying me access even though I took owner ship of the full drive I.E      C:\Windows\System32>takeown /F K:\   This granted me access to the drive and see the folders but I can not access any of the folders after that.   Is there a way in which I can use Takeown to apply ownership to every directory on the drive>


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

I'm studying machine learning and every book I open I bump into chi-squared distribution, gamma-function, t-distribution, Gaussian, etc.   Every book I have opened so far only defines what the distributions are: they don't explain or give the intuition on where the specific formulas for the functions come from.   For example, why is chi-squared distribution the way it is? What is the t-distribution? What is the intuition behind the distribution? Proofs? etc.   I would like to have a clear and fundamental understanding of the most commonly used distributions so that every time later on when I see them, I truly understand what is a t-distribution, what is a Gaussian distribution and most importantly why are they the way they are.   It would be nice if the books / tutorials  can explain the concepts to a layman so that in order to understand them you don't already need to understand them x) Many books are like this, they don't fit for beginners :(


why is y not also print empty dictionary?  x = {} y = x print y x['key'] = 'value' print y x = {} print x,y   Result:  {} {'key': 'value'} {} {'key': 'value'}

In python, is there a difference between calling clear() and assigning {} to a dictionary? If yes, what is it? Example:d = {"stuff":"things"} d.clear()   #this way d = {}      #vs this way


I wondered about this because the two neurons never actually touch. The synaptic cleft is very small, but if there is no connection the neurons might easily separate... [in chemical synapses]

What makes synapses not move or pre- and postsynaptic cells neither touch nor move away from each other? I mean the synaptic cleft is a gap between the pre- and postsynaptic cells that is about 20 nm wide (according to Wikipedia), so what makes it of that width? Are there some protein fibers anchored in both pre- and postsynaptic cells? Or do the glial cells keep them at that (often temporarily) fixed position? What prevents them from being displaced by the slightest movement of the body? I'm talking obviously about the chemical synapses.  Thanks in advance for the answer.


Should i replace a 13.5-0-13.5 2.5A transformer (seems to be a custom made ) found in a chinese home theater with a 12-0-12 3A or 15-0-15 3A .Which would be better ?.Any suggestion would be great. Thanks

Power supplies are available in a wide range of voltage and current ratings.  If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify?  What if I don't know the device's specs, but am replacing a previous power supply with particular ratings?  Is it OK to go lower voltage, or should it always be higher?  What about current?  I don't want a 10 A supply to damage my 1 A device.


I have a problem with the python code. Indeed, I want to change the value of a global variable through a function like this:  myVar = True # default value def myFunct():    myVar = False   The problem is with Python, you can't change the value of the global variable by a function. So anyone have a solutuion ?  Thank you.

How can I create or use a global variable in a function?  If I create a global variable in one function, how can I use that global variable in another function? Do I need to store the global variable in a local variable of the function which needs its access?


Let $X$ be a universe. Let $\{A_i\}_{i\in\Lambda}$ be a family of sets in $X$, where $\Lambda$ is a set of index.  I want to prove:  $$X\backslash\bigcap \limits_{i\in\Lambda} A_i = \bigcup\limits_{i\in\Lambda} (X\backslash A_i)$$    How do I prove this? It looks like a generalised de-morgans laws, but I don't understand how I can work with these without operators in and out of the iterated intersection/unions.

Let $X$ be a set and $\{Y_\alpha\}$ is infinite system of some subsets of $X$. Is it true that: $$\bigcup_\alpha(X\setminus Y_\alpha)=X\setminus\bigcap_\alpha Y_\alpha,$$ $$\bigcap_\alpha(X\setminus Y_\alpha)=X\setminus\bigcup_\alpha Y_\alpha.$$ (infinite DeMorgan laws)  Thanks a lot!


So the title says it all really, was the only reason Darth Sidious killed the other masters so quickly down to the fact he used a "Force Scream" did it disrupt or disorientate the other masters apart from Windu? The description of a force scream is:  If a Dark Jedi or Sith Lord was being beaten and frustrated by his foe, he might let out an enraged scream (amplified through the Force) that triggered shock waves that rippled through the Force. This caused devastation to any that were unfortunate enough to be in proximity. Like many dark side Force powers, it allowed the user to use powerful negative emotions as a weapon, albeit involuntarily in this case. The Force scream had been called "a wave of hatred, amplified and fueled by the dark side, that is capable of smashing through mental and physical defenses with ease." A number of references to Dark Jedi in Old Republic archives often mentioned the Dark Jedi violently losing control in the final moments of battle.   Could this mean that it disrupted the other Jedi Masters except Mace?

When Mace Windu and the 3 other Jedi Masters confront Chancellor Palpatine as the Sith Lord, Darth Sidious unveils himself and attacks the Jedi. In one move he takes out Agen Kolar, who wasn't even facing Darth Sidious.  How did that happen? Was this some kind of special move Sidious deployed to disorient the Jedi?


I have seen that it is possible to label e-mails by using tags in the e-mail address. For example if my address is myaddress@gmail.com then it is possible to send e-mail like myaddress.offer@gmail.com where offer is a tag. How to enable this feature in Gmail?

I currently have some basic filters in Gmail, but the other day I heard someone mention you could use a plus sign in your address to filter incoming email?  Can someone elaborate?


I am planning to make a photo album by latex for my child's birthday, but I cannot find some suitable latex template, as a TeX fan, I want to make this gift special. Could anyone let me know how to make it?  Thank you guys so much in advance.  There are some example pics I found which are very close to what I want.     The editors may concerning about this is a duplicate problem, and they also give me some links below:  You may get ideas from tex.stackexchange.com/a/63759, tex.stackexchange.com/a/31266, tex.stackexchange.com/a/33296, and tex.stackexchange.com/a/45120  However, my problem for this including fonts, background, and also the frame in a page by tikz(or other packages), I want to put pictures and corresponding captions into a page by 1*2, 2*1, 2*2, 3*3, etc. I've looking for the solution by a period of time, but no one satisfied me. I intend to use all the nice pictures and compile them into a nice book by latex, and then print it out as a hardcover.  Thanks again.

I use LaTeX for my research publishing and would like to make a Christmas photo album that I could send to a print shop. It occurred to me to try it with LaTeX this time (yes I know, the print version won't get delivered by Christmas). Among other reasons, it will look like I'm working on code! But I would benefit from some templates etc. and haven't had luck finding any.  Can anyone recommend resources for building a family photo album in LaTeX?


Since $f$ is continous, and $\mathbb{R} \setminus\{a\}$ is disconected for every $a \in \mathbb{R}$, but this doesn't hold for $S^1$, then exists $y \in \mathbb{R}$ such that $|f^{-1}(y)| > 1$. I'm not sure how to proceed to show that it must be at least an $x \in S^1$ such that $f(x)=f(-x)$

Question is to prove :  $f : S^1 \to \mathbb R$ is continuous then $f(x)=f(-x)$ for some $x\in S^1$  I guess it would be helpful to use intermediate value theorem  Assuming $f(x)\neq f(-x)$ then given any $p\in (f(-x),f(x))$ (assuming $f(-x)<f(x)$) there exists $y\in (-x, x)$ such that $f(y)=p$  I am not very sure of how to use this..   It would be helpful if someone can give some hint which would help me to solve this..  Thank you.


Apparently, when initialized on $k$-bit integers $A$, $B$, Euclid's algorithm terminates after at most $2k$ iterations. This result is not immediately intuitive to me. I would appreciate help in showing this result. Thanks.

Let m and n be natural numbers. Suppose $ min(m, n) \leq 2^k $ for some natural number k. Show that the Euclidean algorithm needs at most $ 2k $ iterations to find the GCD of m and n. Basically I have no clue how to start this proof, I think I should be looking at the remainders and somehow showing that $ a_{k+2} \leq \frac{a_{k}}{2} $ where $a_{k}$ represents the kth remainder. Other than that, I have no clue about where to begin.


The great number of badges is making it break the line on the user card, screenshot:    Here is the link to the answer:

When a user has "too much" reputation and "too many" badges, the design of the user card breaks:    The badge counters overflowing to another line. Can anything be done about this? For example, expanding the rep and badges to their own lines:  NameRepBadges


I like that the first section in my presentation start with number bigger than 1, for example with 7. I try with adding \setcounter{section}{7} in preamble as well before first section (as is suggested for example in answer on ), but number of the first section stay the same, i.e. 1 and not become 7 as i expected: \documentclass{beamer} \setbeamertemplate{section in toc}[sections numbered] \setbeamertemplate{subsection in toc}[subsections numbered]  \begin{document}   \begin{frame}[plain]     \frametitle{Vsebina} \tableofcontents \end{frame}     \addtocounter{section}{7}% <--- doesn't help \section{TEST} \subsection{test a} \subsection{test b} \subsection{test c}  \begin{frame} \frametitle{Introduction} \end{frame}   Do I miss something? I use recent version of beamer (v3.55).

Beamer's table of contents starts with bullet 1.  How can I change that to bullet 0?  The command \setcounter{section}{-1} in the preamble does not help.


I would like to monitor and log following changes in file system:   Opening and closing of any file by any user. Creation/deletion of file by any user. Files downloaded by any user.   After some research I could find only 2 solutions:      (Disadvantage: lack of recursive support in directory)   Are there any other alternatives through which I can perform the above mentioned task or can I implement this somehow using some system calls?  What will be the best way to perform the above task?  OS details: Ubuntu 14.04, if it helps.

Is there a tool to monitor what processes open what files on the system so you can track down which process keeps touching a specific file?  Lsof can find out if you run it while the process has the file open, but if it is a short lived process that runs every once in a while, you can't catch it with lsof.  Need something that uses kernel tracing.


Question How can I get the .courseslot boxes to line up collectively centered? Background I'm trying to create a landing page that displays my online courses for students to buy. Each online course is represented by a box which I will later make clickable.  I would like the boxes to be centered I also want them lined up next to each other responsive so that if I add one, the whole lot will move over so they are all still collectively centered.  I'm working with only two placeholder boxes at the moment until I get it working. Code HTML The  tag is for future use. I'll fill in the images later.

-Name- Only $10!

-Description-

-Name- Only $10!

-Description-

  CSS #Courses {     margin: 0 20px;     display: block;     margin: auto;      } .courseslot {     float: left;     padding: 0 10px 0 10px;     width: 25%; /* Trying to get it so that four fit on  a row. */ }  I realize some of the css might be a bit messy; I was trying to get it aligned, and I am also still fairly new to CSS in general. With the current set up, the boxes with a class of .courseslot line up next to each other, but they are aligned left, not center (the float: left probably has something to do with this, but I'm not sure how to fix it).

How can I horizontally center a
 within another
 using CSS?

Foo foo


sftp -v -oProxyCommand="nc -v PROXY_IP_HERE PROXY_PORT_HERE %h %p" user@remote_sftp_server.com 22   How can I do this if I don't have netcat installed? I don't have permission to install it, even in my home directory. There is no tsocks/socksify either.

With a netcat listener like:  nc -l <port> < ~/.bashrc   I can grab my .bashrc on a new machine (doesn't have nc or LDAP) with:  cat < /dev/tcp/<ip>/<port> > ~/.bashrc   My question is: Is there a way to mimic the capabilities of nc -l <port> in my first line with /dev/tcp instead of nc?  The machines I'm working on are extremely hardened lab/sandbox environment RHEL (no ssh, no nc, no LDAP, no yum, I can't install new software, and they are not connected to the internet)


I have a SQL query like this:-  $stmt = $pdo->prepare(    "SELECT * FROM `products_keywords` WHERE `product_type` = '" . $product_type . "' ");   I don't know what will be the value in the $product_type variable. But Now, I am getting Men's Shirt in $product_type variable which is causing the syntax error in my SQL query. I am sure this error is due to the single quote in Men's Shirt value. How I escape this value according to my query? And how to check if there is single quote in my $product_type variable and then escape it according to my query. Thanks in advance.

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 want to make an animation similar to the gif, i want a drop (of water) to fall and to be absorbed by the cloth.  I have the cloth texture and a fluid simulation with dynamic paint that creates the wet cloth, but i don't know how to make the fluid geometry to be absorbed smoothly by the cloth.  Thank you!

I have a fluid falling on top of a plane.  I want the fluid (water) to be absorbed by the plane, like a cloth would do.  How can i do that?    Thank you


Where are the Plugins for Downloading OSM-Data and the Openlayer-Plugin (with MORE than OSM). These are the most-importent plugins for me! Gone? Then I go back to QGIS 2 ;(

Upon searching for the OpenLayers plugin, it shows that this plugin is incompatible with version QGIS 3.0. Will this be updated? Is there another way to add Google imagery or any other aerial imagery other than through this plugin?   I noticed the OpenStreetMap layer I had been using with QGIS 2 is still working now that I am using QGIS 3, but the Google Satellite layer no longer appears.


I'm busy creating a login system for my site and now I'm focusing on the registering system but I read that the POST method is vulnerable to SQL-injection and I want to change that. Now my problem is that I don't know very much about PHP and I don't get how to use prepared statements. Can anyone help me implementing it? Here is my code:  <?php error_reporting(E_ALL); ini_set('display_errors', 1); include('connect.php'); // If the values are posted, insert them into the database. if (isset($_POST["username"]) && isset($_POST["password"])){     $username = $_POST["username"];     $email = $_POST["email"];     $password = $_POST["password"];     $epassword = hash("sha512", $password);      $query = "INSERT INTO `user` (username, password, email) VALUES ('$username', '$epassword', '$email')";     $result = mysqli_query($connection, $query);     if($result){         $msg = "User Created Successfully.";     } } ?> <!DOCTYPE html>
   <title>Franeker Computer Reparaties</title> <link rel="stylesheet" href="styles.css" />

 <?php if(isset($msg) && !empty($msg)){     echo $msg;     }  ?>
Registreer
 <form action="" method="POST">
User Name :  <input id="username" type="text" name="username" placeholder="username" />

E-Mail&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :   <input id="password" type="email" name="email" required placeholder="name@email.com" />

Password&nbsp;&nbsp; :   <input id="password" type="password" name="password" placeholder="password" />
  Login <input class="btn register" type="submit" name="submit" value="Registreer" /> </form>

Home

Diensten

Advies

Contact


I'm trying yet again to switch from Windows to Linux and ran into the follwoing problem:  I have a LG 29UM55 Ultrawide Monitor with a Radeon HD5450 card on Ubuntu 16.04. After a couple of hours reading through posts and trying out things I got it working by reducing the refresh rate to 40Hz. Unfortunately after a restart I have to do the whole "xrandr-thing" again, means it lost the resolution again. I found some posts suggesting to edit the /usr/share/X11/xorg.conf.d/10-monitor.config file but it just won't work! I played around a with it a bit but without success.  $ cvt 2560 1080 40   # 2560x1080 39.93 Hz (CVT) hsync: 44.25 kHz; pclk: 147.25 MHz Modeline "2560x1080_40.00"  147.25  2560 2680 2944 3328  1080 1083 1093 1108 -hsync +vsync  $ sudo xrandr --newmode "2560x1080_40.00" 147.25 2560 2680 2944 3328 1080 1083 1093 1108 -hsync +vsync  $ sudo xrandr --addmode HDMI-0 2560x1080_40.00  $ xrandr   Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 8192 x 8192 HDMI-0 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 677mm x 290mm    1920x1080     60.00    50.00    59.94    30.00    29.97      1920x1080i    60.00    50.00    59.94      1680x1050     59.88      1600x900      60.00      1280x1024     75.02    60.02      1152x864      75.00      1280x720      60.00    50.00    59.94      1024x768      75.08    60.00      800x600       75.00    60.32      720x576       50.00      720x480       60.00    59.94      640x480       75.00    60.00    59.94      720x400       70.08      2560x1080_40.00  39.93*   DVI-0 disconnected (normal left inverted right x axis y axis)  VGA-0 disconnected (normal left inverted right x axis y axis)   That's what I put into the 10-monitor.config file  Section "Monitor"     Identifier "Monitor0"     Modeline "2560x1080_40.00" 147.25 2560 2680 2944 3328 1080 1083 1093   1108 -hsync +vsync   EndSection    Section "Screen"     Identifier "Screen0"     Device "HDMI-0"     Monitor "Monitor0"     DefaultDepth 24     SubSection "Display"       Depth 24         Modes "2560x1080_40.00"       EndSubSection   EndSection

How can I run the following xrandrcommand on startup?  xrandr   cvt 1368 768  xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync xrandr --addmode VGA1 1368x768_60.00 xrandr --output VGA1 --mode 1368x768_60.00