I have dynamic fields which can be added by users. The fields contain of a selection field and input field. I want to put on change event on the selection field but failed. I tried using class name but nothing happen.  This is the dynamic added field code:

         <input type="button" class="add-row" value="Add Row">           <button type="button" class="delete-row">Delete Row</button>

        I am using jquery 1.12.4. Can anyone help me to trigger the on change event? Without dynamic field, I am able to trigger the event.

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


I am replacing an old range hood with a hood/microwave/convection oven. The vent from the old hood does not line up with the vent position on the new unit. I know how to remove the old vent and patch the siding.   Installing the new vent is the problem. Just punching horizontally through the wall for the new vent won’t work. It would require cutting a vertical stud in a load bearing exterior wall (that was already cut and braced for the old vent). Cross bracing under the cut stud would be very difficult since there is an existing cabinet in place that limits access to the wall cavity.  I am thinking of using the top vent option on the hood unit, routing it up through the floor of the cabinet, transitioning to a round 6” duct adapter ant then horizontally through the wall to a 6” round wall vent.     There is just room for the round wall vent, to the side of the vertical stud. But because of an obstruction on the outside wall, there is not enough room to use a standard 90 degree elbow to the side (away from the stud) and then another 90 degree elbow toward the outside wall.  Can I use semi-rigid aluminum ducting (6” inches of course) in this kind of setup?     Some of the ads for these products list range hood venting, but others do not. And some specifically say not to use for dryer venting.  What are the criteria for an acceptable flexible duct for range hood use? (I do know to avoid the filmy foil-over-spring type.)  Note: I know  suggests that it can be done on it, but does not indicate which type of ducting is acceptable.

What type of pipe is best for venting my stove hood? Does flexy hose work or should it be hard pipe only?


I'm trying to show that $a_n$ is increasing where $a_1=1$ and $a_{n+1}$ = $ \sqrt{a_n+2}$  I proceeded by induction so showed that $a_{n+1}>a_n$ for all n greater than 1 So I showed it was true for n=1  Then assumed $a_{k+1}>a_k$ for some k greater than 1  Then I add two to both sides and square root to show it's true for k+1.   So $a_{k+1}+2>a_k+2$  $ \sqrt{a_{k+1}+2}> \sqrt{a_k+2}$  Which is $a_{k+2}>a_{k+1}$ So is this ok to show this statement?  Also how would you show that a_n has a limit and compute $lim_na_n$   I think to compute the limit you need to prove that if $b_n$ goes to b then $ \sqrt{b_n+2}$ goes to $ \sqrt{b+2}$  thank you for your help.

Setting $a_n=\sqrt{2+\sqrt{2+\sqrt{2+}}}\ $ I get that $$a_{n+1}=\sqrt{2+a_n} \quad \quad a_1=\sqrt{2}.$$ Clearly all numbers in the sequence are positive and we see that $a_n<a_{n+1} \ \forall \ n$ which implies that the sequence is strictly increasing. To show that it's convergent, I need to show that it's bounded above.  We can use the help-function $f(x)=\sqrt{2+x}$ such that $a_{n+1}=f(a_n).$ But since $$f'(x)=\frac{1}{2\sqrt{2+x}}=0\Leftrightarrow\text{no real solutions,}$$  $f(x)$ never flattens out or decreases, so it can't be convergent?


I have a son, 13 years old, who needs his laptop for school for better writing, etc. But naturally he wants to play with it after working.  Are there any programs or packages for safety on the internet? A program limiting the time on the web and filtering the webpages would be great.

Does anyone know of a good way to set up some sort of parental controls so that one user account is subject to them, but not another?  A couple of friends of mine use Ubuntu and have kids (7 to 10 years old) who use the family computer. They'd like to have some blocking of adult sites. They're not going to supervise all the time, which I know might be ideal, but there we go. And they're not particularly technical, so they don't want to have to run scripts to turn the parental controls on and off regularly, but they can cope with having different accounts for different people. I haven't found a great way of doing this. I am pretty technical, so I'm happy to spend some time at the command line to set it up, but then it needs to just work.  Please don't just link to DansGuardian. If your answer doesn't address the different user account aspect, I will vote it down. If you want to talk about general parental controls that apply to all users then please start a new question - I'm sure that plenty of people would be interested in it, and I'll link to it from this question.


Apologies if this is answered elsewhere. I looked through other posts but I don't think my question is answered.  I have a situation where 2 coders rate whether a series of research papers contain particular elements. The issue is that they can choose any number of elements (we offer n possible elements to choose from, but they simply code if they think each category is present and it is up to them how many categories are present in total).  So coder 1 might indicate that 1, 4, 6 and 10 are present. While coder 2 might indicate that 1, 3, 6, 9, 10 and 15 are present.  I am not sure how to appropriately analyse the rates of agreement.  OPTION A (which we have done, I think incorrectly) is to have a row for each possible element in each paper (so paper 1 element 1, paper 1 element 2,… paper 1 element n, AND THEN paper 2 element 1, paper 2 element 2 etc). Then we have columns for the raters (multiple raters but only 2 raters work on a particular subset of papers) see   We were then using this syntax in SPSS to try to calculate kappa (question is not about SPSS but in case it provides useful context) CROSSTABS   /TABLES=Coder_12 BY Coder_13   /FORMAT=AVALUE TABLES   /STATISTICS=KAPPA   /CELLS=COUNT ROW COLUMN   /COUNT ROUND CELL.  However, for complete agreement this would require the coders to have the same number of elements chosen as well as the same specific elements chosen. I am not sure this is the best approach? It gives us one kappa for the pair of coders for all elements in all papers they both coded.   OPTION B would be to just to compare (for each paper) whether the 2 coders agreed element 1 was present or absent, and then whether element 2 was present or absent etc. This would result in a large number of kappa’s for each pair of coders (the total number of papers multiplied by the total number of possible elements).  I am somewhat unsure about this option given the number of kappa’s it generates.  OPTION C - something else that I am not aware of 😃  any advice would be greatly appreciated.

I have over 400 open-ended responses. The total has been coded by one rater, and a 10% identical sample of the total has been coded by 2 raters. There is a choice of 14 nominal codes, of which the rater can use any number per case, though most cases have between 1-4 codes. Which statistical test is the most appropriate to determine if I have inter-rater agreement on the 10% sample?   Also am I right in assuming that I will need to treat each code as a variable and look for the level of agreement for each variable?   I'm using SPSS 21.  Much thanks, Kellie


How can I write apps with Java for Ubuntu Phone? I am waiting this operating system and I want to be the one of those that will write apps for this new operating system. Best regards. Nodar

Will it be possible to create apps/games in Java SE or Java ME on new Ubuntu phones?


I am coming from India. My flight will land at terminal 2 of Charles De Gaulle airport, Paris. From there I will go to Montparnasse gare where I have TGV train for Rennes. My flight will land at 9.30 am and my TGV train is booked at 3 pm from Montparnasse. So there is enough time I hope.  I would like go from CDG airport to Montparnasse Gare within 2 hours, non-stop or 1-stop (like RER train, Bus etc) and of course I would prefer it to be cheap.

