I have a model built to predict an ordinal response with 3 levels (win, draw or lose, say) and I would like to evaluate predictive accuracy.   Is it appropriate to use the Brier Score:  $$ \sum_{i=1}^{R}\left (f_{i} - o_{i} \right )^{2} $$  where $R$ is the number of response levels, $f$ is the predicted probability and $o$ is the observed outcome - which is 1 for the value of $i$ for which the event occurred - in order to determine the accuracy of these probability predictions?   Does the ordinality of the data break any of the assumptions made by the RPS? It is briefly mentioned, without explanation, in the  that this is not suitable for ordinal variables:      The Brier score is appropriate for binary and categorical outcomes that can be structured as true or false, but is inappropriate for ordinal variables which can take on three or more values.   EDIT: Going with the win, draw or lose example; lets say we predicted team A had a 0.5 chance of winning, team B had a 0.3 chance of winning and that there was a 0.2 chance of the draw. The actual result of the match was a win for team A, so the corresponding Brier score would be:  $$ \left(0.5 - 1 \right )^{2} + \left(0.3 - 0 \right )^{2} + \left(0.2 - 0 \right )^{2} = 0.255 $$  where the observed outcome is 1 for the win and 0 for the draw and loss.


What is the easiest way to convert an array like that:  array('Item 1', 'Item 2', 'Item 3');   into this:  array( 'Item 1' => 'Item 1', 'Item 2' => 'Item 2', 'Item 3' => 'Item 3', );   Note: Maybe its relevant. I got that first array by php explode();  Thanks for all suggestions.


QGIS Align Rasters how to retain pixel values?

I am attempting to align and then merge a number of rasters of the same resolution and extent, but where the pixels are slightly misaligned (creating small gaps when merged). This works fine using the Align Rasters tool, except that the pixel values are not retained and instead given a value of something like -3.23879e+8. I mostly want to keep the nodata pixels. Is this possible?


Change pivot or local origin of an object

How can I change the local origin of an object, without changing the object location in the world space.  This is the object located at position (0,0,0) in the world space    This is the same object located at position (0,1,0) in the world space, but with its local origin offset so that the object is in the same place    Is there a way to do this in a single step?


When typing in localhost in browser, some file other than index.html pop up

The default file in /var/www/ is index.html. According to a tutorial i saw on youtube its contents were to show when typing in "localhost" in the browser. I am using apache2.   Sorry for the lack of explaining, I'm new.


Not able to launch WiFi in Ubuntu 16.04 with RTL8723DE

I have installed Ubuntu 16.04 recently alongside Windows 10.  Here is an image of the terminal after executing the instruction lspci -nnk | grep -A3 -Fe '[0280]'; rfkill list    The kernel version is 4.13.0-32-generic


Using color in figures for economics journals

Is it common for economics journals to publish figures in color online and black and white in print? If so, would it be best to submit the color version? And, in the color version, should I differentiate lines in ways other than color (making the color differentiation helpful but redundant) so that the differentiation is still clear if the reviewer prints the article in black and white?


Given $R>0 , M>0$ Let $f(z)$ be a entire function such as $|f(z)|\leq M|z|^m$ for evey z such as $|z|>R$. Show that $f(z)$ is a polynomial of degree m or lower.


What has happened to the sorting of answers on Stack Overflow?

Has the sorting of answers on Stack Overflow been changed? Because I've realised that the answers aren't sorted by  Votes -> Time   anymore, and they are sorted in a different way. It appears the time isn't taken in to consideration, now they are sorted by  Votes -> Random   If it is deliberate then what is the new order for sorting?  I have noticed that sometimes it sorts the old way, but then for others it appears completely random (apart from the votes).


What's the difference between saying 'the passage above' or 'the above passage'?

I'm a Korean High school student and I have a question regarding the use of adjectives. Is there a difference between saying '...the passage above' or '...the above passage?' I'm sure that both of them are grammatically correct, but I'm curious if the two have any - even the slightest - differences when seen in the eyes of a native speaker.


Can anyone give me full details about what we mean by hyperparameters, and what in the Dirichlet distribution are called hyperparameters? A practice example for the estimation of those parameters would also be useful.


Did physicists solve the grandfather paradox?

Now, physicists are trying to send information backward in time. But, why are physicists almost sure that this would happen and why are they so confident about it? Did physicists solve the ?   In that case it would mean that result would occur before the cause. That is very weird. Of course the universe is very weird(and hence very interesting) but is that the case? Can information be sent backward in time?


Is there a way to have OS X-like behavior in Nautilus? Nautilus elementary is long gone?  Basically I'd like to have an option to a tree view (only 2 views, not multiple like in max os x) where the parent will be on the left, and the content on the right.   On Mac OS X, it looks like this    Possible something similar on Ubuntu?


How to cross-reference items in description lists?

Every now and then I use the description list environment  \begin{description} \item[foo]  foo is good \item[bar]  bar is bad \end{description}   to create lists with non-numerical labels. Unfortunately the description list does not support the label-reference pair as normal latex: i.e. if I write  \begin{description} \item[foo] \label{foo} foo is good .... \end{description} .... For good things (see, for example \ref{foo})...    the reference does not point to the item in the list. Instead it points to the closest environment that supports labeling (usually the subsection). So instead of showing the text foo (in boldface), it shows something like 2.2.1 (the subsection corresponding to where the description environment is sitting).  My question: is there a way or a package which allows references to description list items? My current work-around is to just type the text myself in the spot (since I named it myself, and it is not numbered, the formatting is unlikely to change the label =). But one of the good things about the label/reference pairs in latex is the implementation in pdflatex that allows in PDF hyperlinks between references and the objects referred to, this I cannot replicate myself.   Edit: let me rephrase my question. The primary goal is not to display \ref to something other than what LaTeX thinks the \label is. There are many ways to deal with it, some of which outlined in Michael Underwood's helpful answer below. What I am looking at is whether there exists an implementation of a list environment which is like the built-in description environment in that the displayed "title" for the list item is completely customized, while having support for \labels. (The built-in description environment does not support \labels, whereas the built-in enumerate environment does not support customized "title"s.) The enumitem package adds some customizability to the environments, but as far as I can tell it doesn't support exactly what I want.


Unwanted lines when using the "KNIFE" tool

While using the "Knife" tool in overlapping letters, it shows unwanted lines on the cut path after I'm finished cutting the object and sending it to the back or front.  I'm facing this issue only when I send the cut object to front or back after I'm done cutting the object. If I don't send it to the back or front then these lines are not shown, which is what I want.


I have windows 7.  I downloaded ubuntu but don't know how to boot through usb drive.  There is no startup disk creator in windows 7.  Please give a suitable solution


Is there any way to get non-Class Skills as class skills without Multiclassing?

I want to get the skills "Knowledge (Planes)" and "Use Psionic Device" on a Kobold Wilder so that:  He can Prestige into Anarchic Initiate I can use Dorje that have Powers that aren't on my class list.  I don't want to weaken my manifesting level by multiclassing and can't take Education, as I am not human, or on Faerun for that matter, and it is a Faerunian Regional feat. Hopefully this is possible through the use of feats. If not it's going to take a long time to get into Initiate.


add new line in textarea not working in my CI project

i have a problem with my code, when I write content in my admin dashboard, the textarea to make a new line not working, what's wrong with my code ? this is the view
     <?php      if(isset($error_upload)) {         echo '
         <button type="button" class="close" data-dismiss="alert" aria-label="Close">                         &times;                     </button>' . $error_upload . '
';     } ?>

                     <?php                          echo form_open_multipart('artikel/input');?>

                                     Judul                                     <input name="judul" class="form-control" type="text" value="" id="example-text-input" placeholder="Masukkan judul" required>

                                     Konten                                     <textarea name="konten" class="form-control fwMultilineTextbox" aria-label="With textarea" style="width: 800px; height: 400px;" placeholder="Masukkan konten" required></textarea>

                                     Masukkan Gambar                                     <input type="file" name="gambar" class="form-control-file" id="exampleFormControlFile1">

                                     <button type="submit" class="btn btn-success btn-sm mb-3"> Simpan</button>                                     <button class="btn btn-info btn-sm mb-3" onclick="goBack()"> Kembali</button>
                                  <?php echo form_close(); ?>


How to highlight command prompt in Guake / ArchLinux?

I am starting to use Arch Linux / Mate, and Guake with it (last versions). I would like Guake can highlight the command prompt, like in . You can see the prompt is light green, and the other text is white.  Actually Guake is showing like , with no differences between prompt and the rest of the text.  My intention is to differ from the command prompt and the other text showed in Guake.  Is there a way or a theme to make this difference? Thanks.


Do blog comments count as updates to your website?

I constantly hear that websites which are updated frequently do better in terms of SEO, so I was wondering: do blog comments count? I'm guessing they do, since they show that the website still has a 'lifeblood' to it - but I thought it'd be wise to check here first.


Sci-Fi short story: Side with the most advanced technology loses

Looking for an old sci-fi short story where the side with the most advanced technology loses because of unexpected side effects of their high tech.  The story is told from the perspective of the losing side who claim that they lost because they kept inventing superior technology. For example, they create better FTL ships but after they are in service for a while they warp and become useless.


There are only two situations that I am aware of that give rise to extraneous roots, namely, the “square both sides” situation (in order to eliminate a square root symbol), and the “half absolute value expansion” situation (in order to eliminate taking absolute value). An example of the former is $\sqrt{x} = x – 2$, and an example of the latter is $|2x – 1| = 3x + 6$. In the former case, by squaring both sides we get roots of $1$ and $4$, and inspection reveals that $1$ is extraneous. (Of course, squaring both sides is a special case of raising both sides to an positive even power.) In the latter case we expand the equation into the two equations $2x – 1 = 3x + 6$ and $2x – 1 = -(3x + 6)$, getting roots of $-1$ and $-7$, and inspection reveals that $-7$ is extraneous. Now, my question is: Is there any other situation besides these two that gives rise to extraneous roots? -Perhaps something involving trigonometry?  I asked this question some time ago in MO, where I got ground in the dirt like a wet french fry (as Joe Bob would say). So, I’m transferring the question here to MSE. :)  edit (1.Jan.2017): In general, in mathematics and the real world, you get extraneous roots any time you are initially presented with (via some mechanical / automated / canonical process) a superset of the set that you want, and the sifting out of that set from the superset is left to you, for example, when panning for gold, or when reading the owner’s manual for your vehicle: “This owner’s manual covers all models of your vehicle. You may find descriptions of equipment and features that are not on your particular model.”


Let $\mathbf{a_n = (1-\frac{1}{\sqrt2})...(1-\frac{1}{\sqrt{n+1}})}$, $n \ge 1$. Does $\lim_{n\to \infty} a_n$ exist? If so, what is it's value?


How did Kylo Ren know how to obtain Darth Vader's helmet/skull?

In Episode VII: The Force Awakens we see a scene with Kylo Ren meditating in the presence of Darth Vader's helmet.  Given that in Episode VI Luke burns Darth Vader's body on the moon of Endor, I think it would be safe to say that was Darth Vader's resting place.  So how did Kylo Ren end up with part of Darth Vader? Did he travel to the moon of Endor to specifically get a piece of Darth Vader?  This question is not how any part of Darth Vader survived Return of the Jedi but how Kylo Ren would know how to find the helmet.


Does someone have an example of three ideals such that no one is contained in another, yet their union is an ideal?


Correct way to map random number to defined range?

Say that we have a secure random number generation that outputs 32 bit random numbers, so it's output is a true random number between 0 and a MAX.  What is the best way to map this random number to a defined range (say I want something random between X and Y) without loosing too much entropy?


Why did the Engineers leave the clues to their military installation (as opposed to somewhere else)?

Dr. Shaw (and her boy friend) told the crew of Prometheus in their presentation that Engineers left - as far back as 35,000 years - clues as to the location of their planet in the form of a star pattern in images found all over the globe.     "They want us to find them" - Dr. Elizabeth Shaw     When they researched the pattern, they found LV-223.  Except that:   LV-223 was NOT their home planet, it was their secret military base dedicated to project "Kill 'em all!" The base on LV-223 looked to be a temporary installation from 2000 years ago, NOT a permanent colony from 35,000+ years ago (I don't have canon proof, just the impression I got from the movie).   It seems like the wrong place to leave directions to on both accounts.  Is there some canon explanation (movie detail I missed, interviews/deleted scenes) that explain this seeming contradiction?


I have to prove this inequality. I was just looking for a solution to this problem as I have been stuck on it for a very long time.

Show that if $a$ and $h$ are positive numbers with $h<a^2$ then   $$\sqrt{a^2+h}-a<\frac{h}{2a}<a-\sqrt{a^2-h}$$


The real numbers $a,b,c,d$ satisfy $a^2+b^2+c^2+1=d+\sqrt{a+b+c-d}$. Find the value of $d$.  I've been given this question for a class I'm taking and I'm not really sure where to start. I let $\sqrt{a+b+c-d}=x$ and tried to find a factorization but haven't really gotten anywhere with it. Hints would be appreciated!


How to set inbox sync time range in Mail?

When I setup an email account in Mail seems like Mail insists on downloading the tens of thousands of emails I have between now and years way back. How do I tell it to sync only in a specific time range like 3 months for example?  Thanks


Term for someone who has a last name that can also be a first name

There is such a term but I can't remember it. We learned it in Junior High. A co-worker of mine can't remember it either, but she thinks it begins with para-, which helps me none.


Are SSDs comparable to HDDs for reliability and is there published research on this?  Also are all SSD manufacturers at a similar 'reliability level'?


What does "as good a film as the Coen brothers...have ever made" mean?  Does it mean  that the film is their best? what is the underlying structure?


I created an account on area 51 for a new proposal. But after I created and verified my account there is no option for propose a new site? Do we need more reputations to make proposals. How could i propose a new site?


Why can't I connect to my VNC server from outside my network?

I have a computer running TightVNC server.  It is on my home network.  The computer it is installed on has a locally static ip address 192.168.1.100.  I am able to connect to this vnc server from my home network fine, but unable to connect from outside my network (using the IP address that I see at ).  I have forwarded port 5900 (and 5800) to ip address 192.168.1.100. But if I use  I am unable to see that port.  I am running Windows 7.   Any suggestions?


I recently was interested in modding, and I needed to install unity. I did that, and I run the .deb file, it comes up to the 'install software' application, then it says 'can't install Unity. Not supported'. Don't know why. I was able to run this VERY same .deb file on my old OS (MX Linux) but can't now... Please help, Thanks, Ring Games


How can I make a simple voltage-controlled attenuator?

Having discovered just how awful the AC ripple is on some of my 5VDC wall-adaptors, I decided to make an Arduino program to calculate the RMS AC component and DC component of an adaptor under varying current loads.  My current issue is that the Arduino (and it's ADC's and DAC's) run on 5V, so 0-5V is it's analog input and output range. Many "5V" adaptors output a little more than that (and I want to be able to test 9V and 12V adaptors as well). So, I want a way for the Arduino to attenuate the input down to something within the 0-5V range, and the only way I can think of to do this is to use the Arduino's analog voltage output (which, I realize, is just PWM digital). Hence, I need a voltage-controlled attenuator.  The application requirements are:   It must be able to attenuate the input anywhere from a gain of 1 down to a gain of about 0.25 (to get, say, a 15V input well within the 0-5V ADC range) The range of controlling voltages must also be within 0-5V. Furthermore, the range cannot be too small, since the Arduino can only select 256 values between 0-5V. In other words, I can't have a controlling voltage of 2.000V give me a gain of 1 and a controlling voltage of 2.001V give me a gain of 0.25, as the Arduino doesn't have that kind of control over its analog output.  Any attenuation needs to affect the AC and DC portions equally, or else my ac_component/dc_component ratios will be erroneous.  I would very much like not having to supply additional voltage rails. For example, I don't want to have to supply a +12V and -12V for a certain op-amp. If it can all be done with a 5V rail, that's optimal. Or, +12V will probably also be fine. Attenuation does not need to be linear with voltage. All I'm after is being able to calculate (RMS ac_component / dc_component), and those ratios will stay the same without my knowing the exact attentuation. I understand that JFETs (see the schematics below) aren't all that well-suited to DC operation for thermal issues or something. Gradual drift in the attenuation is okay. My Arduino program only samples the voltages from the wall-adaptor for about 1/10 of a second. As long as the gain doesn't change appreciably over that time span, things are fine.   The first thing I tried was this sample which I found. It kinda did what I wanted, but it's inverting, so the output ends up being negative (and out of the 0-5V range of the Arduino).         – Schematic created using   Then, I realized that the op-amp was probably just lowering the output impedance of the what's really just a voltage-divider with a JFET in place of one of the resistors, and I didn't need that because the Arduino has a much higher input impedance than the power-supplies I'll be testing, so I tried this ...          but I'm getting something strange. It looks like the AC component is getting affected by the gain-control input voltage, but not the DC component (see requirement 3). I clearly don't understand FETs like I should. Can someone either suggest some fixes to this approach, or suggest an alternative?


What should we do with "comments as answers" in review now?

The "comment, not an answer" comment in the Recommend Deletion box has had its title changed to "This is commentary on another post, not an answer". So how should we handle "comments to the current question posted as answers" in review now?


RegEx $0 substitution cannot manipulated (e.g. converted to upper-case)

Trying to understand why I cannot manipulate the $0 substitution value when working with RegEx in .Net Core. Here is my full code:     class Program     {         static void Main(string[] args)         {             var input = "part1-part2-part3";             var pattern = "-p";             var regex = new Regex(pattern);             var result1 = regex.Replace(input, "$0".ToUpper());             Console.WriteLine(result1);              //Output is this:             //part1-part2-part3             //Would expect this:             //part1-Part2-Part3         }     }  So why doesn't "$0".ToUpper() work here? And what would be way to achieve this in RegEx (capitalize all first letters after each hyphen).


My user icon, which I have used since my start with this site, changed. I know I do not use a personalized one, but I have gotten a sentimental attachment to it. Has the rendering been changed for a good reason?  I have attached the screenshot from my flair page which shows the original (purple) rendering, as opposed to the newer (khaki) one.    EDIT: I have digested the suggested question this is determined to be a duplicate of, and have this to add:   The account used on this site has, is, and continues to be, the same for my entire tenure. Using the 'Change your image' button on my profile page yields a suggested THIRD icon for the same account. I didn't choose it, because it's clearly the ugliest so far. If it must be changed through no input or choice of my own, I would (but shall not like it) stay with the khaki one.


How to fix MySQL anonymous account security issue?

How to fix this security issue on MySQL?  [!!] User '@localhost' is an anonymous account.


I have read about cosmological constant given by einstein in universe in nutshell as well as in general and special relativity. But still I am not able to understand the aim to use it or to introduce it. Can someone explain in brief.


Is root user the first user created during installation?

I have just started using using Linux and this is my first installation and one of the main things in the installation process is the user that you create.   Is the user that is created during the installation root? And if yes, is it same for every Linux distribution, i.e. first user being root?


Changing voltage levels from 5V to 3.3 V

I am asking some basic questions here. I have a sensor whose voltage specs are 0-5V and I have to interface this with my TI MSP430's ADC, whose voltage Vcc is 3.3V . For this I have to convert the level of the output of the sensor.   1) Can I accomplish this using a simple potential divider, that is, I use two appropriate resistors in series, and then tap the drop across one of them and feed that to the ADC?  2)If yes, then are there some additional things that I should look into?  3)If no, can someone suggest a suitable alternative?


Friends unable to connect to Minecraft Server: Connection Refused

I am creating a  modded forge minecraft server v 1.12.2, but my friend on a different network than mine cannot join. Here is the error he gets: io.netty.channel.abstractchannel$annotatedconnectexception: connection refused  Here are some things I have done so far:   Set my PC's IP to a static one Port forwarded my static IP with port 25565 (TCP/UDP) Disabled all firewalls on my PC (the one running the server, also tried having my friend disable his) Allowed the 25565 port through windows firewall by adding inbound/outbound rules (even though its disabled...) My friend is using my public Ipv4 (did not try public ipv6, it gives a long weird string of chars, and i've never connected to a server like this) tried connecting with just the ip, and ip:port methods. Tried using a laptop I own to connect to the server (using my phone's hotspot data) to simulate a different computer joining from a different network. It also gave the same error. I can connect to the server on the host PC fine, the server starts up when checking canyouseeme.org with my public ipv4 and the port 25565, it says "I could not see your service on ___ on port 25565. Reason: Connection Timed Out" I do not have any third part antivirus apps or anything of the sort installed (that i know of). also did not specify a server ip in the properties file of the server   I am not sure what to do now, and I am not sure why canyouseeme.org says the port is not open. I had the server running when I checked this.   Are there any other diagnostic tests I can do? The only thing I am not sure of is my static IP. I have it set to stay on whatever my PC was on at the time (ie. it is set to be an ip that is in the possible ranges of dynamic IPs on my network). I'm not sure if this is a problem, but I saw it mentioned once somewhere.


I am currently trying to review Low Quality Posts, but every time I flag a question, the flag gets submitted but it comes back with:     Error Occurred When Reviewing this Item     I then have to skip to get to next item, though my flag has been created.  This is occurring a lot, but the rest of SO is working correctly for me, and this used to work.    Is anybody else experiencing this issue?  Has something changed?   I am running:   Chrome 30.0.1599.101 OS X Mavericks     Update:  I have tested in Firefox on the same machine and can't reproduce. So either the error was intermittent or isolated to Chrome. I'm having to wait for more Low Quality posts to appear so I can test again in Chrome.    Update (2):  I have tested again in Chrome and the issue is still occurring.     Resolved:  Issue was caused by the local browser cache. It must have cached a broken script.


Why do sin(45) and cos(45) give different results?

This is something I wasn't expecting. I know these numbers are not 100% exact, but I wasn't expecting complementary angles giving different results of sin and cos: This following function returns 0.70710678118654746000000... sin(45 * PI / 180.0);  while this following function returns 0.70710678118654757000000... cos(45 * PI / 180.0);  so, it's: 0.707106781186547**46**000000... vs 0.707106781186547**57**000000...   and not only those... sin(1 * PI / 180.0) also returns a slightly different number than cos(89 * PI / 180.0) although they should be the same. Moreover it's not only a sin vs cos problem, it's also a sin vs sin problem: sin(1 * PI / 180.0) returns a different value than sin(179 * PI / 180.0), again they should be the same. I tried to use radians and not degrees, and there is exactly the same difference, I tried to use a small PI value, a huge PI value (around 100 decimals and more) and they're still different, I tried to use cmath instead of math.h, I tried to use M_PI instead of a PI defined by myself. The difference is always the same, around the 16th decimal. Don't get me wrong, I know I will never get a 100% precise value of these numbers, but AT LEAST I was expecting to get the same "imprecise" value of sin and cos of complementary angles. What the hell is wrong with all this?  I need them to be the same because the program I'm working on (a gravity simulator I was asked to do) uses objects that have double (I also tried float) variables which are basically angles (degrees or radians, I've tried both). Those are the directions the objects use to move, also I need the angles to calculate the interactions between the objects. The angles change in every iteration of the program, and in every iteration, the angles change basing on the calculations on the previous iteration's angles, so if there is any minimally wrong angle value at any point, that error gets amplified more and more in every iteration. The program runs thousands and even millions of iterations, so the value's error gets absurdly huge! To put it clear, planets eventually get out of their balance and everything becomes a disaster, I'm really mad :( P.s. I'm on Windows 7, 32 bits.


I want to use Ubuntu desktop edition for free in my organization. Do I have to pay for that?

I want to install Ubuntu desktop OS on all my laptops at work, So I don't want to invest for support and for OS as well. I heard that Linux is the free solution for operating system requirement generally, but I am seeing it converting in to a paid solution these days.   For using server OS or cloud we may have to pay. But isn't there any such thing which is completely free?


Two paths that show that $\frac{x-y}{x^2 + y^2}$ has no limit when $(x,y) \rightarrow (0,0)$

I'm having a difficult time trying to find two different paths that give me different limits  for the following:  $$\lim_{(x,y) \rightarrow (0,0)}  \frac{x-y}{x^2 + y^2}$$


Displaying a proprietary logo modified to match website style

I'm designing a blog that has a "Tags" page. I was thinking of displaying a modified logo for each tag.  For example:  Tag: CocaCola Logo: CocaCola logo modified  How legal is this approach?


Comments to make the answer more visible

Please have a look at . It has 4 answers, out of which 1 is deleted and another one has been posted by me. There is another answer which was posted a minute later after my answer.  Since I posted the answer a minute earlier and thus I got the early upvotes. The answer didn't get as many upvotes as mine. I'm really not sure if that is the reason, but the OP of that other answer seems to be commenting everywhere to get his answer noticed. Have a look at these comments. ,   &  .  I'm sure that the other answer is equally good as mine, or may be better also, but does it mean we should go around posting comments to the OP to get our answers noticed? Is it a good practice? Because I feel that as you've already posted the answer, the OP(and the other users) are bound to see that and if they feel its really helpful, they would certainly go ahead and upvote it so that its visible at the top. There really isn't any need to keep posting comments to get your answer noticed. Am I right about this?! Or getting our answers more visibility by comments everywhere is a practice followed on Stack Overflow(and if it, I really don't feel its nice).


How to get nodes from one .blend file into another?

I have two .blend files, and I want to get nodes from one into the other .blend file.


How to draw attention to a question without creating a bounty

I have  that was asked on a low traffic window (you can see it in the views) and was not answered yet. This is my first experience with a question not being answered almost immediately.  I was wondering if there was a way to draw attention to it without expending rep in a bounty (because it's not that it wasn't answered to my sattisfaction, it wasn't really answered) and without editing it to bump it to the front page (a practice I don't like)


If $o(G) = p^n,$ p a prime number, and H is a subgroup of G, show that there exists an $x\in G$, but $x\notin H$ such that $x^{-1}Hx = H$  How can I prove this?


I'm trying beamer for the first time (but have some experience with LaTeX).  I want to use \pause and number some problems, but the numbers increment when I don't want them to.  There must be a simple way to fix this, but I haven't found it yet. Here is an example of code  \documentclass{beamer} \usetheme{Madrid}  \newcounter{bar} \newcommand{\pbctr}{%    \stepcounter{bar}%     \thebar}  \begin{document}  \begin{frame}{Some examples and problems} \begin{block}{Problem \pbctr} \begin{enumerate} \item How many divisors does the number 2 have? \pause \item How many divisors does the number 4 have? \pause \item What is the smallest number with six divisors? \end{enumerate} \end{block} \pause \begin{block}{Problem \pbctr} \begin{itemize} \item Can I distribute evenly 30 apples amongst 5 children \pause \item Can I distribute evenly 33 apples amongst 6 children? \end{itemize} \end{block} \end{frame} \end{document}   Any help would be appreciated.  code


Creating a bootable Linux distro compatible with Mac OS X

I have downloaded the appropriate Linux distro (in this case ) and I have partitioned the USB with Disk Utility and attempted copying both the Fedora iso, and a Fedora iso converted to the Mac .img format.  When I booted (holding option key) the USB with Fedora didn't show up in either case in boot manager.  What needs to be done for Mac to consider the USB "bootable" and for it to be visible in "boot manager" when holding option key?


What is the geometrical difference between a line integral with respect to arc length and between a line integral with respect to a variable?

From my understanding the geometrical interpretation of a line integral simply is the area under a curve in a multidimensional space. I think this understanding of the geometrical interpretation corresponds to the line integral with respect to arc length, is this correct? What is the geometrical interpretation of a line integral with respect to a variable? If they have the same geometrical interpretation, then what is the difference between the two?


I am kind of new to using command blocks (especially NBT tags) but i want a thrown item to follow me and i tried to make an item (stone) have passenger XPOrb but i kept getting unbalanced square brackets and curly brackets and the command block is confusing me. Here's the command :  summon Item ~ ~1 ~ {CustomName:"Bob",CustomNameVisible:1,Item:{id:stone,Count:1},PickupDelay:1000,{Passengers:[{id:"XPOrb"}]}   I believe its just the end bracket but when i activate the command block i get this error :  [13:13:30] Data tag parsing failed: Unbalanced brackets: {CustomName:"Bob",CustomNameVisible:1,Item:{id:stone,Count:1},PickupDelay:1000,{Passengers:[{id:"XPOrb"}]}   I am very confused but i understand the problem it's just that the fix isn't working. The command itself may even be corrupt for all i know.


suid /bin/echo cannot write to elevated files?

If I copy aside /bin/echo, and chmod u+s'ing it as root, and then switching back to a weaker user, why can't I run /root/suidecho "something" > /usr/bin/passwd? (Permission denied)


How to find the inverse of $f(x) = x+\sin(x)$, analytically?  Well how should I proceed to find the inverse of $f(x)$? Basically I have applied graphical approach to solve the equation, but I want to know the inverse equation by analytical method.


Which package to use to get a content pane in the PDF file. I have attached a pic to show what I mean.


Allow floating images in Stackexchange Questions and Answers

The Stack Exchange engine uses  for questions and answers. You are allowed to . But with these allowed tags it is not possible to float a text around a small image.  Floating text around small images works great on questions that have large blocks of text with small images scattered throughout.  It would be great, if you would allow the align-attribute in img-tags. or some other solution.   Maybe with a limitation in width and height of the image.    Note: It already is possible to position small images inline.  Example: 100,00  (with the correct Bitcoin currency sign)


When I execute   which pip3   it points to   /usr/.../anaconda3/bin/pip3   However, when I run   sudo which pip3   the result is   /usr/bin/pip3   Where does this problem comes from and how do I achieve that sudo pip also points to /usr/.../anaconda3/bin/pip3?


How to prove the existence of $b$ in $Q$ such that $a<b^2<c$ in $Q$?

I would like to prove the existence of $b \in \mathbb Q$ such that $a<b^2<c$ for any given $a,c \in \mathbb Q$ with $a,c>0$  I want to use the statement above to prove a statement in a  I thought that '$b$' must be exist. But, in my opinion, $\sqrt{}$ can't not be used because $\sqrt{a}$ or $\sqrt{c}$  may not exist in $\mathbb Q$ for some $a$ and $c$.  I couldn't find a clue to prove the statement before the real number is constructed from $\mathbb Q$. Would you help me to prove that?  Thanks all for replying and pointing out errors.


Automatic word spacing for long chords writing

I currently making a songbook and thus I want to display chords above lyrics. I have found several packages but I want to improve my TeXing skills so I wrote everything from scratch.  Until now, everything works fine apart from one thing: some chords are too long and overlaps with the next one.  I have some way to do it, by explaining each time what text correspond to each chord (see the second part of the minimal example) but it would mean rewriting all song I already have. So I wanted to know if there was a way to automatically add space when needed, without having to specify which text correspond to which chord!  Here is a minimal example (the whole code is much longer but I don't think it's needed here):  \documentclass{article}  \def\ch#1{%   \leavevmode\hbox to 0pt{\vbox{\hbox{\strut\tt#1}\kern.25cm}\hss}% }  \begin{document}   \parskip.15cm    \ch{A}Lorem ipsum \ch{B}dolor sit amet, \ch{C}consectetuer \ch{D}adipiscing elit.    \ch{A}Ut purus elit, vesti\ch{B}bulum \ch{C}ut, placerat ac, adipiscing vitae, \ch{D}felis.    \ch{A}Curabi\ch{B7sus4}tur \ch{C}dictum \ch{D7sus4}gravi\ch{E}da mauris.    \bigskip   \textit{I would want to have something that look like this:}\par   \def\foo#1#2{%     \leavevmode\vbox{\hbox{\strut\tt#1 }\hbox{#2}}%   }   \foo{A}{Curabi}\foo{B7sus4}{tur} \foo{C}{dictum}  \foo{D7sus4}{gravi}\foo{E}{da mauris}.  \end{document}   which gives   Note: I know that this might not be possible on justified multi-line paragraph, but we only have flushed/centered paragraph here (or even single lines), so the space between words should be fixed (I guess?).


My vim snippet appear <++> every time i i use tab. I want to use tab completion, yet the <++> doesn't make any sense.  For instance, /title{<++>}. Is there a mapping feature in vim snippet i didn't know? or quick shortcut that i miss.


How can I send a message to myself in the past?

It is easy to send a message to myself in the future: I can put a letter in the post and will receive it tomorrow.  Can you think about a way to send a message to myself in the past; it does not need to be a complex message, only a bit of information would be enough.  Moreover, consider that money, physical resources, and manpower are infinite.


Allow me to marry text to a onebox in chat

Currently, oneboxing requires that the URL be the only thing in a chat message.  If additional text is added with the url in the same chat message, oneboxing won't work.  If other people are chatting, they can break in and divorce the onebox from the descriptive text:    Please fix chat in some way so that the descriptive text can stay with the onebox, without messages from other chat users breaking in:


Sorry, I am still a newbie on Linux, I was installing earlier some new DEs, I made fresh installation of Ubuntu 13.04, installed, then added KUBUNUTU-DESKTOP, LUBUNTU-DESKTOP and GNOME...  then when I wanted to test my new KDE things were kinda, weird instead of the normal KDE 4.10.5 desktop I mean the place with the wallpaper, short-cuts and widgets are, I got this weird looking thing, that is like a blue outdated ugly version of the old gnome 3 dash....  I want back my default desktop....  any ideas? Dx  Screenshots attached below:  WHAT I GOT:   WHAT I WANT (BACK):


How can I install Ubuntu on my Lenovo Yoga 500 Laptop? Is there a better way than a virtual machine? I have to use Ubuntu for my work.


How does the communicator work in Star Trek

After re-watching most of the old Star Trek shows, I noticed something after many episodes. When they communicate in the show most times they hit their communicator, after responding the receiver of the original transmission would just stop speaking to the transmitter. My question is do the communications just stop or is there a length of time the communications stay open. I have seen in some episodes that they receiver will hit the comm badge again to end the communication.   It seems that there would be a standard to adhere to in Starfleet, but the task seems so erratic in the shows.


I have one user on WP website. I want to give him editor role because he need to edit pages and as I see -  requires user to be at least editor. The problem is that i want to limit list of pages and posts that he can edit. How it can be done?


Logical explanation why exponentiation operation is not commutative and associative

Considering Peano axioms we'll define addition, multiplication and exponentiation operations.  We can then prove that addition and multiplication operations are commutative and associative. The proof for addition operation is pretty straightforward but for for multiplication it a bit more difficult. For example, to prove associativity, we have to prove distributivity first.  Moreover, for the definition itself it is not obvious that commutativity should take place, because the definition is not symmetric.  $a \cdot 0 := 0$  $a \cdot S(b) := a \cdot b + a$  Here $S(b)$ is the "next" function from Peano axioms  This definition is not symmetric with respect to $a$ and $b$, so commutivity is not obvious.  For exponentiation operation neither commutivity nor associativity take place. And I am very curious about the logical explanation why that happens  NOTE: The explanation I am looking for is somehow similar to a Abel–Ruffini theorem which explains WHY there is no an algebraic solution for a general polynomial equation


What happens to the target of a Reduce spell if they are in a small container when the spell wears off?

Let's say that a Medium-size creature is targeted with the reduce part of the  spell, and therefore reduced to a Small size, before being locked inside a container only just about large enough to fit them. What happens to them & the container when the spell ends?  The rules are pretty clear on what happens if you Enlarge into an area that is too small, but not on what happens when a Reduce wears off. If it was adjudicated the same way it effectively gives Reduce an infinite duration, which doesn't seem right.


How can I set cron to run certain commands every one and a half hours?


How do I add an application to the dash?

I just installed Oneiric Ocelot, and I can't figure out how to add an application, which is stored in my home directory, to the dash. I can create a launcher, but I want it in the dash also.


When was the sword Narsil reforged into Anduril in the books?

Yesterday I re-read the scene from the Two Towers where Aragorn meets Eomer on the plains of Rohan. When Aragorn introduces himself he announces himself as Isildur's heir as well as presenting Anduril since it had been reforged.    In Peter Jackson's movie series the sword is not reforged until The Return of the King when Arwen is dying and Elrond brings the sword to Aragorn so he can summon the Dead Army.    When is the sword reforged in the books?   Is it before the fellowship sets out? This seems like a huge change to the story line, why would Peter choose to create such a discrepancy?


Can you protect and then unprotect your own questions?

I read the guidelines and and if I understand it correctly users with at least 15,000 reputation can protect or unprotect any question at least a day old. I cannot find out anywhere if this also applies to your own questions and if you don't meet the 15,000 reputation qualification. It would make sense that the original poster of a question should be able to remove the protection. Is this the case?


When is it appropriate to use "scare quotes"?

For example, is putting scare quotes around "scare quotes" appropriate?   says the term means usage of quote marks "to indicate that [a word or phrase] does not signify its literal or conventional meaning," which seems a bit off the mark.  Further on, the entry says "scare quotes may indicate that the writer does not accept the usage of the phrase (or the phrase itself), that the writer feels its use is potentially ironic, or that the writer feels it is a misnomer. This meaning may serve to distance the writer from the quoted content."  Better, but still offers minimal guidance on usage.    The question arose in my mind today when reading this phrase in the : "...said Vint Cerf, Google vice president and "'chief internet evangelist.'"  I'll admit the title is a bit odd, but it's official (even capitalized) .  In this case the usage of scare quotes seems off base.


How can I setup an array variable in a DOS batch script?  I would like to load it with a list of file names to process.  I really would like to keep this as simple as possible.  Thank you.


Viewing all my questions from Android app

I know there is a way to view all my questions in reverse chronological order from the PC by going to my profile. But I would like to do the same from the mobile app for Android. On Android in the left upper hand corner I can only see the latest answers to my posts, but I would be able to view all my posts.


Cannot boot Windows 8 after installing Ubuntu 14.04

I am a beginner with Linux and I had a bad inspiration to try a quick Ubuntu installation without reading properly about it first.  I found a tutorial and have installed Ubuntu on my laptop (Gateway NV56R30u) alongside preinstalled Windows 8. I made a recovery disk first of my Windows 8 and saved it on a 8GB USB flash drive (it used 2.6 GB of it).  The installation of Ubuntu went flawlessly. After reboot it started with that screen with Ubuntu logo on it, but no GRUB screen as expected, where there should have been the option to choose between Windows and Ubuntu. I tried to find a solution for my problem and found that I need a Boot Repair. I used boot repair several attempts but it partially solved my problem. I now start with a GRUB welcome screen, but there is still no option to choose Windows.    Here you can also see my .  Analyzing what I've done wrong I found that I made a huge mistake with partitioning. I have a 1TB HDD, which I have partitioned as shown in the below screenshot. I believe I am the only idiot on this planet who has ever done this.    I could use the recovery drive to backup Windows, but I've got these questions, which may look stupid, but I would appreciate some good answers:   How bad can affect my data from HDD my "genius" way of partitioning? Is it reversible?   Considering the way I have done the partitioning, if I decide to use the recovery drive to repair Windows, what are my chances to have a good result, without losing all my data? I think it's a pipe dream.   I have searched lots of forums and I realized that the TestDisk application may help me to figure out if I have messed up my hard disk. After using TestDisk I've got some results (you can see them in this ), but I don't really know how to interpret them.  Ideally I would have these priorities to solve this problem:   Plan A: It would be great to make the dual boot work, so I could use both systems.   Plan B: In case plan A fails, I then prefer to come back to Windows and to be able to recover at least drive D (with the most important data) and C, if possible.  Plan C: To recover the major part of my data.


I'm using SPOMOD and have used it in the past, but I think it might be broken forever. I'm getting the following error when trying to connect:  Exception calling "ExecuteQuery" with "0" argument(s): "Cannot contact web site '' or the web site does not support SharePoint Online credentials. The response status code is 'Unauthorized'. The response headers are 'X-SharePointHealthScore=0, SPRequestGuid=5aa8a59d-8092-2000-15b6-124fb12347a3, request-id=5aa8a59d-8092-2000-15b6-124fb12347a3, X-MSDAVEXT_Error=917656; Access+denied.+Before+opening+files+in+this+location%2c+you+must+first+browse+to+the+web+site+ and+select+the+option+to+login+automatically., MicrosoftSharePointTeamServices=16.0.0.5708, X-Content-Type-Options=nosniff, X-MS-InvokeApp=1; RequireReadOnly, Content-Length=0, Content-Type=text/plain; charset=utf-8, Date=Tue, 20 Sep 2016 16:06:01 GMT, P3P=CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI", Server=Microsoft-IIS/8.5, X-Powered-By=ASP.NET'." At C:\Users\jfedorowicz\sharepoint\SPOMod.psm1:3209 char:3 +   $ctx.ExecuteQuery() +   ~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException     + FullyQualifiedErrorId : NotSupportedException    Any idea?


Configure VirtualBox to connect to Internet through proxy

I'm currently trying to run Chrome OS in VirtualBox 3.0.1. Windows XP Pro is the host system.  The actual behavior is Chrome OS starts up fine, reaches the login screen.  Once so, when trying to log using my Google account, I have the network indicator (at the bottom of Virtual Box window) briefly flashing, showing a connection attempt. Nothing happens then, the display stays on the login screen.  The fact that the network indicator flashes makes me think this may be a proxy configuration issue. Indeed, I'm using a proxy to access the Internet from Windows. I guess such a proxy should be configured for Virtual Box as well, but couldn't find anything on the Internet not implying an actual modification of the guest system (for instance,  kind of solution isn't working for me, as it implies accessing to the guest system, what I can't)...  Does anyone have any clues or ideas on how to configure Virtual Box (and maybe Windows XP) to have this working?  Chrome OS version: 999.999.32409.000656, Developer Build Fri Nov 20 00:07:42 UTC


How do you get an object's position and rotation through script?

I'm working on a project that requires me to get some of the position and rotation values to give to an Arduino via pyserial, but after sifting through the Blender documentation I can't find how to get them through script.


How to Buffer with Dissolve ALL on very large polyline dataset?

So I have a fairly large polyline network covering a decent chunk of North America, containing just shy of 900,000 table records. I want to do some very simple "GIS 101" kind of processing to it -- I want to buffer everything with the "Dissolve" parameter set to "ALL".  Well, unsurprisingly, this is way more than ArcGIS is ready to take on, even w/ 6 GB RAM & with everything in a geodatabase. I know the "Dissolve" operation is more prone to running out of memory in such cases than "Buffer", so I tried to run "Buffer" without "Dissolve = ALL", but even that will not generate a usable output (the file exists but won't draw or reveal its attribute table). And, in any case, I am sure the subsequent "Dissolve" would hang.  Here's what I've tried:   Breaking up the network into smaller pieces. Well, this seems like a non-starter, because I need to make sure I don't cut any line segments apart in doing so. Of course selecting polyline segments sequentially from the attribute table will just select random pieces of polylines all over the place, shredding the integrity of the network.  I'm not sure how to break it up programmatically such that no connected pieces are broken apart. Running the buffer & dissolve in QGIS, based on some hearsay that it was better at handling large datasets. Like ArcGIS, it also just hung there forever. Importing everything into R with the "maptools" package and seeing if I could do it there. The data is so huge I couldn't even read it in within a reasonable time span.   There's a whole lot of talk out there about this kind of situation, but it always ultimately ends with "you need to find a way to break up your large dataset." I'm not really sure how this can be done cleanly with a huge network of stream polylines, barring some crazy Python script that can tell, for each polyline segment, which ones it's connected to, and select those only, until the entire spatially discrete sub-network is selected, write that to a single feature, & then move on to the next such sub-network.  This seems absurdly complex as a workaround for very simple processing on a not-even-all-that-big dataset (though I'll try it if I have to), but can anyone tell me how I can get this thing buffered?? Other software / workarounds / magic incantations / human sacrifice?? (And there'll be yet more steps after the buffer/dissolve, which would be no sweat with smaller data but will probably cause a minor earthquake if I try them with this beast).  EDIT :  After exploring this much more in-depth, I feel this question hasn't been adequately addressed by the duplicate question or the main suggestions here. Here's why:    The Dice tool appears to be for reducing the number of vertices in individual features? I don't have individual streamlines with >3,000 vertices, but in any case, I've used Dice with a vertices limit of 100, and still cannot run the dissolve.  Breaking the streams into 100 pieces and dissolving each one requires an "uber-Dissolve" at the end to combine the pieces, which will have buffers overlapping with one another. This "uber-Dissolve" experiences the same memory failure as the original approach, even though there is much less to dissolve after the 100 pieces have been processed. So this approach indeed doesn't seem to work, though for a completely different reason than what I stated earlier.   It seems PostGIS has implemented an approach called "cascaded unions" that addresses this general problem, which will be fun to explore, but in the meantime I was hoping for an ArcGIS-/Python-/QGIS-based solution.


Proving $\frac{1}{\sqrt{x}}\ge \frac{2}{x+1}$ for $x> 0$

Prove: $$\frac{1}{\sqrt{x}}\ge \frac{2}{x+1}, \quad\forall x>0$$  Yeah, pretty much it. I've tried all manner of rearranging and just can't seem to get it. Thanks.


i'm using ubuntu 14.10 utopic beta 2 (waiting for the officiel release) i've two partitions (FAT32) where i save my documents.. i would like to make those two partitions starts with boot.more clearly, to mount them when the system start... i hope my question was clear. Thanks !


What if 2 answers are essentially the same?

Look  to see what I mean? Should I ask one of these guys to delete their answer (and merge whatever detail is missing into the other answer)? I'm aware of this , but it's a little different.


How do you copy the contents of an array to a std::vector in C++ without looping?

I have an array of values that is passed to my function from a different part of the program that I need to store for later processing.  Since I don't know how many times my function will be called before it is time to process the data, I need a dynamic storage structure, so I chose a std::vector.  I don't want to have to do the standard loop to push_back all the values individually, it would be nice if I could just copy it all using something similar to memcpy.


How can I add an account to the sudo list?

I tried using this command in the terminal:sudo adduser liam sylvester sudo but all it says is "Only one or two names allowed." My version is 12.04. Does anyone have a solution?


Auto-decrypt disk on startup? (retrieving password remotely?)

I installed Ubuntu 16.04 LTS and chose to do full disk encryption as well as home dir encryption.  At startup, I'm asked Please unlock disk sda3_crypt and I have to manually enter the disk decryption password.  I there a way to auto-mount this, i.e. by specifying the password in the boot script somewhere? (not sure about the right terminology for this) I understand this would nullify any security.  Also, is it possible to retrieve the password from a remote URL, and use that to unlock the disk and continue booting automatically?  Note that I don't want to fully disable disk encryption. I wish to keep the option to re-enable it in the future. Furthermore the retrieve password remotely option (if that's possible) would allow for other possibilities, such as enabling/disabling it remotely, or preventing someone can steal the disk or machine and access it from somewhere else.


Unable to connect wifi on ubuntu 16.04 from my asus tp 200s

I have just installed ubuntu 16.04 on an asus tp200s and the wifi is not working, it cannot even see networks.  my output of lspci is:  00:00.0 Host bridge: Intel Corporation Device 2280 (rev 21) 00:02.0 VGA compatible controller: Intel Corporation Device 22b1 (rev 21) 00:0b.0 Signal processing controller: Intel Corporation Device 22dc (rev 21) 00:14.0 USB controller: Intel Corporation Device 22b5 (rev 21) 00:1a.0 Encryption controller: Intel Corporation Device 2298 (rev 21) 00:1b.0 Audio device: Intel Corporation Device 2284 (rev 21) 00:1c.0 PCI bridge: Intel Corporation Device 22c8 (rev 21) 00:1c.2 PCI bridge: Intel Corporation Device 22cc (rev 21) 00:1f.0 ISA bridge: Intel Corporation Device 229c (rev 21) 00:1f.3 SMBus: Intel Corporation Device 2292 (rev 21) 02:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 30)   And my output of lspci -nnk | grep 0280 -A2 is:  02:00.0 Network controller [0280]: Qualcomm Atheros Device [168c:0042] (rev 30) Subsystem: AzureWave Device [1a3b:2231] Kernel modules: ath10k_pci


Will I be paid a percentage of the fee that readers pay to download my article?

I am a fresh PhD student and I have a question regarding the scientific publication process.  Let's say that I have submitted a paper to a certain journal in Springer, Elsevier etc... and it has been published.  The editor will charge 31.95$ to anyone who would eventually download my article.  How much do I get from it (as the article's writer) ?


Numbering figures and tables by their section

I am having trouble formatting my list of figures and list of tables.  Currently, my tex document is printing the list in the following manner:     1 Foreign Key Constraint Problem Due   to Improper Table Design. . . . 3      2 Application Flow of Territory   Maintenance Tool. . . . . . . . . . .   . . 4   But I want to number figures by their sections:     3.1.2 Foreign Key Constraint Problem Due to Improper Table Design


Calculate $\lvert A \rvert$ if $a_{ij}=0$ if $i=j$ and $1$ otherwise

Let $n$ be a positive integer and let $A=[a_{ij}] \in M_{n\times n} (R)$ be the matrix defined by   $a_{ij}=0$  if $i=j$     $1$ otherwise  To be honest, I've only calculated determinants of matrices with numbers, nothing like this.


Evaluate $\lim_{n \to \infty} \frac{1}{n}\int_{0}^{n}\frac{x\ln(1+\frac{x}{n})}{1+x}dx$

I'd like to find      $\lim_{n \to \infty} \frac{1}{n}\int_{0}^{n}\frac{x\ln(1+\frac{x}{n})}{1+x}dx$   I am wondering if it is true that it converges to $\ln2$?  thanks in advance


I found some text, which has weird (for me) usage of auxiliary verb - do:     Although C# doesn't strictly speaking have a pre-processor, it does have conditional compilation symbols which can be used to affect compilation.   I cannot understand correctness of this phrase. I thought that correct variant is:     it has


I had a problem with the laptop lid so I am using it with an external monitor. I was wondering if there is any way to power on the laptop without opening the lid, that is through ports.  Laptop: Dell Inspiron 1525


I see that df reports a 100% disk usage for a file system. How can I see which folder is eating the disk space?  [root@rocks7 mahmood]# df -h Filesystem                     Size  Used Avail Use% Mounted on /dev/mapper/rocks_rocks7-root   50G   48G     0 100% / devtmpfs                        32G     0   32G   0% /dev tmpfs                           32G     0   32G   0% /dev/shm tmpfs                           32G  9.3M   32G   1% /run tmpfs                           32G     0   32G   0% /sys/fs/cgroup tmpfs                           16G   32M   16G   1% /var/lib/ganglia/rrds /dev/sda1                      976M  709M  201M  78% /boot tmpfs                          6.3G   12K  6.3G   1% /run/user/42 tmpfs                          6.3G     0  6.3G   0% /run/user/1000


Is there any difference between:  public class user {            public string Name { get; set; }   }   And:  public class user {            public string Name;   }   ??? Thank you


Accidentally screwed up permissions big time -- what should I do?

I'm not very experienced with Linux and I made a big, big mistake. I ran the following command:  chown -R [ftpusername]:[ftpusername] /   I meant to run this:  chown -R [ftpusername]:[ftpusername] ./   See the problem?  I tried to correct my mistake by changing the owner of all files to root:  chown -R root:root /   Now I'm getting permissions errors when trying to access my websites, but my biggest concern is that I want to make sure I haven't caused any security vulnerabilities here.  Questions:   Was changing ownership of everything to root the right thing to do? I think running chown caused some of the folder and file permissions to be changed. Is that normal? Would this cause any security vulnerabilities?


I always got error. When i execute hostapd command. I was changed everything in my hostapd.conf file but i got error.  hostapd_cli wps_pbc Failed to connect to hostapd - wpa_ctrl_open: No such file or directory  Can anyone help to me.?


Android app needs help and new user guidance

This is a partial duplicate of , but I think just asking for help doesn't go far enough.  Yes, it would be great if the app included all of the normal sites' help centers, presumably with a lot of content modified to reflect how to do things in the app, and maybe some more generic "how do I use the app?" content.  But that's a big project, and there are people trying to use the app now. Today on cooking we had a new user come to us, really concerned about all the unwritten rules all the self-declared moderators kept enforcing, asking  We need to make sure the app is "safe" for these users too. (And they posted it on the main site, begging for it to be left open for a day or two to get answered, since they hadn't discovered meta through the app!)  So to be specific, the help page in the app needs a few things:   a pointer to site-specific metas, for questions about rules a disclaimer that the app does not have all the features pointers to help centers (making it clear that each site has their own)   And on top of that, the app could probably use some kind of louder warning that it does not yet have all features, and you might have to visit the real site - maybe even the dreaded interstitial page.


I am running Ubuntu 16.04 LTS and it was working fine. There was not any issue with the display. But today morning when I turned on the laptop from sleep, it has started to display a white grainy background around the dialog boxes and the corner buttons (close, minimise, and maximise buttons) are not visible. I can see some sort of change in the grain pattern in the position of the buttons when I place the mouse over the buttons. The buttons are working though.    The display around it is fine, as you can see.


While read -r line, cannot access $line from within a if within this while loop

I was trying to read a file line by line(each line is a hostname), do some processing like this :   while read -r line do    if ping -c1 $line      echo $line is running     fi  done <file.txt    I found that the out put is like this:     is running   is running    ...   As if the variable $line is empty.  Thanks to all who commented this question.  I think I now understand what happened.  So the file has CRLF line ending. And the length of a line is exactly the same as is running.  Because of the CR character at the end of $line, the content of $line gets completely overwritten by is running. If only the length of a line is longer, I would have asked the question differently.


Image not showing up when using figure environment

I want to add an image to my paper but I have a problem.  When I add the image with just \includegraphics[]{} tag, everything works fine, and the picture shows up when I compile my document.  When I use \begin{figure} \includegraphics[]{} \end{figure} - syntax the image does not appear in the compiled document.   The relevant part of my header include is :   \usepackage{graphicx}  \graphicspath{ {pics/} }   And later on I add the image with this block:  %This does not work  \begin{figure}   \centering     \includegraphics[width=.4\textwidth]{generalPolya}   \label{generalPolya} \end{figure}    %This works  \includegraphics[width=.4\textwidth]{generalPolya}   I guess it's some sort of issue in the graphics package, but I've copied the setup from a previous paper I had, so it should work. Any ideas on what's wrong? Thanks in advance.  Edit:  Thanks for all the responses. I created a minimal working example. Apparently multicols messes with the figure tag:  \documentclass[]{article} \usepackage{multicol} % Used for the two-column layout of the document \usepackage{amsmath} \usepackage{graphicx} \graphicspath{ {pics/} } \title{\vspace{-15mm}\fontsize{24pt}{10pt}\selectfont\textbf{Lorem ipsum}} % Article title \begin{document} \maketitle % Insert title \begin{multicols}{2} % %This does not show up \begin{figure}[h]     \includegraphics[width=.4\textwidth]{generalPolya} \end{figure} %This shows up. \begin{center}         \includegraphics[width=.5\textwidth]{chair} \end{center} \end{multicols} \end{document}   What shows up after compiling the document is this    What is wrong with this syntax?


How do you do AppBar docking (to screen edge, like WinAmp) in WPF?

Is there any complete guidance on doing AppBar docking (such as locking to the screen edge) in WPF? I understand there are InterOp calls that need to be made, but I'm looking for either a proof of concept based on a simple WPF form, or a componentized version that can be consumed.  Related resources:


I'd like opinions on the use of articles with product names. It seems to have become a fashion in recent years to omit the article (“the”, "a", "an") before the name of a product – I noticed it first on Apple products. (“You should know that iPad is made of plastic, unobtanium and a little piece of Steve Jobs’ soul”). I made that up, but Google found these in Apple's documentation: "Before using iPhone, review the iPhone User Guide" "To use iPod classic, you put music, videos, photos, and other files on your computer and then add them to iPod classic." "If you connect iPod classic to a different computer..." In each case I'd have written "the iPhone" or "the iPod" or "an iPod". Does anybody know if this is anything more than an affectation? Is it the result of a ruling on trademarks or something? Or has the language changed while I wasn’t paying attention? (I'm a native English speaker in late middle age.)


Simple related rates derivative question

Rafael is walking away from a $12$-ft-tall lantern at a constant speed. If the tip of Rafael's shadow is moving twice as fast as he walks, how tall is Rafael? I'm confused on the step where $dL/dt = 2dx/dt$. If we're looking at how fast the shadow is compared to his walk wouldn't we be comparing the derivative of s to the derivative of $x$ because $L$ is the whole distance including how much Raphael walked plus his shadow length?


$f$ is a continuous continuous on $[0,1]$, differentiable on $(0,1)$, and $f(0)=0, f(1)=1$.   (a) There exists $d_1 < d_2$ in (0,1) such that $ \frac{1}{f'(d_1)}+\frac{1}{f'(d_2)}=2$  (b) There exists $d_1 < d_2$ in (0,1) such that $f'(d_1).f'(d_2) = 1$


I want to place a dot after the numbers of sections, subsections, and subsubsections

My goal is as stated in the question title. There are other questions addressing this, but the answers selected, as best I can tell, don't get along with my other existing code, which is summarized below.  \documentclass[11pt]{article} \usepackage{amsmath,amsthm,titlesec} \numberwithin{equation}{section} \newcommand{\periodafter}[1]{#1.} \newcommand{\presectionskip}{-1\baselineskip} \newcommand{\postsectionskip}{0.3\baselineskip}  \makeatletter     \renewcommand{\section}{\@startsection         {section}{1}{0mm}%% name, level, indent         {\presectionskip}% % beforeskip         {\postsectionskip}% % afterskip         {\normalfont\LARGE\bfseries}}% % style     \renewcommand{\subsection}{\@startsection         {subsection}{2}{0mm}         {\presectionskip}         {\postsectionskip}         {\normalfont\Large\bfseries}}     \renewcommand{\subsubsection}{\@startsection         {subsubsection}{3}{0mm}         {\presectionskip}         {\postsectionskip}         {\normalfont\normalsize\bfseries}} \makeatother  %\usepackage[font=bf]{caption} %\titleformat{\section}{}{\thesection.}{1ex}{\periodafter} %\titleformat{\subsection}{}{\thesubsection.}{1ex}{\periodafter} %\titlelabel{\thetitle.\quad}  \begin{document} \section{Good section}\label{sec:refl} \subsection{Superior subsection}\label{tableworks} \subsubsection{This, the best of all subsections} \end{document}   Thanks for any ideas on how to get this to work.


Decimal numbers not adding correctly in AS3

In my program, I have a score multiplier variable of type 'Number' When I try to add 0.1 to it, I have a problem. Here is the code:  scoreMultiplier += 0.1; trace(scoreMultiplier);   scoreMultiplier is originally set to 1, and after the first run through, I correctly get a value of 1.1. However, the second time, the trace shows 1.2000000000000002, and the next time 1.3000000000000003.  There is no other code which modifies scoreMultiplier. This is a problem, first because it is shown on my game screen and goes off the screen, and second because if conditionals where    scoreMultiplier==2    for example do not work due to the bizarre fault in the addition.  If anyone knows what's causing this, or at the very least how to truncate the value to 1 decimal place, that would be great.


Could a larger block size increase the security of the block cipher?

I want to know if a larger block size increase the security of the block cipher?


Invoke Method with Linq Expression Parameter

I have method:   public IFluentBuilder<TValue> Setup<TValue>(Expression<Func<TOptions, TValue>> selector)   That I can call with:   Setup(obj => obj.Property).DoSomething()   How can I call DoSomething, a member of IFluentBuilder, through reflection when I have a FieldInfo or PropertyInfo, and MethodInfo.


Where can I download Ubuntu Server 12.04 or 14.04?


Assigned value to variable in function, variable undefined after function call

What i want to do is have a function which checks some conditions and assigns a value according to which condition is true. But the variable assignment in the function does not affect the value outside. (Scopes)  While the following code won't work, is there any way to not have to write the if-elif block again and again?   def calc():     if o==1:         z=x+y     elif o==2:         z=x-y  calc() print(z)


Accumulation points of the set $S=\{(\frac {1} {n}, \frac {1} {m}) \space m, n \in \mathbb N\}$

The exercise is to find the accumulation points of the set  $S=\{(\frac {1} {n}, \frac {1} {m}) \space m, n \in \mathbb N\}$  I'm trying to prove that if $A$={accumulation points of the set $S$}, then $A=\{(0,0), (\frac {1} {n},0),(0,\frac {1} {m}) \space n,m \in \mathbb N\}$. I could prove that the set of the right side of the equality is included in $A$. I don't know how to prove the other inclusion, which means that if $x$ is an accumulation point of $S$, then $x$ has to be $(0,0)$, or of the form $(\frac {1} {n},0)$ or $(0,\frac {1} {m})$.


A month back I have transitioned from Windows to Linux and I have utopic installed in my system. No complaints till now! :D  What I wanted to know was as this is not an LTS release, will I face security problems after development for utopic is stopped this year?


Let $g : A \to B$ and $f : B \to C$ be functions. Let $f \circ g$ be onto. Are both $f$ and $g$ necessarily onto?

What would the steps be for someone new trying to learn how to solve this? I feel like I understand the concepts and what they mean but not how to prove it. Thanks


Integer solutions to $ n^2 + 1 = 2 \times 5^m$

What are the integer solutions to the diophantine equation   $$n^2 + 1 = 2 \times 5 ^m? $$  We have $(n,m) = (3,1), (7, 2) $ as solutions. Are there any more?    This seems like it would be a well known diophantine equation, but I can't seem to find any information about it.


Horizontally-aligning text of different sizes

I would like to left-align two nodes which contain text of different size such that the exact left of the small text is aligned to the exact left of the large text. What I'm finding is that there is a small but noticeable gap between them:    What I would like is something like this, which was obtained by opening the PDF in Inkscape and using the align tool:    A small difference, certainly; but I am particular. Is there any better way of aligning the text as such than doing it manually?  The above example was generated by the following code:  \documentclass{article}  \usepackage{tikz}  \begin{document}  \begin{tikzpicture}     \usetikzlibrary{positioning}      \node[anchor=text] (largetext) {         \Huge Large text.};     \node[below=.4cm of largetext.text, anchor=text] (smalltext) {         \large small text.};      \draw[red] (largetext.text) ++ (0,.7) -- (smalltext.text); \end{tikzpicture}  \end{document}


Is there a limit of characters a command in a crontab could be ?  I have a crontab with a 178 characters command and it seems to be truncated at 164 when executed. I can tell this number from the e-mail I receive and from the vi colors changing from that point.  So, is it an "official" limitation ? I can't find any documentation about this.


Mistakenly gave 'git reset --hard origin/master'. How to undo this?

After that When i run this 'git reset HEAD@{1}' It shows 'Unstaged changes after reset:' followed by all my files including lost files. What should be my next command to recover the lost files?


Show that $\mathbb{R}$ cross $\mathbb{R}$ is equinumerous to $\mathbb{R}$

I need help showing that $\mathbb{R}$ cross $\mathbb{R}$ is equinumerous to $\mathbb{R}$.  I know that you need to show a bijection, however need help on that part.


How to create a rounded beamer block with the title starting a bit forward than the left margin?

I've been trying to figure out what beamer template this presentation is in, but none of my tries (and searches) have come to a success. What I'm really interested in this template is actually the block types that they have used.  These blocks have rounded edges, and their titles don't start at the beginning of the left border, but a bit forward. Can you guys help me figure out what theme that is, or maybe how to replicate it?


What is derivative a of a continuous function such that $f(x+y) = f(x) +f(y)$?

Let $f: \mathbb{R} \to \mathbb{R} $ be a continuous function with $f(x+y) = f(x) +f(y),\forall x,y\in \mathbb{R}.$   Find $\frac {df} {dx} $, if it is exist?


How can I find files NOT matching a specific extension in Windows XP?

I need to find and delete all files in subdirectories that are not .SQL files. I can't figure out how to search for <>.SQL or !.SQL in Windows Search.  Most of the solutions that I've seen here are to find specific extensions and do something with them. I'm looking for the opposite.


“Does the university have” or “Does the university has”?

I do self-study for some English exam and this is a sentence from some online resource, which I suppose to listen and write down.   "Does the university have an ice-hockey team?"   In my opinion, since the university is singular, the word 'have' should be replaced with 'has'.   Please enlight me if I am wrong.


How to make pgfgantt scale to specific widths in the page? (ex. textwidth)

I'm trying to use pgfgantt to create a gantt chart for a project spanning many weeks, thus the following code would overflow through the right margin. I can't find a way to alter the size of the grid elements or time slots:  \begin{tikzpicture}[x=.5cm, y=1cm] \begin{ganttchart}% [vgrid, hgrid]{50} % 50 weeks \gantttitle{Title}{12} \\ \ganttbar{Task 1}{1}{4} \\ \ganttbar{Task 2}{5}{6} \\ \ganttmilestone{M 1}{6} \\ \ganttbar{Task 3}{7}{11} \ganttlink{4}{2}{5}{3} \ganttlink[b-m]{6}{3}{6}{4} \ganttlink[m-b]{6}{4}{7}{5} \end{ganttchart} \end{tikzpicture}   My former question above, however here's a new angle...  How can I make pgfgantt scale everything by limiting its size to specific parameters? ex. I want it to span the full textwidth of the page or the full width save for the margins.


Find the limit expressing it as the limit of integral sums of a proper chosen function.   $$ \lim_{n\to\infty} \frac{1}{n} \sqrt[n]{(n+1)(n+2)...(n+n)}$$.  I know that the idea to choose the specific points $\xi_{k} \in [x_{k-1}, x_{k}]$ is to choose the start or end point of the subinterval $(\xi_{k} = x_{k-1}$ or $\xi_{k} = x_{k})$, or the subintervals middle point $(\xi_{k} = \frac{x_{k-1}+x_{k}}{2})$.   Still I do not any clue how should I approach the problem and how should I finish it. Any help will be greatly appreciated. I hope the problem is understandable after translating it from Swedish to English.


I have a shapefile with polygons. And I have a csv file with points. Now I want to know for each point in which polygon it is situated. Every polygon has a number, so I want to create a file where you can find for each point the number of the polygon it is located in.


I am asked to prove that:       For integers $n, x,y > 0$, where $x,y$ are relatively prime,        every $n \ge (x-1) (y-1)$ can be expressed as $xa + yb$, with nonnegative integers $a,b \ge0$.   How should I approach this? I have very limited knowledge in number theory.


What is the meaning of $C^{op}$ if $C$ is a category without inverses?

I have read the definition of the opposite category in the abstract, but I don't understand it's interpretation, and the internet didn't help me.  If $C$ is a category where very morphism has an inverse (a groupoid), then I can imagine an interpretation of the opposite category $C^{op}$: We simply swap each function with its inverse.   But what if we have say, a category $C$ consisting of two objects $0$ and $1$, namely $0$ is the empty set, and $1$ is a set containing one element. Then there is one function from $0$ to $1$, and no functions from $1$ to $0$. Apart from the identity functions there are no other morphisms in this category.  What is the opposite category $C^{op}$ here? It is a category with a morphism from $1$ to $0$, but this morphism cannot be a set-theoretic function, so what does this morphism represent?   How do we interpret this opposite category? Is there necessarily a fixed interpretation?


Differentiation using first principles with rational powers

I have a question that is highly similar to this one:  However, I'm not sure how to do this when fractional powers are involved. I understand that the answer involving the binomial theorem shows this for fractions too, but I'm not sure how to go through the mechanics of it all. For example, when trying to differentiate $\sqrt{ax+b}$, I get to   $$ \lim_{h \rightarrow 0}  \frac{\sqrt{a(x+h)+b} - \sqrt{ax+b}}{h} $$  then can't get the $h$ to cancel out. I think this involves algebraic manipulation of some sort, but can't figure it out.  Thanks


Stop a click on "add comment" failing "known good" audits

After failing another audit, I really believe that comments on audits should be considered a neutral action, just like how clicking the link to the full question/answer is not considered. The logic used is equivalent to "you don't need to see the full question if it's good enough, it should be obvious", which is just complete baloney and completely unnatural, opposite to what a normal person would do. Please change the logic of "known good" review audits - it unfairly attacks legitimate reviewers while it does not do much to lower robo-reviewing. Here's the typical example of such an audit:        As a result of this audit, I got a suspension from the review queue, which I believe is flawed and does not match how genuine reviewers actually would behave in situations such as these - which ultimately is the basis of this feature request.


The Difference between One Hot Encoding and LabelEncoder?

I am working on a ML problem to predict house prices and Zip Code is one feature which will be useful. I am also trying to use Random Forest Regressor to predict the log of the price.  However, should I use One Hot Encoding or Label Encoder for Zip Code? Because I have about 2000 Zip Codes in my dataset and performing One Hot Encoding will expand the columns significantly.


Find a $4\times 3$ matrix to make a $3 \times 4$ matrix invertible

The  matrix $P$ is 3x4 given. Is there a 4x3 matrix $Q$ such that the product of $QP$ is invertible? If this can't happen can someone explain why?Thanks.


Which specific magical protection saved Harry when Voldemort tried to kill him?

I've heard differing interpretations of the role of Harry's mother's magic.  The one I currently believe, is that, Voldemort did in fact evade his mother's magic, but that protective magic was reinstated as soon as Voldemort's soul fragment was removed from Harry's soul. This is justified by the fact that when Harry grabbed Voldemort and tried to fall to their death, they screamed in pain as they flew around, because the contact hurt Voldemort once more.  But there's another-that was that that magic was exactly what protected him when Voldemort hit Harry with the killing curse. This is specifically in conflict with the idea that since Harry was the true owner of the Elder wand, the Elder wand would allow him to win any duel.   The problem with the Elder wand idea is that, there were other cases owners of the elder wand were killed by competitors, as when Dumbledore defeated Grindelwald. If it has more to do with the fact that his mother's magic protects him, then how do we interpret the purpose of the Elder wand? If it's the Elder wand, then why didn't the Elder wand kill Voldemort in that attempt straight away, rather than before he tried to invade the castle again?   Also, the idea of Elder wand ownership is kind of funny when it comes to Harry since he is occupied by two souls, his own and Voldemort's fragment. To which soul does the Elder wand attribute loyalty, and how does it determine this, if it is in fact the Elder wand's doing that stops the killing curse from rupturing Harry's own soul as well?


I am trying to make folder that everyone can view and can't copy,modify.    For all answers.I thinking about specially ms office files. I tried following methods  Software  - copy protect    - anti copy    This method can't protect save as and upload  MS office macro    Users can enable,disable macros.  MS office restriction    This is best choice but can't protect from file uploading.   Almost I found the solution. Way is combination of MS office restriction and restrict access from browsers using firewall or antivirus. But I don't exact how to do this.


I was wondering how many solutions there are to $1 = x^\text{irrational number}$, since the cube root of 1 has 3 solutions and the 4th root has 4 etc and since the number of solutions to $x = x^{a/b}$ is b (where $a$ and $b$ share no factors), how many would $x^π=1$ have? Infinity, none or something else?


Is it still possible to log into Stack Exchange using an AOL OpenID?

I am posting from a new account I have created, as I have been unable to access my Stack Exchange account for several days.  My account is tied to my AOL OpenID exclusively. For quite some time, when signing into SE with AOL, one needed to write their AOL username without the @aol.com.  When one wrote one's username with the @aol.com, SE has historically given an error saying canceled. This has not been an issue, as AOL has routinely accepted AOL usernames on their OpenID authentication page without the @aol.com portion.  It appears to me that AOL has changed something in their authentication system, at least for some accounts. Now, AOL does not allow me to sign into my account when I omit the @aol.com portion, so I am forced to write username@aol.com.   However, with this arrangement, Stack Exchange gives me the cancelederror (although AOL allows me to sign in). I assume this is because Stack Exchange stores my account credentials as type: AOL, username: username (without the @aol.com). However, AOL will only authenticate me now with username:username@aol.com.  Note that AOL only seems to be doing this for OpenID authentications, rather than all logins to their system. When merely signing into my AOL account (without using their OpenID authentication system), I can access the account by merely entering my username without the @aol.com portion.  Is there a way to fix or circumvent this problem?


Traveling between Canada and China using two passports

I traveled back to China using my Chinese passport for summer break, when I’m travelling back to Canada, I’m using my Chinese passport booking a flight to Seattle (I have a Visa) that is stopping in Canada, would I be able to enter Canada using my Canadian passport even if China doesn’t allow dual citizenship?


How were Wolverines joints not frozen when he was injected with the Adamantium?

So if we think about it they just poured/injected liquid Adamantium over Wolverines bones... but should it not have pooled in between his joints and locked them like glue does if you put it on something movable? Like a lego doll.


Finding the convergence radius of $\sum_{n=1}^\infty n! x^{n!}$

I need help finding the covergence radius of $\sum_{n=1}^\infty n! x^{n!}$ .  The factorials make me think that I need to use derivatives/ integrals but I don't quite know how.  I'd love any help, thanks.


Running functions on replaced content with jquery

I had guessed that this code would work. But the JS doesn't alert anything. What is the best way to run functions on replaced content? It is a simple code as you can see, if you work with jquery. I need answers only if you have suggestions.  <script src="https://code.jquery.com/jquery-1.10.2.js"></script>  <button type="button" id="add" name="sub">Add</button>   <script> $(document).on('click',"#add",function(){ $( this ).replaceWith("<button type='button' id='sub'> Alert </button>"); });  $(document).ready(function(){ $("#sub").click(function() { alert("Does it alert?"); }); }); </script>


Creating points from an Annexation Ordinance description

I would like to be able to draw points in ArcMap using information provided by an Annexation Ordinance.     I use ArcMap 10.3 with a Basic License   Not having much experience in working with documents of this kind, the information is difficult for me to "translate" into something I can easily represent on a map.    Here is a snippet from one of the documents:     Surely there are tools in ArcMap that will make this process much easier on me. I am looking for a way to be able to type in those numbers and bearings and have the program drop a point or vertex there.    Can someone explain an "easy" way of doing this?


What do the streaming stars mean when catching Pokémon?

When catching Pokémon now, there will occasionally be streaming stars that come off of the poke ball after a successful catch.  This appears to be something that was added in an update, but I don't know what it means.


Won't highly-correlated variables in random forest distort accuracy and feature-selection?

In my understanding, highly correlated variables won't cause multi-collinearity issues in random forest model (Please correct me if I'm wrong). However, on the other way, if I have too many variables containing similar information, will the model weight too much on this set rather than the others?   For example, there are two sets of information (A,B) with the same predictive power. Variable $X_1$,$X_2$,...$X_{1000}$ all contain information A, and only Y contains information B. When random sampling variables, will most of the trees grow on information A, and as a result information B is not fully captured?


Determine $\lim_{x \to 0}{\frac{x-\sin{x}}{x^3}}=\frac{1}{6}$, without L'Hospital or Taylor

How can I prove that $$\lim_{x \to 0}{\frac{x-\sin{x}}{x^3}}=\frac{1}{6}$$  without using L'Hospital or Taylor series?   thanks :)


I'm Currently using python 3.5.2 shell for practicing. I'm beginner for the python and while practicing I tried clearing the shell terminal with CTRL+L command but its not clearing the shell. Appreciate any other commands for clearing the shell.


Accessing System Databases/Tables using LINQ to SQL?

Right now I have an  package that runs every morning and gives me a report on the number of packages that failed or succeeded from the day before. The information for these packages is contained partly within the sysjobs table (a system table) within the msdb database (a system database) in .  When trying to move the package to a C# executable (mostly to gain better formatting over the email that gets sent out), I wasn't able to find a way to create a dbml file that allowed me to access these tables through . I tried to look for any properties that would make these tables visible, but I haven't had much luck.  Is this possible with ?


$\sqrt[n]{ax^{n}+bx^{n-1}+...+c} ∼ \sqrt{a}|x+\frac{b}{na}| \ \ \ for:a>0 , n \in \mathbb{N} \ \ \text{even}$

Written in my textbook that :  $$\sqrt[n]{ax^{n}+bx^{n-1}+...+c}_{x\to \infty} ∼ \sqrt{a}|x+\frac{b}{na}|  \ \ \ for:a>0 , n \in \mathbb{N} \ \ \text{even}$$ And :  $$\sqrt[n]{ax^{n}+bx^{n-1}+...+c} _{x\to \infty}∼ \sqrt{a}(x+\frac{b}{na})  \ \ \ for: , n \in \mathbb{N} \ \ \text{Odd number}$$  but I do not know why ? How to prove?please help me.


why do I get a internal server null pointer exception?

This code works completely fine:   try {         sql = "SELECT * from profiles";          ResultSet res = stmt.executeQuery(sql);           while(res.next()) {             Profiles pProfile = new Profiles();              pProfile.setPersonalnummer(res.getInt(1));             pProfile.setAnwesenheit(res.getBoolean(2));             pProfile.setGrundDerAbwesenheit(res.getString(3));             pProfile.setRolle(res.getString(4));             pProfile.setWerk(res.getString(5));              pProfile.setMandant(res.getString(6));               pProfile.setFileName(res.getString(7));             allProfiles.add(pProfile);           }      } catch (SQLException e) {         e.printStackTrace();     }      return allProfiles;    Somehow this doesn't work:   public List<Projects> getAllProjects() {     try {         sql = "SELECT * from projects";          ResultSet res = stmt.executeQuery(sql);           while(res.next()) {             Projects pProject = new Projects();              pProject.setProjektname(res.getString(1));             pProject.setProjektid(res.getInt(2));             allProjects.add(pProject);         }      } catch (SQLException e) {         e.printStackTrace();     }      return allProjects;   }   I just copy-pasted it, changed the values, but somehow i get a "500 - Internal Server Error" when using the "getAllProjects()" method. The error message says that there is a Null Pointer Exception when executing "allProjects.add(pProject)".  Maybe somebody can help me? Thanks in advance!


Prove that if $V \cap \text{Span}\{u_1, u_2,...,u_k\} = \{ 0\} $, then $Au_1, Au_2,...,Au_k$ are linearly independent

Let $u_1, u_2,... , u_k$ be linearly independent vectors in $\Bbb R^n$.  Let $A$ be an $m × n$ matrix and $V$ the solution space of the homogeneous linear system $Ax = 0$  Prove that if$V \cap \text{Span}\{u_1, u_2,...,u_k\} = \{ 0\} $, then $Au_1, Au_2,...,Au_k$ are linearly independent.  I have an idea that to prove linearly independence of $Au_1, Au_2, ..., Au_k$ I have to show that the equation $c_1Au_1, c_2Au_2, ..., c_kAu_k = 0, c_1, c_2,...,c_k \in \Bbb R$ , only has the trivial solution $c_1=c_2=...=c_k=0$  any help is appreciated!


How to define 'tab' delimiter with 'cut' in BASH?

Here is an example of using cut to break input into fields using a space delimiter, and obtaining the second field:  cut -f2 -d' '   How can the delimiter be defined as a tab, instead of a space?


I frequently notice questions which are actually multiple questions circling around a specific problem in one. These usually appear as an introductory-paragraph followed by a numbered list of questions.   Is this behavior really constructive? Isn't it better to open multiple questions in this case? Doesn't it go against the stackexchange concept of one-question-one-answer? Don't they discourage people from answering when they can say something interesting about one sub-questions but not about the others because their answer would be incomplete? Won't that mean that people won't answer at all? Or does it on the other hand cause people to write answers which only address one of the points of the question while ignoring others, hoping that others will provide answers for other points? When that happens, which answer should be accepted? When I consider them bad, should I close them as too broad or some other close-reason? Should I downvote them? Should I ask these people in a comment to split the question into multiple ones? Would there be a way to discourage people from opening such questions?    And then they usually end with a paragraph asking the audience to answer all of these questions at once. What do you think about them?


Find all matrices that commute with given matrix

Find all $2\times 2$ matrices that commute with  $$\left( \begin{array}{cc} 2 & 3 \\ 1 & 4 \end{array} \right)$$  My progress:  I know that a square matrix commutes with itself, the identity matrix of that order, the null matrix of that order and any scalar matrix of that order.  The answer has been given as:   $$\left( \begin{array}{cc} m & 3n \\ n & m+2n \end{array} \right)$$  I don't understand how they're getting that form. Can someone please explain?


Last night, I had a Swarm of Bats sharing a space with one of my PCs, and two of the others used spells against it: Fire Bolt and Poison Spray.  The question came up asking if it would affect the PC sharing the space with the swarm.  At the time, I ruled no, since they're not area affects, and I default to permissive during play so I can spend the time researching rules after.  However, I can't find any sources on what happens in this situation.  It seems to make sense that at least Poison Spray would affect the swarmed PC, but I can't find any sources one way or another.  Is there anything definitive anywhere?  If not, it seems like, RAW, it wouldn't, since, again, not area effects.


Ruler mistakenly being printed at the top and bottom of every page

I have a very big document with a lot of packages. I am using Overleaf. And all of a sudden getting this ruler being printed at the top and bottom of all of my pages, except the title page. Does anyone know which package could be producing this?


Prove sequence $H_n=1+\frac{1}{2}+\frac{1} {3}+\dots+\frac{1}{n}$ does not converge.

I want to prove that the harmonic series $H_n=1+\frac{1}{2}+\frac{1} {3}+\dots+\frac{1}{n}$ does not converge.   My attempt: to see it does not converge, I try to prove that it is unbounded and it is also an increasing sequence.  $H_{2n}-H_{n}= \frac{1}{n+1}+\frac{1}{n+2}+\dots +\frac{1}{2n}\geq \frac{1}{2n}+\frac{1}{2n}+\dots+\frac{1}{2n}=\frac{1}{2}$  And I am stucked here.


Learning Resources on Parsers, Interpreters, and Compilers

I've been wanting to play around with writing my own language for a while now (ostensibly for the learning experience) and as such need to be relatively grounded in the construction of Parsers, Interpreters, and Compilers. So:   Does anyone know of any good resources on constructing Parsers, Interpreters, and Compilers?   EDIT: I'm not looking for compiler-compilers/parser-compilers such as Lex, Yacc and Bison...


I'm using robot world for an assignment. we have to get to robot to go north 8 places then east 6 places. when we get to the point the robot has a choice to make. if there is an even number of beepers in that see the robot should face north and move one cell. if there is an odd number of beepers then it should face south and move one. I don't know what command to give the robot in the source code. my program runs when i just have              if(beeperPresent)) {     turnLeft();     move(); } else {     turnRight();     move(); }


understanding oop and calling getter-method from main, java

newb here, I've got following code and was wondering how to grasp the class-concept. I realize I cannot call a non-static method from main. So what exactly is it I am doing here instead? calling the isSameName-method through an object of the non-static Person-class, through the main-method? I also don't understand the relationship between the class-objects, as my object kira is not relevant, but can still use it to call the method with my relevant parameters class Person {     private String name;     private int alter;      public Person(String name, int alter) {         this.name = name;         this.alter = alter;     }      public String getName() {         return name;     }      public int getAlter() {         return alter;     }      public boolean isSameName(Person a, Person b) {         return a.getName() == b.getName();     }       public static void main(String[] args) {         Person tom = new Person("Tom", 23);         Person kira = new Person("Kira", 34);         Person tim = new Person("Tom", 45);                  System.out.println(kira.isSameName(tom, tim));     } }  would be grateful for any help, and sorry if questions like this were asked a thousand times, I still have problems finding the right words for my search, as I don't know how to even call my problems