I need to travel from Charles de Gaulle airport to Montparnasse to catch a TGV (Train à Grande Vitesse or "high-speed train"). What is the best and fastest method to do that? Train?  I only have an hour and 30 minutes between arrival at CDG and the pre-booked TGV departure from Montparnasse (I didn't do the booking myself). I am concerned that may not be enough time.


Trying to convert the arrays of an old program into generic arrays. This is the first time I've worked with generics, and I'm clearly missing something here. I'm getting an NPE when trying to push characters of a string into some dedicated stacks. I've printed the length of the arrays initialized in the evaluateExpression method and get 0.   How am I flubbing this initialization? Are my constructors not appropriate to setting each array's capacity? Am I not calling things into scope properly in main?   I've indicated in the code where I'm getting my first NPE on line 33. Other comments and rest of program is probably irrelevant. I'm not concerned if the program functions like it's supposed to, just these generic arrays.   package generics;  import java.util.Scanner;   public class GenericTesting<E> {  /**  * function converts input expression to a char array,   * which is then parsed and its elements pushed into int and char arrays  * while spaces are collected and separated from what will be equated  * @param expression prefix expression entered by user  */ public static int evaluateExpression(String expression) {     int result = 0;       char[] tokens = expression.toCharArray();     StackG<Integer> operands = new StackG<>(10);      StackG<Character> operators = new StackG<>(10);      StackG<Character> blanks = new StackG<>(10);      for (int i = tokens.length -1; i > 0; i--) {         if (tokens[i] == ' ')              blanks.push(tokens[i]);         if (tokens[i] >= '0' && tokens[i] <= '9')              operands.push(tokens[i]);          if (tokens[i] == '*' || tokens[i] == '+' || tokens[i] == '-')             operators.push(tokens[i]);      }      while (operands.getLength() != 1) {         int num1 = operands.pop();     // null pointer exception         int num2 = operands.pop();           char symbol = operators.pop();          if (symbol == '*')             result = num1 * num2;          if (symbol == '+');             result = num1 + num2;          if (symbol == '-')             if (num1 > num2)                 result = num1 - num2;              else                  result = num2 - num1;      }     return result;  }   Array Constructors, push and pop functions:  public class StackG<E>{     private E[] stack;     // holds stack elements      private E[] stack2;    // holds stack elements while stack is resized     private int capacity;  // number of elements that can be stored     private int length;    // number of currently stored elements     private static int top;       // stack top pointer  public StackG(int initialCapacity) {     capacity = initialCapacity;      stack = (E[]) new Object[capacity];       length = 0;      top = 0; }  public StackG() {     capacity = 5;      stack = (E[]) new Object[capacity];      length = 0;      top = 0;  }  public void push(Object item) {     if (top == stack.length)         throw new IllegalArgumentException(); //Stack is full     else {         stack[top] = (E) item;          top++;         length++;     } }  public E pop() {     if (isEmpty())         throw new IllegalArgumentException(); //Stack is empty     else {         top--;         length--;         return stack[top];      }  }   Client Code:       public static void main(String[] args) {      Scanner keyboard = new Scanner(System.in);       System.out.print("Enter a prefix expression "             + "using only *, +, and - operators and positive operands: ");     String expression = keyboard.nextLine();      int result = evaluateExpression(expression);      System.out.println(result); }

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


Basis Case:  $2! = 2\times1 = 2$  $2^2 = 4>2$  Inductive Hypothesis:  $k!<k^k$  Induction Step:  $k!<k^k$  $k!(k+1) < k^k(k+1)$  $(k+1)! < k^{k+1} + k^k$  I'm confused on where to go from here, or if what I was doing was even the right way to go. I need advice on using induction for this question and on inequalities in general.

Call $P(k): k!<k^k$, for $k\geq 2$ Test it out with 2, and it's true ($2<4$).   Assume that $P(k)$ is true for some $k\geq2$.  Then show that $P(k+1)$ is true.   $P(k+1): (k+1)!<(k+1)^{k+1}$  Ministep: $(k+1)!=k!(k+1)$ Ministep: $(k+1)^{k+1}=(k+1)^{k}(k+1)$    $k!(k+1)<(k+1)^{k}(k+1)$  Can I just pull out that (k+1) and call it a day? That will make $k!<(k+1)^{k}$.   We're already assuming that $k!<k^k$, for some integer $k\geq 2$, and I don't think I need to prove that $k^{k}<(k+1)^{k}$. I mean, I guess I could go prove that as well, but let's assume for the moment that I don't have to. Since we're assuming the original $P(k)$ is true, I should be able to write $k!<k^{k}<(k+1)^{k}$ right? That would prove the $k+1$ case. Is this the correct way to go about things? It seems too easy, but makes sense.  Thanks for confirmation and/or pointing out mistakes!


This might be a silly question but I'm kind of unsure whether dual boot will still work if I've got the two operating systems on two different drives... If it does work, is there something I need to take in consideration?

I have gotten as far as to create the bootable usb, booting into that bootable usb and getting to the install options however i quit because I had some concerns.  I currently have a Samsung 850 evo 1tb that has win 10ninstalled. I want to dual boot with Ubuntu 18.04 by installing it on a brand new unformatted uninitialized Samsung 860bevo 250gb. Should i format the brand new ssd as a new volume in win 10 and then proceed with the Ubuntu install on this volume. What else should i do? Im a first time Ubuntu user and installer.  Any and all help is appreciated.


I want to prove that $\left(\forall x \in \left( 0; \frac{\pi}{2} \right)\right) \left[ \sin(x) > \frac{2}{\pi} \cdot x \right]$. This is quite easy to see when drawing the functions, but I wonder if my proof here is correct:  From $(\sin(x))' = \cos(x)$ and $\left( \frac{2}{\pi} \cdot x\right)' = \frac{2}{\pi}$ and $\cos(0) >  \frac{2}{\pi}$ follows that $\sin(x)$ grows quicker than $\frac{2}{\pi}$ for $x > 0$ and thus is larger right from the beginning.  Furthermore, let's assume there is an $x \in \left( 0; \frac{\pi}{2}\right)$ with $\sin(x) < \frac{2}{\pi} \cdot x$. As we proved that $\sin(0)' > \frac{2}{\pi}$, there needs to exist an $x \in \left( 0; \frac{\pi}{2}\right)$ with $\sin(x)'' = 0$.  $\sin(x)'' = (\cos(x))' = -\sin(x)$  $-\sin(x) = 0  \iff \arcsin(0) = x \iff x = 0$  As $0 \notin \left( 0; \frac{\pi}{2}\right)$, $\left(\forall x \in \left( 0; \frac{\pi}{2} \right)\right) \left[ \sin(x) > \frac{2}{\pi} \cdot x \right]$.  Basically I've found geometrically that the second derivative had to be zero if the sin were larger in the beginning but smaller in the beginning. Is there a theorem for that?  Is there a way to make the proof easier?  Thanks!

$$\forall{x\in(0,\frac{\pi}{2})}\  \sin(x) > \frac{2}{\pi}x  $$ I suppose that solving $ \sin x = \frac{2}{\pi}x $  is the top difficulty of this exercise, but I don't know how to think out such cases in which there is an argument on the right side of a trigonometric equation.


Something I was doing the other day - working with .htaccess files - made me wonder where it would belong if I needed help - Stack Overflow or Server Fault. There might be some topics that fall in the middle, where they are of interest to programmers/developers, but it tends to be more on the IT side of the fence (database configurations are another good example).  So how should I go about deciding where to post a question? Should it be possible for me to use one site and cross-post (and gaining the rep on each side for that side's account, or for one to be forced into community wiki)?

It is possible to migrate a question from one Stack Exchange site to another by closing, but if I have a question that I think is on-topic for multiple Stack Exchange sites, is it OK to post it on both (multipost)?   For example, I have a question that's earned me the tumbleweed badge on SO and I'm not sure what the best thing to do with it is. It's about a web server so it might be answerable on Server Fault but it's really more of a programming thing, hence the posting the question on Stack Overflow.    Is there any way to make the question visible on multiple sites (crosspost) and then accept the answer wherever it came from?


is it possible to apply a custom taxonomy to links? if so how?   i already did this, but it does not seem to work:  $labels = array(     'name'                       => _x( 'Lessons', 'Taxonomy General Name', 'text_domain' ),     'singular_name'              => _x( 'Lesson', 'Taxonomy Singular Name', 'text_domain' ),     'menu_name'                  => __( 'Lesson', 'text_domain' ),     'all_items'                  => __( 'All Lesson Lessons', 'text_domain' ),     'parent_item'                => __( '', 'text_domain' ),     'parent_item_colon'          => __( '', 'text_domain' ),     'new_item_name'              => __( 'New Lesson', 'text_domain' ),     'add_new_item'               => __( 'Add new Lesson', 'text_domain' ),     'edit_item'                  => __( 'Edit Lesson', 'text_domain' ),     'update_item'                => __( 'Update Lesson', 'text_domain' ),     'separate_items_with_commas' => __( 'Separate Lessons with commas', 'text_domain' ),     'search_items'               => __( 'Search Lessons', 'text_domain' ),     'add_or_remove_items'        => __( 'Add or remove Lessons', 'text_domain' ),     'choose_from_most_used'      => __( 'Choose from the most used Lessons', 'text_domain' ),     'not_found'                  => __( 'Not Found', 'text_domain' ), ); $args = array(     'labels'                     => $labels,     'hierarchical'               => true,     'public'                     => true,     'show_ui'                    => true,     'show_admin_column'          => true,     'has_archive'                => true,     'show_in_nav_menus'          => true,     'show_tagcloud'              => true, ); register_taxonomy( 'lesson', array( 'post','portfolio','link', 'forum' ), $args );   thanks  Marco

I've been reading the codex for WordPress closely and am confused about the vague definitions between what a Taxonomy is and what a Category is. For that matter, term is also a word that is used in the description of Taxonomies, but seems used in a manner that hints that it isn't solely limited to a Taxonomy.   Both are described as a way to classify and group together posts. I do understand that Taxonomies are a more general form of categories, but how exactly do they relate to each other?   Is there a subtle difference I'm just not picking up on?


I'm using  module and I want to add field in my custom module.  I was tried with brightcove, brightcove_video and brightcove_field types and it is not working.  Example of my try:    $form['something_page_settings']['something_media']['my_module_bri_file'] = array(     '#title' => t("Brightcove"),     '#type' => 'brightcove_field',     '#default_value' => variable_get('my_module_bri_file'),   );   Can someone help me to add this field?

I'm interested in embedding a Field Widget Form out side the context of the whole node edit form.   I have displayed full forms in the past using  but that doesn't seem to apply for solitary Field Forms.   Is displaying a working Field Widget Form possible? What would be the best way to do so?  Both field widgets and "normal" forms seem very alike, so if this is not possible, what would be required to "change" a widget form into a normal form?  This  appears to be asking for something similar but I don't understand the answer.  That answer specifies using ; what I don't understand is how to get the Field Form to be displayed not how to hook it once it is being created.


When writing is it correct to use numerals (e.g. 1,2,3,) or spell out the number (e.g. one,two,three)?

The junction has a stop sign on each of the four entrances.   The junction has a stop sign on each of the 4 entrances.   The first is preferred, for some reason, by many English texts. Why? I haven't seen this phenomenon in other languages.


I Can't Current Password. How To Set New Password In Linux Command Line On Ubuntu 12.04?

I'm working on a Ubuntu system, and my client has completely forgotten his administrative password. He doesn't even remember entering one; however it is there.  I've tried the suggestions on the website, and I have been unsuccessful in deleting the password so that I can download applets required for running some files. Is there a solution?


I've created a new column (third one) and all records are null in that column. The table has 100 rows. When I try INSERT INTO, records are added but only from 101 row and previous ones are still null. That's why I decided to use UPDATE, but I have the next error message: You can't specify target table 'actors' for update in FROM clause  Here is my query:  UPDATE     actors SET     starred_count = (         SELECT COUNT(actors.Actor_id)         FROM starred         INNER JOIN actors ON actors.Actor_id = starred.Actor_id         GROUP BY starred.Actor_id         ORDER BY starred.Actor_id     )   How could I do this properly?

I have a table story_category in my database with corrupt entries. The next query returns the corrupt entries:  SELECT *  FROM  story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category INNER JOIN         story_category ON category_id=category.id);   I tried to delete them executing:  DELETE FROM story_category  WHERE category_id NOT IN (     SELECT DISTINCT category.id      FROM category        INNER JOIN story_category ON category_id=category.id);   But I get the next error:      #1093 - You can't specify target table 'story_category' for update in FROM clause    How can I overcome this?


I have two hard drives. On the one hard drive Windows 7 & 8 is installed, on the other Ubuntu. When I try to mount the drive, I get this message.

Whenever I boot Ubuntu, I get a message that it cannot mount my windows partition, and I can choose to either wait, skip or manually mount.  When I try to enter my Windows partition through Nautilus I get a message saying that this partition is hibernated and that I need to enter the file system and properly close it, something I have done with no problem so I don't know why this happens.    Here's my partition table, if any more data is needed please let me know.     Device Boot      Start         End      Blocks   Id  System /dev/sda1            2048    20000767     9999360   83  Linux /dev/sda2        20002814   478001151   228999169    5  Extended /dev/sda3   *   478001152   622532607    72265728    7  HPFS/NTFS/exFAT /dev/sda4       622532608   625141759     1304576   82  Linux swap / Solaris /dev/sda5        20002816   478001151   228999168   83  Linux


Excuse my English. So, im modeling an assault rifle and i was thinking about if its okay to disconnect the highlighted mesh(picture below) from the weapon and just move it a bit inside the weapon to achieve a lower polygon count and more clear mesh.   I want to export this model into Unreal(if this information is important)

Is there any benefit of creating model in one piece or I can create separate pieces and just overlap them to create a visually joint part.  For example, the below image were made from two parts 1. Blade 2. Spinner  Is there any benefit to model them (e.g. extrude from the spinner) or it is actually ok to have them separated since visually I can achieve the same effect (See picture 2)


Say $f:[a,b]\rightarrow \mathbb{R}$ is continous, $f(x) \geq 0$ for all $x$, and there is a $c \in [a,b]$ such that $f(c) > 0$. Prove $\int_a^b fdx > 0$.

Prove that if $f$ is a continuous real valued function on the interval $[a,b]$ such that $f(x)\ge 0$  for all $x\in [a,b]$ and $f(x)>0$ for some $x\in[a,b]$ then $\int^b_a f(x) \, dx >0$.  The definition I have for Riemann integral is: Let $a,b\in \mathbb{R}$ $a<b$ and let $f$ be a real valued function on $[a,b]$. We say that $f$ is Riemann integrable on $[a,b]$ if there exists a number $A\in \mathbb{R}$ such that for any $\varepsilon>0$ there exists $\delta>0$ such that $|S-A|<\varepsilon$ whenever $S$ is Riemann sum for $f$ corresponding to any partition of $[a,b]$ of width less that $\delta$.


Inner function variable can access outer function variable, it is possible or not in java script.I am confusing for the closures.  function a(){ var x=10; console.log(x,y); return function b(){ var y=20; console.log(x,y); } }

How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not understand closures themselves?  I have seen  given on Wikipedia, but unfortunately it did not help.


So, I know that the passwd command allows me to change my own password, and if run with sudo, allows me to change anyone's password, but what if I want a script to do it?  I have a script that grabs a username from list.txt and attempts to change their password.  I cant figure out how to have it automaticly set that password without me typing it in each time. I've tried:  username=john  password=12345  echo $password | passwd $username  echo 12345 | passwd $username  but I always get the error  Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error   not sure what I'm doing wrong here, but i cant seem to find anyone with the same issue.

I am writing a script to add a large amount of users to a system. Part of this involves setting default passwords for each user. How can I set users' passwords without it prompting me for the password up front?  Unfortunately passwd doesn't seem to take an argument stating the new password to set. I'm using Ubuntu 11.10.


This code throws me a NullPointerException   int StrtYr = getYear(timeToDate(0)); int YrDiff = 0; int Pyr = 0; List <Tuple> FP_entry = selectFrom(dummy_prices).list(); for (Tuple row : FP_entry){     Pyr = row.get(dummy_prices.year);     YrDiff = Pyr - StrtYr;     if (YrDiff >= 0) {         create_FPrice_tm(YrDiff, row.get(dummy_prices.price));         }     }   "dummy_prices" is a database table that contains two fields (int year, double price)  "FPrice_tm" is an instance of a dynamic event. it's defined for the simulation model.

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


Ubuntu 18.04 Thunderbird updated automatically to 60.2.1 two days ago. With two problems for me:   UI language changed from en-US to Dutch, so all short cuts I use are different.. calendar was not present any more.   I added the en-US version of Thunderbird. As explained here, I simply extracted a tar:   Now the short cuts I know work again and the calendar is back. Fine.  I think I can manage to add the en-US version to the launcher (or live without). Less ideal is that it will not automatically update.  But I do want it to do automatically updates. So I guess that I'd rather replace the installed version (I think in /usr/lib/) with the en-US that I just unpacked. How can I do that?  Some info:  ~$ apt policy thunderbird thunderbird:   Geïnstalleerd: 1:60.2.1+build1-0ubuntu0.18.04.2   Kandidaat:     1:60.2.1+build1-0ubuntu0.18.04.2   Versietabel:  *** 1:60.2.1+build1-0ubuntu0.18.04.2 500         500 http://nl.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages         500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages         100 /var/lib/dpkg/status      1:52.7.0+build1-0ubuntu1 500         500 http://nl.archive.ubuntu.com/ubuntu bionic/main amd64 Packages  ~$ apt policy xul-ext-lightning xul-ext-lightning:   Geïnstalleerd: (geen)   Kandidaat:     1:60.2.1+build1-0ubuntu0.18.04.2   Versietabel:      1:60.2.1+build1-0ubuntu0.18.04.2 500         500 http://nl.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages         500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages      1:52.7.0+build1-0ubuntu1 500         500 http://nl.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

On my Ubuntu 18.04 the default Thunderbird version is Dutch. I want that to be the en-US version. Including automatic updates etc. How can I do that?  $ dpkg -l | grep thunderbird ii  thunderbird                                   1:60.2.1+build1-0ubuntu0.18.04.2           amd64        Email, RSS and newsgroup client with integrated spam filter ii  thunderbird-gnome-support                     1:60.2.1+build1-0ubuntu0.18.04.2           amd64        Email, RSS and newsgroup client - GNOME support ii  thunderbird-locale-en                         1:60.2.1+build1-0ubuntu0.18.04.2           amd64        English language pack for Thunderbird ii  thunderbird-locale-en-us                      1:60.2.1+build1-0ubuntu0.18.04.2           all          Transitional English language pack for Thunderbird ii  thunderbird-locale-nl                         1:60.2.1+build1-0ubuntu0.18.04.2           amd64        Dutch; Flemish language pack for Thunderbird


I am currently trying to reproject a LIDAR file (.las) using the Open-Source LibLAS, compiled on a Scientific Linux server. The Original data is in Oregon Lambert, NAD83 (EPSG:2992), and I am trying to reproject it to UTM WGS 84, Zone 10 N (EPSG:32610). However, when I use the --t_srs option, I get the following error: "error: X scale and offset combination is insufficient to represent the data" I am suspecting it has to do with the integer values stored and the distance of translation. How do I get it to work? Is there anything I have to change in the header information? Regards, Edit: Here is the command line I am using (lasinfo detects the original EPSG, so no need to specify it):  ./las2las -i path/to/input/folder/*.las -olas -odir path/to/output -v --t_srs EPSG:32610  Result:  $ Setting output SRS to EPSG:32610 $ error: X scale and offset combination is insufficient to represent the data

I have a lidar file (file.las) with the following spatial reference:  Spatial Reference:            PROJCS["NAD83 / UTM zone 11N",     GEOGCS["NAD83",         DATUM["North_American_Datum_1983",             SPHEROID["GRS 1980",6378137,298.2572221010002,                 AUTHORITY["EPSG","7019"]],             AUTHORITY["EPSG","6269"]],         PRIMEM["Greenwich",0],         UNIT["degree",0.0174532925199433],         AUTHORITY["EPSG","4269"]],     PROJECTION["Transverse_Mercator"],     PARAMETER["latitude_of_origin",0],     PARAMETER["central_meridian",-117],     PARAMETER["scale_factor",0.9996],     PARAMETER["false_easting",500000],     PARAMETER["false_northing",0],     UNIT["metre",1,         AUTHORITY["EPSG","9001"]],     AUTHORITY["EPSG","26911"]]   Then I reproject it to WGS84 with las2las:  las2las --a_srs EPSG:26911 --t_srs EPSG:4326 -i file1.las -o output.las   And I get:   Spatial Reference:                GEOGCS["WGS 84",         DATUM["WGS_1984",             SPHEROID["WGS 84",6378137,298.257223563,                 AUTHORITY["EPSG","7030"]],             AUTHORITY["EPSG","6326"]],         PRIMEM["Greenwich",0],         UNIT["degree",0.0174532925199433],         AUTHORITY["EPSG","4326"]]   But when I try to revert the transformation: from WGS84 to NAD83/UTM 11N, I get an error:  las2las --a_srs EPSG:4326 --t_srs EPSG:26911 -i output.las -o wgs2utm.las ERROR 1: latitude or longitude exceeded limits error: Could not project point for ReprojectionTransform::latitude or longitude exceeded limits0.   Why I got this error, if I am just reversing the transformation (originally from NAD83 to WGS84, and then from WGS84 to NAD83)?.


I imported an object with many faces and materials, but I only want some materials to apply to certain faces, how could I do this? When I add the material, it adds it to the entire thing, how do I do it for one face?

How do you add more than one material to a mesh?   I have tried adding two materials to the object, and then assigning one of the materials to a vertex-group, but I could not find a place to assign it.  I am making a striped bouncy ball that I want to deform, so adding a different material by separating the mesh into different objects would not be ideal.


I have the following XML structure for a card game. I want to load the card titels and descriptions into two arrays that I can use to randomize the cards.      <Cards>       <CardTitles>         <Title>Some Title</Title>                    .                    .                    .                    .                    .      </CardTitles>      <CardDesc>        <Desc>Some description</Desc>      </CardDesc>     </Cards>   But no matter what I do or what code I write I'm unable to get the actual text from the proper tag. The closest I got was following this example :  I know I'm not supposed to ask for complete solutions but I'm just stumped. Any help in getting this matter cleared up to me will be great.

Is there a simple method of parsing XML files in C#? If so, what?


Why is Stack Exchange allowing Google ads though they have their own profitable revenue model via ?  I mean, I just recently saw Google ads here. Don't you think it adds extra noise to the site? I mean I don't want to see ads; please don't show it.

For several years we've had advertising solely on technology-related sites. But many of our sites aren't about technology at all, so we haven't sold ads for them. Traditionally, that hasn't been a hardship since Stack Exchange sites have required only a small investment from the company to set up and keep live.  However, as we've continued to grow, the resources needed to maintain our network have also increased. Thanks entirely to the efforts of the network's communities, we have become an amazing resource on the Internet.  Generating revenue from non-technology sites will enable us to dedicate more resources to meeting your needs so this is good news!     The test has been in effect since May 21, 2019, and our advertising team will be monitoring to see how ads are performing. We don't know how many ads will run on each site, we're testing different solutions. It could be just a few or a bit more. In either case, these ads will be carefully vetted and we'll be keeping watch to continue to provide good content.  If you see any ads that are inappropriate or have any questions about this experiment, please let me know by starting a new question and tagging it with . This is a work in progress and we are expecting a time of learning and refinement as we move forward.  A few things to be aware of:    We've received reports about ads that redirect, and those have been removed.  We've also received reports about ads that are spammy and those too have been removed.   If you wish to report an advertisement, please take a screenshot of the ad and paste the URL (if possible) along with the site where you saw it to a comment or answer.  I'll report it to the ads team and we can track it down to investigate. Some of the network sites will show more ads than others. This is not due to reduced ad privileges (which don't exist right now for the network) but rather to inventory allowances.  This is an experiment that will take us to about the end of the year.  As such, we're learning about what advertiser networks will work for us and which can offer the quality of ads that we desire. I ask for your patience and understanding during this testing period.   Due to an already existing agreement, MathOverflow will not be getting ads and is not a part of this experiment.    Thank you for your help in reporting what you see and for forgiving us of the mess as we do some remodeling!


You are always complaining about me driving your car.    You are always complaining about I driving your car.   You are always complaining about my driving your car.

The rule says that we can use a possessive adjective or an object pronoun before a gerund. Is there a rule  that says when to use each or are they interchangeable? Some say that it's wrong to use an object pronoun before a gerund.


Estoy haciendo mi reciente evaluación interna del IB Matemáticas HL y mi tema es cómo calcular el área de superficie de un huevo . Quiero aplicar el cálculo conocimiento en esta pregunta, pero mi conocimiento sobre esta área es limitada. Sólo sé la información básica acerca de cálculo, por ejemplo, mediante la integración para calcular el volumen de un objeto. Ya he buscado información relevante en línea durante muchos días, pero todavía tengo ni idea.  Translation (slightly cleaned-up Google Translate): I am doing my recent internal assessment of the IB Math HL and my subject is how to calculate the surface area of an egg. I want to apply knowledge of calculus in this question, but my knowledge about this area is limited. I only know basic information about calculus, for example, by integrating to calculate the volume of an object. I have already searched for relevant information online for many days, but I still have no idea.

This morning, I had eggs for breakfast, and I was looking at the pieces of broken shells and thought "What is the surface area of this egg?" The problem is that I have no real idea about how to find the surface area.    I have learned formulas for circles, and I know the equation for an ellipse; however, I don't know how to apply that.   The only idea I can think of is to put an egg on a sheet of paper and trace it, and then measure the outline drawn, and then try to find an equation for that ellipse and rotate that about the $x$-axis.  Now, my problem is how I can find the equation of the ellipse from the graph, and will my tracing method really be the edge of the egg?  Also, can I use the ? Will I have to use some techniques to solve the integral that are not covered in the ?  There has to be a better method for finding the surface area. Please, help me understand how to find the surface area of an egg; i.e., how to use my mathematical knowledge for something other than passing exams.


Consider this fill-in-the-blank question:      I don't like _______ of the films. Both of them are boring.   Will the correct choice will be either OR neither? Why? I think the correct answer will be "either" but I am not sure.

She put forward two proposals, .......... of which didn’t make any sense to the participants in the summit.  The answer for this question in grammar exercises is ‘either’. I am doubtful whether to use either or neither. Can any one clarify this with reason.


How to include orcid icon with link, like this:  I using pdflatex, and IEEE Access template for Latex. Thanks

This question led to a new package:   I would like to display the ORCID id in an author list in an IEEEtran pdf, like that:  Is there a standard way to include it in an IEEEtran article with PdfLaTeX? I used two approaches from , but I failed. One is to insert the ORCID icon in the author list. I used the blow code: \author{Ali Al-Obaidi \href{https://orcid.org/0000-0000-0000-0000}{\includegraphics[scale=1]{figures/orcid_16x16.png}}}  where orchid_16x16.png is provided in the link . But the result is that the icon is not clear enough, even I replaced it with a different size. The other approach is to use the  package, like that: \usepackage{academicons} \definecolor{orcidlogocol}{HTML}{A6CE39} \author{AAA \href{https://orcid.org/0000-0000-0000-0000}{\textcolor{orcidlogocol}{\aiOrcid}}}  However, the result is like that:  And I also got two errors: "Latex Error: Encoding scheme 'TU' unknown" and "Bad character code (59865)". In the latest academicons.sty (see ), academicons use the font TU. However, it seems that the compiler PdfLateX cannot support this font. Thus, is there anyone that knows a standard way to include it in an IEEEtran article with PdfLaTeX? Please help me.


I'm using the new C++ <filesystem> library, and all the strings representing file and folder names are returned as const wchar_t* pointers. In my program, I use chars and std::string, which is fine as far as I know because all file paths can be written with ASCII characters (only one byte). There is a way to convert from std::wstring to std::string, but the <codecvt> header that's used for this is deprecated after C++17.  I was wondering, what would be the harm in simply just reading the value of each 2-byte wchar_t into a single-byte char? Whenever you have to convert from std::wstring (I'm assuming UTF-16) to single-byte std::string, any characters greater than 127 or 255 in the std::wstring can't be contained in the char, so they can't be converted in any way, right?

Is it possible to convert UTF8 string in a std::string to std::wstring and vice versa in a platform independent manner? In a Windows application I would use MultiByteToWideChar and WideCharToMultiByte. However, the code is compiled for multiple OSes and I'm limited to standard C++ library.


Clearly no one has tried to do this but I don't have a windows 8 disc. I do however have a product key and that's all I need. I'm running Ubuntu 14.04 and I've installed the .exe file to download windows 8. I've installed wine and tried many things with wine thing and nothing is working. I need someone to tell me. step by step. how to do this so I can run windows 8 or maybe even 7 again and go on with my life.

Observation shows that some Windows softwares run perfectly on Wine and some just fail miserably.  Rather than trying them out randomly, I wanted to create a place where we can have some ideas about Wine-suitable, and -unsuitable, softwares.   So, exactly which areas of Windows operating systems does Wine fully support or still show weaknesses?  By implication, what are the kinds of Windows applications that are guaranteed to run without flaws on Wine?


In HearthStone I can only have 3 active quests at a time. When do I have to have completed one of them in order to receive a new daily quest?  I'm on EST, and I've waited till Midnight, 1AM, and last night I waited all the way till 3AM. Each time I still had a new daily quest the next morning.  I guess I'd also like to know, if I happened to be awake at such a time as the quests cycled, would I need to restart HearthStone to see the new one?

In hearthstone, you receive one quest per day, barring unique quests. What I'm wondering is when exactly does a new day start? I assume it's at a specific global time, so I'm looking for a time in GMT or UTC.  I did find out you need to exit the game and come back to receive new quests, but I'm hoping someone actually knows when i have to do that.


supposing I have variable ex1 equal to -20 and variable ex2 equal to 50. I try to add it in javascript as alert(ex1+ex2); but it alerts -20+50. I'm really confused with this. THanks for the help, even though it might be a really silly question.

I have a simple html block like:  8   Using jquery I'm trying to add a 1 to the value (8).  var currentValue = $("#replies").text(); var newValue = currentValue + 1; $("replies").text(newValue);   What's happening is it is appearing like:  81  then  811  not 9, which would be the correct answer.  What am I doing wrong?


I'm trying to add a .on event to a dynamically created element, but it doesn't seem to be working.  My table renders correctly, but nothing happens when I click on my exp_col div, not even an error message.  Have I done something incorrectly here?      jQuery.each(items, function(index, item) {         jQuery('<tr>')             .addClass('item_class')             .append(                 jQuery('<td/>')                     .addClass('text')                     .text('XXX')                     .append(                         jQuery('<div />')                             .addClass('exp_col')                             .text('More...')                     )                 )              .append(jQuery('<td/>').addClass('info').text('yyy'))         .appendTo(table);      });      table.on("click", ".exp_col", function(e) {          myFunc( this );     });     table.appendTo(div);   Satpai's answer below is perfect, but instead of a console.log, if I was to call a function which did some CSS tinkering, and then removed the itself and added a new function. How could I accomplish that?  function myFunc(ele){     //does some css stuff            jQuery(ele).off(); }  function myOtherFunc(ele){     //removes the css stuff     jQuery(ele).off(); }   My overall goal is to toggle two functions on and off.

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


I know that this type of question has been asked before, but those solutions didn't work for me. I have recently installed Ubuntu 19.10 by removing Windows 10. After the installation, I was surprised to find that there is no WiFi option at all in the settings.   I have also checked the Network group, WiFi option was not there either.   Luckily, I am able to connect to internet through USB tethering on my Android phone. Here is the output of lsusb command :    Bus 002 Device 009: ID 0bda:f179 Realtek Semiconductor Corp.   Here is the output of lshw command (only the WiFi dongle part):    *-usb:1 UNCLAIMED                       description: Generic USB device                       product: 802.11n                       vendor: Realtek                       physical id: 4                       bus info: usb@2:1.4                       version: 0.00                       serial: 00E0202C7613                       capabilities: usb-2.00                       configuration: maxpower=500mA speed=480Mbit/s   How to bring the WiFi option? Please ask if more information are needed.

I'm trying to install wifi drivers for a particular mini wifi card i bought. The output of lsusb is:  0bda:f179 Realtek Semiconductor Corp   I've searched everywhere for drivers, but could not find anything. Any help?  Thanks


I am writing a Java program to decide how much a user has to pay for a delivery charge for a school project.  I have been advised the method that works out the cost has to be static.  When i de-bug my code the value of the price is never changing and i don't know why, please see my code below.  main method  package questionOne;  import java.util.Scanner; import questionOne.DeliveryMenu;  public class DeliveryMenuDemo {  public static void main(String[] args)     throws java.io.IOException {      String choice;      DeliveryMenu d = new DeliveryMenu();      System.out.println("Enter the type of Delivery service needed (Standard/Super/WowWee)?");      Scanner scanner = new Scanner(System.in);     choice = scanner.next();     d.setDeliveryCost(choice);     d.getPrice();   }   }  and class with other methods  package questionOne;  public class DeliveryMenu {  private static String delivery; private static int price=0;  public static int setDeliveryCost(String choice) {     if(delivery == "Standard") {         price = price + 22;     } else if (delivery == "Super") {         price = price + 44;     } else if (delivery == "wow-wee") {         price = price + 60;     }        return price; }  public String setDelivery(String s) {     return delivery=s; }  public void getPrice() {     System.out.println(price); }   }  price is never changing to the desired amount.

I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.  Is == bad? When should it and should it not be used? What's the difference?


If I am looking to build a network based on road features and attributes, is Network Analyst my best bet?   Is it my only bet?   The world of FOSS (Free and Open Source) is new and exciting to me, but I find it difficult to navigate as a newbie.  My intended uses would include tracing the network, finding intersecting features at given locations along the network, and creating network decision rules for route creation.     Answers so far have been great, but could anyone share their personal experiences and preferences as far as routing interfaces are concerned?

I was wondering if there are any alternatives to  tools.  Thinking about it for a bit, I think the only alternative is to use R or RPY to do the analysis.   Basically I'm trying to solve routing problems based on nonPostGIS databases. As most of my data is actually stored in a different format; however, it's not to hard to convert. I'm finding that pgRouting to my dumb silly brain is difficult to implement. So perhaps a non-database solution that I can easily tweak would be ideal for me


I am trying to create a world map, but centered over the Pacific rather than the Prime Meridian. Recentering the projection (standard Mercator) on 180 degrees gives me a lot of ugly artifacts where countries are stretched across the "cut line" of the map.  I assume I need to do some kind of intentional clipping (like clipping to hemisphere with an orthographic projection), but I'm not sure how properly to make QGIS cut everything cleanly on a meridian. Is there a standard way of doing this? A plugin?  (I am using the Natural Earth 50m countries shapefile.)

I wish to display a map in QGIS (world country shapefiles) showing all countries but centered on the Pacific area.   I am not familiar with Proj4, so is there any way this can be done in QGIS?


I cannot find a reliable solution to start chrome (in kiosk mode) in Windows 10 at system startup, without showing the desktop environment.  More precisely, i CAN start Chrome in kiosk mode, but it takes a lot of time on our target devices (Industrial tablets) so whenever the device get rebooted, end users can see the desktop environment for 10-11 seconds.  Is it worth to try playing with chrome flags? i tried to disable some unused features but startup time doesn't change that much.  Windows Kiosk mode seems to work only with other browsers (IE) and the app i need to launch requires chrome, so I don't have many choices...  I cannot run chrome with the Windows Kiosk Mode because chrome is not compatible (not UWP), so I am just auto logging in the user, starting chrome at startup with the following flags:  "C:\path\to\chrome.exe" --kiosk --incognito --disable-pinch "file:\\C:\path\to\app.html"

I have a WinXP installation that is used to only connect to another PC with RDP.   A dummy user account gets logged in automatically, then the user must click a link to start the RDP connection with predefined parameters.  Is there a way to run the RDP client without Windows Explorer being accessible?


When I'm adding subdivision modifier my object freaks out. I'm new to blender and don understand why :o if somebody knows why, it would be greatly appreciated.  here is with subdiv modifier   here is without

I frequently come to the problem of having a mesh with parts I would like to render smooth and "hard" edges connecting them.   How can I set the mesh to show the sharp edges but render everything else smooth?  In the example I would like the sides of the individual cylinders render smooth but the intersection between bottom and top to be sharp/flat


The monster my players were fighting acted first in the intitative order. It dove into the lake and out of sight. They all readied actions to attack when it revealed itself. On its next turn it attacked, triggering all of their readied actions, so it got off its attack, but then they all attacked him. We all got really confused as to whose turn it now was, the monster again or my players. I ruled that it was the monster but now that seems wrong. Did I rule this correctly? How should I be handling this?

So from reading the Player's Handbook, it seems that the Ready action is taken instead of any other action as it is an action in its own right. However, can you move on the same turn that you ready an action? For instance, (taking the example from the Player's Handbook):     If the cultist steps on the trapdoor, I’ll pull the lever that opens it   Presumably, when you ready this action, you would want to move near to the lever so you can pull it when the time is right. Likewise, with readying a spell, you would obviously want to move away from combat so you could concentrate on the spell.  Secondly, when the trigger goes off do you have to wait for your turn, or do you in effect get a bonus turn? For instance, the cultist starts running towards you, but on his way he steps on the trap door - so you immediately pull the lever, even though it wasn't your turn. I assume you then act as normal when your actual turn comes around?


If I receive a notification (new comment or answer) and open the StackExchange application, the notification drawer is completely empty and I need to reopen the app.  Using StackExchange 1.0.71 and Android 5.1.1.

When I receive a message on an SE post, I get a notification like this:    If I double tap this notification, the SE application opens, but my feed is empty approximately half the time. It looks like this:    If I refresh the feed (slide from the top), the feed does refresh and shows the new notification.   The notification, above, leads to  comment.  I haven't figured out the pattern yet, but this occurs roughly half the time I open a notification. It's occurred for chat messages, comments and answers - but not consistently. I have received notifications for the same post (for example, the two comments after the one linked above) that do not show an empty feed. But, a chat message barely 10 minutes later will show the empty feed again.  I am utilizing the beta app - version 1.0.72 on Android 5.0.1.


There are terms for various kinds of functions (or operators) such as...  associative - (a # b) # c  =  a # (b # c) commutative - a # b  =  b # a idempotent  - f (f (x)) = f (x)   Is there a similar name for functions that are their own inverse?  f (f (x)) = x

I can think of several examples of functions such that twice application of the function is equivalent to no application of it.   Additive inverse Multiplicative inverse Fourier transform Complex conjugation Any group built up from $\mathbb{Z}_2$, applying (one of) the $\mathbb{Z}_2$ parts' operation.   "Idempotent" came to mind, but that's wrong. It means $f(f(x)) = f(x)$, not $f(f(x))=x$.  What is the word for this "flip-flop" property?


What should be the strategy to solve these type of integrals. And how to solve this integral.  $\lim_{n \rightarrow \infty}{\int_ 0^1}\frac{n x^{n-1}}{1+x}dx$  I tried to solve it by substitution: multiplying and deviding by $x^n$ and substibution $t=x^n$  I got this   $\lim_{n \rightarrow \infty}{\int_ 0^1}\frac{1}{1+x^{1/n}}dx$   and don't know what to do now.

Let $s_n$ be a sequence defined as given below for $n \geq 1$. Then find out $\lim\limits_{n \to \infty} s_n$.   \begin{align}   s_n = \int\limits_0^1 \frac{nx^{n-1}}{1+x} dx  \end{align}  I have written a solution of my own, but I would like to know it is completely correct, and also I would like if people post more alternative solutions.


The goal is to plop down a dispenser with a stack of red wool named "testa" and a stack of orange wool named "testb" already in the dispenser inventory. I've gotten everything but the name. The weird part is, the command below actually runs, no errors, but it generates a dispenser with a stack of red wool just named "red wool" and likewise for the orange stack. /setblock ~-3 ~ ~ dispenser[facing=east]{Items:[{Slot:0,id:red_wool,Count:64,tag:{display:{Name:"testa"}}},{Slot:1,id:orange_wool,Count:64,tag:{display:{Name:"testb"}}}]} replace

I am in 1.13 Pre-Release 7 trying to make a one command creation and I need an item with a specific name. The command I use is /give @p diamond_sword{display:{Name:"Sword of Power"}} and it gives my a diamond sword, but it doesn't have the name.   This is me running the command.   This is the command not working.


I have been locked out my Gmail account for the last 36 hours because Google complains that I have tried to log in too many ways. I have three different devices home so that would stand a recently yes. I've used every way I can begin packing because I don't remember the password that was reset three days ago.

I have forgotten the password or username for my Google account, or I'm unable to access my account for other reasons.  How can I recover my account?  (This Q&A is meant as a general description for all Google and Gmail username/password questions. See: )


I have a little problem. In the moment I want to send a message I have an error:  java.lang.NullPointerException  at application.Connection.send(Connection.java:29) at application.Messages.lambda$1(Messages.java:151)   Some code:   sendBtn.setOnAction(t - > {     String gotowyTekst = poleDoWpisywania.getText();     poleDoWpisywania.clear();     try {         connection.send(gotowyTekst);     } catch (Exception e) {         // TODO Auto-generated catch block         e.printStackTrace();     }   and   public void send(Serializable data) throws Exception {     cThread.out.writeObject(data); }   How I do fix it? I don't know where to look for a solution anymore.

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


my password for unlock screen in wondows 10 wouldn't work so I used registry to delete my administrative user account accidentally.  How do I use the builtin local admin account to fix it?

I got a brand new Windows 7 machine, installed the operating system, created one account and forgot its password. What can I do?  There is no external CD, the operating system is loaded from somewhere inside the machine.  I already tried to remember passwords and tried all candidates with all possible combinations of caps lock, num lock etc.


See code below: xtick={-0.8,0,...,3.2} does not show minor x ticks, but, for example, xtick={0,0.5,...,3.5} does.   I'm confused, what's going on?  \documentclass[border=0pt]{standalone} \usepackage{pgfplots}  \begin{document}  \begin{tikzpicture}   \begin{axis}[       smooth,       axis lines=middle,       axis line style = {very thick},       xmin=-0.8,       xmax=3.2,       ymin=-1.5,       ymax=1.5,       xtick={-0.8,0,...,3.2}, %minor tick DO NOT show       % xtick = {-0.8,0,0.8,1.6,2.4,3.2}, %minor do tick show                 % xtick = {0,1,...,3}, %minor tick do show       % xtick = {0,0.5,...,3.5}, %minor do tick show       minor tick num=1,       grid=both,       ]     \addplot+[samples=100]{cos(deg(x))};   \end{axis} \end{tikzpicture}  \end{document}

Firstly I would like a minor tick between every major tick in my pgfplots graph (and minor grids). I wrote minor tick num=1 but it doesn't work. I am not using a logarithmic axis so it is unrelated to other questions.  Secondly, why is the tick label "1" missing for each axis? How do I get that to display?     \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}  \begin{axis}[% footnotesize, width=4in, height=4in, axis equal, scale only axis, separate axis lines, grid=both, every outer x axis line/.append style={black}, every x tick label/.append style={font=\color{black}}, xmin=0, xmax=1, xlabel={X}, every outer y axis line/.append style={black}, every y tick label/.append style={font=\color{black}}, ymin=0, ymax=1, ylabel={Y}, minor tick num=1, xtick={0,0.1,...,1}, ytick={0,0.1,...,1}, axis background/.style={fill=white}, legend style={at={(0.97,0.03)},anchor=south east,legend cell align=left,align=left,fill=white} ]  \end{axis}  \end{tikzpicture}% \end{document}


I am having some difficulties with this code. I want to calculate values and insert them into a mysql database. When I go and hit the calculate button, the values calculate, but the data does not store in the database, although on a few random occasions of testing the code it decides to store. Any ideas what is wrong?             $post_rings = $_POST['rings'];     $post_wave = $_POST['wave'];     $post_emitter = $_POST['emitter'];     $post_gls =$_POST['gls'];     $post_tiles = $_POST['tiles'];     $post_fov = $_POST['fov'];     if($post_rings=='' or $post_wave=='' or $post_emitter=='' or $post_gls=='' or $post_tiles=='' or $post_fov=='')     {  echo ""; exit(); }  else { $insert_query = "insert into posts (post_rings,post_wave,post_emitter,post_gls,post_tiles,post_fov)  values ('$post_rings','$post_wave','$post_emitter','$post_gls', '$post_tiles','$post_fov')";  if(mysql_query($insert_query)) {          echo "
Values Entered Successfully
";     }      }  } ?>               <title>Field of View Calculator</title>       <form method="post" action="Test_Calculator.php" enctype="multipart/form-data">

Field of View

         Input	         Intermediate Variables	         Output

         Number of Rings <input type="text" name="rings" value = "<?php echo $rings; ?>" size="30">	         Grating Lobe Separation <input type="text" name="gls" value = "<?php echo $gls; ?>" size="30">	         Field of View <input type="text" name="fov" value = "<?php echo $fov; ?>" size="30">

         Wavelength <input type="text" name="wave" value = "<?php echo $wave; ?>" size="30">	         Number of Tiles <input type="text" name="tiles" value = "<?php echo $tiles; ?>" size="30">

         Emitter Space<input id="email1" type="text" name="emitter" value = "<?php echo $emitter; ?>" size="30">         <INPUT type="button" value="View Results" onClick="window.open('displayemitter.php','Results',' width=500,height=500')">

         <input type="submit" name="calculate" value="Calculate">
  </form>

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


Definition of Norm :  Suppose $A$ be an $m\times n$ matrix. Then $\|A\|$ is defined by : \begin{align} \|A\|= &\sup\{\|Ax\| : \|x\|=1\}\\      = &\sup\{\|Ax\| : \|x\|\leq 1\} \end{align} These two definitions are equivalent. But why? Please anyone explain..

Let $T\colon X\to Y$ be a linear operator with norm  $$\|T\|=\sup_{\|x\|=1}\|Tx\|.$$ Prove that  $$\|T\|=\sup_{\|x\|\leq 1}\|Tx\|.$$


I use the below method. But this method doesn't work for this situation. Why? I have the same results. This is my minimal file and I use texlive 2015. This problem is about \prod too. Thanks for your responsibility.  \documentclass[12pt,a4paper]{report} \usepackage{amsmath} \let\amssum=\sum \usepackage{mathptmx} \let\ptmxsum=\sum \let\sum\amssum \begin{document} I want this one in ams style:        \[ \sum \] text text text text text text text text text text text text   and this one in mathabx style:   \let\sum\ptmxsum \[ \sum \]   But both of them are the same and I don't like it ..... \end{document}

During my research I noticed different sum signs:     The first one is mine and is created by $\sum_{i=1}^n$. The second one is from a paper. Any idea how to write it in LaTeX?


I find a lot of good content on SO, both by searching on SO and thru search engines (i.e. Google) –  – but the content doesn't fit the narrow scope of SO itself. But aside from being out-of-scope, that kind of content is both common and useful!   The (excellent) design of SO also makes finding good examples of this kind of content easy (and fun). Why can't we explicitly include this kind of stuff too, just somewhere clearly separate?  Some example questions that would be appropriate in a 'fun' or 'open-ended' SO site:        More good examples can be easily found by looking at .  Two (related) sites I really like, and that are based on what I think is a really wonderful idea, are  and  – both sites maintain 'best of' for various categories. I think that a 'fun' SO site could do the same for programming.  Isn't it sad that we're fighting user-nature by combating what is arguably useful and interesting (or just entertaining) content? Especially when that content is useful for programming?!

Stuff like polls, recommendations based on subjective constraints, puzzles, webcomics etc. do not belong on the serious main SE sites, where professionals should be considered at work and having just a few spare minutes ("code's compiling") to answer questions, so they should not be distracted by such things. However, I'd also like to have a home for these things still using the SE engine. For the reason I mentioned before, this needs to be a separate place though. Let's call it four.[sitename-here].com.


I've been reading about close vote review audits for quite some time now. I used to think that these audits appear only for users who do not have either of  or the  badges; which is why, I never had faced any reviews until a few days ago.  I think it is either a bug or an easter-egg; that the close vote audits can be skipped/removed completely from appearing.  I've tested around with it for quite some days now, and the trick is to just use any kind of filter; either by tags or by close reasons; in the review task list.  I haven't been able to test it with other review queues as those do not get as huge as 50k.    Edit  I reset my filters again today (after nearly 2 weeks) and was provided an audit within a few minutes:  (of course I passed :/ )

In the last 3 days I have only been reviewing a filtered review queue. That's 120 reviews without a single audit.


Ubuntu missing launcher (icons on left side, time, wifi icon, close/minimize/maximize buttons ...)  Here is a screenshot:  There is no problem when I log in as a guest user.

When I login, nothing happens.   I am presented with my desktop wallpaper.    No Dash, no Launcher, nothing.


So I need to login as a lot of different users to a server using ssh and I'm tired of copying the password from the files, which contain the passwords for the users, each time. I can't change it to not use passwords, it's not mine, it's for a game.  I've tried using :  $ cat /path/to/myfile | ssh user@localhost  I get a message saying pseudo-terminal will not be allocated because stdin is not a terminal.  I'm not really sure how it should work.

I need to login to a user that I've created on a remote host running Ubuntu. I can't use an ssh key because the ssh login will happen from a bash script ran within a server that I won't have access to (think continuous integration server like Bamboo).   I understand this isn't an ideal practice, but I want to either set the remote host to not ask for the password or be able to login with something like ssh --passsword foobar user@host, kind of like MySQL allows you to do for logins.   I'm not finding this in man ssh and  I'm open to any alternatives to getting around this issue.


I used an application that creates files automatically which attempted to save a file with a ':' character on it on a Windows 10 system.  The colon is clearly not an allowed character - but somehow the application succeeded in creating a file of size zero bytes, with the name truncated from the colon onwards.  For example, if the file was named "My File : A history", the zero-byte file that was created was called "My File ".  I have three such files and am unable to delete them.  Using file explorer, I get a message box that says "This is no longer located in .  Verify the item's location and try again."  Using the command prompt to try and 'del' the file, I get an error that states "Could not find "  I get the same errors when moving them.  The files aren't causing any issues, but I'd like to delete them rather than have these be permanent fixtures of this directory.

After installing Cygwin on Windows 7 and realizing I'm better of with using Linux on a different partition, I wanted to uninstall it. However, Cygwin has no uninstaller so I was left with the option of deleting the whole folder it was installed in – which I did.  The problem is that a single file remained, in the whole directory tree, named README. at  C:\cygwin\usr\share\texmf-dist\doc\latex\hausarbeit-jura\README.  I know Windows isn't supposed to allow files with names ending in ., but this one obviously got through, and I cannot delete it. When trying to do that, I get     Item Not Found      This is no longer located in C:\cygwin\usr\share\texmf-dist\doc\latex\hausarbeit-jura. Verify the item's location and try again.   When viewing the properties of the file (Right-click, Properties), Windows tells me that it has 0 bytes.   However, when viewing it in the explorer window, and clicking on it, the windows status bar thing tells me it has 517 bytes.  Any ideas on how to get rid of it?


The events depicted in this question happened many months ago and that campaign is now over. While there is no fixing what I did, I want to move forward and learn from what I am pretty sure is a mistake.    The party I was DMing was full of what I call murder hobos. All they wanted to do was kill everyone that didn't help them and kill every single enemy that ever crossed their path.  This made trying to give them information they needed for quests difficult, because anyone who had information ALWAYS died.  I actually mean this, they killed every enemy they ever fought without interrogating them.    After a while, I grew tired of this murder hobo gameplay style and I took the group aside and told them that some of enemies have information and so do the towns people, maybe they should talk to people or consider taking someone prisoner to try and get information.    One day, the party attacked some commoners.  They killed 9 of them and left one with 6 health1. The paladin2 attacked the commoner and did 20 damage. Because they said non-lethal damage, they thought the NPC should not have died. My ruling was if you do double the health in damage they instantly die (just like a player character) even if you declare non-lethal damage (Massive Damage rule in the PHB).   My hope was that they would realize that they can't just fight everything that comes their way.  I will also add that this "attack" wasn't using a sword or any weapon. The paladin trampled this man with his horse.  My ruling was that because he did a MASSIVE amount of damage, this guy died instantly.  I also argued that there was no possible way he could control the amount of force that his horse trampled that commoner with.    I have been asking myself a lot since this happened, was this a mistake on my part? I feel like I warned them many times that murder hoboing is not the answer and that it will not work, but at the same time that punishment (when I look back) may have been harsh.   Was this punishment too harsh or unfair? If so, what could I do in future to drive home the point that D&D is more than just killing without being unfair to the players.    1 No Experience was ever given when the party killed innocent people. We give out XP on an encounter bases, so at the end of the encounter they get all of the XP 2 The paladin is an Oathbreaker (per the DMG)

Most RPGs teach you that casual violence is the best solution to all your in-game problems. This is so well established a part of the vast majority of RPGs that there are entire satire RPGs like Greg Costikyan's  and John Tynes'  dedicated to showcasing the issue. Even now that the '80's anti-RPG hysteria is past, you see more sober critiques of endemic violence in RPGs in places like . In most RPGs, PCs become inured to murder and other antisocial activities very quickly, and enter the depths of depravity that wouldn't be appropriate in the worst parts of the world. Armed robbery, mass murder, and genocide become routine parts of an adventurer's day, something only stick-in-the-mud characters with the most extremely stated ethics object to. , even though it is not properly applied to just any conflict, is a PC's friend and they generally escalate any conflict in that direction. The sophistication of the gamer mindset towards introspection on this issue can be demonstrated in that the most meaningful question usually debated about in-game violence is some variant on "but should we kill the noncombatant children" or "can we just murder people out of hand as long as they're from a typically evil race?" In the real world, we generally a priori regard anyone having to have this discussion as a monster already. (P.S. The "wipe out a given evil race" thing isn't the point of this question; it is only mentioned to indicate that it's only "that far" that usually causes ethical handwringing from players, when that is a really quite extreme case and we should be uncomfortable with casual violence a lot sooner. ) What I'd like to have is a more realistic in-game treatment of conflict.  People getting wounded and giving up, taking and ransoming of prisoners, not always escalating a fistfight to weapons, not always escalating weapon combat to killing, etc.  Heck, as I write this, I'm watching an episode of Adventure Time with my daughter and the protagonists snuck in and rescued a princess kidnapped by the Ice King and then exit right next to his sleeping form. I thought, "If this were D&D they'd all be carefully coordinating a coup de grace to kill him in his sleep on the grounds that he inconvenienced them."  The problem isn't limited to D&D of course, sci-fi PCs are happy to neutron bomb planets for convenience too, for example. I'm not part of the "D&D is Satanic" crowd obviously, but I frankly do have compunctions about continually playing in games where the taught behavior is uncomfortably equivalent to the worst examples of human behavior we see on the nightly news. How can I give my PCs a newfound respect for human life?


My sock account tried to add a comment, which it obviously can't since it doesn't have much reputation (yet).  The 'error notification' lacks a nice font and is positioned too far to the right:        The missing layout is also a problem with the same tool tips on various places, like the log in screen.  Can this be fixed? My sock says pretty please.

When you click the add a comment button when you don't have enough rep, you get a pop-up saying that you need more rep in able to comment. Except, it is too far away and users might be confused for a while before realizing the pop-up is on the other side of the page:     Clearly, that is very inconvenient for a lot of people, like me. Can we move the pop-up to be right next to the add a comment button?


Been trying this for a few hours, trying to fill down column F G H automatically when a new row is added (my data is on another sheet that's coming in from forms)    Any tips or hints how to get it to fill?

I have a sheet with form response data in several columns, say A:G. Some of the data are numerical and I'd like to have some calculations done on them, e.g. in columns H through J. I have already found out any stretched formulas get wiped out as new lines from the form get pulled in.  So I created a new sheet, imported the data using arrayformula, but still, I don't know how to have a formula for every row in columns H:J (except the header). I can only stretch the formula within a fixed number of rows, but don't know how to make it autoadjust to newly incoming data.  I wondered if I could use a script that would be triggered with the form being submitted, adding the formulas to the new lines, but that's rather inelegant.  : Sheet1 contains form data, Sheet2 imports them using arrayformula.


From Matsumura p.34     Let $k$ be a field, $A$ a ring which is finitely generated over $k$, and $I$ a proper ideal of $A$; then the radical of $I$ is the intersection of all maximal ideals containing $I$.   I understand that the radical of $I$ is contained in this intersection but I'm having troublr understanding the other direction. The proof says this follows from part 2 of Hilbert's Nullstellensatz     Given a subset $\Phi$ of $k[X_1, ... ,X_n]$ and an element $f \in k[X_1, ... ,X_n]$ suppose that $f$ vanishes at every algebraic zero of $\Phi$. Then some power of $f$ belongs to the ideal generated by $\Phi$.   So in order for the theorem to follow from this...don't we need $k$ to be algebraically closed? Because otherwise the maximal ideals are not necessarily of the form $(X_1 - a_1, ... , X_n - a_n)$. So we can't say that f vanishes at $(a_1, ... , a_n)$.

Why must every prime ideal of a finitely generated $\mathbb{R}$-algebra (e.g. $\mathbb{R}[X_1,X_2]$) be the intersection of the maximal ideals containing it?    This doesn't follow from the version of the Nullstellensatz I've seen:   if $k$ is an algebraically closed field and $S$ is a finitely generated $k$-algebra and $P$ is a prime ideal of $S$, then $P$ is the intersection of all maximal ideals containing $P$   ... since $\mathbb{R}$ isn't algebraically closed! But maybe the same method of proof could work?  Many thanks in advance for any help with this!


I want to differentiate between Current Date and Action Date. The difference should be shown as :   3 days ago 4 days ago and son ..   How can I achieve the same in Java using in Android?  It  does not work for me and returns the actual date itself:   Date d = Utils.instanceDateFormat().parse(text.toString());                 String moments = DateUtils.getRelativeTimeSpanString(d.getTime(), new Date().getTime(), DateUtils.SECOND_IN_MILLIS,                         DateUtils.FORMAT_ABBREV_ALL).toString();

I have...   Date start = new Date()  ... ... ...  Date stop = new Date()   I'd like to get the years, months, days, hours, minutes and seconds ellapsed between these two dates.  --  I'll refine the question.  I just want to get the elapsed time, as an absolute measure, that is without taking into account leap years, the days of each month, etc.  Thus I think it's impossible to get the years and months elapsed, all I can get is days, hours, minutes and seconds.  More specifically I want to tell that a certain task lasted for e.g.   20 sec 13 min, 4 sec 2 h, 10 min, 2 sec 4 d, 4 h, 2 min, 2 sec   So please forgive my lack of precision.


So,   I want to move all JPG files on the entire drive (Including other users) to a folder on the desktop.  What's the command in CMD?  The folder I want to move the files to is C:\Users\stefa_000\Desktop\Allt

I want to copy all images of any file extension like .jpg, .png, .gif, etc. from all folders and subfolders in my PC hard drive (which has two partitions) to a single folder.  The total number of images I have is 250,000.


I get the "Not enough free disk space" error about once a month during software updates. I'm getting tired of having to manually clear out old kernels every time I get this message.  Is there something I can do to prevent this issue from regularly occurring? I would like to have an automated solution so I don't have to manually remove old kernels every month.  I would think there would be something in place to prevent old unused kernels from accumulating like this.    I know there are a bunch of questions on here on how to clear up some disk space in /boot in order to get rid of this error. That is not my question. I have not found any solutions that prevent this error from being a regular issue. I will continue searching while this question is up though, just in case I missed something.

My boot partition is on a SSD, so it doesn't have room for more than about 8 installed kernel versions, and eventually some kernel update will fail to install because my boot partition is full of old versions. There are many questions out there about how to remove old versions (even how to automate the process), but my question is simply this: Why doesn't apt-get autoremove detect and remove them automatically, and is there a way I can make it do so? I mean, apt-get is what installed them anyway, so it knows about them, so why does it choose to leave all old versions around?


I am trying to override the titles of the nodes on my view page for Drupal 8. As my whole website is in English, but only on one view page I need to fetch the french translation of the titles, without translating the whole interface.   For this I am overriding the views-view-field.html.twig template with custom views-view-field--my-view--title.html.twig.  In the preprocess function in MYTHEME.theme I am sending the language = 'fr':  function MYTHEME_preprocess_views_view_field__MYVIEW__title(&$variables) {   $variables['language'] = 'fr';   $variables['#cache']['contexts'][] = 'route'; }   The Twig template receives the language, but still displays titles in English. This is how my Twig template currently looks like. How can I say to fetch output in French?  {{ output }}   UPDATE:   thanks to Kint sub-module I could get all possible . Now I need to fetch the right translation.   How can I reach french translation? I have tried already few options:   {{ row._entity.title.value.translation('fr') }} {{ row._entity.title.value.fr }} {{ row._entity.values.title.translation('fr') }} {{ row._entity.values.title.fr }}   None of them is working.  As I can see the values is an array, then it should be some special may accesing the elements inside

I am trying to render fields from an entity reference in a twig template but they are displaying in the default language instead of the selected one. My twig code:  {% for location in node.field_locations %}

       {{ location.entity.title.value }}        {{ location.entity.field_sub_title.value }}

  {% endfor %}


I've reached maximum vault dweller capacity for a while now and in my journey to the top, never have I once found power armor while exploring the wasteland. I have come across many +7 outfits, but never power armor. Am I just super unlucky, and then what are the chances/probability of coming across one?

If you send somebody out in the wasteland for long enough with good enough luck, is it possible to find power armor or any other legendary gear?


I have an Ubuntu 17.10 64 bit with the default kernel.  I have update it right now and my NVIDIA Driver version is 384.90.  I want to use CUDA 9.1 but it needs NVIDIA Driver version r387. Doing this:  sudo ./cuda_9.1.85_387.26_linux.run -silent -driver   I can install that driver. But I get the following error:     ERROR: An NVIDIA kernel module 'nvidia-drm' appears to already be   loaded in     your kernel.  This may be because it is in use (for example, by an X     server, a CUDA program, or the NVIDIA Persistence Daemon), but this     may also happen if your kernel was configured without support for     module unloading.  Please be sure to exit any programs that may be     using the GPU(s) before attempting to upgrade your driver.  If no     GPU-based programs are running, you know that your kernel supports     module unloading, and you still receive this message, then an error     may have occured that has corrupted an NVIDIA kernel module's usage     count, for which the simplest remedy is to reboot your computer.    I have move it to text mode running the command sudo init 4 but I get the same error.  I have the default kernel and maybe it doesn't support module unloading.  How can I know if kernel supports module unloading? or How can I enable it?

I am attempting to install CUDA 8.0 within Ubuntu 16.04 for the Nvidia GeForce GTX 1080. I had CUDA 7.5 installed, but it did not appear to be compatible with the GTX 1080. I downloaded the .run installer from Nvidia's developer page, but the installation fails and outputs the following to a nvidia-installer.log     An NVIDIA kernel module 'nvidia-drm' appears to already be loaded in     your kernel.  This may be because it is in use (for example, by an X     server, a CUDA program, or the NVIDIA Persistence Daemon), but this     may also happen if your kernel was configured without support for     module unloading.  Please be sure to exit any programs that may be     using the GPU(s) before attempting to upgrade your driver.  If no     GPU-based programs are running, you know that your kernel supports     module unloading, and you still receive this message, then an error     may have occured that has corrupted an NVIDIA kernel module's usage     count, for which the simplest remedy is to reboot your computer.   I have rebooted the computer, but that did not resolve the problem. How do I unload the 'nvidia-drm' module so that I can install the 8.0 CUDA?


How can I find a past roundtrip airfare from Detroit to Nashville, leaving Detroit on 4/5/14 and returning on 4/8/14?

Is there a way to find out how much it would have cost to buy a particular airplane ticket at some point in the past?    For example, how could I find out how much it would have cost to buy a one-way itinerary from airport A to airport B on October 1, 2011 for travel on November 1, 2011?


$$E[x+y]^{r}\le c_{r}(E[x]^r +E[y]^{r})  $$ Where $$ \begin{equation}   c_{r} =   \begin{cases}     1 & \text{if $ \quad0<r\le1$} \\     2^{r-1} & \text{if $\quad r>1$}   \end{cases} \end{equation}$$ I tried using binomial expansions but i couldn´t resolve it . Please give me some ideas or help me to resolve this problem.

How does one prove:   $$ E(|X+Y|^r)\leq c_r\bigg[E(|X|^r)+E(|Y|^r)\bigg] $$   where $c_r=1$ if $0<r\leq 1$ and $2^{r-1}$ if $r>1$?   This is a classic result whose proof I once knew but have since forgotten. Can someone please explain so I could learn it again? Thank you.


Like emacs.d, some programs have name like xxx.d for init files. What does this d means? Is this abbreviation of something?

I know many directories with .d in their name:  init.d yum.repos.d conf.d   Does it mean directory? If yes, from what does this disambiguate?  UPDATE: I've had many interesting answers about what the .d means, but the title of my question was not well chosen. I changed "mean" to "stand for".


Is there any chance i can retrive the names of all fields with created date in a data extension via Query/API

I have to Retrieve the Data Extension Fields from Data Extension object using Soap Api,But I am unable to Retrieve the Data Extension fields using Data Extension Object.  Data Extension Soap Request:  <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:par="http://exacttarget.com/wsdl/partnerAPI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">   <soapenv:Header>     <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">       <UsernameToken>         <Username>xxxxxx</Username>         <Password>xxxxxxx</Password>       </UsernameToken>     </Security>   </soapenv:Header>   <soapenv:Body>     <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">       <RetrieveRequest>         <ObjectType>DataExtension</ObjectType>         <Properties>CustomerKey</Properties>         <Properties>Name</Properties>         <Properties>DataExtension.ObjectID</Properties>         <Properties>IsSendable</Properties>         <Properties>SendableSubscriberField.Name</Properties>         <Properties>SendableDataExtensionField.Name</Properties>         <Properties>Fields</Properties>         <Property>Field.CustomerKey</Property>         <Property>Field.FieldType</Property>         <Properties>CategoryID</Properties>         <Filter xsi:type="SimpleFilterPart">           <Property>CategoryID</Property>           <SimpleOperator>equals</SimpleOperator>           <Value>xxxxxx</Value>         </Filter>         <QueryAllAccounts>true</QueryAllAccounts>       </RetrieveRequest>     </RetrieveRequestMsg>   </soapenv:Body> </soapenv:Envelope>   Here I am trying to Retrieve the fields , but i am unable to Retrieve, what i have to give the value?  <Properties>Fields</Properties>  <Property>Field.CustomerKey</Property>  <Property>Field.FieldType</Property>   I dont want to use DataExtension Field object,I want to Retrieve the fields using Data Extension object,please anyone help me for the Answer...     Error Message:    <RetrieveResponseMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">          <OverallStatus>Error: The Request Property(s) Fields do not match with the fields of DataExtension retrieve</OverallStatus>          <RequestID>3aadeb4f-2290-402d-9590-f0f07ac3247f</RequestID>       </RetrieveResponseMsg>


This is a follow op on my , in that one I got explained what happens to the damage of jumps when relocated by an enemy.  So what happens if you get relocated by an ally or more likely by your self. Lets take  again (I love that cannon holding yordle). Since she is able to do abilities during her jump I thought of three scenarios.  First scenario:          Tristana jumps, flashes in the air, lands      Second scenario:          Tristana jumps over a thresh lantern, clicks the lantern while in air (gets pulled), lands      Third scenario (and my favorite):          Tristana jumps, makes a kill or assists(jump resets), cast jump again(before landing), lands      For each scenario goes, Where does the damage land and where does Tris land? And for the third where does both the damages land?

The end location of a dash or jump can be changed by an ability that pushes () or pulls () you. So for example I try to  on the adc, but a Blitzcrank pulls me, preventing me from landing on my chosen spot.  Will I deal my AoE damage around the adc, where I tried to land, or around the Blitzcrank, where I ended up landing?


array(array("Color", "red" ), array("Ram", "4GB" ) );  Convert this multidimensional array into a string like this Color=red&Ram=4GB

I'm looking for the name of the PHP function to build a query string from an array of key value pairs. Please note, I am looking for the built in PHP function to do this, not a homebrew one (that's all a google search seems to return). There is one, I just can't remember its name or find it on php.net. IIRC its name isn't that intuitive.


I'm getting a black screen of death. The only way around it is booting upstart. VirtualBox, uninstalled guest additions.

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


Adler said it was her measurements, but what does that mean?

This  established that in A Scandal in Belgravia Irene Adler's safe combination was her measurements.  However, how did Sherlock know to use that combination?  Irene is naked and he's very observant, so he would have picked up on her measurements.  However, how did he know to use that as the code?  It may as well have been the distance apart of her curtains!  Furthermore, when Irene decides to meet him in her "battle dress" she doesn't know she's going to want Sherlock to access the safe so it's not like she could "dress" accordingly...  So, how did Sherlock know to use her measurements to open the safe?


I have custom entity (component) with two fields field_area_type and field_dd_test_data. I want to add custom validation to make sure that user must enter either of two fields. I have used ConstraintValidator as suggested in different blogs. ...  I am able to validate for one field, means in validate function I get only value of one field. How can I get values of both field in validate function of ConstraintValidator? Please help me

How could I configure a unique constraint on several  fields of a custom entity I have already created with drupalconsole.  The purpose is not allowing insert of two record of the same entity having for example same lastname and fisrtname.


We have a $10×10$ grid with white blocks. First we color 9 blocks red, and after that in each step we color a red block, black and a white block, red. We continue this process until we have a black grid with 9 red blocks. Prove that there exits a step in which a black block is adjacent to a white block( two blocks are adjacent when the have a common edge. ) There are always 9 red blocks and at some point 9 red blocks won't be enough to cover all the edges of black blocks. But I don't know how to prove this without explaining a process of coloring.

Given a $10×10$ grid with $9$ red blocks and $91$ white blocks, in each step we color one red block black and after that one white block red until there are $91$ black blocks and $9$ red blocks. Prove that there exits a step in which a black block shares an edge with a white block. I ran a few trials and couldn't get past the fifth step without adjacency. But I don't know how to build a proof.


I have a table that shows up earlier in my document and I want to display it again later in my document for reference, but if I just copy and paste the code later down it will label it as "Table 2" and not "Table 1", and this also means I would have to manually make changes to both tables. Is there a way to display a verbatim copy of a table later in a document, including the same reference number, such that when I change the original all of the copies change to match?

I have a figure that relates to two different issues discussed at very different point in a long document. Rather then send the reader back 50 pages to look up a figure, I would like to include the figure again at the later point.  However, I don't want it to appear twice in the list of figures or receive a new label number.  In this example, I would like it to appear in chapter 2 as figure 2.5 and again in chapter 4 as figure 2.5.  Is there a simple way to accomplish this? I am using Xelatex Version 3.1415926-2.5-0.9999.3 from the Texlive 2013 Arch Linux package.


Kev deleted an answer that I wrote here:   I've tried to address his comment, though I still disagree with it.  Please undelete the answer.  Putting version specific snippets of a manual into an answer is MORE likely to result in bit rot.  While a link to the manual may suffer link rot, Google is still your friend and more likely to have the current best reference.  Thus, the name of the manual is the best answer as an indirect reference.

I think we can all agree, this sucks:  If you've been around a little while, you've probably encountered hundreds of answers like this in various forums, some of them even marked as "The Answer" by well-meaning1 forum admins looking to close a thread. We could try to enumerate the commonly-observed problems with it...  Link is probably broken If link isn't broken, it's spam If link isn't spam, it's to some broadly-related resource that the answerer found by pressing "I'm feeling lucky" when googling the question's title.  ...but the real issue here is that we don't know! Even if the link was originally pointing directly to the most awesomeest answer ever for exactly the question being asked, there's nothing in the answer itself to even hint at what direction we're being pointed in. Strip the markup, and this is what you're left with:  i think you should take The tutorial HERE! This will help you a lot  Is there even one tiny speck of information there? No. Even the title of the page being linked to would have provided something to go on, but that was entirely too much work. So let me be clear: this sort of response is not an answer. If you see this, flag it. Moderators, if you see it flagged, delete it. There's really only one valid exception to this rule, and that's when the question is:  Suggest me some tutorials where i can learn quick.  Don't get me wrong, it's still a bad answer - but when the question is kinda asking for bad answers this is to be expected. Close or flag the question and move on - this is much more efficient than hanging around to babysit it by deleting every crap answer that inevitably shows up. If you're still reading, you're probably getting really bored by now. "Gee, Shog - answers that contain ZERO information are terrible, horrible, very-bad things? What shocking revelations will you share next?" Yeah. It's really simple... Except, . See, the problem is that once you step away from black-and-white "answers / doesn't answer" decision-making, things get... Interesting. And all those other answers with links in them See, this is an answer:  And so is this:  Yes, they're both very short, and yes, they contain links. But strip the markup, and you still get at least a little bit of useful information. Does that mean these answers should forever hang around the site? No, not necessarily - if it turns out they're just not that useful, they should probably still be removed - or at very least, down-voted so that they rank below other answers. Just remember: if the text of the post contains an honest attempt at answering the question, then it is an answer - so don't flag it otherwise, and if you do, don't complain if your flag gets declined. Answers & Apples If you're still confused, forget about answers. Think about apples instead:  Answers are just like that, but less tasty in pies.  1 By which I mean to say, "criminally lazy"


I use Ubuntu 16.04 and I login to my remote machine as the user root, then running the following script that needs to add some scheduled tasks to Unix cron:   #!/bin/bash  su USERNAME  crontab -l 2>/dev/null  cat <<- 'EOF'         * * * * * cron-task1...        * * * * * cron-task1...         * * * * * cron-task2...        * * * * * cron-task2...         * * * * * cron-task3...        * * * * * cron-task3...  EOF  exit   For some reason this code doesn't work, i.e, after execution, the cron  tasks won't be printed to the cron from the heredoc, yet the task codes are fine as if I copy them manually like in crontab -e, they work just fine.  What might be wrong with the above code? Thank you,    Update for Chev_603:  If I execute:   su USERNAME  sudo cat <<- 'EOF' > cron.jobs * * * * * CRON TASKS... EOF   I get:     bash: cron.jobs: Permission denied   If I would use a file I would just change ownership, group and permissions as in sudo chmod +x /home/user/Location/Of/Script but given it's a heredoc, I guess it's not the case.

Is there a way to add lines to a user's cron via script?  I usually do it using crontab -e, but I would like to automate this task with a shell script.